:root {
  --red: #c01028;
  --red-dark: #9c0d20;
  --red-deep: #7a0a1a;
  --dark: #16141c;
  --dark-2: #1e1a24;
  --ink: #1c1a20;
  --muted: #6b6870;
  --line: #ece7ea;
  --bg: #ffffff;
  --bg-alt: #faf7f8;
  --shadow-sm: 0 4px 16px rgba(20, 12, 16, .08);
  --shadow-md: 0 14px 40px rgba(20, 12, 16, .12);
  --radius: 18px;
  --radius-lg: 26px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Sora', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

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

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 12px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(192,16,40,.35); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--whatsapp { background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.3); }
.btn--whatsapp:hover { background: #1eb757; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--red); box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn svg { width: 20px; height: 20px; }

/* ===== Top Bar ===== */
.topbar { background: var(--dark); color: #e9e6ec; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .55rem; flex-wrap: wrap; }
.topbar__emergency { display: inline-flex; align-items: center; gap: .45rem; color: #ffd7dc; font-weight: 600; }
.topbar__emergency svg { width: 16px; height: 16px; }
.topbar__links { display: flex; gap: 1.4rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s ease; }
.topbar__links a:hover { color: #fff; }
.topbar__links svg { width: 16px; height: 16px; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 46px; height: 46px; border-radius: 13px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.brand__text small { color: var(--red); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 10px; }
.nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 4px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav__menu { display: flex; align-items: center; gap: 1.7rem; }
.nav__link { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: .3rem 0; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2.5px; background: var(--red); transition: width .25s ease; border-radius: 4px; }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link:hover, .nav__link.active { color: var(--red); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 5rem 0 4.5rem; background: linear-gradient(160deg, #fff 0%, #fdf3f4 55%, #fff8f9 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 85% 10%, rgba(192,16,40,.10), transparent 60%),
    radial-gradient(500px 380px at 5% 90%, rgba(192,16,40,.08), transparent 60%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(192,16,40,.08); color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding: .5rem .95rem; border-radius: 100px; margin-bottom: 1.4rem; text-transform: uppercase; }
.badge::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.hero h1 span { color: var(--red); }
.hero__content > p { color: var(--muted); font-size: 1.08rem; max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.hero__tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; }

.hero__card { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.hero__card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(192,16,40,.5), transparent 70%); }
.hero__card-head { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; margin-bottom: 1.2rem; color: #fff; }
.pulse-dot { width: 11px; height: 11px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hero__big { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: .6rem; }
.hero__card p { color: #c9c4cf; font-size: .95rem; margin-bottom: 1.6rem; }
.hero__card-actions { display: flex; gap: .8rem; margin-bottom: 1.3rem; }
.hero__card-note { display: block; color: #9c96a4; font-size: .8rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }

/* ===== Stats ===== */
.stats { background: var(--dark); margin-top: -2rem; position: relative; z-index: 5; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.2rem 1.5rem; text-align: center; color: #fff; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: none; }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--red); }
.stat__num sub, .stat__num span { font-size: 1.1rem; color: #fff; }
.stat__label { color: #c9c4cf; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ===== Section ===== */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--alt2 { background: var(--dark); color: #fff; }
.section--alt2 .section__tag { color: #ffd7dc; background: rgba(255,255,255,.1); }
.section--alt2 h2 span { color: #ffd7dc; }
.section__head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section__head .light { color: #ffd7dc; background: rgba(255,255,255,.12); }
.section__tag { display: inline-block; background: rgba(192,16,40,.09); color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 100px; margin-bottom: 1rem; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: .8rem; }
.section h2 span { color: var(--red); }
.section__head p { color: var(--muted); font-size: 1.02rem; }

/* ===== Cards (services) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(192,16,40,.3); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: rgba(192,16,40,.09); color: var(--red); margin-bottom: 1.2rem; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; color: var(--red); font-weight: 700; font-size: .9rem; }
.card__link span { transition: transform .2s ease; }
.card__link:hover span { transform: translateX(4px); }

/* ===== Availability ===== */
.avail { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem; }
.agroup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.agroup:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.agroup .group { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--red); display: block; line-height: 1; }
.agroup .status { margin-top: .4rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .3rem .6rem; border-radius: 100px; display: inline-block; }
.agroup.available .status { background: rgba(37,211,102,.12); color: #12863e; }
.agroup.available::before { content: ''; display: block; width: 12px; height: 12px; margin: 0 auto .6rem; border-radius: 50%; background: #25D366; }
.agroup.low .status { background: rgba(240,160,0,.14); color: #b37700; }
.agroup.low::before { content: ''; display: block; width: 12px; height: 12px; margin: 0 auto .6rem; border-radius: 50%; background: #f0a000; }
.agroup.unavailable .status { background: rgba(192,16,40,.1); color: var(--red); }
.agroup.unavailable::before { content: ''; display: block; width: 12px; height: 12px; margin: 0 auto .6rem; border-radius: 50%; background: var(--red); }
.avail__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.8rem; }
.avail__note a { color: var(--red); font-weight: 600; }

/* ===== Donate ===== */
.donate__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.donate__content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: .9rem; }
.donate__content h2 span { color: var(--red); }
.donate__content > p { color: var(--muted); margin-bottom: 1.5rem; }
.donate__list { margin-bottom: 1.8rem; display: grid; gap: .8rem; }
.donate__list li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.donate__list li span { color: var(--red); font-weight: 800; }

.donate__form, .contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.donate__form h3, .contact__form h3 { font-size: 1.35rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fdfbfc; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(192,16,40,.08); background: #fff;
}
.field input.invalid, .field select.invalid { border-color: var(--red); }
.form__msg { margin-top: .8rem; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form__msg.ok { color: #12863e; }
.form__msg.err { color: var(--red); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.step { text-align: center; padding: 1.5rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
.step h3 { color: #fff; margin-bottom: .4rem; }
.step p { color: #b9b3c0; font-size: .92rem; }

/* ===== Testimonials ===== */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.tcard blockquote { font-size: 1rem; color: var(--ink); font-style: italic; margin-bottom: 1.4rem; }
.tcard figcaption { display: flex; align-items: center; gap: .8rem; }
.tcard__avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(192,16,40,.1); color: var(--red); font-weight: 800; font-family: var(--font-head); }
.tcard figcaption strong { display: block; }
.tcard figcaption small { color: var(--muted); }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact__info { display: grid; gap: 1rem; }
.cinfo { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.cinfo__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(192,16,40,.09); color: var(--red); flex-shrink: 0; }
.cinfo__icon svg { width: 22px; height: 22px; }
.cinfo h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.cinfo a { color: var(--red); font-weight: 600; word-break: break-word; }
.cinfo a:hover { text-decoration: underline; }
.cinfo p { color: var(--muted); font-size: .92rem; }

/* ===== CTA ===== */
.cta { background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem 0; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.cta p { opacity: .92; }

/* ===== Footer ===== */
.footer { background: var(--dark-2); color: #c9c4cf; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0; }
.footer .brand__text strong { color: #fff; }
.footer__brand p { margin-top: 1.2rem; font-size: .92rem; max-width: 24rem; }
.footer__col h4 { color: #fff; margin-bottom: 1.1rem; font-size: 1rem; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a { transition: color .2s ease; }
.footer__col a:hover { color: var(--red); }
.footer__contact li { font-size: .92rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; text-align: center; }
.footer__bottom p { font-size: .85rem; }
.footer__disclaimer { opacity: .7; margin-top: .2rem; }

/* ===== FAB ===== */
.fab { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 200; width: 62px; height: 62px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(192,16,40,.45); transition: transform .2s ease; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: fabpulse 2s ease-out infinite; }
@keyframes fabpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .donate__inner, .contact__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: none; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar__links { display: none; }
}

@media (max-width: 700px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 5.5rem 2rem 2rem; box-shadow: var(--shadow-md); transform: translateX(100%);
    transition: transform .3s ease; z-index: 90;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__menu li { width: 100%; }
  .nav__link { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.2rem; }
  .nav__cta .btn { width: 100%; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 4rem 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta__inner { flex-direction: column; text-align: center; }
  .stats { margin-top: -1rem; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
