/* Glucosol DE Advertorial – unique design, green palette, animations, SVG */

:root {
  --max-width: 900px;
  --color-bg: #f0fdf4;
  --color-bg-alt: #ecfdf5;
  --color-text: #052e16;
  --color-text-muted: #166534;
  --color-accent: #15803d;
  --color-accent-dark: #14532d;
  --color-accent-light: #22c55e;
  --color-accent-mint: #bbf7d0;
  --color-accent-pale: #dcfce7;
  --color-accent-hover: #16a34a;
  --color-cta-bg: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
  --color-cta-text: #fff;
  --color-border: #bbf7d0;
  --color-border-strong: #86efac;
  --color-disclosure-bg: #fef9c3;
  --color-callout-bg: #dcfce7;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --header-height: 56px;
  --shadow: 0 4px 14px rgba(21, 128, 61, 0.08);
  --shadow-green: 0 8px 24px rgba(21, 128, 61, 0.15);
  --shadow-modal: 0 20px 50px rgba(5, 46, 22, 0.2);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

/* ---- Keyframe animations ---- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse-soft {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.14; }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in {
  animation: fadeIn 0.7s var(--ease-out) forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s var(--ease-out) 0.15s forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.6s var(--ease-spring) 0.35s forwards;
  opacity: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Top disclosure ---- */
.banner-disclosure {
  background: var(--color-disclosure-bg);
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 2px solid var(--color-accent-mint);
}

.disclosure-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin-bottom: 0.25rem;
}

.disclosure-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ---- Header (sticky) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

.brand-link:hover {
  color: var(--color-accent);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.main-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.25s var(--ease-out);
}

.main-nav a:hover {
  color: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent);
  background: var(--color-accent-pale);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: var(--color-accent-mint);
}

.nav-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
  background: var(--color-accent-dark);
  box-shadow: 0 -6px 0 var(--color-accent-dark), 0 6px 0 var(--color-accent-dark);
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    display: none;
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
  }
}

/* ---- Main content ---- */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
  padding-bottom: 2rem;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  margin: -1rem -1rem 2rem;
  padding: 2rem 1rem 3rem;
  background: linear-gradient(165deg, #ecfdf5 0%, #d1fae5 25%, var(--color-accent-pale) 50%, #bbf7d0 80%, #dcfce7 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--color-accent);
}

.hero-shape {
  position: absolute;
  animation: float 8s var(--ease-out) infinite;
}

.hero-shape-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 260px;
  height: 260px;
  bottom: 20%;
  left: -80px;
  animation-delay: -3s;
  animation-duration: 10s;
}

.hero-shape-3 {
  width: 160px;
  height: 160px;
  top: 40%;
  right: 10%;
  animation-delay: -5s;
  animation-duration: 7s;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  color: var(--color-bg);
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.hero-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin: 0 0 0.5rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero-byline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
  font-weight: 500;
}

.hero-meta,
.hero-updated {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0 0 0.2rem;
  opacity: 0.9;
}

.hero-product-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-green);
  backdrop-filter: blur(10px);
}

.hero-product-visual {
  text-align: center;
}

/* Stage: area for product + soft spotlight so transparent product stands out */
.hero-product-stage {
  position: relative;
  display: inline-block;
  padding: 1.5rem;
}

/* Soft radial glow behind product (no circle frame – transparent BG visible) */
.hero-product-glow {
  position: absolute;
  inset: -15%;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    rgba(34, 197, 94, 0.25) 0%,
    rgba(187, 247, 208, 0.2) 35%,
    rgba(220, 252, 231, 0.1) 55%,
    transparent 75%
  );
  animation: pulse-soft 5s var(--ease-out) infinite;
  z-index: 0;
  pointer-events: none;
}

.hero-product-image-wrap {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.75rem;
  /* No solid background – transparent product image is the focus */
  animation: float 5s var(--ease-out) infinite;
}

.hero-product-visual img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  /* Floating shadow so product with transparent BG stands out */
  filter: drop-shadow(0 10px 20px rgba(5, 46, 22, 0.18)) drop-shadow(0 4px 12px rgba(21, 128, 61, 0.25));
}

.hero-product-info .product-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: var(--color-accent-mint);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.hero-product-info .product-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--color-accent-dark);
}

.hero-product-info .product-form {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  font-weight: 500;
}

.product-bullets {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.product-bullets li {
  margin-bottom: 0.4rem;
  color: var(--color-text);
  position: relative;
}

.product-bullets li::marker {
  color: var(--color-accent);
}

.price-widget {
  margin-bottom: 1.25rem;
}

.anchor-price {
  text-decoration: line-through;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-right: 0.5rem;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
}

.price-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0.35rem 0 0;
}

@media (min-width: 600px) {
  .hero {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: max(1rem, calc(50vw - var(--max-width) / 2));
    padding-right: max(1rem, calc(50vw - var(--max-width) / 2));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .hero-product-block {
    grid-template-columns: 280px 1fr;
  }
  .hero-product-stage {
    padding: 2rem;
  }
  .hero-product-image-wrap {
    padding: 1rem;
  }
  .hero-product-visual img {
    max-width: 300px;
  }
}

/* ---- CTA buttons (high-contrast, rounded) ---- */
.cta {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.cta-primary {
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.4);
  color: var(--color-cta-text);
}

.cta-secondary {
  background: #fff;
  color: var(--color-accent-dark);
  border: 2px solid var(--color-border-strong);
}

.cta-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.cta-inline-link {
  font-weight: 600;
  color: var(--color-accent-dark);
  transition: color 0.2s;
}

.cta-inline-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ---- TOC (sticky on desktop) ---- */
.toc {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--color-accent-pale) 100%);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}

.toc-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-accent-dark);
}

.toc-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  margin-bottom: 0.5rem;
  transition: transform 0.2s var(--ease-out);
}

.toc-list li:hover {
  transform: translateX(4px);
}

.toc-list a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.toc-list a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .main-content {
    display: block;
  }
}

/* ---- Sub-pages (about, contact, legal) ---- */
.page-inner {
  padding-top: 0.5rem;
}

.page-inner h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--color-accent-dark);
}

.page-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--color-accent-dark);
}

.page-inner ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.page-inner li {
  margin-bottom: 0.35rem;
}

/* Contact form */
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-accent-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form p {
  margin-bottom: 1rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
}

/* ---- Content sections ---- */
.content-section {
  margin-bottom: 2rem;
}

.content-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-top: 0.5rem;
  color: var(--color-accent-dark);
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: -0.5rem 0 1rem;
  font-weight: 500;
}

.content-section p {
  margin: 0 0 1rem;
}

.callout {
  background: var(--color-callout-bg);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  border: 2px solid var(--color-border);
  border-left-width: 4px;
  border-left-color: var(--color-accent);
}

.callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-accent-dark);
}

.callout p {
  margin: 0;
}

/* Food grid: 2 cols mobile, 4 cols desktop */
.product-grid-foods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.food-card {
  padding: 1.25rem;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.food-card:nth-child(1) { transition-delay: 0.05s; }
.food-card:nth-child(2) { transition-delay: 0.1s; }
.food-card:nth-child(3) { transition-delay: 0.15s; }
.food-card:nth-child(4) { transition-delay: 0.2s; }
.food-card:nth-child(5) { transition-delay: 0.25s; }
.food-card:nth-child(6) { transition-delay: 0.3s; }
.food-card:nth-child(7) { transition-delay: 0.35s; }
.food-card:nth-child(8) { transition-delay: 0.4s; }

.food-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-green);
}

.food-card-img {
  margin: -1.25rem -1.25rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-accent-pale);
}

.food-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.food-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-accent-dark);
}

.food-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.food-grid-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 1rem 0 !important;
}

.cta-inline {
  margin: 1rem 0 !important;
}

@media (min-width: 640px) {
  .product-grid-foods {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Feature list */
.feature-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

/* Ingredient cards */
.ingredient-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 500px) {
  .ingredient-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ingredient-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff 0%, var(--color-accent-pale) 100%);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.ingredient-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.ingredient-card-img {
  margin: -1.25rem -1.25rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-accent-pale);
}

.ingredient-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ingredient-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-accent-dark);
}

.ingredient-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.ingredient-disclaimer {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 1rem !important;
}

/* Steps list */
.steps-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
  list-style: none;
  counter-reset: step;
}

.steps-list > li {
  counter-increment: step;
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
}

.steps-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-accent-dark);
  font-family: var(--font-heading);
}

.steps-list p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Sticky CTA */
.sticky-cta-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, var(--color-accent-pale) 100%);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -8px 24px rgba(21, 128, 61, 0.15);
  z-index: 50;
  text-align: center;
}

.sticky-cta-wrap[aria-hidden="false"] {
  display: block;
}

.sticky-cta {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* ---- Reviews / Testimonials ---- */
.reviews-section {
  margin-bottom: 2.5rem;
  padding: 2rem 0;
  background: linear-gradient(180deg, var(--color-accent-pale) 0%, transparent 100%);
  border-radius: var(--radius-lg);
}

.reviews-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-accent-dark);
}

.reviews-disclaimer {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem !important;
  max-width: 640px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-accent-mint);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.review-text {
  margin: 0 0 0.75rem;
  padding-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
}

.review-author {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: normal;
}

.reviews-section .cta-inline {
  margin: 0 !important;
  text-align: center;
}

/* ---- FAQ ---- */
.faq-section {
  margin-bottom: 2rem;
}

.faq-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-accent-dark);
}

.faq-list {
  margin: 0 0 1.5rem;
  padding: 0;
}

.faq-list dt {
  margin: 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text);
  background: none;
  border: none;
  border-bottom: 2px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s, background 0.2s;
}

.faq-question:hover {
  color: var(--color-accent-dark);
  background: var(--color-accent-pale);
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: transform 0.3s var(--ease-spring);
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  margin: 0;
  padding: 0.75rem 0 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-border);
  background: var(--color-accent-pale);
}

.faq-answer[hidden] {
  display: none;
}

.faq-cta {
  margin: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(180deg, var(--color-accent-pale) 0%, #fff 30%);
  border-top: 2px solid var(--color-border);
  padding: 2rem 1rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.footer-column h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-accent-dark);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.35rem;
}

.footer-column a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-column a:hover {
  color: var(--color-accent-dark);
}

.footer-column p {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-disclosures {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-disclosures p {
  margin: 0 0 0.75rem;
}

.final-disclosure {
  font-style: italic;
  margin-top: 1rem !important;
}

.footer-copyright {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---- Modals (accessible, focus-trap-ready) ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal-backdrop.is-visible {
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal[aria-hidden="true"] {
  pointer-events: none;
  visibility: hidden;
}

.modal[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.modal-inner {
  background: #fff;
  max-width: 520px;
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-modal);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--color-accent-dark);
}

.modal-inner p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

.modal-close {
  display: block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-border);
  border: none;
  border-radius: var(--radius);
}

.modal-close:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 1rem;
  background: linear-gradient(180deg, var(--color-accent-pale) 0%, #fff 100%);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -8px 24px rgba(21, 128, 61, 0.12);
}

.cookie-banner[aria-hidden="true"] {
  display: none;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-banner-inner p {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.cookie-link {
  font-size: 0.875rem;
  color: var(--color-accent);
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}
