/* Aura Advocacy: shared styles for the English and Spanish pages */
:root {
  /* Brand colors sampled from the Aura logo */
  --ink: #1f3a32;          /* deep green: headings, body text */
  --brand: #2f5246;        /* wordmark green: primary buttons */
  --sage: #82a192;         /* logo ring */
  --sage-300: #b5c8bd;     /* logo hands */
  --sage-100: #e3ebe6;
  --sage-50: #f2f6f3;
  --band: #4f7666;         /* testimonial band (white text passes AA) */
  --cream: #f7faf8;
  /* Secondary accent: dusty mist blue (pairs with sage, reads calm + trustworthy) */
  --blue: #7f9db3;         /* mid blue: icons, decorative strokes */
  --blue-deep: #3e6178;    /* text-safe blue (AA on white) */
  --blue-100: #e1eaf0;     /* tints, chips */
  --blue-50: #eef3f6;      /* section backgrounds */
  --glow: rgba(214,228,238,.9); /* soft blue-white light behind the orb */
  --muted: #4a5f57;
  --card: #ffffff;
  --line: #d6e1db;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(31,58,50,.06), 0 8px 24px rgba(31,58,50,.06);
  --serif: "Lora", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--sage-50); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.lead { color: var(--muted); font-size: 19px; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; display: grid; gap: 12px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 46px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #24423a; }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--cream); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(242,246,243,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink); padding: 8px 0; }
.nav-links a:hover { color: var(--sage); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 11vw, 132px) 0 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(255,255,255,.7), transparent 70%),
    radial-gradient(ellipse 50% 40% at 12% 18%, rgba(255,255,255,.9), transparent 70%),
    radial-gradient(ellipse 45% 35% at 88% 26%, rgba(255,255,255,.85), transparent 70%),
    linear-gradient(180deg, #c9dae5 0%, #dfe9ec 40%, #e6eee9 70%, var(--sage-50) 100%);
}
.hero-ring { position: absolute; left: 50%; top: 44px; width: min(760px, 120vw); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; border: 2px solid rgba(130,161,146,.45); border-bottom-color: transparent; border-left-color: rgba(130,161,146,.15); border-right-color: rgba(130,161,146,.15); pointer-events: none; }
.hero-orb { position: absolute; left: 50%; top: clamp(34px, 6vw, 72px); width: 22px; height: 22px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--sage-300)); box-shadow: 0 0 40px 18px var(--glow); pointer-events: none; }
.cloud { position: absolute; border-radius: 50%; background: #fff; filter: blur(40px); opacity: .7; pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 22px; justify-items: center; max-width: 1000px; margin-inline: auto; }
.hero h1 { font-size: clamp(38px, 5.8vw, 66px); font-weight: 300; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--brand); display: block; }
.hero .lead { max-width: 560px; color: #3c5249; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero-meadow { position: relative; margin-top: 64px; height: 150px; }
.hero-meadow svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.trust { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 8px 0 40px; color: var(--muted); font-weight: 500; font-size: 16px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* How it works: bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-size: 26px; }
.tile p { color: var(--muted); font-size: 17px; }
.tile-photo { grid-row: span 2; padding: 0; overflow: hidden; }
.tile-photo img { width: 100%; height: 380px; object-fit: cover; object-position: center 20%; }
.tile-photo .tile-body { padding: 24px 28px 28px; display: grid; gap: 8px; margin-top: auto; }
.step { width: 34px; height: 34px; border-radius: 50%; background: var(--sage-100); color: var(--brand); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.stats { display: flex; gap: 24px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.stat span { font-size: 15px; color: var(--muted); }
.big-stat { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 44px); line-height: 1.1; color: var(--brand); }
.tile-wide { grid-column: span 2; }
.tile-accent { background: var(--brand); color: #fff; }
.tile-accent p { color: #d9e6df; }
.tile-accent .step { background: rgba(255,255,255,.14); color: #fff; }

/* Testimonials */
.band { background: var(--band); color: #fff; }
.band .section-head h2 { color: #fff; }
.band .eyebrow { color: #d9e6df; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.quote { gap: 14px; }
.quote .avatar { width: 52px; height: 52px; }
.quote .avatar svg { width: 24px; height: 24px; }
.quote h3 { font-size: 24px; }
.quote p { color: var(--muted); font-size: 17px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-100); color: var(--brand); display: grid; place-items: center; font-weight: 600; flex: none; }

/* How we can help */
.help { background: var(--blue-50); }
.help-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: stretch; }
.help-list { background: var(--card); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.help-list button {
  text-align: left; background: none; border: 0; cursor: pointer; border-radius: 14px;
  padding: 14px 18px; min-height: 52px; font: 400 clamp(20px, 2vw, 24px)/1.25 var(--serif); color: #66786f;
  display: flex; align-items: center; gap: 12px; transition: background-color .2s, color .2s;
}
.help-list button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; flex: none; transition: background-color .2s; }
.help-list button:hover { color: var(--ink); background: var(--sage-50); }
.help-list button[aria-selected="true"] { color: var(--ink); background: var(--blue-100); }
.help-list button[aria-selected="true"]::before { background: var(--blue-deep); }
.help-panels { position: relative; border-radius: 24px; padding: clamp(28px, 4vw, 48px); color: #fff; display: flex; flex-direction: column; gap: 32px; overflow: hidden;
  background: linear-gradient(150deg, var(--blue-deep) 0%, #3a5d5a 55%, var(--brand) 100%); }
.help-panels::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); border-top-color: transparent; pointer-events: none; }
.help-panel { display: grid; gap: 18px; align-content: start; }
.help-panel[hidden] { display: none; }
.help-panel:focus-visible { outline-color: #fff; }
.help-kicker { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #c8d9e4; }
.help-panel h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.help-panel p:not(.help-kicker) { color: #dbe6ec; }
.help-panel ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.help-panel li { display: flex; gap: 12px; align-items: flex-start; color: #eef3f6; }
.help-panel li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 3px; border-radius: 50%;
  background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.help-cta { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }

/* Who qualifies */
.qualify-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.qualify-card { background: var(--card); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 20px; align-content: start; }
.qualify-card h3 { font-size: 26px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; margin-top: 1px;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5246' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.coverage { background: var(--blue-50); box-shadow: none; border: 1px solid var(--blue-100); }
.coverage p { color: var(--muted); font-size: 17px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--card); border: 1px solid var(--blue-100); color: var(--blue-deep); font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: 999px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-deep); font-weight: 600; text-decoration: none; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; }
.qualify-note { margin-top: 16px; background: var(--card); border-radius: 20px; padding: 20px 24px 20px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border: 1px solid var(--line); }

/* Our story */
.story-head { max-width: 860px; margin: 0 auto 56px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.story-head h2 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 300; }
.story-head h2 em { display: block; color: var(--brand); }
.story-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.story-body { display: grid; gap: 18px; color: var(--muted); max-width: 60ch; }
.story-open { font-family: var(--serif); font-size: 28px; color: var(--ink); line-height: 1.25; }
.story-card { background: var(--brand); color: #d9e6df; border-radius: 24px; padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; position: relative; overflow: hidden; }
.story-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); border-bottom-color: transparent; }
.story-card-kicker { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #b9cfc2; }
.story-card-quote { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.2; color: #fff; }
.story-card-close { color: #fff; font-weight: 600; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.story-close { max-width: 720px; margin: 64px auto 0; text-align: center; display: grid; gap: 28px; justify-items: center; color: var(--muted); }
.story-lines { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.35; color: var(--ink); }
.story-sign { display: grid; justify-items: center; gap: 12px; padding-top: 8px; }
.story-sign img { width: 120px; height: auto; }
.story-sign p { display: grid; gap: 4px; }
.story-sign span { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sage); }
.story-sign strong { font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--brand); }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; font-size: 18px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--sage); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
div.answer { display: grid; gap: 12px; }
.faq-group { font-size: 24px; margin: 20px 0 4px; }
.faq-group:first-child { margin-top: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info h2 { font-size: clamp(32px, 4.4vw, 46px); }
.info-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-list .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-100); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-list svg { width: 22px; height: 22px; }
.info-list small { display: block; color: var(--muted); font-size: 14px; }
.info-list a { font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
form.card { background: var(--card); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
/* Checkbox consent line */
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin: 2px 0 0; flex: none; accent-color: var(--brand); cursor: pointer; }
.check a { color: var(--brand); }
label { font-weight: 600; font-size: 16px; }
label .req { color: #a3412f; }
input, select, textarea {
  font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--sage-50);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%;
  transition: border-color .2s, background-color .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 3px rgba(130,161,146,.25); }
.field[data-error] input, .field[data-error] select { border-color: #a3412f; }
.error { color: #a3412f; font-size: 15px; display: none; }
.field[data-error] .error { display: block; }
.hint { font-size: 14px; color: var(--muted); }
.form-status { border-radius: 12px; padding: 14px 16px; display: none; font-weight: 500; }
.form-status.ok { display: block; background: #e5f0ea; color: #1f4d3c; }
.form-status.err { display: block; background: #f7e7e3; color: #7c2e20; }

/* Closing CTA */
.closing { border-radius: 28px; overflow: hidden; position: relative; text-align: center; padding: clamp(56px, 8vw, 96px) 24px;
  background:
    radial-gradient(ellipse 50% 60% at 50% 40%, rgba(255,255,255,.85), transparent 70%),
    linear-gradient(180deg, #cfdde6, #e6eee9); }
.closing h2 { font-size: clamp(32px, 4.6vw, 50px); }
.closing p { max-width: 520px; margin: 14px auto 28px; color: #3c5249; }

/* Footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(72px, 10vw, 120px); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.foot nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.legal { margin-top: 32px; font-size: 15px; color: var(--muted); display: grid; gap: 8px; }
.legal .emergency { color: var(--ink); }
.legal-links { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal-links a { color: var(--muted); display: inline-block; padding: 6px 0; }
.legal-links a:hover { color: var(--ink); }
form .hint a { color: var(--brand); }

/* Reveal (respects reduced motion) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav-links.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0; background: var(--sage-50); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-photo { grid-row: span 1; grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .tile-photo img { height: 100%; min-height: 300px; }
  .quotes { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .story-grid, .contact, .help-grid, .qualify-grid { grid-template-columns: 1fr; }
  .help-list { flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 14px; border-radius: 20px; }
  .help-list button { font: 600 16px/1.2 var(--sans); padding: 10px 16px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; }
  .help-list button::before { display: none; }
  .help-list button[aria-selected="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
  .story-body { max-width: none; }
}
@media (max-width: 600px) {
  .nav-cta .btn-primary { padding: 0 18px; font-size: 16px; white-space: nowrap; }
  .brand img { height: 48px; }
  .bento { grid-template-columns: 1fr; }
  .tile-photo, .tile-wide { grid-column: span 1; }
  .tile-photo { display: flex; }
  .tile-photo img { height: 320px; }
  .row { grid-template-columns: 1fr; }    .hero-meadow { height: 110px; margin-top: 40px; }
}

/* Language switch (English | Español) */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255,255,255,.6);
  color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.lang-switch:hover { border-color: var(--sage); background: #fff; }
.lang-switch svg { width: 18px; height: 18px; color: var(--blue-deep); flex: none; }
.lang-switch .short { display: none; }
@media (max-width: 600px) {
  .lang-switch { padding: 0 12px; }
  .lang-switch .full { display: none; }
  .lang-switch .short { display: inline; }
}
@media (max-width: 420px) { .nav-cta .btn-primary { display: none; } }
