/* ==========================================================================
   KAGIPTAI UNISTUDY — Design System
   Built to the supplied desktop + mobile mockups: wide container, rectangular
   cards with modest radii, one accent blue, pills reserved for buttons only.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #061529;
  --navy-800: #0b1f3a;
  --ink: #0f172a;
  --ink-70: #475569;
  --ink-55: #64748b;
  --ink-40: #94a3b8;

  --blue: #1552e8;
  --blue-700: #1042c4;
  --blue-300: #93b0f7;
  --blue-50: #eaf0fe;
  --blue-25: #f5f8ff;

  --gold: #f5b301;
  --gold-soft: #ffd86b;

  --paper: #ffffff;
  --mist: #f6f8fc;
  --line: #e6ebf3;
  --line-strong: #d3dcea;

  /* Type */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --fs-display: clamp(2.6rem, 4.4vw, 4.15rem);
  --fs-h1: clamp(2.1rem, 3.4vw, 3.2rem);
  --fs-h2: clamp(1.7rem, 2.5vw, 2.35rem);
  --fs-h3: clamp(1.15rem, 1.5vw, 1.4rem);
  --fs-lead: clamp(1rem, 1.05vw, 1.1rem);

  /* Space */
  --gutter: clamp(1.15rem, 2.2vw, 2rem);
  --maxw: 1536px;
  --maxw-narrow: 860px;
  --section-y: clamp(3.2rem, 5.5vw, 5.5rem);
  --header-h: 82px;

  /* Shape — rectangles, not bubbles */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Depth — soft and tinted, never a glow */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --sh-md: 0 10px 28px -10px rgba(15, 23, 42, 0.13);
  --sh-lg: 0 24px 56px -20px rgba(15, 23, 42, 0.20);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* clip, not hidden: hidden makes the element a scroll container and breaks
     the sticky header. This is a backstop — nothing should overflow anyway. */
  overflow-x: clip;
}
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Grid and flex children default to min-width:auto, which lets wide content
   (a horizontal card rail, a wide table) push the whole document past the
   viewport instead of scrolling inside its own box. That is what makes a
   phone browser zoom out. Let every track shrink. */
.grid > *, .split > *, .value-grid > *, .team-grid > *, .discover__grid > *,
.office-grid > *, .statbar > *, .steps > *, .profile-grid > *,
.proofband__grid > *, .footer__grid > * { min-width: 0; }
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy-800);
  text-wrap: balance;
}
h3, h4 { line-height: 1.25; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

/* The one blue phrase in each heading, as in the mockups */
.accent { color: var(--blue); }

/* Generic media container used for destination photos and similar */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--mist);
}
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-frame .skyline { position: absolute; inset: 0; }

.lead { font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-70); max-width: 54ch; }
.muted { color: var(--ink-55); }
.tiny { font-size: 0.78rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Centred heading with the short blue rule beneath it */
.rule-head { text-align: center; }
.rule-head::after {
  content: "";
  display: block;
  width: 44px; height: 3px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: var(--blue);
}

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.2rem, 3.6vw, 3.4rem); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--navy-900); color: rgba(255, 255, 255, 0.76); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); }
.stack { display: flex; flex-direction: column; }
.center { text-align: center; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 2.4vw, 2.4rem);
}
.section-head p { max-width: 48ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center p { margin-inline: auto; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.95em 1.6em;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.12s var(--ease),
              box-shadow 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--blue-700); box-shadow: var(--sh-md); }

.btn--ghost {
  --btn-bg: #fff;
  --btn-fg: var(--navy-800);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover { --btn-fg: var(--blue); border-color: var(--blue-300); background: var(--blue-25); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); box-shadow: var(--sh-sm); }
.btn--light:hover { --btn-fg: var(--blue); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn--wa { --btn-bg: #1fa855; --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #17924a; }

.btn--sm { padding: 0.75em 1.2em; font-size: 0.86rem; }
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--sq { border-radius: var(--r-sm); }

.btn .ico { width: 1.25em; height: 1.25em; flex: none; }

/* Circular arrow badge inside the primary hero button, as in the mockup */
.btn__badge {
  display: grid;
  place-items: center;
  width: 1.85em; height: 1.85em;
  margin-left: 0.15em;
  margin-right: -0.55em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__badge { transform: translateX(3px); }
.btn__badge .ico { width: 0.95em; height: 0.95em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s;
}
.tlink:hover { color: var(--blue-700); }
.tlink .ico { width: 1em; height: 1em; }
.tlink--plain { border-bottom-color: transparent; }
.tlink--plain:hover { border-bottom-color: currentColor; }

/* ---------- 6. Flags ---------- */
.flag {
  width: 22px; height: auto;
  border-radius: 3px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.flag--round { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2.5px #fff, 0 1px 4px rgba(15,23,42,.18); }

/* ---------- 7. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; }
.logo__mark { width: auto; height: 44px; flex: none; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.035em; color: var(--navy-800); }
.logo__sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-top: 4px;
}
.logo__tag {
  display: none;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
@media (min-width: 560px) { .logo__tag { display: block; } }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: rgba(255, 255, 255, 0.6); }

.nav { display: none; }
@media (min-width: 1080px) { .nav { display: flex; align-items: center; gap: 0.1rem; } }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.55rem 0.8rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-70);
  border-radius: var(--r-sm);
  transition: color 0.2s;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--blue); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem;
  bottom: -0.7rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
}
.nav__caret { width: 12px; height: 12px; opacity: 0.55; transition: transform 0.25s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 250px;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav__item:hover .nav__panel, .nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav__panel a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-70);
  transition: background-color 0.18s, color 0.18s;
}
.nav__panel a:hover { background: var(--mist); color: var(--blue); }

.header__cta { display: none; align-items: center; gap: 0.9rem; }
@media (min-width: 1080px) { .header__cta { display: flex; } }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
  transition: color 0.2s;
}
.header__phone:hover { color: var(--blue); }
.header__phone .ico { width: 17px; height: 17px; color: var(--blue); }

.burger {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  flex: none;
  transition: background-color 0.2s;
}
.burger:hover { background: var(--blue-700); }
@media (min-width: 1080px) { .burger { display: none; } }
.burger__lines { position: relative; width: 18px; height: 12px; }
.burger__lines span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.32s var(--ease), opacity 0.2s var(--ease);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 5px; }
.burger__lines span:nth-child(3) { top: 10px; }
body.menu-open .burger__lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger__lines span:nth-child(2) { opacity: 0; }
body.menu-open .burger__lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 8. Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #fff;
  padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  border-bottom: 1px solid var(--line);
}
.drawer__link:hover { color: var(--blue); }
.drawer__link .ico { width: 17px; height: 17px; color: var(--ink-40); }
.drawer__foot { margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.drawer__meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 1.2rem;
  font-size: 0.86rem; color: var(--ink-55);
}

/* ---------- 9. Hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero__inner { position: relative; }

/* The photograph sits behind the copy and bleeds off the top and right edges,
   on every screen size — it is a background layer, never a stacked block. */
.hero__media {
  position: absolute;
  top: 0; right: 0;
  width: 100%;
  height: 52%;
  overflow: hidden;
  background: linear-gradient(165deg, #cfe0ff, #eef3ff 55%, #fdf6e8);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
/* Fades the photo into the page so the headline stays legible whatever
   photograph is dropped in — the supplied hero already fades on its left,
   so this only needs to finish the job at the bottom and left edges. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, #fff 0%, #fff 6%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.96) 46%, rgba(255, 255, 255, 0) 82%);
}

@media (min-width: 900px) {
  .hero__media {
    bottom: 0;
    width: 62%;
    height: auto;
  }
  .hero__media img { object-position: 50% 82%; }
  .hero__media::after {
    background:
      linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.82) 14%, rgba(255, 255, 255, 0) 46%),
      linear-gradient(to top, #fff 0%, #fff 7%, rgba(255, 255, 255, 0) 44%);
  }
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.2rem, 4vw, 3.6rem) clamp(1.4rem, 3vw, 2.6rem);
}
@media (min-width: 900px) {
  .hero__copy { width: min(56%, 700px); padding-block: clamp(3rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem); }
}

.hero__title { font-size: var(--fs-display); letter-spacing: -0.038em; line-height: 1.02; }
.hero__title > span { display: block; }
/* Plus Jakarta Sans ships a wide left sidebearing on . and , at ExtraBold,
   which reads as a stray space at display size. Pull it back optically. */
.pnc { margin-left: -0.12em; }
.hero__lead { margin-top: 1.15rem; max-width: 44ch; }
.hero__actions { margin-top: 1.7rem; }

/* Plain text destination row — no pills, matching the mockup */
.destrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin-top: 1.8rem;
}
.destrow__label { font-size: 0.78rem; font-weight: 600; color: var(--ink-55); flex: none; }
.destrow a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-800);
  transition: color 0.2s;
}
.destrow a:hover { color: var(--blue); }
.destrow a.is-more { color: var(--blue); border-bottom: 1.5px solid currentColor; }

/* ---------- 10. Finder card ---------- */
.finder {
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: clamp(1.1rem, 1.8vw, 1.6rem);
}
.hero .finder { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) {
  .hero .finder {
    position: absolute;
    right: 0;
    bottom: clamp(1.5rem, 3vw, 3rem);
    width: min(560px, 46%);
    margin-bottom: 0;
  }
}
.finder__title { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.9rem; color: var(--navy-800); }
.finder__fields { display: grid; gap: 0.65rem; }

.field { position: relative; display: block; }
.field__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 0.35rem;
}
.field__control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.9rem;
  height: 52px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__control:hover { border-color: var(--line-strong); }
.field__control:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 82, 232, 0.12); }
.field__control > .ico { width: 19px; height: 19px; color: var(--blue); flex: none; }
.field__control select,
.field__control input,
.field__control textarea {
  flex: 1; min-width: 0;
  border: 0; background: none;
  font-size: 0.94rem; font-weight: 500;
  color: var(--navy-800);
  appearance: none; outline: none;
}
.field__control select { cursor: pointer; padding-right: 1.1rem; }
.field__control textarea { resize: vertical; }
.field__control--area { height: auto; padding-block: 0.85rem; align-items: flex-start; }
.field__caret { position: absolute; right: 0.9rem; width: 14px; height: 14px; color: var(--ink-40); pointer-events: none; }
.field__control input::placeholder, .field__control textarea::placeholder { color: var(--ink-40); font-weight: 400; }

/* ---------- 11. Discover row (Why | Top Destinations) ---------- */
.discover__grid { display: grid; gap: clamp(2rem, 3.5vw, 3.2rem); }
@media (min-width: 1080px) {
  .discover__grid { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(2rem, 3.5vw, 3.5rem); }
}

.why__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(1.4rem, 2.4vw, 2.1rem);
}
.why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  min-width: 0; /* let the 4 columns actually shrink on narrow screens */
  padding-inline: 0.3rem;
  border-left: 1px solid var(--line);
}
.why__item:first-child { border-left: 0; }
.why__ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  transition: background-color 0.25s, color 0.25s;
}
.why__item:hover .why__ico { background: var(--blue); color: #fff; }
.why__ico .ico { width: 24px; height: 24px; }
.why__item span {
  font-size: clamp(0.68rem, 2.2vw, 0.8rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-800);
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .why__ico { width: 44px; height: 44px; }
  .why__ico .ico { width: 21px; height: 21px; }
}

/* ---------- 12. Destination cards ---------- */
/* Horizontal card rail. Fixed track width (not 1fr) so the rail scrolls
   within the viewport rather than widening the page. */
.dest-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(62vw, 235px);
  gap: clamp(0.7rem, 1.1vw, 1rem);
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 0.5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.dest-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1080px) {
  .dest-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}
.dest-grid { display: grid; gap: clamp(0.9rem, 1.4vw, 1.25rem); }
@media (min-width: 620px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dest-grid { grid-template-columns: repeat(4, 1fr); } }

.dest {
  position: relative;
  display: block;
  scroll-snap-align: start;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.dest:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.dest__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}
.dest__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.dest:hover .dest__media img { transform: scale(1.05); }
.dest__body { display: block; position: relative; padding: 1.5rem 1rem 1.05rem; }
.dest__flag { position: absolute; left: 1rem; top: -17px; }
.dest__body h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.dest__meta { display: block; font-size: 0.82rem; color: var(--ink-55); font-weight: 500; }
.dest__go {
  position: absolute;
  right: 0.9rem; bottom: 1rem;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--blue);
  transition: background-color 0.25s, color 0.25s;
}
.dest:hover .dest__go { background: var(--blue); color: #fff; }
.dest__go .ico { width: 14px; height: 14px; }
.skyline { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- 13. Blue proof band ---------- */
.proofband {
  background: var(--blue);
  border-radius: var(--r-lg);
  color: #fff;
  padding: clamp(1.3rem, 2.2vw, 2rem);
}
.proofband__grid { display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 1080px) {
  .proofband__grid {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr) auto;
    gap: clamp(1.2rem, 2vw, 2.2rem);
  }
}
.proofband__ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.proofband__ico .ico { width: 22px; height: 22px; }
.proofband__rule { display: none; align-self: stretch; background: rgba(255, 255, 255, 0.24); }
@media (min-width: 1080px) { .proofband__rule { display: block; } }

.proofband__stat { display: flex; align-items: center; gap: 0.9rem; }
.proofband__stat strong {
  display: block;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
/* Scoped to the text block so it can't override .avatars' display:flex */
.proofband__stat__t > span { display: block; font-size: 0.86rem; color: rgba(255, 255, 255, 0.82); line-height: 1.35; }

.proofband__quote {
  display: flex;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}
.proofband__quote .ico { width: 22px; height: 22px; flex: none; opacity: 0.55; }

.proofband__who { display: flex; align-items: center; gap: 0.7rem; }
.proofband__who strong { display: block; font-size: 0.9rem; }
.proofband__who__t > span { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }
.stars { color: var(--gold-soft); font-size: 0.8rem; letter-spacing: 0.08em; }

.proofband__cta { text-align: center; }
.proofband__cta .tiny { display: block; margin-top: 0.6rem; color: rgba(255, 255, 255, 0.72); }

/* Solid blue closing band used at the foot of the inner pages */
.cta-band {
  background: var(--blue);
  border-radius: var(--r-lg);
  color: #fff;
  padding: clamp(1.6rem, 3vw, 2.8rem);
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p, .cta-band .lead { color: rgba(255, 255, 255, 0.82) !important; }
.cta-band__grid { display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: minmax(0, 1fr); } }
.cta-band__deco { display: none; }
.eyebrow--light { color: var(--gold-soft); }
.accent-light { color: var(--gold-soft); }

.avatars { display: flex; align-items: center; flex: none; }
.avatars img, .avatars .av {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  object-fit: cover;
  margin-left: -12px;
  background: var(--blue-700);
  display: grid; place-items: center;
  color: #fff; font-size: 0.72rem; font-weight: 800;
}
.avatars > *:first-child { margin-left: 0; }

/* ---------- 14. Cards, values, lists ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 1.8vw, 1.6rem);
}

.value-grid { display: grid; gap: clamp(0.9rem, 1.4vw, 1.25rem); }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.value {
  position: relative;
  padding: clamp(1.3rem, 1.9vw, 1.7rem);
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.value:hover { border-color: var(--line-strong); box-shadow: var(--sh-md); transform: translateY(-3px); }
.value__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 0.95rem;
  transition: background-color 0.25s, color 0.25s;
}
.value:hover .value__ico { background: var(--blue); color: #fff; }
.value__ico .ico { width: 23px; height: 23px; }
.value h3 { font-size: 1.03rem; margin-bottom: 0.4rem; }
.value p { font-size: 0.9rem; color: var(--ink-55); line-height: 1.58; }
.value__n {
  position: absolute; top: 1.1rem; right: 1.2rem;
  font-size: 0.78rem; font-weight: 800;
  color: var(--ink-40); opacity: 0.6;
}

.checklist { display: grid; gap: 0.8rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-70); }
.checklist .ico { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }
.checklist--tight { gap: 0.6rem; }
.checklist--tight li { font-size: 0.92rem; }
.checklist--tight .ico { width: 17px; height: 17px; margin-top: 3px; }

/* ---------- Destination: flag, total pill, process, budget, fee ---------- */
.destflag { display: inline-block; }
.destflag .flag--round { width: 46px; height: 46px; }

.totalpill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--blue-25);
  border: 1px solid var(--line);
}
.totalpill__l { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-55); }
.totalpill strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy-800); }

/* 15-step process — two columns on wide screens, numbered in flyer order */
.proc { display: grid; gap: 0.55rem; counter-reset: none; }
@media (min-width: 780px) { .proc { grid-template-columns: repeat(2, 1fr); gap: 0.55rem 1.5rem; } }
.proc__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.75rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  color: var(--ink-70);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.proc__item:hover { border-color: var(--blue-300); box-shadow: var(--sh-sm); }
.proc__n {
  flex: none;
  min-width: 1.6em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}

/* Itemised budget card */
.bdg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 1.9vw, 1.7rem);
}
.bdg__list { display: grid; gap: 0; }
.bdg__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.bdg__label { color: var(--ink-70); }
.bdg__value { color: var(--navy-800); font-weight: 700; text-align: right; }
.bdg__total {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--blue);
  color: #fff;
}
.bdg__total span { font-size: 0.86rem; font-weight: 600; }
.bdg__total strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.bdg__note { margin-top: 0.7rem; font-size: 0.84rem; color: var(--ink-55); font-style: italic; }

/* Costs page: headline total cards + per-destination breakdown grid */
.totalcards { display: grid; gap: clamp(0.8rem, 1.2vw, 1.1rem); }
@media (min-width: 560px) { .totalcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .totalcards { grid-template-columns: repeat(5, 1fr); } }
.totalcard {
  display: block;
  padding: 1.2rem 1.1rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.totalcard:hover { border-color: var(--blue-300); box-shadow: var(--sh-md); transform: translateY(-3px); }
.totalcard__flag { display: block; margin-bottom: 0.75rem; }
.totalcard__flag .flag--round { width: 34px; height: 34px; }
.totalcard h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.totalcard__n { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -0.025em; color: var(--blue); line-height: 1.25; }
.totalcard__l { display: block; margin-top: 0.35rem; font-size: 0.76rem; color: var(--ink-55); }

.bdg-grid { display: grid; gap: clamp(1rem, 1.6vw, 1.4rem); }
@media (min-width: 760px) { .bdg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .bdg-grid { grid-template-columns: repeat(3, 1fr); } }
.bdg__head { display: flex; gap: 0.8rem; align-items: center; }
.bdg__head .flag--round { width: 38px; height: 38px; flex: none; }
.bdg__head h3 { font-size: 1.05rem; }

/* Agency fee callout */
.feenote {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(245, 179, 1, 0.09);
  border: 1px solid rgba(245, 179, 1, 0.3);
}
.feenote .ico { width: 20px; height: 20px; color: #b07d00; flex: none; margin-top: 2px; }
.feenote strong { display: block; font-size: 0.94rem; color: var(--navy-800); }
.feenote span { font-size: 0.9rem; color: var(--ink-70); }

/* Six-up "why" grid used on destination pages */
@media (min-width: 640px) { .value-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid--6 { grid-template-columns: repeat(3, 1fr); } }
.value-grid--6 .value { text-align: center; }
.value-grid--6 .value__ico { margin-inline: auto; }
.value-grid--6 .value h3 { font-size: 0.98rem; }

.numlist { counter-reset: n; display: grid; gap: 0.7rem; }
.numlist li {
  counter-increment: n;
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.numlist li:hover { border-color: var(--blue-300); box-shadow: var(--sh-sm); }
.numlist li::before {
  content: counter(n, decimal-leading-zero);
  font-size: 0.82rem; font-weight: 800;
  color: var(--blue);
  flex: none; line-height: 1.7;
}
.numlist strong { display: block; font-size: 0.97rem; letter-spacing: -0.015em; color: var(--navy-800); }
.numlist span { font-size: 0.89rem; color: var(--ink-55); }

/* ---------- 15. Steps ---------- */
.steps { position: relative; display: grid; }
.steps::before {
  content: "";
  position: absolute;
  left: 25px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--line);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: clamp(0.8rem, 1.4vw, 1.4rem); }
  .steps::before { left: 0; right: 0; top: 25px; bottom: auto; width: auto; height: 2px; }
}
.step { position: relative; display: flex; gap: 1.1rem; padding-block: 0.9rem; }
@media (min-width: 900px) { .step { flex-direction: column; gap: 1rem; padding-block: 0; } }
.step__dot {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  font-size: 0.85rem; font-weight: 800;
  color: var(--blue);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.section--mist .step__dot { background: var(--mist); }
.step:hover .step__dot, .step.is-active .step__dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.step h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.88rem; color: var(--ink-55); max-width: 30ch; }

/* ---------- 16. Team ---------- */
.team-grid { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.person {
  display: flex; flex-direction: column;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.person:hover { border-color: var(--line-strong); box-shadow: var(--sh-md); transform: translateY(-3px); }
.person__media { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--mist); }
.person__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.person__badge {
  position: absolute; left: 0.85rem; top: 0.85rem;
  padding: 0.35em 0.7em;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue);
}
.person__body { padding: clamp(1.1rem, 1.7vw, 1.5rem); display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.person__name { font-size: 1.15rem; }
.person__role { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.person__bio { font-size: 0.9rem; color: var(--ink-55); line-height: 1.58; }
.person__body .tlink { margin-top: auto; padding-top: 0.8rem; align-self: flex-start; }
.person--soon { border-style: dashed; background: var(--mist); }
.person--soon:hover { transform: none; box-shadow: none; }

.profile-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.8rem); align-items: start; }
@media (min-width: 900px) { .profile-grid { grid-template-columns: 0.8fr 1.2fr; } }
.profile-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mist);
  border: 1px solid var(--line);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo__tag {
  position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.profile-photo__tag strong { font-size: 0.92rem; }
.profile-photo__tag span { font-size: 0.78rem; color: var(--ink-55); }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.5em 0.85em;
  border-radius: var(--r-xs);
  background: var(--blue-25);
  border: 1px solid var(--line);
  color: var(--ink-70);
  font-size: 0.85rem;
  font-weight: 600;
}
.pill--plain { background: var(--mist); }

.timeline { position: relative; padding-left: 1.9rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 1.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -1.9rem; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
}
.tl-item__year { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; color: var(--blue); margin-bottom: 0.2rem; }
.tl-item h4 { font-size: 1rem; margin-bottom: 0.1rem; }
.tl-item p { font-size: 0.88rem; color: var(--ink-55); }

.pullquote {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  border-radius: var(--r-md);
  background: var(--mist);
  border-left: 3px solid var(--blue);
}
.pullquote p { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--navy-800); font-weight: 600; letter-spacing: -0.02em; }
.pullquote cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-55); }

/* ---------- 17. Office / photo slots ---------- */
.office-grid { display: grid; gap: clamp(0.7rem, 1.1vw, 1rem); }
@media (min-width: 760px) {
  .office-grid { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a b" "c c"; }
  .office-grid > *:nth-child(1) { grid-area: a; }
  .office-grid > *:nth-child(2) { grid-area: b; }
  .office-grid > *:nth-child(3) { grid-area: c; }
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--mist);
  aspect-ratio: 4 / 3;
}
.shot--wide { aspect-ratio: 16 / 7; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__overlay {
  position: absolute; left: 0.85rem; bottom: 0.85rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(11, 31, 58, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
}
.shot__overlay strong { display: block; font-size: 0.92rem; }
.shot__overlay span { font-size: 0.76rem; opacity: 0.75; }

/* Placeholder shown until a real photo exists at the given path */
.ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center;
  gap: 0.5rem; text-align: center; padding: 1rem;
  color: var(--ink-40);
}
.ph__ico { width: 30px; height: 30px; opacity: 0.5; }
.ph__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ph__file { font-size: 0.66rem; font-family: ui-monospace, Menlo, monospace; opacity: 0.75; }
.has-photo .ph { display: none; }

/* ---------- 18. Stats / tables / notes ---------- */
.statbar { display: grid; gap: clamp(1rem, 1.8vw, 1.8rem); }
@media (min-width: 640px) { .statbar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .statbar { grid-template-columns: repeat(4, 1fr); } }
.stat { padding-left: 1.1rem; border-left: 2px solid var(--blue); }
.section--ink .stat { border-left-color: var(--gold); }
.stat__n { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--navy-800); }
.section--ink .stat__n { color: #fff; }
.stat__l { margin-top: 0.4rem; font-size: 0.85rem; color: var(--ink-55); }
.section--ink .stat__l { color: rgba(255, 255, 255, 0.62); }

.cost-table { width: 100%; border-collapse: collapse; font-size: 0.91rem; }
.cost-table th, .cost-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.cost-table thead th { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-40); }
.cost-table tbody tr:hover { background: var(--mist); }
.cost-table td:first-child { font-weight: 700; color: var(--navy-800); white-space: nowrap; }
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
}
.table-scroll table { min-width: 760px; }

.note {
  display: flex; gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--blue-25);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-70);
}
.note .ico { width: 19px; height: 19px; color: var(--blue); flex: none; margin-top: 2px; }

.map-embed {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  min-height: 300px;
  background: var(--mist);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(1.05); }
/* Address card floating over the map so the exact suite is always legible,
   whatever Google renders underneath. */
.map-embed__pin {
  position: absolute;
  left: 0.85rem; bottom: 0.85rem; right: 0.85rem;
  z-index: 2;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  max-width: 340px;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-md);
  font-size: 0.84rem;
  color: var(--ink-70);
  line-height: 1.45;
  pointer-events: none;
}
.map-embed__pin .ico { width: 19px; height: 19px; color: var(--blue); flex: none; margin-top: 1px; }
.map-embed__pin strong { display: block; color: var(--navy-800); font-size: 0.92rem; }

.split { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .split--wide-left { grid-template-columns: 1.1fr 0.9fr; } }

/* ---------- 19. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; width: 100%;
  padding: 1.15rem 0;
  text-align: left;
  font-size: 1rem; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy-800);
  transition: color 0.2s;
}
.acc__btn:hover { color: var(--blue); }
.acc__sign {
  position: relative;
  width: 30px; height: 30px; flex: none;
  border-radius: var(--r-xs);
  background: var(--mist);
  transition: background-color 0.25s;
}
.section--mist .acc__sign { background: #fff; }
.acc__sign::before, .acc__sign::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__sign { background: var(--blue); }
.acc__item.is-open .acc__sign::before, .acc__item.is-open .acc__sign::after { background: #fff; }
.acc__item.is-open .acc__sign::after { opacity: 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > div { padding-bottom: 1.3rem; max-width: 70ch; color: var(--ink-70); font-size: 0.94rem; }

/* ---------- 20. Page header (inner pages) ---------- */
.pagehead { padding-block: clamp(2.2rem, 4vw, 3.8rem) clamp(1.8rem, 3vw, 2.8rem); background: var(--blue-25); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.8rem; color: var(--ink-40); margin-bottom: 0.9rem; font-weight: 600; }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { opacity: 0.5; }

/* ---------- 21. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.62); padding-top: clamp(2.6rem, 4.5vw, 4rem); }
.footer__grid { display: grid; gap: clamp(1.8rem, 3vw, 2.6rem); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.25fr; } }
.footer h4 { color: #fff; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.95rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.89rem; transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__tag {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer__blurb { font-size: 0.9rem; max-width: 36ch; margin-block: 0.6rem 1.2rem; }
.footer__addr { font-size: 0.89rem; line-height: 1.7; font-style: normal; margin-bottom: 1rem; }
.footer__addr a:hover { color: #fff; }
.footer__contact { display: grid; gap: 0.4rem; font-size: 0.89rem; }
.footer__contact a { transition: color 0.2s; }
.footer__contact a:hover { color: #fff; }
.footer__contact .tiny { font-size: 0.72rem; }
.footer .muted { color: rgba(255, 255, 255, 0.45); }
.socials { display: flex; gap: 0.5rem; margin-top: 1rem; }
.socials a {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  transition: background-color 0.22s, color 0.22s, border-color 0.22s;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.socials .ico { width: 16px; height: 16px; }
.footer__bottom {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem;
  align-items: center; justify-content: space-between;
  font-size: 0.82rem;
}
.footer__bottom a:hover { color: #fff; }

/* ---------- 22. Mobile bottom tab bar ---------- */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1080px) { .tabbar { display: none; } }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 0.2rem;
  min-height: 58px;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink-55);
  transition: color 0.2s;
}
.tabbar a .ico { width: 21px; height: 21px; }
.tabbar a[aria-current="page"] { color: var(--blue); }
@media (max-width: 1079px) {
  body { padding-bottom: 62px; }
}

/* ---------- 23. Forms feedback ---------- */
.form-status {
  display: none; gap: 0.7rem; align-items: flex-start;
  margin-top: 0.9rem; padding: 0.9rem 1.05rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem; font-weight: 600;
}
.form-status.is-shown { display: flex; }
.form-status--ok { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.form-status .ico { width: 19px; height: 19px; flex: none; }

/* ---------- 23b. Motion: progress, spotlight, sequential steps ---------- */
.progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  will-change: transform;
  pointer-events: none;
}

/* Cursor-following highlight. Purely decorative, drawn behind the content. */
.value, .dest, .person, .proc__item, .totalcard { position: relative; isolation: isolate; }
.value::before, .dest::before, .person::before, .proc__item::before, .totalcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(21, 82, 232, 0.07),
    transparent 70%
  );
}
.value:hover::before, .dest:hover::before, .person:hover::before,
.proc__item:hover::before, .totalcard:hover::before { opacity: 1; }

/* Process steps and journey steps tick over as they enter the viewport */
.js .proc__item { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .proc__item.is-seen { opacity: 1; transform: none; }
.js .proc__item:nth-child(even) { transition-delay: .06s; }
.step__dot { transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease); }
.step.is-seen .step__dot { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Parallax layer needs its own compositing layer to stay smooth */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .js .proc__item { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
  .progress { display: none; }
}

/* ---------- 24. Scroll reveal ----------
   Gated behind .js (set by an inline script in <head>) so that without
   JavaScript — or if the observer never fires — the content is simply
   visible. Animation is an enhancement, never a precondition for reading. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-18px); }
.js [data-reveal="right"] { transform: translateX(18px); }
.js [data-reveal="scale"] { transform: none; }

/* ---------- 25. Utilities ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.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;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  padding: 0.7rem 1.1rem; background: var(--blue); color: #fff;
  border-radius: var(--r-sm); font-weight: 700;
  transition: top 0.25s var(--ease);
}
.skip:focus { top: 1rem; }

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

/* ---------- 27. Print ---------- */
@media print {
  .header, .drawer, .tabbar, .skip, .footer { display: none !important; }
  body { color: #000; padding-bottom: 0; }
}
