:root {
  --blue: #0648a8;
  --blue-dark: #053884;
  --blue-deep: #032d73;
  --yellow: #ffd600;
  --yellow-dark: #efc900;
  --ink: #12315d;
  --muted: #617089;
  --line: #e7edf5;
  --surface: #f7f9fc;
  --white: #ffffff;
  --container: 1180px;
  --radius-sm: 12px;
  --radius: 20px;
  --shadow: 0 12px 36px rgba(16, 49, 93, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Inter", sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p, figure, blockquote { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.08; }
h2 { margin-bottom: 16px; color: var(--blue); font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; }
p { color: var(--muted); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 34px 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; color: var(--white); background: var(--blue); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.material-symbols-rounded { font-size: 1.2em; line-height: 1; font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24; }

.site-header { position: relative; z-index: 100; padding: 20px 0 8px; transition: padding .2s ease; }
.site-header.is-scrolled { padding-top: 8px; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 36px; padding: 10px 24px; background: rgba(255,255,255,.96); border: 1px solid rgba(231,237,245,.8); border-radius: 999px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.brand { flex: 0 0 auto; }
.brand-logo { width: 150px; height: 48px; object-fit: contain; filter: brightness(0) saturate(100%) invert(24%) sepia(96%) saturate(1975%) hue-rotate(207deg) brightness(84%) contrast(98%); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3vw, 42px); margin-left: auto; font-size: .9rem; font-weight: 700; }
.main-nav a { position: relative; padding: 12px 0; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--blue); }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; font-size: .85rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(6,72,168,.14); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid rgba(255,214,0,.7); outline-offset: 3px; }
.button-yellow { color: var(--blue-deep); background: var(--yellow); }
.button-yellow:hover { background: var(--yellow-dark); }
.button-outline { color: var(--blue); background: var(--white); border-color: var(--blue); }
.header-cta { flex: 0 0 auto; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }

.eyebrow { width: fit-content; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 6px 11px; color: var(--blue); background: rgba(255,214,0,.34); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.eyebrow-plain { padding: 0 0 0 12px; background: transparent; border-radius: 0; position: relative; color: #c29f00; }
.eyebrow-plain::before { content: ""; position: absolute; left: 0; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; }

.hero { padding: 12px 0 8px; overflow: hidden; }
.hero-grid { min-height: 570px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; }
.hero-copy { padding: 38px 0 18px; }
.hero h1 { max-width: 590px; margin-bottom: 18px; color: var(--blue); font-size: clamp(3.3rem, 6vw, 5.6rem); letter-spacing: -.065em; }
.hero h1 strong { display: block; color: var(--yellow); }
.hero-copy > p:not(.eyebrow) { max-width: 570px; font-size: 1.02rem; }
.hero-values { display: flex; gap: 34px; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-values li { display: flex; align-items: center; gap: 9px; color: var(--blue); }
.hero-values .material-symbols-rounded { font-size: 1.7rem; }
.hero-values small { color: var(--muted); font-weight: 600; line-height: 1.25; }
.hero-visual { min-height: 540px; position: relative; align-self: stretch; }
.hero-visual::after { content: ""; position: absolute; right: 3%; bottom: 2%; left: 8%; height: 34px; background: rgba(18,49,93,.12); filter: blur(22px); border-radius: 50%; z-index: -1; }
.hero-visual > img { width: 100%; height: 100%; max-height: 610px; object-fit: cover; object-position: center 30%; border-radius: 34px; }

.service-strip { padding: 0 0 34px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 20px; background: rgba(255,255,255,.92); border-radius: 26px; box-shadow: var(--shadow); }
.service-grid article { min-height: 170px; padding: 28px 22px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 20px rgba(16,49,93,.06); }
.service-grid .material-symbols-rounded { color: var(--blue); font-size: 2rem; }
.service-grid h3 { margin: 16px 0 10px; color: var(--blue); font-size: 1rem; }
.service-grid p { margin: 0; font-size: .78rem; line-height: 1.45; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 52px; }
.about-grid > div { padding: 22px 12px; }
.about-grid > div > p:not(.eyebrow) { max-width: 520px; }
.photo-frame { margin: 0; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo { height: 300px; }
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.stats-strip div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; }
.stats-strip .material-symbols-rounded { grid-row: 1 / 3; color: var(--blue); font-size: 2.3rem; }
.stats-strip strong { color: var(--blue); font: 800 1.7rem/1 "Manrope", sans-serif; }
.stats-strip small { color: var(--muted); }

.cause-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: stretch; }
.cause-photo { min-height: 500px; }
.cause-content { padding: 10px 0; }
.cause-content > p:not(.eyebrow) { max-width: 620px; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.policy-grid article { min-height: 190px; padding: 20px; color: var(--white); background: var(--blue); border-radius: 16px; }
.policy-grid b { color: var(--yellow); font-size: 1.2rem; }
.policy-grid h3 { margin: 30px 0 8px; font-size: .86rem; }
.policy-grid p { margin: 0; color: rgba(255,255,255,.78); font-size: .72rem; }
.results-callout { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 16px 18px; color: var(--white); background: var(--blue); border-radius: 14px; }
.results-callout strong { color: var(--yellow); }
.results-callout p { margin: 3px 0 0; color: rgba(255,255,255,.8); font-size: .74rem; }
.results-callout .button { min-height: 40px; padding: 8px 14px; font-size: .72rem; white-space: nowrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gallery-grid figure { height: 230px; }

.mission-card { min-height: 320px; display: grid; grid-template-columns: 1fr .75fr .95fr; align-items: center; gap: 22px; padding: 34px 42px; color: var(--white); background: var(--blue); border-radius: 22px; overflow: hidden; }
.mission-card h2 { margin-bottom: 16px; color: var(--white); font-size: clamp(2rem, 3vw, 3rem); }
.mission-card h2 strong { color: var(--yellow); }
.mission-copy p { max-width: 430px; color: rgba(255,255,255,.82); }
.mission-card figure { align-self: stretch; margin: -34px 0; }
.mission-card figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mission-card ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; font-weight: 700; }
.mission-card li { display: flex; align-items: center; gap: 11px; }
.mission-card li .material-symbols-rounded { color: var(--white); font-size: 1.6rem; }

.section-heading p { margin-bottom: 0; }
.section-heading.centered { display: grid; justify-items: center; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px; margin-top: 30px; }
.process-grid article { min-height: 205px; position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.process-grid article:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -31px; color: #a9bddc; font-size: 1.6rem; }
.process-grid b { position: absolute; top: 16px; left: 16px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--blue-deep); background: var(--yellow); border-radius: 50%; }
.process-grid .material-symbols-rounded { display: block; margin: 0 0 18px 34px; color: var(--blue); font-size: 2rem; }
.process-grid h3 { color: var(--blue); font-size: 1rem; }
.process-grid p { margin: 0; font-size: .75rem; }

.testimonials-layout { display: grid; grid-template-columns: 1fr 350px; gap: 26px; align-items: end; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.testimonial-grid blockquote { display: flex; flex-direction: column; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.testimonial-grid blockquote > p { min-height: 68px; margin: 0 0 16px; font-size: .82rem; }
.testimonial-grid footer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testimonial-grid footer div { display: grid; }
.testimonial-grid footer small { color: var(--muted); }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-weight: 800; }
.support-card { min-height: 230px; display: flex; flex-direction: column; justify-content: center; padding: 34px; color: var(--white); background: var(--blue); border-radius: 18px; }
.support-card p { margin: 0; color: var(--yellow); font-weight: 700; }
.support-card h3 { margin: 8px 0 24px; font-size: 1.45rem; }
.support-card .button { align-self: flex-start; }

.signup-card { min-height: 390px; display: grid; grid-template-columns: 1.15fr .85fr; color: var(--white); background: var(--blue); border-radius: 22px; overflow: hidden; }
.signup-content { padding: 38px 44px; }
.signup-content h2 { color: var(--white); }
.signup-content h2 strong { color: var(--yellow); }
.signup-content > p { color: rgba(255,255,255,.82); }
.signup-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-field input { width: 100%; height: 48px; padding: 0 14px; color: var(--ink); background: var(--white); border: 1px solid transparent; border-radius: 8px; }
.form-field input[aria-invalid="true"] { border-color: #ff7676; }
.field-error { display: block; min-height: 15px; color: #ffd5d5; font-size: .7rem; }
.consent-field { margin: 4px 0 12px; }
.consent { display: flex; align-items: center; gap: 8px; font-size: .76rem; }
.consent input { accent-color: var(--yellow); }
.form-actions { display: flex; justify-content: flex-end; }
.form-message { min-height: 22px; margin: 10px 0 0; color: var(--white); font-size: .82rem; }
.form-message-error { color: #ffd0d0; }
.form-message-success { color: #c9ffd4; }
.honeypot, .submission-frame { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.signup-photo { margin: 0; min-height: 390px; }
.signup-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.faq-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 16px rgba(16,49,93,.05); overflow: hidden; }
.faq-list summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::after { content: "⌄"; color: var(--blue); font-size: 1.3rem; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { padding: 0 18px 16px; margin: 0; font-size: .86rem; }
.faq-aside { position: relative; min-height: 470px; padding-right: 68px; }
.faq-aside figure { height: 100%; }
.contact-card { position: absolute; right: 0; bottom: 26px; width: 230px; padding: 22px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 6px; color: var(--blue); }
.contact-card p { margin-bottom: 16px; font-size: .82rem; }
.contact-card .button { padding-inline: 14px; font-size: .75rem; }

.site-footer { margin-top: 24px; color: var(--white); background: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr 1fr; gap: 48px; padding: 42px 0; }
.footer-logo { width: 165px; height: auto; margin-bottom: 18px; }
.footer-grid p, .footer-grid a, .footer-grid span { color: rgba(255,255,255,.78); font-size: .78rem; font-style: normal; }
.footer-grid h3 { margin-bottom: 14px; color: var(--yellow); font-size: .9rem; }
.footer-grid nav, .footer-grid address { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { color: var(--blue-deep); background: var(--yellow); }
.footer-bottom .container { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .72rem; }

/* Página de confirmação */
.thank-you-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--surface); }
.thank-you-header .header-inner { justify-content: space-between; }
.thank-you-main { flex: 1; display: grid; align-items: center; padding: 64px 0; }
.thank-you-card { min-height: 560px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; overflow: hidden; background: var(--white); border-radius: 28px; box-shadow: var(--shadow); }
.thank-you-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.thank-you-copy h1 { max-width: 650px; margin-bottom: 22px; color: var(--blue); font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -.055em; }
.thank-you-copy h1 strong { display: block; color: var(--yellow-dark); }
.thank-you-copy > p:not(.eyebrow) { max-width: 590px; font-size: 1.02rem; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.thank-you-photo { min-height: 560px; margin: 0; background: var(--white); }
.thank-you-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.thank-you-footer { margin-top: 0; }
.thank-you-footer-inner { min-height: 140px; display: flex; align-items: center; gap: 40px; }
.thank-you-footer-inner .footer-logo { margin: 0 auto 0 0; }
.thank-you-footer-inner p { margin: 0; color: rgba(255,255,255,.78); font-size: .8rem; }
.thank-you-footer-inner nav { display: flex; gap: 22px; font-size: .8rem; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 16px; font-size: .8rem; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3rem, 7vw, 4.6rem); }
  .service-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article::after { display: none; }
  .mission-card { grid-template-columns: 1fr .8fr; }
  .mission-card ul { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .testimonials-layout { grid-template-columns: 1fr; }
  .support-card { min-height: 180px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 28px 0; }
  .site-header { padding-top: 10px; }
  .header-inner { min-height: 64px; padding: 8px 14px; border-radius: 18px; }
  .brand-logo { width: 130px; height: 42px; }
  .menu-button { display: block; margin-left: auto; }
  .main-nav { position: absolute; top: 78px; right: 14px; left: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav a::after { display: none; }
  .hero-grid, .about-grid, .cause-grid, .faq-grid, .signup-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 10px; }
  .hero-copy { padding-top: 30px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-values { gap: 18px; overflow-x: auto; }
  .hero-values li { min-width: 145px; }
  .hero-visual { min-height: 440px; }
  .hero-visual > img { max-height: 480px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); padding: 12px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .cause-photo { min-height: 440px; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-grid article { min-height: 150px; }
  .policy-grid h3 { margin-top: 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure { height: 260px; }
  .mission-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .mission-card figure { min-height: 300px; margin: 0; }
  .mission-card ul { grid-column: auto; grid-template-columns: 1fr; }
  .signup-content { padding: 30px 22px; }
  .signup-photo { min-height: 340px; order: -1; }
  .faq-aside { min-height: 440px; padding-right: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .thank-you-main { padding: 34px 0; }
  .thank-you-card { min-height: 0; grid-template-columns: 1fr; }
  .thank-you-copy { padding: 36px 24px; }
  .thank-you-copy h1 { font-size: 3rem; }
  .thank-you-photo { min-height: 380px; order: -1; }
  .thank-you-footer-inner { padding: 30px 0; flex-direction: column; align-items: flex-start; gap: 16px; }
  .thank-you-footer-inner .footer-logo { margin: 0; }
  .thank-you-footer-inner nav { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  h2 { font-size: 2.15rem; }
  .button-row { flex-direction: column; align-items: stretch; }
  .hero h1 { font-size: 2.75rem; }
  .hero-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; overflow: visible; }
  .hero-values li { min-width: 0; align-items: flex-start; flex-direction: column; gap: 5px; }
  .hero-values small { font-size: .63rem; }
  .hero-visual { min-height: 390px; }
  .service-grid, .process-grid, .testimonial-grid, .signup-fields, .footer-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 145px; }
  .stats-strip { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .stats-strip strong { font-size: 1.35rem; }
  .stats-strip .material-symbols-rounded { font-size: 1.8rem; }
  .results-callout { align-items: flex-start; flex-direction: column; }
  .mission-card { border-radius: 16px; }
  .faq-aside { min-height: 390px; padding: 0 18px 60px 0; }
  .contact-card { width: 215px; bottom: 0; }
  .footer-bottom .container { padding: 10px 0; flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
