/* ==================================================================
   VideoVoyage.ca — 2026 refresh
   Design system + components
   ================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-latin.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-latin-ext.woff2') format('woff2');
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a2e33;
  --ink-soft: #1f4a50;
  --muted: #5c7679;
  --muted-2: #8aa0a2;

  --paper: #fffcf5;
  --paper-2: #fff6e8;
  --card: #ffffff;
  --line: #efe4d2;
  --line-soft: #f6eee1;

  --night: #073b40;
  --night-2: #0a545a;
  --night-3: #0e6e73;

  --sea: #0e8f8a;
  --sea-deep: #0a6e6a;
  --turq: #19c6bd;
  --coral: #ff6b4a;
  --coral-deep: #ef5530;
  --gold: #ffc24b;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 6px rgba(7, 59, 64, .05), 0 8px 24px -12px rgba(7, 59, 64, .18);
  --shadow: 0 18px 50px -24px rgba(7, 59, 64, .32);
  --shadow-lg: 0 40px 90px -40px rgba(7, 59, 64, .5);

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

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Sora', var(--font-body);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--turq); color: #053034; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 8px;
}
.section--night :where(a, button):focus-visible,
.hero :where(a, button, input):focus-visible,
.site-footer :where(a, button, input):focus-visible { outline-color: var(--turq); }

.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;
}

/* ---------- Layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper-2); }
.section--night {
  background: linear-gradient(150deg, #085a5f 0%, #0b7d7a 48%, #12a29c 100%);
  color: #eafaf8;
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem); }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 58ch; }
.section--night .section-head p { color: #a8c9c6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--night .eyebrow { color: #ffd77a; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 12px 30px -14px rgba(239, 85, 48, .85); }
.btn--primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .86rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem; color: var(--sea);
}
.link-arrow .ico { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  --h-text: #ffffff;
  --h-dim: rgba(255, 255, 255, .86);
  --h-surface: rgba(255, 255, 255, .1);
  --h-border: rgba(255, 255, 255, .2);
  --h-input: #ffffff;
  --h-langs: rgba(255, 255, 255, .12);
  --h-accent: #ffd77a;
  color: var(--h-text);
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  --h-text: var(--ink);
  --h-dim: var(--ink-soft);
  --h-surface: #ffffff;
  --h-border: var(--line);
  --h-input: var(--ink);
  --h-langs: var(--paper-2);
  --h-accent: var(--sea);
  background: rgba(255, 252, 245, .9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(7, 59, 64, .45);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(140deg, var(--sea) 0%, var(--turq) 100%);
  color: #fff; box-shadow: 0 8px 18px -8px rgba(25, 198, 189, .8);
}
.brand-mark .ico { width: 17px; height: 17px; fill: currentColor; stroke: none; margin-left: 2px; }
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.22rem;
  letter-spacing: -.035em; color: var(--h-text, var(--ink));
  transition: color .3s;
}
.brand-tld { color: var(--h-accent, var(--sea)); }
.brand--light .brand-word { color: #fff; }
.brand--light .brand-tld { color: var(--turq); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--h-dim);
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link.is-active { background: var(--h-surface); color: var(--h-text); }
.nav-caret { width: 13px; height: 13px; opacity: .6; transition: transform .25s; }
.nav-item.has-menu:hover .nav-caret, .nav-item.has-menu:focus-within .nav-caret { transform: rotate(90deg); }
.nav-item { position: relative; }

.mega {
  position: absolute; top: calc(100% + 12px); left: -24px;
  width: min(760px, 84vw); padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item.has-menu:hover .mega,
.nav-item.has-menu:focus-within .mega,
.nav-item.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; }
.menu-col-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--ink);
}
.menu-col-head .dot { width: 7px; height: 7px; border-radius: 50%; }
.menu-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 8px; margin: 0 -8px; border-radius: 8px;
  font-size: .85rem; color: var(--muted);
  transition: background .18s, color .18s;
}
.menu-link:hover { background: var(--paper-2); color: var(--ink); }
.menu-link em { font-style: normal; font-size: .72rem; color: var(--muted-2); }

.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.search-pill {
  display: flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 16px; min-width: 240px;
  background: var(--h-surface); border: 1px solid var(--h-border); border-radius: 999px;
  transition: border-color .2s, box-shadow .2s, background .3s;
}
.search-pill:focus-within { border-color: var(--sea); box-shadow: 0 0 0 4px rgba(14, 143, 138, .16); }
.search-pill .ico { width: 17px; height: 17px; color: var(--h-dim); flex-shrink: 0; opacity: .8; }
.search-pill input { border: 0; outline: 0; background: none; width: 100%; font-size: .86rem; color: var(--h-input); }
.search-pill input::placeholder { color: var(--h-dim); opacity: .65; }

.langs { display: flex; gap: 2px; padding: 3px; background: var(--h-langs); border-radius: 999px; transition: background .3s; }
.lang {
  padding: 5px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600;
  color: var(--h-dim); letter-spacing: .02em; transition: background .2s, color .2s;
}
.lang:hover { color: var(--h-text); }
.lang.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(7, 59, 64, .12); }
.nav-langs { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--h-border); background: var(--h-surface); color: var(--h-text);
  align-items: center; justify-content: center;
}
.nav-toggle .ico { width: 20px; height: 20px; }
.nav-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(158deg, #0a7f7d 0%, #119c98 36%, #1cc6bd 70%, #3ad9c9 100%);
  color: #fff;
  margin-top: -78px; padding-top: 78px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(60px) saturate(150%);
  opacity: .38; transform: scale(1.2);
  mix-blend-mode: soft-light;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(58% 78% at 84% -6%, rgba(255, 214, 130, .85), transparent 60%),
    radial-gradient(46% 58% at 2% 104%, rgba(255, 107, 74, .5), transparent 62%),
    linear-gradient(90deg, rgba(5, 62, 66, .62) 0%, rgba(5, 62, 66, .34) 55%, rgba(5, 62, 66, .04) 100%),
    linear-gradient(180deg, rgba(6, 74, 78, .1) 0%, rgba(6, 74, 78, .05) 45%, rgba(6, 74, 78, .45) 100%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 130px; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--paper));
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: 84px 0 104px;
}
.hero-copy { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #e8fbf7;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #ffd77a; box-shadow: 0 0 0 4px rgba(255, 215, 122, .25); }
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.05rem, 1.1rem + 2.55vw, 3.35rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -.038em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #ffd77a; }
.hero-sub { font-size: clamp(.98rem, .9rem + .4vw, 1.15rem); color: #d9ecea; max-width: 52ch; line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-search {
  margin-top: 34px; padding: 10px; max-width: 620px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px; backdrop-filter: blur(18px);
}
.hero-search form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.hero-search .field {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px; border-radius: 13px; background: #fff;
}
.hero-search .field .ico { width: 19px; height: 19px; color: var(--muted-2); }
.hero-search input {
  border: 0; outline: 0; background: none; width: 100%;
  font-size: .96rem; color: var(--ink);
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search .btn { height: 52px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.stat {
  display: flex; align-items: baseline; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem; color: #eafaf8;
}
.stat b { font-family: var(--font-display); font-size: .98rem; color: #fff; letter-spacing: -.02em; }

/* Collage */
.hero-visual { position: relative; height: clamp(420px, 42vw, 560px); }
.hv {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 80px -46px rgba(0, 0, 0, .9);
  background: var(--night-2);
  animation: hvIn .9s var(--ease) both;
}
.hv img { width: 100%; height: 100%; object-fit: cover; }
.hv-1 { top: 0; right: 0; width: 70%; height: 62%; animation-delay: .05s; }
.hv-2 { bottom: 0; right: 4%; width: 46%; height: 40%; animation-delay: .22s; }
.hv-3 { top: 20%; left: 0; width: 40%; height: 50%; animation-delay: .14s; }
.hv-chip {
  position: absolute; left: 2%; bottom: 6%; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(6, 74, 78, .58); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px); font-size: .76rem; color: #eaf7f5;
  animation: hvIn .9s var(--ease) both .32s;
}
.hv-chip .ico { width: 15px; height: 15px; color: var(--turq); }
@keyframes hvIn {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- Country cards ---------- */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.country-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: var(--radius-xl);
  background: var(--night-2); color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.country-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.country-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 74, 78, 0) 30%, rgba(6, 74, 78, .55) 62%, rgba(6, 74, 78, .94) 100%);
}
.country-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.country-card:hover img { transform: scale(1.06); }
.country-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 24px 22px; }
.country-flag { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.country-body h3 { font-size: 1.32rem; letter-spacing: -.025em; }
.country-body p { margin: 6px 0 0; font-size: .8rem; color: #b8cbd9; line-height: 1.45; }
.country-meta {
  display: flex; align-items: center; justify-content: space-between; margin-top: 14px;
  font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: #8fa9bb;
}
.country-meta .go {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2);
  transition: background .25s, transform .25s;
}
.country-meta .go .ico { width: 15px; height: 15px; }
.country-card:hover .country-meta .go { background: var(--turq); color: #053034; transform: rotate(-45deg); }

/* ---------- Hotel cards ---------- */
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hotel-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hotel-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.hotel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.hotel-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.hotel-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hotel-card:hover .hotel-card-media img { transform: scale(1.05); }
.hotel-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 74, 78, .18), transparent 40%, rgba(6, 74, 78, .35));
}
.hotel-card-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(6, 74, 78, .55); color: #fff;
  backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .68rem; font-weight: 600; letter-spacing: .03em;
}
.badge .ico { width: 12px; height: 12px; }
.hotel-card-count {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .7rem; font-weight: 600;
}
.hotel-card-count .ico { width: 13px; height: 13px; }
.hotel-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.hotel-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hotel-card h3 { font-size: 1.06rem; letter-spacing: -.02em; line-height: 1.28; }
.hotel-card h3 a:hover { color: var(--sea); }
.hotel-card-place { display: flex; align-items: center; gap: 5px; margin: 8px 0 10px; font-size: .78rem; color: var(--muted); }
.hotel-card-place .ico { width: 13px; height: 13px; color: var(--muted-2); }
.hotel-card-desc { font-size: .84rem; color: var(--muted); line-height: 1.55; margin: 0 0 16px; }
.hotel-card .link-arrow { margin-top: auto; }

/* stars */
.stars { display: inline-flex; gap: 1.5px; color: var(--gold); flex-shrink: 0; }
.star { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .45; }
.star.is-full { fill: currentColor; stroke: none; opacity: 1; }
.star.is-half { fill: url(#star-half); stroke: currentColor; stroke-width: 1.2; opacity: 1; }

/* ---------- Carousel ---------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none; -ms-overflow-style: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.rail-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn .ico { width: 18px; height: 18px; }
.rail-btn.prev .ico { transform: rotate(180deg); }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 32px 30px 34px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(140deg, rgba(255, 107, 74, .14), rgba(255, 194, 75, .22));
  color: var(--coral-deep); margin-bottom: 22px;
}
.feature-icon .ico { width: 24px; height: 24px; }
.feature h3 { font-size: 1.16rem; margin-bottom: 10px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: #ffd77a; letter-spacing: -.03em;
}
.step p { margin: 0; font-size: .98rem; color: #e6f5f2; }

/* ---------- Agency banner ---------- */
.agency {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(115deg, var(--night-2) 0%, var(--sea-deep) 62%, var(--turq) 130%);
  color: #fff; padding: 60px 56px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.agency::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 68%);
}
.agency h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); margin-bottom: 12px; }
.agency p { color: #d8efec; max-width: 56ch; margin: 0; }
.agency-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Resources ---------- */
.resources { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.resource {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 18px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line-soft); font-size: .84rem; font-weight: 500;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.resource:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; }
.resource .ico { width: 20px; height: 20px; color: var(--sea); }
.resource .ico:last-child { width: 14px; height: 14px; color: var(--muted-2); margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #073b40 0%, #052f33 100%); color: #d3e8e5; padding: 78px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-brand p { margin: 20px 0 22px; font-size: .88rem; color: #9dbfbc; max-width: 40ch; line-height: 1.7; }
.footer-col h4 {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: #85a8a6; margin-bottom: 18px; font-weight: 600; font-family: var(--font-body);
}
.footer-col a { display: block; padding: 5px 0; font-size: .88rem; color: #d3e8e5; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-news p { font-size: .84rem; color: #9dbfbc; margin: 0 0 16px; }
.news-form {
  display: flex; align-items: center; gap: 6px; padding: 5px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
}
.news-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none;
  padding: 0 14px; height: 40px; color: #fff; font-size: .86rem;
}
.news-form input::placeholder { color: #85a8a6; }
.news-form button {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--turq); color: #053034; flex-shrink: 0;
  transition: transform .2s;
}
.news-form button:hover { transform: translateX(2px); }
.news-form .ico { width: 17px; height: 17px; }
.socials { display: flex; gap: 8px; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  color: #d3e8e5; transition: background .2s, color .2s, transform .2s;
}
.socials a:hover { background: var(--turq); color: #053034; transform: translateY(-2px); }
.socials .ico { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .78rem; color: #85a8a6;
}
.footer-langs { display: flex; gap: 6px; }
.footer-langs a { padding: 3px 8px; border-radius: 6px; }
.footer-langs a.is-active { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #0a6e6a 0%, #0e8f8a 55%, #17b3ac 100%);
  margin-top: -78px; padding-top: 78px;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 74, 78, .72), rgba(6, 74, 78, .55) 45%, rgba(6, 74, 78, .96));
}
.page-hero-inner { position: relative; z-index: 1; padding: 46px 0 64px; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); letter-spacing: -.035em; max-width: 20ch; }
.page-hero .lead { margin-top: 16px; max-width: 62ch; color: #d9ecea; }
.page-hero--plain { padding-bottom: 0; }
.page-hero--plain .page-hero-inner { padding-bottom: 52px; }

.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: .78rem; color: #9db4c5; margin-bottom: 22px; }
.crumbs a { color: #d9ecea; }
.crumbs a:hover { color: #fff; }
.crumb-sep .ico { width: 12px; height: 12px; opacity: .55; }
.crumbs span:last-child { color: #fff; }

/* ---------- Filter bar ---------- */
.filter-bar {
  position: sticky; top: 78px; z-index: 40;
  background: rgba(251, 250, 247, .92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.filter-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--sea); color: var(--sea-deep); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .ico { width: 14px; height: 14px; }
select.chip {
  appearance: none; -webkit-appearance: none;
  padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7183' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 13px;
  line-height: 1.2;
}
.filter-count { margin-left: auto; font-size: .8rem; color: var(--muted); }
.filter-group { display: flex; align-items: center; gap: 8px; padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--line); }
.filter-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Hotel detail ---------- */
.hotel-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #0a6e6a 0%, #0e8f8a 55%, #17b3ac 100%);
  margin-top: -78px; padding-top: 78px;
}
.hotel-hero-media { position: absolute; inset: 0; }
.hotel-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hotel-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 74, 78, .78) 0%, rgba(6, 74, 78, .45) 45%, rgba(6, 74, 78, .97) 100%);
}
.hotel-hero-inner { position: relative; z-index: 1; padding: 40px 0 46px; }
.hotel-hero h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); letter-spacing: -.035em; margin: 8px 0 12px; }
.hotel-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: #d9ecea; font-size: .92rem; }
.hotel-hero-meta .place { display: inline-flex; align-items: center; gap: 6px; }
.hotel-hero-meta .ico { width: 16px; height: 16px; opacity: .75; }
.hotel-hero-meta .stars { color: var(--gold); }
.hotel-hero-meta .star { width: 16px; height: 16px; }
.hotel-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .78rem; color: #eaf7f5; backdrop-filter: blur(8px);
}
.hero-chip .ico { width: 14px; height: 14px; }

.tabs {
  position: sticky; top: 78px; z-index: 45;
  background: rgba(251, 250, 247, .94); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.tabs-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 16px 18px 14px; border-bottom: 2px solid transparent;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.tab .ico { width: 16px; height: 16px; opacity: .7; }
.tab .count { font-size: .72rem; color: var(--muted-2); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.prose { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.35rem; margin: 38px 0 14px; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.15em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .4em 0; color: var(--muted); }
.prose a { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.detail-aside { position: sticky; top: 150px; display: grid; gap: 16px; }

.panel { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.panel h3 .ico { width: 18px; height: 18px; color: var(--sea); }

.facts { display: grid; gap: 0; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: .86rem; }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--muted); }
.fact dd { margin: 0; font-weight: 500; text-align: right; color: var(--ink); }
.fact dd a { color: var(--sea); }

.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amenity {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  border-radius: var(--radius-sm); background: var(--paper-2); font-size: .84rem;
}
.amenity .ico { width: 17px; height: 17px; color: var(--sea-deep); flex-shrink: 0; }

.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.tl-item:last-child { border-bottom: 0; }
.tl-year { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--sea); }
.tl-item p { margin: 0; font-size: .88rem; color: var(--muted); }

.weather-card { display: flex; align-items: center; gap: 16px; }
.weather-temp { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.weather-card img { width: 46px; height: 46px; }
.weather-meta { font-size: .78rem; color: var(--muted); }

/* ---------- Media grid ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-grid--4 { grid-template-columns: repeat(4, 1fr); }
.media-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 2; background: var(--paper-2);
}
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media-tile::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 74, 78, .55));
  opacity: 0; transition: opacity .3s;
}
.media-tile:hover img { transform: scale(1.05); }
.media-tile:hover::after { opacity: 1; }
.media-tile .play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.media-tile .play span {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .25s;
}
.media-tile:hover .play span { transform: scale(1.08); }
.media-tile .play .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.media-caption {
  position: absolute; inset: auto 0 0; z-index: 2; padding: 12px 14px;
  font-size: .74rem; color: #fff; opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.media-tile:hover .media-caption { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4, 12, 20, .96); backdrop-filter: blur(6px);
  color: #fff;
}
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.lb-title { font-size: .86rem; color: #d9ecea; }
.lb-close, .lb-nav {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .2); }
.lb-close .ico, .lb-nav .ico { width: 20px; height: 20px; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 76px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 18px; }
.lb-nav.next { right: 18px; }
.lb-nav.prev .ico { transform: rotate(180deg); }
.lb-bottom { padding: 14px 24px 22px; text-align: center; font-size: .8rem; color: #a8c9c6; }
.lb-caption { margin-top: 6px; font-size: .86rem; color: #eaf7f5; max-width: 70ch; margin-inline: auto; }

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 210; display: none;
  place-items: center; padding: 24px;
  background: rgba(4, 12, 20, .96); backdrop-filter: blur(8px);
}
.video-modal.is-open { display: grid; }
.video-frame { width: min(1040px, 94vw); }
.video-frame video {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 14px;
  background: #000; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
.video-title { text-align: center; color: #d9ecea; font-size: .86rem; margin: 14px 0 0; }
.video-close { position: absolute; top: 22px; right: 24px; }

/* ---------- Panorama viewer ---------- */
.pano {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--night-2) center/cover no-repeat;
  aspect-ratio: 21 / 9; cursor: grab; touch-action: pan-y;
  box-shadow: var(--shadow);
}
.pano.is-dragging { cursor: grabbing; }
.pano-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(6, 74, 78, .6); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-size: .76rem; backdrop-filter: blur(8px);
  pointer-events: none; transition: opacity .4s;
}
.pano-hint .ico { width: 15px; height: 15px; }
.pano-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.pano-thumb {
  flex: 0 0 140px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; opacity: .65; transition: opacity .2s, border-color .2s;
}
.pano-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pano-thumb:hover { opacity: 1; }
.pano-thumb.is-active { border-color: var(--turq); opacity: 1; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(.9); }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) 340px; gap: 40px; align-items: start; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; font-size: .8rem; font-weight: 500; color: var(--muted); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: .95rem; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--sea); box-shadow: 0 0 0 4px rgba(14, 143, 138, .14);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.contact-aside { display: grid; gap: 16px; }
.notice {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border-radius: 12px; font-size: .88rem;
}
.notice .ico { width: 18px; height: 18px; flex-shrink: 0; }
.notice--ok { background: rgba(25, 198, 189, .14); color: #0a6f66; }
.notice--err { background: rgba(239, 106, 69, .12); color: #a53b1e; }

/* ---------- Consentement ---------- */
.consent {
  position: fixed; left: 24px; bottom: 24px; z-index: 250;
  width: min(430px, calc(100vw - 48px));
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 22px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.55; }
.consent a { color: var(--sea); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent-deny { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }

/* ---------- Emplacements pub ---------- */
.ad-slot {
  margin: 34px 0; padding: 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-soft); text-align: center;
}
.ad-label {
  display: block; margin-bottom: 8px;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
}
.ad-slot ins { display: block; min-height: 90px; }
.detail-aside .ad-slot { margin: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 300;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .86rem;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s;
}
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.toast .ico { width: 17px; height: 17px; color: var(--turq); }

/* ---------- Pagination ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 38px; }
.pager-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.pager-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager-btn .ico { width: 15px; height: 15px; }
.pager-info { font-size: .84rem; color: var(--muted); }

/* ---------- Empty state ---------- */
.empty {
  padding: 64px 24px; text-align: center; border-radius: var(--radius-lg);
  background: #fff; border: 1px dashed var(--line); color: var(--muted);
}
.empty h3 { color: var(--ink); margin-bottom: 8px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .07s; }
[data-reveal-delay="2"] { transition-delay: .14s; }
[data-reveal-delay="3"] { transition-delay: .21s; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .search-pill { min-width: 200px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .hotel-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .resources { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .hotel-grid, .hotel-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .agency { grid-template-columns: 1fr; padding: 44px 34px; }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; padding: 58px 0 78px; }
  .hero-copy { max-width: none; }
  .hero-visual { height: 250px; }
  .hero-visual .hv-2, .hero-visual .hv-3 { display: none; }
  .hero-visual .hv-1 { position: relative; width: 100%; height: 100%; border-radius: 20px; }
  .hv-chip { left: 14px; bottom: 14px; }
  .media-grid, .media-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .search-pill { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  .hotel-grid, .hotel-grid--4 { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr; }
  .country-card { aspect-ratio: 16 / 10; }
  .hero-search form { grid-template-columns: 1fr; }
  .hero-search .btn { width: 100%; }
  .resources { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .amenities { grid-template-columns: 1fr; }
  .media-grid, .media-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .lb-stage { padding: 0 12px; }
  .lb-nav { display: none; }
  .tl-item { grid-template-columns: 58px 1fr; gap: 12px; }
  .header-inner { height: 64px; }
  .tabs { top: 64px; }
  .filter-bar { top: 64px; }
  .brand-word { font-size: 1.1rem; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .hero { margin-top: -64px; padding-top: 64px; }
  .page-hero, .hotel-hero { margin-top: -64px; padding-top: 64px; }
}

/* ---------- Mobile nav drawer ---------- */
@media (max-width: 1120px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; z-index: 120;
    width: min(380px, 88vw); height: 100dvh; overflow-y: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 76px 22px 30px; background: #fff;
    box-shadow: -20px 0 60px -30px rgba(6, 74, 78, .5);
    transform: translateX(100%); transition: transform .38s var(--ease);
  }
  .main-nav.is-open { transform: none; }
  .main-nav .nav-link { color: var(--ink-soft); }
  .main-nav .nav-link:hover, .main-nav .nav-link.is-active { background: var(--paper-2); color: var(--sea-deep); }
  .nav-close {
    position: absolute; top: 18px; right: 18px;
    display: grid; place-items: center; width: 42px; height: 42px;
    border-radius: 12px; background: var(--paper-2); color: var(--ink);
  }
  .nav-close .ico { width: 18px; height: 18px; }
  .nav-link { padding: 14px 12px; font-size: 1rem; border-radius: 12px; }
  .mega {
    position: static; width: auto; padding: 8px 0 12px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
    background: var(--paper-2); border-radius: 14px; margin: 4px 0 8px;
  }
  .nav-item.has-menu.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 8px; }
  .nav-langs { display: flex; gap: 6px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .nav-langs .lang { border: 1px solid var(--line); padding: 8px 16px; color: var(--ink-soft); }
  .nav-langs .lang.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .langs { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 110; background: rgba(6, 74, 78, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (min-width: 1121px) {
  .nav-backdrop { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero-actions, .filter-bar, .tabs, .detail-aside { display: none !important; }
  body { background: #fff; }
}
