/* ==========================================================
   RiseEd Foundation — site styles
   Palette: deep navy + sunrise gold/orange on warm cream
   ========================================================== */

:root {
  --navy-900: #0B1C36;
  --navy-800: #13294B;
  --navy-700: #1F4275;
  --navy-100: #E6ECF5;
  --gold-500: #F2A541;
  --gold-600: #E8833A;
  --gold-100: #FDF0DC;
  --cream: #FBF7F0;
  --white: #FFFFFF;
  --ink: #1C2533;
  --muted: #5B6575;
  --line: #E4DDD0;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(11, 28, 54, .10);
  --shadow-lg: 0 20px 50px rgba(11, 28, 54, .18);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-700); }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy-800); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .8em;
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 6px 18px rgba(242,165,65,.35); }
.btn-primary:hover { background: var(--gold-600); color: var(--navy-900); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline-navy { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--navy-800); }
.brand-name span { color: var(--gold-600); }
.brand-sub { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--navy-800); font-weight: 500; font-size: .97rem;
}
.main-nav a:hover { background: var(--navy-100); color: var(--navy-800); }
.main-nav a[aria-current="page"] { color: var(--gold-600); font-weight: 600; }
.main-nav .nav-cta { background: var(--navy-800); color: var(--white); margin-left: 6px; }
.main-nav .nav-cta:hover { background: var(--navy-700); color: var(--white); }
.main-nav .nav-cta[aria-current="page"] { color: var(--gold-500); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy-800);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  color: var(--white);
  background: var(--navy-900) url("../images/hero.jpg") center right / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,28,54,.96) 0%, rgba(11,28,54,.86) 40%, rgba(11,28,54,.35) 75%, rgba(11,28,54,.15) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
}
.hero .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 90px; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold-500); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 560px; }
.hero .eyebrow { color: var(--gold-500); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

@media (max-width: 700px) {
  .hero { background-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(11,28,54,.78) 0%, rgba(11,28,54,.92) 100%); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: var(--white);
  background: var(--navy-800) center / cover no-repeat;
  padding: 110px 0 90px;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(11,28,54,.95) 0%, rgba(19,41,75,.82) 55%, rgba(19,41,75,.55) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.88); font-size: 1.18rem; max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: var(--gold-500); }

/* ---------- Highlight strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-800); font-size: .98rem; }
.strip .ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center;
}
.strip .ico svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .strip ul { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Stats / impact ---------- */
.impact {
  position: relative; color: var(--white);
  background: var(--navy-900) url("../images/storm-damage.jpg") center / cover no-repeat fixed;
}
@media (max-width: 900px), (hover: none) { .impact { background-attachment: scroll; } }
.impact::before { content: ""; position: absolute; inset: 0; background: rgba(11,28,54,.9); }
.impact .container { position: relative; z-index: 1; }
.impact h2 { color: var(--white); }
.impact .lead { color: rgba(255,255,255,.8); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.stat-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1;
  color: var(--gold-500); margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat p { color: rgba(255,255,255,.88); font-size: .98rem; margin: 0 0 12px; }
.stat cite { display: block; font-style: normal; font-size: .78rem; color: rgba(255,255,255,.55); }
.stat cite a { color: rgba(255,255,255,.7); }
.stat cite a:hover { color: var(--gold-500); }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats { grid-template-columns: 1fr; } }

.impact-quote {
  margin: 56px auto 0; max-width: 820px; text-align: center;
  font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-style: italic;
  color: var(--white); line-height: 1.4;
}
.impact-quote span { color: var(--gold-500); }

/* ---------- Disaster cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.img-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 360px; display: flex; align-items: flex-end;
  color: var(--white); box-shadow: var(--shadow);
}
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.img-card:hover img { transform: scale(1.05); }
.img-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,28,54,0) 30%, rgba(11,28,54,.92) 100%);
}
.img-card .body { position: relative; z-index: 2; padding: 28px; }
.img-card h3 { color: var(--white); margin-bottom: .3em; }
.img-card p { margin: 0; color: rgba(255,255,255,.85); font-size: .97rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split-media .badge {
  position: absolute; left: -22px; bottom: -22px;
  background: var(--gold-500); color: var(--navy-900);
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
  font-weight: 700; max-width: 240px; line-height: 1.3;
}
.split-media .badge small { display: block; font-weight: 500; font-size: .85rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .split-media .badge { left: 14px; bottom: -18px; }
}

.check-list { list-style: none; padding: 0; margin: 1.2em 0 1.6em; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8833A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; position: relative;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-500);
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  display: grid; place-items: center; margin-bottom: 20px;
}
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--white); border-radius: var(--radius-lg); padding: 30px 28px;
  border: 1px solid var(--line);
}
.feature .ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: var(--navy-100); color: var(--navy-800); display: grid; place-items: center;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.section-white .feature, .section-white .step { background: var(--cream); }

/* ---------- CTA cards ---------- */
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cta-card {
  border-radius: var(--radius-lg); padding: 44px 40px; position: relative; overflow: hidden;
}
.cta-card h3 { font-size: 1.8rem; }
.cta-card p { margin-bottom: 1.6em; }
.cta-card.navy { background: var(--navy-800); color: rgba(255,255,255,.88); }
.cta-card.navy h3 { color: var(--white); }
.cta-card.gold { background: var(--gold-500); color: var(--navy-900); }
.cta-card.gold h3 { color: var(--navy-900); }
.cta-card .deco { position: absolute; right: -30px; bottom: -30px; width: 170px; opacity: .12; }
@media (max-width: 860px) { .cta-pair { grid-template-columns: 1fr; } .cta-card { padding: 36px 28px; } }

/* ---------- Research / sources ---------- */
.research { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.research-item {
  background: var(--white); border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 28px;
}
.research-item strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--navy-800); display: block; line-height: 1.1; margin-bottom: 8px; }
.research-item p { margin: 0 0 10px; color: var(--ink); }
.research-item cite { font-style: normal; font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .research { grid-template-columns: 1fr; } }

.sources { font-size: .85rem; color: var(--muted); }
.sources ol { padding-left: 1.2em; }
.sources li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; padding: 0 24px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative;
  font-weight: 600; color: var(--navy-800); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--gold-600); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .form-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 44px 44px 40px; border: 1px solid var(--line);
}
@media (max-width: 600px) { .form-card { padding: 30px 22px; } }

fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
legend {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--navy-800);
  padding: 0; margin-bottom: 6px; display: flex; align-items: center; gap: 12px;
}
legend .n {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900);
  display: inline-grid; place-items: center; font-size: 1rem; font-family: var(--font-body); font-weight: 700;
}
.fieldset-note { color: var(--muted); font-size: .95rem; margin: 0 0 22px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.field label, .group-label {
  display: block; font-weight: 600; font-size: .93rem; color: var(--navy-800); margin-bottom: 6px;
}
.req { color: var(--gold-600); }
.optional { color: var(--muted); font-weight: 400; font-size: .85rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #D6CFC2; border-radius: 10px; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313294B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(31,66,117,.15);
}
.hint { font-size: .84rem; color: var(--muted); margin-top: 5px; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border: 1.5px solid #D6CFC2; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .96rem;
  background: var(--white); transition: all .15s; user-select: none;
}
.choice span:hover { border-color: var(--navy-700); }
.choice input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31,66,117,.2); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; margin-bottom: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy-800); }

.group-error { color: #B42318; font-size: .88rem; margin-top: 8px; display: none; }
.group-error.show { display: block; }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 10px; }
.form-submit .btn { font-size: 1.05rem; padding: 1em 2.2em; }
.form-submit small { color: var(--muted); }

.hidden-field { position: absolute; left: -9999px; }

.slot-box {
  margin-top: 20px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--gold-100); border: 1.5px solid var(--gold-500);
  display: flex; flex-direction: column; gap: 2px;
}
.slot-box[hidden] { display: none; }
.slot-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.slot-time { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--navy-800); }
.slot-note { font-size: .9rem; color: var(--muted); }

.minor-box { background: var(--navy-100); border-radius: var(--radius); padding: 20px 22px; }
.minor-box strong { color: var(--navy-800); }
.minor-box p { font-size: .93rem; color: var(--muted); margin: 4px 0 16px; }
[data-minor-fields][hidden] { display: none; }

.side-card {
  background: var(--navy-800); color: rgba(255,255,255,.88);
  border-radius: var(--radius-lg); padding: 32px 28px; position: sticky; top: 100px;
}
.side-card h3 { color: var(--white); }
.side-card ul { padding-left: 1.1em; margin: 0 0 1em; }
.side-card li { margin-bottom: 8px; }
.side-card a { color: var(--gold-500); }
.side-card .divider { height: 1px; background: rgba(255,255,255,.15); margin: 22px 0; }
@media (max-width: 980px) { .side-card { position: static; } }

/* ---------- Contact / donate ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; margin-bottom: 24px;
}
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row + .info-row { margin-top: 20px; }
.info-row .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center;
}
.info-row .ico svg { width: 22px; height: 22px; }
.info-row strong { display: block; color: var(--navy-800); }
.info-row a { word-break: break-word; }

.donate-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: rgba(255,255,255,.88); border-radius: var(--radius-lg); padding: 40px 34px; position: relative; overflow: hidden;
}
.donate-card h3 { color: var(--white); font-size: 1.7rem; }
.pill {
  display: inline-block; background: var(--gold-500); color: var(--navy-900);
  font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.donate-card .deco { position: absolute; right: -40px; top: -40px; width: 200px; opacity: .08; }

/* ---------- Thank you ---------- */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; padding: 120px 24px; }
.thanks img { width: 96px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: rgba(255,255,255,.55); }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.footer-about { max-width: 360px; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.5);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .img-card img, .btn { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Embedded Google Forms ---------- */
.form-embed { padding: 28px 20px 24px; }
.form-embed h2, .form-embed .fieldset-note { padding: 0 12px; }
.form-embed iframe { display: block; width: 100%; border: 0; border-radius: 10px; background: var(--white); }
.form-fallback { text-align: center; font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 600px) { .form-embed { padding: 16px 6px; } }
