/* ==========================================================================
   FlyTravio — one-page demo
   Visual system modelled on the Chisfis template (Poppins, indigo accent,
   pill controls, soft-radius cards, light/dark). Hand-authored CSS so the
   page runs standalone with no build step and no CDN.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --n-50:  #f9fafb;
  --n-100: #f3f4f6;
  --n-200: #e5e7eb;
  --n-300: #d1d5db;
  --n-400: #9ca3af;
  --n-500: #6b7280;
  --n-600: #4b5563;
  --n-700: #374151;
  --n-800: #1f2937;
  --n-900: #111827;

  --primary-50:  #eef2ff;
  --primary-300: #a5b4fc;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;

  --accent-warm: #ef233c;
  --accent-cool: #04868b;

  /* Semantic — remapped wholesale in dark mode */
  --bg:          #ffffff;
  --bg-subtle:   var(--n-50);
  --surface:     #ffffff;
  --surface-alt: var(--n-100);
  --text:        var(--n-900);
  --text-muted:  var(--n-500);
  --text-faint:  var(--n-400);
  --line:        var(--n-200);
  --line-soft:   var(--n-100);
  --logo-dark-display: block;
  --logo-light-display: none;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow-md: 0 4px 16px -4px rgba(17, 24, 39, .10);
  --shadow-lg: 0 12px 32px -8px rgba(17, 24, 39, .14);
  --shadow-xl: 0 20px 48px -12px rgba(17, 24, 39, .18);

  --r-md: .75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;

  --container: 1280px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html[data-theme="dark"] {
  --bg:          var(--n-900);
  --bg-subtle:   #0d131f;
  --surface:     var(--n-800);
  --surface-alt: #263142;
  --text:        #ffffff;
  --text-muted:  var(--n-400);
  --text-faint:  var(--n-500);
  --line:        var(--n-700);
  --line-soft:   var(--n-800);
  --logo-dark-display: none;
  --logo-light-display: block;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 16px -4px rgba(0, 0, 0, .5);
  --shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, .55);
  --shadow-xl: 0 20px 48px -12px rgba(0, 0, 0, .6);
}

/* --- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  font-family: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

ul { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--primary-500); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--n-900); color: #fff; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --- Typography ----------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-600);
}
html[data-theme="dark"] .eyebrow { color: var(--primary-300); }

/* The template gives headings a 48px gutter and an 18px subtitle — keep that air. */
.section-head { display: flex; flex-direction: column; gap: .875rem; margin-bottom: 3rem; max-width: 42rem; }
.section-head.center { align-items: center; text-align: center; margin-inline: auto; }

.section-title {
  font-size: clamp(1.875rem, 1.35rem + 1.8vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.section-sub { color: var(--text-muted); font-size: 1.125rem; line-height: 1.6; }

/* Plain uppercase kicker used above split-section headings. */
.eyebrow-plain {
  display: block;
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-700); box-shadow: var(--shadow-md); }

.btn-dark { background: var(--n-900); color: #fff; }
.btn-dark:hover { background: var(--n-800); }
html[data-theme="dark"] .btn-dark { background: #fff; color: var(--n-900); }
html[data-theme="dark"] .btn-dark:hover { background: var(--n-200); }

.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { background: var(--surface-alt); border-color: var(--n-300); }
html[data-theme="dark"] .btn-outline:hover { border-color: var(--n-600); }

.btn-ghost { background: var(--surface-alt); color: var(--text); }
.btn-ghost:hover { background: var(--n-200); }
html[data-theme="dark"] .btn-ghost:hover { background: var(--n-700); }

.btn-sm { padding: .5rem 1.125rem; font-size: .875rem; }
.btn-lg { padding: .9375rem 2rem; font-size: 1rem; }

.btn-block { width: 100%; }

.icon { width: 1.125rem; height: 1.125rem; flex: none; stroke-width: 1.6; }
.icon-sm { width: 1rem; height: 1rem; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 5rem;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 30px; }
.brand .logo-dark  { display: var(--logo-dark-display); }
.brand .logo-light { display: var(--logo-light-display); }
@media (min-width: 640px) { .brand img { height: 34px; } }

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav { display: flex; align-items: center; gap: .25rem; }
}
.primary-nav a {
  padding: .5rem .875rem;
  border-radius: 999px;
  font-size: .9375rem;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.primary-nav a:hover { color: var(--text); background: var(--surface-alt); }

.header-actions { display: flex; align-items: center; gap: .625rem; flex: none; }

/* Below 30rem the CTA would push the hamburger off-screen; the mobile menu carries it instead. */
.header-actions .btn-dark { display: none; }
@media (min-width: 30rem) { .header-actions .btn-dark { display: inline-flex; } }

.region-switch {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem;
  color: var(--text-muted);
}
@media (min-width: 1280px) { .region-switch { display: flex; } }
.region-switch .sep { color: var(--n-300); }
html[data-theme="dark"] .region-switch .sep { color: var(--n-600); }
.region-switch a { display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; transition: color .2s var(--ease); }
.region-switch a:hover { color: var(--text); }
.region-switch a.is-active { color: var(--text); font-weight: 500; }

/* Inline SVG flags — Windows has no emoji flag glyphs, so 🇮🇳 renders as "IN". */
.flag {
  width: 1.125rem;
  height: .75rem;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, .12);
}
html[data-theme="dark"] .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }

.header-phone { display: none; }
@media (min-width: 768px) { .header-phone { display: inline-flex; } }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface-alt); color: var(--text); }

.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun  { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav-toggle { display: inline-flex; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.5rem;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav, .mobile-nav.is-open { display: none; } }
.mobile-nav a {
  display: block;
  padding: .75rem .25rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .btn { margin-top: 1rem; }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding-top: 2.5rem; }

.hero-blobs {
  position: absolute;
  inset-inline: 0;
  top: 2rem;
  display: flex;
  padding-left: 5rem;
  pointer-events: none;
  z-index: -1;
}
.hero-blobs span {
  display: block;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(64px);
  opacity: .14;
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .hero-blobs span { mix-blend-mode: screen; opacity: .18; }
.hero-blobs .blob-1 { background: var(--accent-warm); }
.hero-blobs .blob-2 { background: var(--accent-cool); margin: 10rem 0 0 -5rem; }

.hero-grid { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .hero-grid { flex-direction: row; align-items: center; } }

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1rem;
}
@media (min-width: 1024px) {
  .hero-copy { width: 52%; flex: none; padding-right: 3rem; padding-bottom: 4rem; gap: 1.75rem; }
}

.hero-title {
  font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero-title .accent { color: var(--primary-600); }
html[data-theme="dark"] .hero-title .accent { color: var(--primary-300); }

.hero-lede { max-width: 36rem; color: var(--text-muted); font-size: 1.0625rem; }
@media (min-width: 640px) { .hero-lede { font-size: 1.1875rem; } }
.hero-lede strong { color: var(--text); font-weight: 500; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-media { position: relative; width: 100%; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .hero-media img { aspect-ratio: 1 / 1; } }

.hero-badge {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  font-size: .8125rem;
  font-weight: 500;
}
.hero-badge .dot {
  width: .5rem; height: .5rem; border-radius: 999px;
  background: #22c55e; flex: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}

/* --- Search bar -----------------------------------------------------------
   Chisfis pattern: bold value on top, light label beneath, hairline dividers,
   and a round primary button floating inside the pill's right edge.
   -------------------------------------------------------------------------- */
.search-wrap { margin-top: 2rem; position: relative; z-index: 20; }
@media (min-width: 1024px) { .search-wrap { margin-top: -4.5rem; } }

.search-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-inline: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar { display: none; }

.search-tab {
  position: relative;
  flex: none;
  padding-bottom: .375rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.search-tab:hover { color: var(--text); }
.search-tab[aria-selected="true"] { color: var(--text); }
.search-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.search-form {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
}
@media (min-width: 900px) {
  .search-form {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    border-radius: 999px;
  }
}

/* Each field owns its dropdown, so the panel can anchor to it. */
.search-slot { position: relative; display: flex; min-width: 0; }
@media (min-width: 900px) {
  .search-slot--dest   { flex: 5 1 0; }
  .search-slot--dates  { flex: 4 1 0; }
  .search-slot--guests { flex: 4 1 0; }
}

.search-field {
  display: flex;
  align-items: center;
  gap: .875rem;
  width: 100%;
  min-width: 0;                 /* lets the label/value ellipsis instead of overflowing */
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
@media (min-width: 900px) {
  .search-field { border-radius: 999px; padding: 1.25rem 1.75rem; }
  .search-slot--guests .search-field { padding-right: 6rem; }
}
@media (min-width: 1280px) {
  .search-field { padding: 1.5rem 2rem; }
  .search-slot--guests .search-field { padding-right: 7rem; }
}
.search-field:hover { background: var(--surface-alt); }
.search-field[aria-expanded="true"] { background: var(--surface-alt); }

/* --- Search dropdowns ----------------------------------------------------- */
.search-panel {
  position: absolute;
  top: calc(100% + .75rem);
  z-index: 60;
  min-width: 20rem;
  max-width: calc(100vw - 2.5rem);
  padding: 1.25rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  animation: panelIn .18s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.search-panel[hidden] { display: none; }

.search-panel--start  { left: 0; }
.search-panel--end    { right: 0; }
.search-panel--center { left: 50%; transform: translateX(-50%); }
.search-panel--center[hidden] { display: none; }
@media (max-width: 899px) {
  .search-panel { left: 0; right: auto; transform: none; width: 100%; min-width: 0; }
}
.panel-wide { padding: 1.5rem; }
@media (min-width: 700px) { .panel-wide { min-width: 38rem; } }

.panel-title {
  padding: 0 1.5rem .625rem;
  font-size: .75rem;
  color: var(--text-muted);
}

.panel-list li button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: .875rem 1.5rem;
  text-align: left;
  transition: background-color .15s var(--ease);
}
.panel-list li button:hover { background: var(--surface-alt); }

.panel-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-muted);
}
.panel-ico svg { width: 1.25rem; height: 1.25rem; }

.panel-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.panel-name { font-size: .9375rem; font-weight: 500; }
.panel-note { font-size: .8125rem; color: var(--text-muted); }

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.panel-wide .panel-foot { margin-top: 1rem; padding-top: 1rem; }
.search-panel--end .panel-foot { margin-inline: 1.5rem; }

.panel-link { font-size: .875rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.panel-link:hover { color: var(--primary-600); }

/* Guests steppers */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .625rem 1.5rem;
}
.stepper-text { display: flex; flex-direction: column; gap: .125rem; }
.stepper-name { font-size: .9375rem; font-weight: 500; }
.stepper-note { font-size: .8125rem; color: var(--text-muted); }

.stepper-ctl { display: flex; align-items: center; gap: .75rem; flex: none; }
.stepper-ctl button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  color: var(--text-muted);
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.stepper-ctl button:hover:not(:disabled) { border-color: var(--text); color: var(--text); }
.stepper-ctl button:disabled { opacity: .35; cursor: not-allowed; }
.stepper-ctl output { min-width: 1.5rem; text-align: center; font-size: .9375rem; font-weight: 500; }

/* Calendar */
.cal-wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px) { .cal-wrap { grid-template-columns: 1fr 1fr; } }

.cal-month-name { text-align: center; font-size: .9375rem; font-weight: 600; margin-bottom: .875rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .125rem; }
.cal-dow {
  text-align: center;
  font-size: .6875rem;
  font-weight: 500;
  color: var(--text-faint);
  padding-bottom: .375rem;
}
.cal-day {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .8125rem;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.cal-day:disabled { color: var(--n-300); cursor: default; }
html[data-theme="dark"] .cal-day:disabled { color: var(--n-700); }
.cal-day:not(:disabled):hover { background: var(--surface-alt); }
.cal-day.in-range { background: var(--primary-50); border-radius: 0; }
html[data-theme="dark"] .cal-day.in-range { background: rgba(99, 102, 241, .16); }
.cal-day.is-start, .cal-day.is-end {
  background: var(--primary-600);
  color: #fff;
  font-weight: 600;
}
.cal-day.is-start { border-radius: 999px 0 0 999px; }
.cal-day.is-end   { border-radius: 0 999px 999px 0; }
.cal-day.is-start.is-end { border-radius: 999px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .25rem; }
.cal-nav button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px; color: var(--text-muted);
}
.cal-nav button:hover { background: var(--surface-alt); color: var(--text); }
.cal-nav svg { width: 1rem; height: 1rem; }

.search-icon { width: 1.5rem; height: 1.5rem; flex: none; color: var(--n-300); }
html[data-theme="dark"] .search-icon { color: var(--n-500); }
@media (min-width: 1024px) { .search-icon { width: 1.75rem; height: 1.75rem; } }

.search-body { display: block; min-width: 0; flex: 1; }

.search-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 1280px) { .search-value { font-size: 1.125rem; } }

.search-label {
  display: block;
  margin-top: .25rem;
  font-size: .875rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-divider { display: none; }
@media (min-width: 900px) {
  .search-divider {
    display: block;
    align-self: center;
    flex: none;
    width: 1px;
    height: 2rem;
    background: var(--line);
  }
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 100%;
  height: 3.25rem;
  margin-top: .25rem;
  border-radius: 999px;
  background: var(--primary-600);
  color: #fff;
  transition: background-color .2s var(--ease);
}
.search-submit svg { width: 1.375rem; height: 1.375rem; }
.search-submit:hover { background: var(--primary-700); }
@media (min-width: 900px) {
  .search-submit {
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    margin-top: 0;
  }
}
@media (min-width: 1280px) {
  .search-submit { right: 1rem; width: 4rem; height: 4rem; }
  .search-submit svg { width: 1.5rem; height: 1.5rem; }
}

/* --- Stats strip ---------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat { padding: 1.5rem 1.5rem; background: var(--bg); }
@media (min-width: 1024px) { .stat { padding: 1.75rem 2rem; } }
.stat dt { font-size: .8125rem; color: var(--text-muted); margin-bottom: .375rem; }
.stat dd { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; }

/* --- Sections ------------------------------------------------------------- */
.section { padding-block: 4rem; }
@media (min-width: 1024px) { .section { padding-block: 5.5rem; } }
.section-tint { background: var(--bg-subtle); }

/* Rounded inset panel — the template's `xl:rounded-[40px] bg-neutral-50` treatment.
   The panel is a sibling layer so the section keeps its normal container flow. */
.section-panel { position: relative; padding-block: 5rem; }
@media (min-width: 1024px) { .section-panel { padding-block: 6.5rem; } }

.section-panel > .panel-bg {
  position: absolute;
  inset-block: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  background: var(--bg-subtle);
}
@media (min-width: 1280px) {
  .section-panel > .panel-bg { max-width: 1340px; border-radius: 40px; }
}
.section-panel > .container { position: relative; z-index: 1; }

/* --- Destination cards ---------------------------------------------------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 640px)  { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.dest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 20rem;
  padding: 1.5rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
@media (min-width: 1024px) {
  .dest-card { grid-column: span 2; min-height: 22rem; }
  .dest-card.is-featured { grid-column: span 3; min-height: 26rem; }
  .dest-card.is-wide { grid-column: span 3; }
}

.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s var(--ease);
}
.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(17, 24, 39, .9) 0%, rgba(17, 24, 39, .5) 45%, rgba(17, 24, 39, .1) 100%);
}
/* The featured card carries body copy further up the image, so it needs more cover. */
.dest-card.is-featured::after {
  background: linear-gradient(to top, rgba(17, 24, 39, .92) 0%, rgba(17, 24, 39, .78) 40%, rgba(17, 24, 39, .45) 70%, rgba(17, 24, 39, .12) 100%);
}
.dest-card:hover img { transform: scale(1.06); }

.dest-card .pill-row { position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem; display: flex; justify-content: space-between; gap: .5rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .3125rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--n-900);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
}
.pill.pill-glass { background: rgba(17, 24, 39, .55); color: #fff; backdrop-filter: blur(6px); }

.dest-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.dest-card.is-featured h3 { font-size: 1.875rem; }
.dest-card .dest-meta { margin-top: .375rem; font-size: .875rem; color: rgba(255, 255, 255, .78); }

.dest-points { margin: 1rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.dest-points li { display: flex; gap: .625rem; font-size: .875rem; color: rgba(255, 255, 255, .88); line-height: 1.45; }
.dest-points .icon { color: var(--primary-300); margin-top: .125rem; }

.dest-card .dest-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  padding: .625rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--n-900);
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .2s var(--ease), gap .2s var(--ease);
}
.dest-card .dest-cta:hover { background: var(--n-100); gap: .75rem; }

.dest-card .dest-link {
  margin-top: .875rem;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 500;
  transition: gap .2s var(--ease);
}
.dest-card .dest-link:hover { gap: .625rem; }

/* --- Feature split (illustration + benefit list) --------------------------
   The template pairs a large illustration with a 2/5-width copy column and
   gives the list a 64px lead-in and 40px between items. That air is the design.
   -------------------------------------------------------------------------- */
.feature-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding-block: 1rem;
}
@media (min-width: 640px)  { .feature-split { gap: 5rem; } }
@media (min-width: 1024px) { .feature-split { flex-direction: row; padding-block: 2rem; } }

.feature-media { flex: 1 1 auto; min-width: 0; }
.feature-media img { width: 100%; height: auto; }

.feature-copy { flex: none; width: 100%; max-width: 42rem; }
@media (min-width: 640px)  { .feature-copy { padding-inline: 1.25rem; } }
@media (min-width: 1024px) { .feature-copy { width: 40%; } }

.feature-list {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}
.feature-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 24rem;
}

.feature-title { display: block; font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.feature-text  { display: block; color: var(--text-muted); line-height: 1.65; }

/* Tinted category pills — the template varies hue per benefit. */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .125rem .625rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.65;
}
.badge-indigo { background: rgba(99, 102, 241, .12);  color: var(--primary-700); }
.badge-green  { background: rgba(34, 197, 94, .15);   color: #15803d; }
.badge-red    { background: rgba(239, 68, 68, .15);   color: #b91c1c; }
html[data-theme="dark"] .badge-indigo { background: rgba(99, 102, 241, .18); color: var(--primary-300); }
html[data-theme="dark"] .badge-green  { background: rgba(34, 197, 94, .12);  color: #4ade80; }
html[data-theme="dark"] .badge-red    { background: rgba(239, 68, 68, .12);  color: #f87171; }

/* --- Tabs ----------------------------------------------------------------- */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: none;
  padding: .625rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  transition: all .2s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--n-300); }
html[data-theme="dark"] .tab:hover { border-color: var(--n-600); }
.tab[aria-selected="true"] {
  background: var(--n-900);
  border-color: var(--n-900);
  color: #fff;
}
html[data-theme="dark"] .tab[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--n-900); }

/* --- Package cards -------------------------------------------------------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem 1.75rem;
}
@media (min-width: 640px)  { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .pkg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pkg { display: flex; flex-direction: column; }
.pkg[hidden] { display: none; }

.pkg-media { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.pkg-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.pkg:hover .pkg-media img { transform: scale(1.05); }

.pkg-media .badge-off {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .625rem;
  border-radius: 999px;
  background: var(--accent-warm);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.pkg-media .badge-nights {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  padding: .3125rem .75rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, .62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
}

.pkg-save {
  position: absolute;
  top: .625rem;
  right: .625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--n-700);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.pkg-save:hover { color: var(--accent-warm); background: #fff; }

.pkg-body { display: flex; flex-direction: column; gap: .75rem; padding-top: .875rem; flex: 1; }

.pkg-route { font-size: .8125rem; color: var(--text-muted); }

.pkg-title { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }

.pkg-hot {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  color: var(--accent-warm);
  font-weight: 500;
}

.pkg-rule { width: 3.5rem; border-bottom: 1px solid var(--line); }

.pkg-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; padding-top: .25rem; }

.pkg-price .from { display: block; font-size: .75rem; color: var(--text-muted); }
.pkg-price .amount { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.pkg-price .per { font-size: .8125rem; font-weight: 400; color: var(--text-muted); }

.pkg-book {
  flex: none;
  padding: .5rem 1.125rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .8125rem;
  font-weight: 500;
  transition: all .2s var(--ease);
}
.pkg-book:hover { background: var(--n-900); border-color: var(--n-900); color: #fff; }
html[data-theme="dark"] .pkg-book:hover { background: #fff; border-color: #fff; color: var(--n-900); }

.grid-foot { display: flex; justify-content: center; margin-top: 4rem; }

/* --- How it works ---------------------------------------------------------
   Template proportions: 80px above the row, 80px between columns, 180px-wide
   illustrations, and a dashed curve threaded behind them.
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 4rem 5rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.steps-connector {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 2.5rem;
  width: 100%;
  height: 105px;
  color: var(--n-400);
  pointer-events: none;
}
@media (min-width: 768px) { .steps-connector { display: block; } }
html[data-theme="dark"] .steps-connector { color: var(--n-600); }

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .875rem;
  max-width: 20rem;
  margin-inline: auto;
}

.step-art {
  width: auto;
  max-width: 180px;
  height: 170px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: .9375rem;
  font-weight: 600;
}
html[data-theme="dark"] .step-num { background: rgba(99, 102, 241, .18); color: var(--primary-300); }

.step h3 { font-size: 1.25rem; font-weight: 600; }
.step p { margin-top: .375rem; color: var(--text-muted); line-height: 1.65; }

/* --- Ranked destinations -------------------------------------------------- */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (min-width: 768px)  { .rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rank-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.rank-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--n-300); }
html[data-theme="dark"] .rank-card:hover { border-color: var(--n-600); }

.rank-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  min-width: 1.75rem;
  padding: .1875rem .5rem;
  border-radius: 999px;
  background: var(--n-900);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
}
html[data-theme="dark"] .rank-badge { background: #fff; color: var(--n-900); }
.rank-card.is-soon .rank-badge { background: var(--primary-600); color: #fff; }

.rank-avatar {
  display: block;
  width: 5rem;
  height: 5rem;
  margin-bottom: .625rem;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line);
}
.rank-avatar img { width: 100%; height: 100%; object-fit: cover; }

.rank-card h3 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.rank-meta { font-size: .8125rem; color: var(--text-muted); }
.rank-stat {
  margin-top: auto;
  padding-top: .625rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--primary-600);
}
html[data-theme="dark"] .rank-stat { color: var(--primary-300); }
.rank-price { font-size: .8125rem; color: var(--text-faint); }

/* --- Explore nearby ------------------------------------------------------- */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 560px)  { .nearby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nearby-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.nearby-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.nearby-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--n-300);
}
html[data-theme="dark"] .nearby-card:hover { border-color: var(--n-600); }

.nearby-badge {
  position: absolute;
  top: .625rem;
  right: .625rem;
  padding: .125rem .625rem;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.65;
}

/* 96px round portrait, as the template's category box uses. */
.nearby-avatar {
  width: 6rem;
  height: 6rem;
  flex: none;
  border-radius: 999px;
  overflow: hidden;
}
.nearby-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .3s var(--ease);
}
.nearby-card:hover .nearby-avatar img { filter: brightness(.78); }

.nearby-text { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.nearby-name { font-size: 1rem; font-weight: 500; }
.nearby-meta { font-size: .875rem; color: var(--text-muted); }

/* --- Newsletter ----------------------------------------------------------- */
.newsletter {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3rem;
  padding-block: 1rem;
}
@media (min-width: 640px)  { .newsletter { gap: 4rem; } }
@media (min-width: 1024px) { .newsletter { flex-direction: row; gap: 5rem; padding-block: 2rem; } }

.newsletter-copy { display: flex; flex-direction: column; gap: 1.25rem; flex: none; width: 100%; min-width: 0; }
@media (min-width: 1024px) { .newsletter-copy { width: 45%; } }
.newsletter-copy .cta-points { margin-top: 1.25rem; gap: 1rem; }

.newsletter-form { position: relative; margin-top: 1.5rem; max-width: 26rem; }
.newsletter-form input {
  width: 100%;
  padding: 1rem 4rem 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.newsletter-form input::placeholder { color: var(--text-faint); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-500) 18%, transparent);
}

.newsletter-submit {
  position: absolute;
  top: 50%;
  right: .375rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--primary-600);
  color: #fff;
  transition: background-color .2s var(--ease);
}
.newsletter-submit svg { width: 1.125rem; height: 1.125rem; }
.newsletter-submit:hover { background: var(--primary-700); }

.newsletter-media { flex: 1 1 auto; width: 100%; min-width: 0; }
.newsletter-media img { width: 100%; height: auto; }

/* --- Types of trip -------------------------------------------------------- */
.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (min-width: 768px)  { .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .type-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.type-card { display: flex; flex-direction: column; gap: .875rem; }
.type-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-xl);
  transition: transform .5s var(--ease), box-shadow .3s var(--ease);
}
.type-card:hover img { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.type-body { display: flex; flex-direction: column; gap: .1875rem; }
.type-name { font-size: .9375rem; font-weight: 600; }
.type-meta { font-size: .8125rem; color: var(--text-muted); }

/* --- Videos --------------------------------------------------------------- */
.video-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .video-layout { grid-template-columns: 1.85fr 1fr; } }

.video-main {
  position: relative;
  display: block;
  border-radius: var(--r-2xl);
  overflow: hidden;
  isolation: isolate;
  min-height: 18rem;
}
.video-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s var(--ease);
}
.video-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(17, 24, 39, .85) 0%, rgba(17, 24, 39, .25) 50%, rgba(17, 24, 39, .1) 100%);
}
.video-main:hover img { transform: scale(1.04); }
@media (min-width: 1024px) { .video-main { min-height: 30rem; } }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--n-900);
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.video-play svg { width: 2rem; height: 2rem; margin-left: .175rem; }
.video-main:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-play.sm { width: 2.75rem; height: 2.75rem; }
.video-play.sm svg { width: 1.125rem; height: 1.125rem; }

.video-caption {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  color: #fff;
}
.video-title { font-size: 1.25rem; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.video-len { font-size: .8125rem; color: rgba(255, 255, 255, .75); }

.video-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 1024px) { .video-list { grid-template-columns: 1fr; } }

.video-thumb {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
}
.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .5s var(--ease);
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(17, 24, 39, .82) 0%, rgba(17, 24, 39, .15) 60%);
}
.video-thumb:hover img { transform: scale(1.06); }
.video-thumb-title {
  position: absolute;
  left: .875rem;
  right: .875rem;
  bottom: .75rem;
  color: #fff;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.35;
}

/* --- Testimonials ---------------------------------------------------------
   The template's centrepiece: one large portrait, supporting avatars scattered
   around it, and a single oversized quote flanked by decorative marks.
   -------------------------------------------------------------------------- */
.quotes {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  padding-block: 1rem 2rem;
}
@media (min-width: 768px) { .quotes { margin-bottom: 4rem; } }

.quotes-scatter { display: none; }
@media (min-width: 768px) { .quotes-scatter { display: block; } }
.quotes-scatter .sc {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  object-fit: cover;
  opacity: .9;
}
.sc-1 { top: 2.25rem; left: -5rem; }
.sc-2 { right: 100%; bottom: 6.25rem; margin-right: 10rem; }
.sc-3 { top: 100%; left: 8.75rem; }
.sc-4 { right: 8.75rem; bottom: -2.5rem; }
.sc-5 { bottom: 5rem; left: 100%; margin-left: 8rem; }

.quotes-hero {
  display: block;
  width: 8rem;
  height: 8rem;
  margin-inline: auto;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.quotes-stage { position: relative; margin-top: 3rem; }
@media (min-width: 1024px) { .quotes-stage { margin-top: 4rem; } }

.quotes-mark {
  position: absolute;
  top: .25rem;
  width: 3rem;
  height: 3rem;
  color: var(--primary-300);
  opacity: .5;
}
@media (min-width: 768px) { .quotes-mark { opacity: 1; } }
html[data-theme="dark"] .quotes-mark { color: var(--primary-500); }
.quotes-mark--start { right: 100%; margin-right: -4rem; }
.quotes-mark--end   { left: 100%;  margin-left: -4rem; transform: scaleX(-1); }
@media (min-width: 1024px) {
  .quotes-mark--start { margin-right: .75rem; }
  .quotes-mark--end   { margin-left: .75rem; }
}

.quote-slide {
  display: none;
  margin: 0;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}
.quote-slide.is-active { display: flex; animation: quoteIn .45s var(--ease); }
@keyframes quoteIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.quote-slide blockquote {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 400;
  text-wrap: pretty;
}
@media (min-width: 768px) { .quote-slide blockquote { font-size: 1.5rem; line-height: 1.55; } }

.quote-slide figcaption { display: flex; flex-direction: column; gap: .25rem; }
.quote-name  { font-size: 1rem; font-weight: 600; }
.quote-where { font-size: .875rem; color: var(--text-faint); }

.quotes-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.quotes-dots button {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--n-300);
  transition: background-color .2s var(--ease), width .2s var(--ease);
}
html[data-theme="dark"] .quotes-dots button { background: var(--n-600); }
.quotes-dots button[aria-selected="true"] { width: 1.5rem; background: var(--primary-600); }
html[data-theme="dark"] .quotes-dots button[aria-selected="true"] { background: var(--primary-300); }

/* --- CTA banner ----------------------------------------------------------- */
.cta-banner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: var(--r-2xl);
  background: var(--primary-50);
  overflow: hidden;
}
html[data-theme="dark"] .cta-banner { background: #1b2233; }
@media (min-width: 1024px) {
  .cta-banner { flex-direction: row; align-items: center; padding: 3.5rem; gap: 3.5rem; }
}

.cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; flex: 1; }
.cta-copy h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.cta-copy p { color: var(--text-muted); font-size: 1.0625rem; max-width: 32rem; }

.cta-points { display: flex; flex-direction: column; gap: .625rem; }
.cta-points li { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; }
.cta-points .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; flex: none;
  border-radius: 999px;
  background: var(--surface);
  font-size: .75rem; font-weight: 600;
  color: var(--primary-700);
}
html[data-theme="dark"] .cta-points .num { background: rgba(255, 255, 255, .08); color: var(--primary-300); }

.cta-form { flex: none; width: 100%; max-width: 26rem; }
.cta-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.cta-card h3 { font-size: 1.0625rem; font-weight: 600; }

.field { display: flex; flex-direction: column; gap: .375rem; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--text-muted); }
.field input, .field select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-500) 18%, transparent);
}
.field input::placeholder { color: var(--text-faint); }

.form-note { font-size: .75rem; color: var(--text-faint); text-align: center; }

/* --- FAQ ------------------------------------------------------------------ */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 20rem 1fr; gap: 4rem; } }

.faq-list { display: flex; flex-direction: column; gap: .875rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq-item[open] { border-color: var(--primary-300); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; color: var(--text-faint); transition: transform .25s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(180deg); }

.faq-answer { padding: 0 1.375rem 1.375rem; color: var(--text-muted); font-size: .9375rem; line-height: 1.65; }
.faq-answer ul { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }
.faq-answer li { display: flex; gap: .625rem; }
.faq-answer li .icon { color: var(--primary-500); margin-top: .2rem; }
.faq-answer a { color: var(--primary-600); font-weight: 500; }
html[data-theme="dark"] .faq-answer a { color: var(--primary-300); }

.faq-aside p { color: var(--text-muted); margin-top: .75rem; }
.faq-aside .btn { margin-top: 1.5rem; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 4rem 2rem; background: var(--bg-subtle); }
@media (min-width: 640px)  { .site-footer { padding-block: 6rem 2rem; } }
@media (min-width: 1024px) { .site-footer { padding-block: 8rem 2rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.3fr; gap: 2rem; } }

.footer-brand img { width: auto; height: 32px; margin-bottom: 1.25rem; }
.footer-brand .logo-dark  { display: var(--logo-dark-display); }
.footer-brand .logo-light { display: var(--logo-light-display); }
.footer-brand p { color: var(--text-muted); font-size: .875rem; max-width: 22rem; }

.socials { display: flex; gap: .4375rem; margin-top: 1.5rem; flex-wrap: wrap; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: all .2s var(--ease);
}
.socials a:hover { background: var(--n-900); border-color: var(--n-900); color: #fff; }
html[data-theme="dark"] .socials a:hover { background: #fff; border-color: #fff; color: var(--n-900); }

.footer-col h4 { font-size: .9375rem; font-weight: 600; margin-bottom: 1.125rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { color: var(--text-muted); font-size: .875rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text); }

.office { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }
.office + .office { margin-top: 1.25rem; }
.office strong { display: block; color: var(--text); font-weight: 500; margin-bottom: .25rem; }
.office a { color: var(--text-muted); }
.office a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--text-muted);
  text-align: center;
}
@media (min-width: 640px)  { .footer-bottom { margin-top: 5rem; } }
@media (min-width: 1024px) { .footer-bottom { margin-top: 6rem; } }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom .regions { display: flex; align-items: center; gap: .625rem; }
.footer-bottom .regions a { display: inline-flex; align-items: center; gap: .375rem; }
.footer-bottom .regions a:hover { color: var(--text); }

/* --- Demo notice ---------------------------------------------------------- */
.demo-bar {
  background: var(--n-900);
  color: rgba(255, 255, 255, .82);
  font-size: .75rem;
  text-align: center;
  padding: .5rem 1.25rem;
  letter-spacing: .01em;
}
html[data-theme="dark"] .demo-bar { background: #000; }
.demo-bar strong { color: #fff; font-weight: 500; }

/* --- Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Calendar column wrapper — keeps each month's nav aligned with its grid. */
.cal-nav-row { min-width: 0; }
