/* ===== DESIGN TOKENS ===== */
:root, [data-theme="light"] {
  /* Custom earthy palette for Let's Go Little Explorers */
  --color-bg:              #fdf8f2;
  --color-surface:         #fff9f3;
  --color-surface-2:       #fffcf8;
  --color-surface-offset:  #f5ede0;
  --color-surface-offset-2:#ede2d0;
  --color-divider:         #e8d9c8;
  --color-border:          #d9c9b5;

  --color-text:            #2d1f0e;
  --color-text-muted:      #7a6450;
  --color-text-faint:      #b5a48e;
  --color-text-inverse:    #fdf8f2;

  /* Primary: Forest Green */
  --color-primary:         #3a7d44;
  --color-primary-hover:   #2d6135;
  --color-primary-active:  #1f4525;
  --color-primary-highlight: #d4e8d8;

  /* Accent: Warm Terracotta */
  --color-accent:          #c8572a;
  --color-accent-hover:    #a84420;
  --color-accent-highlight:#f5ddd4;

  /* Accent 2: Golden Yellow */
  --color-accent-gold:     #e8a020;
  --color-accent-gold-hover:#c8841a;
  --color-accent-gold-highlight: #faefd4;

  /* Accent 3: Sky Blue */
  --color-accent-sky:      #3b8fc4;
  --color-accent-sky-highlight: #d4eaf7;

  --radius-sm:   0.375rem;
  --radius-md:   0.625rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;
  --transition:  180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px rgba(45,31,14,0.08);
  --shadow-md: 0 4px 16px rgba(45,31,14,0.10);
  --shadow-lg: 0 12px 40px rgba(45,31,14,0.14);

  --content-default: 1140px;
  --content-narrow:  720px;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem;--space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem;--space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;  --space-24: 6rem;
  --space-32: 8rem;

  --font-display: 'Chillax', 'Georgia', serif;
  --font-body:    'Nunito', 'General Sans', sans-serif;
}

[data-theme="dark"] {
  --color-bg:              #1a1208;
  --color-surface:         #201608;
  --color-surface-2:       #251b0c;
  --color-surface-offset:  #1f1608;
  --color-surface-offset-2:#26190a;
  --color-divider:         #2e2010;
  --color-border:          #3d2d18;
  --color-text:            #f0e8da;
  --color-text-muted:      #a08870;
  --color-text-faint:      #6a5545;
  --color-text-inverse:    #1a1208;
  --color-primary:         #5aaa66;
  --color-primary-hover:   #48924f;
  --color-primary-active:  #347a3a;
  --color-primary-highlight:#1e3823;
  --color-accent:          #e87a50;
  --color-accent-hover:    #d4663a;
  --color-accent-highlight:#3d2018;
  --color-accent-gold:     #f0b840;
  --color-accent-gold-hover:#d8a030;
  --color-accent-gold-highlight:#3d3018;
  --color-accent-sky:      #60aad8;
  --color-accent-sky-highlight:#1a3045;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:#1a1208;--color-surface:#201608;--color-surface-2:#251b0c;
    --color-surface-offset:#1f1608;--color-surface-offset-2:#26190a;
    --color-divider:#2e2010;--color-border:#3d2d18;
    --color-text:#f0e8da;--color-text-muted:#a08870;--color-text-faint:#6a5545;
    --color-text-inverse:#1a1208;
    --color-primary:#5aaa66;--color-primary-hover:#48924f;--color-primary-active:#347a3a;
    --color-primary-highlight:#1e3823;
    --color-accent:#e87a50;--color-accent-hover:#d4663a;--color-accent-highlight:#3d2018;
    --color-accent-gold:#f0b840;--color-accent-gold-hover:#d8a030;--color-accent-gold-highlight:#3d3018;
    --color-accent-sky:#60aad8;--color-accent-sky-highlight:#1a3045;
    --shadow-sm:0 1px 3px rgba(0,0,0,0.3);--shadow-md:0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg:0 12px 40px rgba(0,0,0,0.5);
  }
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none; text-size-adjust: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}
body {
  min-height: 100dvh; line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}
img, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.2; }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }
a, button, [role="button"] {
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
}
:focus-visible { outline: 2.5px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-12));
}
.section-pad { padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }

/* ===== TYPOGRAPHY HELPERS ===== */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}
.section-title.centered { text-align: center; }
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-10);
}
.section-subtitle.centered { text-align: center; margin-inline: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 700;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-primary); color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-hero {
  background: var(--color-accent); color: #fff;
  border-color: var(--color-accent);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base); font-weight: 800;
  box-shadow: 0 4px 20px rgba(200,87,42,0.35);
}
.btn-hero:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,87,42,0.4); }
.btn-hero-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base); font-weight: 700;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: var(--space-6);
}
.logo {
  display: flex; align-items: center; gap: var(--space-3);
  text-decoration: none; color: var(--color-text); flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm); line-height: 1.25;
  color: var(--color-text-muted);
}
.logo-text strong { display: block; color: var(--color-primary); font-size: var(--text-base); }
.nav-links {
  display: flex; align-items: center; gap: var(--space-5); list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--color-text-muted);
  font-size: var(--text-sm); font-weight: 600;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
}
.nav-links a:hover { color: var(--color-primary); background: var(--color-primary-highlight); }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); }
.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
}
.theme-toggle:hover { color: var(--color-primary); background: var(--color-primary-highlight); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  background: var(--color-surface-offset); border-radius: var(--radius-md);
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text-muted); border-radius: 2px; transition: all 0.25s;
}
.nav-mobile {
  display: none; flex-direction: column; gap: var(--space-2);
  padding: var(--space-4); border-top: 1px solid var(--color-divider);
}
.nav-mobile a {
  text-decoration: none; color: var(--color-text);
  font-size: var(--text-base); font-weight: 600;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
}
.nav-mobile a:hover { background: var(--color-surface-offset); color: var(--color-primary); }
.nav-mobile.open { display: flex; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45,31,14,0.82) 0%,
    rgba(45,31,14,0.55) 50%,
    rgba(45,31,14,0.2) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding-block: clamp(var(--space-16), 12vw, var(--space-32));
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--space-6);
  max-width: 700px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(232,160,32,0.25); border: 1px solid rgba(232,160,32,0.5);
  color: var(--color-accent-gold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title-accent {
  color: var(--color-accent-gold);
  display: block;
}
.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.88);
  max-width: 52ch;
  line-height: 1.6;
}
.hero-cta-group {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
}
.hero-stats {
  display: flex; align-items: center; gap: var(--space-5);
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-accent-gold); line-height: 1; }
.stat-label { font-size: var(--text-xs); color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

@media (max-width: 640px) {
  .hero { min-height: 80vh; }
  .hero-content { align-items: center; text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .stat-divider { display: none; }
}

/* ===== SERIES SECTION ===== */
.series-intro { background: var(--color-bg); }
.series-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start; margin-top: var(--space-4);
}
.series-text p {
  color: var(--color-text-muted); margin-bottom: var(--space-5);
  line-height: 1.75; font-size: var(--text-base);
}
.series-text em { color: var(--color-primary); font-style: normal; font-weight: 700; }
.series-features { list-style: none; margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.series-features li { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.series-features li div { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.series-features li div strong { color: var(--color-text); font-size: var(--text-base); display: block; margin-bottom: 2px; }

/* Book Card */
.book-card.book-featured { background: var(--color-surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.book-cover {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d6135 100%);
  padding: var(--space-8); display: flex; justify-content: center;
}
.book-cover-inner {
  text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
}
.book-state-badge {
  background: var(--color-accent-gold); color: var(--color-text);
  padding: var(--space-1) var(--space-4); border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.book-icon { font-size: 3rem; }
.book-title-text {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  line-height: 1.2; color: #fff;
}
.book-edition { font-size: var(--text-sm); color: rgba(255,255,255,0.8); font-weight: 600; }
.book-info { padding: var(--space-6); }
.book-info h3 { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-2); }
.book-info p { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.book-tag {
  display: inline-block;
  padding: 2px 10px; border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}
.book-tag.available { background: var(--color-primary-highlight); color: var(--color-primary); }
.book-tag.upcoming { background: var(--color-accent-gold-highlight); color: var(--color-accent-gold-hover); }
.coming-soon-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-3); margin-top: var(--space-4);
}
.book-mini {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-4);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; text-align: center;
  color: var(--color-text-muted);
}
.book-mini span:first-child { font-size: 1.5rem; }

@media (max-width: 860px) {
  .series-grid { grid-template-columns: 1fr; }
}

/* ===== STATE TRACKER ===== */
.tracker-section { background: var(--color-surface-offset); }
.map-wrap {
  margin-block: var(--space-8);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.state-map { width: 100%; height: auto; }
.states-legend {
  display: flex; flex-wrap: wrap; gap: var(--space-6);
  justify-content: center; margin-bottom: var(--space-8);
}
.legend-item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-available { background: var(--color-primary); }
.dot-soon { background: var(--color-accent-gold); }
.dot-planned { background: var(--color-border); }
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-3);
}
.state-chip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1);
  font-size: var(--text-xs); font-weight: 700; text-align: center;
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
}
.state-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.state-chip .state-emoji { font-size: 1.25rem; }
.state-chip.available { border-color: var(--color-primary); background: var(--color-primary-highlight); color: var(--color-primary); }
.state-chip.soon { border-color: var(--color-accent-gold); background: var(--color-accent-gold-highlight); color: var(--color-accent-gold-hover); }

/* ===== MERCH ===== */
.merch-section { background: var(--color-bg); }
.merch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.merch-card {
  background: var(--color-surface); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.merch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.merch-img-wrap {
  height: 220px; display: flex; align-items: center; justify-content: center;
}
.merch-book { background: linear-gradient(135deg, #3a7d44 0%, #2d6135 100%); }
.merch-print { background: linear-gradient(135deg, #3b8fc4 0%, #2a7ab0 100%); }
.merch-journal { background: linear-gradient(135deg, #c8572a 0%, #a84420 100%); }

.merch-book-visual { display: flex; height: 160px; }
.merch-book-spine {
  width: 18px; background: rgba(0,0,0,0.25); flex-shrink: 0;
  border-radius: 2px 0 0 2px;
}
.merch-book-front {
  flex: 1; background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-left: none; border-radius: 0 6px 6px 0;
  padding: var(--space-4); color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
}
.merch-book-title { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; line-height: 1.2; }
.merch-book-state { font-size: 0.65rem; color: var(--color-accent-gold); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.merch-book-icon { font-size: 1.25rem; }

.merch-print-visual {
  width: 160px; height: 140px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.merch-print-inner { text-align: center; color: #fff; }
.merch-print-inner div:first-child { font-size: 2rem; margin-bottom: var(--space-2); }
.merch-print-text { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.merch-print-sub { font-size: 0.65rem; opacity: 0.8; margin-top: 4px; }

.merch-journal-visual {
  width: 120px; height: 150px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 4px 8px 8px 4px;
  display: flex; align-items: center; justify-content: center;
}
.merch-journal-inner { text-align: center; color: #fff; }
.merch-journal-inner div:first-child { font-size: 2rem; margin-bottom: var(--space-2); }
.merch-journal-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; line-height: 1.3; }

.merch-info { padding: var(--space-5) var(--space-6); }
.merch-info h3 { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-2); }
.merch-info p { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-4); line-height: 1.65; }
.merch-tag {
  display: inline-block;
  background: var(--color-surface-offset); color: var(--color-text-muted);
  padding: 2px 10px; border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}
.merch-price { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-primary); margin-bottom: var(--space-4); }

@media (max-width: 860px) { .merch-grid { grid-template-columns: 1fr; } }
@media (min-width: 580px) and (max-width: 860px) { .merch-grid { grid-template-columns: 1fr 1fr; } }

/* ===== AUTHOR ===== */
.author-section { background: var(--color-surface-offset); }
.author-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.author-img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.author-text-side p {
  color: var(--color-text-muted); margin-bottom: var(--space-5);
  line-height: 1.75;
}
.author-text-side em { color: var(--color-primary); font-style: normal; font-weight: 700; }
.author-quote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: var(--color-accent-highlight);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-accent);
  line-height: 1.5;
}

@media (max-width: 760px) { .author-grid { grid-template-columns: 1fr; } }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d6135 100%);
}
.newsletter-inner {
  max-width: var(--content-narrow); margin-inline: auto;
  text-align: center;
}
.newsletter-icon { font-size: 3rem; margin-bottom: var(--space-4); }
.newsletter-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl); font-weight: 700;
  color: #fff; margin-bottom: var(--space-3);
}
.newsletter-sub {
  font-size: var(--text-base); color: rgba(255,255,255,0.85);
  max-width: 52ch; margin-inline: auto; margin-bottom: var(--space-8);
  line-height: 1.65;
}
.newsletter-form { }
.form-row {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
  justify-content: center; margin-bottom: var(--space-4);
}
.form-input {
  flex: 1; min-width: 180px; max-width: 260px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: #fff; font-size: var(--text-sm); font-weight: 500;
  backdrop-filter: blur(4px);
}
.form-input::placeholder { color: rgba(255,255,255,0.65); }
.form-input:focus { outline: none; border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.2); }
.newsletter-form .btn-primary {
  background: var(--color-accent-gold); color: var(--color-text);
  border-color: var(--color-accent-gold); font-weight: 800;
  padding: var(--space-3) var(--space-8);
}
.newsletter-form .btn-primary:hover { background: var(--color-accent-gold-hover); border-color: var(--color-accent-gold-hover); }
.form-note { font-size: var(--text-xs); color: rgba(255,255,255,0.65); }
.newsletter-success {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg); padding: var(--space-5);
  color: #fff; font-weight: 700; font-size: var(--text-base);
}

/* ===== FOOTER ===== */
.footer { background: var(--color-text); color: var(--color-text-inverse); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--space-10); flex-wrap: wrap;
  padding-block: var(--space-12);
}
.footer-brand { max-width: 280px; }
.footer-brand .logo { color: var(--color-text-inverse); }
.footer-logo-text { color: rgba(255,255,255,0.7); }
.footer-logo-text strong { color: #fff; }
.footer-tagline { margin-top: var(--space-4); font-size: var(--text-sm); color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-links { display: flex; gap: var(--space-12); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col h4 { font-family: var(--font-display); font-size: var(--text-base); color: #fff; margin-bottom: var(--space-2); }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: var(--text-sm); font-weight: 500; }
.footer-col a:hover { color: var(--color-accent-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-5);
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); }
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.45); }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: var(--space-6); }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
}
