/* ============================================================
   MIGRATECOLOMBIA — GLOBAL DESIGN SYSTEM UPGRADES
   Best-in-class CSS patterns applied site-wide
   ============================================================ */

/* ── EXTENDED DESIGN TOKENS ─────────────────────────────── */
:root {
  /* Shadow scale — layered multi-value for perceived depth */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.04),
                0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:  0 2px 4px rgba(0,0,0,0.03),
                0 4px 16px rgba(0,0,0,0.06),
                0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg:  0 4px 8px rgba(0,0,0,0.04),
                0 8px 32px rgba(0,0,0,0.07),
                0 2px 6px rgba(0,0,0,0.03);
  --shadow-xl:  0 8px 16px rgba(0,0,0,0.05),
                0 20px 60px rgba(0,0,0,0.09),
                0 4px 12px rgba(0,0,0,0.04);
  --shadow-hover:
                0 12px 24px rgba(0,0,0,0.07),
                0 32px 80px rgba(0,0,0,0.10),
                0 6px 16px rgba(0,0,0,0.05);

  /* Easing functions — spring & natural motion */
  --ease-spring:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-elastic:  cubic-bezier(0.68, -0.6, 0.32, 1.6);

  /* Transition presets */
  --t-instant: 0.1s var(--ease-out);
  --t-fast:    0.2s var(--ease-out);
  --t-base:    0.38s var(--ease-spring);
  --t-slow:    0.65s var(--ease-spring);

  /* Spacing rhythm */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
}

/* ── TYPOGRAPHY FOUNDATION ───────────────────────────────── */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}

body {
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  font-synthesis: none;
}

/* Tighter, more editorial heading metrics */
h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Tabular numerals for stat figures */
.stat-number,
.cost-amount,
[data-target],
.vs-val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ── GLOBAL SELECTION COLOR ──────────────────────────────── */
::selection {
  background: rgba(252, 209, 22, 0.28);
  color: #0C0F1A;
}
::-moz-selection {
  background: rgba(252, 209, 22, 0.28);
  color: #0C0F1A;
}

/* ── FOCUS RING — polished, brand-consistent ─────────────── */
:focus-visible {
  outline: 2.5px solid #FCD116;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── CUSTOM SCROLLBAR (desktop) ──────────────────────────── */
@media (min-width: 769px) {
  ::-webkit-scrollbar          { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track    { background: #FFFCF5; }
  ::-webkit-scrollbar-thumb    { background: rgba(0,0,0,0.14); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.26); }
}

/* ── SCROLL REVEAL — spring physics ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.99);
  transition:
    opacity  0.72s var(--ease-spring),
    transform 0.72s var(--ease-spring);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger helpers — tighter intervals for smoother cascade */
.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }
.reveal-delay-5 { transition-delay: 0.35s; }

/* ── BUTTON SPRING PHYSICS ───────────────────────────────── */
.btn {
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-fast) !important;
}
.btn:active {
  transform: scale(0.96) translateY(1px) !important;
  transition-duration: 0.08s !important;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
}

/* ── NAV LINK — animated underline instead of bg flash ──── */
.nav-links a:not(.nav-cta) {
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0.9rem;
  right: 0.9rem;
  height: 1.5px;
  background: #FCD116;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease-spring);
  border-radius: 2px;
}
.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

/* ── BENTO CARDS — richer shadows + spring ───────────────── */
.bento-card {
  box-shadow: var(--shadow-md);
  transition:
    transform  var(--t-base),
    box-shadow var(--t-base) !important;
}
.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover) !important;
}

/* ── VISA CARDS ──────────────────────────────────────────── */
.visa-card {
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base) !important;
}
.visa-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover) !important;
}

/* ── CITY CARDS — deeper dark shadows on hover ───────────── */
.city-card {
  transition: transform var(--t-base), box-shadow var(--t-base) !important;
}
.city-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.42),
    0 8px 24px rgba(0,0,0,0.22),
    0 2px 6px rgba(0,0,0,0.12) !important;
}

/* ── HEALTHCARE CARDS ────────────────────────────────────── */
.healthcare-card {
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base) !important;
}
.healthcare-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover) !important;
}

/* ── INFO CARDS (safety, lifestyle, etc.) ────────────────── */
.info-card {
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base) !important;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg) !important;
}

/* ── COST CARDS ──────────────────────────────────────────── */
.cost-card {
  transition: transform var(--t-base), box-shadow var(--t-base) !important;
}
.cost-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg) !important;
}

/* ── STEP CARDS (city pages) ─────────────────────────────── */
.step-card {
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base) !important;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover) !important;
}

/* ── PHOTO MOSAIC (city pages) ───────────────────────────── */
.photo-mosaic img {
  transition: transform var(--t-slow) !important;
}
.photo-mosaic img:hover {
  transform: scale(1.05) !important;
}

/* ── FAQ — horizontal drift on hover ────────────────────── */
.faq-item {
  transition:
    box-shadow var(--t-base),
    transform  var(--t-base) !important;
}
.faq-item:hover {
  box-shadow: var(--shadow-md) !important;
  transform: translateX(2px) !important;
}
.faq-answer {
  transition: max-height 0.48s var(--ease-spring) !important;
}

/* ── FOOTER LINK HOVER ───────────────────────────────────── */
.footer-col a {
  display: inline-block;
  transition:
    color     var(--t-fast),
    transform var(--t-fast) !important;
}
.footer-col a:hover {
  transform: translateX(3px) !important;
}

/* ── SECTION HEADER TIGHTER TRACKING ────────────────────── */
.section-header h2,
.time-section h2 {
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* ── NEWSLETTER FORM INPUT ───────────────────────────────── */
.newsletter-form input[type="email"] {
  transition: border-color var(--t-fast), box-shadow var(--t-fast) !important;
}
.newsletter-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(252,209,22,0.18) !important;
}

/* ── HERO CTA BUTTON — enhanced pulse on first load ─────── */
@keyframes heroPulse {
  0%   { box-shadow: 0 6px 28px rgba(252,209,22,0.35); }
  50%  { box-shadow: 0 6px 40px rgba(252,209,22,0.60), 0 0 0 8px rgba(252,209,22,0.08); }
  100% { box-shadow: 0 6px 28px rgba(252,209,22,0.35); }
}
.hero .btn-primary {
  animation: heroPulse 3s var(--ease-in-out) 1.2s 3;
}
.hero .btn-primary:hover {
  animation: none;
}

/* ── CITY HERO BG — subtle parallax-like scale on load ──── */
.hero-bg {
  will-change: transform;
}

/* ── STATS BAR — divider softener ───────────────────────── */
.stat-item + .stat-item {
  border-left-color: rgba(0,0,0,0.05) !important;
}

/* ── BACK-TO-TOP — spring scale ─────────────────────────── */
.back-to-top {
  transition:
    opacity   var(--t-fast),
    transform var(--t-base) !important;
}
.back-to-top:hover {
  transform: scale(1.12) translateY(-2px) !important;
}

/* ── CITY NAV PILL (city pages) ──────────────────────────── */
.city-nav a {
  transition: all var(--t-fast) !important;
}

/* ── HERO-STAT GLASS PILLS (city pages) ─────────────────── */
.hero-stat {
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) !important;
}
.hero-stat:hover {
  background: rgba(255,255,255,0.18) !important;
  transform: translateY(-2px) !important;
}

/* ── SECTION TAG — gentle accent underline ───────────────── */
.section-tag,
.section-badge {
  transition: background var(--t-fast), border-color var(--t-fast) !important;
}

/* ── INLINE CTA — hover glow ─────────────────────────────── */
.inline-cta {
  transition: box-shadow var(--t-base), border-color var(--t-base) !important;
}
.inline-cta:hover {
  box-shadow: 0 8px 40px rgba(252,209,22,0.14) !important;
  border-color: rgba(252,209,22,0.32) !important;
}

/* ── BENTO CARD COLOR VARIANTS — subtle tinted backgrounds ── */
.bento-grid .bento-card:nth-child(1) {
  background: linear-gradient(140deg, #fffdf0 0%, #fef7d4 100%) !important;
}
.bento-grid .bento-card:nth-child(2) {
  background: linear-gradient(140deg, #f0fdf6 0%, #d1fae5 100%) !important;
}
.bento-grid .bento-card:nth-child(3) {
  background: linear-gradient(140deg, #faf5ff 0%, #ede9fe 100%) !important;
}
.bento-grid .bento-card:nth-child(4) {
  background: linear-gradient(140deg, #fff5f7 0%, #fce7f3 100%) !important;
}
.bento-grid .bento-card:nth-child(5) {
  background: linear-gradient(140deg, #fffbf0 0%, #fef3c7 100%) !important;
}
.bento-grid .bento-card:nth-child(6) {
  background: linear-gradient(140deg, #f0fdfb 0%, #ccfbf1 100%) !important;
}

/* ── CITY CARD — per-city signature glow on hover ─────────── */
.city-medellin:hover {
  box-shadow:
    0 28px 70px rgba(0, 107, 63, 0.38),
    0 8px 24px rgba(0, 107, 63, 0.18) !important;
}
.city-bogota:hover {
  box-shadow:
    0 28px 70px rgba(0, 56, 147, 0.38),
    0 8px 24px rgba(0, 56, 147, 0.18) !important;
}
.city-cartagena:hover {
  box-shadow:
    0 28px 70px rgba(206, 17, 38, 0.32),
    0 8px 24px rgba(206, 17, 38, 0.15) !important;
}
.city-cali:hover {
  box-shadow:
    0 28px 70px rgba(252, 177, 3, 0.42),
    0 8px 24px rgba(252, 177, 3, 0.22) !important;
}
.city-barranquilla:hover {
  box-shadow:
    0 28px 70px rgba(252, 209, 22, 0.42),
    0 8px 24px rgba(252, 209, 22, 0.22) !important;
}
.city-santamarta:hover {
  box-shadow:
    0 28px 70px rgba(0, 142, 186, 0.38),
    0 8px 24px rgba(0, 142, 186, 0.20) !important;
}

/* ── HERO GRAIN TEXTURE — premium noise overlay ──────────── */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ── HERO H1 — word entrance stagger ────────────────────── */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: wordEntrance 0.72s var(--ease-spring) forwards;
}
@keyframes wordEntrance {
  to { opacity: 1; transform: translateY(0); }
}

/* ── STAT COUNTER — count-up number style ────────────────── */
.stat-number[data-target] {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ── BENTO CARD — top accent border on hover ─────────────── */
.bento-card {
  border-top: 2px solid transparent;
  transition: border-color var(--t-fast), transform var(--t-base), box-shadow var(--t-base) !important;
}
.bento-grid .bento-card:nth-child(1):hover { border-top-color: #FCD116; }
.bento-grid .bento-card:nth-child(2):hover { border-top-color: #10b981; }
.bento-grid .bento-card:nth-child(3):hover { border-top-color: #8b5cf6; }
.bento-grid .bento-card:nth-child(4):hover { border-top-color: #ec4899; }
.bento-grid .bento-card:nth-child(5):hover { border-top-color: #f59e0b; }
.bento-grid .bento-card:nth-child(6):hover { border-top-color: #14b8a6; }

/* ── SECTION BACKGROUNDS — richer depth ─────────────────── */
.why-colombia {
  background: linear-gradient(180deg, #ffffff 0%, #fdfcf8 100%) !important;
}
.cities {
  background: linear-gradient(180deg, #0c0f1a 0%, #141726 100%) !important;
}

/* ── PRINT — strip animations ───────────────────────────── */
@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * { animation: none !important; transition: none !important; }
}

/* ── REDUCE MOTION — respect user preference ────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================
   SHARED PAGE COMPONENTS & PATTERNS
   ================================ */

/* ── CONTAINER & LAYOUT ──────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── PAGE NAVIGATION (Dark nav bar on city pages) ───────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-nav .brand {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav .brand span {
  color: var(--yellow);
}
.site-nav .back {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.site-nav .back:hover {
  color: #fff;
}
.city-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: auto;
}
.city-nav::-webkit-scrollbar {
  display: none;
}
.city-nav a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--t-fast);
}
.city-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.city-nav a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── HERO SECTIONS ───────────────────────────────────────── */
.city-hero {
  height: 92vh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 3rem;
  max-width: 900px;
}
.city-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero-nickname {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 1rem;
}
.hero-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
}
.hero-stat .val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.hero-stat .lbl {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ── SECTION HEADERS & BADGES ────────────────────────────── */
.time-section {
  padding: 5rem 0;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.38rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.time-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.time-section .section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── STEP CARDS (1 day, survival guide) ────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--accent);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.step-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.step-time {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.step-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

/* ── WEEK TIMELINE CARDS ─────────────────────────────────── */
.week-grid {
  display: grid;
  gap: 0;
}
.week-day {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.week-day:last-child {
  border-bottom: none;
}
.day-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  text-align: center;
  line-height: 1.3;
}
.day-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.day-content p {
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── DARK SECTION CARDS (6 months, rules, etc.) ──────────── */
.months6-section {
  background: var(--dark);
}
.months6-section h2 {
  color: #fff;
}
.months6-section .section-intro {
  color: rgba(255, 255, 255, 0.65);
}
.months6-section .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.rules-section {
  background: var(--dark);
}
.rules-section h2 {
  color: #fff;
}
.rules-section .section-intro {
  color: rgba(255, 255, 255, 0.65);
}
.rules-section .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.m6-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.m6-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background var(--t-fast);
}
.m6-card:hover {
  background: rgba(255, 255, 255, 0.1);
}
.m6-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.m6-card h4 {
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}
.m6-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── PHOTO MOSAIC ────────────────────────────────────────── */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 0.75rem;
}
.photo-mosaic .photo-main {
  grid-column: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
}
.photo-mosaic .photo-sm {
  border-radius: 12px;
  overflow: hidden;
}
.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.week-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2.5rem 0;
  height: 200px;
}
.week-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ── SAFETY CARDS ────────────────────────────────────────── */
.safety-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.safety-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.safety-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.safety-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.safety-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.badge-safe {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
}
.badge-aware {
  background: rgba(234, 179, 8, 0.15);
  color: #854d0e;
}
.badge-heightened {
  background: rgba(249, 115, 22, 0.15);
  color: #92400e;
}
.safety-card p {
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}
.safety-card .zones-label {
  font-weight: 600;
  color: var(--dark);
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}
.safety-card .zone-text {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── HOSPITAL & MEDICAL CARDS ────────────────────────────── */
.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.hospital-card {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(220, 38, 38, 0.15);
}
.hospital-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.hospital-list {
  list-style: none;
}
.hospital-list li {
  color: var(--body);
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}
.hospital-list li:last-child {
  border-bottom: none;
}

/* ── CALCULATOR COMPONENTS ───────────────────────────────── */
.calculator-hero {
  height: auto;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center;
}
.calculator-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.calc-input-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.calc-input-group .badge-emoji {
  margin-right: 0.4rem;
}
.pill-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pill {
  padding: 0.75rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: #fff;
  color: var(--body);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── SLIDER CONTROLS ─────────────────────────────────────── */
.slider-container {
  margin-bottom: 0.5rem;
}
input[type='range'] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
  transition: transform var(--t-fast);
}
input[type='range']::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
input[type='range']::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
  transition: transform var(--t-fast);
}
input[type='range']::-moz-range-thumb:hover {
  transform: scale(1.15);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.calc-button {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
  margin-top: 1rem;
}
.calc-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
}
.calc-button:active {
  transform: translateY(0);
}

/* ── RESULTS SECTION ─────────────────────────────────────── */
.results-section {
  display: none;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}
.results-section.visible {
  display: block;
  animation: slideUp 0.48s var(--ease-spring);
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.results-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}
.budget-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.highlight-box {
  background: linear-gradient(135deg, var(--accent-light) 0%, #fff8e1 100%);
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.highlight-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.highlight-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 0.3rem;
}
.highlight-note {
  font-size: 0.85rem;
  color: var(--body);
}

/* ── BREAKDOWN TABLE ─────────────────────────────────────── */
.breakdown-table {
  width: 100%;
  margin-bottom: 2.5rem;
}
.breakdown-table thead {
  background: var(--accent-light);
  border-bottom: 2px solid var(--accent);
}
.breakdown-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}
.breakdown-table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--body);
}
.breakdown-table tr:hover {
  background: rgba(217, 119, 6, 0.03);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.page-footer {
  background: #0C0A09;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 3rem 2rem 2rem;
  font-size: 0.85rem;
  border-top: 4px solid transparent;
  border-image: linear-gradient(
    to right,
    #FCD116 50%,
    #003893 50% 75%,
    #CE1126 75%
  ) 1;
}
.page-footer-inner {
  max-width: 700px;
  margin: 0 auto;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}
.footer-col a {
  display: inline-block;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-col a:hover {
  transform: translateX(3px);
}

/* ── OTHER CITIES LINKS ──────────────────────────────────── */
.other-cities {
  padding: 4rem 0;
  background: var(--accent-light);
}
.other-cities h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.other-cities p {
  color: var(--muted);
  margin-bottom: 2rem;
}
.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.city-links a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  transition: all var(--t-fast);
}
.city-links a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── MAP EMBED ────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  height: 420px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
