/* ═══════════════════════════════════════════════════════════════════════════
   Flyvori — Main Stylesheet
   Warm coral + cream · Playfair Display + Lato
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Lato:wght@300;400;500;700&display=swap');

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --coral:      #e8613c;
  --coral-dark: #c94e2a;
  --coral-pale: #fde8e2;
  --cream:      #faf7f2;
  --cream-dark: #f3ede4;
  --sand:       #e8dece;
  --ink:        #1c1612;
  --ink-soft:   #4a3f38;
  --ink-muted:  #8a7d76;
  --white:      #ffffff;
  --green:      #2d7a3e;
  --blue:       #1d4e89;
  --amber:      #b45309;

  --shadow-sm: 0 1px 3px rgba(28,22,18,.07), 0 1px 2px rgba(28,22,18,.04);
  --shadow-md: 0 4px 12px rgba(28,22,18,.09), 0 2px 6px rgba(28,22,18,.05);
  --shadow-lg: 0 12px 32px rgba(28,22,18,.12), 0 4px 12px rgba(28,22,18,.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', sans-serif;

  --nav-h: 64px;
}

/* ── Reset & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--coral); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral-dark); }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,247,242,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--coral-dark); }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--coral); border-color: var(--coral-pale); }

.nav-auth { display: flex; gap: 10px; align-items: center; margin-left: 16px; }

.btn-nav-login {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 7px 16px;
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all .2s;
}
.btn-nav-login:hover { border-color: var(--coral); color: var(--coral); }

.btn-nav-cta {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  padding: 7px 16px;
  background: var(--coral);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-nav-cta:hover { background: var(--coral-dark); color: var(--white); }

/* ── Hamburger (mobile) ─────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 80px;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(232,97,60,.13) 0%, transparent 70%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 300px at 10% 80%, rgba(232,97,60,.07) 0%, transparent 60%),
    radial-gradient(circle 200px at 90% 20%, rgba(180,83,9,.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--coral);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Trust strip ────────────────────────────────────────────────────────────── */
.trust-strip {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  font-size: .8rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  opacity: .5;
}

/* ── Search widget ──────────────────────────────────────────────────────────── */
.search-widget {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232,97,60,.08);
  overflow: hidden;
}

.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--cream-dark);
  background: var(--cream);
}

.search-tab {
  flex: 1;
  padding: 14px 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}

.search-tab:hover { color: var(--coral); }

.search-tab.active {
  color: var(--coral);
  background: var(--white);
  border-bottom-color: var(--coral);
}

.search-body {
  padding: 24px;
}

.search-panel { display: none; }
.search-panel.active { display: block; }

.search-row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.search-row.cols-2 { grid-template-columns: 1fr 1fr; }
.search-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.search-row.cols-4 { grid-template-columns: 1.5fr 1.5fr 1fr 1fr; }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-group label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-muted);
}

.field-group input,
.field-group select {
  padding: 10px 14px;
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.field-group input:focus,
.field-group select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,97,60,.12);
  background: var(--white);
}

.search-cta {
  width: 100%;
  padding: 14px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: .02em;
  transition: background .2s, transform .1s;
  margin-top: 8px;
}

.search-cta:hover  { background: var(--coral-dark); }
.search-cta:active { transform: scale(.99); }

/* ── Price calendar heatmap ─────────────────────────────────────────────────── */
.price-calendar-section {
  max-width: 860px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}

.cal-day:hover { border-color: var(--coral); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cal-day.cheap { background: #ecfdf5; }
.cal-day.medium { background: #fffbeb; }
.cal-day.pricey { background: #fff0ee; }
.cal-day.selected { border-color: var(--coral); box-shadow: var(--shadow-md); }

.cal-day-name { font-size: .65rem; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; }
.cal-day-date { font-size: .85rem; font-weight: 700; color: var(--ink); margin: 2px 0; }
.cal-day-price { font-size: .75rem; color: var(--ink-soft); }
.cal-day.cheap .cal-day-price { color: var(--green); font-weight: 700; }
.cal-day.pricey .cal-day-price { color: var(--coral); }

/* ── How it works ───────────────────────────────────────────────────────────── */
.how-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--ink-muted);
  max-width: 480px;
  margin: 0 auto 48px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}

.how-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  transition: transform .25s, box-shadow .25s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.how-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--coral-pale);
  line-height: 1;
  margin-bottom: 12px;
}

.how-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.how-card p {
  font-size: .9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── SFS section ────────────────────────────────────────────────────────────── */
.sfs-section {
  background: var(--ink);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}

.sfs-section .section-title { color: var(--white); }
.sfs-section .section-sub   { color: rgba(255,255,255,.6); }

.sfs-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.signal-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
}

.signal-name {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 4px;
}

.signal-weight {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 8px;
}

.signal-bar-track {
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
}

.signal-bar-fill {
  height: 100%;
  background: var(--coral);
  border-radius: 2px;
  transition: width 1s ease;
}

/* ── Guest gate banner ──────────────────────────────────────────────────────── */
.guest-gate {
  background: linear-gradient(135deg, var(--coral-pale) 0%, #fff8f5 100%);
  border: 1.5px solid rgba(232,97,60,.25);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-top: 24px;
}

.guest-gate h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.guest-gate p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 20px; }

.gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Results page ───────────────────────────────────────────────────────────── */
.results-layout {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 20px;
}

.results-header {
  margin-bottom: 24px;
}

.results-header h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

.results-meta { font-size: .875rem; color: var(--ink-muted); margin-top: 4px; }

.mock-notice {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: .85rem;
  color: #92400e;
  margin-bottom: 20px;
}

.result-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  transition: box-shadow .2s, transform .2s;
}

.result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.sfs-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--white);
  flex-shrink: 0;
}

.sfs-badge .badge-label {
  font-size: .5rem;
  font-weight: 600;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.flight-info { flex: 1; min-width: 0; }

.flight-airline {
  font-size: .8rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.flight-times {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.flight-arrow { color: var(--ink-muted); font-weight: 300; }

.flight-duration {
  font-size: .8rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.flight-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

.tag {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: .02em;
}

.tag-combo  { background: #ede9fe; color: #5b21b6; }
.tag-deal   { background: #d1fae5; color: #065f46; }
.tag-free-cancel { background: #dbeafe; color: #1e40af; }
.tag-bag    { background: #fef3c7; color: #78350f; }
.tag-mock   { background: #f3f4f6; color: #6b7280; }

.result-price { text-align: right; }

.price-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.price-note { font-size: .75rem; color: var(--ink-muted); margin-top: 2px; }

.btn-book {
  display: inline-block;
  padding: 10px 20px;
  background: var(--coral);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.btn-book:hover { background: var(--coral-dark); color: var(--white); }

/* Hotel cards */
.hotel-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  transition: box-shadow .2s, transform .2s;
}
.hotel-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.hotel-name { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.hotel-meta { font-size: .85rem; color: var(--ink-muted); }
.hotel-stars { color: #f59e0b; letter-spacing: .1em; }
.hotel-rating { display: inline-block; background: #ecfdf5; color: #065f46; font-weight: 700; font-size: .8rem; padding: 2px 8px; border-radius: 4px; margin-left: 8px; }
.hotel-amenities { font-size: .8rem; color: var(--ink-muted); margin-top: 6px; }
.hotel-cancel { font-size: .8rem; color: var(--blue); margin-top: 4px; }

/* ── Auth pages ─────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(232,97,60,.1) 0%, transparent 60%),
    var(--cream);
  padding: 24px;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 40px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
  display: block;
  margin-bottom: 24px;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.auth-sub { font-size: .9rem; color: var(--ink-muted); margin-bottom: 24px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-hint { font-weight: 400; color: var(--ink-muted); font-size: .75rem; }
.form-hint-link { font-weight: 400; color: var(--coral); font-size: .75rem; }

.form-group input {
  padding: 11px 14px;
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,97,60,.12);
  background: var(--white);
}

.btn-primary {
  padding: 12px 24px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-primary:hover  { background: var(--coral-dark); color: var(--white); }
.btn-primary:active { transform: scale(.99); }
.btn-full { width: 100%; }

.btn-secondary {
  padding: 12px 24px;
  background: transparent;
  color: var(--coral);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  border: 1.5px solid var(--coral);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--coral); color: var(--white); }

.auth-footer {
  text-align: center;
  font-size: .875rem;
  color: var(--ink-muted);
  margin-top: 20px;
}
.auth-footer a { font-weight: 700; }

.auth-legal {
  text-align: center;
  font-size: .75rem;
  color: var(--ink-muted);
  margin-top: 10px;
}

/* ── Alerts ─────────────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  margin-bottom: 16px;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo { color: rgba(255,255,255,.9); margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }

.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a  { font-size: .875rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--coral); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  font-size: .8rem;
  text-align: center;
}

/* ── Spinner / loading ──────────────────────────────────────────────────────── */
.spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  flex-direction: column;
  gap: 16px;
  color: var(--ink-muted);
  font-size: .9rem;
}

.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--sand);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Animations ─────────────────────────────────────────────────────────────── */
.fade-in { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.stagger > * { animation: fadeIn .5s ease both; }
.stagger > *:nth-child(1) { animation-delay: .05s; }
.stagger > *:nth-child(2) { animation-delay: .10s; }
.stagger > *:nth-child(3) { animation-delay: .15s; }
.stagger > *:nth-child(4) { animation-delay: .20s; }
.stagger > *:nth-child(5) { animation-delay: .25s; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-auth { display: none; }
  .nav-toggle { display: flex; }

  .nav-inner.mobile-open .nav-links,
  .nav-inner.mobile-open .nav-auth {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--sand);
    padding: 20px 24px;
    gap: 12px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .search-row.cols-4,
  .search-row.cols-3,
  .search-row.cols-2 { grid-template-columns: 1fr; }

  .result-card { grid-template-columns: auto 1fr; }
  .result-price, .btn-book { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .auth-card { padding: 28px 24px; }

  .calendar-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .gate-btns { flex-direction: column; }
}
