/* ==========================================================================
   APIX Travel and Tourism
   Stylesheet v2 — white base · full-bleed imagery · Fraunces + Archivo
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  --red:        #CF1516;
  --red-deep:   #A20F13;
  --red-soft:   #FDECEC;

  --jade:       #0F3D36;
  --jade-deep:  #08221E;
  --jade-soft:  #1E6558;

  --gold:       #B08428;
  --gold-lite:  #DCC086;

  --white:      #FFFFFF;
  --paper:      #F6F5F2;
  --paper-2:    #EFEDE8;

  --ink:        #191C1B;
  --ink-soft:   #5B6461;
  --ink-faint:  #8E9895;
  --line:       #E4E3DE;
  --line-2:     #D6D5CF;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:    'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --shell: 1320px;
  --gut: clamp(20px, 4.6vw, 60px);
  --r: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 82px;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 0;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  text-wrap: balance;
}
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

/* --- 3. Utilities ------------------------------------------------------- */
.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--gut); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: 12px 18px; font-size: 13px;
}
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; flex: none; }
.eyebrow.on-dark { color: var(--gold-lite); }
.eyebrow--tag {
  text-transform: none; letter-spacing: .04em; font-size: 14px; font-weight: 500;
  font-family: var(--display); font-style: italic;
}

.lede { font-size: clamp(17px, 1.4vw, 19.5px); color: var(--ink-soft); max-width: 60ch; line-height: 1.7; }

.h-xl { font-size: clamp(42px, 6.6vw, 88px); letter-spacing: -.028em; line-height: 1.02; }
.h-lg { font-size: clamp(31px, 4.2vw, 54px); letter-spacing: -.022em; }
.h-md { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.018em; }
.h-sm { font-size: clamp(19px, 1.5vw, 22px); }
.accent { color: var(--red); }
.italic { font-style: italic; font-weight: 400; }

/* Image slot: dark branded panel behind every photo, so a failed image
   degrades to a deliberate surface instead of a broken icon.
   Declared here (before components) so component `position` rules win. */
.ph { position: relative; }
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 9px),
    radial-gradient(130% 100% at 70% 8%, var(--jade-soft) 0%, var(--jade-deep) 68%);
}
.ph > img { position: relative; z-index: 1; }
.ph.img-missing > img { display: none; }

/* --- 4. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: .015em; padding: 15px 28px; border: 1px solid transparent;
  border-radius: 999px; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease);
}
.btn svg { transition: transform .3s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--dark { background: var(--jade); color: #fff; }
.btn--dark:hover { background: var(--jade-deep); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--glass {
  border-color: rgba(255,255,255,.55); color: #fff;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--paper); }
.btn--wide { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 13px; }

/* --- 5. Top bar --------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 70; }

.topbar {
  background: transparent; color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.13);
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .3s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease);
  max-height: 60px;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
}
/* Retract the utility bar once the header goes solid */
.site-head.is-solid .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar__in {
  max-width: var(--shell); margin: 0 auto; padding: 9px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topbar__l, .topbar__r { display: flex; align-items: center; gap: 24px; }
.topbar a:hover { color: #fff; }
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  display: inline-block; margin-right: 8px; animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(207,21,22,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(207,21,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(207,21,22,0); }
}
.clock { color: #fff; font-variant-numeric: tabular-nums; }

/* --- 6. Navigation ------------------------------------------------------ */
.nav {
  background: transparent; border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
.nav__in {
  max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut);
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; position: relative; }
.brand__logo { position: relative; height: 44px; width: 38px; flex: none; }
.brand__logo img { position: absolute; inset: 0; height: 44px; width: auto; transition: opacity .3s var(--ease); }
.brand__logo img.on-light { opacity: 0; }
.brand__txt { line-height: 1; }
.brand__name {
  font-family: var(--sans); font-weight: 800; font-size: 20px;
  letter-spacing: .005em; display: block; color: #fff; transition: color .35s var(--ease);
}
.brand__sub {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,.66); display: block; margin-top: 5px; transition: color .35s var(--ease);
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.86);
  position: relative; padding: 8px 0; transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1.5px;
  background: var(--red); transition: width .3s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }

/* Solid state */
.site-head.is-solid .nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px -26px rgba(25,28,27,.5);
}
.site-head.is-solid .brand__logo img.on-dark { opacity: 0; }
.site-head.is-solid .brand__logo img.on-light { opacity: 1; }
.site-head.is-solid .brand__name { color: var(--ink); }
.site-head.is-solid .brand__sub { color: var(--ink-faint); }
.site-head.is-solid .nav__links a { color: var(--ink-soft); }
.site-head.is-solid .nav__links a:hover, .site-head.is-solid .nav__links a[aria-current="page"] { color: var(--ink); }
.site-head.is-solid .btn--glass { border-color: var(--line-2); color: var(--ink); background: transparent; }
.site-head.is-solid .btn--glass:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.burger {
  display: none; background: none; border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; width: 46px; height: 46px; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease);
}
.burger span { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff;
  transition: transform .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.site-head.is-solid .burger { border-color: var(--line-2); }
.site-head.is-solid .burger span, .site-head.is-solid .burger span::before, .site-head.is-solid .burger span::after { background: var(--ink); }
.burger[aria-expanded="true"] span { background: transparent !important; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile {
  display: none; position: fixed; inset: 0; z-index: 65;
  background: var(--jade-deep); padding: calc(var(--nav-h) + 46px) var(--gut) 48px; overflow-y: auto;
}
.mobile.is-open { display: block; }
.mobile a.mlink {
  display: block; font-family: var(--display); font-weight: 500; font-size: 32px;
  color: #fff; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile a.mlink:hover { color: var(--gold-lite); }
.mobile__meta { margin-top: 32px; font-size: 13.5px; letter-spacing: .04em; color: rgba(255,255,255,.6); line-height: 2.1; }
.mobile .btn { margin-top: 26px; }

/* --- 7. Full-screen hero ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  margin-top: calc(-1 * var(--head-h, 118px));
  padding-top: var(--head-h, 118px);
  overflow: hidden; isolation: isolate;
  background: var(--jade-deep);
}
@supports not (height: 100svh) { .hero { min-height: 100vh; height: 100vh; } }
/* One of five photographs, chosen per page load by the inline script in <head>.
   Set as a CSS background so only the selected image is ever downloaded. */
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--jade-deep);
  background-size: cover; background-position: center;
  transform: scale(1.05); animation: slowzoom 26s var(--ease) forwards;
}
.hero-1 .hero__bg { background-image: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&q=80&w=2000"); }
.hero-2 .hero__bg { background-image: url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34?auto=format&fit=crop&q=80&w=2000"); }
.hero-3 .hero__bg { background-image: url("https://images.unsplash.com/photo-1525625293386-3f8f99389edd?auto=format&fit=crop&q=80&w=2000"); }
.hero-4 .hero__bg { background-image: url("https://images.unsplash.com/photo-1514282401047-d79a71a590e8?auto=format&fit=crop&q=80&w=2000"); }
.hero-5 .hero__bg { background-image: url("https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?auto=format&fit=crop&q=80&w=2000"); }
@keyframes slowzoom { to { transform: scale(1.15); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,34,30,.72) 0%, rgba(8,34,30,.18) 32%, rgba(8,34,30,.5) 68%, rgba(8,34,30,.88) 100%),
    linear-gradient(90deg, rgba(8,34,30,.68) 0%, rgba(8,34,30,.12) 62%);
}
.hero__in {
  max-width: var(--shell); width: 100%; margin: 0 auto;
  padding: clamp(24px,3vw,48px) var(--gut) clamp(150px,18vh,190px);
  color: #fff;
}
.hero .eyebrow { color: var(--gold-lite); }
.eyebrow { flex-wrap: nowrap; }
.eyebrow > span, .eyebrow { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: 22px; max-width: 15ch;
  font-size: clamp(38px, 5.2vw, 74px); text-shadow: 0 2px 40px rgba(0,0,0,.3); }
.hero p.lede { color: rgba(255,255,255,.87); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

/* Floating destination cards */
.hcard {
  position: relative; width: 216px; height: 282px; border-radius: 12px;
  overflow: hidden; flex: none; isolation: isolate; scroll-snap-align: start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.hcard:hover { transform: translateY(-8px); }
.hcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hcard::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 38%, rgba(8,34,30,.88) 100%);
}
.hcard__b { position: absolute; left: 16px; right: 16px; bottom: 15px; z-index: 3; }
.hcard__b b { display: block; font-family: var(--display); font-weight: 500; font-size: 20px; color: #fff; }
.hcard__b span { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.66); margin-top: 4px; }

/* Credentials row, inline under the hero calls to action */
.hcreds {
  display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 38px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2);
  max-width: 640px;
}
.hcred { display: flex; align-items: center; gap: 12px; color: #fff; }
.hcred svg { width: 20px; height: 20px; color: var(--gold-lite); flex: none; }
.hcred b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; }
.hcred span { display: block; font-size: 11.5px; color: rgba(255,255,255,.62); margin-top: 1px; }

/* Destination card rail — straddles the bottom edge of the hero image */
.ocards {
  position: relative; z-index: 6;
  margin-top: -124px;
  padding-bottom: clamp(44px, 5.5vw, 76px);
}
.ocards__hd {
  max-width: var(--shell); margin: 0 auto 18px; padding: 0 var(--gut);
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
}
.ocards__lbl {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.72); margin: 0;
}
.ocards__hint { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; }
.ocards__row {
  max-width: var(--shell); margin: 0 auto; padding: 4px var(--gut) 8px;
  display: flex; gap: 16px;
  overflow-x: auto; overflow-y: hidden;
  touch-action: pan-x;                 /* swipe moves the rail, never the page */
  overscroll-behavior-x: contain;      /* and never chains to browser back */
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.ocards__row::-webkit-scrollbar { display: none; }

/* --- 8. Interior page hero ---------------------------------------------- */
.phero {
  position: relative; display: flex; align-items: flex-end;
  height: clamp(390px, 55svh, 580px);
  margin-top: calc(-1 * var(--head-h, 118px)); padding-top: var(--head-h, 118px);
  overflow: hidden; isolation: isolate; background: var(--jade-deep);
}
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,34,30,.76) 0%, rgba(8,34,30,.3) 40%, rgba(8,34,30,.86) 100%),
    linear-gradient(90deg, rgba(8,34,30,.6) 0%, rgba(8,34,30,.1) 70%);
}
.phero__in {
  position: relative; max-width: var(--shell); width: 100%; margin: 0 auto;
  padding: 20px var(--gut) clamp(34px,4vw,54px); color: #fff;
}
.phero h1 { color: #fff; max-width: 22ch; font-size: clamp(30px, 3.9vw, 50px); }
.phero .lede { color: rgba(255,255,255,.82); margin-top: 14px; max-width: 62ch; font-size: 16px; }
.crumb { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.crumb span { color: var(--gold-lite); }

/* --- 9. Sections -------------------------------------------------------- */
.sect { padding-block: clamp(62px, 7.5vw, 116px); }
.sect--paper { background: var(--paper); }
.sect--jade { background: var(--jade); color: rgba(255,255,255,.78); }
.sect--jade h2, .sect--jade h3 { color: #fff; }
.sect--tight { padding-block: clamp(44px, 5vw, 72px); }
.sect--flush { padding-top: 0; }
.sect__head {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.82fr);
  gap: clamp(22px,4vw,72px); align-items: end; margin-bottom: clamp(36px,4.2vw,60px);
}
.sect__head p { color: var(--ink-soft); }
.sect--jade .sect__head p { color: rgba(255,255,255,.7); }
.sect__head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sect__head--center .eyebrow { justify-content: center; }
.sect__head--center p { max-width: 60ch; }

/* --- 10. Destination bento ---------------------------------------------- */
.bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 208px; gap: 14px;
}
.dest {
  position: relative; overflow: hidden; border-radius: 8px; isolation: isolate;
  background: var(--jade-deep); display: block;
}
.dest img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: transform .9s var(--ease);
}
.dest::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(8,34,30,0) 40%, rgba(8,34,30,.86) 100%);
  transition: background .4s var(--ease);
}
.dest:hover img { transform: scale(1.07); }
.dest__b { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; z-index: 3; }
.dest__b b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(19px,1.7vw,25px); }
.dest__b span { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.68); margin-top: 5px; }
.dest--tall { grid-row: span 2; }
.dest--wide { grid-column: span 2; }

/* --- 11. Package cards -------------------------------------------------- */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pkg:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 24px 48px -34px rgba(25,28,27,.6); }
.pkg__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--jade-deep); }
.pkg__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pkg:hover .pkg__img img { transform: scale(1.06); }
.pkg__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.pkg__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pkg__loc { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.pkg h3 { font-size: 23px; margin-bottom: 12px; }
.pkg p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.pkg__inc { list-style: none; margin: 18px 0 0; padding: 0; }
.pkg__inc li {
  font-size: 13.5px; color: var(--ink-soft); padding: 8px 0 8px 22px;
  position: relative; border-top: 1px solid var(--line);
}
.pkg__inc li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--red);
}
.pkg__foot {
  margin-top: auto; padding-top: 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
}
.pkg__foot small { font-size: 11.5px; color: var(--ink-faint); letter-spacing: .04em; }
.pkg__foot a { font-size: 13.5px; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 7px; }
.pkg__foot a svg { transition: transform .3s var(--ease); }
.pkg__foot a:hover svg { transform: translateX(4px); }
.disclaim {
  margin-top: 30px; padding: 18px 22px; border-left: 3px solid var(--red);
  background: var(--red-soft); font-size: 14.5px; color: var(--ink-soft); border-radius: 0 var(--r) var(--r) 0;
}

/* --- 12. Services grid (kept — client liked this) ----------------------- */
.svcs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.svc {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 36px 32px 40px; position: relative;
  transition: background .35s var(--ease); display: flex; flex-direction: column;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc:hover { background: var(--paper); }
.svc:hover::before { transform: scaleX(1); }
.svc__ico { width: 40px; height: 40px; margin-bottom: 24px; color: var(--red); }
.svc__ico svg { width: 100%; height: 100%; }
.svc h3 { font-size: 21px; margin-bottom: 12px; }
.svc p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.svc__more {
  margin-top: auto; padding-top: 22px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; gap: 8px;
}
.svc:hover .svc__more { color: var(--red); }
.svc--cta { background: var(--red); border-color: var(--red); color: #fff; grid-column: span 2; }
.svc--cta:hover { background: var(--red-deep); }
.svc--cta::before { display: none; }
.svc--cta h3 { color: #fff; font-size: 27px; max-width: 16ch; }
.svc--cta p { color: rgba(255,255,255,.88); max-width: 44ch; }
.svc--cta .svc__more { color: rgba(255,255,255,.92); margin-top: 24px; padding-top: 0; }

/* --- 13. Service detail rows -------------------------------------------- */
.srow {
  display: grid; grid-template-columns: 78px minmax(0,1fr) minmax(0,.78fr);
  gap: clamp(18px,3vw,48px); align-items: start;
  padding-block: clamp(34px,4vw,54px); border-top: 1px solid var(--line);
}
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow__ico { color: var(--red); width: 48px; height: 48px; }
.srow__ico svg { width: 100%; height: 100%; }
.srow h3 { margin-bottom: 14px; }
.srow p { color: var(--ink-soft); }
.srow__list { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-soft); }
.srow__list li { padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); position: relative; }
.srow__list li:last-child { border-bottom: 0; }
.srow__list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--red); }

/* --- 14. Split editorial ------------------------------------------------ */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5vw,76px); align-items: center; }
.split--rev .split__media { order: -1; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage figure { margin: 0; overflow: hidden; border-radius: 8px; background: var(--jade-deep); }
.collage figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.collage figure:not(:first-child) { aspect-ratio: 4/3; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collage figure:hover img { transform: scale(1.05); }
.media-1 { overflow: hidden; border-radius: 8px; background: var(--jade-deep); aspect-ratio: 5/4; }
.media-1 img { width: 100%; height: 100%; object-fit: cover; }

.vm { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.vm > div { padding: 26px; background: #fff; }
.vm > div:first-child { border-right: 1px solid var(--line); }
.vm h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.vm p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* --- 15. Why us --------------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); }
.why__i { padding: 32px 26px 34px; border-left: 1px solid rgba(255,255,255,.16); }
.why__i:first-child { border-left: 0; padding-left: 0; }
.why__i h3 { font-size: 21px; margin-bottom: 12px; }
.why__i p { font-size: 14.5px; color: rgba(255,255,255,.68); line-height: 1.65; }
.why__k { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lite); margin-bottom: 18px; display: block; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats > div { padding: 30px 24px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(32px,3.4vw,46px); color: var(--red); line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }

/* --- 16. Regions served ------------------------------------------------- */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.region {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 24px 22px 22px; display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.region:hover {
  border-color: var(--line-2); transform: translateY(-3px);
  box-shadow: 0 20px 40px -32px rgba(25,28,27,.55);
}
.region__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.region h3 { font-size: 19px; line-height: 1.2; }
.region__st {
  flex: none; font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--jade-soft);
  background: rgba(30,101,88,.09); border-radius: 999px; padding: 5px 10px; white-space: nowrap;
}
.region p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.region__codes {
  margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px;
}
.region__codes span {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--red);
  background: var(--red-soft); border-radius: 4px; padding: 4px 7px;
}
.region--cta { background: var(--jade); border-color: var(--jade); }
.region--cta:hover { background: var(--jade-deep); border-color: var(--jade-deep); }
.region--cta h3 { color: #fff; }
.region--cta p { color: rgba(255,255,255,.74); }
.region__link {
  margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-lite);
}
.region--cta:hover .region__link svg { transform: translateX(4px); }
.region__link svg { transition: transform .3s var(--ease); }

/* --- 16b. Client reviews ------------------------------------------------ */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review {
  margin: 0; padding: 28px 26px 26px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  display: flex; flex-direction: column; position: relative;
}
.review__mark {
  font-family: var(--display); font-size: 58px; line-height: .8; color: var(--red);
  opacity: .28; margin-bottom: 6px;
}
.review blockquote {
  margin: 0; font-family: var(--display); font-size: 17.5px; line-height: 1.5;
  color: var(--ink); letter-spacing: -.008em;
}
.review figcaption { margin-top: auto; padding-top: 22px; }
.review figcaption b {
  display: block; font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.review figcaption span {
  display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 3px;
}

/* Swipe affordance, only shown when a section becomes a scrolling rail */
.rail-hint {
  display: none; margin: 14px 0 0; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
}

/* --- 17. FAQ ------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 24px 52px 24px 0; position: relative;
  font-family: var(--display); font-weight: 500; font-size: clamp(18px,1.5vw,21px);
  color: var(--ink); transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--red); }
.faq__q::before, .faq__q::after {
  content: ""; position: absolute; right: 8px; top: 50%; background: var(--red);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__q::before { width: 15px; height: 1.5px; transform: translateY(-50%); }
.faq__q::after { width: 1.5px; height: 15px; right: 14.75px; transform: translateY(-50%); }
.faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .42s var(--ease); }
.faq__a > div { padding: 0 12% 28px 0; color: var(--ink-soft); font-size: 15.5px; }

/* --- 18. Steps ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 0 26px 0 0; }
.step__n {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  display: block; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line-2); position: relative;
}
.step__n::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.step:last-child .step__n::after { background: var(--jade); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* --- 19. Closing band (CTA + footer share one photograph) ------------- */
.closing { position: relative; isolation: isolate; background: var(--jade-deep); overflow: hidden; }
.closing__bg { position: absolute; inset: 0; z-index: -2; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.closing::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(8,34,30,.34)  0%,
    rgba(8,34,30,.70) 20%,
    rgba(8,34,30,.92) 38%,
    rgba(8,34,30,.985) 56%,
    var(--jade-deep) 74%);
}
.cta { position: relative; }
.cta__in {
  max-width: var(--shell); margin: 0 auto; padding: clamp(64px,8vw,120px) var(--gut) clamp(48px,6vw,84px);
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(26px,4vw,56px); align-items: center;
}
.cta h2 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.cta p { color: rgba(255,255,255,.84); margin-top: 16px; max-width: 50ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* --- 20. Contact -------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(30px,4vw,56px); align-items: stretch;
}
.contact-col { display: flex; flex-direction: column; }
.contact-col > .ccard { flex: 1; display: flex; flex-direction: column; }
.contact-col > .ccard .ccard__i { flex: 1; }
.contact-grid .formwrap { display: flex; flex-direction: column; }
.contact-grid .formwrap form { display: flex; flex-direction: column; flex: 1; }
.contact-grid .formwrap .field--full:last-of-type { flex: 1; }
.contact-grid .formwrap textarea { flex: 1; }
.ccard { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.ccard__i { padding: 24px 26px; border-bottom: 1px solid var(--line); display: flex; gap: 18px; align-items: flex-start; }
.ccard__i:last-child { border-bottom: 0; }
.ccard__i svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 4px; }
.ccard__i h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.ccard__i a, .ccard__i p { font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--ink); margin: 0; }
.ccard__i a:hover { color: var(--red); }
.ccard__i small { display: block; font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); margin-top: 7px; line-height: 1.6; }

.formwrap { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: clamp(24px,3.2vw,44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 9px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 14px; width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: #fff; outline: none; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23191C1B' stroke-width='1.4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px;
}
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); line-height: 1.7; }
.form-msg { margin-top: 18px; padding: 14px 16px; font-size: 15px; display: none; border-left: 3px solid var(--red); background: var(--red-soft); }
.form-msg.is-on { display: block; }
.mapwrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; filter: grayscale(.25) contrast(1.03); }
.mapwrap { margin-top: clamp(26px,3.4vw,44px); }
.mapwrap iframe { display: block; width: 100%; height: clamp(300px,38vw,440px); border: 0; }

/* --- 21. Footer --------------------------------------------------------- */
.footer { position: relative; background: transparent; color: rgba(255,255,255,.66); }
.footer__top { max-width: var(--shell); margin: 0 auto; padding: clamp(48px,5.4vw,76px) var(--gut); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(26px,3vw,52px); }
.footer h4 { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__brand img { height: 56px; margin-bottom: 20px; }
.footer__brand p { font-size: 14.5px; max-width: 34ch; line-height: 1.75; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bar div {
  max-width: var(--shell); margin: 0 auto; padding: 20px var(--gut);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4);
}
.footer__contact a { display: block; font-family: var(--display); font-weight: 500; font-size: 19px; color: #fff; margin-bottom: 8px; }
.footer__contact span { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); display: block; margin-bottom: 18px; }

/* --- 22. Reveal + image fallback ---------------------------------------- */
.rv { opacity: 0; transform: translateY(20px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }


/* --- 23. Responsive ----------------------------------------------------- */
@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .pkgs { grid-template-columns: repeat(2, 1fr); }
  .regions { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .svcs { grid-template-columns: repeat(2, 1fr); }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why__i { border-left: 0; padding-left: 0; padding-right: 26px; }
  .why__i:nth-child(n+3) { padding-top: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .topbar .lic { display: none; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .burger { display: flex; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .sect__head { grid-template-columns: 1fr; align-items: start; }
  .cta__in { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; gap: 16px; }
  .srow__ico { width: 40px; height: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }

}
/* --- Scrolling rails ---------------------------------------------------
   Below 1024px the long card sets become a single swipeable row. The gesture
   is locked to the horizontal axis: dragging inside a rail scrolls the rail
   and nothing else, so the page never moves under the reader's finger.
   ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bento, .pkgs, .reviews, .regions {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; overflow-y: hidden;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    margin-inline: calc(-1 * var(--gut));
    padding: 0 var(--gut) 14px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .bento::-webkit-scrollbar, .pkgs::-webkit-scrollbar,
  .reviews::-webkit-scrollbar, .regions::-webkit-scrollbar { display: none; }

  .dest, .pkg, .review, .region {
    flex: 0 0 auto; scroll-snap-align: start;
    grid-row: auto; grid-column: auto;
  }
  .bento   { gap: 12px; }
  .dest    { width: min(78vw, 300px); height: 230px; }
  .pkgs    { gap: 14px; align-items: stretch; }
  .pkg     { width: min(84vw, 340px); }
  .reviews { gap: 14px; align-items: stretch; }
  .review  { width: min(84vw, 340px); }
  .regions { gap: 14px; align-items: stretch; }
  .region  { width: min(80vw, 320px); }

  /* Reveal by fade only inside a rail: a translate would be clipped by the
     rail's own overflow while the card animates in. */
  .bento > .rv, .pkgs > .rv, .reviews > .rv, .regions > .rv { transform: none; }

  .rail-hint { display: block; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --nav-h: 72px; }
  .topbar .sep { display: none; }
  .svcs { grid-template-columns: 1fr; }
  .svc--cta { grid-column: auto; }
  .why { grid-template-columns: 1fr; }
  .why__i { padding-right: 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
  .why__i:first-child { padding-top: 0; border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .vm { grid-template-columns: 1fr; }
  .vm > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr; }
  .faq__a > div { padding-right: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hcard { width: 150px; height: 198px; }
  .hcreds { gap: 10px 20px; margin-top: 24px; padding-top: 18px; }
  .ocards { margin-top: -104px; }
  .hero__in { padding-bottom: clamp(136px, 15.5vh, 158px); }
  .hcred span { display: none; }
  .hcard { width: 178px; height: 236px; }
}

/* Keep the full-screen hero inside one viewport on shorter screens */
@media (max-height: 900px) and (min-width: 900px) {
  .hero h1 { font-size: clamp(34px, 4.3vw, 58px); }
  .hero p.lede { font-size: 16.5px; }
  .hero__in { padding-bottom: clamp(132px, 16vh, 156px); }
  .hcreds { margin-top: 26px; padding-top: 20px; gap: 12px 26px; }
  .hcred span { display: none; }
  .ocards { margin-top: -112px; }
  .hcard { width: 194px; height: 252px; }
}
@media (max-height: 800px) and (min-width: 900px) {
  .hero h1 { font-size: clamp(32px, 3.6vw, 48px); }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero__actions { margin-top: 24px; }
  .hero p.lede { font-size: 15.5px; }
}
@media (max-height: 720px) and (max-width: 899px) {
  .hero h1 { font-size: 30px; margin-bottom: 14px; }
  .hero .eyebrow { margin-bottom: 12px; font-size: 10.5px; }
  .hero p.lede { font-size: 14.5px; }
  .hero__actions { margin-top: 20px; }
  .hero__actions .btn { flex: 0 1 auto; padding: 11px 20px; font-size: 13px; }
  .hcreds { display: none; }
  .hero__in { padding-top: 16px; padding-bottom: 100px; }
  .ocards { margin-top: -80px; }
  .hcard { width: 146px; height: 190px; }
}

/* --- Compact itinerary cards on short screens ---------------------------
   The rail owns the vertical gesture, so a card taller than the screen would
   leave the reader nowhere to touch to scroll past the section. On phones, and
   on any rail-width screen that is short (a tablet held landscape), the card
   drops to a browse card: picture, where, what, and the request link. The
   inclusions and the full description stay on the desktop card and in the quote
   we send back. */
@media (max-width: 680px),
       (max-width: 1024px) and (max-height: 820px) {
  .pkg__inc { display: none; }
  .pkg__img { aspect-ratio: 2 / 1; }
  .pkg__body { padding: 18px 20px 20px; }
  .pkg__loc { margin-bottom: 8px; }
  .pkg h3 { font-size: 20px; margin-bottom: 9px; }
  .pkg p {
    font-size: 14px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .pkg__foot { padding-top: 16px; }
  .pkg__tag { top: 11px; left: 11px; padding: 6px 10px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
  .hero__bg img { transform: scale(1.06); }
}
@media print {
  .site-head, .cta, .mobile { display: none !important; }
  body { background: #fff; }
}
