/* ============================================================
   Esperanzas Sobre Ruedas / Hope on Wheels — Canada POC
   Shared stylesheet for all 4 pages.

   Brand palette (pulled from moviendoesperanzas.org SVG fills):
     --red    #df0914  primary accent, CTAs
     --navy   #282e67  header/footer, headings, body accents
     --yellow #f2e502  small highlights ONLY (badges, underlines)
     white    #ffffff  body background
   ============================================================ */

:root {
  --red: #a6262b;
  --red-dark: #8a1f23;      /* hover state for red buttons */
  --navy: #282e67;
  --navy-dark: #1e2350;     /* footer / darker panels */
  --yellow: #f0b83a;        /* gold accents: badges, footer link hover */
  --highlight: #f0b83a;     /* bright gold for on-navy accents: headline marker stroke, hero kicker, active/hover nav links */
  --white: #ffffff;
  --off-white: #f6f7fb;     /* soft section backgrounds */
  --ink: #2b2d42;           /* body text */
  --ink-soft: #5a5d78;      /* secondary text */
  --line: #e3e5f0;          /* hairline borders */
  --radius: 12px;
  --shadow: 0 4px 18px rgba(40, 46, 103, 0.10);
  --shadow-lg: 0 10px 34px rgba(40, 46, 103, 0.16);
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Hero + placeholder patterns (themable) */
  --hero-overlay: rgba(40, 46, 103, 0.82);
  --hero-pattern-a: #3a4180;
  --hero-pattern-b: #333a74;
  --ph-tint: rgba(40, 46, 103, 0.14);
  --ph-a: #dfe2f0;
  --ph-b: #d3d7ea;
  --cta-glow: rgba(166, 38, 43, 0.45);
}

/* ------------------------------------------------------------
   "AME" THEME — POC demo toggle in the header.
   Copies the LIVE parent-site palette (moviendoesperanzas.org):
   orange #f8ad42 (buttons/accents, hover #e59d3d), forest green
   #4c7344 (secondary), white header with the full-colour logo,
   orange footer. Sampled from the parent site's computed CSS.
   The variable NAMES keep their "canada" meanings (--red = primary
   CTA colour, --navy = secondary/dark colour) so every component
   below re-skins automatically.
   ------------------------------------------------------------ */
:root[data-theme="ame"] {
  --red: #f8ad42;
  --red-dark: #e59d3d;
  --navy: #4c7344;
  --navy-dark: #3d5c37;
  --yellow: #f8ad42;
  --highlight: #f8ad42;
  --off-white: #f5f2ea;
  --ink: #333333;
  --ink-soft: #7a7a7a;
  --line: #e7e2d6;
  --shadow: 0 4px 18px rgba(60, 80, 50, 0.10);
  --shadow-lg: 0 10px 34px rgba(60, 80, 50, 0.16);
  --hero-overlay: rgba(76, 115, 68, 0.85);
  --hero-pattern-a: #557d4c;
  --hero-pattern-b: #4c7344;
  --ph-tint: rgba(76, 115, 68, 0.12);
  --ph-a: #ece7da;
  --ph-b: #e2dcc9;
  --cta-glow: rgba(248, 173, 66, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 3.5rem 0; }

.section-alt { background: var(--off-white); }

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}
.section-heading p { color: var(--ink-soft); margin-top: 0.6rem; }

/* Yellow highlight — used SPARINGLY per brand notes:
   a short hand-drawn-style underline behind a key word. */
.hl-yellow {
  background-image: linear-gradient(transparent 62%, var(--highlight) 62%, var(--highlight) 92%, transparent 92%);
  padding: 0 0.1em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: var(--red-dark); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }

/* ============================================================
   Header / Nav (navy, matches parent site footer treatment)
   ============================================================ */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.brand-logo { height: 46px; width: auto; flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: 0.98rem; white-space: nowrap; }
.brand-text small { font-size: 0.72rem; opacity: 0.75; letter-spacing: 0.04em; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: var(--white);
  width: 44px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile-first: nav is a dropdown panel under the header */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1.25rem 1.1rem;
  flex-direction: column;
  gap: 0.35rem;
}
.site-nav.open { display: flex; }

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.55rem 0.25rem;
  border-radius: 8px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--highlight); }
.site-nav a.active { color: var(--highlight); }

.site-nav .nav-donate {
  background: var(--red);
  color: var(--white);
  text-align: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  margin-top: 0.4rem;
}
.site-nav .nav-donate:hover { background: var(--red-dark); color: var(--white); }
/* Keep the Donate pill's text white even when it's the active page link */
.site-nav a.nav-donate.active { color: var(--white); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .site-nav .nav-donate { margin-top: 0; }
  .brand-logo { height: 54px; }
}

/* Floating/sticky Donate button — mobile only, per brief.
   Not included on donate.html (already there). */
.floating-donate {
  position: fixed;
  bottom: 1.1rem;
  right: 1.1rem;
  z-index: 60;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px var(--cta-glow);
}
.floating-donate:hover { background: var(--red-dark); }
@media (min-width: 768px) { .floating-donate { display: none; } }

/* ---------- Theme toggle (POC demo control, lives in the nav) ---------- */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-top: 0.6rem;
}
.theme-toggle button {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  cursor: pointer;
}
.theme-toggle button.active { background: var(--white); color: var(--navy); }
@media (min-width: 768px) {
  .theme-toggle { margin-top: 0; align-self: center; }
}

/* ---------- "AME" theme: white header + colour logo, like the parent site ---------- */

/* Logo swap: white logo for the navy header (canada), colour logo for
   the white header (ame). Both <img>s are in the markup; CSS picks one. */
.brand-logo--color { display: none; }
:root[data-theme="ame"] .brand-logo--white { display: none; }
:root[data-theme="ame"] .brand-logo--color { display: block; }
/* The colour logo includes the wordmark, so it's much wider than the
   white mark — cap its height so the header still fits on one line. */
:root[data-theme="ame"] .brand-logo--color { height: 40px; }
@media (min-width: 1000px) {
  :root[data-theme="ame"] .brand-logo--color { height: 48px; }
}
/* With the wide wordmark logo, the site name wraps to two short lines
   at every width so the 5-item nav always fits on one row. */
:root[data-theme="ame"] .brand-text strong {
  white-space: normal;
  font-size: 0.9rem;
  line-height: 1.15;
  max-width: 175px;
}
@media (max-width: 520px) {
  :root[data-theme="ame"] .brand-logo--color { height: 32px; }
}

:root[data-theme="ame"] .site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
:root[data-theme="ame"] .brand { color: var(--navy); }
:root[data-theme="ame"] .nav-toggle { border-color: rgba(76, 115, 68, 0.45); color: var(--navy); }
:root[data-theme="ame"] .site-nav { background: var(--white); border-top-color: var(--line); }
:root[data-theme="ame"] .site-nav a { color: var(--navy); }
:root[data-theme="ame"] .site-nav a:hover,
:root[data-theme="ame"] .site-nav a.active { color: var(--red-dark); }
:root[data-theme="ame"] .site-nav .nav-donate { background: var(--red); color: var(--white); }
:root[data-theme="ame"] .site-nav .nav-donate:hover { background: var(--red-dark); color: var(--white); }
:root[data-theme="ame"] .site-nav a.nav-donate.active { color: var(--white); }
:root[data-theme="ame"] .theme-toggle { border-color: rgba(76, 115, 68, 0.45); }
:root[data-theme="ame"] .theme-toggle button { color: var(--navy); }
:root[data-theme="ame"] .theme-toggle button.active { background: var(--navy); color: var(--white); }

/* Parent site's footer is orange with white text + white logo */
:root[data-theme="ame"] .site-footer { background: var(--red); color: var(--white); }
:root[data-theme="ame"] .site-footer a { color: var(--white); }
:root[data-theme="ame"] .site-footer a:hover { color: var(--navy-dark); }
:root[data-theme="ame"] .footer-bottom { border-top-color: rgba(255, 255, 255, 0.35); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    /* placeholder: replace with real hero photo (wheelchair recipient, joyful, outdoors) */
    repeating-linear-gradient(45deg, var(--hero-pattern-a) 0 22px, var(--hero-pattern-b) 22px 44px);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0 5rem;
}

.hero h1 { color: var(--white); max-width: 720px; margin: 0 auto 1rem; }

.hero .hero-sub {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  opacity: 0.94;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 1rem;
}

/* ============================================================
   Stat strip
   ============================================================ */

.stat-strip { background: var(--red); color: var(--white); padding: 2.4rem 0; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1rem;
  text-align: center;
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat .stat-number {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
}
.stat .stat-label { font-size: 0.92rem; opacity: 0.95; }

/* ============================================================
   Icon cards ("What a wheelchair means")
   ============================================================ */

.meaning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .meaning-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .meaning-grid { grid-template-columns: repeat(6, 1fr); } }

.meaning-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 0.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.meaning-card .icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.meaning-card .icon-wrap svg { width: 26px; height: 26px; }

.meaning-card h3 { font-size: 1rem; }

/* ============================================================
   Cards (stories, projects)
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

/* Photo placeholder block — replace with real <img> before launch */
.photo-placeholder {
  background:
    linear-gradient(var(--ph-tint), var(--ph-tint)),
    repeating-linear-gradient(-45deg, var(--ph-a) 0 18px, var(--ph-b) 18px 36px);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.photo-placeholder.wide { aspect-ratio: 16 / 7; }

.card-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 0.45rem; }
.card-meta { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 0.6rem; }
.card-body p { color: var(--ink-soft); font-size: 0.96rem; }
.card-body .card-cta { margin-top: auto; padding-top: 1rem; }

.text-link {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
}
.text-link:hover { text-decoration: underline; }

/* Small yellow badge, e.g. "Featured story" — sparing yellow accent */
.badge-yellow {
  display: inline-block;
  align-self: flex-start;   /* stay chip-sized inside flex card bodies */
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

/* ============================================================
   Featured story / split layout
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } }

.split .photo-placeholder { border-radius: var(--radius); }

/* ============================================================
   CTA bands
   ============================================================ */

.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-band p { max-width: 560px; margin: 0 auto 1.6rem; opacity: 0.92; }

/* Newsletter strip (Home + Donate) */
.newsletter-strip { background: var(--off-white); padding: 2.5rem 0; }

.newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
@media (min-width: 820px) {
  .newsletter-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.newsletter-copy h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.newsletter-copy p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.newsletter-form input[type="email"] {
  flex: 1 1 220px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
}
.newsletter-form input[type="email"]:focus { outline: 2px solid var(--navy); }

.form-confirm {
  display: none;
  background: #e8f6ec;
  border: 1px solid #b7e0c3;
  color: #1e6b34;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
}
.form-confirm.visible { display: block; }

/* ============================================================
   Stories page
   ============================================================ */

.page-hero {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3.2rem 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.7rem; }
.page-hero p { max-width: 620px; margin: 0 auto; opacity: 0.92; font-size: 1.08rem; }

/* Full-story modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 35, 80, 0.65);
  z-index: 100;
  padding: 1.25rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 680px;
  width: 100%;
  margin: 2.5rem auto;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal .photo-placeholder { aspect-ratio: 16 / 8; }
.modal-content { padding: 1.6rem 1.8rem 2rem; }
.modal-content h2 { margin-bottom: 0.25rem; }
.modal-content .card-meta { margin-bottom: 1rem; }

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 0.7rem 0.7rem 0 0;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { background: var(--red); }

body.modal-open { overflow: hidden; }

/* ============================================================
   Donate page
   ============================================================ */

/* Frequency toggle: One-Time vs Monthly */
.freq-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 4px;
  margin-top: 0.5rem;
}
.freq-toggle button {
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.98rem;
  background: transparent;
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
}
.freq-toggle button.active { background: var(--white); color: var(--navy); }

/* Amount selector */
.amount-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: -3.2rem auto 0;   /* overlaps hero bottom */
  position: relative;
  padding: 1.8rem 1.5rem 2rem;
  text-align: center;
}
.amount-panel h2 { font-size: 1.25rem; margin-bottom: 1.1rem; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .amount-grid { grid-template-columns: repeat(5, 1fr); } }

.amount-btn {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem 0.4rem;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.12s ease;
}
.amount-btn:hover { background: var(--off-white); }
.amount-btn.selected { background: var(--navy); color: var(--white); }

.other-amount-row { display: none; margin-bottom: 1rem; }
.other-amount-row.visible { display: flex; justify-content: center; gap: 0.5rem; }
.other-amount-row input {
  width: 160px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--navy);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.amount-blurb {
  min-height: 1.5em;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* Testimonial pull-quote */
.pull-quote {
  border-left: 5px solid var(--red);
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0 0;
  font-size: 1.12rem;
  font-style: italic;
  color: var(--navy);
}
.pull-quote cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink-soft);
}

/* Zeffy placeholder box */
.zeffy-box {
  border: 3px dashed var(--navy);
  border-radius: var(--radius);
  background: var(--off-white);
  padding: 2.2rem 1.6rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.zeffy-box h3 { margin-bottom: 0.5rem; }
.zeffy-box p { color: var(--ink-soft); font-size: 0.95rem; }
.zeffy-selection {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

/* Other ways to give */
.other-ways {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  background: var(--white);
  max-width: 720px;
  margin: 0 auto;
}
.other-ways h3 { margin-bottom: 0.4rem; }
.other-ways p { color: var(--ink-soft); font-size: 0.95rem; }

/* ============================================================
   Sign-up page form
   ============================================================ */

.signup-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.6rem;
  max-width: 560px;
  margin: 0 auto;
}

.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: 800; color: var(--navy); margin-bottom: 0.35rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1rem;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--navy); }
.form-field textarea { resize: vertical; min-height: 90px; }

.form-check { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.9rem; }
.form-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form-check label { font-weight: 700; color: var(--ink); }

/* ============================================================
   Footer (navy, mirrors parent site)
   ============================================================ */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-logo { height: 60px; width: auto; margin-bottom: 0.9rem; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.45rem; }

.footer-family-note { font-size: 0.9rem; opacity: 0.9; max-width: 340px; }
.footer-family-note a { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  font-size: 0.82rem;
  opacity: 0.7;
  text-align: center;
}
