/* ============================================================
   WouldYouGoThere? — styles.css  (V2 — Premium Landing)
   Design: Refined intelligence — dark hero, warm amber, clean cards
   Fonts: Outfit (display) + DM Sans (body)
   ============================================================ */

/* ── 1. Variables ─────────────────────────────────────────── */
:root {
  /* Surface */
  --color-bg:          #f6f5f2;
  --color-surface:     #ffffff;
  --color-border:      #e8e5e0;
  --color-border-lt:   #f0ede8;

  /* Text */
  --color-text:        #16151a;
  --color-text-muted:  #78746f;
  --color-text-xmuted: #a09890;

  /* Accent — amber */
  --color-accent:      #e8a020;
  --color-accent-dk:   #c8881a;
  --color-accent-lt:   #fef3dc;
  --color-accent-glow: rgba(232,160,32,.18);

  /* Dark hero surface */
  --color-dark:        #0f0e12;
  --color-dark-surface:#18171c;
  --color-dark-border: #2c2a32;
  --color-dark-muted:  #6a6470;

  /* Alert levels */
  --color-critical:    #d93025;
  --color-critical-lt: #fdecea;
  --color-warning:     #f29900;
  --color-warning-lt:  #fef9e6;
  --color-info:        #1a73e8;
  --color-info-lt:     #e8f0fe;
  --color-danger:      #d93025;
  --color-danger-lt:   #fdecea;

  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 10rem;

  /* Radius */
  --radius-sm:   0.5rem;
  --radius-md:   1rem;
  --radius-lg:   1.5rem;
  --radius-xl:   2rem;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);

  --ease: cubic-bezier(.25,.8,.25,1);
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── 3. Layout ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* ── 4. Header ────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,14,18,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-dark-border);
}
.header__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 64px;
}
.logo {
  display: inline-flex; align-items: center; gap: .45rem;
  text-decoration: none; color: #f0ece4;
}
.logo__mark { font-size: 1.1rem; line-height: 1; }
.logo__text {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 800; letter-spacing: -.02em;
}
.logo--sm .logo__text, .logo--sm .logo__mark { font-size: .9rem; }

.nav { display: flex; align-items: center; gap: var(--space-md); }
.nav__link {
  font-size: .875rem; font-weight: 500;
  color: var(--color-dark-muted); text-decoration: none;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: #f0ece4; }

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; font-family: var(--font-body); font-weight: 500;
  border: none; cursor: pointer; border-radius: var(--radius-pill);
  transition: transform .15s var(--ease), background .2s var(--ease),
              color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn--primary {
  background: var(--color-accent); color: #fff;
  padding: .65rem 1.4rem; font-size: .95rem;
  box-shadow: 0 2px 12px rgba(232,160,32,.4);
}
.btn--primary:not(:disabled):hover {
  background: var(--color-accent-dk);
  box-shadow: 0 6px 20px rgba(232,160,32,.45);
  transform: translateY(-1px);
}
.btn--accent {
  background: var(--color-accent); color: #fff;
  padding: .75rem 1.6rem; font-size: 1rem;
  box-shadow: 0 2px 12px rgba(232,160,32,.4);
}
.btn--accent:hover {
  background: var(--color-accent-dk);
  box-shadow: 0 6px 20px rgba(232,160,32,.45);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent; color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: .5rem 1.1rem; font-size: .875rem;
}
.btn--ghost:hover { color: var(--color-text); border-color: var(--color-text); }
.btn--sm  { padding: .4rem .9rem; font-size: .825rem; }
.btn--md  { padding: .75rem 1.6rem; font-size: 1rem; }

/* ── 6. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-dark);
  padding: 6rem 0 5rem;
  text-align: center;
}

/* Subtle grid texture */
.hero__bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .28; pointer-events: none;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #e8a020 0%, transparent 65%);
  top: -200px; right: -160px;
}
.hero__blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1a5fd4 0%, transparent 65%);
  bottom: -180px; left: -140px;
}

.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.75rem;
}

/* Live dot badge */
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6); font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; padding: .3rem 1rem;
  border-radius: var(--radius-pill);
  animation: fadeUp .45s var(--ease) both;
}
.hero__live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4caf6e;
  box-shadow: 0 0 0 2px rgba(76,175,110,.3);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(76,175,110,.3); }
  50%       { box-shadow: 0 0 0 5px rgba(76,175,110,.1); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900; line-height: 1.04; letter-spacing: -.04em;
  color: #f0ece4;
  animation: fadeUp .5s .06s var(--ease) both;
}
.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(240,236,228,.55); max-width: 500px;
  font-weight: 300; line-height: 1.7;
  animation: fadeUp .5s .12s var(--ease) both;
}

/* Search box — on dark */
.search-box {
  width: 100%; max-width: 640px;
  animation: fadeUp .5s .18s var(--ease) both;
}
.search-box__inner {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-pill); padding: .4rem .4rem .4rem 1.2rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease);
}
.search-box__inner:focus-within {
  border-color: var(--color-accent);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px var(--color-accent-glow), 0 0 0 1px rgba(0,0,0,.3);
}
.search-box__icon { font-size: 1.15rem; flex-shrink: 0; line-height: 1; }
.search-box__input {
  flex: 1; border: none; background: transparent;
  font-family: var(--font-body); font-size: .975rem;
  color: #f0ece4; outline: none; min-width: 0;
}
.search-box__input::placeholder { color: rgba(240,236,228,.35); }
.search-box__error { font-size: .8rem; color: #f08080; margin-top: .5rem; min-height: 1rem; }

/* Chips */
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .5rem;
  font-size: .82rem; color: rgba(240,236,228,.4);
  animation: fadeUp .5s .24s var(--ease) both;
  margin-top: 30px;
}
.chip {
  display: inline-block;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(240,236,228,.65);
  font-family: var(--font-body); font-size: .8rem; font-weight: 500;
  padding: .25rem .75rem; border-radius: var(--radius-pill);
  cursor: pointer; transition: all .18s var(--ease);
}
.chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

/* Trust bar */
.hero__trust {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .5s .3s var(--ease) both;
}
.trust-item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: rgba(240,236,228,.4); font-weight: 400;
}
.trust-item__icon { font-size: .9rem; opacity: .6; }
.trust-sep {
  width: 1px; height: 14px;
  background: rgba(255,255,255,.1);
}

/* ── 7. Results ───────────────────────────────────────────── */
.results {
  padding: var(--space-lg) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.results.is-visible { opacity: 1; transform: translateY(0); }

.results__header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md);
}
.results__title {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 700; letter-spacing: -.02em;
}
.results__dest { color: var(--color-accent); }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-sm);

}
.card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .35rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .2s var(--ease);
}
.card.animate-in { opacity: 1; transform: translateY(0); }
.card:not(.is-loading):hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card--wide { grid-column: 1 / -1; }

.card__icon { font-size: 1.5rem; line-height: 1; margin-bottom: .15rem; }
.card__label {
  font-size: .7rem; font-weight: 600; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: .07em;
}
.card__value {
  font-family: var(--font-display); font-size: 1.25rem;
  font-weight: 700; color: var(--color-text); line-height: 1.2;
}
.card__sub { font-size: .78rem; color: var(--color-text-muted); margin-top: .1rem; }
.card__unavailable {
  font-size: .85rem; color: var(--color-text-muted);
  font-style: italic; margin-top: .2rem;
}

/* Skeletons */
.skeleton {
  display: block; border-radius: 4px;
  background: linear-gradient(90deg, #ece9e4 25%, #f5f2ed 50%, #ece9e4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton--sm { width: 55%; height: .9em; margin-top: .3rem; }
.skeleton--md { width: 75%; height: 1.3em; margin-top: .3rem; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Emergency */
.emergency-grid { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .5rem; }
.emergency-item {
  display: flex; align-items: center; gap: .5rem;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: .5rem .85rem;
}
.emergency-item__label { font-size: .7rem; color: var(--color-text-muted); }
.emergency-item__number { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

/* Plug icons */
.plug-icons { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.plug-icon { width: 28px; height: 28px; object-fit: contain; }
.plug-label { font-size: 0.85rem; color: var(--color-text-muted); }

/* ── 7b. Alert items (shared between old card + new panel) ── */
.alerts-list { display: flex; flex-direction: column; gap: .65rem; }

.alert-item {
  display: flex; flex-direction: column; gap: .3rem;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-left: 3px solid transparent; border-radius: var(--radius-sm);
  padding: .9rem 1rem; cursor: pointer;
  transition: box-shadow .15s var(--ease);
}
.alert-item:hover { box-shadow: var(--shadow-md); }

.alert-item--critical, .alert-item--danger { border-left-color: var(--color-critical); }
.alert-item--warning { border-left-color: var(--color-warning); }
.alert-item--info    { border-left-color: var(--color-info); }

.alert-item__top { display: flex; align-items: flex-start; gap: .5rem; }
.alert-item__badge {
  display: inline-block; font-size: .6rem; font-weight: 700;
  letter-spacing: .06em; padding: .18rem .5rem;
  border-radius: var(--radius-pill); flex-shrink: 0; margin-top: .05rem;
}
.badge--critical, .badge--danger { background: var(--color-critical-lt); color: var(--color-critical); }
.badge--warning  { background: var(--color-warning-lt);  color: var(--color-warning); }
.badge--info     { background: var(--color-info-lt);     color: var(--color-info); }

.alert-item__title { font-size: .875rem; font-weight: 500; line-height: 1.45; }
.alert-item__date  { font-size: .72rem; color: var(--color-text-muted); margin-left: auto; flex-shrink: 0; }
.alert-item__body {
  font-size: .8rem; color: var(--color-text-muted); line-height: 1.6;
  margin-top: .35rem; display: none;
  white-space: pre-line;
}
.alert-item.is-open .alert-item__body { display: block; }
.alert-item__link {
  font-size: .76rem; color: var(--color-accent-dk);
  text-decoration: none; display: inline-block; margin-top: .35rem;
}
.alert-item__link:hover { text-decoration: underline; }

.alerts-error {
  font-size: .875rem; color: #d94040;
  padding: .65rem 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.btn--retry {
  font-size: .76rem; padding: .25rem .7rem;
  border: 1px solid #d94040; color: #d94040; background: transparent;
  border-radius: var(--radius-pill); cursor: pointer;
  transition: background .15s, color .15s;
}
.btn--retry:hover { background: #d94040; color: #fff; }

.alerts-viewall { margin-top: 1rem; }

/* ── 8. Section shared helpers ────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-accent-dk);
  background: var(--color-accent-lt); border: 1px solid #f0d080;
  padding: .25rem .75rem; border-radius: var(--radius-pill);
  margin-bottom: .9rem;
}
.section-tag--light {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(240,236,228,.5);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -.03em;
  text-align: center; margin-bottom: .6rem;
  line-height: 1.1;
}
.section-title--left { text-align: left; }
.section-subtitle {
  text-align: center; color: var(--color-text-muted);
  font-size: 1.05rem; max-width: 520px; margin-inline: auto;
}

/* ── 9. How it works ──────────────────────────────────────── */
.how-it-works {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  position: relative;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-accent-lt) 0%, transparent 60%);
  opacity: 0; transition: opacity .25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }

.feature-card--highlight {
  background: var(--color-dark); border-color: var(--color-dark-border);
  color: #f0ece4;
}
.feature-card--highlight::before {
  background: linear-gradient(135deg, rgba(232,160,32,.12) 0%, transparent 60%);
}
.feature-card--highlight .feature-card__desc { color: var(--color-dark-muted); }

.feature-card__number {
  font-family: var(--font-display); font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; color: var(--color-accent); margin-bottom: 1rem;
}
.feature-card--highlight .feature-card__number { color: var(--color-accent); }
.feature-card__icon { font-size: 2rem; margin-bottom: .9rem; display: block; }
.feature-card__title {
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 700; margin-bottom: .5rem; position: relative;
}
.feature-card__desc {
  font-size: .875rem; color: var(--color-text-muted);
  line-height: 1.65; position: relative;
}

/* ── 10. Dashboard teaser ─────────────────────────────────── */
.dashboard-teaser {
  background: var(--color-dark);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.dashboard-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.dashboard-teaser__text { color: #f0ece4; }
.dashboard-teaser__text .section-title { color: #f0ece4; }
.dashboard-teaser__desc {
  color: rgba(240,236,228,.55);
  font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 2rem;
}

/* Feature list */
.dtf-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 1.25rem; margin-bottom: 2.5rem;
}
.dtf-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.dtf-item__icon {
  font-size: 1.3rem; line-height: 1;
  flex-shrink: 0; margin-top: .15rem;
  filter: drop-shadow(0 0 6px rgba(232,160,32,.3));
}
.dtf-item__body strong {
  display: block; font-size: .925rem; font-weight: 600;
  color: #f0ece4; margin-bottom: .2rem;
}
.dtf-item__body p {
  font-size: .82rem; color: rgba(240,236,228,.45);
  line-height: 1.55;
}

/* Mockup cards */
.dashboard-teaser__mockup {
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
}

.mockup-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: floatCard 6s ease-in-out infinite;
}
.mockup-card--1 { animation-delay: 0s; }
.mockup-card--2 { animation-delay: .4s; margin-left: 1.5rem; }
.mockup-card--3 { animation-delay: .8s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.mc-label {
  font-size: .65rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-dark-muted);
  margin-bottom: .5rem;
}
.mc-value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.mc-value--low { color: #4caf6e; }
.mc-badge {
  display: inline-block; font-size: .6rem; font-weight: 700;
  letter-spacing: .07em; padding: .2rem .55rem;
  border-radius: var(--radius-pill); margin-bottom: .5rem;
}
.mc-badge--critical { background: var(--color-critical-lt); color: var(--color-critical); }
.mc-text { font-size: .8rem; color: rgba(240,236,228,.5); line-height: 1.5; }
.mc-trip {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: .75rem;
}
.mc-trip span { font-size: .95rem; font-weight: 600; color: #f0ece4; }
.mc-date { font-size: .72rem; color: var(--color-dark-muted); font-weight: 400; }
.mc-progress-track {
  height: 4px; background: rgba(255,255,255,.08);
  border-radius: var(--radius-pill); overflow: hidden; margin-bottom: .4rem;
}
.mc-progress-bar {
  height: 100%; background: var(--color-accent);
  border-radius: var(--radius-pill);
}
.mc-progress-label { font-size: .68rem; color: var(--color-dark-muted); }

/* ── 11. About ────────────────────────────────────────────── */
.about {
  background: var(--color-dark); color: #f0ece4;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-dark-border);
}
.about .section-title { color: #f0ece4; }
.about__inner {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: var(--space-lg);
}
.about__text {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
}
.about__text p { color: rgba(240,236,228,.5); font-size: 1.05rem; max-width: 480px; line-height: 1.75; }
.about__globe { font-size: 7rem; line-height: 1; animation: spin 20s linear infinite; user-select: none; opacity: .7; }

/* ── 12. Footer ───────────────────────────────────────────── */
.footer { background: var(--color-dark); border-top: 1px solid var(--color-dark-border); padding: 1.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm); }
.footer .logo { color: #f0ece4; }
.footer__copy { font-size: .78rem; color: var(--color-dark-muted); }

/* ── 13. Animations ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── 14. Responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-teaser__inner { grid-template-columns: 1fr; gap: 3rem; }
  .dashboard-teaser__mockup { max-width: 480px; }
}

@media (max-width: 700px) {
  :root { --space-xl: 4.5rem; --space-lg: 3rem; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .search-box__inner {
    flex-direction: column; border-radius: var(--radius-lg);
    padding: .75rem; align-items: stretch;
  }
  .search-box__icon { display: none; }
  .search-box__input { font-size: 1rem; padding: .25rem 0; color: #f0ece4; }
  .btn--primary { width: 100%; justify-content: center; border-radius: var(--radius-md); }
  .about__inner { grid-template-columns: 1fr; }
  .about__globe { font-size: 4rem; }
  .about .section-title--left { font-size: 1.7rem; }
  .results__header { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; text-align: center; }
  .hero__trust { gap: .75rem; }
  .trust-sep { display: none; }
  .section-title--left { font-size: 1.9rem; }
  .mockup-card--2 { margin-left: 0; }
}

@media (max-width: 500px) {
  .hero__title { font-size: 2.4rem; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   15. Security Panel
   Replaces the old .alerts-card block.
   ============================================================ */

/* ── Outer shell ──────────────────────────────────────────── */
.sec-panel {
  position: relative;
  background: var(--color-dark);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  margin-top: var(--space-sm);
  overflow: hidden;
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.sec-panel.animate-in { opacity: 1; transform: translateY(0); }

/* Scan-line texture (same technique as hero grid) */
.sec-panel::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Amber top-edge accent line */
.sec-panel::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-accent) 35%,
    var(--color-accent) 65%,
    transparent 100%);
  opacity: .7;
}

/* ── Panel header ─────────────────────────────────────────── */
.sec-panel__header {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem .9rem;
  border-bottom: 1px solid var(--color-dark-border);
}
.sec-panel__header-left  { display: flex; align-items: center; gap: .6rem; }
.sec-panel__header-right { display: flex; align-items: center; gap: .6rem; }

/* Pulsing amber radar dot */
.sec-panel__radar {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
  animation: pulse 2.4s ease infinite;
  flex-shrink: 0;
}

.sec-panel__title {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700;
  color: #f0ece4; letter-spacing: .01em;
}
.sec-panel__subtitle {
  font-size: .63rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-dark-muted);
  padding: .18rem .55rem;
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
}

/* LIVE tag */
.sec-panel__live-tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  color: #4caf6e;
  background: rgba(76,175,110,.1);
  border: 1px solid rgba(76,175,110,.2);
  border-radius: var(--radius-pill);
  padding: .18rem .55rem;
}
.sec-panel__live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #4caf6e; flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

/* Count badge — overridden for dark panel context */
.sec-panel .alerts-count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-accent);
  color: #fff; font-size: .68rem; font-weight: 700;
  border-radius: var(--radius-pill); padding: .15rem .55rem;
}

/* ── Panel body — 2-column grid ───────────────────────────── */
.sec-panel__body {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Vertical divider between columns */
.sec-col--advisory {
  border-right: 1px solid var(--color-dark-border);
}

/* ── Column shared ────────────────────────────────────────── */
.sec-col {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: .85rem;
}

.sec-col__label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .63rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-dark-muted);
}
.sec-col__label-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
}
.sec-col__label-dot--advisory { background: var(--color-accent); }
.sec-col__label-dot--feed     { background: var(--color-info); }

/* ── Advisory card (left column) ─────────────────────────── */
.sec-advisory-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .75rem;
}

/* Level-colored left accent stripe */
.sec-advisory-card--green  { border-left: 3px solid #4caf6e; }
.sec-advisory-card--amber  { border-left: 3px solid var(--color-accent); }
.sec-advisory-card--orange { border-left: 3px solid #e8631a; }
.sec-advisory-card--red    { border-left: 3px solid var(--color-critical); }

/* Level badge + label row */
.sec-advisory-level {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.sec-advisory-level__badge {
  font-size: .58rem; font-weight: 800; letter-spacing: .08em;
  padding: .22rem .6rem; border-radius: var(--radius-pill);
}
.sec-advisory-level__badge--green  { background: rgba(76,175,110,.18);       color: #6dd68a; }
.sec-advisory-level__badge--amber  { background: var(--color-accent-glow);   color: var(--color-accent); }
.sec-advisory-level__badge--orange { background: rgba(232,99,26,.18);        color: #f0854a; }
.sec-advisory-level__badge--red    { background: var(--color-critical-lt);   color: var(--color-critical); }

.sec-advisory-level__label {
  font-size: .78rem; font-weight: 600; color: #f0ece4; line-height: 1.3;
}

/* Risk tags */
.sec-risk-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.sec-risk-tag {
  font-size: .58rem; font-weight: 700; letter-spacing: .06em;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(240,236,228,.55);
  padding: .15rem .5rem; border-radius: var(--radius-pill);
}

/* Summary */
.sec-advisory-summary {
  font-size: .8rem; color: rgba(240,236,228,.55); line-height: 1.65;
}

/* Footer: date + link */
.sec-advisory-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .4rem;
  padding-top: .5rem;
  border-top: 1px solid var(--color-dark-border);
}
.sec-advisory-date  { font-size: .68rem; color: var(--color-dark-muted); }
.sec-advisory-link  {
  font-size: .72rem; font-weight: 600; color: var(--color-accent);
  text-decoration: none; transition: color .15s var(--ease);
}
.sec-advisory-link:hover { color: var(--color-accent-dk); text-decoration: underline; }

/* Advisory empty / unavailable state */
.sec-advisory-empty { padding: .5rem 0; }
.sec-advisory-empty__line { font-size: .82rem; color: rgba(240,236,228,.45); margin-bottom: .25rem; }
.sec-advisory-empty__sub  { font-size: .75rem; color: var(--color-dark-muted); }

/* Advisory loading skeleton (dark variant) */
.sec-advisory-skeleton { display: flex; flex-direction: column; gap: .5rem; padding: .2rem 0; }
.sec-panel .skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,.07) 25%,
    rgba(255,255,255,.13) 50%,
    rgba(255,255,255,.07) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── Live feed column (right) — dark context overrides ────── */
.sec-col--feed .alerts-list { gap: .5rem; }

.sec-col--feed .alert-item {
  background: rgba(255,255,255,.04);
  border-color: var(--color-dark-border);
}
.sec-col--feed .alert-item:hover {
  background: rgba(255,255,255,.07);
  box-shadow: none;
}
.sec-col--feed .alert-item__title { color: rgba(240,236,228,.9); }
.sec-col--feed .alert-item__date  { color: var(--color-dark-muted); }
.sec-col--feed .alert-item__body  { color: rgba(240,236,228,.5); }
.sec-col--feed .alert-item__link  { color: var(--color-accent); }
.sec-col--feed .alert-item__link:hover { color: var(--color-accent-dk); }

/* "View all" button — dark context */
.sec-col--feed .alerts-viewall {
  color: rgba(240,236,228,.45);
  border-color: var(--color-dark-border);
  margin-top: .5rem;
}
.sec-col--feed .alerts-viewall:hover {
  color: #f0ece4;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
}

/* ── Feed empty state ─────────────────────────────────────── */
.sec-feed-empty {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: .7rem; padding: 1.5rem .5rem 1rem;
}

/* Pulsing green check */
.sec-feed-empty__icon {
  position: relative;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: none;
  box-shadow: none;
}
.sec-feed-empty__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(76,175,110,.12);
  animation: emptyPulse 2.5s ease-in-out infinite;
}
.sec-feed-empty__check {
  position: relative; z-index: 1;
  font-size: 1.2rem; color: #4caf6e;
  font-weight: 700; line-height: 1;
}
@keyframes emptyPulse {
  0%, 100% { transform: scale(1);    opacity: .6; }
  50%       { transform: scale(1.25); opacity: 1; }
}

.sec-feed-empty__headline {
  font-family: var(--font-display);
  font-size: .9rem; font-weight: 700;
  color: inherit; letter-spacing: .01em;
}

.sec-feed-empty__sub {
  font-size: .78rem; color: rgba(240,236,228,.4);
  line-height: 1.6; max-width: 200px;
}

/* Status tags */
.sec-feed-empty__tags { display: flex; flex-direction: column; gap: .3rem; width: 100%; }
.sec-feed-empty__tag {
  font-size: .6rem; font-weight: 700; letter-spacing: .08em;
  padding: .22rem .7rem; border-radius: var(--radius-pill); text-align: center;
}
.sec-feed-empty__tag--ok {
  background: rgba(76,175,110,.1);
  border: 1px solid rgba(76,175,110,.2);
  color: #6dd68a;
}

/* ── Responsive — stack columns on mobile ─────────────────── */
@media (max-width: 700px) {
  .sec-panel__body { grid-template-columns: 1fr; }
  .sec-col--advisory { border-right: none; border-bottom: 1px solid var(--color-dark-border); }
  .sec-panel__subtitle { display: none; }
}
/* ============================================================
   WouldYouGoThere? — Earthquake Monitor block
   Append to end of styles.css
   ============================================================ */

/* ── Earthquake block — full-width inside .sec-panel__body ── */
.eq-block {
  grid-column: 1 / -1;              /* span full width */
  border-top: 1px solid var(--color-dark-border);
  background: rgba(255,255,255,.015);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Block header ─────────────────────────────────────────── */
.eq-block__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.5rem .6rem;
  border-bottom: 1px solid var(--color-dark-border);
}
.eq-block__header-left { display: flex; align-items: center; gap: .45rem; }
.eq-block__header-right { display: flex; align-items: center; gap: .5rem; }

/* Amber seismic dot — same idiom as sec-panel__radar */
.eq-block__dot {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #d93025;
  box-shadow: 0 0 0 3px rgba(217,48,37,.2);
  animation: eq-seismic-pulse 2.8s ease infinite;
  flex-shrink: 0;
}
@keyframes eq-seismic-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(217,48,37,.2); }
  50%       { box-shadow: 0 0 0 7px rgba(217,48,37,.06); }
}

.eq-block__label {
  font-size: .63rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-dark-muted);
}
.eq-block__badge {
  font-size: .58rem; font-weight: 700; letter-spacing: .07em;
  color: rgba(240,236,228,.35);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
  padding: .15rem .55rem;
}

/* ── States (loading / empty / error) ────────────────────── */
.eq-state {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.25rem 1.5rem;
  font-size: .82rem; color: rgba(240,236,228,.45);
}
.eq-state--error { color: rgba(217,48,37,.75); }
.eq-state--empty { color: rgba(76,175,110,.7);  }

.eq-state__icon { font-size: 1.1rem; flex-shrink: 0; }
.eq-state__icon--ok { color: #4caf6e; font-size: 1.3rem; font-weight: 700; }

.eq-empty__title {
  font-size: .83rem; font-weight: 600; color: rgba(240,236,228,.7);
  margin-bottom: .15rem;
}
.eq-empty__sub {
  font-size: .75rem; color: rgba(240,236,228,.35);
}

/* Loading skeleton */
.eq-skeleton-row {
  display: flex; gap: .75rem; margin-bottom: .75rem;
}
.eq-skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,.06) 25%,
    rgba(255,255,255,.11) 50%,
    rgba(255,255,255,.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
.eq-skeleton--stat { height: 42px; flex: 1; border-radius: var(--radius-md); }

/* ── Summary stats bar ────────────────────────────────────── */
#eq-content { padding: 1rem 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }

.eq-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.eq-stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; padding: .7rem .5rem;
  gap: .2rem;
}
.eq-stat--period { flex: 0 0 auto; padding: .7rem 1rem; }

.eq-stat-divider {
  width: 1px; height: 32px;
  background: var(--color-dark-border);
  flex-shrink: 0;
}

.eq-stat__val {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
  color: #f0ece4; line-height: 1;
}
.eq-stat__val--strong { color: #d93025; }
.eq-stat__val--muted  { font-size: .8rem; color: var(--color-dark-muted); }
.eq-stat__key {
  font-size: .58rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-dark-muted);
}

/* ── Strongest event highlight card ──────────────────────── */
.eq-strongest {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 1.5rem;
  padding: .75rem 1rem;
  background: rgba(217,48,37,.07);
  border: 1px solid rgba(217,48,37,.2);
  border-radius: var(--radius-md);
}

.eq-strongest__mag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
  padding: .35rem .65rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  line-height: 1;
}

.eq-strongest__body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: .25rem;
}

.eq-strongest__label {
  font-size: .55rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(217,48,37,.65);
}

.eq-strongest__place {
  font-size: .8rem; font-weight: 600;
  color: rgba(240,236,228,.85); line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.eq-strongest__meta {
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  font-size: .62rem;
}

/* ── Main content area: map + list ───────────────────────── */
.eq-main {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1rem;
  padding-bottom: 1.25rem;
}





.eq-popup {
  padding: .85rem 1rem;
  display: flex; flex-direction: column; gap: .4rem;
  min-width: 200px;
}
.eq-popup__header {
  display: flex; align-items: center; gap: .4rem; margin-bottom: .1rem;
}
.eq-popup__mag {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 800;
  padding: .2rem .5rem; border-radius: var(--radius-pill);
}
.eq-popup__sev {
  font-size: .58rem; font-weight: 700; letter-spacing: .08em;
  color: var(--color-dark-muted);
}
.eq-popup__title {
  font-size: .8rem; font-weight: 600; color: #f0ece4; line-height: 1.35;
}
.eq-popup__place {
  font-size: .72rem; color: rgba(240,236,228,.45); margin-bottom: .25rem;
}
.eq-popup__grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: .18rem .5rem; font-size: .7rem;
}
.eq-popup__key { color: var(--color-dark-muted); }
.eq-popup__val { color: rgba(240,236,228,.75); font-weight: 500; }
.eq-popup__link {
  display: inline-block; margin-top: .45rem;
  font-size: .72rem; font-weight: 600;
  color: var(--color-accent); text-decoration: none;
  transition: color .15s;
}
.eq-popup__link:hover { color: var(--color-accent-dk); text-decoration: underline; }

/* Pulse animation on high-severity markers */
.eq-marker-pulse {
  animation: eq-marker-anim 2.2s ease-in-out infinite;
}
@keyframes eq-marker-anim {
  0%, 100% { opacity: .85; }
  50%       { opacity: 1;   }
}

/* ── Recent events sidebar ───────────────────────────────── */
.eq-sidebar {
  display: flex; flex-direction: column; gap: .5rem;
}
.eq-sidebar__label {
  font-size: .58rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-dark-muted);
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--color-dark-border);
}
.eq-list {
  display: flex; flex-direction: column; gap: .35rem;
  overflow-y: auto; max-height: 312px;
}
/* subtle scrollbar */
.eq-list::-webkit-scrollbar { width: 3px; }
.eq-list::-webkit-scrollbar-track { background: transparent; }
.eq-list::-webkit-scrollbar-thumb { background: var(--color-dark-border); border-radius: 2px; }

/* Individual event row */
.eq-item {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .5rem .6rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.eq-item:hover { background: rgba(255,255,255,.06); }

.eq-item__mag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 800;
  padding: .22rem .45rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  line-height: 1;
  margin-top: .05rem;
}
.eq-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.eq-item__place {
  font-size: .72rem; font-weight: 500;
  color: rgba(240,236,228,.8); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eq-item__meta { display: flex; align-items: center; gap: .35rem; }
.eq-item__depth { font-size: .62rem; color: var(--color-dark-muted); }
.eq-item__time  {
  flex-shrink: 0;
  font-size: .62rem; color: var(--color-dark-muted); white-space: nowrap;
  padding-top: .05rem;
}

/* Severity badges */
.eq-sev {
  font-size: .55rem; font-weight: 700; letter-spacing: .06em;
  padding: .12rem .38rem; border-radius: var(--radius-pill);
}
.eq-sev--red   { background: rgba(217,48,37,.15);  color: #e56c64; }
.eq-sev--amber { background: rgba(232,160,32,.15); color: var(--color-accent); }
.eq-sev--blue  { background: rgba(26,115,232,.15); color: #6da8f0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .eq-main {
    grid-template-columns: 1fr;
  }
  .eq-list { max-height: 200px; }
}

@media (max-width: 700px) {
  .eq-stats { flex-wrap: wrap; }
  .eq-stat  { flex: 1 0 80px; }
  .eq-stat-divider--hide-sm { display: none; }
  .eq-block__header { padding: .65rem 1rem; }
  #eq-content { padding: .75rem 1rem 0; }
  .eq-main { padding-bottom: 1rem; }
}
.eq-hidden { display: none !important; }
/* ============================================================
   Earthquakes — mission.js style display
   ============================================================ */

.eq-block {
  grid-column: 1 / -1;
  border-top: 1px solid var(--color-dark-border);
  background: rgba(255,255,255,.015);
  display: flex;
  flex-direction: column;
}

.eq-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.5rem .6rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.eq-block__header-left,
.eq-block__header-right {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.eq-block__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d93025;
  box-shadow: 0 0 0 3px rgba(217,48,37,.2);
  flex-shrink: 0;
}

.eq-block__label {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-dark-muted);
}

.eq-block__badge {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: rgba(240,236,228,.35);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-pill);
  padding: .15rem .55rem;
}

.eq-state {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.25rem 1.5rem;
  font-size: .82rem;
  color: rgba(240,236,228,.45);
}

.eq-state--error { color: rgba(217,48,37,.75); }
.eq-state--empty { color: rgba(76,175,110,.7); }

.eq-state__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.eq-state__icon--ok {
  color: #4caf6e;
  font-size: 1.3rem;
}

.eq-skeleton-row {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.eq-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.06) 25%,
    rgba(255,255,255,.11) 50%,
    rgba(255,255,255,.06) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.eq-skeleton--line {
  height: 18px;
  width: 42%;
}



#eq-content {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.eq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.eq-count {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-dark-muted);
}


.eq-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-height: 420px;
  overflow-y: auto;
}

.eq-list::-webkit-scrollbar {
  width: 5px;
}

.eq-list::-webkit-scrollbar-thumb {
  background: var(--color-dark-border);
  border-radius: 999px;
}

.eq-list-empty {
  font-size: .8rem;
  color: rgba(240,236,228,.45);
  padding: .75rem 0;
}

.eq-item {
  width: 100%;
  border: 1px solid var(--color-dark-border);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius-md);
  padding: .8rem .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  cursor: pointer;
  text-align: left;
  transition: .15s ease;
  color: inherit;
}

.eq-item:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(232,160,32,.35);
}

.eq-item--disabled {
  opacity: .65;
  cursor: default;
}

.eq-item--disabled:hover {
  background: rgba(255,255,255,.03);
  border-color: var(--color-dark-border);
}

.eq-item__main {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-width: 0;
  flex: 1;
}

.eq-item__mag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  color: var(--color-accent);
  min-width: 52px;
}

.eq-item__content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.eq-item__place {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(240,236,228,.88);
  line-height: 1.35;
}

.eq-item__meta {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  font-size: .68rem;
  color: var(--color-dark-muted);
}

.eq-item__side {
  flex-shrink: 0;
}

.eq-item__link {
  font-size: .68rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.eq-item__link:hover {
  text-decoration: underline;
}


.eq-popup {
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 220px;
}

.eq-popup__header {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.eq-popup__mag {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  color: var(--color-accent);
}

.eq-popup__title {
  font-size: .8rem;
  font-weight: 600;
  color: #f0ece4;
  line-height: 1.35;
}

.eq-popup__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .5rem;
  font-size: .7rem;
}

.eq-popup__key {
  color: var(--color-dark-muted);
}

.eq-popup__val {
  color: rgba(240,236,228,.78);
  font-weight: 500;
}

.eq-popup__link {
  display: inline-block;
  margin-top: .35rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.eq-popup__link:hover {
  color: var(--color-accent-dk);
  text-decoration: underline;
}

.eq-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .eq-block__header {
    padding: .65rem 1rem;
  }

  #eq-content {
    padding: .85rem 1rem 1rem;
  }

  .eq-item {
    flex-direction: column;
    align-items: stretch;
  }

  .eq-item__side {
    align-self: flex-start;
  }

}

.eq-map-shell {
  margin-top: 1rem;
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d0c10;
}

.eq-map {
  width: 100%;
  height: 360px;
  min-height: 360px;
}

/* ============================================================
   Earthquake map markers — compact override only
   Keep the existing WouldYouGoThere? layout, only improves map points.
   ============================================================ */

.eq-div-marker-wrapper {
  background: transparent;
  border: 0;
}

.eq-div-marker {
  position: relative;
  display: block;
  width: var(--eq-marker-size, 22px);
  height: var(--eq-marker-size, 22px);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.eq-div-marker__pulse,
.eq-div-marker__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.eq-div-marker__pulse {
  background: var(--eq-marker-color, #e8a020);
  opacity: .22;
  filter: blur(1px);
  animation: eqMarkerPulse 2.1s ease-out infinite;
}

.eq-div-marker__core {
  inset: 28%; /* un peu plus petit aussi */
  background: var(--eq-marker-color, #e8a020);
  border: none;
  box-shadow:
    0 0 10px var(--eq-marker-color, #e8a020); /* glow only */
}

.eq-div-marker:hover .eq-div-marker__core {
  transform: scale(1.12);
  box-shadow:
    0 0 16px var(--eq-marker-color, #e8a020);
}

.eq-div-marker--severe .eq-div-marker__pulse {
  animation-duration: 1.35s;
}

.eq-div-marker--strong .eq-div-marker__pulse {
  animation-duration: 1.65s;
}

@keyframes eqMarkerPulse {
  0% {
    transform: scale(.7);
    opacity: .38;
  }
  70% {
    transform: scale(2.2);
    opacity: .04;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.eq-leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.32);
  border: 1px solid rgba(15,14,18,.12);
}

.eq-leaflet-popup .leaflet-popup-content {
  margin: 0;
  width: auto !important;
}

.eq-leaflet-popup .leaflet-popup-tip {
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.eq-popup {
  padding: .95rem 1rem;
  min-width: 220px;
  color: #16151a;
  font-family: var(--font-body);
}

.eq-popup__top {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .75rem;
  line-height: 1.35;
}

.eq-popup__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .35rem;
  box-shadow: 0 0 0 4px currentColor;
}

.eq-popup__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .28rem .9rem;
  font-size: .82rem;
}

.eq-popup__grid span {
  color: var(--color-text-muted);
}

.eq-popup__grid b {
  font-weight: 700;
  color: var(--color-text);
}

.eq-popup__level {
  display: inline-flex;
  margin-top: .75rem;
  padding: .18rem .55rem;
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 800;
}

/* ============================================================
   Earthquake map points — final modern override
   Only changes the Leaflet points + popup style.
   ============================================================ */
.eq-div-marker-wrapper {
  background: transparent !important;
  border: 0 !important;
}

.eq-div-marker {
  position: relative;
  display: block;
  width: var(--eq-marker-size, 22px);
  height: var(--eq-marker-size, 22px);
  pointer-events: auto;
}

.eq-div-marker__halo,
.eq-div-marker__pulse,
.eq-div-marker__core {
  position: absolute;
  border-radius: 50%;
}

.eq-div-marker__halo {
  inset: 0;
  background: var(--eq-marker-color, var(--color-accent));
  opacity: .18;
  filter: blur(5px);
}

.eq-div-marker__pulse {
  inset: 0;
  border: 1px solid var(--eq-marker-color, var(--color-accent));
  opacity: .35;
  animation: eqMarkerPulse 2.2s ease-out infinite;
}

.eq-div-marker__core {
  inset: 25%;
  background: var(--eq-marker-color, var(--color-accent));
  border: 2px solid rgba(240,236,228,.9);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.45),
    0 0 14px color-mix(in srgb, var(--eq-marker-color, var(--color-accent)) 70%, transparent),
    0 8px 20px rgba(0,0,0,.4);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}

.eq-div-marker:hover .eq-div-marker__core {
  transform: scale(1.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.45),
    0 0 22px color-mix(in srgb, var(--eq-marker-color, var(--color-accent)) 85%, transparent),
    0 10px 24px rgba(0,0,0,.48);
}

.eq-div-marker--severe .eq-div-marker__pulse { animation-duration: 1.35s; }
.eq-div-marker--strong .eq-div-marker__pulse { animation-duration: 1.65s; }
.eq-div-marker--minor .eq-div-marker__pulse,
.eq-div-marker--light .eq-div-marker__pulse { animation-duration: 2.6s; }

@keyframes eqMarkerPulse {
  0% {
    transform: scale(.75);
    opacity: .42;
  }
  75% {
    transform: scale(2.15);
    opacity: .04;
  }
  100% {
    transform: scale(2.15);
    opacity: 0;
  }
}

.eq-leaflet-popup .leaflet-popup-content-wrapper {
  border-radius: 16px;
  background: #f6f5f2;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  border: 1px solid rgba(15,14,18,.12);
  overflow: hidden;
}

.eq-leaflet-popup .leaflet-popup-content {
  margin: 0;
  width: auto !important;
}

.eq-leaflet-popup .leaflet-popup-tip {
  background: #f6f5f2;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.eq-popup {
  padding: .95rem 1rem;
  min-width: 220px;
  color: var(--color-text);
  font-family: var(--font-body);
}

.eq-popup__top {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .75rem;
  line-height: 1.35;
}

.eq-popup__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .35rem;
  background: var(--eq-popup-color, var(--color-accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--eq-popup-color, var(--color-accent)) 18%, transparent);
}

.eq-popup__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .28rem .9rem;
  font-size: .82rem;
}

.eq-popup__grid span {
  color: var(--color-text-muted);
}

.eq-popup__grid b {
  font-weight: 700;
  color: var(--color-text);
}

.eq-popup__level {
  display: inline-flex;
  margin-top: .75rem;
  padding: .18rem .55rem;
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 800;
}
.leaflet-div-icon.eq-div-marker-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.eq-div-marker__core {
  border: 0 !important;
}
.eq-item.is-active {
  background: rgba(232,160,32,.15);
}
/* ============================================================
   EMPTY STATE — CONTEXT COLORS (safe / warning / danger)
   ============================================================ */

/* Base icon style */
.sec-feed-empty__check {
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0.9;
}

/* ── SAFE (level 1) ─────────────────────────────────────── */
.sec-feed-empty--safe .sec-feed-empty__headline {
  color: #4caf6e;
}

.sec-feed-empty--safe .sec-feed-empty__check {
  color: #4caf6e;
}

/* ── WARNING (level 2) ──────────────────────────────────── */
.sec-feed-empty--warning .sec-feed-empty__headline {
  color: var(--color-warning);
}

.sec-feed-empty--warning .sec-feed-empty__check {
  color: var(--color-warning);
}

/* ── DANGER (level 3-4) ────────────────────────────────── */
.sec-feed-empty--danger .sec-feed-empty__headline {
  color: var(--color-danger);
}

.sec-feed-empty--danger .sec-feed-empty__check {
  color: var(--color-danger);
}

/* Neutral look (évite effet "safe") */
.sec-feed-empty--warning,
.sec-feed-empty--danger {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-dark-border);
}

/* Tags moins "positifs" */
.sec-feed-empty--warning .sec-feed-empty__tag,
.sec-feed-empty--danger .sec-feed-empty__tag {
  color: rgba(240,236,228,.6);
  border: 1px solid rgba(255,255,255,.12);
}

/* Tag OK uniquement pour safe */
.sec-feed-empty__tag--ok {
  color: #4caf6e;
  border: 1px solid rgba(76,175,110,.3);
}

/* ============================================================
   WouldYouGoThere? — market-test positioning overrides
   Keeps the existing JS hooks and component structure intact.
   ============================================================ */

.logo__mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #0f0e12;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(232,160,32,.16);
}

.logo--sm .logo__mark {
  width: 22px;
  height: 22px;
  font-size: .8rem;
}

.logo__text {
  letter-spacing: -.035em;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero__title {
  max-width: 860px;
}

.hero__title em {
  color: #ffb83d;
  text-shadow: 0 0 34px rgba(232,160,32,.22);
}

.hero__subtitle {
  max-width: 690px;
}

.hero__eyebrow {
  color: rgba(240,236,228,.68);
}

.search-box__icon {
  filter: drop-shadow(0 0 8px rgba(232,160,32,.35));
}

.chip--risk {
  border-color: rgba(217,48,37,.35);
  color: #ff9a8f;
  background: rgba(217,48,37,.08);
}

.chip--risk:hover {
  border-color: var(--color-critical);
  color: #ffb1a8;
  background: rgba(217,48,37,.14);
}

.results__title::before {
  content: "🛡️";
  margin-right: .45rem;
}

.sec-panel__title {
  font-size: 1rem;
}

.sec-panel__subtitle {
  color: rgba(240,236,228,.42);
}

.card__label {
  letter-spacing: .09em;
}

.feature-card--highlight {
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
}

.about__globe {
  animation-duration: 28s;
}

@media (max-width: 700px) {
  .logo__text {
    font-size: .98rem;
  }

  .hero__title {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .hero__subtitle {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .logo__text {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* ============================================================
   LOGO RESPONSIVE (header + hero + footer)
   ============================================================ */

/* ===== HEADER LOGO ===== */
.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* petit écran */
@media (max-width: 500px) {
  .logo__img {
    width: 22px;
    height: 22px;
  }

  .logo__text {
    font-size: .95rem;
  }
}

/* ===== HERO LOGO ===== */
.hero__brand-mark {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
}

.hero__brand-img {
  width: 90px;
  height: auto;
  max-width: 100%;
  object-fit: contain;

  filter: drop-shadow(0 0 20px rgba(232,160,32,.25));
}

/* tablette */
@media (max-width: 700px) {
  .hero__brand-img {
    width: 70px;
  }

  .hero__brand-mark {
    margin-bottom: .9rem;
  }
}

/* mobile */
@media (max-width: 500px) {
  .hero__brand-img {
    width: 58px;
  }

  .hero__brand-mark {
    margin-bottom: .6rem;
  }
}

/* ===== FOOTER LOGO ===== */
.footer .logo__img {
  width: 20px;
  height: 20px;
}

/* ===== ABOUT LOGO ===== */
.about__logo-img {
  width: 100px;
  max-width: 100%;
  opacity: .85;
}

/* mobile */
@media (max-width: 700px) {
  .about__logo-img {
    width: 70px;
  }
}

/* ============================================================
   HEADER MOBILE
   ============================================================ */

/* Burger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #f0ece4;
  display: block;
  transition: .3s;
}

/* MOBILE */
@media (max-width: 700px) {
  #logo-hero{
    display: none;
  }
  .header__inner {
    height: 56px;
  }

  /* Logo */
  .logo__img {
    width: 22px;
    height: 22px;
  }

  .logo__text {
    font-size: .95rem;
  }

  /* Burger visible */
  .nav-toggle {
    display: flex;
  }

  /* Nav becomes dropdown */
  .nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;

    background: var(--color-dark);
    border-bottom: 1px solid var(--color-dark-border);

    flex-direction: column;
    align-items: flex-start;
    gap: 0;

    padding: 0;

    max-height: 0;
    overflow: hidden;

    transition: max-height .3s ease;
  }

  .nav__link {
    width: 100%;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-dark-border);
  }

  .nav__link:hover {
    background: rgba(255,255,255,.05);
  }

  /* OPEN STATE */
  .nav.open {
    max-height: 300px;
  }
}