/* ============================================================
   BEICOMPARE — SHARED STYLES
   All pages include this file before their page-specific CSS
   ============================================================ */

/* --- TOKENS --- */
:root {
  --primary: hsl(25, 100%, 50%);
  --primary-dark: hsl(25, 100%, 42%);
  --primary-light: hsla(25, 100%, 50%, 0.08);
  --primary-mid: hsla(25, 100%, 50%, 0.15);
  --foreground: #0f172a;
  --muted-fg: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --nav-bg: #020617;
  --nav-border: #1e293b;
  --nav-text: #94a3b8;
  --dark-section: #0f172a;
  --footer-bg: #0d1117;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--foreground); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo span { color: white; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }

.nav-btn {
  background: none;
  color: var(--nav-text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.nav-btn:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-btn.active { color: var(--primary); }
.nav-btn .arrow { font-size: 0.6rem; transition: transform 0.2s; opacity: 0.7; }

.nav-dropdown { position: relative; }
.nav-dropdown.open .nav-btn .arrow { transform: rotate(180deg); }
.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: #0c1830;
  border: 1px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  animation: dropIn 0.15s ease;
}
@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  color: #94a3b8;
  font-size: 0.875rem;
  transition: all 0.15s;
  gap: 0.5rem;
}
.dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.dropdown-menu a::before { content: ''; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; opacity: 0; flex-shrink: 0; transition: opacity 0.15s; }
.dropdown-menu a:hover::before { opacity: 1; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #94a3b8;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   MOBILE SHEET SIDEBAR
   ============================================================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 150;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s;
}
.nav-overlay.open { display: block; }

.nav-sheet {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: #08101f;
  border-left: 1px solid #1e293b;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.nav-sheet.open { transform: translateX(0); }

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #1e293b;
  flex-shrink: 0;
  background: #050d1a;
}
.sheet-close {
  background: rgba(255,255,255,0.06);
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  line-height: 1;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.sheet-close:hover { color: white; background: rgba(255,255,255,0.12); }

.sheet-body { flex: 1; overflow-y: auto; padding: 0.25rem 0 2rem; }

.sheet-section { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0.6rem 0; }
.sheet-section:last-of-type { border-bottom: none; }

.sheet-heading {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #334155;
  padding: 0.5rem 1.25rem 0.35rem;
}
.sheet-links a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.15s, background 0.15s, padding-left 0.15s;
}
.sheet-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
  padding-left: 1.5rem;
}
.sheet-sub-label {
  display: block;
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e3a5f;
  padding: 0.6rem 1.25rem 0.15rem;
  margin-top: 0.25rem;
}
.sheet-footer { padding: 1rem 1.25rem 1.5rem; }
.sheet-admin-btn {
  display: block;
  text-align: center;
  padding: 0.65rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  transition: all 0.15s;
}
.sheet-admin-btn:hover {
  color: white;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--primary);
  color: white;
  border-radius: 10px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 2px 8px rgba(255,106,0,0.3);
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,106,0,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 10px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.btn-outline:hover {
  background: var(--primary-mid);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-white {
  background: white;
  color: var(--foreground);
  border-radius: 10px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); }

/* ============================================================
   PAGE HEADER (service pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 1px solid #1e293b;
  padding: 3rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,106,0,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-header-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumb a { color: var(--primary); transition: opacity 0.15s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb strong { color: #94a3b8; font-weight: 500; }
.breadcrumb span { color: #334155; }

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,106,0,0.12);
  color: #fb923c;
  border: 1px solid rgba(255,106,0,0.25);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
.page-header h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.page-header p { color: #94a3b8; max-width: 560px; font-size: 1rem; line-height: 1.65; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  background: white;
}
.search-wrap { position: relative; flex: 1; max-width: 380px; }
.search-wrap input {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.6rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--foreground);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.1);
}
.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-fg);
  font-size: 0.9rem;
  pointer-events: none;
}
.results-count {
  font-size: 0.85rem;
  color: var(--muted-fg);
  white-space: nowrap;
  font-weight: 500;
}
.results-count strong { color: var(--foreground); }

/* ============================================================
   PLAN CARDS
   ============================================================ */
.plans-wrap { max-width: 1280px; margin: 0 auto; padding: 1.5rem 1.5rem 3rem; }

.plan-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.plan-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--cat-color, var(--primary));
  border-radius: 4px 0 0 4px;
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(255,106,0,0.2);
}
.plan-card.hidden { display: none; }
.plan-info { flex: 1; min-width: 200px; }
.plan-provider { font-weight: 800; font-size: 1.1rem; margin-bottom: 0.2rem; color: var(--foreground); }
.plan-type { font-size: 0.82rem; color: var(--muted-fg); margin-bottom: 0.5rem; }
.plan-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cat-color, var(--primary));
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: hsla(142,71%,45%,0.1);
  color: hsl(142,62%,32%);
  border: 1px solid hsla(142,71%,45%,0.2);
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
}
.plan-stars { color: #f59e0b; font-size: 0.95rem; margin-bottom: 0.4rem; letter-spacing: 2px; }
.plan-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.plan-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted-fg);
  cursor: pointer;
  font-weight: 500;
}
.plan-checkbox-wrap input {
  accent-color: var(--cat-color, var(--primary));
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Compare bar */
.compare-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0c1830;
  border-top: 2px solid var(--primary);
  padding: 1rem 1.5rem;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
.compare-bar.visible { display: flex; }
.compare-bar-info { color: #e2e8f0; font-size: 0.9rem; font-weight: 600; }
.compare-bar-info span { color: var(--primary); }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 1.5rem; color: var(--muted-fg); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9rem; max-width: 400px; margin: 0 auto; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--foreground);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--foreground);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none;
  background: hsla(142,71%,45%,0.08);
  color: hsl(142,62%,32%);
  border: 1px solid hsla(142,71%,45%,0.25);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: #9ca3af;
  padding: 4rem 1.5rem 1.75rem;
  margin-top: auto;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { font-size: 1.3rem; margin-bottom: 0.75rem; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 230px;
  color: #6b7280;
}
.footer h4 {
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #4b5563;
}
.footer-bottom a { color: #6b7280; }
.footer-bottom a:hover { color: white; }

/* ============================================================
   PAGE HERO (travel-style pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 1px solid #1e293b;
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,106,0,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,106,0,0.12);
  color: #fb923c;
  border: 1px solid rgba(255,106,0,0.25);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.page-hero p { color: #94a3b8; max-width: 600px; font-size: 1rem; line-height: 1.65; }

/* ============================================================
   CATEGORY SECTIONS & CARDS (travel, getaways, diani, flights)
   ============================================================ */
.categories { padding: 3.5rem 1.5rem 4rem; }
.categories-inner { max-width: 1280px; margin: 0 auto; }
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  text-align: center;
}
.section-sub {
  color: var(--muted-fg);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2.25rem;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 1.25rem;
}
.category-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: block;
}
.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(255,106,0,0.25);
}
.category-card-img {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}
.category-card-body { padding: 1.25rem 1.35rem 1.5rem; }
.category-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
.category-card-body p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}
.category-card-link { font-size: 0.85rem; font-weight: 700; color: var(--primary); }

/* ============================================================
   LODGE / HOTEL CARDS (rendered by api-client.js)
   ============================================================ */
.lodge-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 1.5rem;
}
.lodge-grid .empty-state { grid-column: 1 / -1; }
.lodge-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.lodge-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.lodge-img {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  position: relative;
}
.lodge-park-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgba(0,0,0,0.55);
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}
.lodge-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.lodge-rating { color: #f59e0b; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.35rem; }
.lodge-name { font-size: 1.05rem; font-weight: 800; color: var(--foreground); margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.lodge-park { font-size: 0.82rem; color: var(--muted-fg); margin-bottom: 0.75rem; }
.lodge-amenities { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.lodge-amenity {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-fg);
}
.lodge-price-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  margin-top: auto;
}
.lodge-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cat-color, var(--primary));
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.lodge-price span { font-size: 0.78rem; font-weight: 500; color: var(--muted-fg); }
.lodge-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   MODALS (shared — detail & compare dialogs)
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,8,23,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.modal.active { display: flex; }
.modal-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: none;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.modal-content::-webkit-scrollbar { display: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-18px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-header {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 1;
}
.modal-header h3 { font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; color: var(--foreground); letter-spacing: -0.01em; }
.modal-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  color: #64748b;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-body { padding: 1.5rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .plan-card { flex-direction: column; align-items: flex-start; padding: 1.25rem; gap: 1rem; }
  .plan-card::before { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 3px; border-radius: 12px 12px 0 0; }
  .plan-actions { width: 100%; justify-content: space-between; }
  .page-header { padding: 2rem 1.25rem 1.75rem; }
  .page-hero { padding: 2.5rem 1.25rem 2rem; }
  .categories { padding: 2.5rem 1.25rem 3rem; }
  .lodge-grid { padding: 1.5rem 1.25rem 3rem; gap: 1.25rem; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 1rem 1.25rem; }
  .search-wrap { max-width: 100%; }
  .search-wrap input { padding-top: 0.7rem; padding-bottom: 0.7rem; font-size: 1rem; }
  .results-count { text-align: left; }
  .plans-wrap { padding: 1.25rem 1.25rem 2.5rem; }
  .compare-bar { padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .btn-primary, .btn-outline { font-size: 0.875rem; padding: 0.6rem 1.2rem; }
  .plan-price { font-size: 1.05rem; }
  .nav-inner { padding: 0 1rem; }
  .nav-logo { font-size: 1.25rem; }
  .page-header { padding: 1.75rem 1rem 1.5rem; }
  .page-header p { font-size: 0.95rem; }
  .breadcrumb { flex-wrap: wrap; }
  .plans-wrap { padding: 1rem 1rem 2.5rem; }
  .filter-bar { padding: 0.85rem 1rem; }
  .plan-actions { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .plan-actions .btn-primary,
  .plan-actions .btn-outline,
  .plan-actions .btn-sm { width: 100%; justify-content: center; }
  .plan-checkbox-wrap { padding: 0.25rem 0; }
  .compare-bar { flex-direction: column; align-items: stretch; gap: 0.65rem; text-align: center; }
  .compare-bar .btn-primary,
  .compare-bar .btn-outline { width: 100%; justify-content: center; }
  .compare-bar > div { width: 100%; }
  .empty-state { padding: 3rem 1rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
  .page-hero { padding: 2rem 1rem 1.75rem; }
  .page-hero p { font-size: 0.95rem; }
  .categories { padding: 2rem 1rem 2.5rem; }
  .lodge-grid { padding: 1.25rem 1rem 2.5rem; }
  .lodge-actions { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .lodge-actions .btn-outline,
  .lodge-actions .btn-primary { width: 100%; justify-content: center; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-content { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .modal-header { border-radius: 20px 20px 0 0; }
  .modal-body { padding: 1.25rem; }
}

/* --- Travel & Accommodations flyout (cascading) menu --- */
.dropdown-menu-travel { min-width: 200px; padding: 0.3rem 0; }

/* First-level flyout item */
.dropdown-flyout-item { position: relative; }
.dropdown-flyout-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem !important;
  color: #e2e8f0 !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: color 0.15s, background 0.15s;
}
.dropdown-flyout-trigger:hover { color: #fff !important; background: rgba(255,255,255,0.06); }
.dropdown-flyout-trigger::before { display: none !important; }
.flyout-icon {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.45;
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.dropdown-flyout-item:hover .flyout-icon { opacity: 1; transform: translateX(2px); }

/* Second-level sub-menu (appears to the right on hover) */
.dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -4px;
  min-width: 195px;
  background: #0c1830;
  border: 1px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  animation: dropIn 0.15s ease;
  z-index: 300;
}
.dropdown-flyout-item.open .dropdown-submenu { display: block; }
.dropdown-submenu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.15s, background 0.15s;
}
.dropdown-submenu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.dropdown-submenu a::before { content: ''; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; opacity: 0; flex-shrink: 0; transition: opacity 0.15s; }
.dropdown-submenu a:hover::before { opacity: 1; }

/* Mobile sheet sub-labels (keep for mobile sheet) */
.sheet-sub-label { display: block; font-size: 0.67rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #1e3a5f; padding: 0.6rem 1.25rem 0.15rem; margin-top: 0.25rem; }
a.sheet-sub-label { color: var(--primary, hsl(25,100%,50%)); font-weight: 700; }
a.sheet-sub-label:hover { color: var(--primary, hsl(25,100%,50%)); background: rgba(255,165,0,0.06); }

/* ============================================================
   ENQUIRY / GET EXPERT ADVICE (shared across insurance pages)
   ============================================================ */
.enquiry {
  background: white;
  padding: 5rem 1.5rem;
  position: relative;
}
.enquiry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.enquiry-inner { max-width: 660px; margin: 0 auto; }
.enquiry h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.enquiry p { color: var(--muted-fg); margin-bottom: 2.25rem; line-height: 1.7; }
@media (max-width: 768px) { .enquiry { padding: 3.5rem 1.25rem; } }
