/* ==========================================================================
   book-montenegro.me — design system
   Tokens live here. rafting-montenegro.me overrides only the brand block.
   ========================================================================== */

:root {
  /* brand */
  --accent:        #6C3EF4;
  --accent-dark:   #5326D9;
  --accent-soft:   #EFEBFF;
  --accent-softer: #F7F5FF;

  /* ink */
  --ink:      #14103B;
  --ink-2:    #3D3A5C;
  --ink-3:    #6E6A8A;
  --ink-4:    #9C99B4;

  /* surface */
  --bg:        #FFFFFF;
  --bg-tint:   #F7F6FD;
  --navy:      #171340;
  --line:      #EAE8F5;

  /* gradients */
  --grad:      linear-gradient(115deg, var(--accent) 0%, #8B5CF6 55%, #A78BFA 100%);
  --grad-navy: linear-gradient(115deg, #171340 0%, #241A63 100%);

  /* geometry */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 10px rgba(20, 16, 59, .05);
  --shadow:    0 12px 34px rgba(20, 16, 59, .08);
  --shadow-lg: 0 26px 60px rgba(20, 16, 59, .12);

  --wrap: 90%;        /* content takes 90% of the viewport */
  --wrap-max: 1760px; /* but stops growing on ultrawide screens */
  --pad:  0px;
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ------------------------------------------------------------- helpers --- */
.wrap {
  width: var(--wrap); max-width: var(--wrap-max);
  margin-inline: auto; padding-inline: var(--pad);
}
.muted  { color: var(--ink-3); }
.center { text-align: center; }
.accent { color: var(--accent); }
.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;
}

/* -------------------------------------------------------------- button --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(108, 62, 244, .28); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--light   { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.btn--ghost   { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--block   { width: 100%; justify-content: center; }
.btn--sm      { padding: 9px 18px; font-size: 13px; }
.btn--lg      { padding: 15px 30px; font-size: 15px; }

.link-more {
  font-size: 14px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .16s ease;
}
.link-more:hover { gap: 10px; }

/* ------------------------------------------------------------ sections --- */
.section { padding: 84px 0; }
.section--tint { background: var(--bg-tint); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 34px;
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 3.2vw, 38px); }
.section-sub   { margin-top: 10px; color: var(--ink-3); font-size: 15px; max-width: 56ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

/* -------------------------------------------------------------- navbar --- */
.nav-shell { position: sticky; top: 0; z-index: 60; padding: 16px 0; }
.nav {
  display: flex; align-items: center; gap: 28px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 12px 10px 22px;
  box-shadow: var(--shadow-sm);
}
.nav__logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; }
.nav__mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
}
.nav__links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav__links a { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--accent); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; }

/* ---------------------------------------------------------------- hero --- */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.20), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero__title { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.05; }
.hero__lead  { margin-top: 18px; color: var(--ink-3); font-size: 16px; max-width: 42ch; }
.hero__cta   { margin-top: 26px; }

.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.avatars { display: flex; }
.avatars img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }
.stars { color: #F5A623; font-size: 13px; letter-spacing: 1px; }
.hero__proof-text { font-size: 13px; color: var(--ink-3); }
.hero__proof-text b { color: var(--ink); }

.hero__art { position: relative; display: flex; justify-content: flex-end; }
.hero__art-main {
  height: 460px; width: auto; max-width: 78%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--r-lg);
  border-bottom-left-radius: 170px; border-top-right-radius: 170px;
  box-shadow: var(--shadow-lg);
}
.hero__art-plane {
  position: absolute; top: -6%; left: 4%; width: 38%; z-index: 3;
  filter: drop-shadow(0 18px 30px rgba(20,16,59,.18));
}
.hero__art-badge {
  position: absolute; bottom: 8%; left: 28%; z-index: 3;
  background: #fff; border-radius: var(--r); padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
}
.hero__art-badge span { font-size: 12px; color: var(--ink-3); display: block; }
.hero__art-badge b    { font-size: 14px; }

/* -------------------------------------------------------- search panel --- */
.searchbox {
  position: relative; margin-top: 30px; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-lg);
}
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border: 0; border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 700; color: var(--ink-3);
}
.tab[aria-selected="true"] { background: var(--accent); color: #fff; }

.triptype { display: flex; gap: 22px; padding: 16px 2px 4px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.radio input { accent-color: var(--accent); width: 15px; height: 15px; }

.fields {
  display: grid; grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px; align-items: end; padding-top: 12px;
}
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-tint); color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }

/* --------------------------------------------------------- trust strip --- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0 0; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.trust__item b { display: block; font-size: 13px; }
.trust__item span { font-size: 12px; color: var(--ink-3); }

/* -------------------------------------------------------- destinations --- */
.dest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.dest {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-sm);
}
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest:hover img { transform: scale(1.06); }
.dest::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,59,.82) 0%, rgba(20,16,59,.05) 55%);
}
.dest__body { position: absolute; inset: auto 0 0 0; padding: 16px; color: #fff; z-index: 2; }
.dest__body b { display: block; font-size: 16px; }
.dest__body span { font-size: 12px; opacity: .8; }
.dest__price { margin-top: 8px; font-size: 13px; font-weight: 700; }

/* --------------------------------------------------------- member band --- */
.member {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff;
  border-radius: var(--r-xl); padding: 40px 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
}
.member h3 { font-size: clamp(22px, 2.4vw, 30px); }
.member p  { margin-top: 12px; opacity: .88; font-size: 15px; max-width: 44ch; }
.member .btn { margin-top: 22px; }
.member__crown {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 15px;
  background: rgba(255,255,255,.18); margin-bottom: 18px;
}
.member__art { border-radius: var(--r-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* --------------------------------------------------------- flight deal --- */
.deal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.deal {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.deal:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.deal__media { position: relative; aspect-ratio: 16/10; }
.deal__media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 999px;
}
.deal__body  { padding: 16px; }
.deal__route { font-size: 14px; font-weight: 700; }
.deal__meta  { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.deal__foot  { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.deal__price { font-size: 20px; font-weight: 800; color: var(--accent); }

/* -------------------------------------------------------- limited band --- */
.limited {
  background: var(--grad-navy); color: #fff;
  border-radius: var(--r-xl); padding: 40px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center;
}
.limited h3 { font-size: clamp(22px, 2.4vw, 30px); }
.limited p  { margin-top: 12px; opacity: .72; font-size: 15px; }
.limited__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.limited__card {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: rgba(255,255,255,.07); padding: 18px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.limited__card span { font-size: 13px; opacity: .78; position: relative; z-index: 2; }
.limited__off { font-size: 30px; font-weight: 800; position: relative; z-index: 2; }
.limited__card img { position: absolute; right: -14px; bottom: -10px; width: 55%; opacity: .45; }

/* ------------------------------------------------------- getaway cards --- */
.getaway-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 18px; }
.getaway {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.getaway:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.getaway__icon {
  position: absolute; top: -18px; left: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}
.getaway img { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-top: 16px; }
.getaway h4 { font-size: 15px; margin-top: 14px; }
.getaway p  { font-size: 13px; color: var(--ink-3); margin-top: 6px; min-height: 3.2em; }
.getaway .btn { margin-top: 12px; }

/* ---------------------------------------------------------- stat strip --- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.stats-strip .trust__item { border-right: 1px solid var(--line); padding-right: 18px; }
.stats-strip .trust__item:last-child { border-right: 0; }

/* --------------------------------------------------------- commitment --- */
.commit {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--bg-tint); border-radius: var(--r-xl); padding: 34px;
}
.commit__art { border-radius: var(--r-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.commit h3 { font-size: clamp(22px, 2.6vw, 32px); }
.commit p  { margin-top: 14px; color: var(--ink-3); font-size: 15px; }
.commit__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0; }
.commit__stats b    { display: block; font-size: 26px; color: var(--accent); }
.commit__stats span { font-size: 12px; color: var(--ink-3); }

/* -------------------------------------------------------- testimonials --- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.quote__mark { font-size: 42px; line-height: 1; color: var(--accent-soft); font-family: Georgia, serif; }
.quote p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote__who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote__who b { display: block; font-size: 14px; }
.quote__who span { font-size: 12px; color: var(--ink-3); }
.dots { display: flex; gap: 7px; justify-content: center; margin-top: 26px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); display: block; }
.dots i.is-on { width: 22px; border-radius: 999px; background: var(--accent); }

/* ------------------------------------------------------------ app band --- */
.app {
  background: var(--grad); color: #fff; border-radius: var(--r-xl);
  padding: 44px 44px 0; display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; align-items: end; overflow: hidden;
}
.app h3 { font-size: clamp(22px, 2.6vw, 32px); }
.app p  { margin-top: 12px; opacity: .88; font-size: 15px; max-width: 40ch; }
.app__stores { display: flex; gap: 12px; margin: 24px 0 44px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px; padding: 9px 16px;
}
.store span { display: block; font-size: 10px; opacity: .75; line-height: 1.2; }
.store b    { display: block; font-size: 14px; line-height: 1.2; }
.app__phone {
  position: relative; width: 74%; margin-inline: auto;
  background: #14103B; border: 8px solid #14103B; border-bottom: 0;
  border-radius: 34px 34px 0 0; box-shadow: var(--shadow-lg);
}
.app__phone img { width: 100%; border-radius: 26px 26px 0 0; display: block; }
.app__phone::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.35); z-index: 2;
}

/* ---------------------------------------------------------------- blog --- */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.post { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.post img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post__body { padding: 14px 16px 18px; }
.post h4 { font-size: 14px; line-height: 1.4; }
.post time { display: block; font-size: 12px; color: var(--ink-4); margin-top: 8px; }

/* -------------------------------------------------------------- footer --- */
.footer { background: var(--navy); color: #fff; padding: 60px 0 0; margin-top: 84px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer p { font-size: 14px; opacity: .62; margin-top: 14px; max-width: 34ch; }
.footer h5 { font-size: 14px; font-weight: 800; margin: 0 0 16px; }
.footer li + li { margin-top: 10px; }
.footer li a { font-size: 14px; opacity: .62; }
.footer li a:hover { opacity: 1; color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,.09); display: grid; place-items: center;
}
.socials a:hover { background: var(--accent); }
.footer__trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 24px 0;
}
.footer__trust .trust__icon { background: rgba(255,255,255,.09); color: #fff; }
.footer__trust .trust__item span { color: rgba(255,255,255,.55); }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0;
  font-size: 13px; opacity: .5; text-align: center;
}

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 1080px) {
  .dest-grid, .deal-grid, .getaway-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .fields .btn { grid-column: 1 / -1; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .hero__grid, .commit, .member, .limited, .app { grid-template-columns: 1fr; }
  .hero__art { justify-content: center; margin-top: 12px; }
  .hero__art-main { height: 340px; max-width: 100%; }
  .hero__art-plane { width: 30%; left: 0; top: -4%; }
  .hero__art-badge { left: 0; bottom: 4%; }
  .app { padding-bottom: 0; }
  .app__phone { width: 62%; }
  .trust, .stats-strip { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .member__crown { right: 26px; }
}
@media (max-width: 560px) {
  :root { --wrap: 100%; --pad: 16px; }
  .dest-grid, .deal-grid, .getaway-grid, .post-grid,
  .trust, .stats-strip, .commit__stats, .limited__cards,
  .footer__trust, .footer__grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .searchbox { padding: 16px; }
  .tabs { overflow-x: auto; }
  .stats-strip .trust__item { border-right: 0; }
}

.footer__sig { display: inline-block; margin-top: 6px; font-size: 12px; }
.footer__sig a { font-weight: 700; opacity: 1; }
.footer__sig a:hover { color: var(--accent); }

/* ------------------------------------------------------- enquiry panel --- */
.enquiry {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(20, 16, 59, .55); padding: 20px;
}
.enquiry[open], .enquiry.is-open { display: grid; }
.enquiry__card {
  background: #fff; border-radius: var(--r-lg); padding: 28px;
  width: min(440px, 100%); box-shadow: var(--shadow-lg);
}
.enquiry__card h4 { font-size: 19px; }
.enquiry__card p  { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.enquiry__lines {
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px; margin-top: 16px;
  font-size: 13px; color: var(--ink-2);
}
.enquiry__lines div + div { margin-top: 4px; }
.enquiry__actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.enquiry__actions .btn { flex: 1 1 auto; justify-content: center; }

/* ==========================================================================
   Motion

   Everything here is opt-in through data-reveal / data-count, and everything
   is switched off wholesale under prefers-reduced-motion. Nothing in the page
   depends on JavaScript running: the no-js state is the finished state, and
   the observer only takes elements away and hands them back.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {

  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.22, .8, .3, 1),
                transform .7s cubic-bezier(.22, .8, .3, 1);
    transition-delay: var(--delay, 0ms);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }

  [data-reveal="left"]  { transform: translateX(-26px); }
  [data-reveal="right"] { transform: translateX(26px); }
  [data-reveal="scale"] { transform: scale(.94); }

  /* hero art drifts once on load, then the plane keeps moving */
  .hero__art-main { animation: rise 1.1s cubic-bezier(.22, .8, .3, 1) both; }
  .hero__art-plane { animation: fly 9s ease-in-out infinite; }
  .hero__art-badge { animation: rise 1.1s cubic-bezier(.22, .8, .3, 1) .35s both; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(30px) scale(.97); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes fly {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(14px, -12px) rotate(-2deg); }
  }

  /* cards lift a touch more decisively than before */
  .deal, .getaway, .post, .alt, .quote {
    transition: transform .28s cubic-bezier(.22, .8, .3, 1),
                box-shadow .28s ease;
  }
  .post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .quote:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

  .dest img { transition: transform .7s cubic-bezier(.22, .8, .3, 1); }

  /* the primary button gets a light sweep on hover */
  .btn--primary { position: relative; overflow: hidden; }
  .btn--primary::after {
    content: ""; position: absolute; inset: 0 auto 0 -40%;
    width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-18deg); transition: left .5s ease;
  }
  .btn--primary:hover::after { left: 120%; }

  .nav { transition: box-shadow .3s ease, transform .3s ease; }
  .nav-shell.is-stuck .nav { box-shadow: var(--shadow); }
}

/* counters must not collapse the layout while they tick */
[data-count] { font-variant-numeric: tabular-nums; }

/* enquiry form inside the panel */
.enquiry__note { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.enquiry__form label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--ink-3); margin: 14px 0 5px;
}
.enquiry__form input, .enquiry__form textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-tint); color: var(--ink);
}
.enquiry__form input:focus, .enquiry__form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; background: #fff;
}
.enquiry__form textarea { resize: vertical; }
.enquiry__card { max-height: 90vh; overflow-y: auto; }

/* ------------------------------------------------ mobile overflow guard --- */
@media (max-width: 560px) {
  .nav .btn--sm, .nav-shell .btn--sm { display: none; }
  .tabs { max-width: 100%; -webkit-overflow-scrolling: touch; }
  .tab { flex: 0 0 auto; }
  main, section, article, .post-scroll { min-width: 0; max-width: 100%; }
}
html, body { overflow-x: clip; }
