/* ═══════════════════════════════════════════════════════════════
   WYCIECZKI U JOSEPHA — styles.css
   Motyw: „Pocztówka z Zanzibaru" — ciepły piasek, laguna, mango.
   Edycja kolorów i odstępów: sekcja ZMIENNE poniżej.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. ZMIENNE ────────────────────────────────────────────────── */
:root {
  /* Kolory */
  --sand:        #FBF4E8;   /* tło strony — ciepły piasek        */
  --sand-deep:   #F3E7D3;   /* piasek ciemniejszy (akcenty)      */
  --card:        #FFFFFF;   /* karty, formularz                  */
  --ink:         #22312C;   /* tekst główny — atramentowa zieleń */
  --ink-soft:    #55645E;   /* tekst drugorzędny                 */
  --lagoon:      #0E6E6B;   /* kolor marki — laguna              */
  --lagoon-deep: #0A5654;   /* laguna ciemna (pasek liczb)       */
  --lagoon-tint: #E3F0ED;   /* laguna bardzo jasna (tła)         */
  --mango:       #C94E1D;   /* CTA — mango/terakota (WCAG AA)    */
  --mango-hover: #A93F15;
  --mango-bright:#E8622C;   /* akcenty dekoracyjne, duże napisy  */
  --gold:        #E0A43C;   /* gwiazdki ocen                     */
  --line:        rgba(34, 49, 44, .13);

  /* Typografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Figtree", "Segoe UI", sans-serif;

  /* Rytm i kształt */
  --container:    1180px;
  --gutter:       clamp(1.25rem, 4vw, 2.5rem);
  --section-pad:  clamp(4rem, 9vw, 7.5rem);
  --radius:       18px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 10px rgba(34, 49, 44, .07);
  --shadow-md:    0 10px 30px rgba(34, 49, 44, .12);
  --shadow-lg:    0 24px 60px rgba(34, 49, 44, .18);
  --header-h:     74px;
}

/* ── 2. RESET I BAZA ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--sand);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--lagoon); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--lagoon-deep); }

::selection { background: var(--lagoon); color: #fff; }

:focus-visible {
  outline: 3px solid var(--lagoon);
  outline-offset: 3px;
  border-radius: 4px;
}
/* jaśniejszy wskaźnik focusa na ciemnych sekcjach (kontrast WCAG 1.4.11) */
.tour-wide :focus-visible,
.booking :focus-visible,
.site-footer :focus-visible {
  outline-color: #9FE3D9;
}

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

/* Link „Przejdź do treści" */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  background: var(--ink); color: #fff;
  padding: .7rem 1.2rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
  transition: transform .25s ease;
}
.skip-link:focus-visible { transform: none; color: #fff; }

/* Subtelne ziarno na całej stronie */
.grain {
  position: fixed; inset: 0; z-index: 600;
  pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 3. UKŁAD OGÓLNY ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }

.section-head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }

.kicker {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--lagoon); margin-bottom: .9em;
}
.kicker-light { color: #8FD3CB; }

.section-title {
  font-size: clamp(1.9rem, 3vw + .6rem, 3rem);
  margin-bottom: .45em;
}
.section-title em, h1 em {
  font-style: italic; font-weight: 600;
  color: var(--mango-bright);
}

.section-lead { color: var(--ink-soft); font-size: 1.06rem; }

/* ── 4. PRZYCISKI ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--mango); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85em 1.7em; border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(201, 78, 29, .28);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover {
  background: var(--mango-hover); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 78, 29, .34);
}
.btn:active { transform: translateY(0); }

.btn-lg    { font-size: 1.08rem; padding: 1em 2.1em; }
.btn-sm    { font-size: .92rem; padding: .65em 1.35em; }
.btn-block { width: 100%; }

.btn-whatsapp { background: #0F7B40; box-shadow: 0 6px 18px rgba(15, 123, 64, .28); }
.btn-whatsapp:hover { background: #0B5E31; box-shadow: 0 10px 24px rgba(15, 123, 64, .34); }

.btn-ghost {
  display: inline-flex; align-items: center;
  font-weight: 600; color: var(--ink); text-decoration: none;
  padding: .85em 1.6em; border: 2px solid rgba(34, 49, 44, .28);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.btn-ghost:hover {
  border-color: var(--ink); color: var(--ink);
  background: rgba(255, 255, 255, .55);
  transform: translateY(-2px);
}

/* ── 5. NAGŁÓWEK ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: color-mix(in srgb, var(--sand) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex; align-items: center; gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ink); text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: 36px; height: 36px; color: var(--lagoon); flex: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.18rem; letter-spacing: -.01em; white-space: nowrap;
}
.brand-name em { font-style: italic; font-weight: 600; color: var(--lagoon); }
.brand:hover .brand-mark { color: var(--mango-bright); }

.site-nav ul {
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
}
.site-nav a:not(.btn) {
  font-weight: 500; font-size: .98rem;
  color: var(--ink); text-decoration: none;
  padding-block: .4em;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav a:not(.btn):hover { color: var(--lagoon); }
.site-nav a.is-active {
  color: var(--lagoon);
  border-bottom-color: var(--mango-bright);
}
.nav-cta-item { display: none; }

.header-tools { display: flex; align-items: center; gap: .8rem; }

/* Przełącznik języka */
.lang-switch {
  display: inline-flex; padding: 3px;
  background: var(--sand-deep); border-radius: 999px;
  border: 1px solid var(--line);
}
.lang-switch button {
  font-family: var(--font-body); font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; color: var(--ink-soft);
  background: transparent; border: 0; border-radius: 999px;
  padding: .35em .85em; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--lagoon); color: #fff;
}
.lang-switch button[aria-pressed="false"]:hover { color: var(--ink); }

/* Hamburger */
.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer;
  border-radius: var(--radius-sm);
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: clip;
}
/* miękkie poświaty w tle */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1;
  border-radius: 50%; filter: blur(80px);
}
.hero::before {
  width: 520px; height: 520px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(14, 110, 107, .16), transparent 65%);
}
.hero::after {
  width: 480px; height: 480px; left: -160px; bottom: -220px;
  background: radial-gradient(circle, rgba(232, 98, 44, .13), transparent 65%);
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--lagoon);
  background: var(--lagoon-tint);
  border: 1px solid rgba(14, 110, 107, .18);
  border-radius: 999px;
  padding: .45em 1.1em;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw + 1rem, 4.3rem);
  line-height: 1.04;
  margin-bottom: .5em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, .9vw + .85rem, 1.22rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 1.8em;
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem; margin-bottom: 1.6rem;
}

.hero-trust {
  display: flex; align-items: center; gap: .6rem;
  font-size: .95rem; color: var(--ink-soft); margin: 0;
}
.hero-trust strong { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: .1em; font-size: 1.05rem; }

/* Kolaż znaczków pocztowych */
.hero-collage {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
  filter: drop-shadow(0 18px 28px rgba(34, 49, 44, .16));
}

.stamp {
  margin: 0;
  background: #fff;
  padding: 10px 10px 8px;
  --stamp-r: 5px;
  -webkit-mask:
    radial-gradient(var(--stamp-r), #0000 98%, #000) round
      calc(var(--stamp-r) * -1.5) calc(var(--stamp-r) * -1.5) / calc(var(--stamp-r) * 3) calc(var(--stamp-r) * 3),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--stamp-r) * 3) calc(100% - var(--stamp-r) * 3);
  mask:
    radial-gradient(var(--stamp-r), #0000 98%, #000) round
      calc(var(--stamp-r) * -1.5) calc(var(--stamp-r) * -1.5) / calc(var(--stamp-r) * 3) calc(var(--stamp-r) * 3),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - var(--stamp-r) * 3) calc(100% - var(--stamp-r) * 3);
}
.stamp img { width: 100%; object-fit: cover; }
.stamp figcaption {
  font-family: var(--font-display);
  font-style: italic; font-size: .92rem;
  color: var(--ink-soft); text-align: center;
  padding-top: .45em;
}

.hero-collage .stamp { position: absolute; }
.stamp-main { left: 0; top: 7%; width: min(64%, 420px); rotate: -3deg; z-index: 1; }
.stamp-main img { aspect-ratio: 3 / 2; }
.stamp-side { right: 0; top: 0; width: min(37%, 235px); rotate: 5deg; z-index: 2; }
.stamp-side img { aspect-ratio: 4 / 5; }
.stamp-top { right: 13%; bottom: -2%; width: min(30%, 190px); rotate: -7deg; z-index: 3; }
.stamp-top img { aspect-ratio: 3 / 4; }

/* Trasa lotu (dekoracja) */
.flight-path {
  position: absolute; inset: 4% 2%;
  width: 96%; height: 92%;
  color: var(--lagoon); opacity: .5; z-index: 0;
}

/* Okrągła pieczątka */
.postmark {
  position: absolute; left: 39%; bottom: 9%; z-index: 4;
  width: clamp(88px, 10vw, 122px); aspect-ratio: 1;
  color: var(--mango-bright); rotate: -12deg;
}
.postmark svg { width: 100%; height: 100%; animation: postmark-spin 46s linear infinite; }
.postmark text {
  fill: currentColor;
  font-family: var(--font-body); font-weight: 700;
  font-size: 10.4px; letter-spacing: .13em;
}
@keyframes postmark-spin { to { transform: rotate(360deg); } }

/* ── 7. FALE I PASEK LICZB ─────────────────────────────────────── */
.wave { line-height: 0; }
.wave svg {
  display: block; width: 100%;
  height: clamp(30px, 5vw, 64px);
  fill: var(--lagoon-deep);
}
.wave-into-lagoon { margin-bottom: -1px; }
.wave-out-of-lagoon { margin-top: -1px; }

.stats {
  background: var(--lagoon-deep);
  color: #fff;
  padding-block: clamp(1.6rem, 4vw, 3rem);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  text-align: center;
}
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  line-height: 1; margin-bottom: .2em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: .92rem; color: rgba(255, 255, 255, .78);
  margin: 0;
}

/* ── 8. WYCIECZKI (karty-bilety) ───────────────────────────────── */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2rem);
}

.tour-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.tour-media { position: relative; overflow: hidden; }
.tour-media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .5s ease;
}
.tour-card:hover .tour-media img { transform: scale(1.05); }

.tour-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--mango); color: #fff;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .4em .9em; border-radius: 999px;
}
.tour-tag-alt { background: var(--lagoon); }

.tour-body { padding: 1.4rem 1.4rem 1.1rem; flex: 1; }
.tour-body h3 { font-size: 1.38rem; margin-bottom: .4em; }
.tour-body p { color: var(--ink-soft); font-size: .96rem; margin-bottom: .9em; }
.tour-meta {
  font-size: .84rem !important;
  color: var(--lagoon) !important;
  font-weight: 600; margin: 0 !important;
}

/* stopka biletu z perforacją */
.tour-foot {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.4rem 1.2rem;
  border-top: 2px dashed var(--line);
}
.tour-foot::before, .tour-foot::after {
  content: ""; position: absolute; top: -11px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sand);
}
.tour-foot::before { left: -10px; }
.tour-foot::after { right: -10px; }

.tour-price { margin: 0; font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.tour-price strong {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: var(--ink);
}

/* link „zobacz szczegóły" na karcie (widoczny tylko przy działającym JS) */
.tour-more { display: none; }
.js .tour-more {
  display: inline-flex; align-items: center; gap: .45em;
  margin-top: .85rem;
  background: none; border: 0; padding: 0;
  font-family: var(--font-body); font-size: .92rem; font-weight: 600;
  color: var(--lagoon); cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.js .tour-more::after {
  content: "→";
  text-decoration: none;
  transition: translate .2s ease;
}
.js .tour-more:hover { color: var(--lagoon-deep); }
.js .tour-more:hover::after { translate: 4px 0; }
.js .tour-media { cursor: pointer; }

.tour-wide .tour-more { color: #8FD3CB; }
.tour-wide .tour-more:hover { color: #fff; }

/* karta specjalna (safari) */
.tour-wide {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--ink); color: #fff;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: clamp(1.4rem, 2.6vw, 2rem);
}
.tour-wide-media { position: relative; min-height: 240px; }
.tour-wide-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.tour-wide-body { padding: clamp(1.6rem, 3vw, 2.6rem); }
.tour-wide-body h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); margin: .8em 0 .4em; }
.tour-wide-body > p { color: rgba(255, 255, 255, .82); max-width: 46em; }
.tour-wide .tour-tag { position: static; display: inline-block; }
.tour-wide-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-top: 1.3rem;
}
.tour-wide-foot .tour-price { color: rgba(255, 255, 255, .82); }
.tour-wide-foot .tour-price span { font-style: italic; }

/* ── 9. JAK TO DZIAŁA ──────────────────────────────────────────── */
.how { background: var(--card); }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.6rem, 3vw, 2.4rem);
  list-style: none;
  counter-reset: step;
}
.step { position: relative; padding-top: .4rem; }
.step-num {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1; color: var(--mango-bright);
  margin-bottom: .35em;
}
.step h3 { font-size: 1.22rem; margin-bottom: .35em; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* przerywana linia łącząca kroki (tylko desktop) */
.step:not(:last-child)::after {
  content: "";
  position: absolute; top: 1.6rem; left: calc(100% + .35rem);
  width: calc(100% - 4.4rem); height: 0;
  border-top: 2px dashed rgba(14, 110, 107, .3);
}

/* ── 10. O JOSEPHIE ────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-media {
  position: relative;
  filter: drop-shadow(0 18px 30px rgba(34, 49, 44, .18));
  max-width: 420px;
  justify-self: center;
}
.stamp-about { rotate: -2.5deg; }
.stamp-about img { aspect-ratio: 3 / 4; }
.stamp-about figcaption { font-size: 1rem; padding-block: .55em .2em; }

.about-badge {
  position: absolute; right: -1.4rem; top: -1.6rem;
  width: 108px; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--lagoon); color: #fff;
  border-radius: 50%; rotate: 8deg;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.7rem; line-height: 1.1;
}

.about-quote {
  margin: 1.4rem 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--mango-bright);
}
.about-quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.35; color: var(--ink); margin: 0;
}

.about-list {
  list-style: none;
  margin: 0 0 1.8rem;
  display: grid; gap: .65rem;
}
.about-list li {
  position: relative; padding-left: 2rem;
  color: var(--ink-soft);
}
.about-list li::before {
  content: "";
  position: absolute; left: 0; top: .28em;
  width: 1.15em; height: 1.15em;
  border-radius: 50%;
  background: var(--lagoon-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 7 11l5-6' fill='none' stroke='%230E6E6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}

/* ── 11. OPINIE ────────────────────────────────────────────────── */
.reviews { background: var(--card); }

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2rem);
}

.review {
  position: relative;
  margin: 0;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.5rem;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.review::before {
  content: "\201E";
  position: absolute; top: -0.28em; right: .35em;
  font-family: var(--font-display); font-weight: 700;
  font-size: 5.4rem; line-height: 1;
  color: rgba(232, 98, 44, .18);
  pointer-events: none;
}

.review-stars { color: var(--gold); letter-spacing: .12em; margin-bottom: .7em; }
.review-text { font-size: .98rem; color: var(--ink); flex: 1; }
.review footer { display: flex; flex-direction: column; gap: .1rem; }
.review-name { font-style: normal; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.review-meta { font-size: .85rem; color: var(--ink-soft); }

/* ── 12. FAQ ───────────────────────────────────────────────────── */
.faq-inner { max-width: 780px; }
.faq-inner .section-head { margin-inline: auto; text-align: center; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }

.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%;
  background: transparent; border: 0; cursor: pointer;
  text-align: left;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink);
  padding: 1.15rem .3rem;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--lagoon); }

.faq-icon {
  position: relative; flex: none;
  width: 34px; height: 34px;
  border: 1.5px solid var(--line); border-radius: 50%;
  transition: background .25s ease, border-color .25s ease, transform .35s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; border-radius: 2px;
  background: var(--ink);
  translate: -50% -50%;
  transition: background .25s ease, rotate .35s ease;
}
.faq-icon::after { rotate: 90deg; }

.faq-item.open .faq-icon { background: var(--lagoon); border-color: var(--lagoon); transform: rotate(180deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { rotate: 0deg; }

.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.4, 0, .2, 1);
}
.faq-a-inner {
  overflow: hidden; min-height: 0;
  /* visibility ukrywa zwiniętą odpowiedź także przed czytnikami ekranu;
     opóźnienie zgrywa ukrycie z końcem animacji zwijania */
  visibility: hidden;
  transition: visibility 0s .4s;
}
.faq-item.open .faq-a-inner { visibility: visible; transition: visibility 0s; }
.faq-a-inner p {
  color: var(--ink-soft);
  padding: 0 .3rem 1.3rem;
  max-width: 60ch;
  margin: 0;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ── 13. REZERWACJA ────────────────────────────────────────────── */
.booking {
  position: relative;
  padding-block: var(--section-pad);
  color: #fff;
  background:
    linear-gradient(rgba(15, 26, 22, .84), rgba(15, 26, 22, .88)),
    url("https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=1600&q=60&auto=format&fit=crop")
    center / cover no-repeat;
}
/* ⚠️ PODMIEŃ: zdjęcie tła sekcji rezerwacji — adres w linii wyżej */

.booking .section-title { color: #fff; }
.booking .section-title em { color: #FFB27A; }

.booking-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.booking-lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 34em; }

.booking-points {
  list-style: none;
  display: grid; gap: .6rem;
  margin: 1.6rem 0 2rem;
}
.booking-points li {
  position: relative; padding-left: 2rem;
  color: rgba(255, 255, 255, .88);
}
.booking-points li::before {
  content: "";
  position: absolute; left: 0; top: .28em;
  width: 1.15em; height: 1.15em; border-radius: 50%;
  background-color: rgba(255, 255, 255, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 7 11l5-6' fill='none' stroke='%23FFB27A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}

.booking-alt p { color: rgba(255, 255, 255, .72); margin-bottom: .7em; font-size: .95rem; }

/* Formularz */
.booking-form {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}
.booking-form h3 { font-size: 1.5rem; margin-bottom: 1.1em; }

.field { margin-bottom: 1.05rem; }
.field-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: .88rem; font-weight: 600;
  margin-bottom: .35em;
}
.field label small { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(34, 49, 44, .5);
  border-radius: var(--radius-sm);
  padding: .7em .85em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 84px; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--lagoon);
  box-shadow: 0 0 0 3px rgba(14, 110, 107, .18);
}

.field input::placeholder,
.field textarea::placeholder { color: #6B7A73; }

.booking-form .btn { margin-top: .4rem; }

.form-hint {
  font-size: .82rem; color: var(--ink-soft);
  margin: .9em 0 0; line-height: 1.5;
}
.form-success {
  margin: 1em 0 0;
  padding: .9em 1.1em;
  background: var(--lagoon-tint);
  border: 1px solid rgba(14, 110, 107, .3);
  border-radius: var(--radius-sm);
  color: var(--lagoon-deep);
  font-size: .92rem; font-weight: 500;
}

/* ── 13a. OKNO SZCZEGÓŁÓW WYCIECZKI ────────────────────────────── */
.tour-dialog {
  border: 0; padding: 0;
  width: min(720px, calc(100vw - 2rem));
  background: var(--card); color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.tour-dialog::backdrop {
  background: rgba(16, 26, 22, .62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.tour-dialog[open] { animation: dialog-in .35s cubic-bezier(.22, .61, .36, 1); }
.tour-dialog[open]::backdrop { animation: backdrop-in .3s ease; }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(26px) scale(.98); }
}
@keyframes backdrop-in {
  from { opacity: 0; }
}
body.dialog-open { overflow: hidden; }

.dialog-inner {
  max-height: min(86dvh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .93); color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.dialog-close:hover { background: #fff; transform: rotate(90deg); }

/* galeria: przewijana poziomo, z przyciąganiem */
.detail-gallery {
  display: flex; gap: 10px;
  padding: 10px;
  background: var(--sand-deep);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--lagoon) transparent;
}
.detail-gallery img {
  flex: 0 0 min(80%, 480px);
  min-width: 0; /* bez tego szerokość zdjęcia wygrywa z flex-basis */
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: center;
}

.detail-body { padding: clamp(1.4rem, 3vw, 2.1rem); }
.detail-body h3 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: .25em;
  padding-right: 2.2rem; /* miejsce na przycisk zamykania przy krótkim oknie */
}
.detail-body .tour-meta { margin-bottom: 1.1em !important; }
.detail-body > p:not(.tour-meta) { color: var(--ink-soft); }
.detail-body h4 {
  font-family: var(--font-body);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--lagoon);
  margin: 1.4em 0 .7em;
}
.detail-list {
  list-style: none;
  display: grid; gap: .5rem;
  margin: 0 0 1.5rem;
}
.detail-list li {
  position: relative; padding-left: 2rem;
  color: var(--ink-soft);
}
.detail-list li::before {
  content: "";
  position: absolute; left: 0; top: .28em;
  width: 1.15em; height: 1.15em;
  border-radius: 50%;
  background-color: var(--lagoon-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 7 11l5-6' fill='none' stroke='%230E6E6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}
.detail-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem 1rem;
  border-top: 2px dashed var(--line);
  padding-top: 1.15rem;
}

@media (max-width: 700px) {
  /* na telefonie okno wjeżdża od dołu jak arkusz */
  .tour-dialog {
    width: 100vw; max-width: none;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }
  .dialog-inner { max-height: 92dvh; }
  .detail-gallery img { flex-basis: 86%; }
}

/* ── 14. STOPKA ────────────────────────────────────────────────── */
.site-footer {
  background: #17231F;
  color: rgba(255, 255, 255, .72);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.brand-light { color: #fff; margin-bottom: 1rem; }
.brand-light .brand-mark { color: #6FBFB7; }
.brand-light em { color: #6FBFB7; }
.footer-brand p { max-width: 34em; }

.site-footer h2 {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 1em;
}

.footer-nav ul, .footer-contact ul {
  list-style: none;
  display: grid; gap: .5rem;
}
.site-footer a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-note { margin-top: 1.2em; font-size: .85rem; color: rgba(255, 255, 255, .5); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem; color: rgba(255, 255, 255, .5);
}
.footer-bottom p { margin: 0; }

/* ── 15. ANIMACJE WEJŚCIA (IntersectionObserver) ───────────────── */
/* Ukrycie działa tylko przy sprawnym JS (klasa .js dodawana w <head>) —
   bez JavaScriptu treść jest widoczna od razu. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── 16. RESPONSYWNOŚĆ ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid .review:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  /* nawigacja mobilna */
  .burger { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    z-index: 190;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1rem var(--gutter) 1.6rem;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  body.menu-open .site-nav {
    opacity: 1; visibility: visible;
    transform: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .site-nav ul {
    flex-direction: column; align-items: stretch; gap: .1rem;
  }
  .site-nav a:not(.btn) {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 600;
    padding: .6em .2em;
    border-bottom: 0;
  }
  .site-nav a.is-active { color: var(--lagoon); }
  .nav-cta-item { display: block; margin-top: 1rem; }
  .nav-cta-item .btn { width: 100%; font-size: 1.05rem; padding: .9em; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { min-height: min(88vw, 480px); margin-top: 1rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 340px; }
  .about-badge { right: -0.6rem; }

  .booking-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .header-cta { display: none; }

  /* ciaśniejszy nagłówek na wąskich ekranach */
  .header-inner { gap: .5rem; }
  .header-tools { gap: .45rem; }
  .brand { gap: .45rem; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-name { font-size: .99rem; }
  .lang-switch button { padding: .32em .62em; font-size: .78rem; }
  .burger { width: 40px; }

  .tours-grid { grid-template-columns: 1fr; }
  .tour-wide { grid-template-columns: 1fr; }
  .tour-wide-media { min-height: 200px; }

  .steps { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-actions .btn-lg, .hero-actions .btn-ghost {
    width: 100%; justify-content: center; text-align: center;
  }
}

/* ── 17. REDUKCJA RUCHU (dostępność) ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
