/* ==========================================================================
   Lockbox Self Storage — strona główna
   Wartości odwzorowane 1:1 z lockbox.pl (WordPress + Oxygen), przepisane
   na semantyczny HTML i jeden arkusz bez zależności.
   ========================================================================== */

@font-face {
  font-family: 'Panton';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/panton-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Panton';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/panton-700.woff2') format('woff2');
}

:root {
  --green: #39df00;          /* marka: CTA, akcenty, aktywna zakładka */
  --green-alt: #4ddf00;      /* podkreślenie menu w hover, przycisk Wyślij */
  --dark: #333e42;           /* pasek zakładek, ciemna karta kontaktu */
  --dark-warm: #334240;      /* sekcja „Obiekt pełen możliwości” */
  --text: #404040;
  --muted: #81878a;
  --light: #f5f5f5;
  --footer-muted: #c0c5c5;

  --field-bg: #f7f7f7;
  --field-border: #c4c4c4;
  --field-text: #6b6b6b;
  --field-placeholder: #757575;

  --shadow: 0 0 20px 1px rgba(192, 197, 197, .3);
  --shadow-strong: 0 0 20px 1px rgba(192, 197, 197, .5);

  --container: 1300px;
  --gutter: 100px;
}

/* --------------------------------------------------------------- reset --- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Panton', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;   /* sekcje nachodzą ujemnym marginesem */
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
}
h1, h2 { line-height: 1.2; }
h3 { line-height: 1.4; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }

p { margin: 0; }

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--green); text-decoration: none; }

button { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------ layout ---- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 75px var(--gutter);
}
.container--center { display: flex; flex-direction: column; align-items: center; }

.section { width: 100%; }

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* zielona kreska pod nagłówkiem — w oryginale obrazek 1000×1 skalowany do 100×3 */
.rule {
  display: block;
  width: 100px;
  height: 3px;
  background: var(--green);
}

.accent { color: var(--green); }

.lede {
  max-width: 800px;
  text-align: center;
  margin-bottom: 50px;
  font-size: 18px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 24px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  text-align: center;
  transition: background-color .2s, border-color .2s;
}
.btn:hover { background: var(--green-alt); border-color: var(--green-alt); }

/* ------------------------------------------------------------ header ---- */

.header { position: relative; z-index: 100; }

.header__inner {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  padding-right: var(--gutter);
}

.header__logo { display: block; flex: 0 0 auto; }
.header__logo img { display: block; height: 100px; width: auto; }

.header__center { display: flex; flex: 1 1 auto; justify-content: center; }

.nav { display: flex; align-items: center; padding-left: var(--gutter); }

.nav__list { display: flex; flex-direction: row; }

.nav__list a {
  display: block;
  margin: 0 14px;
  padding: 4px 0;
  border-bottom: 2px solid #fff;
  color: rgba(51, 62, 66, .8);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: border-color .2s;
}
.nav__list a:hover { border-bottom-color: var(--green-alt); }

.nav__home {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav__toggle {
  display: none;
  padding: 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__hamburger {
  display: block;
  position: relative;
  width: 32px;
  height: 24px;
}
.nav__hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(51, 62, 66, .8);
  transition: transform .2s, opacity .2s;
}
.nav__hamburger span:nth-child(1) { top: 0; }
.nav__hamburger span:nth-child(2) { top: 10.5px; }
.nav__hamburger span:nth-child(3) { top: 21px; }

.nav__toggle[aria-expanded="true"] .nav__hamburger span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__hamburger span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

.header__cta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  padding: 14px 24px;
  background: var(--green);
  transition: background-color .3s;
}
.header__cta:hover { background: var(--green-alt); }

.header__cta-icon { display: block; width: 23px; height: auto; margin-right: 8px; transition: transform .3s; }
.header__cta:hover .header__cta-icon { transform: rotate(180deg); }

.header__cta-label {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid #fff;
  color: #fff;
  font-size: 14px;
}

/* ------------------------------------------------- 1. hero / karuzela --- */

.section--hero .container { padding-top: 50px; }

.carousel { position: relative; width: 100%; }

.carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: center;
  text-align: center;
}

.section--hero h1 { font-size: 55px; }

.hero__sub { font-size: 20px; color: var(--muted); }

.hero__img { margin-top: 50px; }

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  padding: .75em;
  border: 0;
  background: #222;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .4s, color .4s;
}
.carousel__arrow:hover { background: #000; }
.carousel__arrow svg { display: block; width: 1em; height: 1em; fill: currentColor; }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }

.carousel__dots {
  display: flex;
  justify-content: center;
  margin-top: 33px;
  margin-bottom: -17px;   /* kropki wychodzą w dolny padding sekcji, jak w oryginale */
}
.carousel__dots button {
  width: 10px;
  height: 10px;
  margin: 0 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #333;
  opacity: .25;
  cursor: pointer;
}
.carousel__dots button[aria-current="true"] { opacity: 1; }

/* Bez JS karuzela zostaje poziomo przewijalną listą — strzałki i kropki
   nic by nie robiły, więc pokazujemy je tylko gdy JS działa. */
.carousel__arrow, .carousel__dots { display: none; }
.js .carousel__arrow { display: inline-flex; }
.js .carousel__dots { display: flex; }

/* ------------------------------------------------ 2. Self Storage ------- */

/* Sekcje 2–4 nachodzą na siebie ujemnymi marginesami (patrz --steps,
   --obiekt). Nie ma tu żadnego z-index-u i nie jest potrzebny: tła sekcji
   malują się w kolejności drzewa, a karty — jako elementy flex — malowane są
   atomowo jak inline-block, czyli ponad tłem następnej sekcji. Dokładnie ten
   sam mechanizm rządzi oryginałem (tam z-index:99 nic nie robi, bo
   position:static). */
.section--intro { background: var(--light); }

.section--intro .section__head { margin-bottom: 70px; }
.section--intro h2 { font-size: 40px; }

.features { display: flex; width: 100%; align-items: stretch; }

.features__col { display: flex; flex-direction: column; width: 50%; }
.features__col--left {
  align-items: flex-end;
  justify-content: center;
  margin-right: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.features__col--right .card + .card { margin-top: 30px; }

.card__icon { display: block; margin-bottom: 20px; }
.card h3 { margin-bottom: 20px; color: var(--muted); }
.card p { margin-bottom: 16px; color: var(--muted); text-align: center; }

/* ---------------------------------------------- 3. Jak to działa? ------- */

.section--steps {
  margin-top: -120px;
  background: #fff;
}

.steps__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.section--steps h2 { font-size: 40px; margin-bottom: 20px; }

.steps {
  display: flex;
  gap: 50px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 50px;
}

.step {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 33%;
  padding: 0 40px 25px;
  background: #fff;
  box-shadow: var(--shadow);
}
.step--inset { box-shadow: inset var(--shadow); }

.step__img { display: block; height: 250px; width: auto; max-width: none; }

.step__badge {
  position: absolute;
  top: 0;
  padding: 6px 20px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  font-size: 24px;
  font-weight: 700;
}

.step__text {
  margin: 12px 0;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.step__text--narrow { width: 70%; }

/* --------------------------------------- 4. Obiekt pełen możliwości ----- */

.section--obiekt {
  margin-top: -120px;
  background: var(--dark-warm);
  color: #fff;
}
.section--obiekt .container { padding-top: 175px; }

.obiekt { display: flex; align-items: flex-start; width: 100%; }

.obiekt__img { display: block; min-width: 0; }

.obiekt__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-left: 5%;
}
.section--obiekt h2 { margin-bottom: 20px; font-size: 40px; }
.section--obiekt .rule { margin-bottom: 20px; }
.section--obiekt .obiekt__body > p { margin-bottom: 16px; }

.obiekt__perks { display: flex; margin-top: 40px; }
.obiekt__perks li { display: flex; align-items: center; }
.obiekt__perks li + li { margin-left: 40px; }
.obiekt__perks img { display: block; width: 40px; height: auto; }
.obiekt__perks span { margin-left: 12px; font-size: 18px; font-weight: 700; }

/* -------------------------------------------------------- 5. Galeria --- */

.section--galeria .section__head { margin-bottom: 40px; }
.section--galeria h2 { font-size: 40px; margin-bottom: 20px; }

.tabs { display: flex; flex-direction: column; align-items: center; width: 100%; }

.tabs__list { display: flex; }
.tabs--bar .tabs__list { margin-bottom: 20px; background: var(--dark); }

.tabs__tab {
  padding: 20px;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s;
}
.tabs__list--solid .tabs__tab { background: var(--dark); }
.tabs__tab[aria-selected="true"] { background: var(--green); }

.tabs__panel { width: 100%; padding: 20px 0; }

.gallery { display: grid; gap: 20px; align-items: stretch; width: 100%; }
.gallery--3 { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
.gallery--4 { grid-template-columns: repeat(4, minmax(200px, 1fr)); }

.gallery a,
.obiekt-gallery a { display: block; overflow: hidden; }
.gallery img,
.obiekt-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.obiekt-gallery { display: flex; gap: 10px; align-items: stretch; width: 100%; }
.obiekt-gallery__col { display: flex; flex-direction: column; justify-content: space-between; width: 50%; gap: 10px; }

/* -------------------------------------------------------- 6. Kontakt --- */

.section--kontakt { background: var(--light); }

.kontakt {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.kontakt__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32%;
  padding: 60px 0;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.kontakt__card img { display: block; }
.kontakt__card p { padding-top: 20px; color: var(--dark); font-weight: 700; }

.kontakt__card--dark {
  background: var(--dark) url('../img/kontakt-card-bg.png') center / cover;
}
.kontakt__card--dark p { color: #fff; }

.kontakt__links a { color: var(--dark); }
.kontakt__links a:hover { color: var(--green); }

/* ----------------------------------------------------- 7. Zapytanie ---- */

.section--zapytanie .section__head { margin-bottom: 20px; }
.section--zapytanie h2 { font-size: 40px; margin-bottom: 20px; }

.form {
  width: 100%;
  max-width: 636px;
  margin: 0 auto;
  padding: 5px;
  text-align: center;
}

.field { margin-bottom: 25px; text-align: left; }
.field--turnstile { display: flex; justify-content: center; margin-bottom: 20px; }

.input, .textarea, .select {
  width: 100%;
  height: 50px;
  padding: 12px;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: var(--field-bg);
  color: var(--field-text);
  font-family: inherit;
  font-size: 16px;
}
.textarea { height: 200px; resize: vertical; }

.input::placeholder, .textarea::placeholder { color: var(--field-placeholder); opacity: 1; }

.select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23404040'%3E%3Cpath d='M12 16.5 4.5 9l1.4-1.4L12 13.7l6.1-6.1L19.5 9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}

.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: #c02a1e;
}

.field__error {
  display: block;
  margin-top: 6px;
  color: #c02a1e;
  font-size: 14px;
}

.form__actions { margin-top: 25px; }

.submit {
  padding: 12px 30px;
  border: 0;
  border-radius: 0;
  background: var(--green-alt);
  color: var(--field-bg);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .2s;
}
.submit:hover { background: var(--green); }
.submit[disabled] { opacity: .6; cursor: default; }

.form__status:empty { display: none; }
.form__status {
  margin-bottom: 20px;
  padding: 14px 16px;
  font-weight: 700;
  text-align: left;
}
.form__status--error { background: #fdf3f2; color: #c02a1e; }
.form__status--ok { background: #f1faec; color: #2a7d10; }

/* --------------------------------------------------------- 8. stopka --- */

.footer { background: var(--light); }
.footer .container { padding-bottom: 25px; }

.footer__top {
  display: flex;
  width: 100%;
}

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__brand img { display: block; }

.footer__social {
  display: block;
  margin-top: 40px;
  color: var(--footer-muted);
  transition: color .2s;
}
.footer__social:hover { color: var(--muted); }
.footer__social svg { display: block; width: 38px; height: 38px; fill: currentColor; }

/* Oryginał ustawia tu space-between na pięciu elementach, z których dwa
   ostatnie są puste — stąd kolumny linków w lewej części stopki. Odtwarzamy
   sam efekt, bez pustych divów. */
.footer__nav { display: flex; flex: 0 0 auto; margin-left: 176px; gap: 176px; }

.footer__nav a {
  display: block;
  white-space: nowrap;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .2s;
}
.footer__nav a:hover { color: var(--green); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 75px;
  color: var(--footer-muted);
  font-size: 12px;
}
.footer__bottom a { color: var(--footer-muted); }
.footer__bottom a:hover { color: var(--green); }

/* ------------------------------------------------------- lightbox ------ */

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .9);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100% - 120px);
  max-height: calc(100% - 100px);
  margin: auto;
  position: absolute;
  inset: 0;
}

.lightbox__close, .lightbox__arrow {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  padding: .75em;
  border: 0;
  background: #222;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.lightbox__close svg, .lightbox__arrow svg { display: block; width: 1em; height: 1em; fill: currentColor; }
.lightbox__close { top: 0; right: 0; }
.lightbox__arrow { top: 50%; transform: translateY(-50%); }
.lightbox__arrow--prev { left: 0; }
.lightbox__arrow--next { right: 0; }

.lightbox__counter {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  color: var(--footer-muted);
  font-size: 12px;
  text-align: center;
}

/* ===================================================== breakpointy ===== */

@media (max-width: 1300px) {
  .nav { padding-left: 0; }
  .nav__toggle { display: block; }
  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    flex-direction: column;
    width: 100%;
    padding: 0 var(--gutter);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav[data-open] .nav__list { display: flex; }
  .nav__list a { margin: 0; padding: 10px 0; border-bottom: 0; }
  .nav__list a:hover { color: var(--green); }
  .nav__home { width: 16px; height: 16px; }

  .card { width: 80%; }
  .step { width: 50%; }
}

@media (max-width: 1023px) {
  :root { --gutter: 40px; }
  .step { width: 48%; }
  .footer__nav { margin-left: 60px; gap: 60px; }
}

@media (max-width: 767px) {
  .section--hero h1, .section--intro h2, .section--steps h2,
  .section--obiekt h2, .section--galeria h2, .section--zapytanie h2 { font-size: 34px; }
  .hero__sub { font-size: 16px; }

  .features { flex-direction: column; }
  .features__col { width: 100%; margin-right: 0; }
  .card { width: 100%; }
  .features__col--right .card:first-child { margin-top: 30px; }

  .section--steps { margin-top: 0; }
  .steps__head { flex-direction: column; align-items: flex-start; }
  .btn--hide-mobile { display: none; }   /* jak w oryginale */
  .steps { flex-direction: column; }
  .step { width: 100%; }

  .obiekt { flex-direction: column; }
  .obiekt__body { padding-left: 0; margin-top: 40px; }
  .section--obiekt .obiekt__body > p { font-size: 14px; }

  .tabs__list { flex-direction: column; width: 100%; }
  .gallery--3, .gallery--4 { grid-template-columns: repeat(2, minmax(150px, 1fr)); }

  .kontakt { flex-direction: column; }
  .kontakt__card { width: 100%; }
  .kontakt__card + .kontakt__card { margin-top: 20px; }

  .lede { text-align: left; }

  .section--zapytanie .container { padding-left: 20px; padding-right: 20px; }

  .footer__nav { margin-left: 30px; gap: 30px; }
}

@media (max-width: 479px) {
  :root { --gutter: 20px; }

  .section--hero h1 { line-height: 1; }
  .section--intro .section__head { margin-bottom: 40px; }
  .lede { font-size: 14px; }

  .gallery--3, .gallery--4 { grid-template-columns: repeat(1, minmax(200px, 1fr)); }
  .obiekt-gallery { flex-direction: column; gap: 20px; }
  .obiekt-gallery__col { width: 100%; gap: 20px; }

  .footer__top { flex-direction: column; }
  .footer__nav { display: none; }        /* jak w oryginale */
  .footer__brand { margin-bottom: 20px; }
  .footer__bottom { flex-direction: column; gap: 8px; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .carousel__track { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- subpages ---- */

.section--subpage-hero {
  padding-top: 50px;
  padding-bottom: 40px;
  text-align: center;
  background: var(--light);
}
.subpage-hero__title {
  font-size: 36px;
  margin-bottom: 12px;
}
.subpage-hero__desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 20px;
}

.category-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 2px solid transparent;
}
.category-card:hover, .category-card--active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: var(--green);
  color: var(--dark);
}
.category-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.offer-block {
  margin-bottom: 60px;
}
.offer-block__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.offer-block__head h2 {
  font-size: 30px;
}
.offer-block__head img {
  width: 46px;
  height: 42px;
}

.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.perk-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.perk-card h3 {
  font-size: 18px;
  color: var(--dark);
}
.perk-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.fee-box {
  background: var(--light);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0 30px;
}
.fee-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark);
}
.fee-box ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
  color: var(--text);
}

.boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.box-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform .2s ease, box-shadow .2s ease;
}
.box-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.box-card__img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}
.box-card__size {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.box-card__meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.box-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 16px 0;
  flex-grow: 1;
}
.box-card .btn {
  margin-top: auto;
  font-size: 14px;
  padding: 10px 20px;
}

.boxes-footnote {
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

.offer-illustration {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 20px;
}

/* ----------------------------------------------- Spacer Wirtualny --- */

.section--spacer-hero {
  padding-top: 60px;
  padding-bottom: 35px;
  text-align: center;
  background: #ffffff;
}

.tour-hero__title {
  font-size: 52px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.title-underline {
  position: relative;
  display: inline-block;
  color: var(--dark);
}

.title-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: var(--green);
  border-radius: 2px;
}

.tour-hero__desc {
  font-size: 20px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

.section--spacer {
  padding-bottom: 60px;
  background: #ffffff;
}

.tour-tabs {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tour-tabs__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 45px;
}

.tour-tab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 45px 24px;
  background: #ffffff;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  text-align: center;
}

.tour-tab-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.tour-tab-card[aria-selected="true"] {
  background: #374246; /* var(--dark) */
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(55, 66, 70, 0.2);
}

.tour-tab-card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.tour-tab-card__label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

.tour-tab-card[aria-selected="true"] .tour-tab-card__label {
  color: #ffffff;
}

.tour-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--dark);
}
.tour-frame {
  display: block;
  width: 100%;
  height: 600px;
  max-height: 75vh;
  border: 0;
}

@media (max-width: 900px) {
  .perk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tour-frame {
    height: 400px;
  }
}
@media (max-width: 600px) {
  .perk-grid { grid-template-columns: 1fr; }
  .boxes-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .subpage-hero__title { font-size: 28px; }
}

/* -------------------------------------------------------- FAQ Page --- */

.section--faq {
  padding-bottom: 60px;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.faq-nav__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--light);
  border: 1px solid var(--field-border);
  border-radius: 30px;
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-nav__item:hover,
.faq-nav__item:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--dark);
  transform: translateY(-2px);
}

.faq-group {
  margin-bottom: 52px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group__title {
  font-size: 24px;
  font-weight: 700;
  color: #222930;
  margin-bottom: 28px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--green);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 24px;
}

.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--green);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--green);
  box-shadow: none;
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: #556270;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  background-color: transparent;
  color: #222930;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  margin-left: 16px;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #8894a0;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: transparent;
  color: var(--green);
}

.faq-item__answer {
  padding: 8px 0 20px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  border-top: 0;
  margin-top: 0;
}

@media (max-width: 600px) {
  .faq-list {
    padding-left: 12px;
  }
}

.faq-item__answer p {
  margin: 0 0 10px 0;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer a {
  color: #279800;
  font-weight: 700;
  text-decoration: underline;
}

.faq-item__answer a:hover {
  color: var(--dark);
}

@media (max-width: 768px) {
  .faq-item__question {
    padding: 14px 18px;
    font-size: 15px;
  }
  .faq-item__answer {
    padding: 0 18px 18px 18px;
    padding-top: 14px;
    font-size: 14px;
  }
  .faq-group__title {
    font-size: 22px;
  }
}

/* ----------------------------------------------------- Kontakt Page --- */

.section--company-info {
  padding-top: 0;
}

.company-info-card {
  background: var(--light);
  border: 1px solid var(--field-border);
  border-radius: 8px;
  padding: 32px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.company-info-card h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 14px;
}

.company-info-card p {
  margin: 6px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.section--map {
  padding-top: 20px;
  padding-bottom: 60px;
}

.map-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.map-frame {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 768px) {
  .company-info-card {
    padding: 24px 20px;
  }
  .map-frame {
    height: 350px;
  }
}

/* --------------------------------- Jakiego boxa potrzebujesz (FAQ) --- */

.faq-boxes-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-boxes-head__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}

.faq-boxes-head__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.faq-boxes-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 36px;
  max-width: 100%;
}

.boxes-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.box-row-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: #ffffff;
  border: 1px solid #d0d8e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.box-row-card:hover {
  border-color: var(--green);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.box-row-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid #d0d8e0;
  background: #ffffff;
}

.box-row-card__img {
  width: 120px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.box-row-card__content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.box-row-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.box-row-card__size {
  color: #279800;
  margin-left: 6px;
}

.box-row-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

@media (max-width: 900px) {
  .boxes-row-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .box-row-card {
    grid-template-columns: 1fr;
  }
  .box-row-card__img-wrap {
    border-right: 0;
    border-bottom: 1px solid #d0d8e0;
    padding: 20px;
  }
}

