@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400;1,500&display=swap');

/* ═══════════════════════════════════════════════
   FLYINGFISH — DISCOVER V3
   Brand: Cyan / Teal ocean palette
   Typography: Josefin Sans (display/headings) · Roboto (body) — matches main FlyingFish site
═══════════════════════════════════════════════ */

:root {
  --primary: #06b6d4;           /* FlyingFish cyan */
  --primary-hover: #0891b2;
  --primary-light: #cffafe;
  --primary-soft: #ecfeff;
  --secondary: #0d9488;         /* deep teal */
  --secondary-hover: #0f766e;
  --deep: #164e63;              /* deep cyan */
  --deep-dark: #0c3f53;
  --navy: #0f172a;              /* near-black navy */
  --accent: #f59e0b;            /* warm amber for prices */
  --accent-hover: #d97706;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f8fdff;
  --bg2: #f0fdff;
  --bg3: #e0f7fa;
  --card-bg: #ffffff;
  --border: rgba(6, 182, 212, 0.16);
  --border-hover: rgba(6, 182, 212, 0.45);
  --border-strong: rgba(6, 182, 212, 0.3);
  --text: #0f172a;
  --muted: #475569;
  --dim: #94a3b8;
  --gold: #c98a0a;
  --coral: #e84545;
  --green: #22c55e;
  --sidebar-w: 280px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(6, 95, 120, 0.06);
  --shadow: 0 4px 20px rgba(6, 95, 120, 0.08);
  --shadow-lg: 0 14px 40px rgba(6, 95, 120, 0.14);
  --shadow-xl: 0 24px 60px rgba(6, 95, 120, 0.22);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Roboto', sans-serif; font-weight: 400; overflow-x: hidden; min-height: 100vh; -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #1d4ed8 100%);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0ea371 0%, #0891b2 50%, #1e40af 100%);
}

.section-wrap { max-width: 1200px; margin: 0 auto; }

/* ── HEADER ───────────────────────────────── */
html { scroll-padding-top: 72px; }
@media (max-width: 900px) { html { scroll-padding-top: 60px; } }
.header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.05),
    0 10px 28px rgba(6, 95, 120, 0.08);
}
.top-header {
  background: #fff;
  border-bottom: 1px solid #e1e1e1;
  padding: 12px 0;
  font-size: 14px;
  color: #373737;
}
.top-header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: nowrap;
}
.top-header ul { list-style: none; padding: 0; margin: 0; }
.top-header-left { display: flex; align-items: center; gap: 46px; }
.top-header-right { display: flex; align-items: center; gap: 18px; }
.top-header-left li,
.top-header-right li {
  font-size: 14px; color: #373737;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative; white-space: nowrap;
}
.top-header-left li + li::before {
  content: ""; position: absolute;
  width: 1px; height: 85%; background: #64acff;
  left: -23px; top: 0;
}
.top-header li a {
  color: #373737; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.top-header li a:hover { color: #00B4D8; }
.top-header svg { flex-shrink: 0; }
.site-header {
  position: relative;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.58) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, 0.95); }
}
.site-header-inner {
  max-width: 1240px; margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: nowrap;
  min-width: 0;
}
.site-header-inner > * { min-width: 0; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: center; }
.nav-links a { font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 500; color: #334155; text-decoration: none; padding: 8px 14px; border-radius: 8px; transition: var(--transition); white-space: nowrap; background: transparent; }
.nav-links a:hover {
  color: #fff;
  background: linear-gradient(135deg,
    rgba(16, 185, 129, 0.92) 0%,
    rgba(6, 182, 212, 0.92) 50%,
    rgba(29, 78, 216, 0.92) 100%);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.28);
}
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.header-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 16px 4px 4px;
  background: linear-gradient(135deg,
    rgba(16, 185, 129, 0.96) 0%,
    rgba(6, 182, 212, 0.96) 50%,
    rgba(29, 78, 216, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
  color: #fff; text-decoration: none; white-space: nowrap;
  box-shadow:
    0 8px 22px rgba(29, 78, 216, 0.32),
    0 4px 12px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 32px rgba(29, 78, 216, 0.45),
    0 6px 16px rgba(16, 185, 129, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.header-cta::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left .7s ease;
  pointer-events: none;
}
.header-cta:hover::after { left: 140%; }
@keyframes ctaShineLoop {
  0%   { left: -120%; }
  18%  { left: 140%; }
  100% { left: 140%; }
}
.header-cta-avatar {
  position: relative; flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.header-cta-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; display: block;
}
.header-cta-dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 11px; height: 11px;
  background: #22c55e;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: ff-online-pulse 2.2s ease-in-out infinite;
}
@keyframes ff-online-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.header-cta-text { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; padding-right: 2px; }
.header-cta-name { font-family: 'Roboto', sans-serif; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; }
.header-cta-status { font-family: 'Roboto', sans-serif; font-size: 10.5px; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, 0.88); }
.compare-btn { background: #fff; color: var(--primary); border: 1px solid var(--border-strong); padding: 9px 16px; border-radius: 100px; font-family: 'Roboto', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; transition: var(--transition); display: none; }
.compare-btn.show { display: inline-block; }
.compare-btn:hover { background: var(--primary-soft); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; padding: 0 4px; }

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 32px 70px;
  min-height: 680px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: #060f1c;
  overflow: hidden;
}
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(6, 182, 212, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.58) 0%, rgba(6, 95, 120, 0.48) 45%, rgba(255, 255, 255, 0.94) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px; align-items: center;
}
.hero-text { min-width: 0; }
.hero-eyebrow {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: #fff;
  background: rgba(6, 182, 212, 0.35); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 600; line-height: 1.05; color: #fff;
  text-shadow: 0 2px 20px rgba(15, 23, 42, 0.35);
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: #67e8f9; font-weight: 500; }
.hero-subtitle {
  font-size: 19px; color: rgba(255, 255, 255, 0.92); max-width: 620px; margin-top: 16px; line-height: 1.5;
  text-shadow: 0 1px 10px rgba(15, 23, 42, 0.25);
  font-weight: 400;
}
.hero-stats { display: flex; gap: 44px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat strong {
  color: #fff; display: block; font-size: 32px;
  font-family: 'Josefin Sans', sans-serif; font-weight: 600;
  letter-spacing: 0; margin-bottom: 2px;
  text-shadow: 0 2px 14px rgba(15, 23, 42, 0.3);
}
.hero-stat span { font-family: 'Josefin Sans', sans-serif; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }

.hero-search {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(255, 255, 255, 0.38) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-xl);
  padding: 26px 26px; width: 100%; max-width: 440px; justify-self: end;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow:
    0 24px 60px rgba(6, 95, 120, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-search { background: rgba(255, 255, 255, 0.92); }
}
.hero-search-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em; margin-bottom: 2px;
}
.hero-search .hero-cta { margin-top: 6px; padding: 14px 22px; font-size: 14.5px; }
.search-group label { font-family: 'Josefin Sans', sans-serif; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.search-group select {
  width: 100%; background: #fff; border: 1.5px solid var(--border);
  color: var(--text); padding: 12px 14px; border-radius: var(--radius);
  font-family: 'Roboto', sans-serif; font-size: 14.5px; font-weight: 500;
  appearance: none; cursor: pointer; transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2306b6d4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px;
}
.search-group select:hover { border-color: var(--primary); }
.search-group select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }

/* Custom hero select trigger (mobile replaces native select) */
.hero-select { position: relative; }
.hero-select-native { display: none; }
.hero-select-trigger {
  display: inline-flex;
  width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--border);
  color: var(--text); padding: 12px 14px; border-radius: var(--radius);
  font: 500 14.5px/1.2 'Roboto', sans-serif;
  cursor: pointer; align-items: center; justify-content: space-between;
  gap: 10px; transition: var(--transition);
}
.hero-select-trigger[aria-expanded="true"],
.hero-select-trigger:focus-visible { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.hero-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-select-value.hero-select-placeholder { color: var(--muted); }
.hero-select-chev { color: var(--primary); flex-shrink: 0; transition: transform .2s ease; }
.hero-select-trigger[aria-expanded="true"] .hero-select-chev { transform: rotate(180deg); }

/* Hero bottom sheet — glass morphic */
.hero-sheet-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .24s ease;
}
.hero-sheet-overlay.open { opacity: 1; pointer-events: auto; }

.hero-sheet {
  position: fixed; left: 50%; right: auto; bottom: 24px; z-index: 510;
  width: calc(100% - 48px); max-width: 460px;
  max-height: min(78vh, 640px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.64) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(6, 95, 120, 0.3);
  transform: translate(-50%, calc(100% + 40px));
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  padding-bottom: 14px;
  pointer-events: none;
}
.hero-sheet.open { transform: translate(-50%, 0); pointer-events: auto; }

@media (max-width: 640px) {
  .hero-sheet {
    left: 0; right: 0; bottom: 0;
    width: 100%; max-width: none;
    border-radius: 22px 22px 0 0;
    border-left: none; border-right: none; border-bottom: none;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translate(0, 100%);
  }
  .hero-sheet.open { transform: translate(0, 0); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-sheet { background: rgba(255, 255, 255, 0.96); }
}

.hero-sheet-grabber {
  width: 40px; height: 4px; border-radius: 4px;
  background: rgba(15, 23, 42, 0.22);
  margin: 10px auto 6px;
}
.hero-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 20px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.hero-sheet-title {
  margin: 0; font: 600 16px/1.2 'Josefin Sans', sans-serif;
  color: var(--text);
}
.hero-sheet-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(15,23,42,0.08);
  font-size: 14px; cursor: pointer; color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}

.hero-sheet-list {
  flex: 1; overflow-y: auto; padding: 6px 12px 10px;
  -webkit-overflow-scrolling: touch;
}
.hero-sheet-section { border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
.hero-sheet-section:last-child { border-bottom: none; }
.hero-sheet-group {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  font: 600 11px/1 'Josefin Sans', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  padding: 14px 14px;
  appearance: none; -webkit-appearance: none;
  background: transparent; border: none; border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
}
.hero-sheet-group:hover { color: var(--primary); }
.hero-sheet-group-chev { transition: transform .22s ease; flex-shrink: 0; }
.hero-sheet-section.open .hero-sheet-group-chev { transform: rotate(180deg); }
.hero-sheet-section.open .hero-sheet-group { color: var(--primary); }
.hero-sheet-section-body {
  overflow: hidden; max-height: 0;
  padding: 0 0 0 0;
  transition: max-height .28s ease, padding .28s ease;
}
.hero-sheet-section.open .hero-sheet-section-body {
  max-height: 1200px;
  padding: 0 0 8px;
}
.hero-sheet-option {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; width: 100%;
  padding: 13px 14px; border-radius: 12px;
  background: transparent; border: 1px solid transparent;
  font: 500 15px/1.25 'Roboto', sans-serif;
  color: var(--text); cursor: pointer;
  text-align: left; transition: background .15s ease, border-color .15s ease;
  margin-bottom: 2px;
}
.hero-sheet-option:hover,
.hero-sheet-option:active {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.22);
}
.hero-sheet-option[aria-selected="true"] {
  background: linear-gradient(135deg,
    rgba(16, 185, 129, 0.14) 0%,
    rgba(6, 182, 212, 0.14) 50%,
    rgba(29, 78, 216, 0.14) 100%);
  border-color: rgba(6, 182, 212, 0.5);
  color: var(--primary);
}
.hero-sheet-option-check { width: 18px; height: 18px; color: var(--primary); opacity: 0; flex-shrink: 0; }
.hero-sheet-option[aria-selected="true"] .hero-sheet-option-check { opacity: 1; }

body.hero-sheet-locked {
  position: fixed;
  left: 0; right: 0;
  width: 100%;
  overflow: hidden;
}
.hero-cta {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #1d4ed8 100%);
  color: #fff; border: none; padding: 13px 26px;
  font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer; border-radius: var(--radius); transition: var(--transition);
  white-space: nowrap;
  box-shadow:
    0 8px 22px rgba(29, 78, 216, 0.32),
    0 4px 12px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(29, 78, 216, 0.45),
    0 6px 16px rgba(16, 185, 129, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 30px;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 100px;
  font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .02em; text-decoration: none;
  border: none; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.hero-btn-primary {
  position: relative;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #1d4ed8 100%);
  color: #fff;
  padding: 5px 22px 5px 5px;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .005em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 26px rgba(29, 78, 216, 0.36),
    0 4px 14px rgba(16, 185, 129, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  overflow: hidden;
  isolation: isolate;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(29, 78, 216, 0.50),
    0 6px 18px rgba(16, 185, 129, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}
.hero-btn-avatar {
  position: relative; flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
.hero-btn-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.hero-btn-dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 12px; height: 12px;
  background: #22c55e;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: ff-online-pulse 2.2s ease-in-out infinite;
}
.hero-btn-arrow { width: 16px; height: 16px; flex-shrink: 0; margin-left: 2px; transition: transform .25s ease; }
.hero-btn-primary:hover .hero-btn-arrow { transform: translateX(4px); }
.hero-btn-label { display: inline-flex; align-items: center; }
.hero-btn-primary::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.45);
  animation: hero-cta-breathe 2.8s ease-in-out infinite;
  pointer-events: none; z-index: -1;
}
.hero-btn-primary:hover::after { animation: none; }
@keyframes hero-cta-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.38); }
  50%      { box-shadow: 0 0 0 14px rgba(29, 78, 216, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-btn-primary::after { animation: none; }
}

.ai-sparkle {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}
.ai-sparkle svg {
  width: 18px; height: 18px;
  animation: sparkle-pulse 1.8s ease-in-out infinite;
  transform-origin: center;
}
.ai-sparkle-small {
  position: absolute !important;
  top: -3px; right: -5px;
  width: 9px !important; height: 9px !important;
  opacity: 0.95;
  animation: sparkle-twinkle 1.4s ease-in-out infinite !important;
  animation-delay: 0.3s !important;
}
@keyframes sparkle-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.15) rotate(12deg); opacity: 0.92; }
}
@keyframes sparkle-twinkle {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50% { transform: scale(1); opacity: 1; }
}
.hero-btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}
.hero-btn-whatsapp:hover { transform: translateY(-2px); background: #1ebe5b; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5); }

.hero-trust {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  color: #0d9488;
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(6, 95, 120, 0.18);
  font-weight: 600;
}
.trust-ic {
  width: 13px; height: 13px;
  color: #0d9488;
  flex-shrink: 0;
}

/* ── SMART BAR ────────────────────────────── */
.smart-bar {
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px; display: flex; gap: 10px; flex-wrap: nowrap;
  align-items: center;
  position: sticky; top: 72px; z-index: 150; overflow-x: auto; -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 12px rgba(6, 95, 120, 0.04);
}
.smart-label {
  font-family: 'Josefin Sans', sans-serif; font-size: 10px; letter-spacing: .22em;
  color: var(--muted); text-transform: uppercase; white-space: nowrap;
  margin-right: 6px; display: flex; align-items: center; gap: 6px;
}
.smart-label::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.45);
}
.smart-btn {
  background: #fff; border: 1.5px solid var(--border);
  color: var(--text); padding: 6px 12px 6px 6px; border-radius: 100px;
  font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: var(--transition); font-family: 'Roboto', sans-serif;
  box-shadow: 0 1px 3px rgba(6, 95, 120, 0.04);
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.smart-btn .smart-img {
  width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--border);
  background: var(--primary-soft); flex-shrink: 0;
}
.smart-btn:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(6, 182, 212, 0.18); }
.smart-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 16px rgba(6, 182, 212, 0.3); }
.smart-btn.active .smart-img { border-color: rgba(255, 255, 255, 0.5); }
.smart-btn-clear { margin-left: auto; color: var(--muted); border-color: var(--border); background: transparent; padding: 6px 14px; gap: 0; }
.smart-btn-clear:hover { border-color: var(--coral); color: var(--coral); background: #fff0f0; }

/* ── MAIN LAYOUT ──────────────────────────── */
.main-layout { display: flex; align-items: flex-start; min-height: calc(100vh - 78px); max-width: 1400px; margin: 0 auto; }

/* ── SIDEBAR ──────────────────────────────── */
.sidebar {
  width: var(--sidebar-w); min-width: var(--sidebar-w);
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.54) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-right: 1px solid rgba(15, 23, 42, 0.06);
  height: calc(100vh - 130px); position: sticky; top: 130px;
  overflow-y: auto; padding: 8px 0 60px;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sidebar { background: rgba(255, 255, 255, 0.95); }
}
.sidebar::-webkit-scrollbar { width: 3px; }
.filter-section { border-bottom: 1px solid var(--border); padding: 16px 20px; }
.filter-section:last-child { border-bottom: none; }
.filter-title {
  font-family: 'Josefin Sans', sans-serif; font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.filter-title .toggle { font-size: 13px; transition: transform .2s; color: var(--dim); }
.filter-section.collapsed .toggle { transform: rotate(-90deg); }
.filter-section.collapsed .filter-body { display: none; }

.sort-grid { display: flex; flex-direction: column; gap: 2px; }
.sort-option {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  transition: background .15s; font-size: 13px; color: var(--text);
}
.sort-option:hover { background: var(--primary-soft); }
.sort-option.active { background: var(--primary-light); color: var(--deep); font-weight: 600; }
.sort-icon { font-size: 14px; width: 20px; text-align: center; color: var(--primary); }

.check-grid { display: flex; flex-direction: column; gap: 2px; }
.check-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 6px 10px; border-radius: 8px; transition: background .15s;
  font-size: 13px; color: var(--text); font-weight: 400;
}
.check-item:hover { background: var(--primary-soft); }
.check-item input[type=checkbox] { accent-color: var(--primary); width: 15px; height: 15px; cursor: pointer; }

.month-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.month-btn {
  background: #fff; border: 1px solid var(--border);
  color: var(--muted); font-size: 10px; text-align: center;
  padding: 7px 0; border-radius: 6px; cursor: pointer;
  transition: var(--transition); font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
}
.month-btn:hover { border-color: var(--primary); color: var(--primary); }
.month-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.range-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.range-row input[type=range] { flex: 1; accent-color: var(--primary); background: transparent; }
.range-val { font-family: 'Josefin Sans', sans-serif; font-size: 12px; color: var(--primary); font-weight: 600; min-width: 56px; text-align: right; }

.clear-all {
  width: calc(100% - 40px); padding: 11px; margin: 16px 20px 0;
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--muted); font-size: 12px; font-weight: 500; cursor: pointer;
  border-radius: var(--radius); transition: var(--transition);
  font-family: 'Roboto', sans-serif; letter-spacing: .04em;
}
.clear-all:hover { border-color: var(--coral); color: var(--coral); }

/* ── CONTENT ──────────────────────────────── */
.content { flex: 1; padding: 28px 32px 60px; min-width: 0; }

.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.results-count { font-family: 'Josefin Sans', sans-serif; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.results-count strong { color: var(--primary); font-weight: 600; }
.view-toggle { display: flex; gap: 4px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 3px; }
.view-btn {
  background: transparent; border: none;
  color: var(--muted); padding: 6px 14px; cursor: pointer;
  font-size: 13px; border-radius: calc(var(--radius) - 3px); transition: var(--transition);
  font-family: 'Roboto', sans-serif; font-weight: 500;
}
.view-btn.active { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(6, 95, 120, 0.1); }

/* ── CARDS GRID ───────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1100px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
.cards-grid.list-view { grid-template-columns: 1fr; }

/* ── DESTINATION CARD ─────────────────────── */
.dest-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); position: relative; cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.dest-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dest-card.in-compare { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.25), var(--shadow); }
.dest-card.hidden { display: none; }

.card-rank { display: none; }
.card-compare-toggle {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px);
  border: none; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px;
  font-family: 'Roboto', sans-serif; font-size: 11.5px; font-weight: 600;
  color: var(--deep); cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(6, 95, 120, 0.18);
  line-height: 1;
}
.card-compare-toggle i { font-size: 10px; }
.card-compare-toggle:hover { background: var(--primary); color: #fff; }
.dest-card.in-compare .card-compare-toggle { background: var(--primary); color: #fff; }
.dest-card.in-compare .card-compare-toggle i { color: #fff; }

.card-hero {
  aspect-ratio: 1 / 1; width: 100%; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-light) 100%);
}
.card-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s ease;
}
.dest-card:hover .card-hero-img { transform: scale(1.08); }
.card-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.45) 0%, transparent 40%, transparent 100%);
}
.card-location-badge {
  position: absolute; bottom: 12px; left: 14px;
  font-family: 'Josefin Sans', sans-serif; font-size: 9.5px; letter-spacing: .06em;
  color: #fff; text-transform: uppercase;
  background: rgba(6, 182, 212, 0.9); backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: 100px;
  max-width: calc(100% - 130px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.card-location-badge::before { content: none; }
.card-season-badge {
  position: absolute; bottom: 12px; right: 12px;
  font-family: 'Josefin Sans', sans-serif; font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 100px;
  font-weight: 500; white-space: nowrap; max-width: 110px;
}
.season-peak { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
.season-shoulder { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.season-off { background: #fee2e2; border: 1px solid #fca5a5; color: #b91c1c; }

.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 0; }
.card-top > div:first-child { flex: 1; min-width: 0; }
.card-name {
  font-family: 'Josefin Sans', sans-serif; font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(17px * 1.2 * 2);
}
.card-sub {
  font-family: 'Roboto', sans-serif; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(12.5px * 1.35);
}
.card-rating { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.rating-num { font-family: 'Josefin Sans', sans-serif; font-size: 14px; color: var(--gold); font-weight: 600; }
.rating-stars { font-size: 11px; color: var(--gold); display: inline-flex; align-items: center; gap: 1px; line-height: 1; }
.rating-stars .fa-regular { color: #e2e8f0; }

.card-tags {
  display: flex; flex-wrap: nowrap; gap: 6px; margin-bottom: 0;
  align-items: center; min-height: 22px; overflow: hidden;
}
.card-tags .tag { white-space: nowrap; flex-shrink: 0; }
.tag {
  font-size: 10.5px; padding: 4px 9px; border-radius: 100px;
  font-family: 'Josefin Sans', sans-serif; letter-spacing: .05em; font-weight: 500;
  display: inline-flex; align-items: center; line-height: 1;
}
.tag-level { background: var(--primary-soft); border: 1px solid var(--border-strong); color: var(--deep); }
.tag-marine { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.tag-type { background: #f1f5f9; border: 1px solid #cbd5e1; color: var(--muted); }
.tag-hot { background: #fff1f2; border: 1px solid #fca5a5; color: #b91c1c; }
.tag-visa { background: #dcfce7; border: 1px solid #86efac; color: #166534; }

.card-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px;
  background: var(--bg-soft);
}
.stat-cell { padding: 10px 8px; text-align: center; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: none; }
.stat-val { font-family: 'Josefin Sans', sans-serif; font-size: 13px; color: var(--text); font-weight: 600; }
.stat-key { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 3px; font-family: 'Josefin Sans', sans-serif; }

.card-marine { margin-bottom: 0; }
.marine-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; font-family: 'Josefin Sans', sans-serif; font-weight: 500; }
.marine-list {
  display: flex; flex-wrap: wrap; gap: 5px;
  max-height: 58px; overflow: hidden;
  min-height: 58px; align-content: flex-start;
}
.marine-list.expanded { max-height: none; }
.marine-item {
  font-size: 11.5px; padding: 4px 9px 4px 4px;
  background: var(--primary-soft); border: 1px solid var(--border-strong);
  border-radius: 100px; color: var(--text); display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; line-height: 1;
}
.marine-item .marine-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0;
}
.marine-item .prob { font-size: 9px; padding: 2px 5px; border-radius: 3px; font-family: 'Josefin Sans', sans-serif; margin-left: 4px; }
.prob-high { background: #dcfce7; color: #166534; }
.prob-seasonal { background: #fef3c7; color: #92400e; }

.month-timeline { display: none; }

/* ── Floating Compare Bar ─── */
.compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 290;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding-bottom: env(safe-area-inset-bottom);
}
.compare-bar.show { transform: translateY(0); }
.cbar-inner {
  max-width: 1300px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 16px;
}
.cbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 0; }
.cbar-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; font-size: 15px; flex-shrink: 0;
}
.cbar-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cbar-title {
  font-family: 'Josefin Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--text);
  line-height: 1.15; white-space: nowrap;
}
.cbar-count { font-size: 11.5px; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.cbar-thumbs {
  display: flex; gap: 8px; flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
  padding: 4px 0;
}
.cbar-thumbs::-webkit-scrollbar { display: none; }
.cbar-thumb {
  position: relative; width: 44px; height: 44px; border-radius: 10px;
  overflow: visible; background: var(--bg-soft);
  flex-shrink: 0;
}
.cbar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; border: 2px solid var(--border); }
.cbar-thumb.empty {
  display: grid; place-items: center;
  color: var(--dim); font-size: 12px;
  border: 2px dashed var(--border); border-radius: 10px;
}
.cbar-thumb-remove {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  background: var(--text); color: #fff; border: 2px solid #fff; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; font-size: 8px; padding: 0;
  z-index: 2;
}
.cbar-thumb-remove:hover { background: #dc2626; }
.cbar-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.cbar-clear {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  padding: 10px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 500; cursor: pointer;
  white-space: nowrap;
}
.cbar-clear:hover { border-color: var(--text); color: var(--text); }
.cbar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; border: none; padding: 11px 18px; border-radius: 8px;
  font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.cbar-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(6, 182, 212, 0.45); }
.cbar-cta.disabled {
  background: #e2e8f0; color: var(--dim); cursor: not-allowed; box-shadow: none; transform: none;
}
.cbar-cta.disabled:hover { transform: none; box-shadow: none; }

/* ── Mobile compare bar layout ─── */
@media (max-width: 720px) {
  .cbar-inner {
    flex-wrap: wrap; gap: 10px; padding: 10px 14px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "left    thumbs"
      "actions actions";
    align-items: center;
  }
  .cbar-left { grid-area: left; gap: 8px; }
  .cbar-icon { width: 32px; height: 32px; font-size: 13px; border-radius: 8px; }
  .cbar-title { font-size: 13px; }
  .cbar-count { font-size: 10.5px; }
  .cbar-thumbs { grid-area: thumbs; flex: 0 0 auto; gap: 6px; }
  .cbar-thumb { width: 36px; height: 36px; }
  .cbar-thumb-remove { width: 16px; height: 16px; top: -5px; right: -5px; font-size: 7px; }
  .cbar-actions { grid-area: actions; gap: 8px; width: 100%; }
  .cbar-clear { flex: 0 0 auto; padding: 10px 14px; font-size: 12px; }
  .cbar-cta { flex: 1 1 auto; justify-content: center; padding: 11px 14px; font-size: 13px; }
}
@media (max-width: 380px) {
  .cbar-left { gap: 6px; }
  .cbar-icon { display: none; }
  .cbar-thumb { width: 32px; height: 32px; }
}

/* ── Progressive-disclosure block on each card ─── */
.card-more {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.card-more[open] > *:not(summary) { animation: cardMoreFade .22s ease; }
@keyframes cardMoreFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.card-more-summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
  color: var(--primary);
  font: 600 11px/1 'Josefin Sans', sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  user-select: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.card-more-summary::-webkit-details-marker,
.card-more-summary::marker { display: none; content: ''; }
.card-more-summary:hover { background: rgba(6, 182, 212, 0.18); }
.card-more-chev { transition: transform .22s ease; flex-shrink: 0; }
.card-more[open] .card-more-summary .card-more-chev { transform: rotate(180deg); }
.card-more[open] .card-more-summary {
  background: linear-gradient(135deg,
    rgba(16,185,129,.92) 0%, rgba(6,182,212,.92) 50%, rgba(29,78,216,.92) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.28);
}
.card-more .card-facts { margin: 12px 0 10px; }
.card-more .card-tags-spec { margin-bottom: 8px; }
.card-more .card-marine { margin: 6px 0 10px; }
.card-more .visibility-btn { margin-top: 4px; }

/* ── Visibility Chart button on card ─── */
.visibility-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; background: var(--primary-soft); border: 1px solid var(--border-strong);
  color: var(--deep); font-family: 'Josefin Sans', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .03em; padding: 8px 12px; border-radius: 100px;
  cursor: pointer; transition: var(--transition); line-height: 1;
}
.visibility-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.visibility-icon { font-size: 13px; }

/* ── Visibility Chart modal ─── */
.visibility-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
.visibility-modal.open { display: flex; animation: fadeIn .2s ease; }
.vm-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); }
.vm-dialog {
  position: relative;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.64) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  width: min(420px, 92vw); max-height: 88vh; overflow-y: auto;
  padding: 24px 22px 22px;
  box-shadow: 0 24px 60px rgba(6, 95, 120, 0.3);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vm-dialog { background: rgba(255, 255, 255, 0.96); }
}
.vm-close {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.7); color: var(--muted); font-size: 14px; cursor: pointer;
  display: grid; place-items: center;
}
.vm-close:hover { background: rgba(255, 255, 255, 0.9); color: var(--text); }
.vm-header { margin-bottom: 14px; padding-right: 28px; }
.vm-title {
  font-family: 'Josefin Sans', sans-serif; font-size: 18px; font-weight: 600; color: var(--text);
  line-height: 1.25; margin: 0;
}
.vm-subtitle { font-size: 13px; color: var(--muted); margin-top: 4px; }
.vm-legend {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.vm-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 500; }
.vm-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.vm-chip.peak .dot { background: var(--secondary); }
.vm-chip.shoulder .dot { background: var(--accent); }
.vm-chip.off .dot { background: #fecaca; }
.vm-rows { display: flex; flex-direction: column; gap: 6px; }
.vm-row {
  display: grid; grid-template-columns: 48px 1fr 90px; align-items: center; gap: 10px;
  padding: 6px 10px; border-radius: 8px;
}
.vm-row.peak { background: rgba(207, 250, 254, 0.55); }
.vm-row.shoulder { background: rgba(254, 243, 199, 0.55); }
.vm-row.off { background: rgba(254, 226, 226, 0.55); }
.vm-month { font-family: 'Josefin Sans', sans-serif; font-size: 12px; color: var(--text); font-weight: 600; }
.vm-bar { display: block; height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.vm-bar-fill { display: block; height: 100%; width: 100%; }
.vm-bar-fill.peak { background: var(--secondary); }
.vm-bar-fill.shoulder { background: var(--accent); opacity: .85; }
.vm-bar-fill.off { background: #fecaca; }
.vm-label { font-size: 11px; color: var(--muted); font-weight: 500; text-align: right; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
  margin-top: auto;
  min-height: 78px;
}
.card-price { display: flex; flex-direction: column; }
.price-from { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-family: 'Josefin Sans', sans-serif; }
.price-amount { font-family: 'Josefin Sans', sans-serif; font-size: 20px; color: var(--text); line-height: 1; font-weight: 600; margin-top: 1px; }
.price-per { font-size: 10px; color: var(--dim); margin-top: 3px; font-family: 'Josefin Sans', sans-serif; }
.card-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; border: none; padding: 10px 20px;
  font-family: 'Roboto', sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer; border-radius: var(--radius); transition: var(--transition);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.28);
}
.card-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4); }

/* ── LIST VIEW ────────────────────────────── */
.cards-grid.list-view .dest-card { display: flex; flex-direction: row; align-items: stretch; }
.cards-grid.list-view .card-hero { width: 240px; min-width: 240px; aspect-ratio: 1 / 1; }
.cards-grid.list-view .card-body { flex: 1; }

/* ── NO RESULTS ───────────────────────────── */
.no-results { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--muted); }
.no-results .icon { font-size: 54px; margin-bottom: 16px; opacity: .5; }
.no-results h3 { font-family: 'Josefin Sans', sans-serif; font-size: 26px; margin-bottom: 8px; color: var(--text); font-weight: 600; }

/* ── SECTION BASE ─────────────────────────── */
section h2 {
  font-family: 'Josefin Sans', sans-serif; font-size: clamp(28px, 4vw, 40px);
  text-align: center; color: var(--text); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.15;
}
.section-subtitle { color: var(--muted); text-align: center; margin-top: 10px; margin-bottom: 48px; font-size: 16px; font-weight: 400; }

/* ── MARINE LIFE SECTION ──────────────────── */
.marine-life-section {
  padding: 80px 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg2) 100%);
  border-top: 1px solid var(--border);
}
.marine-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
  max-width: 1140px; margin: 0 auto;
}
.marine-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/5; cursor: pointer; transition: var(--transition);
  box-shadow: var(--shadow);
}
.marine-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1; transition: var(--transition);
}
.marine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.marine-card:hover::before { background: linear-gradient(180deg, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%); }
.marine-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.marine-card:hover img { transform: scale(1.1); }
.marine-card-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 18px 16px;
}
.marine-card-title { font-family: 'Josefin Sans', sans-serif; font-size: 18px; color: #fff; font-weight: 600; }
.marine-card-meta { font-family: 'Josefin Sans', sans-serif; font-size: 10px; letter-spacing: .14em; color: rgba(255, 255, 255, 0.78); text-transform: uppercase; margin-top: 4px; }

/* ── HOW IT WORKS ─────────────────────────── */
.how-it-works { padding: 80px 32px; background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.step {
  text-align: left; padding: 32px 28px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: 'Josefin Sans', sans-serif; font-size: 54px;
  font-weight: 600; line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 14px;
}
.step-title { font-weight: 600; font-size: 19px; margin-bottom: 10px; color: var(--text); font-family: 'Roboto', sans-serif; }
.step-desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ── DESTINATIONS SECTION ─────────────────── */
.destinations-section {
  padding: 80px 32px;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.dest-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px;
  max-width: 1200px; margin: 0 auto;
}
.dest-tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.dest-tile:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dest-tile-hero { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--primary-soft); }
.dest-tile-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.dest-tile:hover .dest-tile-hero img { transform: scale(1.08); }
.dest-tile-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.35) 0%, transparent 50%);
}
.dest-tile-body { padding: 18px 18px 20px; }
.dest-tile-name { font-family: 'Josefin Sans', sans-serif; font-size: 22px; font-weight: 600; color: var(--text); line-height: 1.1; }
.dest-tile-country { font-family: 'Josefin Sans', sans-serif; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; }
.dest-tile-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.dest-tile-desc { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── TESTIMONIALS ─────────────────────────── */
.testimonials-section { padding: 80px 32px; background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 12px; right: 20px;
  font-family: 'Josefin Sans', sans-serif; font-size: 72px;
  color: var(--primary-light); line-height: 1; font-weight: 600;
  z-index: 0;
}
.testimonial-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.testimonial-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; position: relative; z-index: 1; }
.testimonial-text { font-size: 15.5px; line-height: 1.65; color: var(--text); margin-bottom: 18px; font-weight: 400; position: relative; z-index: 1; }
.testimonial-author { font-family: 'Josefin Sans', sans-serif; font-size: 15px; color: var(--text); font-weight: 600; position: relative; z-index: 1; }
.testimonial-meta { font-family: 'Josefin Sans', sans-serif; font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; }

/* ── FINAL CTA ────────────────────────────── */
.final-cta {
  padding: 90px 32px;
  background: linear-gradient(135deg, var(--deep) 0%, var(--secondary) 50%, var(--primary) 100%);
  position: relative; overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(103, 232, 249, 0.18) 0%, transparent 60%);
}
.final-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.final-cta h2 { font-family: 'Josefin Sans', sans-serif; font-size: clamp(30px, 4.5vw, 44px); color: #fff; font-weight: 600; }
.final-cta p { color: rgba(255, 255, 255, 0.88); margin: 14px 0 28px; font-size: 17px; max-width: 540px; margin-left: auto; margin-right: auto; }
.final-cta .hero-cta {
  font-size: 15px; padding: 16px 36px;
  background: #fff; color: var(--deep);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.25);
}
.final-cta .hero-cta:hover { background: #fff; color: var(--primary); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(15, 23, 42, 0.35); }

/* ── FOOTER ───────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 64px 32px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 14px; }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { color: rgba(255, 255, 255, 0.6); font-size: 13.5px; line-height: 1.65; max-width: 340px; }
.footer-contact { margin-top: 16px; font-size: 13px; line-height: 1.9; }
.footer-contact a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: var(--transition); }
.footer-contact a:hover { color: #67e8f9; }
.footer-col h4 { font-family: 'Josefin Sans', sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #67e8f9; margin-bottom: 16px; font-weight: 500; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); font-size: 13.5px; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-family: 'Josefin Sans', sans-serif; font-size: 11px; color: rgba(255, 255, 255, 0.4); letter-spacing: .08em; }

/* ── COMPARE DRAWER ───────────────────────── */
.compare-drawer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(255, 255, 255, 0.98); border-top: 2px solid var(--primary);
  backdrop-filter: blur(16px);
  transform: translateY(100%); transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  max-height: 75vh; overflow-y: auto;
  box-shadow: 0 -8px 40px rgba(6, 95, 120, 0.2);
}
.compare-drawer.open { transform: translateY(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(255, 255, 255, 0.99); z-index: 1;
}
.drawer-title { font-family: 'Josefin Sans', sans-serif; font-size: 20px; font-weight: 600; color: var(--text); }
.drawer-close { background: none; border: none; color: var(--muted); font-size: 24px; cursor: pointer; transition: color .2s; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.drawer-close:hover { background: var(--bg2); color: var(--coral); }
.compare-table-wrap { overflow-x: auto; padding: 24px 28px 36px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.compare-table th, .compare-table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 13px; line-height: 1.35; vertical-align: middle; word-break: break-word; }
.compare-table th { background: var(--primary-soft); font-family: 'Josefin Sans', sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--deep); text-align: left; white-space: nowrap; font-weight: 500; }
.compare-table td:first-child { font-family: 'Josefin Sans', sans-serif; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; background: var(--bg-soft); }

/* ── LEAD MODAL ───────────────────────────── */
.lead-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(10px);
  align-items: center; justify-content: center;
}
.lead-modal.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lead-modal-content {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xl); max-width: 480px; width: 92%; overflow: hidden; position: relative;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.4);
  animation: scaleIn .25s cubic-bezier(.4, 0, .2, 1);
}
@keyframes scaleIn { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lead-modal-header {
  padding: 32px 28px; text-align: center;
  background: linear-gradient(135deg, var(--deep) 0%, var(--secondary) 60%, var(--primary) 100%);
  position: relative;
}
.lead-modal-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(103, 232, 249, 0.25) 0%, transparent 60%);
}
.lead-modal-header h2 { font-family: 'Josefin Sans', sans-serif; font-size: 26px; color: #fff; font-weight: 600; position: relative; }
.lead-modal-header p { color: rgba(255, 255, 255, 0.88); font-size: 14px; margin-top: 6px; position: relative; }
.lead-modal-body { padding: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { font-family: 'Josefin Sans', sans-serif; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; display: block; font-weight: 500; }
.form-group input, .form-group select {
  width: 100%; background: #fff; border: 1.5px solid var(--border);
  color: var(--text); padding: 12px 14px; border-radius: var(--radius);
  font-family: 'Roboto', sans-serif; font-size: 14.5px; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.lead-submit {
  width: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; border: none; padding: 15px;
  font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: .03em; cursor: pointer;
  border-radius: var(--radius); transition: var(--transition);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}
.lead-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(6, 182, 212, 0.42); }
.lead-modal-close { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); border: none; color: #fff; font-size: 18px; cursor: pointer; transition: var(--transition); z-index: 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.lead-modal-close:hover { background: rgba(255, 255, 255, 0.35); }

/* ── WHATSAPP FLOAT ───────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  cursor: pointer; text-decoration: none; transition: bottom .3s ease, transform .2s ease, box-shadow .2s ease;
}
body:has(.compare-bar.show) .whatsapp-float { bottom: 110px; }
body:has(.compare-bar.show) { padding-bottom: 100px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55); }
.whatsapp-float .tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.whatsapp-float:hover .tooltip { opacity: 1; }

/* ── ANIMATIONS ───────────────────────────── */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.dest-card { animation: fadeSlideUp .45s ease both; }
.dest-card:nth-child(1) { animation-delay: .03s; }
.dest-card:nth-child(2) { animation-delay: .06s; }
.dest-card:nth-child(3) { animation-delay: .09s; }
.dest-card:nth-child(4) { animation-delay: .12s; }
.dest-card:nth-child(5) { animation-delay: .15s; }
.dest-card:nth-child(n+6) { animation-delay: .18s; }

@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-search { justify-self: stretch; max-width: 100%; }
}
@media (max-width: 900px) {
  .site-header-inner { padding: 0 16px; height: 60px; gap: 12px; }
  .logo-img { height: 36px; }
  .header-actions .compare-btn { display: none; }
  .header-cta { padding: 3px 14px 3px 3px; gap: 8px; }
  .header-cta-avatar { width: 32px; height: 32px; }
  .header-cta-name { font-size: 12px; }
  .header-cta-status { display: none; }
  .header-cta::after {
    animation: ctaShineLoop 3.6s ease-in-out .4s infinite;
    transition: none;
  }
  .top-header { padding: 8px 0; font-size: 12.5px; }
  .top-header-inner { padding: 0 16px; gap: 12px; }
  .top-header-left { gap: 30px; }
  .top-header-left li:nth-child(2),
  .top-header-left li:nth-child(3) { display: none; }
  .top-header-left li + li::before { display: none; }
  .sidebar { display: none; }
  .sidebar.mobile-open {
    display: block; position: fixed; inset: 0; z-index: 300;
    width: 100%; max-width: 320px; height: 100vh; top: 0;
    background: var(--bg); animation: slideIn .3s ease;
  }
  .sidebar-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); z-index: 299; display: none; }
  .sidebar-overlay.show { display: block; }
  .smart-bar { padding: 12px 16px; top: 60px; }
  .content { padding: 20px 16px; }
  .cards-grid { grid-template-columns: 1fr; gap: 18px; }
  .cards-grid.list-view .card-hero { width: 140px; min-width: 140px; }
  .hero { padding: 84px 20px 54px; min-height: 600px; }
  .hero-content { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-search { padding: 20px; max-width: 100%; justify-self: stretch; }
  .hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-top: 24px; padding: 10px 2px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
  }
  .hero-stat {
    text-align: center; padding: 4px 4px; min-width: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero-stat:last-child { border-right: none; }
  .hero-stat strong { font-size: 18px; margin-bottom: 1px; }
  .hero-stat span { font-size: 8.5px; letter-spacing: .12em; display: block; line-height: 1.25; }
  .hero-actions { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .dest-tiles { grid-template-columns: 1fr 1fr; }
  .marine-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .final-cta { padding: 60px 20px; }
  .marine-life-section, .how-it-works, .destinations-section, .testimonials-section { padding: 60px 20px; }
}
@media (max-width: 520px) {
  .dest-tiles { grid-template-columns: 1fr; }
  .marine-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-stats { padding: 8px 0; margin-top: 20px; }
  .hero-stat { padding: 4px 2px; }
  .hero-stat strong { font-size: 16px; }
  .hero-stat span { font-size: 7.5px; letter-spacing: .10em; }
}

/* ═══════════════════════════════════════════════
   v23 — iDive aggregator: tier/affiliation badges,
   SRP strike-through, active-chip row, plan wizard
═══════════════════════════════════════════════ */

/* ── Tier + affiliation badges on cards ─── */
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 3; }
.badge-tier, .badge-aff, .badge-soon {
  font: 600 11px/1 'Roboto', sans-serif; letter-spacing: .4px;
  padding: 5px 8px; border-radius: 6px;
  background: rgba(255,255,255,.96); color: var(--navy);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  text-transform: uppercase;
}
.badge-tier { background: var(--tier-color, #6b7280); color: #fff; }
.badge-aff { background: rgba(15,23,42,.82); color: #fff; }
.badge-soon { background: #f59e0b; color: #fff; }

/* ── Quick facts strip ─── */
.card-facts {
  display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0;
  color: var(--muted); font-size: 12.5px; min-width: 0;
}
.card-facts .fact {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; min-width: 0;
}
.card-facts .fact i {
  color: var(--primary); font-size: 11.5px; width: 14px; text-align: center;
}
.card-more .card-facts .fact { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* ── Card tags (cat + specialty) ─── */
.tag-cat { background: var(--primary); color: #fff; }
.tag-spec { background: #eef2ff; color: #4338ca; }

/* ── SRP strike-through + savings chip ─── */
.card-price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.price-srp { font-size: 13px; color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(100,116,139,.65); }
.price-save { display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; background: #ecfdf5; color: #047857; }

/* ── Marine "more" chip ─── */
.marine-item.more {
  padding: 4px 10px; background: var(--primary); color: #fff;
  border: 1px solid var(--primary); border-radius: 100px;
  font-size: 11.5px; font-weight: 600; cursor: pointer; position: relative;
  display: inline-flex; align-items: center; line-height: 1; transition: var(--transition);
}
.marine-item.more:hover { background: var(--deep); border-color: var(--deep); }
.more-pop {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #0f172a; color: #fff; font-size: 11.5px; padding: 10px 12px;
  border-radius: 8px; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.28); z-index: 20;
  display: flex; flex-direction: column; gap: 7px;
  min-width: 140px; cursor: default;
  animation: fadeIn .15s ease;
}
.more-pop-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.more-pop-item i { color: var(--secondary); font-size: 10px; width: 14px; text-align: center; flex-shrink: 0; }
.more-pop::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #0f172a;
}

/* ── Coming-soon card variant ─── */
.dest-card.coming-soon { opacity: .92; }
.dest-card.coming-soon .card-hero-img { filter: saturate(.6) brightness(.92); }
.cta-soon { background: #f59e0b !important; }
.cta-soon:hover { background: #d97706 !important; }

/* ── Dest tile tier + soon tag ─── */
.dest-tile-hero { position: relative; }
.dest-tile-tier { position: absolute; top: 10px; right: 10px; padding: 4px 8px; border-radius: 6px; background: var(--tier-color, #6b7280); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .4px; }
.dest-tile-soon { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 6px; background: #f59e0b; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.dest-tile.soon .dest-tile-hero img { filter: saturate(.65) brightness(.9); }

/* ── Tier chip filter ─── */
.tier-grid { display: flex; flex-direction: column; gap: 6px; }
.tier-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 13px; user-select: none;
}
.tier-chip:hover { background: var(--primary-soft); border-color: var(--border-hover); }
.tier-chip input { display: none; }
.tier-chip .tier-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tier-color, #6b7280); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--tier-color); }
.tier-chip:has(input:checked) { background: color-mix(in srgb, var(--tier-color) 10%, #fff); border-color: var(--tier-color); font-weight: 600; }

/* ── Check grid scroll variant ─── */
.check-grid-scroll { max-height: 220px; overflow-y: auto; padding-right: 6px; }

/* ── Radio check-item ─── */
.check-item.radio input { margin-right: 8px; }

/* ── Active filter chips ─── */
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-chips.has-chips { padding: 12px 0; border-bottom: 1px dashed var(--border); margin-bottom: 20px; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--primary-soft); border: 1px solid var(--border-strong); border-radius: 20px; font-size: 12.5px; color: var(--deep); }
.active-chip strong { color: var(--navy); font-weight: 600; }
.active-chip button { background: transparent; border: 0; color: var(--deep); cursor: pointer; font-size: 14px; line-height: 1; padding: 0 0 0 4px; }
.active-chip button:hover { color: var(--coral); }
.chip-clear { background: transparent; border: 1px solid var(--border-strong); border-radius: 20px; padding: 6px 12px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.chip-clear:hover { background: var(--coral); color: #fff; border-color: var(--coral); }

/* ── No-results CTA ─── */
.no-results {
  grid-column: 1 / -1;
  text-align: center; padding: 64px 20px;
  background: var(--bg-soft); border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
}
.no-results .icon { font-size: 48px; color: var(--dim); margin-bottom: 12px; }
.no-results h3 { font-family: 'Josefin Sans', sans-serif; font-size: 24px; margin-bottom: 8px; }
.no-results p { color: var(--muted); margin-bottom: 20px; }

/* ── Plan with Laila wizard ─── */
.plan-wizard { position: fixed; inset: 0; z-index: 500; display: none; }
.plan-wizard.open { display: block; }
.pw-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.62); backdrop-filter: blur(4px); }
.pw-dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 20px;
  box-shadow: 0 40px 80px rgba(6,95,120,.3);
  padding: 28px 28px 24px;
}
.pw-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg3); color: var(--navy); font-size: 16px; cursor: pointer; }
.pw-close:hover { background: var(--coral); color: #fff; }
.pw-header { margin-bottom: 20px; text-align: center; }
.pw-header h2 { font-family: 'Josefin Sans', sans-serif; font-size: 28px; font-weight: 600; margin: 8px 0 6px; }
.pw-header h2 em { font-style: italic; color: var(--primary); font-family: 'Roboto', sans-serif; font-weight: 500; }
.pw-header p { color: var(--muted); font-size: 14px; }
.pw-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--primary-soft); color: var(--deep); border-radius: 20px; font-size: 11.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.pw-badge .ai-sparkle svg { width: 12px; height: 12px; }
.pw-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.pw-progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--bg3); }
.pw-progress span.active { background: var(--primary); }
.pw-step h3 { font-size: 15px; font-weight: 600; margin: 14px 0 10px; color: var(--navy); }
.pw-step h3:first-child { margin-top: 0; }
.pw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pw-chip {
  padding: 8px 14px; border-radius: 20px;
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 13px; cursor: pointer; color: var(--text);
  transition: var(--transition);
}
.pw-chip:hover { border-color: var(--primary); color: var(--primary); }
.pw-chip.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.pw-label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.pw-label input, .pw-label select {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; background: #fff; color: var(--text); font-family: inherit;
}
.pw-label input[type=range] { padding: 6px 0; }
.pw-budget-val { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--primary); }
.pw-actions { display: flex; gap: 10px; margin-top: 16px; justify-content: space-between; }
.pw-back, .pw-next, .pw-submit {
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: 0;
}
.pw-back { background: var(--bg3); color: var(--deep); }
.pw-next, .pw-submit { background: var(--primary); color: #fff; }
.pw-submit { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.pw-next:hover, .pw-submit:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
body.pw-open { overflow: hidden; }

@media (max-width: 520px) {
  .pw-dialog { padding: 20px 18px; border-radius: 16px; }
  .pw-header h2 { font-size: 22px; }
}

/* ── Smart Bar shake-fix (horizontal scroll jitter on mobile) ── */
.smart-bar {
  transform: translateZ(0);
  will-change: scroll-position;
  contain: layout paint;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
}
.smart-btn { scroll-snap-align: start; transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
/* Only lift the pill on devices with a true hover pointer (desktops).
   On touch devices the transient :hover during a swipe caused the bar to shake. */
@media (hover: none) {
  .smart-btn:hover { transform: none; border-color: var(--border); box-shadow: 0 1px 3px rgba(6, 95, 120, 0.04); }
}
@media (hover: hover) {
  .smart-btn:hover { transform: translateY(-1px); }
}
/* backdrop-filter on a sticky + internally-scrolling element repaints every frame on mobile.
   Swap to a solid near-opaque background on small screens to kill the jitter. */
@media (max-width: 900px) {
  .smart-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #ffffff; }
}

/* ── List-view card overflow fix on mobile ─────────────────────
   In list view the 140px hero + full card-body was clipping the
   price and "Check Visibility" CTA on narrow screens. Stack the
   footer, let tags wrap, tighten padding so nothing gets cropped. */
@media (max-width: 900px) {
  .cards-grid.list-view .dest-card { min-width: 0; }
  .cards-grid.list-view .card-hero { width: 120px; min-width: 120px; aspect-ratio: auto; align-self: stretch; }
  .cards-grid.list-view .card-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .cards-grid.list-view .card-body { padding: 12px 12px 12px 14px; min-width: 0; gap: 8px; }
  /* Stack the title and rating as two separate rows */
  .cards-grid.list-view .card-top {
    flex-direction: column; align-items: flex-start; gap: 4px;
  }
  /* Title block reserves space on the right for the absolute Compare pill */
  .cards-grid.list-view .card-top > div:first-child {
    width: 100%; padding-right: 88px; box-sizing: border-box; min-width: 0;
  }
  .cards-grid.list-view .card-name { font-size: 15.5px; -webkit-line-clamp: 2; min-height: 0; }
  .cards-grid.list-view .card-sub { font-size: 11.5px; }
  /* Rating sits on its own row below the title */
  .cards-grid.list-view .card-rating { margin-top: 2px; }
  /* Move the Compare pill inline (not absolute) so it can't overlap the rating.
     Sits at the top-right of the card-body, shows the word "Compare". */
  .cards-grid.list-view .card-compare-toggle {
    position: absolute; top: 8px; right: 8px;
    padding: 4px 10px; font-size: 10.5px;
  }
  .cards-grid.list-view .card-compare-toggle .compare-label { display: inline; }

  /* Let tags wrap instead of clipping off the right edge */
  .cards-grid.list-view .card-tags { flex-wrap: wrap; overflow: visible; row-gap: 6px; min-height: 0; }

  /* Compact 3-up stats strip so it fits the narrow body */
  .cards-grid.list-view .card-stats { margin-bottom: 6px; }
  .cards-grid.list-view .stat-cell { padding: 7px 4px; }
  .cards-grid.list-view .stat-val { font-size: 12px; }
  .cards-grid.list-view .stat-key { font-size: 8.5px; letter-spacing: .08em; }

  /* Stack price over CTA so neither gets cropped, and make CTA full width */
  .cards-grid.list-view .card-footer {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding-top: 10px; min-height: 0;
  }
  .cards-grid.list-view .card-price { flex-direction: row; align-items: baseline; gap: 6px; flex-wrap: wrap; }
  .cards-grid.list-view .price-from { font-size: 8.5px; }
  .cards-grid.list-view .price-amount { font-size: 18px; }
  .cards-grid.list-view .card-cta {
    width: 100%; padding: 9px 10px; font-size: 12px; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
}

@media (max-width: 420px) {
  .cards-grid.list-view .card-hero { width: 108px; min-width: 108px; }
  .cards-grid.list-view .card-body { padding: 10px 10px 10px 12px; }
  .cards-grid.list-view .card-name { font-size: 14.5px; }
}

/* ── v43: hard horizontal overflow safety nets ───────────────────
   The list-view cards were still running past the viewport edge on
   mobile. Root cause: a descendant (tag row, stats grid, or CTA
   text) had intrinsic min-width larger than the available column,
   and because flex items default to min-width:auto, the whole card
   was being pushed wider than .content. Lock every level to
   min-width: 0 and cap the card at 100% of its column. */
html, body { overflow-x: hidden; max-width: 100vw; }
.main-layout, .content, .cards-grid, .dest-card, .card-body { max-width: 100%; min-width: 0; }
.dest-card { overflow: hidden; }

@media (max-width: 900px) {
  .cards-grid.list-view .dest-card { width: 100%; max-width: 100%; }
  .cards-grid.list-view .card-body > * { min-width: 0; max-width: 100%; }
  .cards-grid.list-view .card-top { min-width: 0; }
  .cards-grid.list-view .card-top > div:first-child { min-width: 0; max-width: 100%; }
  .cards-grid.list-view .card-name,
  .cards-grid.list-view .card-sub { max-width: 100%; overflow: hidden; }
  .cards-grid.list-view .card-stats { max-width: 100%; }
  .cards-grid.list-view .stat-val,
  .cards-grid.list-view .stat-key { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  /* CTA text is allowed to wrap to two lines rather than be clipped */
  .cards-grid.list-view .card-cta { white-space: normal; line-height: 1.2; }
}

/* ═══════════════════════════════════════════════
   LAILA CHAT MODAL — ported from /idive/laila-chat,
   recolored to match discover-v3 (dark navy + cyan)
═══════════════════════════════════════════════ */
.laila-modal {
  position: fixed; inset: 0; z-index: 600;
  display: none;
  align-items: stretch; justify-content: stretch;
}
.laila-modal.open { display: flex; }
.laila-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: laila-fade .22s ease;
}
.laila-panel {
  position: relative; z-index: 1;
  width: min(1100px, 100%); margin: auto;
  height: min(92vh, 860px); max-height: 100vh;
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  color: #fff;
  font-family: 'DM Sans', 'Roboto', -apple-system, sans-serif;
  background:
    radial-gradient(1200px 700px at 75% -10%, #0c3a5a 0%, transparent 60%),
    radial-gradient(900px 600px at 10% 110%, #0a2f4a 0%, transparent 55%),
    linear-gradient(180deg, #0a1f36 0%, #071729 100%);
  border: 1px solid rgba(34,211,238,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  animation: laila-pop .28s cubic-bezier(.22,1,.36,1);
}
@keyframes laila-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes laila-pop { from { opacity: 0; transform: translateY(16px) scale(.98) } to { opacity: 1; transform: none } }

.laila-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff; font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.laila-close:hover { background: rgba(34,211,238,0.18); border-color: rgba(34,211,238,0.45); transform: rotate(90deg); }

.laila-scroll {
  flex: 1; overflow-y: auto;
  padding: 56px 64px 24px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.laila-scroll::-webkit-scrollbar { width: 8px; }
.laila-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
.laila-wrap { max-width: 920px; margin: 0 auto; }

.laila-intro-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.laila-wave {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(6,182,212,0.28), rgba(13,148,136,0.18));
  border: 1px solid rgba(34,211,238,0.35);
  font-size: 26px; flex-shrink: 0;
  animation: laila-wave 2.2s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes laila-wave {
  0%,100% { transform: rotate(0) }
  20%  { transform: rotate(14deg) }
  40%  { transform: rotate(-10deg) }
  60%  { transform: rotate(14deg) }
  80%  { transform: rotate(-4deg) }
}
.laila-title {
  font-family: 'Josefin Sans', 'DM Serif Display', Georgia, serif;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.05; letter-spacing: -0.01em; font-weight: 600;
  color: #fff; margin: 0;
}
.laila-title .accent { color: #22d3ee; font-style: italic; }
.laila-sub {
  font-size: 15.5px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 640px; margin-bottom: 32px;
}

.laila-prompt-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 14px; font-weight: 500;
}
.laila-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: #22d3ee; box-shadow: 0 0 0 4px rgba(34,211,238,0.2);
  animation: laila-pulse 1.8s ease-in-out infinite;
}
@keyframes laila-pulse { 0%,100% { opacity: 1 } 50% { opacity: .4 } }

.laila-prompt-rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 240px; gap: 14px;
  overflow-x: auto; padding: 4px 4px 16px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.laila-prompt-rail::-webkit-scrollbar { display: none; }
.laila-prompt-card {
  position: relative; height: 240px;
  border-radius: 16px; overflow: hidden; cursor: pointer;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,0.1);
  background: #081829;
  text-decoration: none; color: #fff;
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s;
}
.laila-prompt-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.5); }
.laila-prompt-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.laila-prompt-card:hover img { transform: scale(1.06); }
.laila-prompt-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,23,41,0) 35%, rgba(7,23,41,0.88) 100%);
}
.laila-prompt-body {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff;
}
.laila-prompt-text { font-size: 14px; line-height: 1.35; font-weight: 600; }
.laila-prompt-go {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #22d3ee; font-weight: 600;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.laila-prompt-card:hover .laila-prompt-go { opacity: 1; transform: translateX(0); }

.laila-composer-wrap {
  padding: 16px 64px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,23,41,0.9) 40%);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.laila-composer {
  max-width: 920px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px 8px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.laila-composer:focus-within { border-color: rgba(34,211,238,0.5); background: rgba(255,255,255,0.09); }
.laila-composer input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-family: inherit; font-size: 15px; padding: 11px 0;
  min-width: 0;
}
.laila-composer input::placeholder { color: rgba(255,255,255,0.45); }
.laila-send {
  width: 42px; height: 42px; border-radius: 999px;
  background: #06b6d4; color: #060f1c; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(6,182,212,0.4);
}
.laila-send:hover { background: #22d3ee; transform: scale(1.06) rotate(-4deg); box-shadow: 0 10px 24px rgba(6,182,212,0.55); }

.laila-hint {
  max-width: 920px; margin: 10px auto 0;
  font-size: 11.5px; color: rgba(255,255,255,0.5); text-align: center;
}
.laila-hint i { color: #22d3ee; }

body.laila-open { overflow: hidden; }

@media (max-width: 900px) {
  .laila-panel { border-radius: 0; height: 100vh; max-height: 100vh; }
  .laila-scroll { padding: 60px 22px 16px; }
  .laila-composer-wrap { padding: 12px 18px 18px; }
  .laila-title { font-size: 28px; }
  .laila-sub { font-size: 14px; margin-bottom: 22px; }
  .laila-prompt-rail { grid-auto-columns: 205px; gap: 10px; }
  .laila-prompt-card { height: 210px; }
  .laila-close { top: 10px; right: 10px; width: 36px; height: 36px; }
}

/* ═══════════════════════════════════════════════
   MOBILE UX — Bottom-sheet filters + Nav drawer + Filters/Sort bar
   All additions; no existing rules modified.
═══════════════════════════════════════════════ */

/* Base (hidden on desktop, revealed in mobile media block below) */
.sheet-header, .sheet-footer { display: none; }
.mobile-filter-bar { display: none; }
.nav-drawer-overlay { display: none; }
.nav-drawer-overlay.show { display: block; }

.filter-label { display: inline-flex; align-items: center; gap: 8px; }
.filter-count {
  display: none; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--primary); color: #fff; border-radius: 999px;
  font: 600 11px/1 'Roboto', sans-serif; letter-spacing: 0;
}
.filter-count.has-count { display: inline-flex; }

@keyframes ffSheetSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Mobile nav drawer — always rendered, off-canvas until .open */
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 86%; max-width: 340px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.62) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  z-index: 410;
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(6, 95, 120, 0.14);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-drawer { background: rgba(255, 255, 255, 0.95); }
}
.nav-drawer.open { transform: translateX(0); pointer-events: auto; }
.nav-drawer-overlay {
  position: fixed; inset: 0; z-index: 409;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}
.nav-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px 14px;
  border-bottom: 1px solid var(--border);
}
.nav-drawer-title {
  font: 600 14px/1 'Josefin Sans', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
}
.nav-drawer-footer {
  display: flex; align-items: center; justify-content: center;
  padding: 24px 22px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
.nav-drawer-footer-logo {
  max-width: 100%; width: auto; height: 90px;
  display: block; opacity: .95;
  object-fit: contain;
}
.nav-drawer-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--border);
  color: var(--text); font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-drawer-links {
  display: flex; flex-direction: column;
  padding: 14px 0; flex: 1; overflow-y: auto;
}
.nav-drawer-links a {
  padding: 14px 22px;
  font: 500 16px/1.3 'Roboto', sans-serif;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background .15s ease, color .15s ease;
}
.nav-drawer-links a:last-child { border-bottom: none; }
.nav-drawer-links a:not(.nav-drawer-cta):hover,
.nav-drawer-links a:not(.nav-drawer-cta):active { background: var(--primary-soft); color: var(--primary); }
.nav-drawer-links .nav-drawer-cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  margin: 14px 22px 6px;
  padding: 12px 14px;
  background: linear-gradient(135deg,
    rgba(16, 185, 129, 0.96) 0%,
    rgba(6, 182, 212, 0.96) 50%,
    rgba(29, 78, 216, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  box-shadow:
    0 8px 22px rgba(29, 78, 216, 0.32),
    0 4px 12px rgba(16, 185, 129, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.nav-drawer-links .nav-drawer-cta:hover { color: #fff; }
.nav-drawer-links .nav-drawer-cta::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.38) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: ctaShineLoop 3.6s ease-in-out .4s infinite;
}
.nav-drawer-links .nav-drawer-cta > * { position: relative; z-index: 1; }
.nav-drawer-cta-avatar {
  position: relative; flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.nav-drawer-cta-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; display: block;
}
.nav-drawer-cta-dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #22c55e;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: ff-online-pulse 2.2s ease-in-out infinite;
}
.nav-drawer-cta-text { display: flex; flex-direction: column; gap: 2px; }
.nav-drawer-cta-name { font: 600 14px/1.15 'Roboto', sans-serif; }
.nav-drawer-cta-status { font: 400 11.5px/1.2 'Roboto', sans-serif; opacity: .82; }

/* ─── Mobile media block (≤900px) — overrides earlier rules by source order ─── */
@media (max-width: 900px) {
  /* Mobile filter bar above product cards */
  .mobile-filter-bar {
    display: flex; gap: 10px; margin-bottom: 16px;
  }
  .mfb-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 14px; min-height: 46px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 14px; cursor: pointer;
    font: 500 14px/1 'Roboto', sans-serif; color: var(--text);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all .15s ease;
  }
  .mfb-btn:active { transform: scale(.985); }
  .mfb-btn:hover { border-color: var(--border-hover); }
  .mfb-btn svg,
  .mfb-btn i { color: var(--primary); flex-shrink: 0; font-size: 16px; }
  .mfb-filters { font-weight: 600; }
  .mfb-count {
    display: none; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px;
    background: var(--primary); color: #fff; border-radius: 999px;
    font: 600 11px/1 'Roboto', sans-serif;
  }
  .mfb-count.has-count { display: inline-flex; }
  .mfb-sort { justify-content: space-between; padding-left: 14px; padding-right: 12px; }
  .mfb-sort-label {
    flex: 1; text-align: left;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 160px;
  }
  .mfb-caret { color: var(--muted); font-size: 12px; }

  /* Bottom-sheet filter panel — overrides the earlier .sidebar.mobile-open rules */
  .sidebar.mobile-open {
    display: flex !important; flex-direction: column;
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    z-index: 300;
    width: 100%; max-width: none; height: 88vh; max-height: 88vh; min-height: 88vh;
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.64) 100%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 40px rgba(6, 95, 120, 0.22);
    padding: 0;
    animation: ffSheetSlideUp .35s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .sidebar.mobile-open { background: rgba(255, 255, 255, 0.96); }
  }
  .sidebar.mobile-open::before {
    content: ''; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 999px;
    background: var(--border-strong, #cbd5e1);
    z-index: 3;
  }
  .sidebar-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 299; display: none;
  }
  .sidebar-overlay.show { display: block; }

  /* Sheet header (sticky top) */
  .sidebar.mobile-open .sheet-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 20px 14px; flex-shrink: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: transparent; position: sticky; top: 0; z-index: 2;
  }
  .sidebar.mobile-open .sheet-title {
    font: 600 17px/1 'Josefin Sans', sans-serif;
    letter-spacing: .02em; color: var(--navy);
  }
  .sidebar.mobile-open .sheet-close {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--bg-soft); border: 1px solid var(--border);
    color: var(--text); font-size: 16px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* Scrollable body */
  .sidebar.mobile-open .sheet-body {
    flex: 1; overflow-y: auto; padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  /* Sheet footer (sticky bottom) */
  .sidebar.mobile-open .sheet-footer {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.78) 100%);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    flex-shrink: 0;
  }
  .sidebar.mobile-open .sheet-clear {
    flex: 0 0 auto; padding: 12px 18px;
    background: transparent; border: 1px solid var(--border-strong);
    color: var(--muted); font-size: 13px; font-weight: 500;
    border-radius: 12px; cursor: pointer;
    font-family: 'Roboto', sans-serif;
  }
  .sidebar.mobile-open .sheet-apply {
    flex: 1; padding: 13px 18px;
    background: var(--primary); color: #fff;
    border: none; border-radius: 12px;
    font: 600 14px/1 'Roboto', sans-serif; letter-spacing: .02em;
    cursor: pointer; box-shadow: 0 4px 14px rgba(6, 95, 120, 0.25);
  }
  .sidebar.mobile-open .sheet-apply:active { transform: scale(.98); }

  /* Section spacing inside sheet */
  .sidebar.mobile-open .filter-section { padding: 14px 20px; }
  .sidebar.mobile-open .filter-title { font-size: 11px; margin-bottom: 0; padding: 4px 0; }
  .sidebar.mobile-open .filter-section:not(.collapsed) .filter-title { margin-bottom: 14px; }
  .sidebar.mobile-open .filter-title .toggle {
    font-size: 20px; line-height: 1; color: var(--primary);
    width: 24px; text-align: center;
  }
  .sidebar.mobile-open .clear-all { display: none; }

  /* Pill-style check-items / radios (reuses :has pattern from .tier-chip) */
  .sidebar.mobile-open .check-grid { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sidebar.mobile-open .check-grid-scroll { max-height: none; overflow: visible; padding-right: 0; }
  .sidebar.mobile-open .check-item {
    display: inline-flex; align-items: center;
    gap: 0; padding: 10px 16px; margin: 0;
    background: #fff; border: 1px solid var(--border);
    border-radius: 999px; font-size: 13.5px; color: var(--text);
    min-height: 40px; cursor: pointer;
    transition: all .15s ease;
  }
  .sidebar.mobile-open .check-item input { display: none; }
  .sidebar.mobile-open .check-item:has(input:checked) {
    background: var(--primary); color: #fff;
    border-color: var(--primary); font-weight: 600;
    box-shadow: 0 2px 8px rgba(6, 95, 120, 0.2);
  }
  .sidebar.mobile-open .check-item:hover { border-color: var(--border-hover); background: var(--bg-soft); }
  .sidebar.mobile-open .check-item:has(input:checked):hover { background: var(--primary); }

  /* Availability toggle — full width */
  .sidebar.mobile-open .filter-section[data-section="statusLiveOnly"] .check-item {
    width: 100%; justify-content: center;
  }

  /* Sort options as pill row */
  .sidebar.mobile-open .sort-grid { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sidebar.mobile-open .sort-option {
    padding: 10px 14px; background: #fff; border: 1px solid var(--border);
    border-radius: 999px; font-size: 13px; min-height: 40px;
  }
  .sidebar.mobile-open .sort-option.active {
    background: linear-gradient(135deg,
      rgba(16, 185, 129, 0.96) 0%,
      rgba(6, 182, 212, 0.96) 50%,
      rgba(29, 78, 216, 0.96) 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.25), 0 2px 6px rgba(16, 185, 129, 0.15);
  }
  .sidebar.mobile-open .sort-option.active .sort-icon,
  .sidebar.mobile-open .sort-option.active .sort-icon i { color: #fff; }

  /* Kill the default mobile tap-highlight rectangle across all interactive surfaces */
  .sidebar.mobile-open, .sidebar.mobile-open *,
  .mobile-filter-bar, .mobile-filter-bar *,
  .nav-drawer, .nav-drawer *,
  .cards-grid, .cards-grid *,
  .smart-bar, .smart-bar *,
  .active-chips, .active-chips *,
  .view-toggle, .view-toggle *,
  .compare-bar, .compare-bar *,
  .site-header a, .site-header button,
  a, button {
    -webkit-tap-highlight-color: transparent;
  }
  /* Gentle press feedback on cards + chips + card buttons */
  .cards-grid .card:active { transform: scale(.99); transition: transform .12s ease; }
  .cards-grid .card button:active,
  .smart-btn:active,
  .active-chip:active,
  .view-btn:active { transform: scale(.95); transition: transform .08s ease; }
  /* Smooth press feedback instead of the grey/blue rectangle */
  .sidebar.mobile-open .check-item:active,
  .sidebar.mobile-open .sort-option:active,
  .sidebar.mobile-open .tier-chip:active,
  .sidebar.mobile-open .month-btn:active { transform: scale(.97); transition: transform .08s ease; }

  /* Tier chips bigger on mobile */
  .sidebar.mobile-open .tier-grid { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sidebar.mobile-open .tier-chip { padding: 10px 14px; border-radius: 999px; min-height: 40px; }

  /* Month grid — bigger tap targets */
  .sidebar.mobile-open .month-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .sidebar.mobile-open .month-btn { padding: 12px 0; font-size: 12px; min-height: 44px; border-radius: 12px; }

  /* Budget range */
  .sidebar.mobile-open .range-row { padding: 4px 0; }
  .sidebar.mobile-open .range-row input[type=range] { height: 6px; }
}
