﻿/* ═══════════════════════════════════════════════════════════════════════════
   Sommelis — Design System
   Cream & Navy · Electric blue · Inter
   Light sections with dark accents — premium winery aesthetic
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  /* Dark palette (used in dark sections, mockup UI, footer) */
  --navy-950:   #010c1e;
  --navy-900:   #030f26;
  --navy-800:   #061530;
  --navy-700:   #0b1d3e;
  --navy-600:   #102550;
  --navy-500:   #163066;

  /* Blue accent — dark sections, product UI internals */
  --blue-700:   #1e40af;
  --blue-600:   #1d4ed8;
  --blue-500:   #2563eb;
  --blue-400:   #3b82f6;
  --blue-300:   #60a5fa;
  --blue-200:   #93c5fd;
  --blue-100:   #dbeafe;

  /* Vine / forest-green — primary accent on light sections */
  --vine-700:   #1E3D2A;
  --vine-600:   #2D5A3D;
  --vine-500:   #3D6B52;
  --vine-400:   #5A8C6E;
  --vine-300:   #8AB59D;
  --vine-200:   #C3DDD0;

  /* Light palette — section backgrounds */
  --cream:      #F8F5EF;
  --cream-dark: #EDE8DE;
  --white:      #ffffff;

  /* Light-mode text */
  --text-dark:       #0b1d3e;
  --text-body:       #374151;
  --text-soft:       #6B7280;

  /* Dark-section text (overridden per context) */
  --text-primary:   rgba(255, 255, 255, 0.93);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted:     rgba(255, 255, 255, 0.32);

  /* Light-section borders */
  --border-light:   #E8E3DA;
  --border-light-mid: #D4CFC5;

  /* Dark-section borders */
  --border:     rgba(255, 255, 255, 0.07);
  --border-mid: rgba(255, 255, 255, 0.13);

  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    6px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  /* Light-mode shadow */
  --shadow-sm:  0 1px 4px rgba(11, 29, 62, 0.07), 0 1px 2px rgba(11, 29, 62, 0.04);
  --shadow-md:  0 4px 16px rgba(11, 29, 62, 0.09), 0 2px 6px rgba(11, 29, 62, 0.05);
  --shadow-lg:  0 12px 40px rgba(11, 29, 62, 0.13), 0 4px 14px rgba(11, 29, 62, 0.07);

  /* Dark-mode shadow (for dark cards on dark bg) */
  --shadow-dark: 0 12px 48px rgba(0, 0, 0, 0.42);

  --max-w:    1120px;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t:        0.22s;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Utility ─────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; background: var(--white); }
.section--mid { background: var(--cream); }
.section--dark {
  background: var(--cream);
  color: var(--text-dark);
}
/* section--dark now renders on cream — light text overrides reverted to dark */
.section--dark .section-subtitle { color: var(--text-body); }
.section--dark .split-list li { color: var(--text-body); }
.section--dark .faq-q { color: var(--text-dark); }
.section--dark .faq-a-inner { color: var(--text-body); }
.section--dark .faq-ico::before, .section--dark .faq-ico::after { background: var(--border-light-mid); }
.section--dark .faq-item { border-bottom: 1px solid var(--border-light); }
.section--dark .faq-section-label { border-bottom: 1px solid var(--border-light); color: var(--vine-600); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }

/* ── Tag / eyebrow ───────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(45, 90, 61, 0.28);
  color: var(--vine-600);
  background: rgba(45, 90, 61, 0.07);
  margin-bottom: 20px;
}
.tag::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--vine-500);
}

/* ── Headings ────────────────────────────────────────────────────────────── */
.h0 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}
.h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}
.h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
.h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 580px;
  margin: 16px auto 0;
}
.section-header { margin-bottom: 64px; }
.section-header.text-center .section-subtitle { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--vine-600);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--vine-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(45, 90, 61, 0.35);
}
.btn--ghost {
  color: var(--text-dark);
  border: 1px solid var(--border-light-mid);
}
.btn--ghost:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
  background: rgba(11, 29, 62, 0.04);
}
.btn--lg { padding: 14px 32px; font-size: 0.95rem; }
.btn--sm { padding: 8px 18px; font-size: 0.8rem; }
.btn .arrow { display: inline-block; transition: transform var(--t) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ═══ NAVIGATION ═════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 14px rgba(11, 29, 62, 0.09);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--vine-500);
}
.navbar-links { display: flex; align-items: center; gap: 4px; }
.navbar-links a {
  padding: 6px 12px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: color var(--t), background var(--t);
}
.navbar-links a:hover, .navbar-links a.active {
  color: var(--navy-900);
  background: rgba(11, 29, 62, 0.06);
}
.navbar-cta-wrap { margin-left: 8px; }

.navbar-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.navbar-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text-body); border-radius: 2px; transition: all 0.3s; }

@media (max-width: 860px) {
  .navbar-toggle { display: flex; }
  .navbar-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(11,29,62,0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 28px 24px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease-out);
  }
  .navbar-links.open { transform: translateY(0); }
  .navbar-links a { padding: 10px 0; width: 100%; }
  .navbar-cta-wrap { margin-left: 0; padding-top: 8px; border-top: 1px solid var(--border-light); width: 100%; }
  .navbar-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
  .navbar-toggle.open span:nth-child(2) { opacity: 0; }
  .navbar-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
}

/* ═══ SCROLL ANIMATIONS ══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.reveal--delay-1 { transition-delay: 0.1s; }
.reveal.reveal--delay-2 { transition-delay: 0.2s; }
.reveal.reveal--delay-3 { transition-delay: 0.3s; }
.reveal.reveal--delay-4 { transition-delay: 0.4s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ HERO ═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--cream);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 29, 62, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 29, 62, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  bottom: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { max-width: 560px; }
.hero-headline { margin-bottom: 24px; }
.hero-headline .gradient-text {
  background: linear-gradient(135deg, var(--navy-900) 30%, var(--vine-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero-trust-line { width: 28px; height: 1px; background: var(--border-light-mid); }
.hero-trust-text { font-size: 0.75rem; color: var(--text-soft); letter-spacing: 0.06em; text-transform: uppercase; }

/* Product Mockup */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.mockup-card {
  width: 100%;
  max-width: 420px;
  background: var(--navy-800);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mockup-card { animation: float 6s ease-in-out infinite; }
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--navy-950);
}
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-600); }
.mockup-title { font-size: 0.72rem; color: var(--text-muted); margin-left: 4px; font-weight: 500; }
.mockup-body { padding: 16px; height: 235px; position: relative; overflow: hidden; }

/* Hero mockup — search + recommendation cards */
.mockup-frame {
  position: absolute;
  inset: 16px 16px 16px 16px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-frame.active { opacity: 1; pointer-events: auto; }
.mockup-welcome {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 4px;
}
.mockup-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mockup-chip {
  padding: 5px 10px;
  border-radius: 99px;
  border: 1px solid var(--border-mid);
  font-size: 0.68rem;
  color: var(--text-muted);
  cursor: pointer;
}
.mockup-query {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-secondary);
  padding: 7px 11px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  margin-bottom: 2px;
}
.mockup-recs { display: flex; flex-direction: column; gap: 7px; }
.mockup-rec {
  border-radius: var(--radius);
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.mockup-rec--best  { border-color: rgba(37,99,235,0.4); background: rgba(37,99,235,0.06); }
.mockup-rec--premium { border-color: rgba(109,40,217,0.35); background: rgba(109,40,217,0.05); }
.mockup-rec--sommelier { border-color: rgba(5,150,105,0.35); background: rgba(5,150,105,0.05); }
.mockup-rec-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue-300);
  margin-bottom: 3px;
}
.mockup-rec--premium .mockup-rec-label { color: #a78bfa; }
.mockup-rec--sommelier .mockup-rec-label { color: #34d399; }
.mockup-rec-name { font-size: 0.82rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.mockup-rec-note { font-size: 0.71rem; color: var(--text-secondary); line-height: 1.45; }

/* Search bar at bottom of hero mockup */
.mockup-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--navy-950);
}
.mockup-search-placeholder {
  flex: 1;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.mockup-search-send {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vine-600);
  flex-shrink: 0;
}
.match-row { display: flex; align-items: center; gap: 8px; }
.match-bar-bg { flex: 1; height: 3px; background: var(--navy-600); border-radius: 99px; overflow: hidden; }
.match-bar { height: 100%; width: 0; background: var(--blue-400); border-radius: 99px; transition: width 1.2s var(--ease-out); }
.match-bar.loaded { width: 91%; }
.match-pct { font-size: 0.7rem; font-weight: 700; color: var(--blue-300); white-space: nowrap; }

.mockup-progress {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-top: 1px solid var(--border);
}
.p-dot {
  height: 4px;
  border-radius: 99px;
  background: var(--navy-600);
  transition: width 0.35s, background 0.35s;
  width: 8px;
}
.p-dot.active { width: 20px; background: var(--vine-500); }

/* ── Hero mockup carousel ───────────────────────────────────────────────── */
.mockup-frame--result { gap: 6px; overflow: hidden; }
.mockup-sommelier-note { display: flex; gap: 7px; align-items: flex-start; }
.msn-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--vine-500);
  flex-shrink: 0;
  margin-top: 5px;
}
.msn-text {
  font-size: 0.69rem;
  color: var(--text-secondary);
  line-height: 1.45;
  font-style: italic;
}
.mockup-carousel-wrap { overflow: hidden; height: 102px; }
.mc-track {
  display: flex;
  gap: 8px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.mc-card {
  flex-shrink: 0;
  height: 98px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mc-card--best      { border-top: 2px solid var(--vine-600); }
.mc-card--premium   { border-top: 2px solid #9B7B2A; }
.mc-card--sommelier { border-top: 2px solid var(--vine-400); }
.mc-badge { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.mc-badge--best      { color: var(--vine-600); }
.mc-badge--premium   { color: #9B7B2A; }
.mc-badge--sommelier { color: var(--vine-500); }
.mc-content-row { display: flex; gap: 8px; align-items: flex-start; flex: 1; min-height: 0; }
.mc-bottle-shape {
  width: 9px; flex-shrink: 0; height: 30px;
  background: linear-gradient(to bottom, var(--vine-400), var(--vine-700));
  border-radius: 3px 3px 4px 4px;
  margin-top: 1px;
  position: relative;
}
.mc-bottle-shape::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 6px;
  background: var(--vine-500);
  border-radius: 1px 1px 0 0;
}
.mc-info { flex: 1; min-width: 0; }
.mc-name { font-size: 0.75rem; font-weight: 600; color: var(--text-dark); line-height: 1.25; }
.mc-year { font-size: 0.62rem; color: var(--text-soft); margin-bottom: 1px; }
.mc-note { font-size: 0.64rem; color: var(--text-body); line-height: 1.4; }
.mc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.mc-price { font-size: 0.72rem; font-weight: 700; color: var(--text-dark); }
.mc-add-btn {
  font-size: 0.58rem; font-weight: 600;
  padding: 3px 7px; border-radius: 3px;
  background: rgba(45, 90, 61, 0.1);
  color: var(--vine-600);
  border: 1px solid rgba(45, 90, 61, 0.2);
}
.mc-card--premium   .mc-add-btn { background: rgba(155,123,42,0.1); color: #7A6020; border-color: rgba(155,123,42,0.2); }
.mc-card--sommelier .mc-add-btn { background: rgba(45,90,61,0.08); color: var(--vine-500); border-color: rgba(45,90,61,0.18); }
.mc-dots { display: flex; justify-content: center; gap: 5px; }
.mc-dot { width: 5px; height: 5px; border-radius: 99px; background: var(--border-light-mid); transition: width 0.3s, background 0.3s; }
.mc-dot.active { width: 14px; background: var(--vine-500); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { max-width: none; }
  .hero-visual { display: none; }
}

/* ═══ STATS STRIP ════════════════════════════════════════════════════════════ */
.stats-strip {
  padding: 48px 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-desc { font-size: 0.82rem; color: var(--text-body); line-height: 1.4; }
@media (max-width: 640px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ═══ FLOW / HOW IT WORKS ════════════════════════════════════════════════════ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.flow-step {
  padding: 40px 32px;
  background: var(--white);
  transition: background var(--t);
}
.flow-step:hover { background: var(--cream); }
.flow-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vine-600);
  margin-bottom: 20px;
}
.flow-step h3 { margin-bottom: 10px; font-size: 1rem; color: var(--text-dark); }
.flow-step p { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; }
@media (max-width: 768px) { .flow-grid { grid-template-columns: 1fr; } }

/* ═══ FEATURES GRID ══════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.feature-item {
  padding: 36px 32px;
  background: var(--white);
  transition: background var(--t);
}
.feature-item:hover { background: var(--cream); }
.feature-icon { width: 32px; height: 32px; color: var(--vine-600); margin-bottom: 18px; }
.feature-item h3 { margin-bottom: 10px; color: var(--text-dark); }
.feature-item p { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ═══ SPLIT LAYOUT ═══════════════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--flip .split-visual { order: -1; }
.split-text .section-subtitle { margin: 16px 0 0; text-align: left; max-width: none; }
.split-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.split-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
}
.split-list li::before {
  content: '';
  flex-shrink: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--vine-500);
  margin-top: 8px;
}
.screen-frame {
  background: var(--navy-950);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.screen-topbar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 6px;
  background: var(--navy-900);
}
.screen-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-600); }
.screen-body { padding: 20px; }

/* Split section — widget embed mockup */
.widget-page-bg {
  background: var(--navy-800);
  border-radius: var(--radius);
  height: 58px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.widget-panel {
  background: var(--navy-900);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 14px;
  position: relative;
}
.widget-panel-header {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.widget-srec {
  border-radius: var(--radius);
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  margin-bottom: 6px;
}
.widget-srec-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vine-400); margin-bottom: 2px; }
.widget-srec-name { font-size: 0.76rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.widget-srec-note { font-size: 0.66rem; color: var(--text-muted); }
.widget-search-row {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: var(--navy-800);
  margin-top: 10px;
}
.widget-search-row .wsr-line { flex: 1; height: 1.5px; background: var(--navy-600); border-radius: 99px; }
.widget-search-row .wsr-btn { width: 20px; height: 20px; border-radius: 50%; background: var(--vine-600); flex-shrink: 0; }

/* Split section — page embed mockup */
.page-embed-search {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: var(--navy-800);
  margin-bottom: 14px;
}
.page-embed-search .pes-text { flex: 1; font-size: 0.76rem; color: var(--text-muted); }
.page-embed-search .pes-btn { width: 24px; height: 24px; border-radius: 50%; background: var(--vine-600); flex-shrink: 0; }
.page-embed-cards { display: flex; flex-direction: column; gap: 7px; }
.pec {
  border-radius: var(--radius);
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.pec--best  { border-color: rgba(45,90,61,0.3); background: rgba(45,90,61,0.04); }
.pec--premium { border-color: rgba(155,123,42,0.25); background: rgba(155,123,42,0.04); }
.pec--sommelier { border-color: rgba(61,107,82,0.25); background: rgba(61,107,82,0.04); }
.pec-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vine-500); margin-bottom: 2px; }
.pec--premium .pec-label { color: #9B7B2A; }
.pec--sommelier .pec-label { color: var(--vine-400); }
.pec-name { font-size: 0.78rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.pec-note { font-size: 0.66rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip .split-visual { order: 0; }
}

/* ═══ EMAIL CAPTURE ══════════════════════════════════════════════════════════ */
.email-capture { max-width: 500px; }
.email-capture-form { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.email-capture-input {
  flex: 1; min-width: 200px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.875rem;
  transition: border-color var(--t);
}
.email-capture-input:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); }
.email-capture-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-note { font-size: 0.75rem; color: rgba(255, 255, 255, 0.38); margin-top: 2px; }
/* Light section variant (hero on cream background) */
.hero .email-capture-input {
  border-color: var(--border-light-mid);
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}
.hero .email-capture-input:focus { border-color: var(--vine-500); box-shadow: 0 0 0 3px rgba(61, 107, 82, 0.15); }
.hero .email-capture-input::placeholder { color: var(--text-soft); }
.hero .form-note { color: var(--text-soft); }

/* ═══ CTA SECTION ════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 96px 0;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner .h1 { margin-bottom: 16px; }
.cta-inner .section-subtitle { margin: 0 auto 40px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ PAGE HEADER ════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 120px 0 64px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 29, 62, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 29, 62, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin: 12px 0 16px; color: var(--text-dark); }
.page-hero .h0 { color: var(--text-dark); }
.page-hero p { color: var(--text-body); font-size: 1.05rem; line-height: 1.75; max-width: 520px; }

/* ═══ DEMO PAGE ══════════════════════════════════════════════════════════════ */
.demo-wrapper {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border-light);
}
.demo-topbar-dots { display: flex; gap: 6px; }
.demo-topbar-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-light-mid); }
.demo-topbar-url {
  font-size: 0.73rem;
  color: var(--text-soft);
  background: var(--white);
  padding: 4px 14px;
  border-radius: 99px;
  border: 1px solid var(--border-light);
}
.demo-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: rgba(45, 90, 61, 0.05);
  border-bottom: 1px solid rgba(45, 90, 61, 0.12);
  font-size: 0.78rem;
  color: var(--vine-700);
}
.demo-notice-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--vine-600); flex-shrink: 0; }
.demo-body { padding: 32px; }
.demo-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.demo-title { font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.mode-tabs {
  display: flex;
  gap: 2px;
  background: var(--cream-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 3px;
}
.mode-tab {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--t);
}
.mode-tab.active { background: var(--vine-600); color: var(--white); }
.demo-panel { display: none; }
.demo-panel.active { display: block; }

/* Browse panel */
.browse-filter-row { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.bfchip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-secondary);
  cursor: default;
}
.bfchip.on { border-color: var(--vine-600); color: var(--vine-500); background: rgba(45,90,61,0.08); }
.demo-wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dwc {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--t);
}
.dwc:hover { box-shadow: var(--shadow-sm); }
.dwc-img {
  height: 80px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.dwc-bottle { width: 10px; height: 50px; background: var(--vine-400); border-radius: 3px; }
.dwc-info { padding: 10px 12px 12px; }
.dwc-name { font-size: 0.73rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.dwc-vintage { font-size: 0.66rem; color: var(--text-soft); margin-bottom: 8px; }
.dwc-foot { display: flex; align-items: center; justify-content: space-between; }
.dwc-price { font-size: 0.78rem; font-weight: 700; color: var(--text-dark); }
.dwc-btn {
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(45,90,61,0.12);
  color: var(--vine-600);
  border: 1px solid rgba(45,90,61,0.2);
}

.demo-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--border-light-mid);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.demo-search-text { flex: 1; font-size: 0.9rem; color: var(--text-dark); font-style: italic; }
.demo-search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--vine-600);
  flex-shrink: 0;
}
  background: var(--blue-600);
  flex-shrink: 0;
}
.demo-recs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* — Recommendation cards: winery-style, clean white — */
.drec {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
  box-shadow: var(--shadow-sm);
}
.drec:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.drec--best      { border-top: 3px solid var(--vine-600); }
.drec--premium   { border-top: 3px solid #9B7B2A; }
.drec--sommelier { border-top: 3px solid var(--vine-400); }
.drec-label {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vine-600);
  padding: 14px 18px 0;
}
.drec--premium .drec-label { color: #9B7B2A; }
.drec--sommelier .drec-label { color: var(--vine-500); }
/* Bottle image zone */
.drec-bottle {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: var(--cream);
  padding: 18px 0 12px;
  margin: 8px 0 0;
}
.drec-bottle img {
  height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}
/* Card body */
.drec-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.drec-name {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.25;
}
.drec-vintage { font-size: 0.73rem; color: var(--text-soft); }
.drec-price { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.drec-note {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
  margin-top: 2px;
}
.drec-foot { padding: 0 18px 16px; margin-top: auto; }
.drec-add {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--vine-600);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.drec-add:hover { background: var(--vine-500); transform: translateY(-1px); }
@media (max-width: 860px) {
  .demo-recs-grid { grid-template-columns: 1fr; }
}

/* Sommelier panel */
.demo-chat { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.dc-msg {
  max-width: 76%;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  line-height: 1.55;
}
.dc-msg--u { align-self: flex-end; background: var(--blue-600); color: var(--white); border-radius: var(--radius) var(--radius) 2px var(--radius); }
.dc-msg--b { background: var(--navy-700); border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--radius) var(--radius) var(--radius) 2px; }
.dc-reco {
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: rgba(37,99,235,0.05);
  margin-top: 4px;
}
.dc-reco-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.dc-reco-name { font-size: 0.86rem; font-weight: 600; color: var(--white); }
.dc-reco-price { font-size: 0.82rem; font-weight: 700; color: var(--blue-300); }
.dc-reco-note { font-size: 0.77rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.dc-match { display: flex; align-items: center; gap: 9px; }
.dc-bar-bg { flex: 1; height: 3px; border-radius: 99px; background: var(--navy-600); overflow: hidden; }
.dc-bar { height: 100%; width: 88%; background: var(--blue-400); border-radius: 99px; }
.dc-pct { font-size: 0.7rem; font-weight: 700; color: var(--blue-300); }
.demo-input-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--navy-900);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  margin-top: 16px;
  max-width: 560px;
}
.demo-input-text { flex: 1; font-size: 0.82rem; color: var(--text-muted); }
.demo-input-send {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--blue-500);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.demo-coming {
  text-align: center;
  padding: 24px;
  margin-top: 20px;
  border: 1px dashed var(--border-light-mid);
  border-radius: var(--radius-lg);
}
.demo-coming p { font-size: 0.82rem; color: var(--text-body); }
.demo-coming strong { color: var(--text-dark); }

/* ═══ FAQ ════════════════════════════════════════════════════════════════════ */
.faq-wrap { max-width: 700px; margin: 0 auto; }
.faq-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vine-600);
  display: block;
  padding: 48px 0 8px;
  border-bottom: 1px solid var(--border-light);
}
.faq-section-label:first-child { padding-top: 0; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  transition: color var(--t);
}
.faq-q:hover { color: var(--navy-900); }
.faq-ico { position: relative; width: 16px; height: 16px; flex-shrink: 0; margin-left: 16px; }
.faq-ico::before, .faq-ico::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--border-light-mid);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.faq-ico::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-ico::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.open .faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-out); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding-bottom: 20px; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; }
.faq-a-inner strong { color: var(--text-primary); }

/* ═══ CONTACT ════════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-side { position: sticky; top: 88px; }
.contact-side h2 { margin-bottom: 14px; }
.contact-side p { font-size: 0.9rem; color: var(--text-body); line-height: 1.75; margin-bottom: 32px; }
.contact-detail { padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.contact-detail:last-child { border-bottom: none; }
.detail-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); margin-bottom: 4px; }
.detail-value { font-size: 0.88rem; font-weight: 500; color: var(--text-dark); }
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.76rem; font-weight: 600; color: var(--text-body); margin-bottom: 7px; letter-spacing: 0.03em; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light-mid);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font);
  font-size: 0.875rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control::placeholder { color: var(--text-soft); }
.form-control:focus { outline: none; border-color: var(--vine-500); box-shadow: 0 0 0 3px rgba(61, 107, 82, 0.18); }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; }
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-side { position: static; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══ PARTNER ════════════════════════════════════════════════════════════════ */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--cream-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.partner-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vine-500); }
.partner-badge-text { font-size: 0.8rem; font-weight: 500; color: var(--text-body); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.tech-item { padding: 32px; background: var(--white); transition: background var(--t); }
.tech-item:hover { background: var(--cream); }
.tech-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--vine-600); margin-bottom: 8px; }
.tech-item h3 { margin-bottom: 8px; color: var(--text-dark); }
.tech-item p { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; }
@media (max-width: 640px) { .tech-grid { grid-template-columns: 1fr; } }

/* ═══ BLOG ═══════════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.blog-card {
  background: var(--white);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: background var(--t);
}
.blog-card:hover { background: var(--cream); }
.blog-meta { font-size: 0.7rem; color: var(--text-soft); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.blog-card-excerpt { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.blog-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vine-600);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t);
}
.blog-card:hover .blog-link { gap: 10px; }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } }

/* Article */
.article-header {
  padding: 120px 0 48px;
  background: var(--cream);
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,29,62,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,29,62,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.article-header-inner { position: relative; z-index: 1; max-width: 720px; }
.article-header h1 { margin: 12px 0 16px; color: var(--text-dark); }
.article-meta-line { font-size: 0.76rem; color: var(--text-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.article-body { max-width: 720px; margin: 0 auto; padding: 60px 28px 96px; }
.article-body h2 { font-size: 1.4rem; font-weight: 600; color: var(--text-dark); margin: 48px 0 16px; letter-spacing: -0.02em; }
.article-body h3 { font-size: 1.07rem; font-weight: 600; color: var(--text-dark); margin: 36px 0 12px; }
.article-body p { font-size: 1rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.article-body li { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; display: flex; align-items: baseline; gap: 12px; }
.article-body ul li::before { content: ''; flex-shrink: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--vine-600); margin-top: 9px; }
.article-body ol { counter-reset: oc; }
.article-body ol li { counter-increment: oc; }
.article-body ol li::before { content: counter(oc); flex-shrink: 0; width: 20px; font-size: 0.74rem; font-weight: 700; color: var(--vine-600); }
.article-body strong { color: var(--text-dark); font-weight: 600; }
.article-body blockquote { border-left: 3px solid var(--vine-600); padding: 4px 20px; margin: 28px 0; color: var(--text-body); font-size: 1.02rem; }
.article-cta-box {
  margin-top: 56px;
  padding: 36px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  text-align: center;
}
.article-cta-box h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 10px; }
.article-cta-box p { font-size: 0.88rem; color: var(--text-body); margin-bottom: 20px; }

/* ═══ FOOTER ═════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--cream-dark);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}
.footer-brand { max-width: 280px; }
.footer-brand .navbar-brand { margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 0.83rem; color: var(--text-body); line-height: 1.7; }
.footer-col h5 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.84rem; color: var(--text-body); transition: color var(--t); }
.footer-col ul a:hover { color: var(--text-dark); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.75rem;
  color: var(--text-soft);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; max-width: none; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ═══ 404 ════════════════════════════════════════════════════════════════════ */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px; }
.error-code { font-size: 7rem; font-weight: 700; letter-spacing: -0.05em; color: var(--border-light-mid); line-height: 1; margin-bottom: 16px; }
.error-page h2 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text-dark); }
.error-page p { color: var(--text-body); margin-bottom: 32px; }

/* ═══ RESPONSIVE ═════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .container { padding: 0 20px; }
}
