/* ══════════════════════════════════════════════════
   VPML — style.css
   Dr. Vijay Pal Memorial Library
══════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────── */
:root {
  --green:       #1a4731;
  --green-mid:   #1e5c3f;
  --green-light: #e8f5ee;
  --gold:        #c47f17;
  --gold-dark:   #a06510;
  --gold-light:  #fdf3dc;
  --white:       #ffffff;
  --cream:       #faf8f4;
  --stone:       #f2ede6;
  --text:        #1c1917;
  --text-mid:    #44403c;
  --text-soft:   #78716c;
  --border:      #e7e2db;
  --nav-h:       80px;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 2px 12px rgba(0,0,0,.07);
  --shadow-md:   0 6px 28px rgba(0,0,0,.10);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.14);
  --t:           .22s ease;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
address { font-style: normal; }
button  { cursor: pointer; font-family: inherit; }

/* ── Typography ────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.15;
  color: var(--text);
}
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-mid); line-height: 1.75; }

/* ── Container ─────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── Labels ────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 4px 13px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.label--light { color: var(--gold); background: rgba(196,127,23,.12); }

/* ── Section head ──────────────────────────────── */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 8px; }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm  { padding: 9px 20px; font-size: .85rem; }
.btn--lg  { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,127,23,.35); }

.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,71,49,.3); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.85); }

.btn--outline-white {
  background: transparent;
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.3);
}
.btn--outline-white:hover { color: var(--white); border-color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--t), box-shadow var(--t);
}
.nav.solid {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.nav__logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.5);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  background: var(--white);
}
.nav.solid .nav__logo { border-color: var(--border); box-shadow: none; }

.nav__name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  transition: color var(--t);
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.nav__loc {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t);
}
.nav.solid .nav__name { color: var(--text); }
.nav.solid .nav__loc  { color: var(--text-soft); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  padding: 7px 13px;
  border-radius: 7px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: all var(--t);
}
.nav__links a:hover     { color: var(--white); background: rgba(255,255,255,.1); }
.nav.solid .nav__links a { color: var(--text-mid); }
.nav.solid .nav__links a:hover { color: var(--text); background: var(--stone); }

.nav__donate {
  color: var(--gold-light) !important;
  font-weight: 600 !important;
}
.nav.solid .nav__donate { color: var(--gold) !important; }

.nav__login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white) !important;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--t);
  flex-shrink: 0;
  border: 2px solid var(--green);
}
.nav__login:hover { background: var(--green-mid); transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t);
}
.nav.solid .nav__burger span { background: var(--text); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__img-wrap {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,28,18,.72) 0%,
    rgba(10,28,18,.58) 55%,
    rgba(10,28,18,.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 24px) 28px 0;
  max-width: 760px;
}
.hero__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 18px;
}
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero__title em {
  font-style: italic;
  color: #f5d47e;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.br-lg { display: none; }
@media (min-width: 640px) { .br-lg { display: block; } }

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats bar */
.hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 780px;
  margin-top: 56px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero__stat:last-child { border-right: none; }
.hero__stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.hero__stat span {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin-top: 5px;
}

/* ══════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Photo mosaic */
.about__photos {
  position: relative;
  height: 520px;
}
.about__photo-main {
  position: absolute;
  left: 0; top: 0;
  width: 68%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__photo-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__photo-side {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 38%;
  height: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}
.about__photo-side img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Copy */
.about__copy h2 { margin-bottom: 16px; }
.about__copy .lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 18px;
}
.about__copy p { margin-bottom: 16px; }

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.pillar {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
}
.pillar i {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════ */
.services {
  padding: 100px 0 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 72px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: all var(--t);
  background: var(--white);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 0 10px;
}
.service-card p {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.service-card--dark {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.service-card--dark h3,
.service-card--dark p { color: rgba(255,255,255,.85); }
.service-card--dark .service-card__icon { background: rgba(255,255,255,.1); color: var(--white); }
.service-card--dark p { margin-bottom: 20px; }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Full-width photo strip */
.services__photo {
  width: 100%;
  height: 340px;
  overflow: hidden;
}
.services__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ══════════════════════════════════════════════════
   FOUNDERS
══════════════════════════════════════════════════ */
.founders {
  padding: 100px 0;
  background: var(--cream);
}

.founders__grid {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.founder {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.founder--reverse { grid-template-columns: 1fr 340px; }
.founder--reverse .founder__portrait { order: 2; }
.founder--reverse .founder__info     { order: 1; }

.founder__portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  background: var(--stone);
}
.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder__dates {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.founder__info h3 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}
.founder__cred {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-soft);
}
.founder__role {
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.founder__info p { margin-bottom: 14px; font-size: .95rem; }

/* ══════════════════════════════════════════════════
   VISIT
══════════════════════════════════════════════════ */
.visit {
  padding: 100px 0;
  background: var(--white);
}
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.visit__block h2 { margin-bottom: 16px; }
.visit__intro { margin-bottom: 32px; font-size: .95rem; }

.visit__hours,
.visit__location,
.visit__connect {
  margin-bottom: 30px;
}
.visit__hours h4,
.visit__location h4,
.visit__connect h4 {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.visit__hours h4 i,
.visit__location h4 i,
.visit__connect h4 i { color: var(--green); }

.visit__hours table { width: 100%; border-collapse: collapse; }
.visit__hours td {
  padding: 9px 0;
  font-size: .9rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.visit__hours td:first-child { color: var(--text); font-weight: 500; }
.visit__hours td:last-child  { text-align: right; }
.visit__friday td { color: var(--text-soft) !important; font-style: italic; }

.visit__location address {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

.visit__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.visit__link:last-child { border-bottom: none; }
.visit__link:hover { color: var(--green); }
.visit__link i { color: var(--green); width: 16px; text-align: center; }

.visit__map {
  height: 100%;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.visit__map iframe { width: 100%; height: 100%; border: none; display: block; }

/* ══════════════════════════════════════════════════
   DONATE
══════════════════════════════════════════════════ */
.donate {
  background: linear-gradient(135deg, var(--green) 0%, #0f3d26 100%);
  padding: 72px 0;
}
.donate__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.donate__text h2 { color: var(--white); margin-bottom: 12px; }
.donate__text p  { color: rgba(255,255,255,.7); max-width: 520px; font-size: .95rem; }

.donate__action { text-align: center; }
.donate__note {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: var(--stone);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 14px; }
.contact__info p  { margin-bottom: 28px; font-size: .95rem; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-mid);
  transition: color var(--t);
}
.contact__detail:last-child { border-bottom: none; }
.contact__detail:hover { color: var(--green); }
.contact__detail i {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

/* Form */
.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.field label span { color: var(--gold); }
.field input,
.field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,71,49,.1);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-soft); }
.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-soft);
  margin-top: 12px;
}

.contact__success {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact__success i  { font-size: 3rem; color: var(--green); margin-bottom: 16px; }
.contact__success h3 { font-size: 1.4rem; margin-bottom: 8px; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  background: #0f1f16;
  padding: 72px 0 0;
  color: rgba(255,255,255,.65);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}
.footer__brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin-bottom: 18px;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  transition: all var(--t);
  font-size: .85rem;
}
.footer__social:hover { background: var(--green-mid); color: var(--white); }

.footer__col h4 {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col li a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--t);
}
.footer__col li a:hover { color: var(--white); }

.footer__hours { display: flex; flex-direction: column; gap: 8px; }
.footer__hours li { display: flex; justify-content: space-between; font-size: .875rem; }
.footer__hours span { color: rgba(255,255,255,.45); }
.footer__hours strong { color: rgba(255,255,255,.7); }

.footer__col address {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ── Back to top ───────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--t);
  z-index: 800;
}
.back-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-top:hover { background: var(--green-mid); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about__grid    { gap: 48px; }
}

@media (max-width: 900px) {
  .about__grid    { grid-template-columns: 1fr; }
  .about__photos  { height: 360px; }
  .founder        { grid-template-columns: 1fr; gap: 28px; }
  .founder--reverse .founder__portrait { order: 0; }
  .founder--reverse .founder__info     { order: 1; }
  .founder__portrait { max-width: 300px; margin: 0 auto; }
  .visit__grid    { grid-template-columns: 1fr; }
  .visit__map     { min-height: 320px; }
  .contact__grid  { grid-template-columns: 1fr; }
  .donate__inner  { flex-direction: column; text-align: center; }
  .donate__text p { margin: 0 auto; }
}

@media (max-width: 700px) {
  .nav__links  { display: none; flex-direction: column; gap: 4px; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 16px 20px; box-shadow: 0 8px 24px rgba(0,0,0,.1); border-top: 1px solid var(--border); z-index: 899; }
  .nav__links.open { display: flex; }
  .nav__links a  { color: var(--text-mid) !important; padding: 10px 14px; border-radius: 8px; width: 100%; }
  .nav__links a:hover { background: var(--stone); color: var(--text) !important; }
  .nav__donate   { color: var(--gold) !important; }
  .nav__burger   { display: flex; }
  .nav__login    { display: none; }

  .hero__title   { font-size: 2.8rem; }
  .hero__stats   { flex-wrap: wrap; border-radius: 12px; margin: 28px 16px 0; }
  .hero__stat    { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero__stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.1); }
  .hero__stat:nth-child(even) { border-right: none; }
  .hero__stat:last-child,
  .hero__stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .services__grid { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .contact__form  { padding: 28px 20px; }
  .footer__grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .back-top       { bottom: 16px; right: 16px; }
}
