/* ==========================================================================
   Visit Kokino — core stylesheet
   Palette derived from the site's own photography:
   deep Milky-Way indigo + Tatichev Kamen sunrise amber + volcanic stone.
   ========================================================================== */

:root {
  /* Night sky */
  --night-900: #05070F;
  --night-800: #090E1C;
  --night-700: #0F1730;
  --night-600: #18224A;
  --night-500: #232F5E;

  /* Sunrise */
  --amber-500: #E9A23B;
  --amber-400: #F2B858;
  --amber-300: #F7CE8B;
  --ember:     #D5763A;

  /* Milky way violet */
  --violet-500: #7B6BE6;
  --violet-400: #9A8CF0;

  /* Stone / text */
  --stone-100: #F2EFE9;
  --ink:       #EEF1F8;
  --ink-soft:  #BCC5DA;
  --ink-dim:   #8792AB;

  --line:      rgba(255, 255, 255, .10);
  --line-soft: rgba(255, 255, 255, .06);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-md: 0 10px 34px rgba(0, 0, 0, .45);
  --shadow-lg: 0 26px 70px rgba(0, 0, 0, .58);

  --ease: cubic-bezier(.22, .61, .36, 1);

  --nav-h: 76px;
  --wrap: 1200px;
}

/* ---------- Base ---------------------------------------------------------- */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--night-900);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is essential — several rules below set width:100%, and without
   this the HTML height="..." attribute is taken literally and stretches the
   image vertically. Rules that deliberately set a height (hero, page header,
   cover images) are more specific and still win. */
img, picture, video { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-400); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--amber-300); }

::selection { background: var(--amber-500); color: var(--night-900); }

:focus-visible {
  outline: 2px solid var(--amber-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--amber-500); color: var(--night-900);
  padding: .6rem 1.1rem; border-radius: var(--r-sm); font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--night-900); }

/* ---------- Typography ---------------------------------------------------- */

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

h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -.005em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.lead-text {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-500));
}
.eyebrow--center::after {
  content: ""; width: 30px; height: 1px;
  background: linear-gradient(270deg, transparent, var(--amber-500));
}

.text-amber { color: var(--amber-400); }
.text-soft  { color: var(--ink-soft); }
.text-dim   { color: var(--ink-dim); }

/* Macedonian sets slightly tighter — Cyrillic runs wider */
html[lang="mk"] h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
html[lang="mk"] h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }

/* ---------- Layout -------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap--narrow { max-width: 820px; }
.wrap--wide   { max-width: 1400px; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--night { background: var(--night-800); }
.section--deep  { background: var(--night-900); }
.section--raised {
  background: linear-gradient(180deg, var(--night-800), var(--night-700));
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- Navbar -------------------------------------------------------- */

.nav-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .34s var(--ease), border-color .34s var(--ease), height .34s var(--ease);
}
.nav-bar.is-stuck {
  height: 64px;
  background: rgba(5, 7, 15, .88);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: 20px;
  display: flex; align-items: center; gap: 1.25rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display);
  font-size: 1.42rem; font-weight: 700; letter-spacing: .01em;
  color: var(--ink); white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--amber-300), var(--ember) 62%, #7A3A14);
  box-shadow: 0 0 22px rgba(233, 162, 59, .42);
}
.brand-mark::after {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  background: var(--night-900); opacity: .55;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small {
  font-family: var(--font-body);
  font-size: .58rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-dim);
}

.nav-links {
  display: flex; align-items: center; gap: .2rem;
  margin: 0 0 0 auto; padding: 0; list-style: none;
}
.nav-links a {
  display: block; padding: .55rem .82rem;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-links a.is-active { color: var(--amber-400); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > button {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .82rem; font: inherit;
  font-size: .9rem; font-weight: 500;
  color: var(--ink-soft); background: none; border: 0;
  border-radius: var(--r-sm); cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-drop > button:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-drop > button .bi { font-size: .72rem; transition: transform .25s var(--ease); }
.nav-drop.is-open > button { color: var(--amber-400); }
.nav-drop.is-open > button .bi { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 254px; padding: .5rem; margin: 0; list-style: none;
  background: rgba(15, 23, 48, .97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .62rem .75rem; border-radius: var(--r-sm);
  font-size: .9rem; color: var(--ink-soft);
}
.nav-drop-menu a:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }
.nav-drop-menu .bi { color: var(--amber-500); font-size: 1rem; margin-top: .12rem; }
.nav-drop-menu span small {
  display: block; font-size: .76rem; color: var(--ink-dim); line-height: 1.45;
}

/* Language switch */
.lang-switch {
  display: inline-flex; gap: 2px; padding: 3px; margin-left: .4rem;
  background: rgba(255, 255, 255, .07); border-radius: 999px;
}
.lang-switch button {
  min-width: 38px; padding: .28rem .55rem;
  font: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  color: var(--ink-dim); background: none; border: 0;
  border-radius: 999px; cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--amber-500); color: var(--night-900); }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink);
  font-size: 1.3rem; cursor: pointer;
}

/* ---------- Buttons ------------------------------------------------------- */

.btn-k {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.85rem;
  font-family: var(--font-body); font-size: .93rem; font-weight: 600;
  letter-spacing: .01em; line-height: 1;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn-k:hover { transform: translateY(-2px); }
.btn-k:active { transform: translateY(0); }

.btn-primary-k {
  background: linear-gradient(135deg, var(--amber-400), var(--ember));
  color: #2A1505;
  box-shadow: 0 8px 26px rgba(233, 162, 59, .3);
}
.btn-primary-k:hover { color: #2A1505; box-shadow: 0 14px 36px rgba(233, 162, 59, .44); }

.btn-ghost-k {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-k:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .24); color: var(--ink); }

.btn-sm-k { padding: .68rem 1.3rem; font-size: .85rem; }

/* ---------- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3.5rem) 0 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,7,15,.80) 0%, rgba(5,7,15,.42) 34%, rgba(5,7,15,.80) 82%, var(--night-900) 100%),
    radial-gradient(ellipse 80% 55% at 50% 42%, rgba(5,7,15,0) 0%, rgba(5,7,15,.55) 100%);
}

.hero-content { position: relative; max-width: 800px; }
.hero h1 { margin-bottom: 1.35rem; text-shadow: 0 2px 34px rgba(0, 0, 0, .55); }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--amber-300), var(--amber-500) 55%, var(--ember));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--amber-400);
}
.hero .lead-text { max-width: 640px; color: #D5DCEC; text-shadow: 0 1px 18px rgba(0,0,0,.5); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.3rem; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.9rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim);
}
.hero-scroll span {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--amber-500), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .25; transform: scaleY(.55); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* Page header (interior pages) */
.page-head {
  position: relative; isolation: isolate;
  padding: calc(var(--nav-h) + 5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-head-media { position: absolute; inset: 0; z-index: -2; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,7,15,.84), rgba(5,7,15,.70) 50%, var(--night-900));
}
.page-head h1 { margin-bottom: 1rem; }
.page-head .lead-text { max-width: 680px; }

/* Breadcrumb */
.crumb {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  font-size: .8rem; color: var(--ink-dim); margin-bottom: 1.4rem;
}
.crumb a { color: var(--ink-dim); }
.crumb a:hover { color: var(--amber-400); }
.crumb .bi { font-size: .66rem; opacity: .55; }

/* ---------- Star field ---------------------------------------------------- */

.stars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.62), transparent),
    radial-gradient(1.2px 1.2px at 28% 62%, rgba(255,255,255,.42), transparent),
    radial-gradient(1.6px 1.6px at 47% 26%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.1px 1.1px at 63% 74%, rgba(255,255,255,.38), transparent),
    radial-gradient(1.5px 1.5px at 78% 34%, rgba(255,255,255,.58), transparent),
    radial-gradient(1.2px 1.2px at 88% 66%, rgba(255,255,255,.40), transparent),
    radial-gradient(1.3px 1.3px at 38% 88%, rgba(255,255,255,.34), transparent),
    radial-gradient(1.5px 1.5px at 68% 12%, rgba(255,255,255,.50), transparent);
  opacity: .8;
}

/* ---------- Cards --------------------------------------------------------- */

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card-k {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  overflow: hidden;
  transition: transform .34s var(--ease), border-color .34s var(--ease), box-shadow .34s var(--ease);
}
.card-k::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,162,59,.55), transparent);
  opacity: 0; transition: opacity .34s var(--ease);
}
.card-k:hover { transform: translateY(-5px); border-color: rgba(233,162,59,.34); box-shadow: var(--shadow-md); }
.card-k:hover::before { opacity: 1; }
.card-k h3, .card-k h4 { margin-bottom: .7rem; }
.card-k p { color: var(--ink-soft); font-size: .96rem; }

.card-icon {
  width: 50px; height: 50px; margin-bottom: 1.25rem;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(233,162,59,.22), rgba(233,162,59,.07));
  border: 1px solid rgba(233,162,59,.28);
  color: var(--amber-400); font-size: 1.32rem;
}

/* Link card */
a.card-k { display: block; color: inherit; }
a.card-k:hover { color: inherit; }
.card-more {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.1rem; font-size: .85rem; font-weight: 600; color: var(--amber-400);
}
.card-more .bi { transition: transform .24s var(--ease); }
a.card-k:hover .card-more .bi { transform: translateX(4px); }

/* Feature card with image */
.feature-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  min-height: 330px; color: inherit;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(233,162,59,.36); color: inherit; }
.feature-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s var(--ease); z-index: 0;
}
.feature-card:hover img { transform: scale(1.06); }
.feature-card-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px; padding: 1.9rem 1.7rem;
  background: linear-gradient(180deg, rgba(5,7,15,.14) 0%, rgba(5,7,15,.62) 52%, rgba(5,7,15,.93) 100%);
}
.feature-card-body h3 { margin-bottom: .45rem; }
.feature-card-body p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Stats --------------------------------------------------------- */

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.stat {
  padding: 2.1rem 1.4rem; text-align: center;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: 0; }
.stat-num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 700; line-height: 1;
  color: var(--amber-400); margin-bottom: .5rem;
}
.stat-label {
  font-size: .78rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-dim);
}

/* ---------- Prose --------------------------------------------------------- */

.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 2.2rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--ink-soft); }
.prose li { margin-bottom: .6rem; }
.prose li::marker { color: var(--amber-500); }

.pull-quote {
  margin: 2.6rem 0; padding: 1.6rem 0 1.6rem 1.8rem;
  border-left: 2px solid var(--amber-500);
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.72rem);
  font-style: italic; line-height: 1.45; color: var(--ink);
}
.pull-quote cite {
  display: block; margin-top: .9rem;
  font-family: var(--font-body); font-size: .82rem; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim);
}

.figure { margin: 2.4rem 0; }
.figure img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); }
.figure figcaption {
  margin-top: .8rem; font-size: .84rem; color: var(--ink-dim); line-height: 1.6;
}

.note-box {
  display: flex; gap: 1rem;
  padding: 1.35rem 1.5rem; margin: 2.2rem 0;
  background: rgba(233, 162, 59, .08);
  border: 1px solid rgba(233, 162, 59, .24);
  border-radius: var(--r-md);
}
.note-box .bi { color: var(--amber-400); font-size: 1.2rem; margin-top: .18rem; flex: none; }
.note-box p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.note-box strong { color: var(--ink); }

/* ---------- Timeline ------------------------------------------------------ */

.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: .5rem; bottom: .5rem; width: 1px;
  background: linear-gradient(180deg, var(--amber-500), var(--violet-500), transparent);
}
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.5rem; top: .45rem;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--night-900); border: 2px solid var(--amber-500);
  box-shadow: 0 0 0 4px rgba(233, 162, 59, .14);
}
.tl-date {
  display: inline-block; margin-bottom: .45rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--amber-400);
}
.tl-item h4 { margin-bottom: .4rem; }
.tl-item p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ---------- Marker list (the seven markers) -------------------------------- */

.marker-list { display: grid; gap: .85rem; padding: 0; margin: 0; list-style: none; }
.marker-item {
  display: flex; gap: 1.15rem; align-items: flex-start;
  padding: 1.15rem 1.35rem;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .28s var(--ease), background .28s var(--ease), transform .28s var(--ease);
}
.marker-item:hover { border-color: rgba(233,162,59,.34); background: rgba(255,255,255,.06); transform: translateX(4px); }
.marker-no {
  flex: none; width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--amber-400), var(--ember));
  color: #2A1505; font-weight: 700; font-size: .92rem;
}
.marker-item h4 { margin-bottom: .2rem; font-size: 1rem; }
.marker-item p { margin: 0; font-size: .89rem; color: var(--ink-dim); }

/* Platform badge */
.plat-badge {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--amber-400);
  border: 1px solid rgba(233,162,59,.4); border-radius: 12px;
  background: rgba(233,162,59,.10);
}

/* ---------- Audio guide --------------------------------------------------- */

.ag-shell {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: start;
}

.ag-player {
  position: sticky; top: calc(var(--nav-h) + 20px);
  padding: 2rem;
  background: linear-gradient(165deg, rgba(35,47,94,.6), rgba(15,23,48,.85));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.ag-player::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,107,230,.30), transparent 70%);
  z-index: -1;
}

.ag-now-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber-400); margin-bottom: .55rem;
}
.ag-now-title {
  font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 600; line-height: 1.2; margin-bottom: .45rem;
}
.ag-now-sub { font-size: .9rem; color: var(--ink-dim); margin-bottom: 1.6rem; }

.ag-scrub {
  position: relative; height: 6px; margin-bottom: .65rem;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px; cursor: pointer;
}
.ag-scrub-fill {
  position: absolute; inset: 0 auto 0 0; width: var(--played, 0%);
  background: linear-gradient(90deg, var(--amber-500), var(--amber-300));
  border-radius: 999px;
}
.ag-scrub-knob {
  position: absolute; top: 50%; left: var(--played, 0%);
  width: 15px; height: 15px; margin-left: -7.5px;
  transform: translateY(-50%) scale(.6);
  background: #fff; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
  opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.ag-scrub:hover .ag-scrub-knob,
.ag-scrub:focus-visible .ag-scrub-knob { opacity: 1; transform: translateY(-50%) scale(1); }

.ag-times {
  display: flex; justify-content: space-between;
  font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--ink-dim);
  margin-bottom: 1.5rem;
}

.ag-controls { display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.ag-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  border-radius: 50%; color: var(--ink);
  font-size: 1.05rem; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.ag-btn:hover:not(:disabled) { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); transform: scale(1.06); }
.ag-btn:disabled { opacity: .3; cursor: not-allowed; }
.ag-btn--play {
  width: 68px; height: 68px; font-size: 1.55rem;
  background: linear-gradient(135deg, var(--amber-400), var(--ember));
  border-color: transparent; color: #2A1505;
  box-shadow: 0 10px 30px rgba(233,162,59,.36);
}
.ag-btn--play:hover:not(:disabled) { background: linear-gradient(135deg, var(--amber-300), var(--amber-500)); }

.ag-meta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--ink-dim);
}
.ag-rate {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .7rem; font: inherit; font-size: .78rem; font-weight: 600;
  color: var(--ink-soft); background: rgba(255,255,255,.07);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.ag-rate:hover { color: var(--ink); background: rgba(255,255,255,.13); }

/* Stop list */
.ag-stops { display: grid; gap: .7rem; padding: 0; margin: 0; list-style: none; }
.ag-stop {
  display: flex; gap: 1.05rem; align-items: center; width: 100%;
  padding: 1.05rem 1.25rem; text-align: left;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink); font: inherit; cursor: pointer;
  transition: border-color .26s var(--ease), background .26s var(--ease), transform .26s var(--ease);
}
.ag-stop:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); transform: translateX(3px); }
.ag-stop[aria-current="true"] {
  border-color: rgba(233,162,59,.55);
  background: linear-gradient(100deg, rgba(233,162,59,.16), rgba(233,162,59,.05));
}
.ag-stop-no {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 700; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  transition: background .26s var(--ease), color .26s var(--ease), border-color .26s var(--ease);
}
.ag-stop[aria-current="true"] .ag-stop-no {
  background: linear-gradient(140deg, var(--amber-400), var(--ember));
  color: #2A1505; border-color: transparent;
}
.ag-stop-text { flex: 1; min-width: 0; }
.ag-stop-title { display: block; font-size: .97rem; font-weight: 600; line-height: 1.35; }
.ag-stop-sub { display: block; font-size: .8rem; color: var(--ink-dim); margin-top: .12rem; }
.ag-stop-time { flex: none; font-size: .8rem; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.ag-stop-eq { flex: none; width: 16px; display: flex; align-items: flex-end; gap: 2px; height: 15px; }
.ag-stop-eq i { width: 3px; background: var(--amber-400); border-radius: 2px; height: 30%; }
.ag-stop[aria-current="true"].is-playing .ag-stop-eq i { animation: eq .9s ease-in-out infinite; }
.ag-stop-eq i:nth-child(2) { animation-delay: .18s; }
.ag-stop-eq i:nth-child(3) { animation-delay: .36s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .ag-stop-eq i { animation: none !important; height: 55%; }
  .hero-scroll span { animation: none; }
}

/* ---------- Gallery ------------------------------------------------------- */

.gal-grid { columns: 3; column-gap: 1.1rem; }
.gal-item {
  position: relative; display: block; width: 100%;
  margin-bottom: 1.1rem; break-inside: avoid;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in;
  background: none; padding: 0;
}
.gal-item img { width: 100%; transition: transform .6s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.4rem 1.1rem .95rem;
  background: linear-gradient(180deg, transparent, rgba(5,7,15,.92));
  font-size: .85rem; color: var(--ink); text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; place-items: center;
  padding: 2rem;
  background: rgba(3, 5, 11, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox-cap { margin-top: 1rem; text-align: center; font-size: .9rem; color: var(--ink-soft); }
.lightbox-close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid var(--line);
  border-radius: 50%; color: var(--ink); font-size: 1.3rem; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Contact / info rows -------------------------------------------- */

.info-row {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line-soft);
}
.info-row:last-child { border-bottom: 0; }
.info-row .bi { color: var(--amber-400); font-size: 1.22rem; margin-top: .15rem; flex: none; width: 24px; }
.info-row h4 { margin-bottom: .2rem; font-size: .98rem; }
.info-row p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- Tour offer ----------------------------------------------------- */

.tour-badges {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem; margin: 2.2rem 0;
}
.tour-badge { display: flex; gap: .95rem; align-items: flex-start; }
.tour-badge .bi {
  flex: none; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 12px;
  background: rgba(233, 162, 59, .12);
  border: 1px solid rgba(233, 162, 59, .26);
  color: var(--amber-400); font-size: 1.12rem;
}
.tour-badge h4 { margin: 0 0 .15rem; font-size: .98rem; }
.tour-badge p { margin: 0; font-size: .88rem; color: var(--ink-dim); line-height: 1.55; }

/* Highlights */
.highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.highlights li {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: 1rem; color: var(--ink-soft);
}
.highlights .bi { color: var(--amber-400); margin-top: .22rem; flex: none; }

/* Includes / excludes */
.list-mark { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.list-mark li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.list-mark .bi { flex: none; margin-top: .22rem; font-size: 1rem; }
.list-mark--yes .bi { color: #5FD3A0; }
.list-mark--no .bi  { color: #E0745F; }
.list-mark--info .bi { color: var(--amber-400); }

/* Price card */
.price-card {
  background: linear-gradient(160deg, rgba(233,162,59,.14), rgba(233,162,59,.04));
  border: 1px solid rgba(233, 162, 59, .32);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
}
.price-figure {
  display: flex; align-items: baseline; gap: .55rem; margin-bottom: .3rem;
}
.price-figure b {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1; color: var(--amber-400);
}
.price-figure span { font-size: .95rem; color: var(--ink-dim); }
.price-note { font-size: .88rem; color: var(--ink-dim); margin: 0; }

/* Itinerary */
.itin { position: relative; padding-left: 2.3rem; margin: 0; list-style: none; }
.itin::before {
  content: ""; position: absolute; left: 8px; top: 1rem; bottom: 1rem; width: 2px;
  background: linear-gradient(180deg, var(--ember), var(--amber-500), var(--violet-500));
  border-radius: 2px;
}
.itin li { position: relative; padding-bottom: 1.6rem; }
.itin li:last-child { padding-bottom: 0; }
.itin li::before {
  content: ""; position: absolute; left: -2.3rem; top: .42rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--night-800); border: 2px solid var(--amber-500);
}
.itin li.is-stop::before { background: var(--amber-500); box-shadow: 0 0 0 4px rgba(233,162,59,.18); }
.itin li.is-leg::before {
  width: 10px; height: 10px; left: calc(-2.3rem + 4px); top: .62rem;
  border-color: var(--ink-dim); background: var(--night-800);
}
.itin h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.itin li.is-leg h4 { font-size: .92rem; font-weight: 600; color: var(--ink-dim); font-family: var(--font-body); }
.itin p { margin: 0; font-size: .89rem; color: var(--ink-dim); }
.itin .itin-opt {
  display: inline-block; margin-top: .3rem; padding: .12rem .55rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber-400); background: rgba(233,162,59,.12);
  border: 1px solid rgba(233,162,59,.3); border-radius: 999px;
}

@media (max-width: 760px) {
  .tour-badges { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ---------- Booking form --------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .42rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--amber-400); }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .95rem;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(233,162,59,.55); background: rgba(255,255,255,.08);
}
.field select option { background: var(--night-700); color: var(--ink); }
.field-hint { font-size: .8rem; color: var(--ink-dim); }
.field-error { font-size: .8rem; color: #E0745F; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E0745F; }
.field.has-error .field-error { display: block; }

/* honeypot — never shown, never announced */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

.form-note {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .84rem; color: var(--ink-dim); margin-top: 1rem;
}
.form-note .bi { color: var(--amber-400); margin-top: .15rem; flex: none; }

.form-status {
  display: none; gap: .75rem; align-items: flex-start;
  padding: 1.1rem 1.3rem; margin-top: 1.2rem;
  border-radius: var(--r-md); font-size: .93rem;
}
.form-status.is-shown { display: flex; }
.form-status--ok {
  background: rgba(95, 211, 160, .10);
  border: 1px solid rgba(95, 211, 160, .34);
  color: #C7F0DD;
}
.form-status--bad {
  background: rgba(224, 116, 95, .10);
  border: 1px solid rgba(224, 116, 95, .34);
  color: #F3CFC6;
}
.form-status .bi { font-size: 1.15rem; margin-top: .1rem; flex: none; }

@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Section with a dimmed photographic background ------------------ */

.section--media { position: relative; isolation: isolate; overflow: hidden; }
.section-media { position: absolute; inset: 0; z-index: -2; }
.section-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
/* Dark enough to keep text legible, light enough that the landscape reads.
   Combined opacity lands around 0.69 at the centre — the panorama stays visible. */
.section-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,7,15,.90) 0%, rgba(5,7,15,.62) 45%, rgba(5,7,15,.90) 100%),
    radial-gradient(ellipse 75% 65% at 50% 50%, rgba(5,7,15,.18), rgba(5,7,15,.72));
}

/* ---------- Audio guide: per-stop download -------------------------------- */

.ag-stop-row { display: flex; align-items: stretch; gap: .55rem; }
.ag-stop-row .ag-stop { flex: 1; min-width: 0; }
/* the nudge-on-hover fights the download button's alignment, so drop it here */
.ag-stop-row .ag-stop:hover { transform: none; }

.ag-dl {
  flex: none; width: 52px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-dim); font-size: 1.05rem;
  transition: background .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease);
}
.ag-dl:hover {
  background: rgba(233, 162, 59, .14);
  border-color: rgba(233, 162, 59, .45);
  color: var(--amber-400);
}

@media (max-width: 620px) {
  .ag-dl { width: 46px; }
}

/* ---------- CTA band ------------------------------------------------------- */

.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
}
.cta-band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,7,15,.88), rgba(5,7,15,.76));
}

/* ---------- Footer -------------------------------------------------------- */

.foot { background: var(--night-900); border-top: 1px solid var(--line-soft); padding: 4.5rem 0 0; }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 3rem;
}
.foot h5 {
  font-size: .78rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 1.1rem;
}
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: .6rem; }
.foot-links a { color: var(--ink-dim); font-size: .91rem; }
.foot-links a:hover { color: var(--amber-400); }
.foot p { font-size: .91rem; color: var(--ink-dim); }

.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding: 1.6rem 0; border-top: 1px solid var(--line-soft);
  font-size: .84rem; color: var(--ink-dim);
}
.foot-social { display: flex; gap: .55rem; }
.foot-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  border-radius: 50%; color: var(--ink-soft); font-size: 1rem;
}
.foot-social a:hover { background: var(--amber-500); border-color: transparent; color: var(--night-900); }

/* ---------- Reveal on scroll ---------------------------------------------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ----------------------------------------------------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 1080px) {
  .ag-shell { grid-template-columns: 1fr; gap: 2rem; }
  .ag-player { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    margin: 0; padding: 1rem 1.25rem 1.6rem;
    background: rgba(5, 7, 15, .98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a, .nav-drop > button { width: 100%; padding: .85rem .6rem; font-size: 1rem; }
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none;
    padding: 0 0 .5rem .6rem; min-width: 0;
    display: none;
  }
  .nav-drop.is-open .nav-drop-menu { display: block; }
  .lang-switch { margin: .8rem 0 0; align-self: flex-start; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .gal-grid { columns: 2; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .wrap { padding-inline: 16px; }
  .nav-inner { padding-inline: 16px; }
  .hero { min-height: 90svh; }
  .hero-actions .btn-k { width: 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }
  .gal-grid { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .card-k { padding: 1.6rem 1.35rem; }
  .ag-player { padding: 1.5rem 1.25rem; }
  .ag-controls { gap: .8rem; }
  .ag-btn--play { width: 60px; height: 60px; }
  .timeline { padding-left: 2rem; }
  .tl-item::before { left: -2rem; }
  .ag-stop { padding: .9rem 1rem; gap: .8rem; }
  .ag-stop-sub { display: none; }
}

/* ---------- Print --------------------------------------------------------- */

@media print {
  .nav-bar, .hero-scroll, .foot-social, .ag-player, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
