/* =====================================================
   Travel Agency - Theme (css/theme.css)
   The new design: colours, type, header, hero search, sections and footer.
   Loaded after Bootstrap 5 and css/fonts.css.
   ===================================================== */

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;
  /* Brand */
  --deep: #0b3a38;          /* headings, top bar, footer */
  --teal: #12a89f;          /* buttons, links, accents */
  --teal-light: #7fe3da;    /* accents on dark backgrounds */
  --teal-dark: #0b7670;     /* small teal text on light backgrounds (AA contrast) */
  --mint: #e7f6f5;          /* soft teal fills */
  --red: #d32a33;           /* call-to-action, prices */
  --sun: #fff799;           /* highlights on dark teal */
  --sand: #ffd9a6;          /* hero label */

  /* Neutrals */
  --bg: #f6f9f9;
  --surface: #ffffff;
  --text: #4f6967;
  --muted: #5c7472;
  --rule: #e2ebea;

  /* Roles (dark mode redefines these) */
  --ink: #0b3a38;           /* headings and strong text */
  --link: #0b7670;          /* links and small accent text */
  --surface-2: #f3f8f8;     /* hover and soft panels */
  --fill: #e6eeed;          /* tracks, chips, neutral fills */
  --line: #c9d6d5;          /* input and button borders */
  --line-2: #b8cfcd;        /* stronger borders, inactive dots */
  --ok: #11795c;            /* included, refundable, savings */
  --danger-ink: #a3121b;    /* error text */
  --danger-bg: #fde8e9;     /* error background */
  --red-ink: #d32a33;       /* red text: last rooms, next-day arrivals */

  /* Type */
  --font-head: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Onest', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --wrap: 1140px;
  --gutter: 32px;
  --radius: 18px;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-link-color-rgb: 13, 127, 120;
  --bs-link-hover-color-rgb: 11, 58, 56;
}


/* ---------- Dark mode ----------
   The header switch sets data-theme="dark" on <html> (saved for the next
   visit). Only the color tokens change; every component follows them. */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1716;
  --surface: #12201f;
  --surface-2: #172927;
  --fill: #1e3331;
  --mint: #163432;
  --rule: #213634;
  --line: #2f4946;
  --line-2: #3d5a57;
  --ink: #e4f2f0;
  --text: #b9cdca;
  --muted: #8ea8a4;
  --link: #66d6cb;
  --deep: #081312;
  --ok: #58cfa3;
  --danger-ink: #ff9aa0;
  --danger-bg: #3a1c1f;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-link-color-rgb: 102, 214, 203;
}
[data-theme="dark"] .site-header .logo__tag span { background: var(--teal-dark); }
[data-theme="dark"] .site-header { background: var(--surface); }

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

html { scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font: 400 16px/1.6 var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-width: 320px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 1000;
  background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 10px;
}

.kicker {
  display: block;
  font: 600 12px/1.2 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--link);
}

.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px;
  padding: 12px 22px;
  font: 500 15px/1 var(--font-body);
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn-pill:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b51f27; color: #fff; }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--teal-dark); color: #fff; }

/* Scroll reveal: only hidden when scripts run (js/theme.js adds .is-in). */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Top bar ---------- */

.topbar { background: var(--deep); color: #b9d6d3; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item i { color: var(--teal-light); }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.topbar__social { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; font-size: 15px; }


/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }

.logo { display: grid; justify-items: start; line-height: 1; text-decoration: none; margin-right: auto; }
.logo__name { font: 800 23px var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.logo__tag { display: flex; gap: 2px; margin-top: 5px; }
.logo__tag span {
  width: 14px; height: 14px; display: grid; place-items: center; border-radius: 2px;
  background: var(--deep); color: #fff; font: 700 9px/1 var(--font-body);
}

.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 28px 12px; font: 500 15px var(--font-body); color: var(--text); text-decoration: none;
  position: relative;
}
.nav > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--teal); transform: scaleX(0); transition: transform .25s ease;
}
.nav > li:hover > a, .nav > li:focus-within > a, .nav > li.is-current > a { color: var(--link); }
.nav > li.is-current > a::after, .nav > li:hover > a::after { transform: scaleX(1); }
.nav .fa-chevron-down { font-size: 10px; transition: transform .2s ease; }

.sub-toggle { display: none; }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 10;
  list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 20px 50px -24px rgba(8, 50, 48, 0.4);
  display: none;
}
.submenu li { position: relative; }
.submenu a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.submenu a:hover, .submenu a:focus-visible { background: var(--mint); color: var(--link); }
.submenu .submenu { top: -9px; left: calc(100% + 8px); }
.submenu .fa-chevron-right { font-size: 10px; color: var(--muted); }

/* Signed-in header: inbox bell and the account menu */
.inbox-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); font-size: 19px; text-decoration: none; }
.inbox-link:hover { background: var(--mint); color: var(--ink); }
.inbox-link__dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff; }
.account__btn--user { padding: 0 16px 0 5px; }
.avatar--sm { width: 36px; height: 36px; font-size: 13px; background: var(--teal); }
.account__who { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.account__who b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 17px; }
.account__who small { color: var(--muted); font-size: 13px; }
.tier-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--deep); color: #cfe5e2; font-size: 13px; }
.tier-card p { grid-column: 1; margin: 0; }
.tier-card__ring { grid-column: 2; grid-row: 1 / span 2; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sun) var(--done), rgba(255, 255, 255, 0.15) 0); }
.tier-card__ring span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--deep); font-size: 10px; line-height: 1.1; text-align: center; }
.tier-card__ring b { font: 600 16px var(--font-head); color: #fff; }
.tier { display: inline-block; padding: 2px 9px; border-radius: 6px; font: 700 11px var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
.tier--gold { background: linear-gradient(135deg, #f7d774, #d9a92b); color: #3d2c00; }
.count-pill { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.account__links button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 8px; border: 0; border-radius: 10px; background: none; color: var(--ink); font-weight: 500; text-align: left; }
.account__links button:hover { background: var(--mint); }
.account__links button i { width: 18px; text-align: center; color: var(--link); }

/* "Pages" menu: every page in three columns */
.site-header .wrap { position: relative; }
.nav > li.has-mega { position: static; }
.mega { left: var(--gutter); right: var(--gutter); top: calc(100% - 6px); padding: 20px 14px 14px; gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega__title { display: block; padding: 0 12px 8px; font: 600 11px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Account menu (signed out) */
.account { position: relative; }
.account__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--deep); color: #fff; font: 600 15px var(--font-body); white-space: nowrap;
}
.account__btn i { font-size: 18px; }
.account__btn:hover, .account__btn[aria-expanded="true"] { background: var(--teal-dark); }
.account__menu { width: 320px; padding: 20px; border: 1px solid var(--rule); border-radius: 18px; --bs-dropdown-spacer: 10px; box-shadow: 0 24px 60px -24px rgba(8, 50, 48, 0.45); }
.account__lead { margin: 0 0 14px; font-size: 15px; }
.account__lead b { display: block; font: 600 19px/1.25 var(--font-head); color: var(--ink); letter-spacing: -0.01em; margin-bottom: 4px; }
.account__signin { width: 100%; justify-content: center; }
.account__create { display: block; text-align: center; margin: 12px 0 0; font-weight: 600; text-decoration: none; }
.account__create:hover { text-decoration: underline; }
.account__links { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); display: grid; }
.account__links a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.account__links a:hover { background: var(--mint); }
.account__links i { width: 18px; text-align: center; color: var(--link); }


.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--rule);
  background: var(--surface); color: var(--ink); font-size: 18px;
}

@media (min-width: 1200px) {
  /* Open at once on hover or keyboard focus: no fade to wait for. */
  .nav li:hover > .submenu, .nav li:focus-within > .submenu { display: block; }
  .nav li:hover > .mega, .nav li:focus-within > .mega { display: grid; }
}

.nav__icon, .nav-foot, .nav-mobile { display: none; }

@media (max-width: 1199.98px) {
  .nav > li.nav-mobile { display: flex; }
  .nav > li.nav-desktop { display: none; }
  /* One row: logo, bell, account, menu button */
  .site-header .wrap { flex-wrap: nowrap; min-height: 68px; gap: 8px; }
  .logo { margin-right: auto; }
  .logo__name { font-size: 19px; }
  .logo__tag span { width: 12px; height: 12px; font-size: 8px; }
  .menu-btn { display: grid; place-items: center; order: 3; flex: none; }
  .inbox-link { order: 1; }
  .account { order: 2; }

  /* The menu: a full-height panel under the header */
  .main-nav {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 108px); z-index: 99;
    overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--bg); border-top: 1px solid var(--rule);
  }
  .main-nav.is-open { display: flex; flex-direction: column; animation: rise .25s ease-out; }
  body.nav-open { overflow: hidden; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--rule); }
  .nav > li > a { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
  .nav > li > a::after { display: none; }
  .nav > li > a .fa-chevron-down { display: none; }
  .nav__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--mint); color: var(--link); font-size: 15px; flex: none; }
  .nav > li.is-current > a { color: var(--link); }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
  .sub-toggle i { transition: transform .2s ease; }
  .sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  .submenu, .submenu .submenu {
    position: static; display: none; flex-basis: 100%; min-width: 0;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px 52px; background: none;
  }
  li.is-open > .submenu { display: block; animation: rise .2s ease-out; }
  li.is-open > .mega { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .submenu a { padding: 10px 12px; font-size: 15px; white-space: normal; }
  .mega__title { padding: 10px 12px 2px; }
  .submenu .fa-chevron-right { display: none; }

  .nav-foot { display: grid; gap: 4px; margin-top: auto; padding-top: 20px; }
  .nav-foot a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text); text-decoration: none; font-weight: 500; }
  .nav-foot i { width: 20px; text-align: center; color: var(--link); }
}
@media (max-width: 575.98px) {
  .account__btn--user .account__chev { display: none; }
  .account__btn--user { padding: 0 6px; }
  .inbox-link { width: 40px; }
  li.is-open > .mega { grid-template-columns: 1fr; }
}

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

.hero { position: relative; height: 700px; background: #2f7fb8; }
/* The photo sits on its own layer, so menus and scrolling never repaint it. */
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 4%;
  transform: translateZ(0);
}
/* Curved bottom edge: a page-coloured shape drawn over the photo (cheaper than clipping it). */
.hero::after {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; height: 57px; pointer-events: none;
  /* The page color cut to a smooth vector curve, so it follows light and dark mode
     (an SVG edge is anti-aliased; a gradient edge looks stepped). */
  background: var(--bg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0 Q50 20 100 0 V10 H0 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0 Q50 20 100 0 V10 H0 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
/* Light sky behind the headline, darker sea behind the search. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(0deg, rgba(4, 32, 48, 0.6) 0%, rgba(4, 32, 48, 0) 40%);
}
.hero__copy {
  position: absolute; z-index: 2; top: 40px; left: var(--gutter); right: var(--gutter);
  display: grid; gap: 10px; justify-items: center; text-align: center;
}
.hero__kicker { font: 600 12px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--link); }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 60px); line-height: 1; color: var(--ink);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.9);
}
.hero h1 span { color: var(--link); }

/* Home 2 and Home 3: slideshow or video behind white type */
.hero--dark { background: var(--deep); }
.hero--dark::before {
  background:
    linear-gradient(180deg, rgba(4, 28, 30, 0.55) 0%, rgba(4, 28, 30, 0) 38%),
    linear-gradient(0deg, rgba(4, 28, 30, 0.7) 0%, rgba(4, 28, 30, 0) 45%);
}
.hero--dark .hero__kicker { color: var(--sun); }
.hero--dark h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero--dark h1 span { color: var(--teal-light); }
.hero__slider { position: absolute; inset: 0; z-index: 0; }
.hero__slider .swiper-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { object-fit: cover; }
.hero__place { position: absolute; z-index: 3; right: var(--gutter); top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(4, 28, 30, 0.6); color: #fff; font-size: 13px; font-weight: 600; }
.hero__place i { color: var(--sun); }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; --swiper-pagination-top: 262px; --swiper-pagination-bottom: auto; display: flex; justify-content: center; gap: 8px; }
.hero__dots { --swiper-pagination-bullet-horizontal-gap: 0; gap: 16px; }
.hero__dots .swiper-pagination-bullet { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.55); opacity: 1; border-radius: 8px; transition: width .25s ease; }
.hero__dots .swiper-pagination-bullet-active { width: 24px; background: var(--surface); }
.hero__pause { position: absolute; z-index: 3; left: var(--gutter); top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(4, 28, 30, 0.6); color: #fff; font: 600 13px var(--font-body); }
.hero__pause:hover { background: rgba(4, 28, 30, 0.85); }

/* ---------- Search (hero) ---------- */

.search {
  position: absolute; z-index: 3; left: 50%; top: 392px; transform: translateX(-50%);
  width: min(1100px, calc(100% - 2 * var(--gutter)));
  display: grid; gap: 12px;
}
.search__tabs {
  justify-self: center; display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(8, 38, 50, 0.72);
}
.search__tab {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 8px 16px; background: none; color: #fff; font: 600 14px var(--font-body);
}
.search__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); }
.search__tab:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, 0.12); }
/* The bar stays put on every tab; options and extras sit in one row below it. */
.search__panel form, .results-band form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
form[data-search] .sbar { order: 0; flex: 1 0 100%; }
form[data-search] .search__opts { order: 1; }
form[data-search] .search__extra { order: 2; }
form[data-search] { position: relative; }
form[data-search] .search__error { position: absolute; z-index: 4; left: 0; top: calc(100% + 8px); }

/* Option chips above the bar (trip type, cabin, rental type, discount code) */
.search__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt__btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 7px 14px; background: rgba(8, 38, 50, 0.72); color: #fff; font: 600 14px var(--font-body);
}
.opt__btn:hover { background: rgba(8, 38, 50, 0.85); }
.opt__chev { font-size: 10px; transition: transform .15s ease; }
.opt__btn[aria-expanded="true"] .opt__chev { transform: rotate(180deg); }

/* Under the bar: checkboxes and notes, on the dark lower part of the photo */
.search__extra { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; color: #fff; font-size: 14px; }
.search__extra a { color: #fff; font-weight: 600; }
.chk { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; font-weight: 500; }
.chk input { width: 20px; height: 20px; accent-color: var(--teal); }
.search__error { margin: 0; min-height: 0; color: #fff; font-weight: 600; font-size: 14px; }
.search__error:empty { display: none; }
.search__error:not(:empty) { display: inline-flex; gap: 8px; align-items: center; justify-self: start; background: var(--red); padding: 6px 12px; border-radius: 10px; }

/* The bar */
.sbar {
  position: relative; display: flex; align-items: stretch;
  background: var(--surface); border-radius: 999px; padding: 8px; min-height: 72px;
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.55);
}
.sf { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; }
.sf + .sf::before, .sbar__swap + .sf::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--rule); }
.sbar__swap + .sf::before { display: none; }
.sf--loc { flex-grow: 1.3; }
.sf--dates { flex-grow: 1.5; }
.sf--trav { flex-grow: 1; }
.sf--times { flex-grow: 1.25; }
.sf__icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--ink); font-size: 18px; pointer-events: none; }
.sf input[type="text"], .sf__btn {
  width: 100%; height: 100%; min-height: 56px; border: 0; background: none; border-radius: 999px;
  padding: 0 40px 0 50px; font: 500 16px var(--font-body); color: var(--ink); text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sf input[type="text"]::placeholder { color: var(--muted); }
.sf input[type="text"]:focus, .sf__btn[aria-expanded="true"] { outline: none; background: var(--mint); }
.sf input[type="text"]:focus-visible, .sf__btn:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); }
.sf__btn:hover { background: var(--surface-2); }
.sf__value.is-empty { color: var(--muted); }
.sf.is-invalid input[type="text"] { box-shadow: inset 0 0 0 2px var(--red); }
.sf__clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--fill); color: var(--muted); font-size: 13px;
  display: none; place-items: center;
}
.sf__clear:hover { background: var(--fill); color: var(--ink); }
.sf__clear .fa-circle-xmark::before { content: "\f00d"; }
/* The clear button shows while the field is in use, so the bar stays calm. */
.sf.has-value:hover .sf__clear, .sf.has-value:focus-within .sf__clear { display: grid; }
@media (hover: none) { .sf.has-value .sf__clear { display: grid; } }
.sbar__swap {
  flex: none; align-self: center; width: 44px; height: 44px; margin: 0 6px; z-index: 2; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--surface); color: var(--link); font-size: 16px; display: grid; place-items: center;
  transition: transform .25s ease;
}
.sbar__swap:hover { transform: rotate(180deg); }
.sbar__go {
  flex: none; margin-left: 8px; display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px;
  padding: 0 28px; background: var(--red); color: #fff; font: 700 16px var(--font-body);
  transition: background-color .2s ease;
}
.sbar__go:hover { background: #b51f27; }

/* Times field (cars): two compact menus side by side */
.sf--times .sf__icon { left: 20px; }
.sf--times .sf__pair { display: flex; align-items: center; gap: 6px; padding-left: 46px; width: 100%; }
.sf--times .sf__pair > span { color: var(--muted); }
.sf .opt__btn { background: none; color: var(--ink); padding: 6px 10px; font-weight: 500; font-size: 15px; white-space: nowrap; border-radius: 12px; }
.sf .opt__label small { display: block; font: 600 11px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: left; }
.sf .opt__label { text-align: left; line-height: 1.25; }
.sf .opt__btn:hover, .sf .opt__btn[aria-expanded="true"] { background: var(--mint); }
.sf--menu .opt { width: 100%; height: 100%; }
.sf--menu .opt__btn { width: 100%; height: 100%; min-height: 56px; border-radius: 999px; padding-left: 50px; font-size: 16px; }
.sf--menu .opt__chev { margin-left: auto; margin-right: 10px; }

/* ---------- Popovers ---------- */

.sf-pop {
  position: absolute; z-index: 30; top: calc(100% + 12px); left: 0;
  background: var(--surface); color: var(--ink); border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(4, 30, 30, 0.45), 0 0 0 1px rgba(11, 58, 56, 0.06);
}
.sf-pop[hidden] { display: none; }
.sf-pop__head { display: none; }

/* Location suggestions */
.sf-list { width: max(100%, 440px); max-height: 420px; overflow-y: auto; list-style: none; margin: 0; padding: 10px; }
.sf-list__title { padding: 8px 14px 4px; font: 600 12px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sf-list li[role="option"] { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; cursor: pointer; }
.sf-list li[role="option"] i { width: 22px; text-align: center; font-size: 18px; margin-top: 3px; color: var(--ink); }
.sf-list li[role="option"] b { display: block; font-weight: 600; line-height: 1.3; }
.sf-list li[role="option"] small { display: block; font-size: 14px; color: var(--muted); }
.sf-list li[role="option"]:hover, .sf-list li[aria-selected="true"] { background: var(--mint); }
.sf-list mark { padding: 0; background: none; color: var(--link); }
.sf-list__empty { padding: 14px; color: var(--muted); }

/* Option menus */
.opt__list { min-width: 220px; list-style: none; margin: 0; padding: 8px; top: calc(100% + 8px); max-height: 320px; overflow-y: auto; }
.opt__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.opt__list li:hover, .opt__list li:focus { background: var(--mint); outline: none; }
.opt__list li[aria-selected="true"]::after { content: "\f00c"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: 13px; color: var(--link); }

/* Small panel (discount code) */
.opt__panel { width: 380px; padding: 22px; top: calc(100% + 8px); display: grid; gap: 14px; }
.opt__panel-top { display: flex; justify-content: space-between; align-items: center; }
.opt__panel-top b { font: 600 18px var(--font-head); }
.link-btn { border: 0; background: none; padding: 0; color: var(--link); font-weight: 600; }
.link-btn:hover { text-decoration: underline; }
.field-sm { display: grid; gap: 6px; font-size: 14px; font-weight: 600; margin: 0; }
.field-sm select, .field-sm input {
  height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: 500 16px var(--font-body); color: var(--ink); background: var(--surface);
}
.field-sm select:focus, .field-sm input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 168, 159, 0.2); }
.btn-done { border: 0; border-radius: 999px; background: var(--deep); color: #fff; font: 700 16px var(--font-body); padding: 13px 20px; }
.btn-done:hover { background: var(--teal-dark); }

/* Calendar */
.sf-cal { left: 50%; transform: translateX(-50%); width: min(760px, calc(100vw - 2 * var(--gutter))); padding: 18px 24px 22px; }
.sf-cal__tabs { display: flex; border-bottom: 1px solid var(--rule); margin: -4px -8px 14px; }
.sf-cal__tabs button { flex: 1; border: 0; background: none; padding: 12px; font: 600 16px var(--font-body); color: var(--ink); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sf-cal__tabs button[aria-pressed="true"] { color: var(--link); border-color: var(--teal); }
.sf-cal__range { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.sf-cal__range button { border: 0; background: none; padding: 4px 2px 8px; font: 600 22px var(--font-head); color: var(--ink); border-bottom: 3px solid transparent; letter-spacing: -0.01em; }
.sf-cal__range button small { display: block; font: 600 11px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: left; }
.sf-cal__range button.is-active { border-color: var(--teal); }
.sf-cal__range button.is-empty { color: var(--line-2); }
.sf-cal__months { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.sf-cal__nav { position: absolute; top: 2px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--link); box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.25); display: grid; place-items: center; z-index: 1; }
.sf-cal__nav:disabled { opacity: 0.35; box-shadow: none; }
.sf-cal__nav--prev { left: -6px; } .sf-cal__nav--next { right: -6px; }
.sf-cal__month { text-align: center; font: 600 18px var(--font-head); margin: 8px 0 12px; letter-spacing: -0.01em; }
.sf-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; text-align: center; }
.sf-cal__dow { font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.sf-cal__day { position: relative; height: 44px; min-width: 0; padding: 0; border: 0; background: none; font: 500 15px var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.sf-cal__day span { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto; border-radius: 50%; }
.sf-cal__day:hover:not(:disabled) span { box-shadow: inset 0 0 0 1.5px var(--deep); }
.sf-cal__day:disabled { color: var(--line-2); cursor: default; }
.sf-cal__day.is-today span { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.sf-cal__day.in-range::before, .sf-cal__day.is-start.has-end::before, .sf-cal__day.is-end::before {
  content: ""; position: absolute; top: 1px; bottom: 1px; left: 0; right: 0; background: var(--mint);
}
.sf-cal__day.is-start.has-end::before { left: 50%; }
.sf-cal__day.is-end::before { right: 50%; }
.sf-cal__day.is-start span, .sf-cal__day.is-end span { background: var(--teal); color: #fff; font-weight: 700; box-shadow: none; }
.sf-cal__day:focus-visible { outline: none; }
.sf-cal__day:focus-visible span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal); }
.sf-cal__foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 14px; }
.sf-cal__hint { margin-right: auto; color: var(--muted); font-size: 14px; }
.sf-flex { display: grid; gap: 16px; padding: 4px 4px 0; }
.sf-flex h3 { font-size: 18px; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 16px; font: 500 15px var(--font-body); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--deep); border-color: var(--ink); color: #fff; }

/* Travelers */
.sf-trav { right: 0; left: auto; width: 360px; padding: 20px 22px 22px; display: grid; gap: 4px; }
.sf-trav__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.sf-trav__row b { display: block; font-weight: 600; }
.sf-trav__row small { color: var(--muted); font-size: 13px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:disabled { opacity: 0.35; }
.stepper output { min-width: 18px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.sf-trav__ages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0 6px; }
.sf-trav__ages:empty { display: none; }
.sf-trav .btn-done { margin-top: 12px; }

/* ---------- Sections ---------- */

.section { padding-block: 96px 0; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 10px; }
.section__lead { max-width: 46ch; margin: 0; }
.section-title { font-size: clamp(30px, 3.6vw, 44px); }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* Cruises carousel */
.cruises { position: relative; }
.cruises .swiper { padding: 4px; margin: -4px; }
.cruise {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
  display: grid; height: auto;
}
.cruise__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cruise__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cruise:hover .cruise__photo img { transform: scale(1.05); }
.cruise__badge {
  position: absolute; left: 12px; top: 12px; background: var(--surface); color: var(--ink);
  font: 700 12px var(--font-body); padding: 5px 11px; border-radius: 999px;
}
.cruise__fav {
  position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.92); color: var(--red); display: grid; place-items: center;
}
.cruise__fav[aria-pressed="true"] i { font-weight: 900; }
.cruise__body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.cruise__body h3 { font-size: 23px; }
.cruise__body h3 a { color: inherit; text-decoration: none; }
.cruise__body h3 a::after { content: ""; position: absolute; inset: 0; }
.cruise { position: relative; }
.cruise__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.cruise__meta i { color: #f5b301; }
.cruise__foot {
  display: flex; justify-content: space-between; align-items: end; gap: 10px;
  border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px;
}
.price small { display: block; font-size: 12px; color: var(--muted); }
.price b { font: 600 26px var(--font-head); color: var(--red); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.cruise__fav { z-index: 2; }
.cruise__cta { position: relative; z-index: 2; }

.carousel-nav { display: flex; align-items: center; gap: 10px; }
.carousel-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; transition: background-color .2s ease, color .2s ease;
}
.carousel-nav button:hover { background: var(--deep); color: #fff; }
.carousel-nav button.swiper-button-disabled { opacity: 0.4; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dots { --swiper-pagination-bullet-horizontal-gap: 0; gap: 16px; }
.carousel-dots .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--line-2); opacity: 1; border-radius: 8px; transition: width .25s ease; }
.carousel-dots .swiper-pagination-bullet-active { width: 26px; background: var(--teal); }

/* Featured package */
.package {
  display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: 24px; overflow: hidden;
  background: var(--deep); color: #cfe5e2;
}
.package__photo { position: relative; min-height: 380px; }
.package__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.package__body { padding: 48px 44px; display: grid; gap: 16px; align-content: center; }
.package__body .kicker { color: var(--sun); }
.package__body h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.package__body p { margin: 0; }
.package__facts { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.package__facts i { color: var(--sun); margin-right: 6px; }
.package__buy { display: flex; align-items: center; gap: 20px; margin-top: 6px; flex-wrap: wrap; }
.package__buy .price small { color: #9fc0bc; }
.package__buy .price b { color: var(--sun); font-size: 36px; }

/* Happy customers */
.happy {
  display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: end; gap: 20px;
  border-radius: 24px; overflow: hidden;
  position: relative; isolation: isolate;
  background: url(../images/happy1.jpg) center / cover;
}
/* Teal tint over the map photo (an overlay instead of a blend mode, which is slow to repaint). */
.happy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 120, 113, 0.82); }
.happy__photo { width: 100%; max-width: 460px; margin-top: 34px; justify-self: center; }
.happy__photo img { display: block; width: 100%; height: auto; }
.happy__body { padding: 48px 48px 48px 0; display: grid; gap: 16px; color: #e6f6f4; }
.happy__body .kicker { color: var(--sun); }
.happy__body h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.happy__quote { margin: 0; font: 500 19px/1.55 var(--font-body); color: #fff; max-width: 46ch; }
.happy__cite { font-style: normal; font-weight: 600; color: var(--sun); }
.bars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 8px; }
.bar__label { display: flex; justify-content: space-between; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.bar__track { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.25); margin-top: 8px; overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--value); border-radius: 6px; background: var(--sun); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.js .bars:not(.is-in) .bar__fill { width: 0; }

/* Partners */
.partners {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; align-items: center;
  list-style: none; margin: 96px 0 0; padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
}
/* Fictional partner logos drawn inline, so they take the text color in both themes. */
.partners svg { display: block; width: 100%; max-width: 190px; height: auto; margin: 0 auto; color: var(--muted); transition: color .25s ease; }
.partners li:hover svg { color: var(--ink); }
.partner-mark { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.partner-name { fill: currentColor; font: 700 17px var(--font-head); letter-spacing: -0.01em; }
.partner-sub { fill: currentColor; font: 600 9px var(--font-body); letter-spacing: 0.16em; opacity: .8; }


/* ---------- Home: deals ---------- */

.section--tight { padding-block: 56px 0; }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--mint); color: var(--ink); }
.btn-outline { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-outline:hover { background: var(--mint); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.badge { display: inline-block; font: 700 11px var(--font-body); padding: 3px 8px; border-radius: 6px; }
.badge--sun { background: #ffe58a; color: #3d3000; }

.promo-bar {
  display: flex; align-items: center; gap: 20px; padding: 22px 28px; border-radius: 20px;
  background: var(--deep); color: #cfe5e2; text-decoration: none;
}
.promo-bar__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: var(--sun); font-size: 24px; }
.promo-bar__text { flex: 1; display: grid; gap: 2px; }
.promo-bar__text strong { font: 600 clamp(22px, 2.6vw, 30px) var(--font-head); color: #fff; letter-spacing: -0.02em; }
.promo-bar:hover .btn-light { background: var(--mint); }

.deal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.deal-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 30px 32px; display: grid; gap: 10px; justify-items: start; }
.deal-card h2 { font-size: clamp(22px, 2.4vw, 28px); }
.deal-card p { margin: 0 0 6px; }

.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: var(--mint); border-radius: 24px; padding: 36px 28px; }
.perk { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 0 12px; }
.perk__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--link); font-size: 22px; margin-bottom: 4px; }
.perk h3 { font-size: 22px; }
.perk p { margin: 0 0 6px; max-width: 30ch; }

/* ---------- Home: stays by type ---------- */

.stay-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.stay-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; }
.stay-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.stay-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 24, 24, 0.7)); }
.stay-tile span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font: 600 18px var(--font-head); letter-spacing: -0.01em; }
.stay-tile:hover img { transform: scale(1.05); }

/* ---------- Home: travel styles ---------- */

.style-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); margin-bottom: 24px; overflow-x: auto; }
.style-tab { border: 0; background: none; padding: 12px 18px; font: 600 15px var(--font-body); color: var(--text); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.style-tab[aria-selected="true"] { color: var(--link); border-color: var(--teal); }
.style-tab:hover { color: var(--ink); }
.style-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.style-panel[hidden] { display: none; }
.place { display: grid; gap: 2px; text-decoration: none; color: var(--text); }
.place__photo { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 10px; }
.place__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.place:hover .place__photo img { transform: scale(1.05); }
.place__tag { position: absolute; left: 12px; top: 12px; background: rgba(4, 24, 24, 0.82); color: #fff; font: 600 12px var(--font-body); padding: 4px 10px; border-radius: 6px; }
.place strong { font: 600 19px var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.place__where { font-size: 14px; color: var(--muted); }
.place__price { font-size: 13px; color: var(--muted); margin-top: 6px; }
.place__price b { display: block; font: 600 22px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Home: rewards banner and spotlight ---------- */

.rewards-banner {
  position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto; align-items: center;
  border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; background: var(--surface); text-decoration: none; color: var(--text); min-height: 180px;
}
.rewards-banner__photo { align-self: stretch; position: relative; }
.rewards-banner__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rewards-card {
  position: absolute; left: calc(45% - 52px); top: 50%; transform: translateY(-50%) rotate(-4deg); width: 104px; height: 140px; border-radius: 12px;
  background: linear-gradient(150deg, #0b3a38, #0d7f78); color: #fff; padding: 14px 12px; display: grid; align-content: space-between;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
}
.rewards-card b { font: 600 22px var(--font-head); letter-spacing: -0.02em; }
.rewards-card small { font: 600 9px var(--font-body); letter-spacing: 0.12em; color: var(--sun); }
.rewards-banner__text { padding: 28px 28px 28px 80px; display: grid; gap: 4px; }
.rewards-banner__text strong { font: 600 clamp(20px, 2.2vw, 26px) var(--font-head); color: var(--ink); letter-spacing: -0.02em; }
.rewards-banner__go { padding-right: 28px; color: var(--ink); font-size: 18px; transition: transform .2s ease; }
.rewards-banner:hover .rewards-banner__go { transform: translateX(4px); }

.spot-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 22px; }
.spot-badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--red); color: #fff; font: 600 20px var(--font-head); }
.spot-head h2 { font-size: clamp(26px, 3vw, 34px); }
.spot-head p { margin: 4px 0 0; }
.spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.spot { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; color: #fff; text-decoration: none; }
.spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.spot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 24, 24, 0.65)); }
.spot span { position: absolute; left: 16px; bottom: 14px; z-index: 1; font: 600 16px var(--font-body); }
.spot:hover img { transform: scale(1.05); }

@media (max-width: 991.98px) {
  .deal-cards, .perks, .spots { grid-template-columns: 1fr; }
  .perks { gap: 28px; }
  .stay-tiles { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .stay-tile { scroll-snap-align: start; }
  .style-panel { grid-template-columns: 1fr 1fr; }
  .rewards-banner { grid-template-columns: 1fr auto; }
  .rewards-banner__photo { grid-column: 1 / -1; min-height: 180px; }
  .rewards-card { left: auto; right: 24px; top: 30px; transform: rotate(-4deg); }
  .rewards-banner__text { padding: 22px 24px; }
  .spot-head { grid-template-columns: auto 1fr; }
  .spot-head .link-more { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .promo-bar { flex-wrap: wrap; padding: 22px; }
  .promo-bar .btn-pill { width: 100%; justify-content: center; }
  .style-panel { grid-template-columns: repeat(4, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .place { scroll-snap-align: start; }
  .stay-tiles { grid-template-columns: repeat(5, 78%); }
}

/* =====================================================
   Inner pages
   ===================================================== */

/* ---------- Page heading and breadcrumb ---------- */

.page-head { padding-block: 30px 0; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); }
.page-head .lead { max-width: 62ch; margin: 14px 0 0; font-size: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: var(--link); text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }

/* Photo heading (about, gallery, blog) */
.page-hero {
  position: relative; isolation: isolate; display: grid; align-items: end; min-height: 440px; margin-top: 28px;
  border-radius: 28px; overflow: hidden; background: var(--deep); color: #e6f6f4;
}
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(4, 24, 24, 0) 30%, rgba(4, 24, 24, 0.78) 100%); }
.page-hero__body { padding: 48px; max-width: 760px; display: grid; gap: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.page-hero p { margin: 0; font-size: 18px; max-width: 56ch; }
.page-hero .crumbs { margin: 0; color: #cfe5e2; }
.page-hero .crumbs a { color: #fff; }
.page-hero .kicker { color: var(--sun); }

/* ---------- Building blocks ---------- */

.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 28px; }
.panel-title { font-size: 20px; letter-spacing: -0.01em; }
.icon-tile { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--mint); color: var(--link); font-size: 20px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li + li { margin-top: 6px; }
.prose a { font-weight: 500; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--teal);
  font: 500 22px/1.45 var(--font-head); color: var(--ink); letter-spacing: -0.01em;
}
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: 18px; width: 100%; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 24px; }
.stat b { display: block; font: 600 clamp(30px, 3.4vw, 42px)/1 var(--font-head); color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 15px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.tile h3 { font-size: 21px; }
.tile p { margin: 0; }
.tile__go { margin-top: 6px; font-weight: 600; color: var(--link); }
a.tile:hover { border-color: var(--teal); transform: translateY(-2px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 28px 26px 26px; border-radius: 20px; background: var(--mint); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 15px var(--font-head); color: var(--link); letter-spacing: 0.04em; margin-bottom: 14px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { margin: 0; }

.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { display: grid; gap: 4px; }
.person img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 10px; }
.person h3 { font-size: 20px; }
.person__role { font-size: 14px; font-weight: 600; color: var(--link); }
.person p { margin: 6px 0 0; font-size: 15px; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 24px; background: var(--deep); color: #cfe5e2;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cta-band p { margin: 8px 0 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---------- Dropdowns (js/theme.js turns each select into one) ---------- */

.dd { position: relative; }
.dd select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.dd__btn {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 15px var(--font-body); text-align: left;
}
.dd__btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__btn::after { content: "\f078"; font: 900 10px "Font Awesome 7 Free"; color: var(--muted); transition: transform .15s ease; }
.dd__btn:hover { border-color: var(--line-2); }
.dd__btn[aria-expanded="true"] { border-color: var(--teal); }
.dd__btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.dd__btn:focus { outline: none; }
.dd__btn:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 168, 159, 0.2); }
.dd__btn[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 42, 51, 0.15); }
.dd__list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; max-height: 300px; overflow-y: auto;
  list-style: none; margin: 0; padding: 6px; background: var(--surface); border-radius: 14px;
  box-shadow: 0 24px 50px -18px rgba(4, 30, 30, 0.4), 0 0 0 1px rgba(11, 58, 56, 0.08);
}
.dd__list[hidden] { display: none; }
.dd__list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; white-space: nowrap; }
.dd__list li:hover, .dd__list li:focus { background: var(--mint); outline: none; }
.dd__list li[aria-selected="true"] { font-weight: 700; }
.dd__list li[aria-selected="true"]::after { content: "\f00c"; font: 900 12px "Font Awesome 7 Free"; color: var(--link); }
.dd__list--end { left: auto; right: 0; }

/* Sort menu: a pill */
.sort .dd__btn { height: 38px; min-height: 0; border-radius: 999px; padding: 0 16px 0 36px; font-weight: 600; font-size: 14px; }
.sort .dd__btn::after { color: var(--ink); }
.sort .dd { min-width: 210px; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; margin: 0; }
.field > span, .field > label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font: 500 16px var(--font-body); color: var(--ink); background: var(--surface);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 168, 159, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: #8aa09e; }
.field__hint { font-size: 13px; color: var(--muted); }
.form-note:empty { display: none; }
.notification_ok, .notification_error { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.notification_ok { background: var(--mint); color: var(--ink); }
.notification_error { background: var(--danger-bg); color: var(--danger-ink); }

/* ---------- About ---------- */

.about-photo { position: relative; }
.about-photo img { border-radius: 24px; width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.about-photo__note {
  position: absolute; left: -24px; bottom: 28px; max-width: 240px; padding: 18px 20px; border-radius: 18px;
  background: var(--surface); box-shadow: 0 24px 50px -24px rgba(8, 50, 48, 0.45); font-size: 15px; color: var(--ink);
}
.about-photo__note b { display: block; font: 600 30px/1 var(--font-head); color: var(--red); margin-bottom: 6px; letter-spacing: -0.02em; }

/* ---------- Contact ---------- */

.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.office { display: grid; gap: 12px; align-content: start; }
.office h3 { font-size: 22px; }
.office__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.office__lines li { display: flex; gap: 10px; }
.office__lines i { width: 16px; margin-top: 5px; color: var(--link); font-size: 13px; }
.office__lines a { color: var(--ink); text-decoration: none; font-weight: 500; }
.office__lines a:hover { color: var(--link); text-decoration: underline; }
.office__open { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--link); }
.office__open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px; align-items: stretch; }
.contact-grid .panel { padding: 36px; }
.contact-grid h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.contact-grid .panel-title { font-size: 20px; }
.map-box { position: relative; border-radius: 20px; overflow: hidden; min-height: 420px; background: var(--mint); }
.map-box .google-map { position: absolute; inset: 0; }
.map-placeholder { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #dcefed 0 14px, #e7f6f5 14px 28px); }
.map-placeholder::after { content: "Map appears here once a Google Maps key is set in js/googlemap.js"; max-width: 26ch; text-align: center; font-size: 14px; font-weight: 600; color: var(--link); padding: 14px 18px; border-radius: 12px; background: var(--surface); }
.quick-help { display: grid; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.quick-help a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--mint); color: var(--ink); text-decoration: none; font-weight: 600; }
.quick-help a:hover { background: #d6efec; }
.quick-help small { display: block; font-weight: 400; color: var(--muted); }
.quick-help .fa-arrow-right { margin-left: auto; font-size: 13px; }

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

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 18px; font: 600 15px var(--font-body); color: var(--ink); }
.filter-chips button:hover { border-color: var(--ink); }
.filter-chips button[aria-pressed="true"] { background: var(--deep); border-color: var(--ink); color: #fff; }
.filter-chips small { font-weight: 500; opacity: 0.7; margin-left: 4px; }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry > * { break-inside: avoid; margin-bottom: 18px; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--mint); text-align: left; color: #fff; }
.shot img { display: block; width: 100%; transition: transform .6s ease; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4, 24, 24, 0.66)); opacity: 0; transition: opacity .25s ease; }
.shot__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.shot__cap b { font: 600 18px var(--font-head); letter-spacing: -0.01em; }
.shot:hover img { transform: scale(1.04); }
.shot:hover::after, .shot:focus-visible::after, .shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
@media (hover: none) { .shot::after, .shot__cap { opacity: 1; transform: none; } }

.lightbox { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; background: #061c1b; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(3, 18, 18, 0.88); }
.lightbox figure { margin: 0; display: grid; }
.lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: #061c1b; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; font-size: 15px; }
.lightbox figcaption b { font-family: var(--font-head); font-size: 18px; }
.lightbox__btn { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--surface); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev, .lightbox__next { top: calc(50% - 46px); }
.lightbox__prev { left: 14px; } .lightbox__next { right: 14px; }

/* ---------- Blog ---------- */

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-card { position: relative; display: grid; gap: 10px; align-content: start; }
.post-card__photo { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.post-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__photo img { transform: scale(1.04); }
.post-card h2, .post-card h3 { font-size: 22px; letter-spacing: -0.02em; }
.post-card h2 a, .post-card h3 a { color: inherit; text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.post-meta .cat { font-weight: 700; color: var(--link); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }
.posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card--lead { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.post-card--lead .post-card__photo { aspect-ratio: 16 / 11; }
.post-card--lead h2 { font-size: clamp(26px, 3vw, 36px); }

.pager { display: flex; gap: 8px; list-style: none; padding: 0; margin: 40px 0 0; justify-content: center; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current="page"] { background: var(--deep); border-color: var(--ink); color: #fff; }

.sidebar { display: grid; gap: 22px; position: sticky; top: 104px; }
.sidebar .panel { padding: 24px; }
.sidebar h2 { font-size: 19px; margin-bottom: 14px; letter-spacing: -0.01em; }
.side-search { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.side-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 168, 159, 0.2); }
.side-search input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: 500 15px var(--font-body); color: var(--ink); }
.side-search input:focus { outline: none; }
.side-search--wide { width: 100%; max-width: 480px; }
.side-search button { border: 0; background: none; padding: 0 16px; color: var(--ink); }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 500; }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover { color: var(--link); }
.cat-list span { color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-post { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.mini-post img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.mini-post a { font: 600 15px/1.3 var(--font-head); color: var(--ink); text-decoration: none; }
.mini-post a::after { content: ""; position: absolute; inset: 0; }
.mini-post a:hover { color: var(--link); }
.mini-post small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.tags a:hover { background: var(--deep); color: #fff; }
.side-promo { position: relative; display: grid; gap: 10px; padding: 26px; border-radius: 20px; background: var(--deep); color: #cfe5e2; }
.side-promo h2 { color: #fff; margin: 0; font-size: 22px; }
.side-promo .kicker { color: var(--sun); }
.side-promo p { margin: 0; }
.side-promo .btn-pill { justify-self: start; margin-top: 4px; }

/* Single post */
.post-head { max-width: 820px; margin: 0 auto; text-align: center; padding-top: 36px; display: grid; gap: 16px; justify-items: center; }
.post-head h1 { font-size: clamp(34px, 4.6vw, 56px); }
.post-head .crumbs { justify-content: center; margin: 0; }
.post-cover { margin: 36px 0 0; }
.post-cover img { width: 100%; border-radius: 28px; aspect-ratio: 21 / 9; object-fit: cover; }
.author { display: flex; align-items: center; gap: 12px; text-align: left; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 600 16px var(--font-head); }
.avatar--lg { width: 64px; height: 64px; font-size: 22px; }
.author b { display: block; color: var(--ink); }
.author small { color: var(--muted); font-size: 14px; }
.post-body { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; padding-top: 48px; font-size: 17px; line-height: 1.75; }
.post-body > * { grid-column: 2; }
.post-share { grid-column: 1; grid-row: 1 / span 20; justify-self: start; position: sticky; top: 110px; align-self: start; display: grid; gap: 8px; }
.post-share a, .post-share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); display: grid; place-items: center; text-decoration: none; }
.post-share a:hover, .post-share button:hover { background: var(--deep); color: #fff; }
.tip-box { display: flex; gap: 16px; padding: 22px 24px; border-radius: 18px; background: var(--mint); margin: 1.6em 0; }
.tip-box p { margin: 0; }
.tip-box b { color: var(--ink); }
.author-box { display: flex; gap: 18px; padding: 26px; border-radius: 20px; border: 1px solid var(--rule); background: var(--surface); margin-top: 2em; }
.author-box h2 { font-size: 20px; margin: 0 0 6px; }
.author-box p { margin: 0; font-size: 16px; line-height: 1.6; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 2em; }

.comments { max-width: 720px; margin: 64px auto 0; }
.comments h2 { font-size: 28px; margin-bottom: 20px; }
.comment-list { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 22px; }
.comment { display: grid; grid-template-columns: 46px 1fr; gap: 14px; }
.comment__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.comment__meta b { color: var(--ink); }
.comment__meta small { color: var(--muted); }
.comment p { margin: 6px 0 4px; }
.comment .comment-list { margin: 18px 0 0; }

/* ---------- Status pages (booking confirmed, 404) ---------- */

.status { max-width: 760px; margin: 0 auto; padding-top: 56px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.status__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 34px; box-shadow: 0 0 0 12px var(--mint); margin-bottom: 10px; }
.status h1 { font-size: clamp(32px, 4.4vw, 52px); }
.status p { margin: 0; font-size: 18px; }
.status__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.itin { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 48px; align-items: start; }
.itin-card { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; }
.itin-card img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.itin-card h3 { font-size: 22px; margin-bottom: 6px; }
.itin-card + .itin-card { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 15px; }
.facts i { color: var(--link); margin-right: 6px; width: 14px; text-align: center; }
.summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; }
.summary-list b { color: var(--ink); font-variant-numeric: tabular-nums; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--rule); font-weight: 600; color: var(--ink); }
.summary-total b { font: 600 24px var(--font-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ref { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: var(--mint); color: var(--ink); font-weight: 500; }
.ref b { font: 600 18px var(--font-head); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flight-mark { display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--mint); color: var(--link); font-size: 30px; }
.flight-mark span { font: 600 15px var(--font-head); letter-spacing: 0.1em; color: var(--ink); }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps b { display: block; color: var(--ink); }
.next-steps p { margin: 2px 0 0; font-size: 15px; }

@media (max-width: 991.98px) {
  .two-col, .contact-grid, .blog-layout, .itin { grid-template-columns: 1fr; gap: 32px; }
  .tiles, .people { grid-template-columns: 1fr 1fr; }
  .posts--3 { grid-template-columns: 1fr; }
  .steps, .offices { grid-template-columns: 1fr; }
  .page-hero { min-height: 360px; }
  .page-hero__body { padding: 32px; }
  .about-photo__note { left: 16px; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .post-body { grid-template-columns: minmax(0, 1fr); }
  .post-body > * { grid-column: 1; }
  .post-share { grid-row: auto; position: static; display: flex; order: 99; margin-top: 1.6em; }
}
@media (max-width: 575.98px) {
  .page-hero { border-radius: 20px; min-height: 320px; }
  .page-hero__body { padding: 24px; }
  .tiles, .posts, .form-grid, .sidebar { grid-template-columns: 1fr; }
  .people { gap: 14px; }
  .person p { display: none; }
  .post-card--lead { grid-template-columns: 1fr; gap: 10px; }
  .cta-band { padding: 32px 24px; }
  .contact-grid .panel { padding: 24px; }
  .itin-card { grid-template-columns: 1fr; }
  .post-cover img { border-radius: 18px; aspect-ratio: 16 / 10; }
}

/* =====================================================
   Search results (stays, flights, cars, cruises)
   ===================================================== */

/* Search bar on a deep band at the top */
.results-band { background: var(--deep); padding-block: 16px; }
.results-band .sbar { min-height: 56px; padding: 5px; box-shadow: none; }
.results-band .sf input[type="text"], .results-band .sf__btn, .results-band .sf--menu .opt__btn { min-height: 46px; font-size: 15px; }
.results-band .sbar__go { padding: 0 22px; font-size: 15px; }
.results-band .opt__btn { padding: 6px 12px; font-size: 13px; }
.results-band .search__opts { margin: 0; }

.results-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 22px; font-size: 15px; }
.results h1 { font-size: clamp(24px, 2.4vw, 28px); }
.results-top { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.results-count { margin: 4px 0 0; font-size: 14px; }
.results-count b { color: var(--ink); }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort { position: relative; display: flex; align-items: center; margin: 0; }
.sort > i { position: absolute; z-index: 1; left: 14px; color: var(--ink); pointer-events: none; font-size: 14px; }
.sort select { height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 0 40px 0 36px; font: 600 14px var(--font-body); color: var(--ink); background-color: var(--surface); -webkit-appearance: none; appearance: none; cursor: pointer; }
.sort select:hover { border-color: var(--ink); }
.sort select:focus { outline: none; }
.sort select:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 168, 159, 0.2); }
.results-foot { margin: 28px 0 0; font-size: 13px; color: var(--muted); }
.filter-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; }

/* Segmented control (All / Hotels / Homes) */
.seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--fill); margin-bottom: 12px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 6px 16px; font: 600 14px var(--font-body); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 2px 8px -3px rgba(8, 50, 48, 0.35); }

/* Member prices bar with a switch */
.member-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 14px; background: var(--mint); margin-bottom: 12px; font-size: 14px; }
.member-bar b { color: var(--ink); }
.member-bar > div { flex: 1; }
.rewards-chip { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--deep); color: var(--sun); font: 600 17px var(--font-head); }
.switch { position: relative; flex: none; display: inline-flex; margin: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 48px; height: 28px; border-radius: 14px; background: var(--line-2); position: relative; transition: background-color .2s ease; }
.switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.switch input:checked + .switch__track { background: var(--teal-dark); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Active filter chips */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.active-filters button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 7px 14px; background: var(--deep); color: #fff; font: 500 14px var(--font-body); }
.active-filters button i { font-size: 12px; }
.active-filters .link-btn { background: none; color: var(--link); font-weight: 600; padding: 7px 4px; }

/* Filters column */
.filters { display: grid; gap: 4px; width: 100%; }
.filters-wrap .offcanvas-body { flex-direction: column; }
.fgroup { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 14px 0; min-width: 0; }
.fgroup:first-of-type { border-top: 0; }
.fgroup__title { display: block; float: left; width: 100%; margin: 0 0 9px; padding: 0; font: 600 15px var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.fgroup__title + * { clear: both; }
.fchecks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chk--dark { color: var(--ink); font-size: 14px; width: 100%; gap: 9px; }
.chk--dark input { width: 17px; height: 17px; }
.chk--dark input { flex: none; }
.chk--dark small { margin-left: auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fchecks--more:not(.is-open) li:nth-child(n + 6) { display: none; }
.star-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.star-btns button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 34px; font-size: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; }
.star-btns button i { font-size: 11px; color: #f5b301; }
.star-btns button[aria-pressed="true"] { background: var(--deep); border-color: var(--ink); color: #fff; }

.map-card { position: relative; display: grid; place-items: center; width: 100%; height: 100px; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; padding: 0; margin-bottom: 8px;
  background: linear-gradient(115deg, #eef4ea 0 42%, #cfeaf0 42% 58%, #eef4ea 58%); }
.map-card__art { position: absolute; left: 30%; top: 22%; color: var(--red); font-size: 24px; }
.map-card .btn-pill { position: relative; }
.map-card:hover .btn-pill { background: var(--teal-dark); color: #fff; box-shadow: none; }

/* Price slider with a histogram */
.price-range__bars { display: flex; align-items: end; gap: 2px; height: 36px; padding-inline: 8px; }
.price-range__bars span { flex: 1; border-radius: 3px 3px 0 0; background: #bcd9d6; min-height: 3px; }
.price-range__bars span.is-in { background: var(--teal); }
.price-range__slider { position: relative; height: 24px; }
.price-range__slider::before { content: ""; position: absolute; left: 8px; right: 8px; top: 11px; height: 3px; border-radius: 2px; background: var(--fill); }
.price-range__slider input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-range__slider input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--deep); cursor: grab; }
.price-range__slider input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--deep); cursor: grab; }
.price-range__slider input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(18, 168, 159, 0.35); }
.price-range__slider input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(18, 168, 159, 0.35); }
.price-range__slider input:focus { outline: none; }
.price-range__out { display: flex; justify-content: space-between; margin-top: 8px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Stay cards */
.stays { display: grid; gap: 12px; }
.stay { display: grid; grid-template-columns: 250px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.stay:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(8, 50, 48, 0.45); }
.stay__media { position: relative; min-height: 196px; }
.stay__photos { position: absolute; inset: 0; display: flex; overflow-x: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.stay__photos::-webkit-scrollbar { display: none; }
@media (hover: none) { .stay__photos { overflow-x: auto; } }
.stay__photos img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.stay__nav { position: absolute; top: calc(50% - 17px); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 13px; display: grid; place-items: center; opacity: 0; transition: opacity .2s ease; }
.stay__nav--prev { left: 10px; } .stay__nav--next { right: 10px; }
.stay__media:hover .stay__nav, .stay__nav:focus-visible { opacity: 1; }
@media (hover: none) { .stay__nav { opacity: 1; } }
.stay__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.stay__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); }
.stay__dots i.is-on { background: var(--surface); }
.stay__fav { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.95); color: var(--red); display: grid; place-items: center; }
.stay__fav[aria-pressed="true"] i { font-weight: 900; }
.stay__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 14px 18px; }
.stay__info { display: grid; gap: 3px; align-content: start; }
.stay__type { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; gap: 1px; color: #f5b301; font-size: 11px; }
.stay h2 { font-size: 19px; letter-spacing: -0.02em; }
.stay h2 a { color: inherit; text-decoration: none; }
.stay h2 a::after { content: ""; position: absolute; inset: 0; }
.stay h2 a:hover { color: var(--link); }
.stay__area { margin: 0; font-size: 14px; }
.stay__tags, .stay__amen { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; }
.stay__tags li { color: var(--ink); font-weight: 500; }
.stay__tags i { margin-right: 6px; font-size: 12px; }
.stay__tags .ok { color: var(--ok); }
.stay__amen { color: var(--muted); font-size: 13px; }
.stay__amen i { margin-right: 6px; color: var(--ink); }
.rating { display: flex; align-items: center; gap: 7px; margin: 4px 0 0; font-size: 13px; }
.rating b { display: grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 7px; background: var(--teal-dark); color: #fff; font: 700 13px var(--font-body); }
.rating span { font-weight: 600; color: var(--ink); }
.rating small { color: var(--muted); font-size: 13px; }
.stay__price { display: grid; justify-items: end; align-content: end; gap: 2px; text-align: right; min-width: 150px; }
.stay__badges { display: grid; justify-items: end; gap: 6px; align-self: start; margin-bottom: auto; }
.badge--red { background: var(--red); color: #fff; }
.badge--member { background: var(--deep); color: #fff; }
.badge--member i { margin-right: 5px; color: var(--sun); }
.badge--mint { background: var(--mint); color: var(--link); }
.stay__left { margin: 0; font-size: 13px; font-weight: 600; color: var(--red-ink); }
.stay__night { margin: 0; color: var(--muted); }
.stay__night s { font-size: 15px; }
.stay__night b { font: 600 23px var(--font-head); color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stay__night b.is-member { color: var(--link); }
.stay__total { margin: 0; font-size: 13px; color: var(--ink); line-height: 1.35; font-variant-numeric: tabular-nums; }
.stay__total small { color: var(--muted); font-size: 12px; }
.compare-chk { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.compare-chk input { width: 18px; height: 18px; accent-color: var(--teal-dark); }
.stay__fav, .stay__nav { z-index: 2; }

.inline-promo { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 16px; border: 1px dashed var(--line-2); background: var(--surface); }
.inline-promo b { color: var(--ink); font-family: var(--font-head); font-size: 16px; }
.inline-promo p { margin: 0; font-size: 13px; }
.inline-promo > div { flex: 1; }

.empty { display: grid; justify-items: center; gap: 12px; padding: 56px 24px; text-align: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; }
.empty h2 { font-size: 26px; }
.empty p { margin: 0; }
.empty .status__icon { width: 64px; height: 64px; font-size: 24px; box-shadow: 0 0 0 10px var(--mint); margin-bottom: 8px; }

/* Compare tray and dialogs */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--surface); border-top: 1px solid var(--rule); box-shadow: 0 -12px 30px -18px rgba(8, 50, 48, 0.4); padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.compare-tray .wrap { display: flex; align-items: center; gap: 16px; }
.compare-tray__text { margin-right: auto; font-weight: 600; color: var(--ink); }
body.has-tray .to-top { bottom: 84px; }

.sheet { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--text); }
.sheet::backdrop { background: rgba(3, 25, 25, 0.6); }
.sheet__head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: var(--surface); border-bottom: 1px solid var(--rule); }
.sheet__head h2 { font-size: 22px; }
.sheet__close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--mint); color: var(--ink); display: grid; place-items: center; }
.sheet__body { padding: 24px; }
.compare-table { overflow-x: auto; }
.compare-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare-table thead th { font: 600 17px/1.25 var(--font-head); color: var(--ink); }
.compare-table tbody th { font-weight: 600; color: var(--muted); width: 160px; }
.compare-table img { width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 10px; display: block; }
.compare-table .yes { color: var(--ok); }
.compare-table .no { color: #9aaeac; }

.sheet--map { width: min(1300px, 100vw - 32px); height: calc(100vh - 48px); }
.sheet--map[open] { display: flex; flex-direction: column; }
.stay-map { position: relative; flex: 1; min-height: 300px; overflow: hidden; }
.stay-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.stay-map__pins { position: absolute; inset: 0; }
.map-pin { position: absolute; transform: translate(-50%, -100%); border: 0; border-radius: 999px; padding: 6px 12px; background: var(--surface); color: var(--ink); font: 700 14px var(--font-body); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.45); white-space: nowrap; }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.map-pin:hover, .map-pin[aria-pressed="true"] { background: var(--deep); color: #fff; z-index: 2; }
.stay-map__card { position: absolute; left: 20px; bottom: 20px; z-index: 3; display: grid; grid-template-columns: 120px 1fr; gap: 14px; width: min(420px, calc(100% - 40px)); padding: 12px; border-radius: 18px; background: var(--surface); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.45); }
.stay-map__card img { width: 120px; height: 100%; min-height: 100px; object-fit: cover; border-radius: 12px; }
.stay-map__card h3 { font-size: 18px; margin-bottom: 4px; }
.stay-map__card p { margin: 0; font-size: 14px; }
.stay-map__card b { font: 600 20px var(--font-head); color: var(--ink); }

@media (max-width: 991.98px) {
  .results-layout { grid-template-columns: minmax(0, 1fr); }
  .filters-wrap .offcanvas-body { padding-top: 0; padding-bottom: 0; }
  .filters-done { position: sticky; bottom: 0; z-index: 2; padding: 24px 0 calc(14px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, transparent, var(--bs-offcanvas-bg, var(--bg)) 45%); }
  .filters-done .btn-pill { width: 100%; justify-content: center; }
  .filters-wrap.offcanvas-lg { --bs-offcanvas-width: min(400px, 100vw); }
  .results-band { padding-block: 16px; }
  .results-band .sbar { padding: 8px; }
}
@media (min-width: 992px) {
  .filters-wrap .offcanvas-header { display: none; }
  .filters-wrap { padding-left: 4px; }
}
@media (max-width: 767.98px) {
  .stay { grid-template-columns: minmax(0, 1fr); }
  .stay__media { min-height: 0; aspect-ratio: 16 / 10; }
  .stay__body { grid-template-columns: 1fr; }
  .stay__price { justify-items: start; text-align: left; grid-template-columns: 1fr auto; align-items: end; }
  .stay__badges { grid-column: 1 / -1; justify-items: start; display: flex; flex-wrap: wrap; }
  .stay__left { grid-column: 1 / -1; }
  .compare-chk { grid-column: 2; grid-row: 3 / span 2; align-self: end; }
  .inline-promo { flex-wrap: wrap; }
  .sheet, .sheet--map { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .member-bar { flex-wrap: wrap; }
}

/* ---------- Flights results ---------- */

.trip-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0 0 12px; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.trip-steps li { display: inline-flex; align-items: center; gap: 8px; }
.trip-steps li + li::before { content: "\f054"; font: 900 10px "Font Awesome 7 Free"; margin-right: 14px; color: var(--line-2); }
.trip-steps span { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--fill); color: var(--ink); font-size: 12px; }
.trip-steps .is-current { color: var(--ink); }
.trip-steps .is-current span { background: var(--deep); color: #fff; }
.trip-steps .is-done span { background: var(--teal); color: #fff; }

.date-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0 0 12px; padding: 0; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); overflow: hidden; }
.date-strip li + li { border-left: 1px solid var(--rule); }
.date-strip button { width: 100%; height: 100%; display: grid; gap: 0; padding: 7px 4px; border: 0; background: none; text-align: center; color: var(--text); font-size: 13px; border-bottom: 3px solid transparent; }
.date-strip b { font: 600 15px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.date-strip small { font-size: 10px; font-weight: 700; color: var(--ok); }
.date-strip button:hover { background: var(--surface-2); }
.date-strip button[aria-pressed="true"] { background: var(--mint); border-bottom-color: var(--teal); }


.chosen { padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--teal); margin-bottom: 16px; }
.chosen__row { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 14px; }
.chosen__row p { margin: 0; flex: 1; }
.chosen__row b { color: var(--ink); font-family: var(--font-head); font-size: 16px; }

.flights { display: grid; gap: 10px; }
.flight { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 170px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.flight:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -28px rgba(8, 50, 48, 0.5); }
.flight__main { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 6px 16px; align-items: center; padding: 12px 18px; }
.flight__times b { display: block; font: 600 18px var(--font-head); color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.flight__times sup { font-size: 12px; color: var(--red-ink); margin-left: 2px; }
.flight__times span, .flight__dur span, .flight__dur small { font-size: 13px; }
.flight__dur b { display: block; color: var(--ink); }
.flight__dur small { display: block; color: var(--muted); }
.flight__air { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); font-size: 14px; }
.flight__air small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.flight__extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.flight__bag { font-size: 12px; color: var(--ok); font-weight: 500; }
.flight__bag i { margin-right: 6px; }
.flight__bag--no { color: var(--muted); }
.flight__price { display: grid; align-content: center; justify-items: end; gap: 0; padding: 12px 18px; border-left: 1px dashed var(--line); text-align: right; }
.flight__price b { font: 600 22px var(--font-head); color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.flight__price small { font-size: 12px; color: var(--muted); }
.flight__open { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 6px 13px; background: var(--deep); color: #fff; font: 600 13px var(--font-body); }
.flight__open i { font-size: 11px; }
.flight:hover .flight__open { background: var(--teal-dark); }

.airline { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; font: 600 13px var(--font-head); letter-spacing: 0.02em; }
.airline--az { background: #1769c2; }
.airline--at { background: #0b7670; }
.airline--nw { background: #4b3fa8; }
.airline--sl { background: #c2410c; }
.airline--mr { background: #0b3a38; }

.time-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.time-tile { position: relative; display: grid; justify-items: center; gap: 0; padding: 8px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-align: center; cursor: pointer; margin: 0; }
.time-tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.time-tile i { color: var(--link); }
.time-tile b { font-size: 13px; }
.time-tile small { font-size: 11px; color: var(--muted); }
.time-tile:has(input:checked) { background: var(--deep); border-color: var(--ink); color: #fff; }
.time-tile:has(input:checked) i, .time-tile:has(input:checked) small { color: #cfe5e2; }
.time-tile:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.bag-tiles .time-tile { justify-items: start; text-align: left; padding: 8px 12px; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.bag-tiles .time-tile i { grid-row: span 2; }

/* One-handle slider (travel time, price per day): teal fill up to the handle. */
.range { --fill: 100%; display: block; width: 100%; height: 24px; margin: 4px 0 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--teal) var(--fill), var(--fill) var(--fill)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--fill); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--teal); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--deep); box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.3); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--deep); }
.range:focus { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(18, 168, 159, 0.35); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(18, 168, 159, 0.35); }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.range-value { display: block; margin-bottom: 2px; font-weight: 600; color: var(--ink); font-size: 14px; }

.fare-drawer { --bs-offcanvas-width: min(480px, 100vw); }
.fare-drawer .offcanvas-header { align-items: flex-start; border-bottom: 1px solid var(--rule); gap: 16px; }
.fare-drawer .offcanvas-title { font-size: 26px; margin: 4px 0; }
.fare-h { font-size: 18px; margin-bottom: 12px; }
.fares { display: grid; gap: 12px; }
.fare { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; margin: 0; }
.fare input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fare:has(input:checked) { border-color: var(--teal); background: var(--surface-2); box-shadow: 0 0 0 1px var(--teal); }
.fare:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.fare__name { font: 600 18px var(--font-head); color: var(--ink); display: flex; gap: 8px; align-items: center; }
.fare__price { font-weight: 700; color: var(--ink); }
.fare__list { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 14px; }
.fare__list i { width: 14px; margin-right: 6px; }
.fare .yes i { color: var(--ok); }
.fare .no { color: var(--muted); }
.protect-add { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--mint); cursor: pointer; font-size: 14px; }
.protect-add input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-dark); flex: none; }
.protect-add b { display: block; color: var(--ink); font-size: 15px; }
.fare-drawer__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); }
.fare-drawer__foot b { font: 600 26px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.fare-drawer__foot small { color: var(--muted); }

.sheet--small { width: min(520px, 100vw - 32px); }
.sheet--small .sheet__body { padding: 36px 32px; }
.sheet--small h2 { font-size: 26px; }

@media (max-width: 767.98px) {
  .flight { grid-template-columns: 1fr; }
  .flight__main { grid-template-columns: 1fr 1fr; padding: 16px; }
  .flight__air { grid-column: 1 / -1; grid-row: 1; }
  .flight__price { border-left: 0; border-top: 1px dashed var(--line); grid-template-columns: 1fr auto; justify-items: start; text-align: left; padding: 14px 16px; }
  .flight__price .flight__open { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .date-strip { display: flex; overflow-x: auto; scrollbar-width: none; }
  .date-strip li { flex: 0 0 96px; }
  .sheet--small { height: auto; max-height: 100dvh; margin: auto; width: calc(100vw - 32px); border-radius: 22px; }
}

/* ---------- Cars and cruises results ---------- */

.results-list { display: grid; gap: 12px; }
.result { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr) 170px; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.result:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -28px rgba(8, 50, 48, 0.5); }
.result__photo { position: relative; min-height: 170px; }
.result__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result__photo--car { background: var(--fill); }
.result__photo--car img { object-fit: contain; padding: 12px; }
.result__body { display: grid; gap: 4px; align-content: start; padding: 14px 18px; }
.result__body h2 { font-size: 18px; letter-spacing: -0.02em; }
.result__body h2 a { color: inherit; text-decoration: none; }
.result__body h2 a::after { content: ""; position: absolute; inset: 0; }
.result__body h2 a:hover { color: var(--link); }
.result__where { margin: 2px 0 0; font-size: 13px; color: var(--ink); }
.result__where i { color: var(--link); margin-right: 6px; }
.result__price { display: grid; align-content: end; justify-items: end; gap: 2px; padding: 14px 18px; border-left: 1px dashed var(--line); text-align: right; }
.result__price .stay__badges { margin-bottom: auto; }
.result__go { position: relative; z-index: 2; margin-top: 6px; padding: 7px 16px; font-size: 13px; }
.specs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 13px; color: var(--ink); }
.specs i { margin-right: 6px; color: var(--link); width: 14px; text-align: center; }
.specs--big { font-size: 15px; gap: 8px 22px; margin-top: 14px; }
.company { font-weight: 700; color: var(--ink); margin-right: 4px; }
.ports { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.ports b { color: var(--ink); font-weight: 600; }

.type-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.type-strip button { flex: none; display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-align: left; }
.type-strip i { grid-row: span 2; font-size: 18px; color: var(--link); }
.type-strip b { font-size: 14px; line-height: 1.2; }
.type-strip span { font-size: 12px; color: var(--muted); line-height: 1.2; }
.type-strip button:hover { border-color: var(--ink); }
.type-strip button[aria-pressed="true"] { background: var(--deep); border-color: var(--ink); color: #fff; }
.type-strip button[aria-pressed="true"] i, .type-strip button[aria-pressed="true"] span { color: #cfe5e2; }

/* Car detail */
.car-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-top: 10px; }
.car-hero h1 { font-size: clamp(26px, 3vw, 36px); margin-top: 4px; }
.car-hero__photo { border-radius: 18px; background: var(--fill); overflow: hidden; }
.car-hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; padding: 16px; }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick-grid .panel { padding: 18px 20px; font-size: 14px; }
.extras-grid { grid-template-columns: 1fr 1fr; }
.choice b i { color: var(--link); width: 18px; }

/* Cruise detail */
.page-hero--cruise { margin-top: 0; min-height: 360px; }
.page-hero--cruise h1 { font-size: clamp(30px, 4vw, 48px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: #fff; }
.hero-facts i { color: var(--sun); margin-right: 8px; }
.itinerary { list-style: none; margin: 0; padding: 0; display: grid; }
.itinerary li { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 0 0 18px; }
.itinerary li::before { content: ""; position: absolute; left: 117px; top: 8px; bottom: -6px; width: 2px; background: var(--rule); }
.itinerary li:last-child::before { display: none; }
.itinerary li > div { position: relative; padding-left: 18px; font-size: 14px; }
.itinerary li > div::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--bg); }
.itinerary li.is-sea > div::before { background: var(--line-2); }
.itinerary__day { font: 600 15px var(--font-head); color: var(--ink); }
.itinerary__day small { display: block; font: 400 13px var(--font-body); color: var(--muted); }
.itinerary b { color: var(--ink); font-size: 15px; }
.itinerary__time { margin-left: 10px; font-size: 13px; color: var(--link); font-weight: 600; }
.itinerary p { margin: 2px 0 0; }
.cabins { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.cabin { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; margin: 0; }
.cabin input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cabin:has(input:checked) { border-color: var(--teal); background: var(--surface-2); box-shadow: 0 0 0 1px var(--teal); }
.cabin:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.cabin__photo img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; display: block; }
.cabin__body b { display: block; font: 600 16px var(--font-head); color: var(--ink); }
.cabin__body small { font-size: 12px; color: var(--muted); }
.cabin__price { font: 600 18px var(--font-head); color: var(--ink); text-align: right; padding-right: 6px; font-variant-numeric: tabular-nums; }
.cabin__price small { display: block; font: 400 11px var(--font-body); color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.stat-row li { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); font-size: 13px; }
.stat-row b { display: block; font: 600 24px var(--font-head); color: var(--ink); letter-spacing: -0.02em; }

@media (max-width: 991.98px) {
  .result { grid-template-columns: 200px minmax(0, 1fr); }
  .result__price { grid-column: 1 / -1; border-left: 0; border-top: 1px dashed var(--line); grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: end; }
  .result__price .stay__badges { grid-column: 1 / -1; justify-items: start; }
  .result__go { grid-column: 2; grid-row: 2 / span 2; }
  .car-hero { grid-template-columns: 1fr; }
  .car-hero__photo { order: -1; }
}
@media (max-width: 575.98px) {
  .result { grid-template-columns: 1fr; }
  .result__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .pick-grid, .extras-grid, .cabins { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .itinerary li { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .itinerary li::before { left: 91px; }
}

/* =====================================================
   Detail pages (stay, car, cruise)
   ===================================================== */

.detail-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 22px 16px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.detail-top__actions { display: flex; gap: 8px; }
[data-save][aria-pressed="true"] i { font-weight: 900; color: var(--red); }

/* Photo grid: one large photo and four small ones */
.photo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 6px; border-radius: 18px; overflow: hidden; }
.photo-grid .shot { border-radius: 0; height: 100%; }
.photo-grid .shot img { height: 100%; object-fit: cover; }
.photo-grid .shot--main { grid-row: 1 / span 2; }
.photo-grid .shot--more { display: none; }
.photo-grid .shot::after { display: none; }
.photo-wrap { position: relative; }
.shot__all { border: 0; position: absolute; right: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 14px var(--font-body); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4); }

/* In-page tabs that stick under the header */
.page-tabs { position: sticky; top: 81px; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--rule); margin-top: 18px; }
.page-tabs ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.page-tabs a { display: block; padding: 11px 14px; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.page-tabs a:hover { color: var(--ink); }
.page-tabs a[aria-current="true"] { color: var(--link); border-color: var(--teal); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.detail-sec { padding-top: 30px; scroll-margin-top: 140px; }
.detail-sec + .detail-sec { border-top: 1px solid var(--rule); margin-top: 30px; }
.detail-sec h1 { font-size: clamp(26px, 3vw, 36px); margin-top: 4px; }
.detail-sub { margin: 8px 0 14px; font-size: 17px; }
.detail-h2 { font-size: clamp(21px, 2.2vw, 25px); margin-bottom: 14px; }
.detail-h { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.detail-h i { color: var(--link); font-size: 16px; }
.detail-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 12px; background: var(--mint); color: var(--ink); font-weight: 500; font-size: 14px; margin: 0 0 14px; }
.detail-note a { margin-left: auto; font-weight: 600; }
.rating--big { text-decoration: none; margin: 0; }
.rating--big b { min-width: 46px; height: 34px; font-size: 16px; }
.rating--big span { font-size: 17px; }
.rating--big:hover small { text-decoration: underline; }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; margin-top: 28px; }
.amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; list-style: none; margin: 0; padding: 0; color: var(--ink); font-weight: 500; }
.amen-grid i { width: 22px; margin-right: 10px; color: var(--link); }
.mini-map { align-self: start; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--surface); }
.mini-map__art { display: grid; place-items: center; height: 130px; color: var(--red); font-size: 26px; background: linear-gradient(160deg, #eef4ea 0 55%, #cfeaf0 55%); }
.mini-map__addr { margin: 14px 16px 6px; font-size: 14px; color: var(--ink); }
.mini-map .link-more { display: inline-block; margin: 0 16px 16px; }

.rooms { display: grid; gap: 12px; }
.room { display: grid; grid-template-columns: 210px minmax(0, 1fr) 200px; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; font-size: 14px; }
.room__photo img { width: 100%; height: 100%; object-fit: cover; }
.room__body { padding: 14px 18px; display: grid; gap: 7px; align-content: start; }
.room__body h3 { font-size: 18px; letter-spacing: -0.02em; }
.room__facts, .room__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 13px; }
.room__facts { color: var(--ink); font-weight: 500; }
.room__facts i { color: var(--link); margin-right: 6px; }
.room__feats i { color: var(--ok); margin-right: 6px; font-size: 12px; }
.room__opts { border: 0; margin: 2px 0 0; padding: 9px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 4px; min-width: 0; }
.room__opts legend { float: left; width: 100%; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.room__opts legend + * { clear: both; }
.room__opts .chk { font-size: 13px; }
.room__opts .chk input { width: 16px; height: 16px; }
.room__price { display: grid; gap: 3px; align-content: end; justify-items: end; text-align: right; padding: 14px 18px; border-left: 1px solid var(--rule); }
.room__price .badge { align-self: start; margin-bottom: auto; }
.room__cancel { margin: 0; font-size: 13px; font-weight: 600; color: var(--ok); }
.room__cancel i { margin-right: 6px; }
.room__price .btn-pill { margin-top: 6px; width: 100%; justify-content: center; padding: 9px 16px; font-size: 14px; }

.loc-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.map-box--short { min-height: 300px; }
.nearby { list-style: none; margin: 0; padding: 0; display: grid; }
.nearby li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 500; }
.nearby i { width: 20px; text-align: center; color: var(--link); }
.nearby span { margin-left: auto; font-size: 14px; font-weight: 400; color: var(--muted); }

.amen-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.amen-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }

.rev-summary { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); }
.rev-score b { display: block; font: 600 44px/1 var(--font-head); color: var(--link); letter-spacing: -0.03em; }
.rev-score span { display: block; font: 600 20px var(--font-head); color: var(--ink); margin-top: 6px; }
.rev-score small { color: var(--muted); }
.bars--light .bar__label { color: var(--ink); }
.bars--light .bar__track { background: var(--fill); }
.bars--light .bar__fill { background: var(--teal); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.review { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); }
.review__head { display: grid; gap: 8px; }
.review__head .rating { margin: 0; }
.review h3 { font-size: 17px; letter-spacing: -0.01em; }
.review p { margin: 0; font-size: 14px; }
.review .review__by { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.review__by .avatar { width: 36px; height: 36px; font-size: 14px; }
.review__by b { display: block; color: var(--ink); font-size: 14px; }
.review__by small { color: var(--muted); font-size: 13px; }

.policies { display: grid; grid-template-columns: 160px minmax(0, 1fr); margin: 0; }
.policies dt, .policies dd { padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--rule); margin: 0; }
.policies dt { font-weight: 700; color: var(--ink); }

.book-card { position: sticky; top: 140px; margin-top: 30px; display: grid; gap: 11px; padding: 20px; border-radius: 18px; font-size: 14px; background: var(--surface); border: 1px solid var(--rule); box-shadow: 0 24px 50px -32px rgba(8, 50, 48, 0.45); }
.book-card__price { display: grid; gap: 4px; justify-items: start; }
.book-card__trip { display: grid; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.book-card__trip > div { padding: 10px 14px; }
.book-card__trip > div + div { border-top: 1px solid var(--line); }
.book-card__trip dt { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.book-card__trip dd { margin: 0; font-weight: 600; color: var(--ink); }
.book-card__go { justify-content: center; }
.book-card__note { margin: 0; font-size: 14px; color: var(--ok); font-weight: 500; }
.book-card__note i { margin-right: 8px; }
.book-card__member { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--rule); }
.book-card__member p { margin: 0; font-size: 14px; }
.book-card__member b { color: var(--ink); }

@media (max-width: 1199.98px) {
  .room { grid-template-columns: 200px minmax(0, 1fr); }
  .room__price { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: end; }
  .room__price .btn-pill { grid-column: 2; grid-row: 2 / span 3; width: auto; }
}
@media (max-width: 991.98px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .book-card { position: static; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px; }
  .photo-grid .shot--main { grid-column: 1 / -1; grid-row: auto; }
  .photo-grid .shot:nth-child(4), .photo-grid .shot:nth-child(5) { display: none; }
  .overview-grid, .loc-grid, .rev-summary { grid-template-columns: 1fr; }
  .reviews, .amen-groups { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .photo-grid { grid-template-rows: 220px 110px; border-radius: 16px; }
  .room { grid-template-columns: 1fr; }
  .room__photo { aspect-ratio: 16 / 9; }
  .reviews, .amen-groups, .amen-grid { grid-template-columns: 1fr; }
  .policies { grid-template-columns: 1fr; }
  .policies dt { border-bottom: 0; padding-bottom: 0; }
}

/* =====================================================
   Booking (review your trip, checkout)
   ===================================================== */

.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; margin-top: 22px; }
.book-main { display: grid; gap: 12px; }
.book-sec { display: grid; gap: 12px; padding: 20px 22px; }
.book-sec__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.book-sec h2 { font-size: 20px; }
.book-sub { font-size: 17px; margin-top: 4px; }
.page-head .lead i { color: var(--link); margin-right: 4px; }

.alert-good { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: #e5f6ee; color: #0e5a44; }
.alert-good .icon-tile { background: var(--surface); color: var(--ok); }
.alert-good p { margin: 0; }

.leg { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 15px; border-top: 1px solid var(--rule); }
.leg:first-of-type { border-top: 0; padding-top: 0; }
.leg__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.leg__times { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.leg__times b { font: 600 18px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.leg__times sup { color: var(--red-ink); font-size: 12px; }
.leg__info { margin: 0; font-size: 14px; color: var(--muted); }

.incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.incl i { width: 22px; margin-top: 3px; color: var(--ok); text-align: center; }
.incl b { display: block; color: var(--ink); font-size: 14px; }
.incl .is-no i { color: var(--muted); }

.extras { display: grid; gap: 12px; }
.extra { display: flex; align-items: center; gap: 14px; }
.extra > div { flex: 1; }
.extra b { color: var(--ink); }
.extra p { margin: 0; font-size: 14px; }
.extra [aria-pressed="true"] { background: var(--deep); color: #fff; box-shadow: none; }

.protect { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; background: var(--mint); border-color: transparent; padding-block: 14px; }
.protect h2 { font-size: 17px; }
.protect p { margin: 2px 0 0; font-size: 14px; }
.protect .icon-tile { background: var(--surface); }

a.inline-promo { text-decoration: none; color: var(--text); }
a.inline-promo:hover { border-color: var(--teal); }

.price-card { position: sticky; top: 100px; display: grid; gap: 10px; padding: 20px; border-radius: 18px; font-size: 14px; background: var(--surface); border: 1px solid var(--rule); box-shadow: 0 24px 50px -32px rgba(8, 50, 48, 0.45); }
.price-card .summary-total { margin-top: 2px; }
.price-card__go { justify-content: center; margin-top: 6px; }
.ok-text, .summary-list .ok-text { color: var(--ok); }
.assure { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; font-size: 14px; }
.assure i { width: 16px; margin-right: 8px; color: var(--ok); }

/* Checkout form */
.traveler { border: 0; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rule); min-width: 0; }
.book-sec__head + .traveler { border-top: 0; padding-top: 0; }
.traveler legend { float: left; width: 100%; font: 600 16px var(--font-head); color: var(--ink); margin-bottom: 10px; }
.traveler legend + * { clear: both; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 42, 51, 0.15); }
.choice-group { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; border-radius: 16px; }
.choice-group.is-invalid { outline: 2px solid var(--red); outline-offset: 6px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; margin: 0; }
.choice input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal-dark); }
.choice > span:not(.badge) { flex: 1; font-size: 14px; }
.choice b { display: block; font-size: 15px; color: var(--ink); }
.choice b i { font-size: 18px; margin-right: 4px; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--surface-2); }
.cards { display: flex; gap: 8px; font-size: 28px; color: var(--ink); }
.cash-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--mint); cursor: pointer; margin: 0; font-size: 14px; }
.cash-row > span:nth-child(2) { flex: 1; }
.cash-row b { display: block; color: var(--ink); font-size: 15px; }
.chk--dark.align-items-start input { margin-top: 3px; }
.complete { justify-content: center; font-size: 16px; padding: 13px 22px; }
.form-errors { padding: 18px 20px; border-radius: 16px; background: var(--danger-bg); color: var(--danger-ink); border: 1px solid #f3b5b9; }
.form-errors p { margin: 0 0 6px; font-weight: 700; }
.form-errors ul { margin: 0; padding-left: 20px; }
.form-errors a { color: var(--danger-ink); font-weight: 500; }
.form-errors:focus { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 991.98px) {
  .book-layout { grid-template-columns: minmax(0, 1fr); }
  .price-card { position: static; }
}
@media (max-width: 575.98px) {
  .incl { grid-template-columns: 1fr; }
  .extra { flex-wrap: wrap; }
  .leg { flex-wrap: wrap; }
  .protect { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; }
  .protect > .icon-tile { display: none; }
  .protect .switch { margin-top: 2px; }
}

/* =====================================================
   Deals and destinations
   ===================================================== */

.deal-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 380px; margin-top: 28px; border-radius: 28px; overflow: hidden; background: var(--deep); }
.deal-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.deal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 28, 30, 0.85) 0%, rgba(4, 28, 30, 0.4) 55%, rgba(4, 28, 30, 0) 100%); }
.deal-hero__body { display: grid; gap: 12px; justify-items: start; max-width: 560px; padding: 40px 48px; color: #e6f6f4; }
.deal-hero__body .crumbs, .deal-hero__body .crumbs a { color: #fff; margin: 0; }
.deal-hero .kicker { color: var(--sun); }
.deal-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.deal-hero p { margin: 0; }
.countdown { display: flex; gap: 8px; margin-top: 8px; }
.countdown span { display: grid; justify-items: center; min-width: 64px; padding: 8px 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.countdown b { font: 600 26px/1.1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.deal { display: grid; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.deal[hidden] { display: none; }
.deal__photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.deal__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.deal:hover .deal__photo img { transform: scale(1.04); }
.deal__tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 8px; background: var(--red); color: #fff; font: 700 12px var(--font-body); }
.deal__body { display: grid; gap: 2px; padding: 14px 16px 16px; }
.deal__body h3 { font-size: 18px; letter-spacing: -0.02em; }
.deal__body h3 a { color: inherit; text-decoration: none; }
.deal__body h3 a:hover { color: var(--link); }
.deal__body p { margin: 0; font-size: 14px; }
.deal__body .deal__price { margin-top: 8px; color: var(--muted); }
.deal__price b { font: 600 22px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.deal__price small { font-size: 13px; }
.pack-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 32px 36px; border-radius: 24px; background: var(--mint); }
.pack-band h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 8px 0; }
.pack-band p { margin: 0; }
.pack-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: pk; }
.pack-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.pack-steps i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--link); }

/* Destinations hero: the words and search on the left, a loose stack of photos on the right. */
.dest-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 40px 24px; }
.dest-hero__copy { display: grid; gap: 18px; }
.dest-hero__copy .crumbs { margin: 0; }
.dest-hero h1 { margin: 0; font-size: clamp(40px, 5.5vw, 68px); letter-spacing: -0.03em; }
.dest-hero__lead { margin: 0; font-size: 18px; max-width: 46ch; }
.dest-hero__search { max-width: 460px; }
.dest-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 4px 0 0; padding: 0; color: var(--muted); font-size: 15px; }
.dest-hero__facts b { display: block; font: 600 26px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.dest-stack { position: relative; aspect-ratio: 5 / 4; }
.dest-stack__card {
  position: absolute; width: 58%; margin: 0; padding: 8px 8px 0; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(4, 32, 48, 0.12);
  animation: dest-float 7s ease-in-out infinite;
}
.dest-stack__card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.dest-stack__card figcaption { display: flex; align-items: baseline; gap: 6px; padding: 10px 6px 12px; font: 600 15px var(--font-head); color: var(--ink); }
.dest-stack__card figcaption i { color: var(--red); font-size: 13px; }
.dest-stack__card figcaption small { margin-left: auto; font: 500 13px var(--font-body); color: var(--muted); }
.dest-stack__card--1 { left: 0; top: 10%; rotate: -5deg; }
.dest-stack__card--2 { right: 0; top: 0; rotate: 4deg; animation-delay: -2.4s; }
.dest-stack__card--3 { left: 22%; bottom: 0; rotate: -1deg; z-index: 1; animation-delay: -4.8s; }
@keyframes dest-float { 50% { translate: 0 -10px; } }

/* Destination of the month: one wide card, photo and story side by side. */
.dotm { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.dotm__photo { overflow: hidden; min-height: 320px; }
.dotm__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.dotm:hover .dotm__photo img { transform: scale(1.04); }
.dotm__body { display: grid; align-content: center; justify-items: start; gap: 14px; padding: clamp(24px, 4vw, 48px); }
.dotm__title { margin: 0; font: 600 clamp(32px, 4vw, 46px)/1.05 var(--font-head); color: var(--ink); letter-spacing: -0.02em; }
.dotm__text { font-size: 16px; line-height: 1.65; max-width: 44ch; }
.dotm__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.dotm__meta i { color: var(--link); margin-right: 4px; }
.dotm__cta { margin-top: 6px; }

/* Month picker: twelve small pills that scroll sideways when narrow. */
.dest-when { display: grid; gap: 8px; min-width: 0; }
.dest-when__label { font: 600 14px var(--font-body); color: var(--ink); }
.month-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.month-chips::-webkit-scrollbar { display: none; }
.month-chips button { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; font: 600 14px var(--font-body); color: var(--ink); }
.month-chips button:hover { border-color: var(--ink); }
.month-chips button[aria-pressed="true"] { background: var(--mint); border-color: var(--teal); }

/* Season strip on each card: the good months in teal. */
.season__bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; max-width: 168px; margin-top: 8px; }
.season__bars i { height: 5px; border-radius: 3px; background: var(--fill); }
.season__bars i.is-good { background: var(--teal); }
.place__month { position: absolute; right: 12px; bottom: 12px; background: var(--surface); color: var(--ink); font: 600 12px var(--font-body); padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 14px rgba(4, 32, 48, 0.18); }
.place__month::before { content: "\f185"; font: var(--fa-font-solid); margin-right: 6px; color: var(--red); }

@media (max-width: 991px) {
  .dest-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .dest-stack { max-width: 520px; width: 100%; justify-self: center; }
  .dotm { grid-template-columns: 1fr; }
  .dotm__photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 575px) {
  .dest-stack { aspect-ratio: 4 / 3; }
  .dest-stack__card { width: 62%; }
  .dest-stack__card figcaption { font-size: 13px; padding: 8px 4px 10px; }
  .dest-stack__card figcaption small { display: none; }
  .dest-continents { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .dest-continents::-webkit-scrollbar { display: none; }
  .dest-continents button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dest-stack__card { animation: none; }
}

.dest-tools { display: grid; gap: 14px; margin-bottom: 24px; }
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dest[hidden] { display: none; }
.quick-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.quick-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); font-size: 14px; }
.quick-facts i { margin-top: 3px; color: var(--link); }
.quick-facts b { display: block; color: var(--ink); }
.months { list-style: none; margin: 16px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 150px; }
.month { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; }
.month__bar { align-self: end; height: var(--value); min-height: 6px; border-radius: 6px 6px 3px 3px; }
.month__label { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.month--best .month__bar, .months-key .month--best::before { background: var(--teal); }
.month--good .month__bar, .months-key .month--good::before { background: #8fd6cf; }
.month--low .month__bar, .months-key .month--low::before { background: var(--fill); }
.months-key { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.months-key li { display: flex; align-items: center; gap: 6px; }
.months-key li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.posts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991.98px) {
  .deals, .dest-grid, .posts--4 { grid-template-columns: 1fr 1fr; }
  .pack-band { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .deals, .posts--4 { grid-template-columns: 1fr; }
  .deal-hero__body { padding: 28px 22px; }
  .countdown span { min-width: 56px; }
  .quick-facts { grid-template-columns: 1fr; }
}

/* =====================================================
   Help center, legal pages, list your property
   ===================================================== */

.help-hero { background: var(--deep); color: #cfe5e2; padding-block: 34px 44px; }
.help-hero .crumbs, .help-hero .crumbs a { color: #fff; }
.help-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin: 6px 0 20px; }
.help-search { max-width: 640px; height: 54px; border: 0; border-radius: 999px; }
.help-search input { font-size: 16px; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.topic { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); color: var(--ink); text-align: left; }
.topic i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--mint); color: var(--link); font-size: 17px; }
.topic b { display: block; font-size: 15px; }
.topic small { color: var(--muted); font-size: 13px; }
.topic:hover { border-color: var(--teal); }
.topic[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); background: var(--surface-2); }
.faqs { display: grid; gap: 8px; }
.faq { border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.faq[hidden] { display: none; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\f078"; font: 900 11px "Font Awesome 7 Free"; color: var(--muted); transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(180deg); }
.faq__a { padding: 0 18px 14px; font-size: 15px; }
.faq__a p { margin: 0 0 8px; }
.faq__ask { font-size: 13px; color: var(--muted); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; border-radius: 24px; overflow: hidden; background: var(--mint); }
.app-band > div:first-child { padding: 36px 40px; }
.app-band h2 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0; }
.app-band p { margin: 0; }
.app-band__photo { align-self: stretch; }
.app-band__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }

.legal-note { display: inline-flex; gap: 8px; align-items: center; margin: 14px 0 0; padding: 8px 14px; border-radius: 10px; background: #fff8dc; color: #6b5300; font-size: 14px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 32px; }
.legal__toc { position: sticky; top: 100px; display: grid; gap: 10px; font-size: 14px; }
.legal__toc b { color: var(--ink); }
.legal__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal__body section { scroll-margin-top: 100px; }
.legal__body h2 { margin-top: 0; padding-top: 8px; }
.legal__body section + section h2 { margin-top: 1.6em; }

.partner-hero { min-height: 420px; }
.list-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-big { display: grid; gap: 8px; justify-items: start; padding: 24px 26px; border: 1.5px solid var(--rule); border-radius: 20px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.choice-big b { font: 600 22px var(--font-head); color: var(--ink); }
.choice-big:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--text); }
.wizard { display: grid; gap: 18px; padding: 24px 28px; }
.wizard__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.wizard__steps { display: flex; gap: 6px 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.wizard__steps li { display: inline-flex; align-items: center; gap: 8px; }
.wizard__steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fill); color: var(--ink); font-size: 12px; }
.wizard__steps .is-current { color: var(--ink); }
.wizard__steps .is-current span { background: var(--deep); color: #fff; }
.wizard__steps .is-done span { background: var(--teal); color: #fff; }
#host-wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#host-wizard [hidden] { display: none; }
.counter-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); max-width: 520px; }
.counter-row b { display: block; color: var(--ink); }
.counter-row small { color: var(--muted); font-size: 13px; }
.earnings { display: grid; gap: 2px; justify-items: start; padding: 22px 24px; border-radius: 18px; background: var(--deep); color: #cfe5e2; max-width: 520px; }
.earnings .kicker { color: var(--sun); }
.earnings b { font: 600 46px/1.1 var(--font-head); color: #fff; letter-spacing: -0.03em; margin-top: 6px; }
.earnings .field__hint { color: #9fc0bc; margin-top: 8px; }
.wizard__nav { display: flex; gap: 10px; }
.manage-band { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 16px 20px; border-radius: 18px; background: var(--mint); }
.manage-band > div { flex: 1; }
.manage-band b { color: var(--ink); }
.manage-band p { margin: 0; font-size: 14px; }
.steps--list { grid-template-columns: 1fr; gap: 10px; }
.steps--list li { padding: 18px 20px; }
.steps--list li::before { margin-bottom: 6px; }

@media (max-width: 991.98px) {
  .topics, .tiles--3 { grid-template-columns: 1fr 1fr; }
  .app-band, .legal, .list-choice { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 575.98px) {
  .topics, .tiles--3 { grid-template-columns: 1fr; }
  .app-band > div:first-child { padding: 26px 22px; }
  .manage-band { flex-wrap: wrap; }
  .wizard { padding: 20px; }
}

/* =====================================================
   Components page
   ===================================================== */

.comp { display: grid; gap: 12px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.comp h2 { font-size: 24px; }
.comp__demo { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); }
.comp__code summary { cursor: pointer; font-weight: 600; color: var(--link); font-size: 14px; }
.comp__code pre { margin: 10px 0 0; padding: 16px; border-radius: 14px; background: #0b2120; color: #d6ecea; font-size: 12.5px; line-height: 1.55; overflow-x: auto; max-height: 360px; }
.demo-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.demo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-stack { display: grid; gap: 14px; justify-items: start; }
.demo-stack > .alert-good, .demo-stack > .inline-promo, .demo-stack > .form-errors, .demo-stack > .notification_ok, .demo-stack > .bars { justify-self: stretch; }
.demo-narrow { max-width: 300px; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.swatch { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); font-size: 12px; }
.swatch span { height: 56px; border-radius: 10px; margin-bottom: 6px; border: 1px solid rgba(0, 0, 0, 0.06); }
.swatch b { color: var(--ink); font-size: 13px; }
.swatch code { color: var(--muted); }
.type-scale { display: grid; gap: 10px; }
.type-h1, .type-h2, .type-h3 { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.type-h1 { font-size: clamp(34px, 4.4vw, 54px); }
.type-h2 { font-size: clamp(26px, 3vw, 36px); }
.type-h3 { font-size: 20px; }
.empty h3 { font-size: 22px; }

@media (max-width: 767.98px) {
  .demo-grid, .demo-grid--3, .swatches { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .demo-grid, .demo-grid--3 { grid-template-columns: 1fr; }
}

/* =====================================================
   Account (sign in, account, trips, trip, inbox, rewards)
   ===================================================== */

.tab-panel[hidden] { display: none; }
.page-head--row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }

/* Sign in */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; align-items: stretch; padding-top: 36px; }
.auth__form { max-width: 460px; width: 100%; justify-self: center; display: grid; align-content: start; gap: 18px; }
.auth__form h1 { font-size: clamp(26px, 3vw, 34px); }
.auth__lead { margin: 8px 0 18px; }
.auth__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fill); }
.auth__tabs button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font-body); color: var(--ink); }
.auth__tabs [aria-selected="true"] { background: var(--surface); box-shadow: 0 2px 8px -3px rgba(8, 50, 48, 0.35); }
#auth-form [data-step] { display: grid; gap: 12px; }
#auth-form [data-step][hidden] { display: none; }
.auth__go { justify-content: center; padding-block: 13px; }
.auth__email { margin: 0; font-weight: 600; color: var(--ink); }
.auth__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.field-error { margin: 0; color: var(--danger-ink); font-size: 14px; font-weight: 500; }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.auth__social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.btn-social { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 14px var(--font-body); }
.btn-social:hover { border-color: var(--ink); }
.auth__terms { margin: 0; font-size: 13px; color: var(--muted); }
.auth__side { position: relative; border-radius: 24px; overflow: hidden; min-height: 520px; background: var(--deep); }
.auth__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__perks { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 20px; border-radius: 18px; background: rgba(4, 28, 30, 0.82); color: #e6f6f4; }
.auth__perks b { display: block; color: #fff; font: 600 18px var(--font-head); margin-bottom: 10px; }
.auth__perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.auth__perks i { width: 20px; color: var(--sun); }

/* Account */
.acct-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-top: 20px; }
.rewards-big { display: grid; gap: 4px; justify-items: start; padding: 22px 24px; border-radius: 20px; background: linear-gradient(140deg, var(--deep), #0d7f78); color: #cfe5e2; text-decoration: none; }
.rewards-big b { font: 600 40px/1 var(--font-head); color: #fff; letter-spacing: -0.03em; margin-top: 8px; }
.rewards-big__bar { display: block; width: 100%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.2); margin-top: 12px; overflow: hidden; }
.rewards-big__bar i { display: block; width: var(--value); height: 100%; background: var(--sun); border-radius: 6px; }
.rewards-big small { font-size: 13px; }
a.rewards-big:hover { color: #fff; }
.boost-card { display: grid; gap: 6px; justify-items: start; align-content: start; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--rule); }
.boost-card b { font: 600 19px var(--font-head); color: var(--ink); }
.boost-card p { margin: 0 0 6px; font-size: 14px; }
.acct-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 28px; }
.menu-cards { position: sticky; top: 100px; display: grid; gap: 8px; }
.menu-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; text-align: left; font-size: 14px; }
.menu-card:hover { border-color: var(--teal); color: var(--ink); }
.menu-card > i:first-child { width: 22px; text-align: center; color: var(--link); }
.menu-card span { flex: 1; }
.menu-card b { display: block; }
.menu-card small { color: var(--muted); font-size: 12px; }
.menu-card__go { font-size: 11px; color: var(--muted); }
.acct-main { display: grid; gap: 12px; align-content: start; }
.acct-main .detail-h2 { margin: 0; }
.info-card { display: grid; gap: 10px; padding: 18px 20px; }
.info-card h3 { font-size: 17px; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0; }
.info-list dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.info-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.info-edit { margin-top: 4px; }
.people-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.people-list li { display: flex; align-items: center; gap: 12px; }
.people-list b { display: block; color: var(--ink); }
.people-list small { color: var(--muted); font-size: 13px; }
.switch-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; margin: 0; cursor: pointer; }
.switch-row + .switch-row { border-top: 1px solid var(--rule); padding-top: 12px; }
.switch-row > span:first-child { flex: 1; }
.switch-row b { display: block; color: var(--ink); font-size: 15px; }
.switch-row small { color: var(--muted); font-size: 13px; }
.saved-card { display: flex; align-items: center; gap: 14px; }
.saved-card + .saved-card { border-top: 1px solid var(--rule); padding-top: 10px; }
.saved-card > i { width: 30px; font-size: 24px; color: var(--ink); text-align: center; }
.saved-card span { flex: 1; }
.saved-card b { display: block; color: var(--ink); }
.saved-card small { color: var(--muted); font-size: 13px; }
.justify-self-start { justify-self: start; }
.coupon { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-style: dashed; border-color: var(--line-2); }
.coupon__value { font: 600 30px var(--font-head); color: var(--red); }
.coupon span:nth-child(2) { flex: 1; }
.coupon b { display: block; color: var(--ink); }
.coupon small { color: var(--muted); font-size: 13px; }
.coupon__code { padding: 6px 12px; border-radius: 8px; background: var(--mint); color: var(--ink); font-weight: 700; letter-spacing: 0.08em; }

/* Trips */
.upcoming { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--rule); }
.upcoming__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.upcoming__body { display: grid; gap: 8px; align-content: center; justify-items: start; padding: 24px 28px; }
.upcoming__body h2 { font-size: 26px; }
.upcoming__body h2 a { color: inherit; text-decoration: none; }
.upcoming__items { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink); }
.upcoming__items i { width: 20px; color: var(--link); }
.find-booking { display: grid; gap: 8px; margin-top: 14px; padding: 20px 22px; }
.find-booking__row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.find-booking__row .field { flex: 1; min-width: 220px; }
.trip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trip-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trip-card { position: relative; display: grid; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--rule); }
.trip-card__photo { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.trip-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.trip-card__photo--empty { display: grid; place-items: center; background: var(--mint); color: var(--link); font-size: 28px; }
.trip-card__year { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 6px; background: rgba(4, 28, 30, 0.8); color: #fff; font-size: 12px; font-weight: 700; }
.trip-card__body { padding: 12px 14px; }
.trip-card h3 { font-size: 17px; }
.trip-card h3 a { color: inherit; text-decoration: none; }
.trip-card p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.trip-card__share { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.canceled { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.canceled li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); }
.canceled li > span:nth-child(2) { flex: 1; }
.canceled b { display: block; color: var(--ink); }
.canceled small { color: var(--muted); font-size: 13px; }

/* Trip detail */
.page-hero--trip { min-height: 300px; margin-top: 0; }
.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: 20px; }
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.days h2 { font-size: 18px; margin-bottom: 10px; }
.day-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule); font-size: 14px; }
.day-item + .day-item { margin-top: 8px; }
.day-item > span:nth-child(2) { flex: 1; }
.day-item b { display: block; color: var(--ink); font-size: 15px; }
.day-item small { color: var(--muted); }
.day-item__time { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.day-item--note { background: #fffbe6; border-color: #f3e3a0; }
.day-item--note .icon-tile { background: var(--surface); color: #8a6d00; }
.note-form { display: flex; gap: 10px; align-items: end; margin-top: 20px; }
.note-form .field { flex: 1; }
.booking-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.booking-row > span:nth-child(2) { flex: 1; }
.booking-row b { display: block; color: var(--ink); }
.booking-row small { color: var(--muted); font-size: 13px; }
.trip-map { position: sticky; top: 100px; }
.stay-map--small { height: 380px; border-radius: 18px; border: 1px solid var(--rule); flex: none; }
.trip-pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--deep); color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5); font-size: 14px; }
.trip-pin--plan { background: var(--surface); color: var(--ink); border: 2px dashed var(--deep); }

/* Inbox */
.inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
.threads { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; }
.threads li { min-width: 0; }
.thread { position: relative; min-width: 0; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: 12px; background: none; text-align: left; }
.thread:hover { background: var(--surface-2); }
.thread[aria-pressed="true"] { background: var(--mint); }
.thread .avatar { width: 40px; height: 40px; font-size: 14px; }
.thread__text { flex: 1; min-width: 0; }
.thread__text b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.thread.is-unread .thread__text b { font-weight: 800; }
.thread__text small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread__time { align-self: start; font-size: 12px; color: var(--muted); white-space: nowrap; }
.thread__dot { position: absolute; right: 14px; bottom: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.convo { display: grid; grid-template-rows: auto 1fr auto; min-height: 520px; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.convo__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.convo__head h2 { font-size: 18px; margin-bottom: 4px; }
.convo__list { list-style: none; margin: 0; padding: 18px; display: grid; gap: 12px; align-content: start; background: var(--surface-2); }
.msg { max-width: 72%; display: grid; gap: 4px; }
.msg p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 15px; }
.msg small { font-size: 11px; color: var(--muted); }
.msg--them p { background: var(--surface); border: 1px solid var(--rule); border-bottom-left-radius: 4px; color: var(--ink); }
.msg--me { justify-self: end; justify-items: end; }
.msg--me p { background: var(--deep); color: #fff; border-bottom-right-radius: 4px; }
.msg--note { justify-self: center; max-width: none; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--link); font-size: 12px; font-weight: 600; }
.msg__file { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--rule); font-size: 13px; color: var(--ink); font-weight: 600; }
.msg__file i { color: var(--red); }
.convo__form { display: flex; gap: 8px; align-items: center; padding: 12px; border-top: 1px solid var(--rule); }
.convo__form input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: 500 15px var(--font-body); color: var(--ink); }
.convo__form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 168, 159, 0.2); }
.convo__attach { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint); color: var(--ink); }

/* Rewards */
.tier-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tier-col { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--rule); }
.tier-col.is-you { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.tier-col > b { font: 600 18px var(--font-head); color: var(--ink); }
.tier-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.tier-col i { color: var(--ok); margin-right: 8px; }
.tier--blue { background: #dbeafe; color: #123a7a; }
.tier--silver { background: linear-gradient(135deg, #eef1f3, #c9d1d6); color: #2c3a43; }
.activity { list-style: none; margin: 0; display: grid; padding: 6px 20px; }
.activity li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.activity li + li { border-top: 1px solid var(--rule); }
.activity b { color: var(--ink); font-variant-numeric: tabular-nums; }
.activity span b { display: block; }
.activity small { color: var(--muted); font-size: 13px; }

@media (max-width: 991.98px) {
  .auth { grid-template-columns: 1fr; }
  .auth__side { display: none; }
  .acct-top, .acct-layout, .trip-layout, .inbox, .upcoming { grid-template-columns: 1fr; }
  .menu-cards { position: static; grid-template-columns: 1fr 1fr; }
  .trip-map { position: static; }
  .trip-grid, .tier-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .menu-cards, .trip-grid, .trip-grid--2, .tier-cols, .info-list { grid-template-columns: 1fr; }
  .auth__social { grid-template-columns: 1fr; }
  .msg { max-width: 88%; }
  .coupon { flex-wrap: wrap; }
  .note-form { flex-direction: column; align-items: stretch; }
}

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

.site-footer { background: var(--deep); color: #9dbab7; margin-top: 96px; font-size: 15px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 36px; padding-block: 64px 44px; }
.site-footer h2 { color: #fff; font-size: 19px; margin-bottom: 16px; letter-spacing: -0.01em; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__tag span { background: var(--teal); }
.footer__about p { margin: 16px 0 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.footer__posts p { margin: 0; }
.footer__posts b { color: var(--teal-light); font-weight: 600; }
.footer__posts small { display: block; color: #8fb3af; margin-top: 2px; }
.newsletter { display: flex; background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 5px; margin: 6px 0 18px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; padding: 10px 12px; font: inherit; }
.newsletter input::placeholder { color: #7fa19d; }
.newsletter input:focus { outline: none; }
.newsletter:focus-within { box-shadow: 0 0 0 2px var(--teal); }
.newsletter button { border: 0; border-radius: 10px; background: var(--red); color: #fff; font-weight: 600; padding: 10px 16px; }
.newsletter__note { min-height: 1.4em; margin: -10px 0 12px; font-size: 13px; color: var(--teal-light); }
.footer__tel { font: 600 28px var(--font-head); color: var(--teal-light); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.footer__base a { text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }
.footer__base .footer__social a { text-decoration: none; margin: 0; }
.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px;
}
.footer__social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-size: 16px; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--deep); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-dark); }

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

@media (max-width: 1199.98px) {
  .topbar__social { display: none; }
}

@media (max-width: 991.98px) {
  :root { --gutter: 24px; }
  /* Tablets and phones: the search sits in the flow below the headline. */
  .hero { height: auto; padding: 150px var(--gutter) 64px; }
  .search { position: relative; left: auto; top: auto; bottom: auto; transform: none; width: 100%; margin-top: 150px; }
  .sbar { flex-direction: column; border-radius: 24px; padding: 10px; gap: 8px; }
  .sf { flex: none; border: 1px solid var(--rule); border-radius: 16px; }
  .sf + .sf::before { display: none; }
  .sf input[type="text"], .sf__btn, .sf--menu .opt__btn { border-radius: 16px; }
  .sf--times .sf__pair { min-height: 56px; }
  .sbar__swap { position: absolute; right: 56px; top: 49px; margin: 0; transform: rotate(90deg); }
  .sbar__swap:hover { transform: rotate(270deg); }
  .sbar__go { margin: 0; justify-content: center; min-height: 52px; border-radius: 16px; }
  .sf-cal { left: 0; transform: none; width: 100%; }
  .sf-cal__months { grid-template-columns: 1fr; }
  .sf-cal__months > .sf-cal__mon + .sf-cal__mon { display: none; }
  .sf-trav { left: 0; right: auto; width: 100%; }
  .package, .happy { grid-template-columns: 1fr; }
  .package__body { padding: 32px; }
  .happy__body { padding: 0 32px 36px; }
  .happy__photo { max-width: 340px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
  :root { --gutter: 16px; }
  .topbar__item--mail { display: none; }
  .account__btn { width: 46px; padding: 0; justify-content: center; }
  .account__btn span:not(.avatar) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .account { position: static; }
  .account .dropdown-menu.account__menu { width: auto; left: 16px; right: 16px; }
  /* Phones: headline and search stack in the flow instead of overlapping. */
  .hero { padding: 44px var(--gutter) 44px; }
  .hero::after { height: 28px; }
  .hero__img { object-position: 52% 30%; }
  .hero__dots { --swiper-pagination-top: auto; --swiper-pagination-bottom: 34px; }
  .hero__place { display: none; }
  .hero--dark { padding-top: 64px; }
  .hero__pause { top: 14px; left: auto; right: var(--gutter); width: 36px; height: 36px; padding: 0; justify-content: center; }
  .hero__pause span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero__copy { position: relative; top: auto; left: auto; right: auto; }
  .search { margin-top: 160px; }
  .search__tabs { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 18px; }
  .search__tab { flex-direction: column; gap: 3px; padding: 8px 4px 7px; border-radius: 14px; font-size: 12px; font-weight: 600; }
  .search__tab i { font-size: 16px; }
  .sf-list { width: 100%; }
  /* Calendar, travelers and discount panels open as full-screen sheets. */
  .sf-cal, .sf-trav, .opt__panel {
    position: fixed; inset: 0; top: 0; width: auto; transform: none; border-radius: 0;
    overflow-y: auto; padding: 0 18px 24px; z-index: 1000; display: block;
  }
  .sf-cal[hidden], .sf-trav[hidden], .opt__panel[hidden] { display: none; }
  .sf-pop__head {
    display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2;
    margin: 0 -18px 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px; background: var(--surface); border-bottom: 1px solid var(--rule);
    font: 600 18px var(--font-head);
  }
  .sf-pop__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mint); color: var(--ink); }
  .sf-cal__range button { font-size: 18px; }
  .sf-cal__foot { position: sticky; bottom: 0; background: var(--surface); padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .sf-cal__foot .btn-done, .sf-trav .btn-done { flex: 1; }
  .opt__panel .btn-done, .sf-trav .btn-done { width: 100%; }
  body.sf-sheet-open { overflow: hidden; }
  body.sf-sheet-open .site-header, body.sf-sheet-open .to-top { visibility: hidden; }
  .sf-cal, .sf-trav, .opt__panel { z-index: 2000; }
  .section { padding-block: 72px 0; }
  .bars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

.site-footer .footer__more { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-light); font-weight: 600; }
.site-footer .footer__more:hover { color: #fff; }

/* =====================================================
   Calm layer: one accent, quiet details
   (kept last so it reads as the final word on these pieces)
   ===================================================== */

/* Header: Sign in is an outline, not a filled block */
.account__btn { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.account__btn:hover, .account__btn[aria-expanded="true"] { background: var(--mint); color: var(--ink); }
.account__btn--user .avatar { background: var(--teal-dark); }

/* Results: light search band */
.results-band { background: var(--surface); border-bottom: 1px solid var(--rule); }
.results-band .sbar { border: 1px solid var(--line); }
.results-band .opt__btn { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.results-band .opt__btn:hover { background: var(--mint); }
.results-band .search__extra { color: var(--text); }
.results-band .search__extra a { color: var(--link); }
.results-band .chk input { accent-color: var(--teal-dark); }

/* Quiet badges: teal text on a pale tint; red only for money off */
.badge { font-weight: 600; }
.badge--sun, .badge--mint, .badge--member { background: var(--surface-2); color: var(--link); }
.badge--member i { color: var(--link); }

/* Neutral airline marks */
.airline, .airline--az, .airline--at, .airline--nw, .airline--sl, .airline--mr { background: var(--fill); color: var(--ink); font-weight: 700; }

/* Card actions: outlines instead of filled dark pills */
.flight__open { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.flight:hover .flight__open { background: var(--mint); color: var(--ink); }
.btn-deep { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-deep:hover { background: var(--mint); color: var(--ink); }
.cta-band .btn-deep, .status__actions .btn-deep, .empty .btn-deep { background: var(--deep); color: #fff; box-shadow: none; }

/* Softer panels and promos */
.inline-promo { border-style: solid; border-color: var(--rule); }
.inline-promo .icon-tile { background: transparent; }
.date-strip button[aria-pressed="true"] { background: var(--surface-2); }
.trip-steps .is-current span { background: var(--teal-dark); }
.filter-chips button[aria-pressed="true"], .star-btns button[aria-pressed="true"], .type-strip button[aria-pressed="true"], .time-tile:has(input:checked) { background: var(--mint); border-color: var(--teal); color: var(--ink); }
.type-strip button[aria-pressed="true"] i, .type-strip button[aria-pressed="true"] span, .time-tile:has(input:checked) i, .time-tile:has(input:checked) small { color: var(--link); }
.rating b { background: var(--teal-dark); font-weight: 600; }
.stay__night b, .flight__price b, .price b, .deal__price b { font-weight: 600; }
.active-filters button { background: var(--mint); color: var(--ink); }

/* Avatars: darker teal so white initials stay readable */
.avatar { background: var(--teal-dark); }
code { color: var(--link); }

/* Panels and dialogs take focus when they open; the outline belongs on their controls, not their edge. */
.offcanvas:focus, .offcanvas:focus-visible, dialog:focus, dialog:focus-visible, .form-errors:focus { outline: none; }

/* Breathing room above the results */
.trip-steps { margin-bottom: 26px; gap: 8px 26px; }
.trip-steps li + li::before { margin-right: 18px; }
.results-top { margin-bottom: 20px; }
.results h1 { line-height: 1.15; }
.results-count { margin-top: 8px; }
.results .crumbs { margin-bottom: 18px; }
.people-list .rating b { color: #fff; }
.price b { color: var(--ink); }

/* =====================================================
   Motion (js/theme.js). Off when the visitor asks for reduced motion.
   ===================================================== */

@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes pop-in { from { opacity: 0; translate: 0 -6px; scale: .98; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { opacity: 0; translate: 0 24px; } }
@keyframes shimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }
@keyframes flash { 0% { background: #fff3a6; } 100% { background: transparent; } }
@keyframes heart-pop { 30% { scale: 1.3; } 60% { scale: .9; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes fill-x { from { scale: 0 1; } }
@keyframes check-pop { 0% { scale: 0; } 60% { scale: 1.15; } 100% { scale: 1; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(18, 168, 159, 0.45), 0 0 0 12px var(--mint); } 100% { box-shadow: 0 0 0 26px rgba(18, 168, 159, 0), 0 0 0 12px var(--mint); } }
@keyframes tick { from { opacity: .3; translate: 0 -4px; } }

@media (prefers-reduced-motion: no-preference) {
  /* Page titles rise in on load */
  .page-head > *, .page-hero__body > *, .post-head > *, .status > *, .deal-hero__body > *, .help-hero .wrap > *, .hero__copy > *, .detail-top, .results-top, .trip-steps {
    animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
  }
  .page-head > :nth-child(2), .page-hero__body > :nth-child(2), .status > :nth-child(2), .deal-hero__body > :nth-child(2), .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .page-head > :nth-child(3), .page-hero__body > :nth-child(3), .status > :nth-child(3), .deal-hero__body > :nth-child(3) { animation-delay: .16s; }
  .page-head > :nth-child(n + 4), .page-hero__body > :nth-child(n + 4), .status > :nth-child(n + 4), .deal-hero__body > :nth-child(n + 4) { animation-delay: .24s; }

  /* Menus, dropdowns and popovers open with a short slide */
  .nav li:hover > .submenu, .nav li:focus-within > .submenu, li.is-open > .submenu,
  .dd__list:not([hidden]), .sf-pop:not([hidden]), .dropdown-menu.show { animation: pop-in .18s ease-out; }
  dialog[open] { animation: sheet-up .28s cubic-bezier(.2, .7, .2, 1); }
  dialog[open]::backdrop { animation: fade-in .28s ease-out; }
  .tab-panel:not([hidden]), .style-panel:not([hidden]), [data-step]:not([hidden]), [data-wstep]:not([hidden]) { animation: rise .35s ease-out; }
  .faq[open] .faq__a { animation: rise .3s ease-out; }

  /* Buttons and cards respond to the pointer */
  .btn-pill:active, .sbar__go:active, .flight__open:active { scale: .97; }
  .stay, .flight, .result, .deal, .trip-card, .room, .menu-card, .topic, .choice, .cabin, .fare { transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease; }
  .stay:hover, .flight:hover, .result:hover, .deal:hover, .trip-card:hover { transform: translateY(-2px); }
  .stay__fav.pop, .cruise__fav.pop, [data-fav].pop, [data-save].pop i { animation: heart-pop .45s ease; }

  /* Progress fills when it arrives */
  .rewards-big__bar i { transform-origin: left; animation: fill-x 1.2s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .bar__fill { transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
  .month__bar { transform-origin: bottom; animation: grow-y .9s cubic-bezier(.2, .7, .2, 1) calc(var(--m, 0) * 50ms + .3s) both; }
  .price-range__bars span { transform-origin: bottom; animation: grow-y .8s cubic-bezier(.2, .7, .2, 1) both; }

  /* Booking confirmed */
  .status__icon { animation: check-pop .6s cubic-bezier(.2, .7, .2, 1.4) .15s both, pulse-ring 1.8s ease-out .8s 2; }

  /* Countdown digits tick */
  .countdown b.tick { animation: tick .35s ease-out; }

  /* Changed prices and counts glow for a moment */
  .flash { animation: flash 1s ease-out; border-radius: 6px; }
}
@keyframes grow-y { from { scale: 1 0; } }

/* Loading skeleton on result lists (also shown to reduced-motion visitors, without the sweep) */
.is-loading > .stay, .is-loading > .flight, .is-loading > .result { position: relative; pointer-events: none; }
.is-loading > .stay > *, .is-loading > .flight > *, .is-loading > .result > * { visibility: hidden; }
.is-loading > .stay::before, .is-loading > .flight::before, .is-loading > .result::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%) -400px 0 / 400px 100% no-repeat,
    linear-gradient(var(--fill), var(--fill)) 18px 18px / 30% 14px no-repeat,
    linear-gradient(var(--fill), var(--fill)) 18px 44px / 55% 12px no-repeat,
    linear-gradient(var(--fill), var(--fill)) 18px 66px / 40% 12px no-repeat,
    linear-gradient(var(--fill), var(--fill)) right 18px bottom 18px / 90px 26px no-repeat,
    var(--surface-2);
  animation: shimmer 1.1s linear infinite;
}
.is-loading > .stay::before { background-position: -400px 0, 268px 18px, 268px 44px, 268px 66px, right 18px bottom 18px, 0 0; }
.is-loading > .inline-promo { opacity: 0; }
.is-refreshing > :not([hidden]) { animation: rise .4s ease-out; }

/* Busy buttons */
.is-busy { pointer-events: none; opacity: .85; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s linear infinite; }

/* Toasts */
.toast-box { position: fixed; z-index: 3000; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast-msg { display: flex; align-items: center; gap: 14px; pointer-events: auto; }
.toast-msg__undo { border: 0; background: none; padding: 0; color: var(--teal-light); font: 700 14px var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
.toast-msg { padding: 11px 18px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); animation: rise .3s ease-out; transition: opacity .35s ease, translate .35s ease; }
.toast-msg.is-out { opacity: 0; translate: 0 8px; }
body.has-tray .toast-box { bottom: 92px; }

/* 404: a turning globe with a plane on its orbit */
.lost { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 20px); padding-block: 10px 6px; font: 800 clamp(110px, 20vw, 210px)/0.9 var(--font-head); color: var(--ink); letter-spacing: -0.05em; }
.lost__globe { position: relative; width: 0.82em; height: 0.82em; }
.lost__globe svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 30px rgba(11, 58, 56, 0.25)); }
.lost__orbit { position: absolute; inset: -16%; border: 2px dashed rgba(11, 118, 112, 0.35); border-radius: 50%; }
.lost__plane { position: absolute; left: 50%; top: 0; translate: -50% -50%; display: grid; place-items: center; width: 0.24em; height: 0.24em; border-radius: 50%; background: var(--surface); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.3); color: var(--red); font-size: 0.13em; letter-spacing: 0; }
.lost__cloud { position: absolute; color: var(--fill); font-size: 0.32em; letter-spacing: 0; }
.lost__cloud--1 { top: 4%; left: 8%; }
.lost__cloud--2 { bottom: 6%; right: 6%; font-size: 0.22em; }
@keyframes meridian { 0% { scale: 1 1; } 50% { scale: 0 1; } 100% { scale: -1 1; } }
@keyframes orbit { to { rotate: 360deg; } }
@keyframes drift { 50% { translate: 40px 0; } }
@keyframes bob { 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: no-preference) {
  .lost__orbit { animation: orbit 7s linear infinite; }
  .lost__cloud--1 { animation: drift 9s ease-in-out infinite; }
  .lost__cloud--2 { animation: drift 12s ease-in-out infinite reverse; }
  .lost__digit { animation: bob 4s ease-in-out infinite; }
  .lost__digit:last-child { animation-delay: -2s; }
}

/* =====================================================
   Manage a booking
   ===================================================== */

.manage-item h2 { display: flex; align-items: center; gap: 10px; }
.manage-item h2 i { color: var(--link); font-size: 17px; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
.action-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 14px var(--font-body); text-decoration: none; }
.action-btn i { color: var(--link); }
.action-btn:hover { background: var(--mint); color: var(--ink); }
.action-btn--danger, .action-btn--danger i { color: var(--danger-ink); }
.action-btn--danger:hover { background: #fdeced; color: var(--danger-ink); }
.action-btn:disabled, .action-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.refund-note { margin: 0; font-size: 14px; color: var(--ok); font-weight: 500; }
.refund-note i { margin-right: 6px; }
.manage-item { transition: opacity .3s ease; }
.manage-item.is-canceled > :not(.book-sec__head):not(.manage-actions) { opacity: .5; text-decoration: line-through; text-decoration-color: rgba(11, 58, 56, 0.3); }

.sheet--mid { width: min(760px, 100vw - 32px); }
.seat-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.seat-map { display: grid; gap: 6px; padding: 18px 16px; border-radius: 40px 40px 16px 16px; background: #f2f7f7; border: 1px solid var(--rule); }
.seat-row { display: grid; grid-template-columns: repeat(3, 36px) 28px repeat(3, 36px); gap: 6px; justify-items: center; align-items: center; }
.seat-row--head span { font-size: 12px; font-weight: 600; color: var(--muted); }
.seat-row__no { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.seat { width: 36px; height: 38px; border-radius: 9px 9px 6px 6px; border: 1.5px solid var(--line-2); background: var(--surface); color: transparent; font-size: 12px; font-weight: 700; display: inline-block; transition: background-color .15s ease, transform .15s ease; }
button.seat:hover:not(:disabled) { border-color: var(--teal); color: var(--link); transform: translateY(-1px); }
.seat--extra { border-color: var(--teal); background: #e4f6f4; }
.seat--chosen { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.seat--taken { background: var(--fill); border-color: var(--fill); cursor: not-allowed; }
.seat-side { display: grid; gap: 12px; align-content: start; }
.seat-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.seat-key li { display: flex; align-items: center; gap: 10px; }
.seat-key .seat { width: 22px; height: 24px; }
.seat-pick, .seat-chosen, .seat-cost { margin: 0; }
.seat-chosen b { color: var(--ink); }
.seat-cost { font-weight: 600; color: var(--link); }
.quote { padding: 12px 14px; border-radius: 12px; background: var(--mint); font-size: 14px; color: var(--ink); }
.refund-box { display: grid; gap: 2px; padding: 18px; border-radius: 16px; background: var(--mint); text-align: center; }
.refund-box span { font-size: 13px; color: var(--muted); }
.refund-box b { font: 700 34px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.refund-box small { font-size: 13px; }

@media (max-width: 575.98px) {
  .seat-layout { grid-template-columns: 1fr; justify-items: center; }
  .seat-side { justify-self: stretch; }
}

@media print {
  html body :is(.topbar, .site-header, .site-footer, .to-top, .manage-actions, .page-head .btn-pill, .toast-box) { display: none; }
  .book-layout { grid-template-columns: 1fr; }
  .panel, .price-card { box-shadow: none; break-inside: avoid; }
}

/* An open dropdown lifts the blocks around it above whatever comes next
   (cards that animated in sit on their own layers and would cover it). */
.results-top, .results-tools, .sort { position: relative; }
.results-top { z-index: 30; }
:is(section, form, .panel, .book-sec, .field, .reveal, .results, .acct-main, .contact-grid > *):has(.dd__btn[aria-expanded="true"]) { position: relative; z-index: 60; }

/* Sign in: room between the steps */
.auth__form { gap: 28px; }
#auth-panel { display: grid; gap: 26px; }
#auth-panel h1 { margin-bottom: -16px; }
.auth__lead { margin: 0; }
#auth-form [data-step] { gap: 16px; }
.auth__or { margin-top: 4px; }
.auth__terms { line-height: 1.6; }

/* Stay page: dates and travelers you can change in the price card */
.book-card__trip { position: relative; }
.book-card .sf { display: block; }
.book-card .sf + .sf { border-top: 1px solid var(--line); }
.book-card .sf + .sf::before { display: none; }
.book-card .sf__btn { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 0; height: auto; padding: 10px 14px; border-radius: 0; font-size: 15px; font-weight: 600; white-space: normal; }
.book-card .sf__btn:hover, .book-card .sf__btn[aria-expanded="true"] { background: var(--surface-2); }
.sf__mini { grid-column: 1; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.book-card .sf__value { grid-column: 1; }
.sf__edit { grid-column: 2; grid-row: 1 / span 2; font-size: 12px; color: var(--link); }
.book-card .sf-cal { left: auto; right: -24px; transform: none; width: min(720px, calc(100vw - 2 * var(--gutter))); }
.book-card .sf-trav { right: -24px; }
.book-card__check { justify-content: center; }
.avail { margin: 0; font-size: 14px; font-weight: 600; color: var(--ok); }
.avail:empty { display: none; }
.room__fit { margin: 0; font-size: 13px; font-weight: 600; color: var(--danger-ink); }
.room.is-small .room__price .btn-pill { opacity: .5; pointer-events: none; }
@media (max-width: 991.98px) {
  .book-card .sf-cal, .book-card .sf-trav { right: 0; }
}

/* Signed-in account button: small avatar, name, chevron */
.account__btn--user { gap: 10px; height: 44px; padding: 0 14px 0 6px; }
.account__btn--user .avatar--sm { width: 32px; height: 32px; font: 600 14px var(--font-head); background: var(--mint); color: var(--link); box-shadow: inset 0 0 0 1px rgba(11, 118, 112, 0.2); }
.account__name { font-weight: 500; }
.account__chev { font-size: 10px; color: var(--muted); transition: transform .2s ease; }
.account__btn[aria-expanded="true"] .account__chev { transform: rotate(180deg); }
@media (max-width: 575.98px) {
  .account__btn--user { width: auto; }
}

/* Desktop menus forgive a quick or diagonal mouse: a menu stays open for
   a moment after the pointer slips off it, and an invisible bridge covers
   the gap under the menu item. Moving to another item switches at once. */
@media (min-width: 1200px) {
  .nav li > .submenu { display: block; visibility: hidden; opacity: 0; transition: visibility 0s linear .35s, opacity .2s ease .15s; }
  .nav li > .mega { display: grid; }
  .nav li:hover > .submenu, .nav li:focus-within > .submenu { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav:hover > li:not(:hover):not(:focus-within) > .submenu { visibility: hidden; opacity: 0; transition: none; }
  .nav .submenu::before { content: ""; position: absolute; left: -24px; right: -24px; top: -18px; height: 18px; }
}

/* Numbers that count up keep the same width for every digit. */
.stat b, .rewards-big > b, .rev-score b, .stat-row b, .earnings b, .tier-card b, .summary-total b, .about-photo__note b { font-variant-numeric: tabular-nums; }

/* A field with a button beside it: the button matches the field's height. */
.note-form, .find-booking__row { align-items: end; }
.note-form .btn-pill, .find-booking__row .btn-pill { height: 44px; padding-inline: 22px; justify-content: center; border-radius: 12px; flex: none; }

/* Language menu in the top bar */
.lang__btn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #e6f6f4; font: 500 13px var(--font-body); }
.lang__btn > .fa-globe { color: var(--teal-light); }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.16); color: #fff; }
.lang__btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.lang__chev { font-size: 9px; opacity: .8; transition: transform .2s ease; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu { min-width: 190px; --bs-dropdown-spacer: 8px; padding: 6px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); box-shadow: 0 20px 44px -20px rgba(8, 50, 48, 0.45); font-size: 14px; }
.lang__menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-weight: 500; }
.lang__menu .dropdown-item:hover, .lang__menu .dropdown-item:focus { background: var(--mint); color: var(--ink); }
.lang__menu .dropdown-item[aria-current="true"] { font-weight: 700; }
.lang__menu .dropdown-item[aria-current="true"]::after { content: "\f00c"; margin-left: auto; font: 900 11px "Font Awesome 7 Free"; color: var(--link); }

/* Field + button rows share one height */
.note-form input, .find-booking__row input { height: 46px; min-height: 0; }
.note-form .btn-pill, .find-booking__row .btn-pill { height: 46px; }

/* Inbox: reactive threads, notifications, demo switch */
.demo-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px dashed var(--line-2); font-size: 13px; }
.demo-switch > span { padding: 0 8px 0 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; color: var(--muted); }
.demo-switch button { border: 0; background: none; border-radius: 999px; padding: 6px 12px; font: 600 13px var(--font-body); color: var(--ink); }
.demo-switch button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.style-tab .count-pill { margin-left: 6px; }
.count-pill[hidden] { display: none; }
.thread { transition: background-color .2s ease, box-shadow .2s ease; }
.thread[aria-pressed="true"] { background: var(--mint); box-shadow: inset 3px 0 0 var(--teal); }
.thread:hover .avatar { transform: scale(1.05); }
.thread .avatar { transition: transform .2s ease; }
.convo__head > div { flex: 1; }
.convo__back { display: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--mint); color: var(--ink); }
.convo__scroll { max-height: 460px; overflow-y: auto; background: var(--surface-2); scroll-behavior: smooth; }
.convo__badge { display: none; }
[data-convo-badge] .convo__badge { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .convo__thread:not([hidden]) { animation: rise .3s ease-out; }
  .msg.is-new { animation: rise .3s ease-out; }
}
.msg--typing p { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); animation: typing 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }

.notes-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 12px; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.note { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); transition: background-color .3s ease, border-color .3s ease; }
.note[hidden] { display: none; }
.note.is-unread { border-color: var(--line-2); background: var(--surface-2); }
.note.is-unread::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--teal); }
.note__body { flex: 1; display: grid; gap: 2px; text-decoration: none; color: var(--text); font-size: 14px; }
.note__body b { color: var(--ink); font-size: 15px; }
.note.is-unread .note__body b { font-weight: 800; }
.note__body small { color: var(--muted); font-size: 12px; }
.note__body:hover b { color: var(--link); }
.note__read { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--link); opacity: 0; transition: opacity .2s ease; }
.note.is-unread .note__read { opacity: 1; }
.note:not(.is-unread) .note__read { pointer-events: none; }
.note__read:hover { background: var(--mint); }
.notes__none { margin: 20px 0 0; text-align: center; color: var(--muted); }
.notes__none[hidden] { display: none; }
@media (max-width: 991.98px) {
  .inbox .convo { display: none; }
  .inbox.is-reading .threads { display: none; }
  .inbox.is-reading .convo { display: grid; }
  .convo__back { display: grid; place-items: center; }
}
@media (hover: none) { .note.is-unread .note__read { opacity: 1; } }

/* Account menu: just the tier and Lucy Cash */
.tier-card { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 12px 14px; }
.tier-card .tier { align-self: center; }
.tier-card > b { font: 700 22px var(--font-head); color: #fff; letter-spacing: -0.01em; }
.tier-card > small { flex-basis: 100%; font-size: 13px; }

/* Layers: the search band and anything with an open popup stay above the
   page content that follows (animated blocks create their own layers). */
.results-band { position: relative; z-index: 40; }
.hero { z-index: 5; }
:is(section, form, .panel, .book-card, .sbar, .sf, .search, .results-band):has([aria-expanded="true"]) { z-index: 70; }
:is(section, form, .panel, .search):has([aria-expanded="true"]):not(.book-card, .price-card, .sidebar) { position: relative; }
/* The trip box must not clip its calendar and travelers popups. */
.book-card__trip { overflow: visible; }
.book-card .sf:first-child .sf__btn { border-radius: 13px 13px 0 0; }
.book-card .sf:last-child .sf__btn { border-radius: 0 0 13px 13px; }

main:focus { outline: none; }

.convo__attach { display: grid; place-items: center; cursor: pointer; margin: 0; flex: none; }
.convo__attach:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.msg--me .msg__file { justify-self: end; }
.stay, .result { position: relative; }

/* Swipe rows on phones: dots under the row (js/theme.js adds them) */
.row-dots { display: none; justify-content: center; gap: 0; margin-top: 12px; }
.row-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.row-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 7px; background: var(--line-2); transition: width .25s ease, background-color .25s ease; }
.row-dots button[aria-current="true"]::before { width: 22px; background: var(--teal); }
.row-dots.is-on { display: flex; }
.stay-tiles, .style-panel { scrollbar-width: none; }
.stay-tiles::-webkit-scrollbar, .style-panel::-webkit-scrollbar { display: none; }

/* Account menu on phones: a sticky row of chips to jump between sections */
@media (max-width: 767.98px) {
  .menu-cards { position: sticky; top: 69px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: var(--bg); border-bottom: 1px solid var(--rule); }
  .menu-cards::-webkit-scrollbar { display: none; }
  .menu-card { flex: none; width: auto; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
  .menu-card small, .menu-card__go { display: none; }
  .menu-card b { font-weight: 600; }
  .menu-card > i:first-child { width: auto; }
}

/* Phones and tablets: the logo row keeps its height when the menu opens */
@media (max-width: 991.98px) {
}

/* Signed-in avatar button on phones: just the round avatar */
@media (max-width: 575.98px) {
  .account__btn--user { width: 44px; height: 44px; padding: 0; border-radius: 50%; justify-content: center; box-shadow: none; background: none; }
  .account__btn--user .avatar--sm { width: 40px; height: 40px; }
}

/* Theme switch in the top bar */
.theme-btn { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--teal-light); font-size: 13px; }
.theme-btn:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.theme-btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.theme-btn .fa-sun { display: none; }
[data-theme="dark"] .theme-btn .fa-sun { display: inline; }
[data-theme="dark"] .theme-btn .fa-moon { display: none; }

[data-theme="dark"] {
  --red-ink: #ff8086;
}
/* Pieces that sit on a fixed light photo keep their light-mode colors. */
[data-theme="dark"] .hero:not(.hero--dark) .hero__kicker,
[data-theme="dark"] .hero:not(.hero--dark) h1 span { color: #0b7670; }
[data-theme="dark"] .hero:not(.hero--dark) h1 { color: #0b3a38; }
/* Light tinted boxes get dark tints. */
[data-theme="dark"] .alert-good { background: #133227; color: #9be3c5; }
[data-theme="dark"] .alert-good .icon-tile { background: #0e2a20; color: #58cfa3; }
[data-theme="dark"] .legal-note { background: #2f2a14; color: #f1dc8f; }
[data-theme="dark"] .day-item--note { background: #2b2714; border-color: #4a4220; }
[data-theme="dark"] .day-item--note .icon-tile { background: #3a341a; color: #f1dc8f; }
[data-theme="dark"] .action-btn--danger:hover { background: var(--danger-bg); }
[data-theme="dark"] .seat-map { background: var(--surface-2); }
[data-theme="dark"] .seat--extra { background: #15403c; }
[data-theme="dark"] .seat--taken { background: var(--fill); border-color: var(--fill); }
[data-theme="dark"] .map-placeholder { background: repeating-linear-gradient(45deg, #16302d 0 14px, #12201f 14px 28px); }
[data-theme="dark"] .map-placeholder::after { background: var(--surface); }
[data-theme="dark"] .map-card, [data-theme="dark"] .mini-map__art { background: linear-gradient(140deg, #1b302c 0 50%, #173a40 50%); }
[data-theme="dark"] .stay-map__art { filter: brightness(.45) saturate(.8); }
[data-theme="dark"] .rewards-card { box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.8); }
[data-theme="dark"] .toast-msg { background: #e4f2f0; color: #0b3a38; }
[data-theme="dark"] .toast-msg__undo { color: #0b7670; }
[data-theme="dark"] img[src*="images/placeholders/"] { filter: brightness(.82); }

/* Phones: no Compare (the side-by-side table needs a wide screen). */
@media (max-width: 767.98px) {
  .compare-chk, .compare-tray { display: none; }
}

/* Buttons that fill dark on hover always switch to white text */
.cta-band .btn-deep:hover, .status__actions .btn-deep:hover, .empty .btn-deep:hover { color: #fff; }

/* Sticky in-page tabs sit right under the header */
@media (max-width: 1199.98px) {
  .page-tabs { top: 69px; }
}

/* Checkboxes and radio buttons: the template's own look in every browser and theme */
.chk input[type="checkbox"], .chk input[type="radio"], .compare-chk input, .protect-add input, .choice input[type="checkbox"], .choice input[type="radio"], .chk--dark input {
  -webkit-appearance: none; appearance: none; flex: none; display: inline-grid; place-items: center; margin: 0;
  width: 19px; height: 19px; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--surface); cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.chk input[type="radio"], .choice input[type="radio"] { border-radius: 50%; }
.chk input:hover, .compare-chk input:hover, .choice input:hover, .protect-add input:hover { border-color: var(--teal-dark); }
.chk input:checked, .compare-chk input:checked, .protect-add input:checked, .choice input:checked { background: var(--teal-dark); border-color: var(--teal-dark); }
.chk input[type="checkbox"]:checked::after, .compare-chk input:checked::after, .protect-add input:checked::after, .choice input[type="checkbox"]:checked::after {
  content: "\f00c"; font: 900 10px "Font Awesome 7 Free"; color: #fff;
}
.chk input[type="radio"]:checked::after, .choice input[type="radio"]:checked::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.chk input:focus-visible, .compare-chk input:focus-visible, .choice input:focus-visible, .protect-add input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.chk input:disabled, .compare-chk input:disabled { opacity: .45; cursor: not-allowed; }
.search__extra .chk input { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.1); }
.search__extra .chk input:checked { background: var(--teal); border-color: var(--teal); }
.results-band .search__extra .chk input { border-color: var(--line-2); background: var(--surface); }

/* Booking steps on phones: numbers joined by a line, only the current label */
@media (max-width: 575.98px) {
  .trip-steps { flex-wrap: nowrap; gap: 0; align-items: center; }
  .trip-steps li { gap: 8px; white-space: nowrap; }
  .trip-steps li + li::before { content: ""; width: 20px; height: 2px; margin: 0 8px; border-radius: 2px; background: var(--line-2); font: inherit; }
  .trip-steps li.is-done + li::before { background: var(--teal); }
  .trip-steps li:not(.is-current) { font-size: 0; gap: 0; }
  .trip-steps li:not(.is-current) span { font-size: 12px; }
}

/* Rows that scroll sideways fade at the edge that has more to show */
.fade-x { --fade: 36px; }
.fade-x.can-right { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent); }
.fade-x.can-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade)); mask-image: linear-gradient(90deg, transparent, #000 var(--fade)); }
.fade-x.can-left.can-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); }

/* Small dialogs on phones: a bottom sheet that fits its content */
@media (max-width: 767.98px) {
  .sheet.sheet--small { inset: auto 0 0 0; width: 100vw; max-width: 100vw; height: auto; max-height: 90dvh; margin: 0; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .sheet--small .sheet__body { padding: 28px 22px; }
  .sheet--small .status__actions { flex-direction: column; align-items: stretch; }
  .sheet--small .status__actions .btn-pill { justify-content: center; }
}
dialog [autofocus]:focus { outline: none; }
.sheet .status__icon { margin-bottom: 24px; }

/* Fields always paint their own background (some browsers darken them otherwise) */
.side-search input, .convo__form input, .newsletter input { background: transparent; color: var(--ink); }
.side-search { background: var(--surface); }
.side-search button, .side-search > span { background: transparent; color: var(--ink); }
.newsletter input { color: #fff; }

/* Review scores in lists */
.people-list li { align-items: center; }
.people-list .rating b { display: grid; place-items: center; color: #fff; }
.acct-main [id] { scroll-margin-top: 150px; }
.menu-card[aria-current="true"] { border-color: var(--teal); background: var(--mint); }
.post-tags__label { color: var(--ink); }

@media (max-width: 575px) {
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
}

/* Desktop menu: items fill the header's height, so the current-page bar sits
   right on the header's bottom border instead of floating above it. */
@media (min-width: 1200px) {
  .main-nav, .nav, .nav > li { align-self: stretch; }
  .main-nav, .nav > li:not(.nav-mobile) { display: flex; }
  .nav { align-items: stretch; }
  .nav > li > a { padding-block: 0; }
  .nav > li > a::after { bottom: -1px; border-radius: 3px 3px 0 0; }
}
