@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/dm-sans-400.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/dm-sans-700.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:800;font-display:swap;src:url('assets/fonts/dm-sans-800.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:900;font-display:swap;src:url('assets/fonts/dm-sans-900.ttf') format('truetype')}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/playfair-display-700.ttf') format('truetype')}
:root {
  --background: #ffffff;
  --foreground: #111d14;
  --primary: #1a4d2e;
  --primary-2: #236040;
  --primary-soft: #e8f2eb;
  --muted: #f4f7f3;
  --muted-2: #ecf2ec;
  --muted-text: #5a6b5e;
  --line: #dbe6db;
  --accent: #c8e05a;
  --accent-2: #a8c83e;
  --white: #ffffff;
  --shadow-soft: 0 18px 55px rgba(18, 52, 30, 0.11);
  --shadow-strong: 0 28px 80px rgba(12, 40, 22, 0.22);
  --radius: 10px;
  --container: 1200px;
  --header-height: 78px;
  --font-body: 'DM Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; color: inherit; background: transparent; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3, p { margin-top: 0; }
ul, ol { margin-top: 0; }

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f0f0f0;
}
*::-webkit-scrollbar { width: 8px; }
*::-webkit-scrollbar-track { background: #f0f0f0; }
*::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ─── ICONS ─── */
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vertical-align: middle;
}

.brand-mark { width: 34px; height: 34px; }

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 230, 219, 0.85);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.main-nav {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #283d2e;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links a {
  padding: 6px 0;
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 200ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { width: 100%; }

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--primary); }

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--foreground);
  transform: translate(-50%, var(--line-offset, 0)) rotate(0);
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle span:nth-child(1) { --line-offset: -8px; }
.menu-toggle span:nth-child(2) { --line-offset: 0; }
.menu-toggle span:nth-child(3) { --line-offset: 8px; }
.menu-toggle.is-active span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

.mobile-menu { display: none; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(26, 77, 46, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-2);
  border-color: var(--primary-2);
  box-shadow: 0 16px 38px rgba(26, 77, 46, 0.36);
}

.btn-ghost-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-light:hover,
.btn-ghost-light:focus-visible {
  color: var(--primary);
  background: #ffffff;
  border-color: #ffffff;
}

.btn-large {
  min-height: 58px;
  padding: 15px 30px;
  font-size: 1.05rem;
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }
.section-soft { background: linear-gradient(180deg, #f5f9f4 0%, #ffffff 100%); }
.section-muted { background: var(--muted); }

.section-heading {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading.compact { margin-bottom: 32px; }
.section-heading.align-left { margin-inline: 0; text-align: left; }

.section-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-kicker.light { color: var(--accent); }

.section-heading h2,
.cta-section h2 {
  margin-bottom: 16px;
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted-text);
  font-size: 1.15rem;
  line-height: 1.75;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(110deg, rgba(6, 22, 12, 0.88) 0%, rgba(10, 40, 22, 0.72) 45%, rgba(8, 24, 14, 0.30) 100%);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 200px;
  content: "";
  background: linear-gradient(to top, #ffffff, transparent);
}

.hero-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: 820px;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 120px;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  max-width: 100%;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

h1 {
  margin-bottom: 24px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* ─── WOW STRIP (existing stats) ─── */
.wow-strip {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  padding: 0 0 80px;
}

.wow-strip .section-heading h2 { color: var(--foreground); }

.wow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wow-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--foreground);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.wow-stat strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.wow-stat strong::after { content: "+"; }
.wow-stat [data-target="4.9"]::after { content: ""; }

.wow-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted-text);
  font-size: 1rem;
  font-weight: 600;
}

/* ─── WOW ADVENTURE SECTION (NEW) ─── */
.adventure-section {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  color: #ffffff;
  margin-bottom: 0;
}

.adventure-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 26, 14, 0.92) 0%, rgba(14, 50, 26, 0.78) 50%, rgba(8, 22, 12, 0.55) 100%),
    url("assets/images/karpaty-polonyna-doroga-panorama.webp") center / cover;
  background-attachment: fixed;
}

.adventure-inner {
  padding: 100px 0;
  max-width: 780px;
}

.adventure-inner .section-kicker {
  color: var(--accent);
  margin-bottom: 16px;
}

.adventure-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 22px;
}

.adventure-inner p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 600px;
}

/* ─── FEATURES ─── */
.feature-grid,
.route-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.feature-grid { grid-template-columns: repeat(4, 1fr); }

.feature-card,
.route-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(18, 52, 30, 0.05);
}

.feature-card {
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 77, 46, 0.25);
  box-shadow: var(--shadow-soft);
}

.icon-badge {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--primary-soft);
}

.icon-badge .icon { width: 24px; height: 24px; }

.feature-card h3,
.route-card h3,
.story-content h3,
.timeline h3 {
  color: var(--foreground);
  font-weight: 800;
  line-height: 1.25;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card p,
.route-card p,
.story-content p,
.timeline p {
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.68;
}

.feature-card p { margin-bottom: 0; }

/* ─── STORY PANEL ─── */
.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 60px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.story-panel img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.story-content {
  padding: clamp(36px, 5vw, 64px);
}

.story-content h3 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.015em;
}

/* ─── ROUTES ─── */
.route-grid { grid-template-columns: repeat(3, 1fr); }

.route-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.route-card.featured {
  border-color: rgba(26, 77, 46, 0.4);
  box-shadow: 0 0 0 4px rgba(26, 77, 46, 0.08), var(--shadow-soft);
}

.route-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.route-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-media img,
.gallery-item img {
  transition: transform 700ms ease;
}

.route-card:hover .route-media img,
.gallery-item:hover img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--primary);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  letter-spacing: 0.02em;
}

.route-body {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.route-body h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.route-meta {
  display: grid;
  gap: 9px;
  margin: 16px 0 22px;
}

.route-meta span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2e4434;
  font-size: 0.97rem;
  font-weight: 700;
}

.route-meta .icon {
  color: var(--primary-2);
  width: 17px;
  height: 17px;
}

.route-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.route-footer strong {
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 900;
  white-space: nowrap;
}

/* ─── TIMELINE ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.timeline li {
  position: relative;
  padding: 30px 18px 0;
  border-top: 2px solid var(--line);
}

.timeline li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--primary), rgba(26, 77, 46, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms ease;
}

.timeline li.is-visible::before { transform: scaleX(1); }

.timeline span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--primary);
  font-size: 1rem;
  font-weight: 900;
}

.timeline h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
  font-size: 0.96rem;
  color: var(--muted-text);
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 240px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(18, 52, 30, 0.68), transparent 60%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }

.gallery-zoom-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
  white-space: nowrap;
}

.gallery-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  opacity: 0.92;
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── INCLUDED ─── */
.included-layout,
.faq-layout {
  display: grid;
  align-items: start;
  gap: 52px;
}

.included-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
}

.faq-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.included-layout,
.included-layout * {
  box-sizing: border-box;
  max-width: 100%;
}

.included-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-grid li {
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(18, 52, 30, 0.05);
}

.included-grid .icon {
  margin-top: 2px;
  color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.included-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ─── FAQ ─── */
.faq-list { display: grid; gap: 12px; }

.faq-list details { overflow: hidden; }

.faq-list summary {
  position: relative;
  padding: 22px 56px 22px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  line-height: 1.4;
}

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

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.72;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 72px 0 0;
  color: #ffffff;
  background: #0d2618;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 52px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-col p {
  max-width: 320px;
  margin: 0;
}

.footer-brand { margin-bottom: 18px; color: #ffffff; }

.site-footer p,
.site-footer address,
.site-footer a,
.site-footer span { color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; }

.site-footer h3 { margin: 0 0 18px; color: #ffffff; font-size: 1.05rem; font-weight: 800; }

.site-footer address {
  display: grid;
  gap: 10px;
  align-items: start;
  text-align: left;
}

.site-footer a { transition: color 180ms ease; }

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer strong { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 0;
  text-align: left;
}

.footer-bottom p { margin: 0; font-size: 0.95rem; }

/* ─── MOBILE STICKY ─── */
.mobile-sticky-bar { display: none; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 14, 8, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow-strong);
  transform: scale(0.94);
  transition: transform 260ms ease;
}

.lightbox.is-open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: #ffffff;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-close::before,
.lightbox-close::after {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform-origin: center;
}

.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after { transform: rotate(-45deg); }

.lightbox-close:hover { background: var(--primary-soft); transform: rotate(90deg); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1120px) {
  .nav-links { gap: 16px; font-size: 0.9rem; }

  .hero-layout { max-width: 100%; padding-bottom: 100px; }

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

@media (max-width: 980px) {
  .nav-links,
  .nav-phone { display: none; }

  .menu-toggle { display: flex; }

  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height 240ms ease, border-color 240ms ease;
  }

  .mobile-menu.is-open {
    max-height: calc(100vh - var(--header-height));
    border-color: var(--line);
    overflow-y: auto;
  }

  .mobile-menu-inner { display: grid; gap: 14px; padding-block: 20px; }
  .mobile-menu a { font-size: 1.05rem; font-weight: 800; }

  .route-grid,
    .footer-grid { grid-template-columns: 1fr; }

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

  .story-panel,
  .faq-layout,
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .included-layout { gap: 24px; }

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


  .adventure-bg { background-attachment: scroll; }
}


@media (max-width: 767px) {
  .included-layout {
    grid-template-columns: 1fr;
  }

  .included-layout,
  .included-layout > *,
  .included-grid,
  .included-grid > li {
    box-sizing: border-box;
    max-width: 100%;
  }

  .included-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }

  .container { width: min(100% - 28px, var(--container)); }

  body {
    font-size: 16px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .brand { font-size: 1rem; }
  .brand-mark { width: 30px; height: 30px; }

  .section { padding: 72px 0; }

  .hero-layout {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
  }

  h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }

  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }

  .wow-grid,
  .feature-grid,
  .route-grid,
    .footer-grid,
  .included-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .route-footer .btn { width: 100%; }

  .route-footer {
    align-items: stretch;
    flex-direction: column;
  }

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

  .timeline li {
    border-top: 0;
    border-left: 2px solid var(--line);
    padding: 0 0 22px 26px;
  }

  .timeline li::before {
    top: 0; left: -2px;
    width: 2px; height: 100%;
    transform: scaleY(0);
    transform-origin: top;
  }

  .timeline li.is-visible::before { transform: scaleY(1); }

  .story-panel img { min-height: 300px; }

  .gallery-grid { grid-auto-rows: 250px; }
  .gallery-item.tall { grid-row: span 1; }

  .footer-bottom { flex-direction: column; text-align: left; }

  .mobile-sticky-bar {
    position: fixed;
    right: auto;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    z-index: 60;
    display: grid;
    width: min(calc(100% - 20px), 430px);
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
    gap: 6px;
    border: 1px solid rgba(219, 230, 219, 0.9);
    border-radius: var(--radius);
    padding: 7px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 48px rgba(18, 52, 30, 0.22);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
  }

  .mobile-sticky-bar a {
    display: flex;
    min-height: 52px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius);
    color: var(--primary);
    padding: 8px 6px;
    font-size: clamp(0.68rem, 2.9vw, 0.78rem);
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
  }

  .mobile-sticky-bar span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .mobile-sticky-bar a:first-child { color: #ffffff; background: var(--primary); }

  .mobile-sticky-bar .icon { width: 19px; height: 19px; }

  .adventure-section { min-height: 480px; }

  .adventure-inner h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .adventure-inner p { font-size: 1.08rem; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 20px, var(--container)); }
  .main-nav { gap: 10px; }
  .brand { gap: 8px; font-size: 0.94rem; }
  .brand-mark { width: 28px; height: 28px; }
  .btn { padding-inline: 16px; }
  h1 { font-size: clamp(2.12rem, 10.8vw, 2.5rem); }
  .hero-lead { font-size: 1rem; }
  .section-heading h2,
  .adventure-inner h2 { font-size: clamp(1.9rem, 9vw, 2.3rem); }
  .gallery-grid { grid-auto-rows: 220px; }
  .lightbox { padding: 12px; }
  .lightbox-close { top: 12px; right: 12px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  .adventure-bg { background-attachment: scroll; }
}
