﻿/* ==========================================================================
   SHIVE BLOOD BANK â€” styles.css
   Palette: white / deep red / warm gray. Premium, accessible, responsive.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --red-950: #56060F;
  --red-900: #7C0D1C;
  --red-800: #9E1223;
  --red-700: #B5182B;
  --red-600: #C92232;
  --red-100: #FBE4E7;
  --red-50:  #FDF3F4;

  --wa: #1FAF5A;
  --wa-dark: #17934A;

  --ink:    #241E1B;
  --ink-2:  #4E453D;
  --ink-3:  #766B61;

  --warm-50:  #FBFAF8;
  --warm-100: #F6F3F0;
  --warm-200: #EDE7E1;
  --warm-300: #DDD2C8;
  --line:     #E6DED6;

  --white: #FFFFFF;

  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-accent: 'Fraunces', Georgia, 'Times New Roman', serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-1: 0 1px 2px rgba(36,30,27,.06), 0 8px 24px rgba(36,30,27,.06);
  --shadow-2: 0 4px 12px rgba(36,30,27,.08), 0 20px 50px rgba(36,30,27,.10);
  --shadow-3: 0 8px 20px rgba(158,18,35,.3);
  --shadow-red: 0 10px 26px rgba(158,18,35,.22);

  --ease: cubic-bezier(.22,1,.36,1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

::selection { background: var(--red-800); color: #fff; }

:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { max-width: 860px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--red-900); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red-700);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--red-700);
  border-radius: 2px;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; }

h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--ink);
}
h2 em, h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--red-800);
}

.section__sub {
  color: var(--ink-2);
  max-width: 620px;
  margin-top: 14px;
  font-size: 1.02rem;
}
.section__sub strong { font-weight: 700; color: var(--ink); }

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--tint { background: var(--warm-100); }
.section--deep { background: var(--red-900); }

.section__head { margin-bottom: clamp(32px, 5vw, 52px); }
.section__head .eyebrow { color: var(--red-700); }
.section__head .eyebrow::before { background: var(--red-600); }
.section__head--light h2 { color: #fff; }
.section__head--light h2 em { color: #FF9AA6; }
.section__head--light .section__sub { color: #F3D9DC; }

.accent-text { font-family: var(--font-accent); font-style: italic; color: var(--red-800); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: .95em 1.6em;
  border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s, border-color .25s, color .25s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:active { transform: scale(.97); }

.btn--primary { background: var(--red-800); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-900); transform: translateY(-2px); box-shadow: var(--shadow-3); }

.btn--ghost { background: transparent; color: var(--red-800); border-color: var(--red-800); }
.btn--ghost:hover { background: var(--red-800); color: #fff; transform: translateY(-2px); }

.btn--block { width: 100%; }

.btn--hero { padding: 1.05em 1.7em; }
.btn--hero strong { font-weight: 800; }
.btn--call { background: var(--red-800); color: #fff; box-shadow: var(--shadow-3); }
.btn--call:hover { background: var(--red-900); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(31,175,90,.35); }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-2px); }

.btn--emergency {
  position: relative; background: var(--red-600); color: #fff;
  box-shadow: var(--shadow-3);
}
.btn--emergency:hover { background: var(--red-700); transform: translateY(-2px); }
.btn__ring {
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; position: relative; flex: none;
}
.btn__ring::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  animation: ring 1.8s infinite;
}
@keyframes ring {
  0%   { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--red-950);
  color: #FFE7EA;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.topbar__note { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__link {
  display: inline-flex; align-items: center; gap: 7px;
  color: inherit; font-weight: 600;
  transition: color .2s;
}
.topbar__link:hover { color: #fff; }
.topbar__link svg { width: 15px; height: 15px; fill: #FF9AA6; }

.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #4BE28B; flex: none; position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #4BE28B; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }

.nav {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: linear-gradient(145deg, var(--red-700), var(--red-900));
  box-shadow: var(--shadow-red);
  display: grid; place-items: center;
}
.brand__mark svg { width: 28px; height: 28px; }
.brand__text {
  font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1;
  display: flex; flex-direction: column; gap: 2px; color: var(--ink);
}
.brand__text small {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red-700);
}

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block; padding: 10px 14px;
  font-weight: 600; font-size: .94rem; color: var(--ink-2);
  border-radius: 10px; position: relative;
  transition: color .2s, background .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; border-radius: 2px; background: var(--red-700);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--red-800); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta-wrap { margin-left: 8px; }
.nav__cta-wrap .btn { padding: .8em 1.4em; font-size: .92rem; }

.nav__toggle { display: none; }
/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--warm-50) 0%, var(--warm-100) 100%);
  padding: clamp(48px, 7vw, 90px) 0 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 380px at 88% 8%, rgba(158,18,35,.08), transparent 65%),
    radial-gradient(480px 320px at 4% 90%, rgba(158,18,35,.06), transparent 60%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero__lead {
  color: var(--ink-2); font-size: 1.08rem;
  max-width: 54ch; margin-bottom: 30px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-bottom: 26px;
}
.hero__trust li {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--ink-2);
}
.hero__trust svg {
  width: 19px; height: 19px; fill: none; stroke: var(--wa); stroke-width: 2.6;
}

.hero__urgent {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 14px;
  font-weight: 600; color: var(--ink-2); font-size: .93rem;
  box-shadow: var(--shadow-1);
}

/* hero visual */
.hero__visual { position: relative; }
.hero__scene {
  width: min(480px, 100%); height: auto; margin-inline: auto;
  filter: drop-shadow(0 24px 40px rgba(88,7,15,.12));
}
.hero__scene .float-g {
  transform-box: fill-box;
  transform-origin: center;
  animation: floaty 7s ease-in-out infinite;
}
.hero__scene .float-g.f2 { animation-delay: -2.4s; }
.hero__scene .float-g.f3 { animation-delay: -4.8s; }
@keyframes floaty {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, -10px); }
}

.hero__stats { margin-top: clamp(40px, 6vw, 70px); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.stat {
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800; color: var(--red-800); letter-spacing: -.02em;
}
.stat span { color: var(--ink-3); font-weight: 500; font-size: .9rem; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--1 { --d: .08s; }
.reveal--2 { --d: .16s; }
.reveal--3 { --d: .24s; }
.reveal--4 { --d: .32s; }
.reveal--5 { --d: .40s; }

/* ---------- Availability ---------- */
.availability {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  padding: clamp(18px, 3vw, 30px);
}
.availability__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px dashed var(--warm-300);
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
}
.av-status { display: inline-flex; align-items: center; gap: 9px; color: var(--wa-dark); }
.av-time { color: var(--ink-3); font-weight: 500; }

.blood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.blood-item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--warm-50);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  animation: popIn .5s var(--ease) both;
}
.blood-item:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: var(--warm-300);
}
.blood-item__top { display: flex; align-items: center; justify-content: space-between; }
.blood-item__group {
  font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink);
}
.blood-item__badge {
  font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.blood-item__badge.is-available { background: #E4F6EC; color: #0E7A43; }
.blood-item__badge.is-limited  { background: #FEF0D8; color: #9A5B00; }
.blood-item__badge.is-need     { background: var(--red-100); color: var(--red-800); }

.blood-item__bar {
  height: 6px; border-radius: 6px; background: var(--warm-200);
  overflow: hidden;
}
.blood-item__bar span {
  display: block; height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, var(--red-600), var(--red-800));
  width: 0;
  transition: width 1.1s var(--ease) .15s;
}
.blood-item__units { font-size: .82rem; color: var(--ink-3); font-weight: 600; }

.availability__note {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--warm-300);
  font-size: .9rem; color: var(--ink-2);
  display: flex; align-items: flex-start; gap: 8px;
}
.availability__note::before {
  content: "i";
  font-weight: 800; color: var(--red-700);
  font-family: var(--font-accent);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red-700), var(--red-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--red-50);
  display: grid; place-items: center;
  color: var(--red-800);
  margin-bottom: 6px;
}
.card__icon svg { width: 28px; height: 28px; fill: currentColor; }
.card h3 { font-size: 1.2rem; font-weight: 800; }
.card p { color: var(--ink-2); font-size: .94rem; flex: 1; }

.card--emergency { background: var(--red-900); border-color: var(--red-900); }
.card--emergency::before { background: linear-gradient(90deg, #FF9AA6, #fff); }
.card--emergency .card__icon { background: rgba(255,255,255,.14); color: #FF9AA6; }
.card--emergency h3 { color: #fff; }
.card--emergency p { color: #F3D9DC; }

.card__link {
  font-weight: 700; font-size: .92rem; color: var(--red-800);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s var(--ease);
}
.card__link::after { content: "\2192"; transition: transform .25s var(--ease); }
.card__link:hover { gap: 10px; }
.card--emergency .card__link { color: #fff; }
.card--emergency .card__link:hover { color: #FFD7DC; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.about__visual svg { width: 100%; height: auto; }
.about__copy > p { color: var(--ink-2); margin-bottom: 16px; max-width: 56ch; }
.about__copy h2 { margin-bottom: 18px; }

.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.trust-pills li {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: .88rem; color: var(--ink);
  box-shadow: var(--shadow-1);
}
.trust-pills svg {
  width: 17px; height: 17px; fill: none; stroke: var(--wa); stroke-width: 2.8;
}
.about__cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* ---------- Donate ---------- */
.donate {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.steps { display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
  background: var(--red-100); color: var(--red-800);
  border: 1px solid #F4CED3;
}
.section--deep .steps--tick .step__num {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff;
}
.step__num svg { width: 22px; height: 22px; fill: currentColor; }
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: .94rem; }
.section--deep .step p { color: #F3D9DC; }
.section--deep .step h3 { color: #fff; }

.donate__steps {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-1);
}

/* ---------- Panels ---------- */
.panel {
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
}
.panel--white { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.panel--red { background: var(--red-900); color: #fff; }
.panel__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 18px; }
.panel--red .panel__title { color: #fff; }
.panel__note {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2);
  font-size: .86rem; color: #F3D9DC;
}

.check-list { display: grid; gap: 10px; margin-bottom: 24px; }
.check-list li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .94rem; color: var(--ink);
}
.check-list svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: var(--wa); stroke-width: 3;
}
.donate__micro {
  margin-top: 14px; text-align: center;
  font-size: .84rem; color: var(--ink-3);
}

/* ---------- Request blood ---------- */
.request-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
.panel--form .panel__title { margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; font-weight: 700; font-size: .86rem;
  margin-bottom: 7px; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.6px solid var(--warm-300);
  border-radius: var(--r-sm);
  background: var(--warm-50);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red-700);
  box-shadow: 0 0 0 4px rgba(185,24,43,.12);
  background: #fff;
}
.form-foot {
  margin-top: 14px; text-align: center;
  font-size: .88rem; color: var(--ink-3);
}
.form-foot.is-error { color: var(--red-800); font-weight: 700; }
.form-foot a { color: var(--red-800); font-weight: 700; text-decoration: underline; }

.steps--tick { display: grid; gap: 24px; }

/* emergency card */
.emergency-card {
  margin-top: 18px;
  background: var(--red-700);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  color: #fff;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-3);
}
.emergency-card .pulse-dot { width: 11px; height: 11px; }
.emergency-card h3 { font-size: .95rem; font-weight: 700; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }
.emergency-card__num {
  display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em;
  margin: 2px 0; color: #fff;
}
.emergency-card p { font-size: .85rem; opacity: .9; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] { border-color: var(--red-700); box-shadow: var(--shadow-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px;
  font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-50); color: var(--red-800);
  font-weight: 700; font-size: 1.2rem;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg); background: var(--red-800); color: #fff;
}
.faq__body {
  padding: 0 22px 20px;
  color: var(--ink-2); font-size: .95rem; max-width: 72ch;
}
.faq__body a { color: var(--red-800); font-weight: 700; text-decoration: underline; }
.faq__body strong { color: var(--ink); }

/* ---------- Location ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
.loc-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  min-height: 380px;
}
.loc-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; background: var(--warm-100); }

.loc-address { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.loc-address svg {
  width: 26px; height: 26px; flex: none; fill: var(--red-800);
  margin-top: 2px;
}
.loc-address strong { display: block; font-size: 1.05rem; color: var(--ink); }
.loc-address span { color: var(--ink-2); font-size: .95rem; }

.loc-points { display: grid; gap: 10px; margin-bottom: 22px; }
.loc-points li { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: var(--ink-2); font-weight: 600; }
.loc-points svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--wa); stroke-width: 3; }

.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 16px;
}
.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 8px;
  color: #fff;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
a.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
}
.contact-card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--red-700);
  display: grid; place-items: center;
  margin-bottom: 6px;
}
.contact-card__icon svg { width: 24px; height: 24px; fill: #fff; }
.contact-card--wa .contact-card__icon { background: var(--wa); }
.contact-card__label {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #FFB3BD;
}
.contact-card strong {
  font-size: 1.15rem; font-weight: 800; line-height: 1.3;
  word-break: break-word;
}
.contact-card__hint { font-size: .85rem; color: #F3D9DC; }

/* ---------- Footer ---------- */
.footer { background: var(--red-950); color: #FFE7EA; padding: 64px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 44px;
}
.footer__brand .brand__text { color: #fff; }
.footer__brand .brand__text small { color: #FF9AA6; }
.footer__brand p { font-size: .92rem; color: #F3D9DC; margin-top: 16px; max-width: 40ch; }
.footer__hours {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; color: #fff; font-size: .9rem;
}
.footer__col h4 {
  font-size: .85rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #FF9AA6; margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: #FFE7EA; font-size: .93rem; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__phone {
  display: block; font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.footer__mail { display: inline-block; color: #FFE7EA; font-size: .93rem; margin-bottom: 16px; word-break: break-word; }
.footer__addr { font-style: normal; color: #F3D9DC; font-size: .92rem; margin-bottom: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px 0 26px;
  display: flex; flex-direction: column; gap: 8px;
}
.footer__bottom p { font-size: .84rem; color: #F3D9DC; }
.footer__disclaimer { max-width: 90ch; opacity: .85; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 50px; height: 50px; border-radius: 50%;
  border: none; background: var(--red-800); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-3);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--red-900); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .donate, .about, .request-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .blood-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .topbar__mail { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff;
    align-items: center; justify-content: center;
    padding: 0;
  }
  .nav__toggle span {
    width: 22px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .3s;
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__list {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 92;
    width: min(340px, 86vw);
    background: #fff;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 84px 24px 30px;
    box-shadow: var(--shadow-2);
    transform: translateX(102%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
  }
  .nav__list.is-open { transform: none; }
  .nav__link { padding: 13px 16px; font-size: 1rem; border-radius: 12px; }
  .nav__link:hover { background: var(--warm-100); }
  .nav__link::after { display: none; }
  .nav__cta-wrap { margin: 14px 0 0; }
  .nav__cta-wrap .btn { width: 100%; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-bottom: none; }
  .blood-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map { order: -1; }
}

@media (max-width: 640px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__note { font-size: .76rem; }
  .hero__cta .btn { width: 100%; }
  .blood-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .container { width: min(1180px, 100% - 32px); }
  .trust-pills { gap: 8px; }
  .trust-pills li { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
