/* ============================================
   Emerald Assurance Life and Health
   Design system: Manrope, emerald/deep-green/gold
   ============================================ */

:root {
  /* Brand hex values exactly as specified */
  --brand-emerald: #1B8A5A;      /* large text, logo, decorative use (3:1 contrast on white) */
  --brand-deep-green: #0F3D2E;   /* dark sections, footer, reversed panels */
  --brand-gold: #C89B3C;         /* single accent: dividers, icon facets, small highlights */
  --brand-tint: #EAF1EC;         /* section background */
  --brand-white: #FFFFFF;
  --brand-ink: #141413;          /* body text */

  /* Derived, accessibility-safe variants for body-scale text/interactive elements */
  --color-primary: #14724C;      /* buttons, links, small text on light backgrounds: 5.3:1+ with white text */
  --color-primary-dark: #0F5B3C;
  --text-muted: #4B5B54;         /* secondary text on light backgrounds: 7.1:1 */

  --color-focus-ring: #0F3D2E;
  --color-focus-ring-on-dark: #C89B3C;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;

  --max-w: 1280px;

  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-serif: 'Bodoni Moda', 'Playfair Display', Georgia, serif;

  /* Dark "gallery" canvas: surface steps replace drop-shadows for elevation,
     inspired by Origin Financial / Slash's obsidian-to-graphite surface stacks */
  --canvas: var(--brand-deep-green);
  --canvas-raised: #17493A;
  --canvas-raised-2: #1E5745;
  --hairline-on-dark: rgba(255, 255, 255, 0.14);
  --hairline-on-dark-soft: rgba(255, 255, 255, 0.08);
  --text-on-dark: #F4F1E8;
  --text-on-dark-muted: #AEC4B8;

  /* Warm paper fill: the single high-contrast action reserved for dark canvases */
  --on-dark-action-bg: #F4F1E8;
  --on-dark-action-text: var(--brand-deep-green);

  --hairline: rgba(15, 61, 46, 0.14);
  --hairline-soft: rgba(15, 61, 46, 0.08);

  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med: 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--brand-ink);
  background: var(--brand-white);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 var(--space-2);
  color: var(--brand-ink);
  letter-spacing: -0.01em;
}

/* Editorial serif reserved for a handful of "statement" headlines only
   (hero, problem, training, credibility, final CTA) — every other heading,
   nav item, button, and body of text stays in Manrope. */
.display-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-wrap: balance;
}
p { margin: 0 0 var(--space-2); }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; }

/* ---------- Focus & interaction ---------- */
a, button, input, select, summary, [tabindex] { cursor: pointer; }
input, select { cursor: text; }
select { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}
.dark :focus-visible,
.site-footer :focus-visible,
.final-cta :focus-visible {
  outline-color: var(--color-focus-ring-on-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-deep-green);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

.section {
  padding-block: var(--space-6);
}
@media (min-width: 1024px) {
  .section { padding-block: var(--space-7); }
}
.section.tint { background: var(--brand-tint); }
.section.dark {
  background: var(--canvas);
  color: var(--text-on-dark);
}
.section.dark h2, .section.dark h3 { color: var(--text-on-dark); }

/* Gold reserved as editorial punctuation for labels only, never buttons or
   large fills (mirrors Slash's "Copper" usage rule) */
.eyebrow {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7A5F22; /* darkened gold: 6:1 contrast on white, brand-gold reserved for dark canvases */
  margin-bottom: var(--space-1);
}
.section.dark .eyebrow,
.hero .eyebrow { color: var(--brand-gold); }

.body-lead {
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}
.section.dark .body-lead { color: var(--text-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 800;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:active { transform: none; }
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

/* On dark canvases, a same-hue button disappears against the background,
   so the primary action flips to a warm paper fill (Origin/Slash's
   "white-on-black is the only primary action" rule) */
.dark .btn-primary,
.final-cta .btn-primary {
  background: var(--on-dark-action-bg);
  color: var(--on-dark-action-text);
}
.dark .btn-primary:hover,
.final-cta .btn-primary:hover {
  background: #fff;
  color: var(--on-dark-action-text);
}

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--color-primary);
}
.btn-ghost:hover { background: rgba(20, 114, 76, 0.08); color: var(--color-primary-dark); }
.dark .btn-ghost,
.final-cta .btn-ghost { color: var(--text-on-dark); border-color: var(--hairline-on-dark); }
.dark .btn-ghost:hover,
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

.btn-large { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,61,46,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-emerald);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: #9C8347;
}
.brand-name--reversed { color: #FFFFFF; }
.brand-sub--reversed { color: #D9C387; }

/* ---------- Alt logo lockup (second option, user-supplied mark) ---------- */
.brand-mark--alt { width: 32px; height: 32px; }
.brand-name--alt {
  font-family: 'Baloo 2', var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}
.brand-sub--alt {
  font-family: 'Comfortaa', var(--font-sans);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}
.site-nav a {
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.site-nav a:hover { color: var(--color-primary); border-color: var(--brand-gold); }

@media (min-width: 1024px) {
  .site-nav { display: flex; }
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .btn-small { display: none; }
@media (min-width: 640px) {
  .header-actions .btn-small { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(15,61,46,0.18);
  border-radius: var(--radius-sm);
  color: var(--brand-ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(15,61,46,0.08);
  background: #fff;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  color: var(--brand-ink);
  font-weight: 600;
  border-bottom: 1px solid rgba(15,61,46,0.06);
}
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Hero (dark gallery canvas) ---------- */
.hero {
  padding-top: var(--space-5);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15,61,46,0.90), rgba(15,61,46,0.97) 65%, var(--canvas) 100%),
    url('images/hero-atmosphere.jpg') center 38% / cover no-repeat;
  color: var(--text-on-dark);
}
.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding-bottom: var(--space-5);
}
@media (min-width: 1024px) {
  .hero { padding-top: var(--space-6); }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-6);
  }
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw + 1rem, 3.8rem);
  max-width: 15ch;
  color: var(--text-on-dark);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-on-dark-muted);
  max-width: 46ch;
  margin-bottom: var(--space-3);
}
.hero-sub--lead {
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: var(--space-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-panel { display: flex; justify-content: center; }
.hero-panel-card {
  background: var(--canvas-raised);
  color: var(--text-on-dark);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius);
  padding: var(--space-4);
  width: 100%;
  max-width: 360px;
  position: relative;
}
.hero-panel-label {
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D9C387;
  margin-bottom: var(--space-2);
}
.hero-panel-list { display: flex; flex-direction: column; gap: 0.65rem; }
.hero-panel-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}
.hero-panel-list .icon { width: 20px; height: 20px; color: var(--brand-gold); flex-shrink: 0; }
.hero-panel-foot {
  margin-top: var(--space-3);
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.stat-bar { border-top: 1px solid rgba(15,61,46,0.08); background: var(--brand-tint); }
.stat-bar-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding-block: var(--space-3);
}
@media (min-width: 768px) {
  .stat-bar-inner { grid-template-columns: repeat(4, 1fr); }
}
.stat-chip {
  text-align: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--brand-deep-green);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--hairline-soft);
}

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-6);
    align-items: start;
  }
}
.problem-fix {
  background: var(--brand-tint);
  border-left: 4px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-3);
}
.problem-fix h3 { color: var(--brand-deep-green); }
.problem-fix p { margin-bottom: 0; color: var(--brand-ink); }

/* ---------- Earnings potential ---------- */
.earnings-grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 1024px) {
  .earnings-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); }
}
.earnings-figure {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: #A87D2A; /* darkened gold: passes 3:1 large-text contrast on white, unlike brand-gold */
  margin-bottom: 0.25rem;
  line-height: 1;
}
.earnings-figure-label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
}
.earnings-copy h2 { margin-bottom: var(--space-2); }
.earnings-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
  margin-bottom: 0;
  max-width: 60ch;
}

/* ---------- Bento (What You Get) ---------- */
.bento-grid {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card--wide { grid-column: span 2; }
}
.bento-card {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.bento-card--wide {
  background: var(--canvas);
  border-color: var(--hairline-on-dark);
  color: var(--text-on-dark);
}
.bento-card--wide h3, .bento-card--wide p { color: var(--text-on-dark); }
.bento-card--wide .icon { color: var(--brand-gold); }
.icon-lg { width: 32px; height: 32px; margin-bottom: var(--space-2); color: var(--color-primary); }
.bento-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.bento-card p { margin-bottom: 0; color: var(--text-muted); }
.bento-card--wide p { color: var(--text-on-dark-muted); }

/* ---------- Comparison table ---------- */
.table-wrap { margin-top: var(--space-4); overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--hairline-soft); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: #fff;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(15,61,46,0.08);
}
.compare-table thead th {
  background: var(--brand-deep-green);
  color: #fff;
  font-weight: 800;
}
.compare-table tbody th { font-weight: 700; color: var(--brand-deep-green); background: var(--brand-tint); }
.compare-table tbody td:first-of-type { color: var(--text-muted); }
.compare-table tbody td:last-of-type { color: var(--color-primary-dark); font-weight: 700; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Persona cards ---------- */
.persona-row {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 900px) {
  .persona-row { grid-template-columns: repeat(3, 1fr); }
  .persona-card--offset { margin-top: var(--space-4); }
}
.persona-card {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  padding: var(--space-4);
  border-top: 4px solid var(--brand-emerald);
}
.persona-card h3 { font-size: 1.1rem; }
.persona-card p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Training ---------- */
.training-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 1024px) {
  .training-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: var(--space-6); }
}
.mentor-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.mentor-card {
  background: var(--canvas-raised);
  border: 1px solid var(--hairline-on-dark);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
}
.mentor-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(15,61,46,0.55), rgba(15,61,46,0.75)),
    url('images/mentor-bokeh.jpg') center / cover no-repeat;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.5rem;
  text-align: center;
  margin-bottom: var(--space-2);
}
.mentor-card h3 { font-size: 1rem; margin-bottom: 0.15rem; color: var(--text-on-dark); }
.mentor-role { color: var(--text-on-dark-muted); font-size: 0.85rem; margin-bottom: 0; }

/* ---------- How it works ---------- */
.steps {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.steps-item {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius);
  padding: var(--space-3);
  position: relative;
}
.steps-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-deep-green);
  color: var(--brand-gold);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.steps-item h3 { font-size: 1.05rem; }
.steps-item p { color: var(--text-muted); margin-bottom: 0; font-size: 0.92rem; }

/* ---------- Credibility ---------- */
#credibility.section.dark {
  background:
    linear-gradient(180deg, rgba(15,61,46,0.93), rgba(15,61,46,0.97)),
    url('images/vault-texture.jpg') center / cover no-repeat;
}
.credibility-grid {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .credibility-grid { grid-template-columns: repeat(3, 1fr); }
}
.credibility-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.credibility-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-gold);
  margin-bottom: 0.4rem;
}
.credibility-label { color: rgba(255,255,255,0.92); margin-bottom: 0.5rem; }
.credibility-caveat { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 0; }

/* ---------- FAQ / Accordion ---------- */
.faq-wrap { max-width: 820px; }
.accordion { margin-top: var(--space-4); border-top: 1px solid rgba(15,61,46,0.12); }
.accordion-item { border-bottom: 1px solid rgba(15,61,46,0.12); }
.accordion-item h3 { margin: 0; font-weight: 700; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.accordion-trigger::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .accordion-trigger::after { transition: none; }
}
.accordion-panel { padding: 0 0 1.25rem; max-width: 68ch; }
.accordion-panel p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--brand-deep-green);
  color: #fff;
  padding-block: var(--space-6);
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.8); margin-bottom: var(--space-3); }
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-deep-green);
  color: rgba(255,255,255,0.85);
  padding-top: var(--space-5);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact h3, .footer-social h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: #fff; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
}
.social-links a:hover { background: rgba(255,255,255,0.1); }
.footer-legal { padding-block: var(--space-4); font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-legal p { max-width: 90ch; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,61,46,0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  z-index: 1000;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  margin-block: var(--space-4);
  padding: var(--space-4);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15,61,46,0.14);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ink);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--brand-tint); }
.modal-body h2 { font-size: 1.4rem; padding-right: 2rem; }
.modal-sub { color: var(--text-muted); margin-bottom: var(--space-3); }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--space-2); }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field select {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(15,61,46,0.22);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brand-ink);
}
.field input:focus, .field select:focus { border-color: var(--color-primary); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: 0.82rem; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.modal-success { text-align: center; }
.success-icon { width: 56px; height: 56px; color: var(--color-primary); margin: 0 auto var(--space-2); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Icons default ---------- */
.icon { width: 22px; height: 22px; }
