/* ================================================================
   SURFSEEK — styles.css  (Surf Editorial — light/editorial)
================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── EDITORIAL DESIGN SYSTEM — magazine/travel language ──────────
     Design handoff tokens promoted to global theme.
     Variable names kept from the old system so every existing
     component inherits the new palette automatically. */

  /* Named tokens (README) */
  --ink:    #241f19;   /* near-black warm — primary text */
  --paper:  #faf8f3;   /* warm off-white — page background */
  --sand:   #b5502f;   /* terracotta — ALSO the accent (deals/highlights harmonised) */
  --line:   #d9cfbd;   /* hairline borders */
  --muted:  #8a8071;   /* secondary text, kickers */

  /* Accent palette — terracotta */
  --accent:    #b5502f;   /* terracotta: actions, links, prices */
  --accent-2:  #8f3d22;   /* deep terracotta: hover/emphasis */
  --teal:      #b5502f;   /* legacy support token → accent */
  --green:     #3d6b4f;   /* semantic success (muted olive) */
  --amber:     #a9701f;   /* semantic warning (muted) */
  --pink:      #b5502f;   /* legacy → accent */

  /* Warm surfaces */
  --bg:        #faf8f3;
  --surface:   #faf8f3;
  --surface-2: #f1ece2;
  --surface-3: #e8e4dc;
  --card:      #ffffff;

  /* Ink on paper */
  --text:       #241f19;
  --text-mid:   #5a5347;
  --text-muted: #8a8071;

  /* Hairline borders */
  --border:    #d9cfbd;
  --border-2:  #c9bda6;

  --white: #FFFFFF;

  /* Soft warm-neutral shadows (editorial) */
  --shadow-sm:    0 1px 3px rgba(36,31,25,.06);
  --shadow-md:    0 8px 24px -12px rgba(36,31,25,.28);
  --shadow-lg:    0 30px 70px -30px rgba(36,31,25,.5);
  --shadow-hover: 0 12px 30px -14px rgba(181,80,47,.35);

  /* Subtle radii (2–4px, editorial) */
  --r-sm: 2px;
  --r-md: 3px;
  --r-lg: 4px;
  --r-xl: 4px;

  /* One family: Georgia serif, everywhere */
  --font:         Georgia, 'Times New Roman', serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-mono:    Georgia, 'Times New Roman', serif;
}

@keyframes floatUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCREENS ──────────────────────────────────────────────── */
.screen { display: none; }
.screen.active {
  display: block;
  animation: screenFadeIn .25s ease forwards;
}
.screen.screen-exit {
  animation: screenFadeOut .2s ease forwards;
  pointer-events: none;
}
@keyframes screenFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes screenFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* ── HEADER ───────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto;
  z-index: 200;
  padding: 16px 32px;
  display: flex; align-items: center;
  justify-content: space-between;
  transition: background .35s, box-shadow .35s;
}
.header.solid {
  background: rgba(250,248,243,.94);
  backdrop-filter: blur(12px);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}
.header.solid .logo-text { color: var(--ink); }
.header.solid .logo-wave  { color: var(--accent); }
.logo { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.logo-wave { font-size: 1.2rem; color: var(--accent); line-height: 1; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em;
  text-transform: uppercase;
}

/* ── STEPS BAR — editorial paper ──────────────────────────── */
.steps-bar {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 13px 0; display: none;
}
.steps-bar.visible { display: block; }
.steps-bar .container { display: flex; align-items: center; justify-content: center; gap: 6px; }
.step-item { display: flex; align-items: center; gap: 8px; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: rgba(0,0,0,.35);
  background: rgba(0,0,0,.04); transition: all .25s;
}
.step-item.active .step-dot,
.step-item.done .step-dot {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.step-item.active .step-dot { box-shadow: 0 0 0 3px rgba(181,80,47,.18); }
.step-label { font-size: 12px; font-weight: 500; color: rgba(0,0,0,.35); transition: color .25s; }
.step-item.active .step-label,
.step-item.done .step-label { color: var(--accent); font-weight: 600; }
.step-line { width: 44px; height: 2px; background: rgba(0,0,0,.12); border-radius: 2px; transition: background .3s; }
.step-line.done { background: var(--accent); }
@media (max-width: 540px) { .step-label { display: none; } .step-line { width: 22px; } }

/* ── HERO — full screen photo, text at bottom ─────────────── */
.hero {
  height: 100vh;
  min-height: 640px;
  background:
    linear-gradient(to bottom,
      rgba(5,5,3,.18)  0%,
      rgba(5,5,3,.06) 28%,
      rgba(5,5,3,.60) 66%,
      rgba(5,5,3,.97) 100%),
    url('https://images.unsplash.com/photo-1499823382510-3990e4b8a04b?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center 38%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
}

/* Side vignette for cinematic depth */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      rgba(0,0,0,.45) 0%, transparent 28%,
      transparent 72%, rgba(0,0,0,.3) 100%);
  pointer-events: none; z-index: 1;
}

/* Caption block — flex-grows to push search bar to bottom */
.hero-caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 64px 40px;
  position: relative; z-index: 2;
  max-width: 960px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block; width: 28px; height: 2px;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
.hero-caption h1 {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9.5vw, 9rem);
  font-weight: 400; line-height: .88;
  letter-spacing: 3px; text-transform: uppercase;
  color: #fff; margin-bottom: 22px;
  text-shadow: 0 4px 32px rgba(0,0,0,.45);
}
.hero-caption h1 em {
  font-style: normal; color: var(--accent); display: block;
}
.hero-sub {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.38); margin-bottom: 32px;
  font-weight: 400;
}
.btn-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 15px;
  font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px 32px; border-radius: 4px;
  text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(181,80,47,.4);
}
.btn-hero-cta:hover { background: #c95d38; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(181,80,47,.5); }

/* Scroll hint arrow */
.hero-scroll {
  position: absolute; bottom: 28px; right: 40px; z-index: 2;
  color: rgba(255,255,255,.22); font-size: 12px;
  animation: bounce-down 2.4s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ── HERO SEARCH BAR — horizontal white bar at hero bottom ── */
.hero-search-wrap {
  position: relative; z-index: 20;
  padding: 0 40px 56px;
}

/* White horizontal search bar (Airbnb-style) */
.search-bar {
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow:
    0 24px 72px rgba(0,0,0,.65),
    0 0 0 1px rgba(181,80,47,.14);
  overflow: hidden;
  min-height: 74px;
}

.sb-field {
  flex: 1;
  padding: 13px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  cursor: text;
  transition: background .18s;
}
.sb-field-sm { flex: .75; }
.sb-field:hover { background: #f8f6f2; }

.sb-sep {
  width: 1px;
  background: #ddd8d0;
  margin: 18px 0;
  flex-shrink: 0;
}

.sb-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #999;
}

.sb-input {
  background: transparent;
  border: none;
  outline: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  width: 100%;
  padding: 0;
}
.sb-input::placeholder { color: #c0bab0; font-weight: 400; }
.sb-input[type="date"] { color-scheme: light; }
.sb-input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
select.sb-input { appearance: none; -webkit-appearance: none; cursor: pointer; }

.sb-btn {
  background: var(--accent);
  color: #0a0a0a;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0 14px 14px 0;
}
.sb-btn:hover { background: #c95d38; }

/* ── RESULTS SECTION — below hero ────────────────────────── */
.results-section {
  background: var(--bg);
  padding: 72px 0 96px;
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 0 0 52px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.trust-item i { color: var(--accent); font-size: 13px; }

/* ── BROWSE SECTION ──────────────────────────────────────── */
.browse-section {
  background: var(--bg);
  padding: 72px 0 0;
  border-top: 1px solid var(--border);
}
.browse-intro { text-align: center; margin-bottom: 36px; }
.browse-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--text); margin-bottom: 10px;
}
.browse-sub { font-size: 15px; color: var(--text-mid); }
.browse-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 40px;
}
.level-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  border: 1.5px solid var(--border-2);
  border-radius: 100px;
  cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--text-mid);
  background: transparent;
  transition: all .2s;
}
.level-pill:hover { border-color: var(--accent); color: var(--text); }
.level-pill.active { border-color: var(--accent); background: rgba(181,80,47,.12); color: var(--accent); font-weight: 600; }
#browseGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* ── DESTINATION DETAIL CAROUSEL ────────────────────────── */
.dd-carousel {
  position: relative; width: 100%;
  height: clamp(380px, 60vh, 580px);
  overflow: hidden; background: var(--surface-2);
}
.dd-carousel-track { position: absolute; inset: 0; }
.dd-carousel-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .7s ease;
}
.dd-carousel-slide.active { opacity: 1; }
.dd-carousel-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(11,13,17,.25) 0%,
    rgba(11,13,17,.1)  35%,
    rgba(11,13,17,.65) 70%,
    rgba(11,13,17,.95) 100%
  );
}
.dd-carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 32px 36px; z-index: 5;
}
.dd-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(11,13,17,.55); backdrop-filter: blur(8px);
  border: 1px solid var(--border-2);
  color: #fff; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.dd-carousel-btn:hover { background: rgba(11,13,17,.85); border-color: var(--accent); color: var(--accent); }
.dd-carousel-prev { left: 16px; }
.dd-carousel-next { right: 16px; }
.dd-carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.dd-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: all .25s; padding: 0;
}
.dd-carousel-dot.active { background: var(--accent); transform: scale(1.3); }

/* ── DESTINATION DETAIL PAGE ─────────────────────────────── */
.dest-detail-hero {
  position: relative; width: 100%;
  height: clamp(360px, 55vh, 520px);
  overflow: hidden;
}
.dest-detail-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.dest-detail-hero:hover .dest-detail-hero-img { transform: scale(1.03); }
.dest-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,13,17,.92) 0%, rgba(11,13,17,.38) 55%, rgba(11,13,17,.15) 100%);
}
.dest-detail-hero-back {
  position: absolute; top: 80px; left: 28px; z-index: 10;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: rgba(11,13,17,.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  color: var(--text); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .2s;
}
.dest-detail-hero-back:hover { background: rgba(11,13,17,.8); border-color: var(--accent); color: var(--accent); }
.dest-detail-hero-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 32px 32px;
  z-index: 5;
}
.dest-detail-region {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 8px;
}
.dest-detail-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 400;
  text-transform: uppercase; letter-spacing: 3px;
  color: #fff; line-height: .95; margin-bottom: 10px;
}
.dest-detail-tagline { font-size: 16px; color: rgba(255,255,255,.75); }
.dest-detail-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 14px;
}
.dest-detail-meta-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,.65);
}
.dest-detail-meta-chip i { color: var(--accent); font-size: 12px; }

/* detail tabs */
.dest-detail-tabs {
  position: sticky; top: 56px; z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.dest-detail-tabs::-webkit-scrollbar { display: none; }
.dd-tab {
  flex-shrink: 0;
  padding: 16px 24px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-mid); cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: all .2s;
}
.dd-tab:hover { color: var(--text); }
.dd-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.dd-panel { display: none; padding: 40px 0; }
.dd-panel.active { display: block; }

/* overview panel stats — legacy, kept for fallback */
.dest-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.dest-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.dest-stat-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }
.dest-stat-value { font-size: 22px; font-weight: 700; color: var(--text); }
.dest-stat-sub { font-size: 12px; color: var(--text-mid); }

/* ── PRICE CARD — horizontal, prominent ──────────────────── */
.dd-price-card {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.dd-price-item {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dd-price-total {
  background: rgba(181,80,47,.06);
}
.dd-price-sep {
  width: 1px;
  background: var(--border);
  margin: 20px 0;
  flex-shrink: 0;
}
.dd-price-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.dd-price-label i { font-size: 11px; }
.dd-price-value {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 400;
  letter-spacing: 1px;
  color: var(--text);
  line-height: 1;
}
.dd-price-sub {
  font-size: 12px; color: var(--text-muted);
  margin-top: 2px;
}

/* zones preview in detail */
.zones-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; margin-top: 16px;
}
.zone-preview-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16/9; cursor: pointer;
  background: var(--surface-2);
}
.zone-preview-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.zone-preview-card:hover .zone-preview-img { transform: scale(1.07); }
.zone-preview-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,13,17,.85) 0%, transparent 60%);
}
.zone-preview-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
}
.zone-preview-name {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; line-height: 1;
}
.zone-preview-sub { font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* practical info list */
.practical-list { display: flex; flex-direction: column; gap: 12px; }
.practical-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.practical-item i { color: var(--accent); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.practical-item-text { font-size: 14px; color: var(--text-mid); line-height: 1.55; }

/* ── COUNTRY INFO BLOCKS ─────────────────────────────────── */
.dd-overview-text {
  font-size: 16px; color: var(--text-mid); line-height: 1.7;
  margin-bottom: 32px; max-width: 720px;
}
/* Stacked full-width rectangles */
.dd-info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.dd-info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 28px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.dd-info-block-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 72px;
  padding-top: 3px;
}
.dd-info-block-header i {
  color: var(--accent);
  font-size: 20px;
}
.dd-info-block-header span {
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; line-height: 1.3;
}
.dd-info-block p { font-size: 14px; color: var(--text-mid); line-height: 1.7; flex: 1; }

/* ── REVIEWS ─────────────────────────────────────────────── */
.dd-reviews-title {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
}
.dd-reviews-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.dd-review-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
}
.dd-review-avatar {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.dd-review-body { flex: 1; }
.dd-review-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
}
.dd-review-meta strong { font-size: 13px; color: var(--text); }
.dd-review-zone { font-size: 11px; color: var(--text-muted); }
.dd-review-text { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; margin-bottom: 6px; }
.dd-review-stars { font-size: 12px; color: var(--accent); letter-spacing: 1px; }

/* ── PLAN BAR (sticky bottom on dest detail) ─────────────── */
.plan-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: #ffffff;
  border-top: 1px solid #eceae6;
  padding: 18px 20px 22px;
  display: none;
  box-shadow: 0 -6px 32px rgba(0,0,0,.07);
  animation: slideUpBar .3s ease forwards;
}
.plan-bar.visible { display: block; }
@keyframes slideUpBar {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.plan-bar-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.plan-bar-info { display: none; }
.plan-bar-btn {
  white-space: nowrap; min-width: 280px;
  padding: 16px 40px; font-size: 15px; border-radius: 50px;
  letter-spacing: .5px;
}
.plan-bar-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(181,80,47,.45); }

/* ── PLAN MODAL ──────────────────────────────────────────── */
.plan-modal-box {
  max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 36px 40px;
}
.plan-modal-header {
  text-align: center; margin-bottom: 28px;
}
.plan-modal-header i { font-size: 28px; color: var(--accent); margin-bottom: 10px; }
.plan-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 400; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text); margin-bottom: 6px;
}
.plan-modal-header p { font-size: 14px; color: var(--text-mid); }
.plan-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.plan-form-grid .form-group.full { grid-column: 1 / -1; }

/* Plan modal summary chips */
.plan-summary-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border-2);
}
.plan-summary-chips:empty { display: none; }

/* Search summary bar (below search form, above results) */
.search-summary-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 0 24px;
}
.chip-accent {
  background: rgba(181,80,47,.15);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* ── SEARCH SECTION — floats over hero bottom ─────────────── */
.search-section {
  background: transparent;
  padding: 0 0 96px;
  margin-top: -360px;
  position: relative;
  z-index: 10;
}

/* ── SEARCH CARD — glass morphism ─────────────────────────── */
.search-card {
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  padding: 44px 52px;
  box-shadow:
    0 48px 120px rgba(0,0,0,.80),
    0 0 0 1px rgba(181,80,47,.07),
    inset 0 1px 0 rgba(255,255,255,.06);
  max-width: 900px; margin: 0 auto;
  position: relative;
}
.search-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); margin-bottom: 6px;
}

/* Trust row under title */
.search-trust-row {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.search-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-muted);
  font-weight: 500;
}
.search-trust-item i { color: var(--accent); font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .9px;
  color: var(--text-muted);
}
.form-group input, .form-group select {
  padding: 12px 15px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: 15px; font-family: var(--font);
  color: var(--text);
  background: var(--surface-3);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--surface-3); color: var(--text); }
.form-group input:focus, .form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181,80,47,.14);
}

/* Date input calendar icon */
.form-group input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.65); cursor: pointer; }

/* Budget input */
.budget-input-wrap {
  position: relative; display: flex; align-items: center;
}
.budget-currency {
  position: absolute; left: 14px;
  font-size: 16px; font-weight: 600; color: var(--text-muted);
  pointer-events: none; user-select: none;
}
.budget-input-wrap input {
  padding-left: 30px !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  letter-spacing: -.3px;
}
.budget-hint {
  font-size: 11.5px; color: var(--text-muted);
  margin-top: 6px; line-height: 1.4;
}

.trip-options { display: flex; flex-wrap: wrap; gap: 10px; }
.trip-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 20px;
  border: 1.5px solid var(--border-2);
  border-radius: 100px;
  cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-mid);
  user-select: none; transition: all .2s;
  background: transparent;
}
.trip-opt input { display: none; }
.trip-opt:hover { border-color: var(--accent); color: var(--text); }
.trip-opt.on { border-color: var(--accent); background: rgba(181,80,47,.10); color: var(--accent); font-weight: 600; }
.mode-options { gap: 12px; }
.mode-opt { padding: 11px 24px; font-size: 15px; gap: 10px; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--r-md); font-family: var(--font);
  font-weight: 600; cursor: pointer; transition: all .22s; text-decoration: none;
}
.btn-primary {
  padding: 14px 28px; font-size: 14px; font-weight: 700;
  background: var(--accent);
  color: #fff; letter-spacing: .04em; text-transform: uppercase;
  font-family: var(--font-display);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(181,80,47,.38); background: #c95d38; }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .32; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-full { width: 100%; border-radius: var(--r-lg); padding: 15px; font-size: 15px; }
.btn-back {
  padding: 7px 14px; font-size: 13px; background: transparent; color: var(--text-muted);
  border-radius: var(--r-sm); border: none; font-family: var(--font); font-weight: 500;
  cursor: pointer; transition: color .2s;
}
.btn-back:hover { color: var(--accent); }
.acc-booking-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 6px;
}
.btn-booking {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; background: #003580; color: var(--white);
  border-radius: var(--r-md); font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .2s; font-family: var(--font);
}
.btn-booking:hover { background: #00224F; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,53,128,.28); }
.btn-hostelworld {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; background: #F4521E; color: var(--white);
  border-radius: var(--r-md); font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all .2s; font-family: var(--font);
}
.btn-hostelworld:hover { background: #C73D10; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(244,82,30,.28); }
.btn-print {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; background: transparent;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm); font-size: 13px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; font-family: var(--font); transition: all .2s;
}
.btn-print:hover { border-color: var(--accent); color: var(--accent); }

.btn-change-dest {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; background: rgba(181,80,47,.08);
  border: 1.5px solid rgba(181,80,47,.25);
  border-radius: var(--r-sm); font-size: 12px; font-weight: 600;
  color: var(--accent); cursor: pointer; font-family: var(--font);
  transition: all .2s;
}
.btn-change-dest:hover { background: rgba(181,80,47,.16); border-color: var(--accent); }

.btn-share {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; background: rgba(16,185,129,.1);
  border: 1.5px solid rgba(16,185,129,.3);
  border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
  color: #10b981; cursor: pointer; font-family: var(--font);
  transition: all .2s;
}
.btn-share:hover { background: rgba(16,185,129,.18); border-color: #10b981; }
.btn-share.copied { color: #fff; background: #10b981; border-color: #10b981; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.screen-header { padding: 38px 0 28px; }
.screen-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase;
  margin: 8px 0 8px; color: var(--text);
  line-height: 1;
}
.screen-sub { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.section-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 16px; }

/* ── DESTINATION CARDS — full-bleed photo overlay ──────────── */
.region-section { margin-bottom: 56px; }
.region-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dests-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.dest-card {
  border-radius: 16px; overflow: hidden;
  cursor: pointer; transition: all .35s cubic-bezier(.25,.46,.45,.94); position: relative;
  aspect-ratio: 3/4; min-height: 380px;
  background: var(--surface-2);
  box-shadow: 0 6px 28px rgba(0,0,0,.55);
}
.dest-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 24px 60px rgba(0,0,0,.7); }
.dest-card.recommended {
  box-shadow: 0 6px 28px rgba(181,80,47,.28), 0 0 0 2px rgba(181,80,47,.5);
}
.dest-card.recommended:hover {
  box-shadow: 0 24px 60px rgba(181,80,47,.35), 0 0 0 2px rgba(181,80,47,.7);
}
.dest-card.soon { opacity: .42; cursor: default; }
.dest-card.soon:hover { transform: none; box-shadow: 0 6px 28px rgba(0,0,0,.55); }

/* Photo fills the entire card */
.dest-img {
  position: absolute; inset: 0;
  background: var(--surface-2);
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}
.dest-card:hover .dest-img { transform: scale(1.06); }

/* Strong gradient from bottom for text legibility */
.dest-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05)  0%,
    rgba(0,0,0,.08)  35%,
    rgba(0,0,0,.55)  65%,
    rgba(0,0,0,.94) 100%
  );
  pointer-events: none;
}

/* Text block pinned at bottom */
.dest-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 20px 22px;
  z-index: 1;
}
.dest-name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 400; /* Bebas Neue is inherently bold */
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; margin-bottom: 4px; line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.dest-tagline { font-size: 12px; color: rgba(255,255,255,.72); margin-bottom: 12px; line-height: 1.4; }
.dest-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,.65); }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 800;
  letter-spacing: .6px; text-transform: uppercase;
}
.badge-rec  { background: var(--accent); color: #fff; position: absolute; top: 12px; right: 12px; z-index: 1; }
.badge-soon { background: rgba(0,0,0,.65); color: var(--white); position: absolute; top: 12px; right: 12px; z-index: 1; }
.badge-fit  { background: rgba(16,185,129,.13); color: #6ee7b7; margin-top: 12px; }

/* Budget fit badge — only the "good" one remains */
.dest-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-mid);
  margin-top: 6px;
}
.dest-level-badge strong { color: var(--accent); }

.badge-fit-good {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.16); color: #6ee7b7;
  border: 1px solid rgba(16,185,129,.3);
  padding: 5px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 700;
  margin-top: 12px; letter-spacing: .3px;
}

/* Cost breakdown micro-line */
.dest-cost-breakdown {
  font-size: 11px; color: var(--text-muted); margin-top: 5px; line-height: 1.4;
}

/* Hidden count note below a region row */
.dest-hidden-note {
  font-size: 12px; color: var(--text-muted); margin: 6px 0 0;
  display: flex; align-items: center; gap: 6px;
}
.dest-hidden-note i { font-size: 11px; }

/* Empty state when nothing fits */
.dest-empty {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.dest-empty i { font-size: 36px; margin-bottom: 16px; display: block; opacity: .4; }
.dest-empty p { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.dest-empty strong { color: var(--text); }

/* ── ZONE CARDS ───────────────────────────────────────────── */
.zones-intro {
  background: rgba(181,80,47,.08);
  border: 1px solid rgba(181,80,47,.22);
  border-radius: var(--r-md); padding: 14px 20px; font-size: 14px;
  color: var(--text-mid); margin-bottom: 24px;
}
.zones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-bottom: 24px; }
.zone-card {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-md); cursor: pointer; transition: all .28s;
}
.zone-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.zone-card.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-hover); }
.zone-head {
  background: var(--card);
  background-size: cover; background-position: center;
  padding: 28px 22px 22px; color: var(--white); position: relative;
  min-height: 145px; display: flex; flex-direction: column; justify-content: flex-end;
}
.zone-head::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,7,5,.10) 0%, rgba(8,7,5,.80) 100%);
  pointer-events: none;
}
.zone-head > * { position: relative; z-index: 1; }
.zone-head h3 {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 4px; line-height: 1;
}
.zone-head p { font-size: 13px; opacity: .75; }
.zone-check {
  position: absolute; top: 14px; right: 14px; width: 26px; height: 26px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; transition: all .2s; color: transparent; z-index: 2;
}
.zone-card.selected .zone-check { background: var(--accent); border-color: var(--accent); color: #fff; }
.zone-body { padding: 18px 22px 22px; }
.wave-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.wave-pill {
  background: rgba(181,80,47,.10);
  color: var(--accent);
  padding: 4px 11px; border-radius: 4px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(181,80,47,.18);
}
.zone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; color: var(--text-muted); }
.zone-stats span { display: flex; align-items: center; gap: 6px; }
.zones-actions {
  position: sticky; bottom: 0;
  background: #ffffff;
  border-top: 1px solid #eceae6;
  padding: 18px 0 22px;
  margin-top: 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 -6px 32px rgba(0,0,0,.07);
  z-index: 50;
}
.zones-count { font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: .3px; }
.zones-count strong { color: var(--accent); font-weight: 700; }
#buildBtn {
  min-width: 280px; padding: 16px 40px;
  font-size: 15px; border-radius: 50px;
  letter-spacing: .5px;
}
#buildBtn:not(:disabled):hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(181,80,47,.45); }

/* ── ITINERARY ────────────────────────────────────────────── */
.summary-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  background: var(--surface);
  color: var(--text-mid);
  border: 1px solid var(--border-2);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}

/* ── DESTINATION INFO BLOCK ──────────────────────────────── */
.dest-info-block {
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); margin-bottom: 28px; overflow: hidden;
  border: 1px solid var(--border);
}
.info-accordion { border-bottom: 1px solid var(--border); }
.info-accordion:last-child { border-bottom: none; }
.accordion-summary {
  padding: 18px 30px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 600; color: var(--text);
  list-style: none; user-select: none; transition: background .2s;
}
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary:hover { background: var(--surface-2); }
.accordion-chevron { font-size: 17px; color: var(--text-muted); transition: transform .25s; }
details[open] .accordion-chevron { transform: rotate(180deg); }
.accordion-body { padding: 6px 30px 28px; }

/* ── WEATHER CALENDAR ─────────────────────────────────────── */
.weather-calendar { padding-top: 8px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; font-size: 12px; }
.leg { display: flex; align-items: center; gap: 6px; color: var(--text-mid); font-weight: 500; }
.leg::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.leg.surf::before   { background: var(--accent); }
.leg.sun::before    { background: var(--amber); }
.leg.crowd::before  { background: #EF4444; }
.leg.travel::before { background: var(--accent-2); border: 1px dashed var(--accent); }
.cal-grid {
  display: flex; gap: 4px; align-items: flex-end;
  height: 110px; overflow-x: auto; padding-bottom: 4px;
}
.cal-month {
  flex: 1; min-width: 38px;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; position: relative;
}
.cal-month.travel-month .cal-bars { border-bottom: 3px solid var(--accent-2); }
.cal-bars { display: flex; gap: 2px; height: 78px; align-items: flex-end; padding-bottom: 2px; }
.cal-bar { width: 8px; border-radius: 2px 2px 0 0; min-height: 4px; transition: height .4s ease; }
.cal-bar.surf  { background: var(--accent); }
.cal-bar.sun   { background: var(--amber); }
.cal-bar.crowd { background: #EF4444; }
.cal-label { font-size: 10px; color: var(--text-muted); font-weight: 500; }
.travel-pin { font-size: 10px; color: var(--accent-2); font-weight: 800; position: absolute; top: -2px; left: 50%; transform: translateX(-50%); }
.cal-note { font-size: 11px; color: var(--text-muted); margin-top: 12px; }

/* ── PRACTICAL TIPS ───────────────────────────────────────── */
.tips-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px;
  margin-top: 8px;
}
.tip-card {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px; transition: border-color .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.tip-card:hover { border-color: var(--border-2); }
.tip-icon { font-size: 1.15rem; color: var(--accent); flex-shrink: 0; width: 24px; text-align: center; margin-top: 1px; }
.tip-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tip-body  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── ITINERARY ZONE ───────────────────────────────────────── */
.itin-zone {
  background: var(--surface); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 32px;
  border: 1px solid var(--border);
}
.itin-zone-head {
  background: var(--card);
  background-size: cover; background-position: center;
  padding: 52px 36px 32px;
  color: var(--white); position: relative;
  min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
}
.itin-zone-head::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(8,7,5,.10) 0%,
    rgba(8,7,5,.55) 50%,
    rgba(8,7,5,.88) 100%);
  pointer-events: none;
}
.itin-zone-head > * { position: relative; z-index: 1; }
.itin-zone-head h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 10px; line-height: 1;
}
.itin-zone-head p { font-size: 14px; opacity: .75; max-width: 560px; line-height: 1.6; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.meta-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 6px 13px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}

/* ── ZONE TABS — Surfline sticky style ──────────────────────── */
.ztabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 28px; gap: 0; overflow-x: auto;
  background: var(--surface);
  position: sticky; top: 52px; z-index: 90;
  scrollbar-width: none;
}
.ztabs::-webkit-scrollbar { display: none; }
.ztab {
  padding: 14px 16px; font-size: 13px; font-weight: 600;
  letter-spacing: 0;
  color: var(--text-muted);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; background: none;
  border-top: none; border-left: none; border-right: none;
  font-family: var(--font); transition: color .2s, border-color .2s;
  display: flex; align-items: center; gap: 7px;
}
.ztab i { font-size: 12px; }
.ztab:hover { color: var(--text); }
.ztab.on { color: var(--text); border-bottom-color: var(--accent); font-weight: 700; }
.ztab-body { padding: 28px 36px 32px; background: var(--bg); }
.zpanel { display: none; }
.zpanel.on { display: block; }

/* ── WAVE CARDS ───────────────────────────────────────────── */
.waves-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.wave-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px; transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.wave-card:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(181,80,47,.15); }
.wc-name {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  color: var(--text); margin-bottom: 2px;
}
.wc-type { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.wc-type i { margin-right: 4px; opacity: .8; }
.wc-row { display: flex; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 7px; align-items: center; }
.wc-row strong { color: var(--text-mid); min-width: 82px; flex-shrink: 0; font-weight: 600; }
.wc-crowd-wrap { display: flex; align-items: center; gap: 6px; }
.wc-crowd-dots { font-size: 11px; letter-spacing: 1px; }
.wc-crowd-lbl { font-size: 11px; font-weight: 600; }
.wc-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 10px 0 12px; }
.lvl-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lvl { padding: 3px 10px; border-radius: 3px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.lvl-0 { background: rgba(16,185,129,.15); color: #6ee7b7; }
.lvl-1 { background: rgba(251,191,36,.12);  color: #b45309; }
.lvl-2 { background: rgba(239,68,68,.12);   color: #fca5a5; }
.lvl-3 { background: rgba(99,102,241,.18);  color: #c4b5fd; }

/* ── POI CARDS ────────────────────────────────────────────── */
.poi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.poi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px; transition: border-color .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.poi-card:hover { border-color: var(--accent); }
.poi-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--accent); margin-bottom: 5px; }
.poi-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.poi-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── ACTIVITY CARDS ───────────────────────────────────────── */
.activity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.activity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px; transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.activity-card:hover { border-color: var(--pink); box-shadow: 0 4px 14px rgba(244,114,182,.09); }
.act-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--pink); margin-bottom: 5px; }
.act-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.act-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 10px; }
.act-price {
  display: inline-flex; align-items: center;
  background: rgba(244,114,182,.10); color: var(--pink);
  padding: 4px 11px; border-radius: 4px; font-size: 12px; font-weight: 600;
}

/* ── NIGHTLIFE ────────────────────────────────────────────── */
.nl-wrap { display: flex; flex-direction: column; gap: 28px; }

.nl-group-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  color: var(--accent); margin-bottom: 12px;
  display: flex; align-items: center; gap: 7px;
}
.nl-group-title i { font-size: 12px; }

.nl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.nl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px 16px;
  transition: border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.nl-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(99,102,241,.08);
}

.nl-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.nl-name {
  font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3;
  flex: 1;
}
.nl-type-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: var(--accent);
  background: rgba(99,102,241,.10);
  padding: 3px 9px; border-radius: 4px;
  white-space: nowrap; flex-shrink: 0;
}

.nl-vibe {
  font-size: 12px; color: var(--text-muted); font-style: italic;
  display: flex; align-items: center; gap: 6px;
}
.nl-vibe i { color: var(--accent); font-size: 11px; }

.nl-meta-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.nl-meta {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500;
  background: var(--surface-2); border-radius: 5px; padding: 4px 10px;
  border: 1px solid var(--border);
}
.nl-meta i { font-size: 11px; }
.nl-meta-time { color: #67e8f9; }
.nl-meta-time i { color: #67e8f9; }
.nl-meta-price { color: var(--text-muted); }
.nl-meta-price i { color: var(--text-muted); }

.nl-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}

.nl-tip {
  font-size: 12px; color: #d97706;
  background: rgba(251,191,36,.07);
  border-left: 2px solid #fbbf24;
  padding: 7px 11px; border-radius: 0 5px 5px 0;
  display: flex; align-items: flex-start; gap: 7px; line-height: 1.45;
}
.nl-tip i { flex-shrink: 0; margin-top: 1px; }

.nl-days {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px;
}
.nl-day {
  font-size: 10px; font-weight: 700; letter-spacing: .4px;
  background: rgba(99,102,241,.12); color: var(--accent);
  padding: 3px 8px; border-radius: 4px;
}

/* Sub-groups inside venue section */
.nl-subgroup { margin-bottom: 18px; }
.nl-subgroup:last-child { margin-bottom: 0; }
.nl-subgroup-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px;
  color: var(--text-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.nl-subgroup-label i { font-size: 11px; color: var(--accent); }

/* ── DEALS BOARD ─────────────────────────────────────────────── */
.deals-board { }

.deals-grid {
  display: flex; flex-direction: column; gap: 6px;
}

.deal-day-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: flex-start;
}

.deal-day-label {
  font-size: 10px; font-weight: 900; letter-spacing: 1px;
  color: var(--accent); background: rgba(181,80,47,.10);
  border-radius: 6px; padding: 8px 4px;
  text-align: center; line-height: 1;
  flex-shrink: 0; align-self: flex-start; margin-top: 2px;
}

.deal-day-cards {
  display: flex; flex-direction: column; gap: 6px;
}

.deal-card {
  background: var(--deal-bg, rgba(99,102,241,.08));
  border: 1px solid color-mix(in srgb, var(--deal-color, #818cf8) 20%, transparent);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 5px;
}

.deal-card-top {
  display: flex; align-items: center; gap: 7px;
}
.deal-cat-icon {
  font-size: 12px;
  color: var(--deal-color, #818cf8);
  flex-shrink: 0;
}
.deal-venue {
  font-size: 13px; font-weight: 700; color: var(--text);
}
.deal-offer {
  font-size: 14px; font-weight: 800; color: var(--deal-color, #818cf8);
  line-height: 1.2;
}
.deal-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.deal-time {
  font-size: 11px; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
}
.deal-time i { font-size: 10px; }
.deal-area {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--accent); background: rgba(181,80,47,.12);
  padding: 2px 7px; border-radius: 4px;
}
.deal-note {
  font-size: 11px; color: var(--text-muted); line-height: 1.4;
  display: flex; align-items: flex-start; gap: 5px;
}
.deal-note i { font-size: 10px; flex-shrink: 0; margin-top: 1px; color: var(--text-muted); }

/* ── BUDGET TABLE ─────────────────────────────────────────── */
.budget-daily-hero {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px 24px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(181,80,47,.10) 0%, rgba(0,180,216,.06) 100%);
  border: 1px solid rgba(181,80,47,.22);
  border-radius: var(--r-lg);
  text-align: center;
}
.budget-daily-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4rem);
  font-weight: 800; line-height: 1;
  color: var(--accent); letter-spacing: -1px;
}
.budget-daily-label {
  font-size: 14px; font-weight: 600; color: var(--text-mid);
  margin-top: 6px; letter-spacing: .3px;
}
.budget-daily-sub {
  font-size: 12px; color: var(--text-muted); margin-top: 4px;
}
.budget-intro { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.55; }

/* ── BUDGET SUMMARY RECEIPT ───────────────────────────────── */
.budget-summary {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.bsum-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.bsum-row:last-child { border-bottom: none; }
.bsum-flight { background: rgba(181,80,47,.04); }
.bsum-rest   { background: rgba(255,255,255,.02); }
.bsum-daily  {
  background: linear-gradient(135deg, rgba(181,80,47,.10), rgba(0,180,216,.06));
  padding: 18px 20px;
}
.bsum-label {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  display: flex; flex-direction: column; gap: 4px;
}
.bsum-icon { color: var(--accent); margin-right: 6px; }
.bsum-sub  { font-size: 11.5px; color: var(--text-muted); line-height: 1.45; max-width: 340px; font-weight: 400; }
.bsum-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-decoration: none; margin-top: 2px;
}
.bsum-link:hover { color: var(--accent-2); }
.bsum-value {
  font-size: 15px; font-weight: 700; color: var(--text);
  white-space: nowrap; text-align: right; flex-shrink: 0;
}
.bsum-neg   { color: var(--amber); }
.bsum-days  { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 6px; }
.bsum-big   {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800;
  color: var(--accent); letter-spacing: -1px; line-height: 1;
}
.bsum-perday {
  font-family: var(--font);
  font-size: 13px; font-weight: 500;
  color: var(--text-mid); margin-left: 4px;
}

/* ── ZONE COST LIST ───────────────────────────────────────── */
.bcost-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.bcost-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .9px; color: var(--text-muted);
  padding: 12px 20px 10px; border-bottom: 1px solid var(--border);
}
.bcost-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px 20px;
  border-bottom: 1px solid var(--border);
}
.bcost-left { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.bcost-label { font-size: 14px; font-weight: 600; color: var(--text); }
.bcost-note  { font-size: 12px; color: var(--text-muted); }
.bcost-range {
  font-size: 14px; font-weight: 700; color: var(--text-mid);
  white-space: nowrap; flex-shrink: 0;
}
.bcost-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; background: rgba(255,255,255,.03);
  font-size: 14px; font-weight: 700; color: var(--text);
}
.bcost-total span:last-child { color: var(--accent); }

/* ── VERDICT ──────────────────────────────────────────────── */
.budget-verdict {
  padding: 12px 16px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.verdict-tight  { background: rgba(217,119,6,.10);  color: #b45309; border-left: 3px solid var(--amber); }
.verdict-ok     { background: rgba(181,80,47,.08);  color: var(--accent); border-left: 3px solid var(--accent); }
.verdict-plenty { background: rgba(16,185,129,.10); color: #6ee7b7; border-left: 3px solid var(--green); }

.budget-zone-note { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.budget-table-wrap { overflow-x: auto; }
.budget-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  border-radius: var(--r-md); overflow: hidden;
}
.budget-table th, .budget-table td {
  padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--border);
}
.budget-table th { background: var(--surface-2); font-weight: 600; font-size: 12px; color: var(--text-mid); }
.budget-table td.row-label, .budget-table th.row-label { text-align: left; color: var(--text); font-weight: 600; }
.budget-table .col-active { background: rgba(181,80,47,.07); color: var(--accent); font-weight: 600; }
.budget-table th.col-active { background: rgba(181,80,47,.13); color: var(--accent); }
.budget-table tfoot td { background: var(--surface-2); }
.total-row  { font-weight: 800 !important; }
.total-cell { font-weight: 800 !important; }
.budget-trip-total {
  margin-top: 16px; font-size: 14px; color: var(--text-mid);
  padding: 12px 16px; background: rgba(181,80,47,.07); border-radius: var(--r-sm);
  border-left: 3px solid var(--accent);
}
.budget-trip-total strong { color: var(--accent); }

/* ── MAP ──────────────────────────────────────────────────── */
.map-container {
  height: 420px; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 14px;
}
.map-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 4px 0; }
.map-leg { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.mleg-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid white; box-shadow: 0 1px 4px rgba(0,0,0,.4); flex-shrink: 0; }
.leaflet-popup-content-wrapper {
  border-radius: var(--r-sm) !important; box-shadow: var(--shadow-md) !important;
  font-family: var(--font) !important; font-size: 13px !important;
  background: var(--surface) !important; color: var(--text) !important;
}
.leaflet-popup-content b { font-weight: 700; display: block; margin-bottom: 2px; }
.leaflet-popup-content i { color: var(--text-muted); font-style: normal; font-size: 12px; }
.leaflet-popup-tip { background: var(--surface) !important; }

/* ── ACCOMMODATION ────────────────────────────────────────── */
.acc-tips {
  background: rgba(181,80,47,.07);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 14px 18px; font-size: 14px; color: var(--accent-2);
  margin-bottom: 20px; line-height: 1.6;
}
.acc-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.area-chip {
  background: rgba(181,80,47,.10); color: var(--accent);
  border: 1px solid rgba(181,80,47,.18);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.acc-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; font-style: italic; }
.area-acc-section { margin-bottom: 4px; }
.area-acc-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text); margin-bottom: 14px;
}

/* ── TOP PICKS ────────────────────────────────────────────── */
.tp-section { margin-bottom: 8px; }
.tp-title {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.tp-title i { color: #f59e0b; }
.tp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 6px;
}
.tp-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.tp-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.tp-photo {
  height: 120px; background-size: cover; background-position: center;
  position: relative; flex-shrink: 0;
}
.tp-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,.68); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.tp-body { padding: 12px 14px; display: flex; flex-direction: column; flex: 1; }
.tp-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tp-vibe { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 9px; flex: 1; }
.tp-price {
  font-size: 12px; font-weight: 700; color: var(--accent);
  margin-bottom: 10px;
}
.tp-price i { opacity: .7; margin-right: 3px; }
.tp-btns { display: flex; gap: 6px; }
.tp-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 5px; padding: 7px 4px; border-radius: 8px;
  font-size: 11px; font-weight: 700; text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.tp-btn:hover { opacity: .85; transform: translateY(-1px); }
.tp-btn-booking { background: #003580; color: #fff; }
.tp-btn-hw      { background: #F4521E; color: #fff; }
.acc-search-title {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .7px;
  margin: 22px 0 14px; padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}
@media (max-width: 640px) {
  .tp-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
  .tp-photo { height: 100px; }
  .tp-body { padding: 10px 12px; }
  .tp-name { font-size: 13px; }
}

/* ── TRANSPORT ────────────────────────────────────────────── */
.transport-block {
  background: var(--surface); border-radius: var(--r-xl);
  padding: 32px 36px; margin-bottom: 52px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.transport-block h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 6px; color: var(--text);
}
.transport-block > p { font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.transport-route { margin-bottom: 24px; }
.route-label { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.transport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 14px; }
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px; display: flex; gap: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.t-icon { font-size: 1.3rem; flex-shrink: 0; color: var(--accent); width: 34px; display: flex; align-items: flex-start; justify-content: center; padding-top: 3px; }
.t-type { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.t-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; font-size: 13px; color: var(--text-muted); }
.t-meta strong { color: var(--text-mid); }
.t-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 12px; }
.t-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s; }
.t-link:hover { color: var(--accent-2); }

/* ── ROME2RIO BUTTON ───────────────────────────────────────── */
.r2r-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,107,0,.08);
  border: 1px solid rgba(255,107,0,.22);
  color: #ff8c42;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
  margin-top: 10px;
}
.r2r-btn:hover { background: rgba(255,107,0,.16); color: #ffaa70; }
.r2r-btn-sm { font-size: 12px; padding: 6px 11px; margin-top: 8px; }

/* ── ZONES SCREEN — COMPACT LIST ─────────────────────────── */
.zone-group { margin-bottom: 36px; }

/* ── Zone photo banner (replaces plain label when zone has a photo) ── */
/* ── ZONE OVERVIEW MAP ───────────────────────────────────────── */
.zone-sel-map-wrap {
  margin-bottom: 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.09);
  position: relative;
}
.zone-sel-map-label {
  position: absolute; top: 12px; left: 12px; z-index: 500;
  background: rgba(13,12,10,.82); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
  pointer-events: none;
}
#zone-sel-map { height: 260px; width: 100%; }

/* Map pin divIcon */
.zone-map-pin { background: transparent !important; border: none !important; }
.zmp-wrap { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.zmp-inner {
  width: 34px; height: 34px; border-radius: 50%;
  background: #0d0c0a; color: #fff;
  font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.38);
  cursor: pointer; transition: background .2s, transform .2s;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .5px;
}
.zmp-inner:hover { transform: scale(1.15); }
.zmp-inner.zmp-selected { background: var(--accent); color: #0a0702; border-color: var(--accent); }
.zmp-label {
  font-size: 11px; font-weight: 700; white-space: nowrap;
  color: #0d0c0a; background: rgba(255,255,255,.92);
  padding: 2px 8px; border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0,0,0,.14);
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border);
}

/* ── ZONE SELECTION PHASE 1 — square destination-style cards ─── */
.zsel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding-bottom: 20px;
}

.zsel-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: var(--shadow-sm);
}
.zsel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}
.zsel-card.zsel-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 28px rgba(181,80,47,.22);
}

/* Photo section — top of card */
.zsel-img {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: #1c2433;
}
.zsel-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}

/* Check/number badge */
.zsel-check {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.38);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  transition: background .15s, border-color .15s;
  backdrop-filter: blur(3px);
}
.zsel-card.zsel-selected .zsel-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0702;
}

/* Text section — below photo */
.zsel-body {
  padding: 16px 18px 18px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 4px;
}

.zsel-name {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text); line-height: 1.1; margin-bottom: 2px;
}
.zsel-card.zsel-selected .zsel-name { color: var(--accent); }

.zsel-tagline {
  font-size: 13px; color: var(--text-muted); line-height: 1.4;
  margin-bottom: 10px;
}

.zsel-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.zsel-meta span {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
}
.zsel-meta i { font-size: 10px; color: var(--accent); }

/* ─────────────────────────────────────────────────────────────── */
.zone-photo-banner {
  position: relative;
  height: 180px;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex; align-items: flex-end;
}
.zpb-content {
  padding: 20px 22px;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.zpb-name {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
  color: #fff; line-height: 1; margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.zpb-desc {
  font-size: 12.5px; color: rgba(255,255,255,.78);
  max-width: 600px; line-height: 1.5; margin: 0;
}
.zpb-content .zone-tag {
  background: rgba(181,80,47,.25);
  color: var(--accent);
  border: 1px solid rgba(181,80,47,.35);
  width: fit-content;
}

/* ── AREA SELECTION MAP ──────────────────────────────────────── */
.area-sel-map-wrap {
  margin-bottom: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.09);
  position: relative;
}
.area-sel-map-label {
  position: absolute; top: 12px; left: 12px; z-index: 500;
  background: rgba(13,12,10,.82); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
  pointer-events: none;
}
#area-sel-map { height: 240px; width: 100%; }

/* ── Area card — square destination-style ─────────────────────── */
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.area-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: var(--shadow-sm);
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.area-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(181,80,47,.2);
}

/* Photo section */
.area-card-photo {
  position: relative;
  height: 170px;
  background-size: cover;
  background-position: center;
  background-color: #1c2433;
}
.area-card-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.16) 100%);
  pointer-events: none;
}

/* Check / number badge */
.area-card-check {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.38);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  transition: background .15s, border-color .15s;
  backdrop-filter: blur(3px);
}
.area-card.selected .area-card-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0702;
}

/* Text body */
.area-card-body {
  padding: 14px 16px 16px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 3px;
}
.area-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .4px;
  color: var(--text); line-height: 1.1;
}
.area-card.selected .area-card-name { color: var(--accent); }
.area-card-tagline {
  font-size: 12px; color: var(--text-muted); line-height: 1.4;
  margin-bottom: 8px;
}
.area-card-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
}
.area-card-meta i { color: var(--accent); font-size: 10px; margin-right: 3px; }

.zone-group-label {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.zone-tag {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted);
  background: var(--surface-2); padding: 3px 9px; border-radius: 4px;
  align-self: center;
}
.zone-group-label h3 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text); line-height: 1; margin: 0;
}
.zone-group-tagline {
  font-size: 12px; color: var(--text-muted);
}

/* Fallback row for areas without photo */
.area-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer; transition: all .22s;
}
.area-row:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.area-row.selected {
  border-color: var(--accent);
  background: rgba(181,80,47,.06);
  box-shadow: 0 0 0 1px rgba(181,80,47,.15);
}
.area-row-check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; transition: all .2s;
}
.area-row.selected .area-row-check { background: var(--accent); border-color: var(--accent); }
.area-row-info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.area-row-name  { font-size: 17px; font-weight: 800; font-family: var(--font-display); text-transform: uppercase; color: var(--text); letter-spacing: .3px; }
.area-row.selected .area-row-name { color: var(--accent); }
.area-row-tagline { font-size: 12px; color: var(--text-muted); }
.area-row-waves { font-size: 11px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.area-row-waves i { color: var(--accent); margin-right: 4px; }

/* ── JOURNEY CARD (vertical step-by-step route) ─────────────── */
.journey-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  padding: 22px 26px 18px;
  margin-bottom: 28px;
}
.jc-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text-muted);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 7px;
}
.jc-title i { color: var(--accent); }
.jc-steps { display: flex; flex-direction: column; }

.jc-stop {
  display: flex; align-items: flex-start; gap: 12px;
}
.jc-dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface-3); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.jc-origin .jc-dot { background: var(--text); color: #fff; }
.jc-area .jc-dot { background: var(--accent); color: #0a0702; font-weight: 800; font-size: 12px; }
.jc-stop-body { display: flex; flex-direction: column; gap: 2px; padding: 5px 0; flex: 1; }
.jc-stop-name { font-size: 13px; font-weight: 700; color: var(--text); }
.jc-stop-sub  { font-size: 11px; color: var(--text-muted); }
.jc-days-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--accent); background: rgba(181,80,47,.12);
  padding: 1px 9px; border-radius: 20px; margin-top: 2px; width: fit-content;
}
.jc-r2r {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-muted); text-decoration: none;
  border: 1px solid var(--border-2); border-radius: 6px;
  padding: 3px 8px; margin-top: 4px; width: fit-content;
  transition: border-color .15s, color .15s;
}
.jc-r2r:hover { border-color: var(--accent); color: var(--accent); }

.jc-leg {
  display: flex; gap: 0; align-items: stretch; min-height: 36px;
}
.jc-leg-line {
  width: 30px; flex-shrink: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.jc-leg-line::before {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 2px; background: var(--border-2);
}
.jc-leg-body {
  display: flex; align-items: center; gap: 10px; flex: 1;
  padding: 7px 12px;
  background: var(--surface-2); border-radius: 8px;
  margin: 3px 0;
}
.jc-leg-icon { font-size: 12px; color: var(--text-muted); flex-shrink: 0; width: 14px; text-align: center; }
.jc-leg-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.jc-leg-label { font-size: 12px; font-weight: 600; color: var(--text); }
.jc-leg-meta  { font-size: 11px; color: var(--text-muted); }
.jc-leg-carriers { font-size: 10px; color: var(--text-muted); }
.jc-leg-price { font-size: 11px; font-weight: 600; color: var(--accent); flex-shrink: 0; margin-left: auto; }
.jc-leg-links { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: 4px; }
.jc-book-link {
  font-size: 11px; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(181,80,47,.4); border-radius: 5px;
  padding: 2px 8px; text-decoration: none; white-space: nowrap;
  transition: background .15s;
}
.jc-book-link:hover { background: rgba(181,80,47,.1); }

/* ── SURFLINE SEASON STRIP ───────────────────────────────────── */
.area-season-strip {
  display: flex; align-items: flex-end;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 8px 20px 0;
}
.sfl-season {
  display: flex; gap: 3px; align-items: flex-end;
  width: 100%;
}
.sfl-month {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.sfl-pill {
  width: 100%; height: 4px; border-radius: 2px;
}
.sfl-m-label { font-size: 9px; font-weight: 600; color: var(--text-muted); }

/* ── WAVE PHOTO CAROUSEL ─────────────────────────────────────── */
.wave-carousel {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #1c2433;
  /* no border-radius — sits flush between season strip and wave cards */
}
.wc-track {
  position: relative;
  width: 100%; height: 100%;
}
.wc-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.wc-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.wc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,9,17,.08) 0%,
    rgba(5,9,17,.0) 45%,
    rgba(5,9,17,.65) 100%
  );
}
/* Wave name — bottom left */
.wc-wave-name {
  position: absolute;
  bottom: 48px; left: 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  display: flex; align-items: center; gap: 8px;
}
.wc-wave-name i { font-size: 1rem; opacity: .8; }
/* Photo counter — top right */
.wc-counter {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
}
/* Prev / Next buttons */
.wc-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 10;
}
.wc-btn:hover { background: rgba(0,0,0,.68); }
.wc-prev { left: 14px; }
.wc-next { right: 14px; }
/* Dot indicators */
.wc-dots {
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  z-index: 10;
}
.wc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.wc-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ── AREA INLINE SECTIONS (wave cards + map outside tabs) ──── */
.area-inline-section {
  padding: 20px 20px 0;
  background: var(--surface);
}
.area-inline-map {
  padding: 12px 20px 24px;
  background: var(--surface);
}
.area-inline-map .wave-spot-map-wrap {
  margin-bottom: 0;
}
/* Gap / divider between the waves content block and the tabs block */
.area-info-tabs {
  border-top: 2px solid var(--surface-2);
  margin-top: 4px;
}

/* ── BOTTOM ACCORDIONS (journey + practical info) ──────────── */
.itin-bottom-accordions {
  margin-top: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.itin-bottom-accordions .info-accordion {
  border-radius: 14px;
}
.accordion-body-journey {
  padding-bottom: 0;
}
.accordion-body-journey .journey-card {
  margin-bottom: 0;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* ── WAVE SPOT MAP ───────────────────────────────────────────── */
.wave-spot-map-wrap {
  position: relative;
  height: 220px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  /* Prevent Leaflet from overflowing the rounded corners */
  isolation: isolate;
}
.wave-spot-map-wrap > div {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
}

/* ── ROUTE TIMELINE (legacy — kept for fallback) ─────────────── */
.route-timeline {
  display: flex; align-items: center; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  overflow-x: auto;
  flex-wrap: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.rt-stop {
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; flex-shrink: 0; min-width: 80px; text-align: center;
}
.rt-origin .rt-stop-dot { background: var(--surface-3); color: var(--text-muted); }
.rt-stop-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.rt-stop-name { font-size: 11px; font-weight: 600; color: var(--text-mid); max-width: 90px; }
.rt-stop-days { font-size: 11px; color: var(--accent); font-weight: 600; }
.rt-leg {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0 8px; color: var(--text-muted); font-size: 10px;
  flex-shrink: 0;
}
.rt-leg i { font-size: 14px; color: var(--text-muted); }
.rt-leg::before, .rt-leg::after {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--border-2);
}

/* ── ROUTE ZONE BLOCKS ────────────────────────────────────── */
/* ── INTER-ZONE CONNECTOR ──────────────────────────────── */
.inter-zone-connector {
  background: linear-gradient(135deg, rgba(14,165,233,.08) 0%, rgba(181,80,47,.05) 100%);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 8px 0 36px;
  position: relative;
}
.inter-zone-connector::before {
  content: '';
  position: absolute;
  left: 50%; top: -16px;
  transform: translateX(-50%);
  width: 2px; height: 16px;
  background: rgba(14,165,233,.3);
}
.izc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.izc-arrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 800; color: var(--text);
}
.izc-arrow-line {
  color: var(--accent); font-size: 18px;
}
.izc-zone-from, .izc-zone-to { letter-spacing: -.2px; }
.izc-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--accent);
  background: rgba(181,80,47,.1); padding: 4px 10px; border-radius: 20px;
}
.izc-options {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 16px;
}
.izc-option {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 12px; align-items: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
}
.izc-opt-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(181,80,47,.12); border-radius: 8px;
  color: var(--accent); font-size: 15px;
}
.izc-opt-body { display: flex; flex-direction: column; gap: 3px; }
.izc-opt-type  { font-size: 14px; font-weight: 700; color: var(--text); }
.izc-opt-price { font-size: 13px; font-weight: 800; color: var(--accent); }
.izc-opt-meta  { font-size: 12px; color: var(--text-muted); }
.izc-opt-note  { font-size: 12px; color: var(--text-muted); opacity:.8; line-height:1.4; }
.izc-carriers  { font-size: 12px; color: var(--text-muted); }

/* ── FLIGHT SUMMARY BAR (top of itinerary) ──────────────── */
.itin-flight-summary {
  background: rgba(181,80,47,.07);
  border: 1px solid rgba(181,80,47,.22);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 28px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.ifs-header {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  width: 100%; font-size: 13px;
}
.ifs-header > i { color: var(--accent); font-size: 16px; }
.ifs-header > span:nth-child(2) { font-weight: 700; color: var(--text); }
.ifs-route {
  background: rgba(0,0,0,.06); padding: 3px 9px;
  border-radius: 6px; font-size: 12px; font-weight: 700;
  color: var(--text-muted); letter-spacing: .4px;
}
.ifs-loading { font-size: 12px; color: var(--text-muted); }
#ifs-price {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-left: auto;
}
.ifs-leg {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.ifs-leg i { color: var(--accent); font-size: 11px; }
.ifs-sep { color: var(--text-muted); font-weight: 800; }
.ifs-total {
  font-size: 15px; font-weight: 900; color: var(--accent);
  padding: 2px 10px; background: rgba(181,80,47,.12);
  border-radius: 8px;
}

/* ── AIRPORT → DESTINATION CONNECTOR ──────────────────────── */
.airport-connector {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  background: rgba(245,158,11,.07);
  border: 1px solid rgba(245,158,11,.22);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 28px;
}
.ac-left { display: flex; align-items: center; gap: 12px; }
.ac-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(245,158,11,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ac-icon i { color: #f59e0b; font-size: 15px; }
.ac-text { display: flex; flex-direction: column; gap: 2px; }
.ac-label { font-size: 13px; font-weight: 600; color: var(--text); }
.ac-label strong { color: #b45309; }
.ac-sub { font-size: 12px; color: var(--text-muted); }
.ac-sub strong { color: var(--text); }
.ac-r2r { flex-shrink: 0; }
@media (max-width: 600px) {
  .airport-connector { flex-direction: column; align-items: flex-start; }
  .ac-r2r { width: 100%; justify-content: center; }
}

/* ── GROUND CONNECTOR (bus/AVE to hub airport) ──────────────── */
.ground-connector {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.gc-step {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.gc-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(181,80,47,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gc-icon i { color: var(--accent); font-size: 16px; }
.gc-text { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gc-label { font-size: 14px; font-weight: 600; color: var(--text); }
.gc-label strong { color: var(--accent); }
.gc-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-muted);
}
.gc-dot { opacity: .4; }
.gc-links { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.gc-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 6px 12px;
  border-radius: 6px; text-decoration: none;
  background: var(--accent); color: #fff;
  transition: background .2s;
}
.gc-link:hover { background: #c95d38; }
.gc-link-r2r {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-2);
}
.gc-link-r2r:hover { background: var(--surface-3); }
.gc-then {
  text-align: center; color: var(--text-muted); font-size: 12px;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .gc-step { flex-direction: column; align-items: flex-start; }
  .gc-links { width: 100%; }
  .gc-link { flex: 1; justify-content: center; }
}

/* ── BOOKING.COM MAP BUTTON ─────────────────────────────────── */
.booking-map-btn {
  display: flex; align-items: center; gap: 14px;
  background: rgba(0,113,194,.10);
  border: 1px solid rgba(0,113,194,.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.booking-map-btn:hover {
  background: rgba(0,113,194,.18);
  border-color: rgba(0,113,194,.4);
}
.bm-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,113,194,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bm-icon i { color: #3b9de0; font-size: 18px; }
.bm-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bm-label { font-size: 14px; font-weight: 700; color: var(--text); }
.bm-sub { font-size: 12px; color: var(--text-muted); }
.bm-arrow { color: var(--text-muted); font-size: 13px; flex-shrink: 0; }

.route-zone-block { margin-bottom: 40px; }
.route-zone-header {
  display: flex; align-items: baseline; gap: 12px;
  padding: 0 0 16px; border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.route-zone-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted);
  background: var(--surface-2); padding: 3px 8px; border-radius: 4px;
}
.route-zone-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 800;
  text-transform: uppercase; color: var(--text);
  letter-spacing: .5px; line-height: 1;
}

/* ── AREA BLOCKS ──────────────────────────────────────────── */
.area-block { margin-bottom: 24px; }
.area-block-head {
  background: var(--card);
  background-size: cover; background-position: center;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 32px 28px 24px;
  min-height: 160px;
  display: flex; align-items: flex-end; gap: 20px;
  position: relative;
}
.area-block-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.area-block-info { position: relative; z-index: 1; flex: 1; }
.area-block-zone-tag {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,.55);
  margin-bottom: 4px;
}
.area-block-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--white);
  margin-bottom: 6px; line-height: 1;
}
.area-block-info p { font-size: 13px; color: rgba(255,255,255,.70); line-height: 1.5; max-width: 480px; }
.area-block-waves {
  background: var(--surface);
  border: 1px solid var(--border); border-top: none;
  padding: 22px 28px;
}
.area-waves-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── AREA TRANSPORT CARD ──────────────────────────────────── */
.area-transport-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-top: 12px; margin-bottom: 8px;
}
.atc-header {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text);
  margin-bottom: 14px; flex-wrap: wrap;
}
.atc-header i { color: var(--accent); font-size: 1rem; flex-shrink: 0; }
.atc-summary {
  margin-left: auto; font-size: 13px; font-weight: 700;
  color: var(--accent); white-space: nowrap;
}
.atc-options { display: flex; flex-direction: column; gap: 10px; }
.atc-option {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-2); border-radius: var(--r-sm);
  padding: 12px 16px; border: 1px solid var(--border);
}
.atc-option i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.atc-option > div { display: flex; flex-direction: column; gap: 2px; }
.atc-type { font-size: 14px; font-weight: 700; color: var(--text); }
.atc-meta { font-size: 12px; font-weight: 600; color: var(--accent); }
.atc-note { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* Rome2Rio block inside area-transport-card */
.atc-r2r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,107,0,.18);
  margin-top: 14px;
  padding-top: 12px;
}
.atc-r2r-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.atc-r2r-route { font-size: 13px; font-weight: 700; color: var(--text); }
.atc-r2r-note  { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.r2r-btn-atc {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  padding: 8px 14px;
  margin-top: 0;
}

/* Zone info tabs container */
.zone-info-tabs { margin-top: 16px; }

/* ── FOOD CATEGORIES ──────────────────────────────────────── */
.food-category { margin-bottom: 28px; }
.food-category:last-child { margin-bottom: 0; }
.food-cat-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .9px; color: var(--text-muted);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.food-cat-title i { color: var(--accent); }

/* ── SUMMARY CTA (bottom of itinerary) ───────────────────── */
.summary-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(181,80,47,.08), rgba(0,180,216,.04));
  border: 1px solid rgba(181,80,47,.22);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  margin-top: 48px;
}
.summary-cta-text {
  display: flex; align-items: center; gap: 16px;
  font-size: 1.3rem; color: var(--accent); flex-shrink: 0;
}
.summary-cta-text > div { display: flex; flex-direction: column; gap: 4px; }
.summary-cta-text strong { font-size: 15px; font-weight: 700; color: var(--text); }
.summary-cta-text span { font-size: 13px; color: var(--text-muted); }
@media (max-width: 600px) { .summary-cta { flex-direction: column; } .summary-cta .btn { width: 100%; justify-content: center; } }

/* ── TRIP SUMMARY SCREEN (screen 5) ──────────────────────── */
.tsb-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .9px; color: var(--text-muted); margin-bottom: 14px;
}
.tsb-route-section { margin-bottom: 32px; }
.tsb-route-cards { display: flex; flex-direction: column; gap: 10px; }
.tsb-route-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
}
.tsb-route-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tsb-route-info { flex: 1; }
.tsb-route-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tsb-route-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-muted); }
.tsb-route-meta i { color: var(--accent); margin-right: 5px; }
.tsb-budget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 28px 28px 24px;
  margin-bottom: 24px;
}
.tsb-budget-title {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.tsb-budget-title i { color: var(--accent); }
.tsb-areas {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.tsb-area-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--border);
}
.tsb-area-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tsb-area-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tsb-area-name { font-size: 14px; font-weight: 700; color: var(--text); }
.tsb-area-meta { font-size: 12px; color: var(--text-muted); }
.tsb-range { opacity: .7; }
.tsb-area-total { font-size: 14px; font-weight: 700; color: var(--text-mid); white-space: nowrap; flex-shrink: 0; }
.tsb-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; background: rgba(181,80,47,.06);
  font-size: 14px; font-weight: 700; color: var(--text);
}
.tsb-total-row span:last-child { color: var(--accent); font-size: 16px; }
.tsb-margin-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 18px; border-top: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
}
.tsb-positive { color: var(--green) !important; font-weight: 700 !important; }
.tsb-negative { color: #ef4444 !important; font-weight: 700 !important; }
.tsb-foot-note { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-top: 16px; }
@media (max-width: 600px) {
  .tsb-budget-card { padding: 20px; }
  .tsb-margin-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 800px) {
  .search-card { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .ztabs { padding: 0 20px; }
  .ztab-body { padding: 20px; }
  .itin-zone-head { padding: 36px 20px 24px; }
  .transport-block { padding: 24px 20px; }
  .accordion-summary { padding: 16px 20px; }
  .accordion-body { padding: 6px 20px 22px; }
  .waves-grid, .poi-grid, .activity-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 16px 130px; }
  .container { padding: 0 16px; }
  .search-card { border-radius: var(--r-lg); padding: 22px 18px; }
  .zones-actions { flex-direction: column; align-items: stretch; }
  .map-container { height: 300px; }
}

/* ══════════════════════════════════════════════════════════
   BUDGET DETAIL — Screen 5 (.bdet-*)
   ══════════════════════════════════════════════════════════ */

/* Route bar */
.bdet-route-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.bdet-stop {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bdet-stop-num {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  color: #000;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.bdet-stop-info { display: flex; flex-direction: column; gap: 1px; }
.bdet-stop-name { font-weight: 700; font-size: 14px; color: var(--text); }
.bdet-stop-days { font-size: 12px; color: var(--text-muted); }
.bdet-route-arrow {
  color: var(--text-muted);
  font-size: 13px;
  opacity: .5;
  padding: 0 4px;
}

/* Category card */
.bdet-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.bdet-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(181,80,47,.05);
  border-bottom: 1px solid var(--border);
}
.bdet-cat-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(181,80,47,.12);
  border-radius: 50%;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}
.bdet-cat-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  flex: 1;
}
.bdet-cat-total {
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  white-space: nowrap;
}
.bdet-cat-rows { padding: 8px 20px; }

/* Per-area row */
.bdet-row {
  display: grid;
  grid-template-columns: 155px 1fr auto;
  gap: 6px 12px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.bdet-row:last-child { border-bottom: none; }
.bdet-row-area {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  line-height: 1.3;
}
.bdet-row-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bdet-row-calc {
  font-size: 13px;
  color: var(--text-muted);
}
.bdet-range { opacity: .65; font-size: 12px; }
.bdet-row-note {
  font-size: 11px;
  color: var(--text-muted);
  opacity: .7;
  line-height: 1.4;
}
.bdet-row-sub {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  text-align: right;
}

/* Flight detail */
.bdet-flight-detail { padding: 12px 0; }
.bdet-flight-route {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.bdet-flight-from, .bdet-flight-to {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.bdet-flight-plane {
  color: var(--accent);
  font-size: 16px;
}
.bdet-flight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.bdet-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.bdet-flight-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.bdet-sky-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(181,80,47,.1);
  border: 1px solid rgba(181,80,47,.25);
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.bdet-sky-link:hover { background: rgba(181,80,47,.18); }
/* Primary booking button — brighter */
.bdet-book-link {
  background: rgba(181,80,47,.2);
  border-color: rgba(181,80,47,.5);
  font-size: 14px;
  padding: 9px 16px;
}
.bdet-book-link:hover { background: rgba(181,80,47,.3); }
/* Secondary compare link — more muted */
.bdet-sky-alt {
  background: var(--surface-2);
  border-color: rgba(0,0,0,.12);
  color: var(--text-muted);
  font-size: 12px;
}
.bdet-sky-alt:hover { background: rgba(0,0,0,.08); color: var(--text-mid); }

/* Transfer legs */
.bdet-leg-sep { border: none; border-top: 1px solid rgba(0,0,0,.07); margin: 0; }
.bdet-leg { padding: 14px 0; }
.bdet-leg-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}
.bdet-leg-title i { color: var(--accent); }
.bdet-leg-est {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.bdet-leg-options { display: flex; flex-direction: column; gap: 8px; }
.bdet-leg-option {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.bdet-opt-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(181,80,47,.1);
  border-radius: 8px;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}
.bdet-opt-body { display: flex; flex-direction: column; gap: 3px; }
.bdet-opt-type { font-weight: 700; font-size: 13px; color: var(--text); }
.bdet-opt-detail { font-size: 12px; color: var(--text-muted); }
.bdet-opt-note { font-size: 12px; color: var(--text-muted); opacity: .8; line-height: 1.4; }
.bdet-opt-price {
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
  text-align: right;
}

/* Grand total */
.bdet-grand {
  background: linear-gradient(135deg, rgba(181,80,47,.1) 0%, rgba(181,80,47,.04) 100%);
  border: 1px solid rgba(181,80,47,.28);
  border-radius: 14px;
  padding: 24px;
  margin-top: 8px;
}
.bdet-grand-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bdet-grand-title i { color: var(--accent); }
.bdet-gt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  font-size: 14px;
}
.bdet-gt-row:last-child { border-bottom: none; }
.bdet-gt-label { color: var(--text-muted); }
.bdet-gt-value { font-weight: 700; color: var(--text); }
.bdet-gt-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 10px;
  margin-top: 6px;
  border-top: 2px solid rgba(181,80,47,.3);
  font-size: 19px;
  font-weight: 800;
}
.bdet-gt-total-label { color: var(--text); }
.bdet-gt-total-value { color: var(--accent); }
.bdet-budget-vs {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.bdet-margin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.bdet-margin-label { font-size: 13px; color: var(--text-muted); }
.bdet-margin-val   { font-size: 17px; font-weight: 800; }
.bdet-margin-pos   { color: #22c55e; }
.bdet-margin-neg   { color: #ef4444; }

/* Real price widget */
.bdet-real-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.bdet-real-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 0;
}
.bdet-real-loading i { color: var(--accent); }

.bdet-real-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #f59e0b;
  padding: 8px 0;
}

.bdet-real-result {
  background: rgba(181,80,47,.06);
  border: 1px solid rgba(181,80,47,.2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 4px;
}
.bdet-real-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #22c55e;
  margin-bottom: 8px;
}
.bdet-real-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bdet-real-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.bdet-real-airline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text);
}
.bdet-real-airline i { color: var(--accent); font-size: 13px; }
.bdet-carrier-code { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.bdet-real-details {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.bdet-real-details i { font-size: 11px; }
.bdet-dot { opacity: .4; }
.bdet-price-note {
  font-size: 11px;
  color: var(--text-muted);
  opacity: .6;
  margin-top: 2px;
}

/* ── Round-trip flight legs ───────────────────────────── */
.bdet-rt-leg { padding: 10px 0; }
.bdet-rt-leg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.bdet-rt-direction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}
.bdet-dir-out {
  background: rgba(181,80,47,.15);
  color: var(--accent);
  border: 1px solid rgba(181,80,47,.3);
}
.bdet-dir-ret {
  background: rgba(248,113,113,.12);
  color: #f87171;
  border: 1px solid rgba(248,113,113,.3);
}
.bdet-rt-leg-route {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .3px;
}
.bdet-rt-leg-price {
  margin-left: auto;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
}
.bdet-rt-leg-detail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 2px;
}
.bdet-rt-airline { display: inline-flex; align-items: center; gap: 5px; }
.bdet-rt-sep {
  border: none;
  border-top: 1px solid rgba(0,0,0,.08);
  margin: 4px 0;
}
.bdet-book-leg {
  margin-top: 8px;
  font-size: 12px;
  padding: 6px 12px;
}
.bdet-rt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 10px;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.bdet-rt-total-price {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

.bdet-live-badge {
  display: inline-block;
  background: #22c55e;
  color: #000;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 2px 5px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
}

.bdet-api-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.bdet-api-note i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.bdet-api-note a { color: var(--accent); }
.bdet-api-note code {
  background: rgba(0,0,0,.07);
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 11px;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .bdet-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .bdet-row-area { grid-column: 1; }
  .bdet-row-detail { grid-column: 1; grid-row: 2; }
  .bdet-row-sub { grid-column: 2; grid-row: 1; }
  .bdet-leg-option { grid-template-columns: 34px 1fr; }
  .bdet-opt-icon  { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .bdet-opt-price { grid-column: 2; grid-row: 1; text-align: right; }
  .bdet-opt-body  { grid-column: 2; grid-row: 2; }
}

/* ── HERO / SEARCH MOBILE ─────────────────────────────────── */
@media (max-width: 700px) {
  .hero-caption { padding: 0 24px 44px; }
  .hero-caption h1 { font-size: clamp(2.6rem, 11vw, 4.5rem); }
  .hero-sub { display: none; }
  .search-section { padding: 44px 0 60px; }
  .search-card { padding: 28px 22px; border-radius: var(--r-md); }
}

/* ── DAYS CONTROLS ────────────────────────────────────────── */
.days-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px !important;
}
.days-btn {
  background: rgba(181,80,47,.18);
  border: 1px solid rgba(181,80,47,.35);
  color: var(--accent);
  border-radius: 4px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; line-height: 1;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.days-btn:hover:not(:disabled) { background: rgba(181,80,47,.32); }
.days-btn:disabled { opacity: .35; cursor: default; }
.days-val { font-weight: 700; color: var(--accent); min-width: 14px; text-align: center; }

.rt-days-warning {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  padding: 6px 12px;
  margin-bottom: 8px;
  background: rgba(181,80,47,.08);
  border-radius: 6px;
  border: 1px solid rgba(181,80,47,.18);
}
.rt-days-warning strong { color: var(--accent); }

/* ── TOP PICKS (sin foto) ──────────────────────────────────── */
.tp-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.tp-name-row .tp-name { font-size: 15px; font-weight: 700; color: var(--text); }
.tp-name-row .tp-badge {
  font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--accent);
  background: rgba(181,80,47,.12);
  border: 1px solid rgba(181,80,47,.22);
  border-radius: 4px; padding: 2px 7px;
  white-space: nowrap; flex-shrink: 0;
}
.tp-card { border-radius: var(--r-md); background: var(--surface-2); border: 1.5px solid var(--border); overflow: hidden; }
.tp-card.tp-selected { border-color: var(--accent); background: rgba(181,80,47,.06); }
.tp-card .tp-body { padding: 14px 16px; }

/* Botón "Usar en presupuesto" */
.tp-btn-select {
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  color: var(--text-mid);
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 12.5px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
  transition: background .15s, color .15s;
}
.tp-btn-select:hover { background: rgba(181,80,47,.12); color: var(--accent); border-color: rgba(181,80,47,.3); }
.tp-btn-select.tp-btn-selected {
  background: rgba(181,80,47,.15);
  border-color: rgba(181,80,47,.4);
  color: var(--accent);
}

/* Badge alojamiento seleccionado en resumen */
.bdet-acc-sel {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent); font-weight: 600; font-size: 12px;
}
.bdet-acc-sel i { font-size: 10px; }

/* ── ACCOMMODATION MAP SCREEN ─────────────────────────────── */
.acc-area-section {
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
}

.acc-area-header {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
}

.acc-area-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1.1;
}

.acc-area-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  max-width: 560px;
}

.acc-area-section .booking-map-btn {
  margin: 16px 16px 0;
}

.acc-map-wrapper {
  padding: 12px 16px 16px;
}

.acc-map-container {
  width: 100%;
  height: 320px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-2);
}

.acc-area-section .tp-section {
  padding: 0 16px 20px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.acc-area-section .tp-section .tp-title {
  padding: 16px 0 12px;
  border-bottom: none;
}

/* ══════════════════════════════════════════════════════════
   NUEVO PRESUPUESTO (bn-*)
   ══════════════════════════════════════════════════════════ */

/* Contenedor principal */
.bn-wrap {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}

/* ── Barra de ruta ── */
.bn-route {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 18px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
}
.bn-route-stop {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bn-route-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bn-route-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.bn-route-name { font-size: 13px; font-weight: 700; color: var(--text); }
.bn-route-days { font-size: 11px; color: var(--text-muted); }
.bn-route-sep  { font-size: 11px; color: var(--text-muted); margin: 0 2px; }

/* ── Fila principal de categoría (vuelo, etc.) ── */
.bn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.bn-row-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
/* Colores de icono */
.bn-ico-flight  { background: rgba(96,165,250,.14);  color: #60A5FA; }
.bn-ico-acc     { background: rgba(34,197,94,.14);   color: #22C55E; }
.bn-ico-food    { background: rgba(249,115,22,.14);  color: #F97316; }
.bn-ico-moto    { background: rgba(168,85,247,.14);  color: #A855F7; }
.bn-ico-surf    { background: rgba(34,211,238,.14);  color: #22D3EE; }
.bn-ico-act     { background: rgba(234,179,8,.14);   color: #EAB308; }
.bn-ico-route   { background: rgba(148,163,184,.12); color: var(--text-muted); }
.bn-ico-default { background: rgba(148,163,184,.12); color: var(--text-muted); }

.bn-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bn-row-label { font-size: 14px; font-weight: 700; color: var(--text); }
.bn-row-meta  { font-size: 11.5px; color: var(--text-muted); }

.bn-row-val {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.bn-num-input {
  width: 80px;
  background: var(--surface-3);
  border: 1.5px solid var(--border-2);
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 15px; font-weight: 700;
  color: var(--text);
  text-align: right;
}
.bn-num-input:focus { outline: none; border-color: var(--accent); }
.bn-num-unit { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* ── Header de categoría (Alojamiento, Comida…) ── */
.bn-cat-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.bn-cat-name { flex: 1; font-size: 14px; font-weight: 700; color: var(--text); }
.bn-cat-amt  { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ── Sub-fila por área ── */
.bn-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 10px 66px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.bn-sub:last-of-type { border-bottom: 1px solid var(--border); }

.bn-sub-left  { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-sub-area  { font-size: 13px; font-weight: 600; color: var(--text); }
.bn-sub-meta  { font-size: 11.5px; color: var(--text-muted); }
.bn-sub-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bn-sub-val   { font-size: 13px; font-weight: 600; color: var(--text-mid); white-space: nowrap; }
.bn-sub-est   { color: var(--text-muted); font-style: italic; }

/* Sub-fila con top pick seleccionado */
.bn-sub-sel {
  background: rgba(181,80,47,.05);
  border-bottom: 1px solid rgba(181,80,47,.12);
}
.bn-sub-sel .bn-sub-meta { color: var(--accent); }

/* Botón "Cambiar" alojamiento */
.bn-desel {
  font-size: 11px;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  padding: 3px 8px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.bn-desel:hover { color: var(--text); border-color: var(--text-muted); }

/* Input precio/noche alojamiento manual */
.bn-acc-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bn-acc-input {
  width: 60px;
  background: var(--surface-3);
  border: 1.5px solid var(--border-2);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 12px; font-weight: 600;
  color: var(--text);
  text-align: right;
}
.bn-acc-input:focus { outline: none; border-color: var(--accent); }
.bn-acc-unit { font-size: 11px; color: var(--text-muted); }

/* ── Footer / Total ── */
.bn-footer {
  padding: 16px 18px;
  background: var(--surface-2);
  border-top: 2px solid var(--border);
}

.bn-recap { margin-bottom: 12px; }
.bn-recap-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 3px 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.bn-recap-row:last-child { border-bottom: none; }

.bn-grand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 10px;
  border-top: 1.5px solid var(--border);
}
.bn-grand-label { font-size: 14px; font-weight: 700; color: var(--text); }
.bn-grand-val   { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -.5px; }

.bn-budget-line {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 4px 0 8px;
}

.bn-margin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 9px;
  margin-top: 4px;
}
.bn-margin i { font-size: 14px; }
.bn-margin-ok   { background: rgba(34,197,94,.1);  color: #22C55E; border: 1px solid rgba(34,197,94,.22);  }
.bn-margin-over { background: rgba(239,68,68,.09); color: #EF4444; border: 1px solid rgba(239,68,68,.2);  }

/* Nota pie */
.bn-footnote {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   AUTH UI — header + modales
   ══════════════════════════════════════════════════════════ */

/* Header login button */
.btn-login {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px;
  background: transparent;
  border: 1.5px solid var(--border-2);
  border-radius: 8px;
  color: var(--text-mid); font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-login:hover { background: rgba(181,80,47,.1); border-color: var(--accent); color: var(--accent); }

/* Save trip button (header screen 5) */
.btn-save-trip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: rgba(34,197,94,.12);
  border: 1.5px solid rgba(34,197,94,.3);
  border-radius: 8px;
  color: #22C55E; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.btn-save-trip:hover { background: rgba(34,197,94,.2); }

/* User menu */
.header-actions { display: flex; align-items: center; }

.user-menu-wrap { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--border-2);
  border-radius: 24px; padding: 5px 12px 5px 6px;
  cursor: pointer; color: var(--text); transition: all .2s;
}
.user-menu-btn:hover { border-color: var(--accent); }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-avatar-init {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.user-name { font-size: 13px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chevron { font-size: 10px; color: var(--text-muted); transition: transform .2s; }

.user-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 210px;
  box-shadow: 0 12px 36px rgba(0,0,0,.15);
  overflow: hidden;
  z-index: 300;
}
.user-dropdown.open { display: block; }
.user-dropdown button {
  display: flex; align-items: center; gap: 9px;
  width: 100%; padding: 12px 16px;
  background: none; border: none; color: var(--text-mid);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .15s;
  text-align: left;
}
.user-dropdown button:hover { background: var(--surface-3); color: var(--text); }
.user-dropdown button i { width: 16px; text-align: center; }
.dropdown-sep { border: none; border-top: 1px solid var(--border); margin: 4px 0; }
.dropdown-danger { color: #EF4444 !important; }
.dropdown-danger:hover { background: rgba(239,68,68,.08) !important; }

/* ── Modal overlay ──────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  animation: modal-in .2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: var(--surface-3); border: none;
  border-radius: 50%; color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer;
}
.modal-close:hover { color: var(--text); }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }

/* ── Auth modal ─────────────────────────────────────────── */
.auth-modal-box { max-width: 400px; padding: 28px 28px 24px; }

.auth-logo {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}
.auth-tabs {
  display: flex; gap: 0;
  background: var(--surface-3);
  border-radius: 9px; padding: 3px;
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1; padding: 8px;
  background: none; border: none; border-radius: 7px;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.auth-tab.on { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.3); }

.auth-error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #EF4444;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  margin-bottom: 14px;
}

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px;
  background: var(--surface-3);
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  color: var(--text); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s;
  margin-bottom: 16px;
}
.btn-google:hover { background: var(--surface-2); border-color: rgba(0,0,0,.2); }

.auth-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 12px;
  margin-bottom: 16px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1;
  border-top: 1px solid var(--border);
}

.auth-field { margin-bottom: 10px; }
.auth-field input {
  width: 100%; padding: 10px 12px;
  background: var(--surface-3);
  border: 1.5px solid var(--border-2);
  border-radius: 9px;
  color: var(--text); font-size: 14px;
}
.auth-field input:focus { outline: none; border-color: var(--accent); }
.auth-submit { margin-top: 6px; }

/* ── Trips modal ────────────────────────────────────────── */
.trips-modal-box { max-width: 560px; }
.trips-list { padding: 12px 16px 16px; }

.trips-loading, .trips-empty {
  text-align: center; padding: 36px 16px;
  color: var(--text-muted); font-size: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.trips-empty i { font-size: 36px; opacity: .4; }

.trip-card-saved {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color .2s;
}
.trip-card-saved:hover { border-color: var(--border-2); }
.tcs-left  { flex: 1; min-width: 0; }
.tcs-dest  { font-size: 15px; font-weight: 700; color: var(--text); display: block; margin-bottom: 3px; }
.tcs-meta  { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 3px; }
.tcs-date  { font-size: 11.5px; color: var(--text-muted); opacity: .7; }
.tcs-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tcs-load {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px;
  background: rgba(181,80,47,.12);
  border: 1px solid rgba(181,80,47,.28);
  color: var(--accent); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.tcs-load:hover { background: rgba(181,80,47,.22); }
.tcs-del {
  padding: 7px 10px; border-radius: 8px;
  background: none; border: 1px solid var(--border-2);
  color: var(--text-muted); font-size: 12px; cursor: pointer;
}
.tcs-del:hover { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); color: #EF4444; }

/* ══════════════════════════════════════════════════════════
   MAPA GLOBAL DEL ITINERARIO
   ══════════════════════════════════════════════════════════ */

.global-map-section {
  margin: 24px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gmap-header {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--text);
}
.global-map-container {
  height: 300px;
  background: var(--surface-1);
}
.gmap-legend {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 11px 18px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.gmap-leg-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-muted);
}
.gmap-leg-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; flex-shrink: 0;
}
.gmap-pin {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  border: 2px solid rgba(0,0,0,.4);
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}

/* ══════════════════════════════════════════════════════════
   SCREEN 5 — DOCUMENTO DE VIAJE
   ══════════════════════════════════════════════════════════ */

/* Panorama del viaje */
.sdoc-overview {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sdoc-dest {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.sdoc-dest-emoji { font-size: 36px; line-height: 1; }
.sdoc-dest-name  { font-size: 22px; font-weight: 800; color: var(--text); font-family: var(--font-display); }
.sdoc-dest-tag   { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.sdoc-pills      { display: flex; flex-wrap: wrap; gap: 8px; }
.sdoc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12.5px; color: var(--text-mid);
}
.sdoc-pill i { color: var(--accent); }

/* Secciones */
.sdoc-section {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.sdoc-section-title {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 18px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text);
}
.sdoc-section-title i { color: var(--accent); }

/* Tarjetas de ruta */
.sdoc-route-cards {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding: 16px;
}
.sdoc-route-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  flex: 1; min-width: 200px;
}
.sdoc-rc-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.sdoc-rc-name  { font-size: 14px; font-weight: 700; color: var(--text); }
.sdoc-rc-days  { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.sdoc-rc-acc   { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.sdoc-acc-sel  { color: #22C55E; font-weight: 600; }
.sdoc-acc-est  { font-style: italic; }

/* Info práctica rápida */
.sdoc-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  padding: 0;
}
.sdoc-quick-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.sdoc-quick-item:last-child { border-bottom: none; }
.sdoc-qi-icon { font-size: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.sdoc-qi-title { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.sdoc-qi-body  { font-size: 11.5px; color: var(--text-muted); line-height: 1.5; }

/* Checklist */
.sdoc-checklist { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.sdoc-check-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--text-mid);
  cursor: pointer; padding: 4px 0;
}
.sdoc-check-item input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer; flex-shrink: 0;
}
.sdoc-check-done { color: var(--text-muted); text-decoration: line-through; }

/* ── APP LOADER ───────────────────────────────────────────── */
#app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 7, 5, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}
#app-loader.loader-visible {
  opacity: 1;
  pointer-events: all;
}
#app-loader.loader-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.loader-wave {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 40px;
}
.loader-wave span {
  display: block;
  width: 6px;
  border-radius: 3px;
  background: var(--accent);
  animation: loaderWave 1.1s ease-in-out infinite;
  transform-origin: bottom;
}
.loader-wave span:nth-child(1) { height: 16px; animation-delay: 0s; }
.loader-wave span:nth-child(2) { height: 28px; animation-delay: 0.15s; }
.loader-wave span:nth-child(3) { height: 40px; animation-delay: 0.3s; }
.loader-wave span:nth-child(4) { height: 28px; animation-delay: 0.45s; }
.loader-wave span:nth-child(5) { height: 16px; animation-delay: 0.6s; }

@keyframes loaderWave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50%       { transform: scaleY(1);   opacity: 1; }
}
.loader-icon {
  font-size: 36px;
  color: var(--accent);
  opacity: 0.9;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1; }
}
.loader-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  text-align: center;
}

/* ── TRIP SUMMARY — resumen limpio ──────────────────────────── */
/* ── SUMMARY SCREEN (screen5) ─────────────────────────────── */
.sr-wrap { display: flex; flex-direction: column; gap: 16px; }

/* Hero */
.sr-hero {
  border-radius: 16px; overflow: hidden; position: relative;
  min-height: 180px; background: #1a1a2e;
  background-size: cover; background-position: center;
}
.sr-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,7,2,.65) 0%, rgba(10,7,2,.45) 100%);
}
.sr-hero-content {
  position: relative; z-index: 1;
  padding: 28px 24px 24px;
}
.sr-hero-dest {
  font-size: 28px; font-weight: 900; color: #fff;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.sr-hero-chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px;
}
.sr-hero-chip {
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  color: #fff; border-radius: 20px; padding: 4px 12px;
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.sr-hero-chip i { font-size: 10px; opacity: .9; }
.sr-hero-dates {
  color: rgba(255,255,255,.75); font-size: 13px; font-weight: 500;
}

/* Mode switcher */
.sr-mode-switcher {
  display: flex; gap: 8px; margin: 16px 0;
}
.sr-mode-btn {
  flex: 1; padding: 10px 6px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--text-muted);
  font-size: 13px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .18s; font-family: inherit;
}
.sr-mode-btn:hover { border-color: var(--accent); color: var(--accent); }
.sr-mode-btn.active {
  background: var(--accent); border-color: var(--accent);
  color: #000; font-weight: 700;
}
.sr-mode-btn i { font-size: 13px; }
@media (max-width: 480px) {
  .sr-mode-btn span { display: none; }
  .sr-mode-btn i { font-size: 16px; }
  .sr-mode-btn { padding: 12px; }
}

/* "Incluida" badge for surf camp board row */
.sr-included {
  color: var(--green, #22c55e) !important; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.sr-zrow-info { opacity: .75; }

/* Sections */
.sr-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 0; overflow: hidden;
}
.sr-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); padding: 11px 18px;
}
.sr-section-label i { color: var(--accent); font-size: 11px; }
.sr-section-body { padding: 16px 18px; }

/* Boarding pass */
.sr-boarding-pass {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 12px;
}
.sr-bp-left, .sr-bp-right { flex: 1; }
.sr-bp-right { text-align: right; }
.sr-bp-city {
  font-size: 18px; font-weight: 800; color: var(--text);
  letter-spacing: -.01em; line-height: 1.2;
}
.sr-bp-iata {
  font-size: 12px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .06em;
  margin-top: 3px;
}
.sr-bp-mid {
  flex: 0 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.sr-bp-line {
  display: flex; align-items: center; gap: 4px; color: var(--accent);
}
.sr-bp-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
.sr-bp-dash {
  width: 22px; height: 1.5px; background: rgba(181,80,47,.45);
  display: inline-block;
}
.sr-bp-plane { font-size: 16px; }
.sr-bp-dur { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.sr-bp-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-mid); margin-bottom: 12px;
}
.sr-bp-meta i { color: var(--accent); margin-right: 4px; }
.sr-ground-strip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(181,80,47,.07); border-radius: 9px;
  padding: 10px 13px; font-size: 12px; color: var(--text-mid);
  margin-bottom: 12px; flex-wrap: wrap;
}
.sr-ground-strip i { color: var(--accent); flex-shrink: 0; }
.sr-ground-link {
  margin-left: auto; font-weight: 700; color: var(--accent);
  text-decoration: none; white-space: nowrap; font-size: 12px;
}
.sr-ground-link:hover { text-decoration: underline; }
.sr-flight-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #0a0702;
  font-weight: 800; font-size: 13px;
  padding: 12px 18px; border-radius: 10px;
  text-decoration: none; transition: opacity .15s, transform .15s;
}
.sr-flight-cta:hover { opacity: .88; transform: translateY(-1px); }

/* Timeline (itinerary) */
.sr-timeline { display: flex; flex-direction: column; gap: 0; }
.sr-tl-item { display: flex; gap: 12px; }
.sr-tl-dot-wrap {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; width: 28px;
}
.sr-tl-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #0a0702;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sr-tl-line {
  width: 2px; flex: 1; min-height: 16px;
  background: rgba(181,80,47,.3); margin: 4px 0;
}
.sr-tl-card {
  flex: 1; min-width: 0;
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; margin-bottom: 12px;
}
.sr-tl-photo {
  height: 90px; background-size: cover; background-position: center;
}
.sr-tl-body { padding: 12px 14px; }
.sr-tl-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.sr-tl-name { font-weight: 700; font-size: 15px; color: var(--text); }
.sr-tl-days { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.sr-tl-acc {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted); flex-wrap: wrap;
}
.sr-tl-acc i { color: var(--accent); font-size: 11px; flex-shrink: 0; }
.sr-tl-acc-name { font-weight: 600; color: var(--text-mid); }
.sr-tl-acc-price { color: var(--text-muted); }
.sr-tl-acc-est { color: var(--text-muted); }
.sr-tl-booking {
  margin-left: auto; font-weight: 700; color: var(--accent);
  text-decoration: none; font-size: 12px; white-space: nowrap;
}
.sr-tl-booking:hover { text-decoration: underline; }

/* Mini transport */
.sr-transport-mini {
  background: var(--surface-2); border-radius: 10px;
  padding: 10px 14px; margin-top: -4px; margin-bottom: 4px;
  display: flex; flex-direction: column; gap: 5px;
}
.sr-tm-row {
  font-size: 12px; color: var(--text-mid);
  display: flex; align-items: center; gap: 7px;
}
.sr-tm-row i { color: var(--accent); width: 14px; flex-shrink: 0; }

/* Budget bars section */
.sr-budget-section { padding: 18px 20px 20px; }
.sr-budget-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.sr-bb-row { display: flex; align-items: center; gap: 10px; }
.sr-bb-label {
  width: 108px; flex-shrink: 0;
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-mid);
}
.sr-bb-label i { color: var(--accent); width: 14px; text-align: center; flex-shrink: 0; }
.sr-bb-bar-wrap {
  flex: 1; height: 8px; background: var(--surface-2);
  border-radius: 99px; overflow: hidden;
}
.sr-bb-bar {
  height: 100%; background: var(--accent);
  border-radius: 99px; min-width: 4px;
  transition: width .5s ease;
}
.sr-bb-right {
  display: flex; align-items: center; gap: 6px;
  width: 88px; justify-content: flex-end; flex-shrink: 0;
}
.sr-bb-val { font-weight: 700; font-size: 13px; color: var(--text); }
.sr-bb-pct { font-size: 11px; color: var(--text-muted); min-width: 28px; text-align: right; }

/* Total banner */
.sr-total-banner {
  background: var(--surface-2); border-radius: 12px;
  padding: 16px 18px;
}
.sr-total-nums {
  display: flex; gap: 24px; margin-bottom: 4px;
}
.sr-total-est, .sr-total-budget { display: flex; flex-direction: column; gap: 2px; }
.sr-total-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.sr-total-amount { font-size: 24px; font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.sr-total-budget-amt { color: var(--text-muted); font-size: 20px; }

/* Reuse margin + bar from earlier */
.sr-margin {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 600; margin-top: 4px;
}
.sr-margin-ok { background: rgba(34,197,94,.1); color: #16a34a; }
.sr-margin-over { background: rgba(239,68,68,.1); color: #dc2626; }
.sr-margin i { font-size: 14px; }

.sr-booking-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: #003580; color: #fff;
  border-radius: 6px; padding: 5px 11px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: opacity .15s;
}
.sr-booking-btn:hover { opacity: .85; }
.sr-footnote {
  font-size: 11px; color: var(--text-muted);
  text-align: center; padding: 6px 0 14px; line-height: 1.6;
}

/* ── SUMMARY TRIP TIMELINE ──────────────────────────────────── */
.sr-timeline-section { margin-bottom: 24px; }
.sr-timeline {
  display: flex; flex-wrap: wrap; align-items: stretch;
  gap: 0; margin-top: 4px;
}
.sr-tl-card {
  flex: 1; min-width: 160px; max-width: 280px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.sr-tl-photo {
  height: 110px; background-size: cover; background-position: center;
  flex-shrink: 0;
}
.sr-tl-body { padding: 14px 16px; flex: 1; }
.sr-tl-days {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.sr-tl-name {
  font-family: var(--font-display); font-size: 1.1rem;
  letter-spacing: 1px; color: var(--text); line-height: 1.2; margin-bottom: 4px;
}
.sr-tl-tagline {
  font-size: 11px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.4;
}
.sr-tl-waves {
  font-size: 11px; font-weight: 600; color: var(--text-mid);
  margin-bottom: 4px;
}
.sr-tl-waves i { color: var(--accent); margin-right: 4px; }
.sr-tl-meta { font-size: 11px; color: var(--text-muted); }
.sr-tl-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px; color: var(--accent); font-size: 14px; flex-shrink: 0;
  align-self: center;
}
@media (max-width: 600px) {
  .sr-timeline { flex-direction: column; }
  .sr-tl-arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* ── SUMMARY KEY INFO ───────────────────────────────────────── */
.sr-key-info { margin-top: 8px; margin-bottom: 24px; }
.sr-key-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 4px;
}
.sr-key-info-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 14px 16px;
}
.sr-key-info-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(181,80,47,.12); display: flex; align-items: center;
  justify-content: center; color: var(--accent); font-size: 14px; flex-shrink: 0;
}
.sr-key-info-title {
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--text); margin-bottom: 3px;
}
.sr-key-info-body { font-size: 12px; color: var(--text-mid); line-height: 1.5; }
@media (max-width: 500px) {
  .sr-key-info-grid { grid-template-columns: 1fr; }
}

/* ── WAVES PANEL (Olas tab) ─────────────────────────────────── */
.waves-area-group { margin-bottom: 28px; }
.waves-area-group:last-child { margin-bottom: 0; }
.waves-area-title {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 14px; padding-bottom: 9px;
  border-bottom: 1px solid var(--border-2);
}

/* ── TRANSPORT PANEL (Moverte tab) ───────────────────────────── */
.transport-intro {
  font-size: 14px; color: var(--text-mid); line-height: 1.65;
  margin-bottom: 18px;
}
.transport-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.transport-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border-radius: 10px;
  padding: 14px 16px; border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.tc-icon {
  width: 40px; height: 40px; border-radius: 9px;
  background: rgba(181,80,47,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent); flex-shrink: 0;
}
.tc-body { flex: 1; min-width: 0; }
.tc-name { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 3px; }
.tc-price { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 5px; }
.tc-best { font-size: 12px; color: var(--text-muted); margin-bottom: 7px; }
.tc-best i { color: var(--accent); font-size: 10px; margin-right: 3px; }
.tc-desc { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin-bottom: 8px; }
.tc-tip {
  font-size: 12px; color: var(--text-mid);
  background: rgba(181,80,47,.07);
  border-left: 3px solid var(--accent);
  padding: 6px 10px; border-radius: 0 6px 6px 0;
}
.tc-tip i { color: var(--accent); margin-right: 4px; }
.transport-apps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.transport-apps-title {
  width: 100%; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 2px;
}
.transport-app-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 8px; padding: 9px 16px;
  font-size: 13px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: border-color .15s, color .15s;
}
.transport-app-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── QUÉ HACER PANEL ─────────────────────────────────────────── */
.qh-section { margin-bottom: 30px; }
.qh-section:last-child { margin-bottom: 0; }
.qh-section-title {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-mid);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 14px; padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}

/* ── SURF SCHOOLS PANEL (Escuelas de surf tab) ───────────────── */
.ss-intro {
  font-size: 14px; color: var(--text-mid); line-height: 1.65;
  margin-bottom: 18px;
}
.ss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
  gap: 16px; margin-bottom: 12px;
}
.ss-card {
  background: var(--surface); border-radius: 12px;
  border: 1px solid var(--border);
  padding: 20px; display: flex; flex-direction: column;
  gap: 9px; position: relative;
  transition: border-color .18s, transform .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.ss-card:hover { border-color: rgba(181,80,47,.45); transform: translateY(-2px); }
.ss-featured { border-color: var(--accent) !important; }
.ss-badge {
  position: absolute; top: -11px; right: 14px;
  background: var(--accent); color: #0a0702;
  font-size: 11px; font-weight: 700;
  padding: 3px 11px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 4px;
  letter-spacing: .02em;
}
.ss-name { font-weight: 700; font-size: 15px; color: var(--text); line-height: 1.3; margin-top: 4px; }
.ss-type {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.ss-levels { display: flex; flex-wrap: wrap; gap: 4px; }
.ss-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.ss-price i { margin-right: 3px; }
.ss-desc { font-size: 13px; color: var(--text-mid); line-height: 1.55; }
.ss-includes { font-size: 12px; color: var(--text-mid); }
.ss-includes i { color: var(--accent); margin-right: 4px; }
.ss-langs { font-size: 12px; color: var(--text-muted); }
.ss-langs i { margin-right: 4px; }
.ss-book-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #0a0702;
  font-weight: 700; font-size: 13px;
  padding: 11px 16px; border-radius: 8px;
  text-decoration: none; margin-top: 4px;
  transition: opacity .15s, transform .15s;
}
.ss-book-btn:hover { opacity: .88; transform: translateY(-1px); }
.ss-note {
  font-size: 11px; color: var(--text-muted);
  margin-top: 6px; line-height: 1.5;
}

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews-section {
  margin: 36px 0 8px;
  padding: 0 2px;
}
.reviews-title {
  font-size: 17px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 16px;
}
.reviews-title i { color: var(--accent); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  transition: transform .18s, box-shadow .18s;
}
.review-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.09); }
.rv-header {
  display: flex; align-items: center; gap: 10px;
}
.rv-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #0a0702;
  font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rv-meta { flex: 1; min-width: 0; }
.rv-name { font-weight: 700; font-size: 14px; color: var(--text); }
.rv-from { font-size: 12px; color: var(--text-muted); }
.rv-stars { color: var(--accent); font-size: 13px; letter-spacing: .04em; flex-shrink: 0; }
.rv-zone {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.rv-zone i { color: var(--accent); font-size: 10px; }
.rv-text {
  font-size: 13px; color: var(--text-mid); line-height: 1.6;
  margin: 0; font-style: italic;
}

/* ── SHARE BUTTON ─────────────────────────────────────────── */
.summary-cta-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 14px;
}
.btn-share {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 10px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s, color .18s, transform .15s;
}
.btn-share:hover { background: rgba(181,80,47,.12); transform: translateY(-1px); }
.btn-share-ok {
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: #fff !important;
}

/* ── FLIGHT LOADING SPINNER ──────────────────────────────── */
.flight-loading {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text-muted); font-size: 13px; font-style: italic;
}
.flight-loading i { color: var(--accent); }

/* ── BUDGET PROGRESS BAR ─────────────────────────────────── */
.sr-budget-bar-wrap {
  margin: 10px 0 8px;
}
.sr-budget-bar-track {
  width: 100%; height: 10px;
  background: var(--surface-2);
  border-radius: 99px; overflow: hidden;
  margin-bottom: 6px;
}
.sr-budget-bar-fill {
  height: 100%; border-radius: 99px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.sr-budget-bar-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
}
.sr-margin {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 10px 14px;
  border-radius: 10px; margin-top: 4px;
}
.sr-margin-ok { background: rgba(34,197,94,.1); color: #16a34a; }
.sr-margin-over { background: rgba(239,68,68,.1); color: #dc2626; }
.sr-margin i { font-size: 16px; }

/* ── SUMMARY STEP (Llegar a destino) ─────────────────────── */
.sr-step {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--surface-2); margin-bottom: 8px;
}
.sr-step-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); font-size: 14px; flex-shrink: 0;
}
.sr-step-icon-flight { background: var(--accent); border-color: var(--accent); color: #0a0702; }
.sr-step-body { flex: 1; min-width: 0; }
.sr-step-route { font-size: 14px; font-weight: 700; color: var(--text); }
.sr-step-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.sr-step-link {
  font-size: 12px; font-weight: 700; color: var(--accent);
  text-decoration: none; white-space: nowrap;
}
.sr-step-link:hover { text-decoration: underline; }
.sr-step-flight { border: 1.5px solid rgba(181,80,47,.3); background: rgba(181,80,47,.05); }

/* Editable field row */
.sr-field-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; padding: 12px 0 4px;
  border-top: 1px solid var(--border); margin-top: 8px;
}
.sr-field-label {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; flex: 1; min-width: 180px;
}
.sr-field-label i { color: var(--accent); }
.sr-field-input-wrap { display: flex; align-items: center; gap: 6px; }
.sr-field-input {
  width: 90px; padding: 8px 10px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--text);
  background: var(--surface); outline: none;
  transition: border-color .15s;
}
.sr-field-input:focus { border-color: var(--accent); }
.sr-field-sm { width: 72px; }
.sr-field-unit { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* ── ZONE BREAKDOWN BLOCKS ──────────────────────────────── */
.sr-zone-section-header {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 4px 10px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 14px; margin-top: 10px;
}
.sr-zsec-num {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(181,80,47,.12); border: 1px solid rgba(181,80,47,.3);
  padding: 3px 9px; border-radius: 20px; flex-shrink: 0;
}
.sr-zsec-name {
  font-family: var(--font-display); font-size: 1.4rem;
  letter-spacing: 1px; text-transform: uppercase; color: var(--text);
}
.sr-zsec-tag {
  font-size: 12px; color: var(--text-muted); font-style: italic;
}
.sr-zone-block {
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; background: var(--surface);
}

/* Zone header — black bar with white text */
.sr-zone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; background: #111;
  border-bottom: none;
}
.sr-zone-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #0a0702;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sr-zone-title { font-weight: 600; font-size: 14px; color: #fff; flex: 1; }
.sr-zone-days {
  font-size: 11px; color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  padding: 2px 8px; border-radius: 20px;
}

/* Rows area */
.sr-zone-rows { padding: 0; }

/* Individual cost rows — single flex line */
.sr-zrow {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.sr-zrow:last-child { border-bottom: none; }
.sr-zrow-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 12px; flex-shrink: 0;
}
/* Label with inline rate hint */
.sr-zrow-label {
  font-size: 13px; font-weight: 600; color: var(--text); flex: 1; min-width: 0;
}
.sr-zrow-rate {
  font-weight: 400; font-size: 11px; color: var(--text-muted); margin-left: 4px;
}
/* Accommodation inline controls */
.sr-zrow-ctrl {
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
}
.sr-mini-input {
  width: 54px; padding: 5px 7px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 7px;
  font-size: 13px; font-weight: 700; color: var(--text);
  background: var(--surface); outline: none; transition: border-color .15s;
}
.sr-mini-input:focus { border-color: var(--accent); }
.sr-zrow-unit { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.sr-booking-sm {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-decoration: none; white-space: nowrap; margin-left: 2px;
}
.sr-booking-sm:hover { text-decoration: underline; }
.sr-zrow-total {
  font-size: 14px; font-weight: 800; color: var(--accent);
  white-space: nowrap; flex-shrink: 0;
}

/* Surf row — label + total on first line, buttons below */
.sr-zrow-surf { flex-wrap: wrap; align-items: flex-start; padding-bottom: 12px; }
.sr-zrow-surf-body { flex: 1; min-width: 0; }
.sr-zrow-surf-line {
  display: flex; align-items: center;
}
.sr-zrow-surf-line .sr-zrow-label { flex: 1; }
.sr-surf-opts {
  display: flex; gap: 5px; flex-wrap: wrap;
  margin-top: 8px;
}
.sr-surf-btn {
  padding: 4px 11px; border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text-mid);
  font-size: 11px; font-weight: 600; cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.sr-surf-btn:hover { border-color: var(--accent); color: var(--accent); }
.sr-surf-btn.sr-surf-active {
  background: var(--accent); border-color: var(--accent); color: #0a0702;
}

/* Zone subtotal */
.sr-zone-subtotal {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: rgba(181,80,47,.05);
  border-top: 1px solid rgba(181,80,47,.2);
  font-size: 13px; color: var(--text-mid); font-weight: 600;
}
.sr-zone-subtotal strong { font-size: 16px; font-weight: 900; color: var(--text); }

/* Inter-zone connector */
.sr-interzone {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--surface-2);
  border-radius: 10px; font-size: 12px; color: var(--text-mid);
  border: 1px dashed var(--border);
}
.sr-interzone > i { color: var(--accent); font-size: 11px; flex-shrink: 0; }
.sr-iz-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sr-iz-route { font-size: 12px; color: var(--text-mid); }
.sr-iz-est   { font-size: 11px; color: var(--text-muted); }
.sr-iz-input-wrap { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.sr-iz-input { width: 60px !important; }
.sr-iz-total { font-size: 13px; font-weight: 800; color: var(--accent); white-space: nowrap; flex-shrink: 0; min-width: 40px; text-align: right; }

/* Total section */
.sr-total-section {
  border: 2px solid rgba(181,80,47,.4);
  border-radius: 16px; padding: 20px;
  background: var(--surface);
}
.sr-total-header {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.sr-total-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.sr-grand-amount { font-size: 32px; font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.sr-budget-amount { font-size: 22px; font-weight: 800; color: var(--text-muted); }

/* ── SURFBOARD FEES ──────────────────────────────────────── */
.sf-intro {
  font-size: 13px; color: var(--text-mid); line-height: 1.6;
  padding: 0 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px;
}
/* Mensaje de "pon tu presupuesto" bajo el buscador */
.ed-search-msg {
  margin-top: 14px; font-size: 13px; font-weight: 600;
  color: var(--accent); text-align: center;
}

/* Wave level-fit marker — las olas SIEMPRE se muestran; el nivel solo marca el encaje */
.wc-fit {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .4px;
  padding: 3px 9px; border-radius: 3px; margin-bottom: 8px;
}
.wc-fit-ok    { background: rgba(34,197,94,.14);  color: #15803d; }
.wc-fit-above { background: rgba(245,158,11,.16); color: #b45309; }
.wave-card.wc-above { opacity: .6; transition: opacity .15s; }
.wave-card.wc-above:hover { opacity: 1; }

/* Travel-insurance affiliate CTA */
.ins-cta {
  display: flex; align-items: center; gap: 18px;
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 4px; padding: 18px 20px; margin: 8px 0 20px;
}
.ins-cta-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(181,80,47,.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.ins-cta-body { flex: 1 1 auto; min-width: 0; }
.ins-cta-title {
  font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 3px;
}
.ins-cta-text { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin: 0; }
.ins-cta-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 3px;
  white-space: nowrap; transition: opacity .15s;
}
.ins-cta-btn:hover { opacity: .88; }
@media (max-width: 640px) {
  .ins-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ins-cta-btn { width: 100%; justify-content: center; }
}
.sf-group-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); display: flex; align-items: center; gap: 8px;
  margin: 18px 0 6px;
}
.sf-group-title:first-of-type { margin-top: 4px; }
.sf-disclaimer {
  font-size: 12px; color: var(--text-muted); line-height: 1.55;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: flex-start;
}
.sf-disclaimer i { color: var(--accent); margin-top: 2px; }
.sf-grid { display: flex; flex-direction: column; gap: 0; }
.sf-row {
  display: grid;
  grid-template-columns: 160px 130px 1fr;
  grid-template-rows: auto auto auto;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.sf-row:last-child { border-bottom: none; }
.sf-row-banned { opacity: .75; }
.sf-airline {
  grid-column: 1; grid-row: 1;
  display: flex; align-items: center; gap: 9px;
}
.sf-code {
  display: inline-block;
  padding: 3px 8px; border-radius: 5px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .04em; color: #fff; flex-shrink: 0;
}
.sf-name { font-weight: 700; font-size: 14px; color: var(--text); }
.sf-badge {
  grid-column: 2; grid-row: 1;
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: 20px;
  font-size: 11px; font-weight: 800;
  white-space: nowrap; align-self: center;
  justify-self: start;
}
.sf-meta {
  grid-column: 3; grid-row: 1;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  align-items: center;
  font-size: 12px;
}
.sf-twoway { color: var(--text-mid); }
.sf-twoway strong { color: var(--accent); }
.sf-dim { color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.sf-dim i { font-size: 10px; }
.sf-note {
  grid-column: 1 / -1; grid-row: 2;
  font-size: 12px; color: var(--text-muted);
  line-height: 1.55; padding-top: 4px;
}
.sf-link {
  grid-column: 1 / -1; grid-row: 3;
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-decoration: none; padding-top: 3px; display: inline-block;
}
.sf-link:hover { text-decoration: underline; }

/* Tips block */
.sf-tips-block {
  background: rgba(181,80,47,.07); border-radius: 12px;
  padding: 14px 16px; margin-top: 16px;
}
.sf-tips-title {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-mid);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
}
.sf-tips-title i { color: var(--accent); }
.sf-tip {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-mid); line-height: 1.55;
  padding: 5px 0;
}
.sf-tip i { color: var(--accent); font-size: 13px; flex-shrink: 0; margin-top: 2px; }

/* Responsive — stack columns on mobile */
@media (max-width: 540px) {
  .sf-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .sf-airline { grid-column: 1; grid-row: 1; }
  .sf-badge   { grid-column: 2; grid-row: 1; }
  .sf-meta    { grid-column: 1 / -1; grid-row: 2; }
  .sf-note    { grid-column: 1 / -1; grid-row: 3; }
  .sf-link    { grid-column: 1 / -1; grid-row: 4; }
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {
  body { background: white; color: #111; }
  .header, .steps-bar, .btn-back, .btn-print { display: none !important; }
  .screen { display: block !important; }
  #screen1, #screen2, #screen3 { display: none !important; }
  .itin-zone { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; background: white; }
  .ztab-body, .zpanel { display: block !important; }
  .ztabs { display: none; }
  .map-container, .acc-map-container { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   EDITORIAL LABEL SYSTEM — kickers & data labels in Georgia caps
   (was "ocean chart" mono; --font-mono now resolves to Georgia,
    so these render as spaced serif kickers per the README)
================================================================ */

/* Clean warm-paper background across the app */
body { background-color: var(--paper); }

/* All kicker/label classes: uppercase spaced serif */
.hero-eyebrow, .region-label, .sb-label,
.dest-stat-label, .dest-detail-region, .browse-intro,
.dd-info-block-header, .dd-price-label, .dd-reviews-title,
.step-label, .zone-tag, .zone-group-label, .area-block-zone-tag,
.route-zone-label, .izc-label, .izc-zone-from, .izc-zone-to,
.wc-type, .wc-crowd-lbl, .lvl, .tp-badge, .nl-type-badge,
.nl-subgroup-label, .nl-group-title, .poi-type, .act-type,
.food-cat-title, .food-category, .deal-time, .deal-area,
.qh-section-title, .ss-type, .acc-search-title, .area-acc-name,
.sr-section-label, .sr-bp-iata, .sr-tl-days, .sr-zsec-num,
.sr-total-label, .tsb-section-title, .tsb-budget-title,
.bcost-title, .sf-tips-title, .transport-apps-title,
.waves-area-title, .area-waves-title, .jc-title {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .08em;
}

/* Coordenadas — la firma de cada spot */
.wc-coords {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .06em;
  margin-top: 2px;
}

/* Chips y badges: precisión de spec-sheet */
.lvl, .tp-badge, .nl-type-badge, .zone-tag { border-radius: 3px; }

/* Ajuste: etiquetas del buscador en mono compacto, sin saltos */
.sb-label { font-size: 9px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; width: 100%; }

/* Buscador: horizontal siempre; compacto en pantallas medias, apilado solo en móvil */
@media (max-width: 1000px) {
  .sb-field { padding: 13px 12px; }
  .sb-label { font-size: 8.5px; letter-spacing: .02em; }
}
@media (max-width: 560px) {
  .search-bar { flex-direction: column; align-items: stretch; }
  .sb-field { padding: 14px 20px; }
  .sb-sep { width: auto; height: 1px; margin: 0 20px; }
  .sb-btn { width: 100%; justify-content: center; padding: 18px; }
}

/* ── Contadores de pestañas ── */
.ztab-n {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  background: rgba(181,80,47,.10);
  color: var(--accent-2);
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 7px;
}
.ztab.on .ztab-n { background: rgba(181,80,47,.18); }

/* ── The Essentials — imprescindibles siempre visibles ── */
.ess-strip { margin: 0 0 20px; }
.ess-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
}
.ess-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 10px;
}
.ess-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sand);
  border-radius: var(--r-md);
  padding: 13px 15px;
  transition: box-shadow .18s, transform .18s;
}
.ess-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ess-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 6px;
}
.ess-name { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.ess-desc { font-size: 12.5px; color: var(--text-mid); line-height: 1.5; }
.ess-price { font-family: var(--font-mono); font-size: 11px; color: var(--accent-2); margin-top: 7px; }

/* ── KNOW BEFORE YOU GO — briefing por zona ── */
.brief-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin: 0 0 24px;
}
.brief-title {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 20px;
}
.brief-label {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 5px;
}
.brief-item .brief-label i { color: var(--accent); }
.brief-text { font-size: 13px; color: var(--text-mid); line-height: 1.55; }
.brief-months { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 14px; }
.brief-month {
  display: grid;
  grid-template-columns: 90px 70px 1fr;
  gap: 10px; align-items: baseline;
  padding: 4px 0; font-size: 12.5px;
}
.bm-range { font-family: var(--font-mono); font-size: 11px; color: var(--text); font-weight: 600; }
.bm-verdict {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 1px 7px; border-radius: 3px; text-align: center;
}
.bm-prime  { background: rgba(16,185,129,.12); color: #047857; }
.bm-good   { background: rgba(181,80,47,.10);  color: var(--accent-2); }
.bm-quiet  { background: rgba(36,31,25,.07);   color: var(--text-mid); }
.bm-switch { background: rgba(234,88,12,.10);  color: #c2410c; }
.bm-avoid  { background: rgba(239,68,68,.10);  color: #b91c1c; }
.bm-note { color: var(--text-mid); }
@media (max-width: 560px) { .brief-month { grid-template-columns: 80px 1fr; } .bm-note { grid-column: 1 / -1; padding-left: 0; } }

/* ── LEVEL MATCH — badge en cards de zona ── */
.zsel-match {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 3px;
  margin: 6px 0 2px;
}
.zm-great { background: rgba(16,185,129,.12); color: #047857; }
.zm-some  { background: rgba(181,80,47,.10);  color: var(--accent-2); }
.zm-hard  { background: rgba(234,88,12,.12);  color: #c2410c; }

/* ── WHAT TO PACK ── */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  padding: 4px 0;
}
.pack-col-title {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
}
.pack-item {
  font-size: 13px; color: var(--text-mid); line-height: 1.5;
  display: flex; gap: 8px; align-items: flex-start;
  padding: 4px 0;
}
.pack-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.pack-item strong { color: var(--text); }

/* ── Aviso de zonas/areas filtradas por nivel ── */
.zsel-hidden-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-top: 16px;
  display: flex; align-items: center; gap: 8px;
}
.zsel-hidden-note strong { color: var(--text-mid); }
.zsel-hidden-note a { color: var(--accent); text-decoration: underline; }

/* ── NEWSLETTER SIGNUP ── */
.nl-signup {
  margin: 56px 0 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.nl-signup-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.nl-signup-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.nl-signup-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: .5px;
  color: var(--text);
  margin-bottom: 10px;
}
.nl-signup-sub { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: 20px; }
.nl-signup-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.nl-signup-form input {
  flex: 1;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  outline: none;
}
.nl-signup-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(181,80,47,.12); }
.nl-signup-msg { font-family: var(--font-mono); font-size: 12px; margin-top: 12px; min-height: 16px; }
.nl-signup-msg.ok  { color: #047857; }
.nl-signup-msg.err { color: #b91c1c; }
@media (max-width: 560px) {
  .nl-signup { padding: 28px 18px; }
  .nl-signup-form { flex-direction: column; }
}

/* ── Overview: live flight price + Skyscanner CTA ── */
.dd-live-badge {
  display: inline-block;
  background: #22c55e;
  color: #000;
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: .5px;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 6px;
}
.dd-flight-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600;
  color: var(--accent-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 9px 16px;
  transition: background .15s, border-color .15s;
}
.dd-flight-cta:hover { background: rgba(181,80,47,.06); border-color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   EDITORIAL HOME REDESIGN — scoped to body.ed-home (index.html only)
   Design handoff: "SurfSeek Home" — magazine-style landing.
   Georgia serif throughout, terracotta accent, warm paper palette.
   Rest of the app (destination/zones/itinerary/summary) is untouched.
================================================================ */
.ed-home {
  --ed-accent: #b5502f;
  --ed-ink:    #241f19;
  --ed-paper:  #faf8f3;
  --ed-sand:   #e8e4dc;
  --ed-line:   #d9cfbd;
  --ed-muted:  #8a8071;
  background: var(--ed-paper);
}
.ed-home #screen1 { background: var(--ed-paper); }

@keyframes edFloatUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Shared header overridden: overlay on hero, scrolls away ───── */
.ed-home #header {
  position: absolute; top: 0; left: 0; right: 0;
  max-width: 1400px; margin: 0 auto; width: 100%;
  background: transparent !important; box-shadow: none !important;
  backdrop-filter: none !important; border-bottom: 0 !important;
  z-index: 5; padding: 26px 44px;
  display: flex; align-items: center; justify-content: space-between;
}
.ed-home #header.solid { background: transparent !important; }
.ed-home #header .logo { display: flex; align-items: baseline; gap: 14px; }
.ed-home #header .logo-wave { display: none; }
.ed-home #header .logo-text {
  font-family: Georgia, serif; font-size: 24px; letter-spacing: .02em;
  text-transform: uppercase; color: #fff;
}
.ed-logo-kicker {
  font-family: Georgia, serif; font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.6); padding-top: 2px;
}
.ed-nav-links { display: flex; align-items: center; gap: 28px; }
.ed-nav-links > a {
  font-family: Georgia, serif; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.82); transition: color .2s;
}
.ed-nav-links > a:hover { color: #fff; }
.ed-nav-signup {
  font-family: Georgia, serif; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  padding: 9px 18px; border: 1.5px solid rgba(255,255,255,.85);
  transition: background .2s, color .2s;
}
.ed-nav-signup:hover { background: #fff; color: var(--ed-ink); }
.ed-home .header-actions .btn-login {
  font-family: Georgia, serif; font-size: 13px; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.82);
  background: none; border: 0; padding: 0; gap: 6px;
}
.ed-home .header-actions .btn-login:hover { color: #fff; }
.ed-home .header-actions .btn-login i { display: none; }
@media (max-width: 860px) {
  .ed-nav-links > a:not(.ed-nav-signup):not(:last-child) { display: none; }
  .ed-home #header { padding: 20px 24px; }
}
@media (max-width: 560px) {
  .ed-logo-kicker { display: none; }
  .ed-home #header { flex-wrap: wrap; gap: 10px 16px; }
  .ed-nav-links { gap: 14px; }
  .ed-home .header-actions .btn-login { font-size: 11.5px; }
  .ed-nav-signup { padding: 8px 14px; font-size: 11px; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.ed-hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; flex-direction: column; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6,12,18,.5) 0%, rgba(6,12,18,.08) 15%, rgba(6,12,18,0) 42%, rgba(6,12,18,.12) 68%, rgba(6,12,18,.34) 100%),
    url('images/bingin-hero.jpg') center 58% / cover no-repeat;
}
.ed-hero-head {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  max-width: 1400px; width: 100%; margin: 0 auto;
  padding: 130px 44px 40px;
}
.ed-issue-kicker {
  font-family: Georgia, serif; font-size: 12px; letter-spacing: .36em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  margin: 0 0 18px; animation: edFloatUp .7s ease both;
}
.ed-hero-head h1 {
  font-family: Georgia, serif; font-weight: 400; color: #fff;
  font-size: clamp(30px, 5.3vw, 50px); line-height: .94; letter-spacing: 0;
  text-transform: uppercase; white-space: nowrap; margin: 0;
  text-shadow: 0 2px 30px rgba(4,10,16,.5);
  animation: edFloatUp .8s .05s ease both;
}
.ed-hero-head h1 span { color: var(--ed-accent); }
.ed-hero-sub {
  color: rgba(255,255,255,.92); font-size: 19px; line-height: 1.5;
  max-width: 560px; margin: 24px 0 0;
  text-shadow: 0 1px 16px rgba(4,10,16,.55);
  animation: edFloatUp .8s .12s ease both;
}
@media (max-width: 480px) {
  .ed-hero-head h1 { white-space: normal; font-size: clamp(26px, 8vw, 34px); line-height: 1.05; }
  .ed-hero-head { padding: 110px 20px 30px; }
}

/* ── Search card ──────────────────────────────────────────────── */
.ed-search-wrap {
  position: relative; z-index: 3; max-width: 1400px; width: 100%;
  margin: 0 auto; padding: 0 44px 40px;
  animation: edFloatUp .8s .2s ease both;
}
.ed-search-card {
  background: var(--ed-paper); border-radius: 4px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); padding: 24px 26px;
}
.ed-search-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ed-search-head > span:first-child {
  font-family: Georgia, serif; font-size: 18px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--ed-ink);
}
.ed-search-free { font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .06em; color: var(--ed-accent); }
.ed-search-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr auto; gap: 0;
  border: 1px solid var(--ed-line); border-radius: 3px; overflow: hidden;
}
.ed-search-field { padding: 12px 16px; border-right: 1px solid var(--ed-line); }
.ed-search-field label {
  display: block; font-family: Georgia, serif; font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ed-muted); margin-bottom: 5px;
}
.ed-search-field input, .ed-search-field select {
  width: 100%; border: 0; background: transparent; font-size: 15px;
  color: var(--ed-ink); outline: none; font-family: Georgia, serif;
}
.ed-search-field select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.ed-search-btn {
  border: 0; background: var(--ed-accent); color: #fff;
  font-family: Georgia, serif; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; padding: 0 30px; cursor: pointer; transition: filter .15s;
}
.ed-search-btn:hover { filter: brightness(1.08); }
@media (max-width: 900px) {
  .ed-search-row { grid-template-columns: 1fr 1fr; }
  .ed-search-field { border-bottom: 1px solid var(--ed-line); }
  .ed-search-btn { grid-column: 1 / -1; padding: 16px; }
}
@media (max-width: 560px) {
  .ed-search-row { grid-template-columns: 1fr; }
  .ed-search-field { border-right: 0; }
}

/* ── Stats strip ──────────────────────────────────────────────── */
.ed-stats { max-width: 1240px; margin: 56px auto 0; padding: 0 64px; }
.ed-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line);
}
.ed-stat { padding: 26px 20px; border-right: 1px solid var(--ed-line); }
.ed-stat:last-child { border-right: 0; }
.ed-stat-num { font-family: Georgia, serif; font-size: 40px; font-weight: 500; line-height: 1; color: var(--ed-ink); }
.ed-stat-num em { font-style: italic; }
.ed-stat-num small { font-size: 24px; }
.ed-stat-label {
  font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ed-muted); margin-top: 8px;
}
@media (max-width: 700px) {
  .ed-stats { padding: 0 24px; }
  .ed-stats-grid { grid-template-columns: repeat(2,1fr); }
  .ed-stat:nth-child(2) { border-right: 0; }
}

/* ── The method ───────────────────────────────────────────────── */
.ed-method {
  max-width: 1240px; margin: 96px auto 0; padding: 0 40px;
  display: grid; grid-template-columns: .85fr 1.6fr; gap: 64px;
}
.ed-method-kicker {
  font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ed-accent); margin-bottom: 18px;
}
.ed-method-head h2 {
  font-family: Georgia, serif; font-weight: 500; font-size: 46px;
  line-height: 1.05; letter-spacing: -.02em; margin: 0 0 20px; color: var(--ed-ink);
}
.ed-method-head p { font-size: 16px; line-height: 1.6; color: var(--ed-muted); max-width: 340px; margin: 0; }
.ed-method-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ed-line); border-left: 1px solid var(--ed-line);
}
.ed-method-step { padding: 30px 34px; border-right: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); }
.ed-method-step .num { font-family: Georgia, serif; font-style: italic; font-size: 22px; color: var(--ed-accent); }
.ed-method-step h3 { font-family: Georgia, serif; font-weight: 500; font-size: 24px; margin: 10px 0 8px; color: var(--ed-ink); }
.ed-method-step p { font-size: 14.5px; line-height: 1.55; color: var(--ed-muted); margin: 0; }
@media (max-width: 900px) { .ed-method { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; } }
@media (max-width: 560px) { .ed-method-grid { grid-template-columns: 1fr; } }

/* ── In this issue — header ───────────────────────────────────── */
.ed-issue { max-width: 1240px; margin: 110px auto 0; padding: 0 40px; }
.ed-issue-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 1px solid var(--ed-line); padding-bottom: 22px; margin-bottom: 40px;
  flex-wrap: wrap; gap: 16px;
}
.ed-issue-head h2 {
  font-family: Georgia, serif; font-weight: 500; font-size: 46px;
  line-height: 1; letter-spacing: -.02em; margin: 0; color: var(--ed-ink);
}
@media (max-width: 700px) { .ed-issue { padding: 0 24px; } }

/* ── Destination cards, restyled editorial (JS/data untouched) ──── */
.ed-home .trust-row { display: none; }
.ed-home .region-section { margin-bottom: 48px; }
.ed-home .region-label {
  font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ed-muted); border-bottom: 0; padding-bottom: 0; margin-bottom: 22px;
}
.ed-home .dests-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 32px; }
.ed-home .dest-card {
  border-radius: 3px; overflow: visible; aspect-ratio: auto; min-height: 0;
  background: transparent; box-shadow: none; position: relative; transition: transform .3s ease;
}
.ed-home .dest-card:hover { transform: translateY(-4px); box-shadow: none; }
.ed-home .dest-card.recommended,
.ed-home .dest-card.recommended:hover { box-shadow: none; }
.ed-home .dest-card.soon { opacity: 1; }
.ed-home .dest-img {
  position: relative; inset: auto; height: 300px; border-radius: 3px; overflow: hidden;
  background-size: cover; background-position: center; transition: none;
}
.ed-home .dest-card:hover .dest-img { transform: none; }
.ed-home .dest-img::after { background: linear-gradient(to bottom, rgba(0,0,0,0) 65%, rgba(0,0,0,.35) 100%); }
.ed-home .dest-card.soon .dest-img::after { background: rgba(250,248,243,.5); }
.ed-home .dest-body { position: static; padding: 18px 0 0; }
.ed-home .dest-name {
  font-family: Georgia, serif; font-size: 27px; font-weight: 500; text-transform: none;
  letter-spacing: 0; color: var(--ed-ink); text-shadow: none; margin-bottom: 8px; line-height: 1.05;
}
.ed-home .dest-tagline { font-size: 14.5px; line-height: 1.55; color: var(--ed-muted); margin-bottom: 10px; }
.ed-home .dest-meta {
  font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ed-muted); gap: 10px;
}
.ed-home .badge-rec, .ed-home .badge-soon {
  position: absolute; top: 14px; left: 14px; right: auto;
  background: var(--ed-paper); color: var(--ed-ink);
  font-family: Georgia, serif; font-size: 10px; font-weight: 400; letter-spacing: .1em;
  padding: 5px 10px; border-radius: 2px; text-transform: none;
}
.ed-home .dest-level-badge { font-family: Georgia, serif; font-size: 11px; color: var(--ed-muted); margin-top: 6px; }
.ed-home .dest-level-badge strong { color: var(--ed-accent); }
.ed-home .badge-fit-good {
  background: transparent; border: 0; color: var(--ed-accent); padding: 0;
  margin-top: 8px; font-family: Georgia, serif; font-size: 12px; border-radius: 0; letter-spacing: 0;
}
.ed-home .dest-cost-breakdown { font-family: Georgia, serif; font-size: 11px; color: var(--ed-muted); }
.ed-home .dest-hidden-note { font-family: Georgia, serif; font-size: 12px; color: var(--ed-muted); }

/* ── Newsletter ───────────────────────────────────────────────── */
.ed-newsletter { margin: 120px 0 0; background: var(--ed-sand); border-top: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); }
.ed-newsletter-inner {
  max-width: 1240px; margin: 0 auto; padding: 76px 40px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center;
}
.ed-newsletter-kicker {
  font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ed-accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.ed-newsletter-title {
  font-family: Georgia, serif; font-weight: 500; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05; letter-spacing: -.02em; margin: 0 0 20px; color: var(--ed-ink);
}
.ed-newsletter-title em { font-style: italic; }
.ed-newsletter-sub { font-size: 16.5px; line-height: 1.6; color: #6a6154; max-width: 460px; margin: 0; }
.ed-newsletter-form {
  display: flex; border: 1px solid var(--ed-ink); border-radius: 3px;
  overflow: hidden; background: var(--ed-paper);
}
.ed-newsletter-form input {
  flex: 1; border: 0; background: transparent; padding: 16px 18px;
  font-size: 15px; color: var(--ed-ink); font-family: Georgia, serif; outline: none;
}
.ed-newsletter-form button {
  border: 0; background: var(--ed-ink); color: var(--ed-paper);
  font-family: Georgia, serif; font-size: 14px; font-weight: 600;
  letter-spacing: .03em; padding: 0 26px; cursor: pointer; transition: background .15s;
}
.ed-newsletter-form button:hover { background: var(--ed-accent); }
.ed-newsletter-msg { font-family: Georgia, serif; font-size: 11px; color: var(--ed-muted); margin: 14px 2px 0; min-height: 14px; }
.ed-newsletter-msg.ok  { color: #3d6b4f; }
.ed-newsletter-msg.err { color: #b5502f; }
@media (max-width: 900px) {
  .ed-newsletter-inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
}

/* ── Footer ───────────────────────────────────────────────────── */
.ed-footer {
  max-width: 1240px; margin: 0 auto; padding: 60px 40px 0;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.ed-footer-brand { font-family: Georgia, serif; font-size: 24px; font-weight: 600; margin-bottom: 12px; color: var(--ed-ink); }
.ed-footer-desc { font-size: 14px; line-height: 1.55; color: var(--ed-muted); max-width: 260px; margin: 0; }
.ed-footer-col-title {
  font-family: Georgia, serif; font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ed-muted); margin-bottom: 16px;
}
.ed-footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.ed-footer-links a { color: var(--ed-ink); }
.ed-footer-links a:hover { color: var(--ed-accent); }
.ed-footer-legal { max-width: 1240px; margin: 0 auto; padding: 0 40px 40px; }
.ed-footer-legal-inner {
  border-top: 1px solid var(--ed-line); margin-top: 22px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-family: Georgia, serif; font-size: 10.5px; letter-spacing: .08em; color: var(--ed-muted);
}
@media (max-width: 800px) { .ed-footer { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 60px 24px 0; } }
@media (max-width: 480px) { .ed-footer { grid-template-columns: 1fr; } .ed-footer-legal { padding: 0 24px 40px; } }
