/* ============================================================
   DRINK PURE FOUNDATION — UI based on charity: water design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&display=swap');

/* ---- Variables ---- */
:root {
  --cream:   #F5EFE0;
  --cream-dark: #EDE6D3;
  --charcoal:#2C2C2C;
  --yellow:  #29ABE2;  /* sky blue */
  --sky:     #29ABE2;
  --yellow-dark: #1f98c8;
  --sky-dark: #1f98c8;
  --green:   #2FAF4C;
  --blue:    #29ABE2;
  --white:   #FFFFFF;
  --black:   #111111;
  --text:    #1A1A1A;
  --text-mid:#555555;
  --text-lt: #888888;
  --border:  #DDD8CE;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ============================================================
   GLOBAL CONTENT WRAPPER — Centers everything
   ============================================================ */

.content-container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

/* Fix .container to not double-pad with section padding */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
}

/* Override ALL section padding for consistent edge spacing */
section,
.section-pad,
.section-pad-lg,
.two-col-info,
.stories-section,
.testimonials-section,
.ways-section,
.map-header,
.region-section,
.action-cards-3,
.footer,
.contact-grid,
.products-grid,
.quote-form-section,
.page-hero,
.newsletter-wrap-outer,
.split-hero-content,
.about-tagline,
.admin-container {
  padding-left: 120px !important;
  padding-right: 120px !important;
}

/* Full-bleed sections keep zero horizontal padding */
.action-cards,
.hero,
.split-hero,
.map-container,
#dpf-map {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Inner content of full-bleed sections */
.stats-inner {
  max-width: 1080px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
}
.map-stats-row {
  max-width: 1080px;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Footer inner */
.footer-cols { max-width: 1080px; margin: 0 auto; }
.footer-bottom { max-width: 1080px; margin: 0 auto; }

/* Newsletter */
.newsletter-section-outer { padding: 80px 120px; }
.newsletter-wrap { max-width: 860px; margin: 0 auto; }

/* Grids */
.stories-grid-3 { max-width: 1080px; margin: 48px auto 0; }
.feature-cards-3 { max-width: 1080px; margin: 48px auto 0; }
.product-shop-grid { max-width: 900px; margin: 48px auto 0; padding: 0 !important; }
.testimonials-grid { max-width: 1080px; margin: 48px auto 0; }
.info-blocks-grid { max-width: 1080px; margin: 0 auto; }

/* Detail pages */
.product-detail-wrap { max-width: 100%; margin: 0 auto; padding: 0 !important; }
.page-hero-inner { max-width: 1080px; margin: 0 auto; }
.contact-grid { max-width: 1080px; margin: 0 auto; padding: 100px 120px !important; }
.two-col-info { max-width: 1080px; margin: 0 auto; padding: 80px 120px !important; }

/* Responsive */
@media (max-width: 1280px) {
  section,
  .section-pad, .section-pad-lg,
  .two-col-info, .stories-section, .testimonials-section,
  .footer, .contact-grid, .products-grid,
  .quote-form-section, .page-hero, .product-detail-wrap {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }
}
@media (max-width: 1024px) {
  section,
  .section-pad, .section-pad-lg,
  .two-col-info, .stories-section, .testimonials-section,
  .footer, .contact-grid, .products-grid,
  .quote-form-section, .page-hero, .product-detail-wrap {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
  .map-stats-row { padding: 0 60px !important; }
  .stats-inner { padding: 0 60px !important; }
}
@media (max-width: 768px) {
  section,
  .section-pad, .section-pad-lg,
  .two-col-info, .stories-section, .testimonials-section,
  .footer, .contact-grid, .products-grid,
  .quote-form-section, .page-hero, .product-detail-wrap,
  .newsletter-section-outer {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .map-stats-row { padding: 0 24px !important; }
  .stats-inner { padding: 0 24px !important; }
}

/* ============================================================
   TYPOGRAPHY SYSTEM — charity: water style
   ============================================================ */

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text);
}

p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 1.2em;
  letter-spacing: 0.005em;
}

h1 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-family: var(--serif); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; }

.centered-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.centered-body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  text-align: center;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 28px;
}

.section-body,
.info-body,
.fc-body,
.ac3-body,
.split-hero-content p,
.contact-info p,
.product-card-body p,
.story-detail-body p {
  font-family: var(--sans);
  font-size: 0.97rem;
  line-height: 1.9;
  font-weight: 400;
  color: var(--text-mid);
}

.tcard-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  letter-spacing: 0.005em;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.split-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.nav-item > a,
.nav-item > button {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.section-label,
.section-number-label,
.story-detail-tag,
.product-detail-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-lt);
}

.ylink {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.btn-yellow, .nav-give, .form-submit, .btn-charcoal {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: lowercase;
}

.footer-col ul li a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.01em;
}

.info-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-shop-name,
.product-detail-name {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.story-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.story-detail h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-number { font-family: var(--serif); font-style: italic; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1002;
  height: 3px; background: var(--sky); width: 0%;
  transition: width 0.1s linear; pointer-events: none;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--serif); font-size: 1.4rem;
  color: var(--white); letter-spacing: 2px; opacity: 0.9;
}
.loader-bar-track {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.12); position: relative; overflow: hidden;
}
.loader-bar-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--sky);
  animation: loaderProgress 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
.loader-pct {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
@keyframes loaderProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-44px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(44px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger-children > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   NOISE OVERLAY
   ============================================================ */
.noise-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave-divider {
  position: relative; height: 72px; overflow: hidden;
  background: var(--white); margin-top: -1px; line-height: 0;
}
.wave-divider svg { position: absolute; bottom: 0; width: 100%; }

/* ============================================================
   INFO BLOCKS (4-card grid)
   ============================================================ */
.info-blocks-section {
  padding: 80px 0; background: var(--white);
}
.info-blocks-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; background: var(--border);
}
.info-block {
  background: var(--white); padding: 44px 32px 40px;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.info-block:hover {
  background: var(--cream); transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}
.info-block-num {
  font-family: var(--serif); font-size: 3rem; font-weight: 400;
  color: var(--yellow); line-height: 1; margin-bottom: 14px;
  opacity: 0.2; font-style: italic;
  transition: opacity 0.3s ease;
}
.info-block:hover .info-block-num { opacity: 0.45; }
.info-block-icon { margin-bottom: 18px; }
.info-block-title {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
  color: var(--text); margin-bottom: 10px; line-height: 1.4;
}
.info-block-body {
  font-size: 0.86rem; color: var(--text-mid); line-height: 1.75;
  margin-bottom: 18px;
}
.info-block-link {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue);
  border-bottom: 2px solid var(--blue); padding-bottom: 2px;
  display: inline-block; transition: opacity 0.2s;
}
.info-block-link:hover { opacity: 0.65; }

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
  background: var(--charcoal); overflow: hidden;
  position: relative; padding: 0;
  padding-left: 0 !important; padding-right: 0 !important; width: 100%;
}
.map-section-header {
  text-align: center; position: absolute; z-index: 3;
  left: 0; right: 0; top: 80px; /* sit below the fixed nav */
  padding: 12px 20px 0; pointer-events: none;
}
.map-section-header * { pointer-events: auto; }
.map-section-header h2 { color: var(--white); margin-bottom: 16px; }
.map-section-header p {
  color: rgba(255,255,255,0.55); max-width: 540px; margin: 0 auto;
  font-size: 0.95rem; line-height: 1.75;
}
.map-canvas {
  position: relative; max-width: 820px;
  margin: 0 auto; padding: 0 40px 0; /* remove bottom gap */
}
.map-africa-wrap {
  position: relative; width: 100%;
  aspect-ratio: 500 / 560;
}
.map-africa-wrap svg {
  width: 100%; height: 100%; display: block;
}
.map-country-path {
  fill: rgba(255,255,255,0.07);
  stroke: rgba(255,255,255,0.14);
  stroke-width: 0.8;
  transition: fill 0.3s ease;
  cursor: pointer;
}
.map-country-path:hover { fill: rgba(41,171,226,0.16); }
.map-country-path.active { fill: rgba(41,171,226,0.28); stroke: var(--blue); }
.map-pin {
  position: absolute;
  transform: translate(-50%,-100%);
  cursor: pointer; z-index: 6;
}
.map-pin-dot {
  width: 14px; height: 20px;
  background: var(--blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 16px rgba(41,171,226,0.45);
  animation: pinBounce 2.4s ease-in-out infinite;
  position: relative; z-index: 2;
}
.map-pin-pulse {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(41,171,226,0.16);
  animation: rwandaPulse 2.4s ease-out infinite;
}
.map-pin-label {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 8px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
}
.map-pin:hover .map-pin-label { opacity: 1; }
@keyframes pinBounce {
  0%,100% { transform: rotate(-45deg) translateY(0); }
  50%      { transform: rotate(-45deg) translateY(-6px); }
}
@keyframes rwandaPulse {
  0%   { transform: translate(-50%,-50%) scale(0.6); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(3.5); opacity: 0; }
}
.map-explore-panel {
  position: absolute; top: 10%; right: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 22px 26px; min-width: 210px;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(8px); z-index: 10;
}
.map-explore-panel.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.map-explore-region {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.map-explore-name {
  font-family: var(--serif); font-size: 1.05rem;
  color: var(--white); margin-bottom: 6px; font-style: italic;
}
.map-explore-stat { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* Map stats row */
.map-stats-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.map-stat-cell {
  padding: 36px 40px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.map-stat-cell:last-child { border-right: none; }
.map-stat-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem,3vw,2.6rem);
  font-weight: 400; color: var(--yellow);
  line-height: 1; margin-bottom: 8px; display: block;
}
.map-stat-lbl {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}

.stat-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.48);
}

/* ============================================================
   TESTIMONIAL AVATARS
   ============================================================ */
.tcard-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream-dark); margin-bottom: 16px;
  overflow: hidden; border: 2px solid var(--yellow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tcard-initials {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  color: var(--charcoal); line-height: 1;
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg,var(--yellow) 0%,#e8a800 45%,var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   MAGNETIC BUTTON
   ============================================================ */
.magnetic { display: inline-block; transition: transform 0.3s cubic-bezier(0.23,1,0.32,1); }

/* ============================================================
   HOVER LIFT
   ============================================================ */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease !important; }
.hover-lift:hover { transform: translateY(-6px) !important; box-shadow: 0 18px 44px rgba(0,0,0,0.11) !important; }

/* ============================================================
   ANIMATED UNDERLINE
   ============================================================ */
.anim-underline { position: relative; display: inline-block; }
.anim-underline::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--yellow);
  transition: width 0.35s ease;
}
.anim-underline:hover::after { width: 100%; }

/* ---- Container ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.85; letter-spacing: 0.01em; word-spacing: 0.05em; overflow-x: hidden; }
p { line-height: 1.9; word-spacing: 0.06em; letter-spacing: 0.012em; margin-bottom: 1.1em; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   NAV — white, minimal, charity water style
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center;
  padding: 0 40px;
  height: 80px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  color: var(--text); white-space: nowrap;
}
.nav-logo-drop {
  width: 26px; height: 26px;
  background: var(--yellow); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.nav-logo-drop svg { transform: rotate(45deg); }
.nav-center {
  flex: 1; display: flex; align-items: center;
  justify-content: center; gap: 8px;
}
.nav-item { position: relative; }

/* NAV icons */
.nav-item > a svg,
.nav-item > button svg,
.nav-give svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.nav-item > a,
.nav-item > button {
  gap: 10px;
}

.nav-right .nav-give {
  gap: 8px;
}

.nav-item > a, .nav-item > button {
  font-family: var(--sans); font-size: 1rem; font-weight: 400;
  color: var(--text); padding: 10px 18px; display: flex;
  align-items: center; gap: 5px; background: none; border: none;
  cursor: pointer; transition: color 0.2s; letter-spacing: 0.2px;
}
.nav-item > a:hover, .nav-item > button:hover { color: var(--text-mid); }
.nav-chevron { font-size: 0.65rem; transition: transform 0.2s; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); min-width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; z-index: 100;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.nav-dd-item::after {
  content: '→';
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-dd-item:hover::after {
  opacity: 1;
}
.nav-dd-item:last-child { border-bottom: none; }
.nav-dd-item:hover { background: var(--cream); }
.nav-dd-title {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px; margin-bottom: 3px;
}
.nav-dd-desc { font-size: 0.78rem; color: var(--text-mid); }
.nav-dd-simple { font-size: 0.9rem; font-weight: 400; color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-signin {
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  transition: opacity 0.2s;
}
.nav-signin:hover { opacity: 0.6; }
.nav-divider { width: 1px; height: 24px; background: var(--border); }
.nav-give {
  background: var(--blue);
  color: var(--white);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: none;
  line-height: 1;
  white-space: nowrap;
}
.nav-give:hover {
  background: #1f98c8;
  transform: translateY(-1px);
  box-shadow: none;
}
.nav-give:active {
  transform: translateY(0);
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); display: block; }

/* ============================================================
   HERO — full screen, centered big serif, floating card
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #1a3a4a;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.7;
}
.hero-bg-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a4a5a 0%, #0d2d3a 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.15);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: row;
  align-items: center; justify-content: flex-end;
  width: 100%;
  max-width: 1180px; margin: 0 auto;
  padding: 0 60px;
}
.hero-right-col {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 460px; width: 100%;
  padding-top: 40px;
}
.hero-headline {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 400; color: var(--white); text-align: left;
  line-height: 1.3; margin-bottom: 0;
  font-style: italic;
}
/* Floating card on hero */
.hero-card {
  background: var(--white); padding: 28px 32px;
  max-width: 420px; width: 100%;
  border-radius: 16px;
}
.hero-card-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.hero-tab {
  flex: 1; padding: 10px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1px; text-align: center; cursor: pointer;
  background: var(--white); border: none; color: var(--text-mid);
  transition: all 0.2s;
}
.hero-tab.active {
  background: var(--blue); color: var(--white);
}
.hero-card-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-mid);
  margin-bottom: 12px;
}
.hero-amounts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin-bottom: 8px;
}
.amount-btn {
  padding: 12px 8px; border: 1px solid var(--border);
  background: var(--white); text-align: center; cursor: pointer;
  font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  color: var(--text); transition: all 0.2s; border-radius: 8px;
  width: 100%;
}
.amount-btn:hover, .amount-btn.active {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.hero-custom-tile:hover,
.amt-custom-wrap:hover {
  background: var(--white) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
.amount-btn .small { font-size: 0.65rem; font-weight: 400; color: var(--text-mid); display: block; }
.amount-btn.active .small { color: rgba(255,255,255,0.8); }
.hero-custom-tile {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
}
.hero-custom-tile .amount-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  padding: 0 0 0 18px;
  text-align: left;
  outline: none;
}
.hero-custom-tile .amount-input::placeholder { color: #999; font-weight: 500; }
.hero-helper {
  font-size: 0.82rem; color: var(--text-mid);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.hero-helper strong { color: var(--text); }
.btn-yellow {
  width: 100%; padding: 16px; background: var(--blue);
  border: none; font-family: var(--sans); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; color: #fff; transition: background 0.2s;
  display: block; text-align: center;
}
.btn-yellow:hover { background: #1f98c8; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-charcoal { background: var(--charcoal); }
.section-pad { padding: 80px 120px; }
.section-pad-lg { padding: 100px 120px; }

.centered-heading {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; text-align: center; line-height: 1.25;
  color: var(--text); margin-bottom: 16px;
}
.centered-heading.white { color: var(--white); }
.centered-body {
  font-size: 1rem; color: var(--text-mid); text-align: center;
  max-width: 640px; margin: 0 auto 32px; line-height: 1.7;
}
.centered-body.white { color: rgba(255,255,255,0.75); }

/* Yellow underline link */
.ylink {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px; display: inline-block;
  transition: opacity 0.2s;
}
.ylink:hover { opacity: 0.65; }
.ylink.center { display: block; text-align: center; }

/* ============================================================
   WHY WATER — tabbed image section (charity water style)
   ============================================================ */
.why-section { background: var(--cream); padding: 80px 0 0; }
.why-tabs {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 32px;
  padding: 0 60px;
}
.why-tab {
  padding: 10px 24px; border-radius: 40px;
  border: 1.5px solid rgba(0,0,0,0.2);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer;
  background: transparent; color: var(--text);
  transition: all 0.2s;
}
.why-tab.active, .why-tab:hover {
  background: var(--text); color: var(--white);
  border-color: var(--text);
}
.why-image-wrap {
  position: relative; width: 100%; height: 500px; overflow: hidden;
}
.why-image-wrap img {
  object-position: top;
}
.why-image-wrap .img-ph {
  width: 100%; height: 100%;
}
.why-float-card {
  position: absolute; bottom: 40px; right: 60px;
  background: var(--white); padding: 28px 32px;
  max-width: 340px; box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.why-float-card p { font-size: 0.95rem; color: var(--text); line-height: 1.65; margin-bottom: 16px; }

/* ============================================================
   STATS — dark charcoal section with logo icon
   ============================================================ */
.stats-bar {
  padding: 0; /* remove top/bottom white space around stats */
  background: transparent;
}
.stats-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #0f0f10;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  max-width: none;
  width: 100%;
  margin: 0;
  align-items: center;
}
.stats-logo-cell {
  padding: 26px 28px; display: flex; align-items: center; gap: 16px;
  background: transparent; color: #fff;
}
.stats-logo-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.stats-logo-text h3 { font-family: var(--serif); font-size: 1.2rem; font-weight:700; color: #fff; margin-bottom:4px; }
.stats-logo-text p { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.stat-cell { padding: 28px 18px 28px 22px; display:flex; align-items:center; border-left:1px solid rgba(255,255,255,0.04); min-width: 0; }
.stat-cell:first-of-type { border-left: none; }
.stat-row { display:flex; gap:14px; align-items:center; width:100%; }
.stat-icon { width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.stat-icon svg { display:block; }
.stat-icon-yellow { background: var(--yellow); }
.stat-icon-blue { background: var(--blue); }
.stat-icon-green { background: var(--green); }
.stat-content { text-align:left; color: #fff; min-width: 0; padding-right: 0; }
.stat-lbl-top { font-size:0.82rem; font-weight:700; color: rgba(255,255,255,0.9); margin-bottom:6px; line-height:1.35; }
.stat-num { font-family: var(--serif); font-size: clamp(2.1rem, 2.8vw, 2.8rem); font-weight:700; color: #fff; line-height:1; margin-bottom:4px; }
.stat-sub { color: rgba(255,255,255,0.6); font-size:0.8rem; margin-top:4px; line-height:1.45; }

@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1px; background: #0f0f10; padding: 0; }
  .stats-logo-cell { padding: 18px; }
  .stat-cell { border-left: none; padding: 16px 18px; }
  .stat-row { flex-direction: row; }
  .stat-lbl-top, .stat-sub { max-width: none; }
}

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr; gap: 1px; }
  .stat-cell { padding: 18px 16px; border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .stats-logo-cell { padding: 20px 16px; }
  .stat-icon { width: 44px; height: 44px; }
  .stat-num { font-size: 1.8rem; }
  .stat-lbl-top, .stat-sub { max-width: none; }
}

/* Region tiles (instead of map) */
.region-section {
  background: var(--charcoal); padding: 0 0 60px;
}
.region-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
  max-width: 1180px; margin: 0 auto;
}
.region-tile {
  background: var(--charcoal); padding: 32px 24px;
  text-align: center; transition: background 0.2s; cursor: default;
}
.region-tile:hover { background: #383838; }
.region-flag { margin-bottom: 10px; display: flex; justify-content: center; }
.region-name {
  font-family: var(--serif); font-size: 1rem; color: var(--white);
  margin-bottom: 6px;
}
.region-count { font-size: 0.72rem; color: var(--yellow); font-weight: 600; letter-spacing: 1px; }

/* How we work + Proving impact */
.two-col-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; padding: 80px 120px; background: var(--cream);
  align-items: start;
}
.two-col-info-wrap { background: var(--cream); }
.info-icon { margin-bottom: 16px; display: block; }
.info-title {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  margin-bottom: 12px; color: var(--text);
}
.info-body { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }

/* ============================================================
   STORIES GRID — charity water style (photo, title, ylink)
   ============================================================ */
.stories-section { background: var(--cream); padding: 80px 120px; }
.stories-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 48px;
}
.story-card { cursor: pointer; max-width: 100%; }
.story-card-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  margin-bottom: 20px; background: var(--cream-dark);
}
.story-card-img img,
.story-card-img .img-ph { width: 100%; height: 100%; object-fit: cover; }
.story-card h3 {
  font-family: 'Lora', serif; font-size: 1.05rem; font-weight: 500;
  color: var(--text); margin-bottom: 14px; line-height: 1.45;
  text-align: center; letter-spacing: -0.01em; padding: 0 8px;
}
.story-card .ylink { text-align: center; display: block; font-size: 0.7rem; letter-spacing: 2.5px; margin: 0 auto; }

/* ============================================================
   ACTION CARDS — full bleed photo + yellow bar (charity water)
   ============================================================ */
.action-cards { display: grid; grid-template-columns: 1fr 1fr; }
.action-card { position: relative; overflow: hidden; cursor: pointer; }
.action-card-img {
  width: 100%; height: 460px;
  background: var(--cream-dark);
}
.action-card-img img,
.action-card-img .img-ph { width: 100%; height: 100%; object-fit: cover; }
.action-card-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--blue); padding: 16px 24px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #fff;
  text-align: center; transition: background 0.2s;
}
.action-card:hover .action-card-bar { background: #1f98c8; }

/* Action cards with text below (sponsor/brand/gift style) */
.action-cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; padding: 80px 60px; background: var(--cream);
}
.ac3-img {
  width: 100%; height: 240px; overflow: hidden;
  margin-bottom: 20px;
}
.ac3-img img, .ac3-img .img-ph { width: 100%; height: 100%; object-fit: cover; }
.ac3-title {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--text); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.ac3-body {
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.7;
  margin-bottom: 20px;
}

/* Feature cards (icon + title + body, white bg, bordered) */
.feature-cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); margin: 48px 0 0;
}
.feature-card {
  background: var(--white); padding: 52px 40px; text-align: center;
  border: 1px solid var(--border);
}
.fc-icon { margin: 0 auto 24px; font-size: 3.5rem; display: block; }
.fc-title {
  font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 600;
  margin-bottom: 16px; color: var(--text); letter-spacing: -0.01em;
}
.fc-body {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.85; font-weight: 400;
}

/* ============================================================
   BIG SPLIT — half photo, half dark text (Take Action hero)
   ============================================================ */
.split-hero {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 600px;
}
.split-hero-img { position: relative; overflow: hidden; background: var(--cream-dark); }
.split-hero-img img,
.split-hero-img .img-ph { width: 100%; height: 100%; object-fit: cover; }
.split-hero-content {
  background: var(--charcoal); padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-hero-content h1 {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; color: var(--white); line-height: 1.25;
  margin-bottom: 24px; font-style: italic;
}
.split-hero-content p {
  font-size: 0.95rem; color: rgba(255,255,255,0.7);
  line-height: 1.75; margin-bottom: 32px;
}
/* Quote card inside split */
.quote-card {
  background: var(--white); padding: 24px 28px; margin-top: 24px;
}
.quote-card-tabs {
  display: flex; margin-bottom: 16px; border: 1px solid var(--border);
}
.qt {
  flex: 1; padding: 8px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-align: center; border: none;
  background: var(--white); color: var(--text-mid);
  cursor: pointer; transition: all 0.2s;
}
.qt.active { background: var(--blue); color: #fff; }
.qc-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-mid); margin-bottom: 10px;
}
.qc-amounts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 6px;
}
.qc-amounts-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px;
}
.qc-btn {
  padding: 10px 6px; border: 1px solid var(--border); background: var(--white);
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  color: var(--text); transition: all 0.2s; text-align: center;
}
.qc-btn.active, .qc-btn:hover {
  background: var(--yellow); border-color: var(--yellow);
}
.qc-btn .sm { font-size: 0.6rem; color: var(--text-mid); display: block; }
.qc-help { font-size: 0.78rem; color: var(--text-mid); margin-bottom: 12px; }
.qc-help strong { color: var(--text); }

/* ============================================================
   100% MODEL CARD
   ============================================================ */
.model-card {
  background: var(--cream); border: 1px solid var(--cream-dark);
  padding: 28px 32px; max-width: 600px; margin: 32px auto 0;
  display: flex; align-items: center; gap: 24px;
}
.model-circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--blue); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.model-circle-inner {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: var(--text);
}
.model-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }
.model-text strong { color: var(--text); }

/* ============================================================
   TESTIMONIALS — charity water style (white cards, centered)
   ============================================================ */
.testimonials-section { background: var(--cream); padding: 100px 120px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.tcard {
  background: var(--white); border: 1px solid var(--border);
  padding: 44px 36px; text-align: center; display: flex; flex-direction: column;
}
.tcard-quote {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 0.95rem; line-height: 1.85; color: var(--text);
  flex: 1; margin-bottom: 28px;
}
.tcard-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-mid); text-align: center;
}
.tcard-org {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem; color: var(--text-lt); margin-top: 4px; font-weight: 400;
}

/* ============================================================
   NEWSLETTER — horizontal inline (charity water style)
   ============================================================ */
.newsletter-wrap {
  background: var(--white); border: 1px solid var(--border);
  padding: 40px 48px; max-width: 860px; margin: 0 auto;
}
.newsletter-header { margin-bottom: 24px; text-align: center; }
.newsletter-header h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  color: var(--text);
}
.newsletter-header p { font-size: 0.88rem; color: var(--text-mid); margin-top: 4px; }
.newsletter-form {
  display: flex; gap: 0;
}
.newsletter-form input {
  flex: 1; padding: 14px 16px; border: 1px solid var(--border);
  border-right: none; font-family: var(--sans); font-size: 0.9rem;
  color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form input::placeholder { color: var(--text-lt); }
.newsletter-btn {
  padding: 14px 28px; background: var(--charcoal); color: var(--white);
  border: none; font-family: var(--sans); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.newsletter-btn:hover { background: #444; }
.newsletter-note {
  font-size: 0.72rem; color: var(--text-lt); text-align: center;
  margin-top: 10px;
}

/* ============================================================
   FOOTER — white, 4-col links, minimal (charity water)
   ============================================================ */
.footer { background: var(--white); padding: 60px 120px 40px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 60px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 0.8rem; font-weight: 700; color: var(--text);
  margin-bottom: 20px; letter-spacing: 0.3px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.85rem; color: var(--text-mid); transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 28px; }
.footer-bottom {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); transition: color 0.2s;
}
.footer-social a:hover { color: var(--text); }
.footer-social svg { display: block; }
.footer-legal { flex: 1; }
.footer-legal a {
  font-size: 0.78rem; color: var(--blue); margin-right: 16px;
  transition: opacity 0.2s;
}
.footer-legal a:hover { opacity: 0.7; }
.footer-copy {
  font-size: 0.72rem; color: var(--text-lt); margin-top: 8px; line-height: 1.6;
}
.footer-trust { font-size: 0.78rem; color: var(--blue); font-weight: 600; }

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-ph {
  background: linear-gradient(135deg, var(--cream-dark) 0%, #d4ccb8 100%);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: rgba(0,0,0,0.35);
  position: relative; overflow: hidden;
}
.img-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(0,0,0,0.03) 20px, rgba(0,0,0,0.03) 40px
  );
}
.img-ph-icon { font-size: 2.4rem; margin-bottom: 8px; position: relative; }
.img-ph-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; position: relative; opacity: 0.6;
}
.img-ph-size {
  font-size: 0.62rem; position: relative; opacity: 0.4; margin-top: 4px;
}

/* ============================================================
   PAGE HERO — dark charcoal, centered (inner pages)
   ============================================================ */
.page-hero {
  background: var(--charcoal); padding: 120px 0 80px;
  text-align: center;
}
.page-hero .container { text-align: center; }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400; color: var(--white); margin-bottom: 20px;
  font-style: italic;
}
.page-hero p {
  font-size: 1rem; color: rgba(255,255,255,0.7);
  max-width: 600px; margin: 0 auto; line-height: 1.7;
  font-family: var(--sans);
}

/* Story detail */
.story-detail { max-width: 740px; margin: 80px auto; padding: 0 40px 80px; }
.story-detail-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-mid);
  margin-bottom: 16px; display: block;
}
.story-detail h1 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500; color: var(--text); margin-bottom: 12px;
  line-height: 1.3;
}
.story-detail-meta {
  font-size: 0.8rem; color: var(--text-lt);
  margin-bottom: 32px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.story-detail-body p {
  font-size: 1rem; color: var(--text-mid); line-height: 1.85;
  margin-bottom: 22px;
}
.story-detail-body .story-img {
  width: 100%; margin: 32px 0; overflow: hidden;
}
.story-nav-row {
  display: flex; justify-content: space-between;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.story-nav-lbl {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-lt);
  margin-bottom: 6px;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 40px; max-width: 1000px;
  margin: 0 auto;
}
.product-card { background: var(--white); }
.product-card-img { height: 280px; overflow: hidden; }
.product-card-img img, .product-card-img .img-ph { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 28px; }
.product-card-body h3 {
  font-family: var(--serif); font-size: 1.15rem;
  margin-bottom: 10px; font-weight: 500;
}
.product-card-body p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--cream); padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-bottom: 12px; }
.contact-info p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.contact-email { color: var(--blue); font-weight: 600; font-size: 0.95rem; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grp { display: flex; flex-direction: column; gap: 6px; }
.form-grp label { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); }
.form-grp input, .form-grp select, .form-grp textarea {
  padding: 12px 14px; border: 1px solid var(--border);
  font-family: var(--sans); font-size: 0.9rem; color: var(--text);
  outline: none; background: var(--white); transition: border-color 0.2s;
}
.form-grp input:focus, .form-grp select:focus, .form-grp textarea:focus { border-color: var(--blue); }
.form-grp textarea { min-height: 120px; resize: none; }
.btn-charcoal {
  padding: 16px 40px; background: var(--charcoal); color: var(--white);
  border: none; font-family: var(--sans); font-size: 0.8rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s; align-self: flex-start;
}
.btn-charcoal:hover { background: #444; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-page { min-height: 100vh; background: var(--cream); padding-top: 80px; }
.admin-container { max-width: 900px; margin: 0 auto; padding: 60px 40px; }
.admin-header { margin-bottom: 40px; }
.admin-header h1 { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.admin-header p { color: var(--text-mid); margin-top: 6px; }
.admin-tabs { display: flex; gap: 0; margin-bottom: 0; border-bottom: 2px solid var(--border); }
.atab { padding: 12px 28px; border: none; background: none; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--text-mid); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.atab.active { color: var(--text); border-bottom-color: var(--yellow); }
.admin-panel { background: var(--white); padding: 40px; margin-top: 0; border: 1px solid var(--border); border-top: none; }
.admin-fgrp { margin-bottom: 24px; }
.admin-fgrp label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); margin-bottom: 8px; }
.admin-fgrp input, .admin-fgrp select, .admin-fgrp textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); font-family: var(--sans); font-size: 0.9rem; color: var(--text); outline: none; transition: border-color 0.2s; }
.admin-fgrp input:focus, .admin-fgrp select:focus, .admin-fgrp textarea:focus { border-color: var(--blue); }
.admin-fgrp textarea { min-height: 220px; resize: vertical; }
.admin-fgrp .hint { font-size: 0.72rem; color: var(--text-lt); margin-top: 5px; }
.admin-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form-section .admin-frow { grid-template-columns: 1fr; gap: 0; }
.admin-img-drop { border: 2px dashed var(--border); padding: 32px; text-align: center; cursor: pointer; transition: border-color 0.2s; margin-top: 8px; }
.admin-img-drop:hover { border-color: var(--blue); }
.admin-img-drop p { font-size: 0.8rem; color: var(--text-lt); margin-top: 8px; }
.admin-success { background: #e8f7e8; border: 1px solid #4caf50; color: #2e7d32; padding: 14px 20px; font-size: 0.88rem; font-weight: 600; display: none; margin-bottom: 20px; }
.admin-story-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.admin-story-row:last-child { border-bottom: none; }
.admin-story-row strong { font-size: 0.9rem; }
.admin-story-row span { font-size: 0.75rem; color: var(--text-lt); display: block; margin-top: 2px; }
.admin-del { font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #c0392b; background: none; border: 1px solid #c0392b; padding: 6px 14px; cursor: pointer; transition: all 0.2s; }
.admin-del:hover { background: #c0392b; color: white; }
.admin-view { font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); border: 1px solid var(--blue); padding: 6px 14px; margin-right: 8px; transition: all 0.2s; display: inline-block; }
.admin-view:hover { background: var(--blue); color: white; }

/* Donation tracking */
.donation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.d-stat { background: var(--cream); padding: 24px; border: 1px solid var(--border); }
.d-stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--text); }
.d-stat-lbl { font-size: 0.72rem; color: var(--text-lt); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.donation-table { width: 100%; border-collapse: collapse; }
.donation-table th { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); padding: 10px 0; border-bottom: 2px solid var(--border); text-align: left; }
.donation-table td { font-size: 0.85rem; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.donation-table td:first-child { color: var(--text); font-weight: 600; }
.d-badge { display: inline-block; padding: 3px 10px; font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.d-badge.pending { background: #fff3cd; color: #856404; }
.d-badge.confirmed { background: #d4edda; color: #155724; }

/* Login */
.admin-login-wrap { min-height: 100vh; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.admin-login-box { background: var(--white); padding: 48px; max-width: 400px; width: 100%; border: 1px solid var(--border); }
.admin-login-box h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 6px; }
.admin-login-box p { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 28px; }

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.25s;
}
.donate-modal-overlay.open { opacity: 1; visibility: visible; }
.donate-modal-box {
  background: var(--white); max-width: 480px; width: 90%;
  padding: 40px; position: relative;
}
.donate-modal-box h3 {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  margin-bottom: 8px; color: var(--text);
}
.donate-modal-box p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 24px; }
.donate-modal-close {
  position: absolute; top: 16px; right: 16px;
  font-size: 1.2rem; cursor: pointer; color: var(--text-lt);
  background: none; border: none; padding: 4px 8px;
}
.donate-modal-close:hover { color: var(--text); }
.donate-success-msg {
  background: #e8f8e8; border: 1px solid #4caf50; color: #2e7d32;
  padding: 20px; font-size: 0.92rem; font-weight: 600;
  text-align: center; display: none;
}
.amount-input {
  width: 100%; padding: 10px 10px 10px 22px; border: 1px solid var(--border);
  font-family: var(--sans); font-size: 1.1rem; color: var(--text);
  text-align: left; outline: none; transition: border-color 0.2s; border-radius: 8px;
}
.amount-input:focus { border-color: var(--blue); }
.amt-custom-wrap input { font-size: 1.1rem; padding: 10px 10px 10px 22px; width: 100%; }
.donate-community { background: var(--cream); padding: 100px 0; text-align: center; }
.donate-feature-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-top: 64px; text-align: left;
}
@media (max-width: 768px) {
  .donate-feature-cols { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.dtab {
  flex: 1; padding: 11px 8px; border: none; background: white;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  color: #888; transition: all 0.2s;
}
.dtab.active { background: var(--blue); color: var(--white); }
.amt-btn {
  padding: 13px 8px; border: 1.5px solid #e0e0e0; background: white;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; color: #111; transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.amt-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.amt-btn:hover:not(.active) { border-color: var(--blue); background: rgba(41,171,226,0.08); }
.amt-sub { font-size: 0.58rem; font-weight: 400; color: #888; letter-spacing: 1px; }
.amt-btn.active .amt-sub { color: rgba(255,255,255,0.88); }
.spinner {
  width: 20px; height: 20px; border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #111; border-radius: 50%;
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
#card-type-badge.visa-badge { background: #e8ecf8; color: #1A1F71; border: 1px solid #1A1F71; }
#card-type-badge.mc-badge { background: #fff3e0; color: #E65100; border: 1px solid #E65100; }
#card-type-badge.amex-badge { background: #e3f2fd; color: #1565C0; border: 1px solid #1565C0; }

/* ============================================================
   UTILITY
   ============================================================ */
.max-w { max-width: 1200px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .section-pad { padding: 80px 60px; }
  .section-pad-lg { padding: 100px 60px; }
  .two-col-info { padding: 80px 60px; }
  .stories-section { padding: 80px 60px; }
  .testimonials-section { padding: 80px 60px; }
  .footer { padding: 60px 60px 40px; }
}
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1px; background: #0f0f10; padding: 0; }
  .stats-logo-cell { grid-column: 1 / 3; }
  .stat-cell { padding: 28px 18px; }
  .two-col-info { gap: 48px; padding: 80px 40px; }
  .products-grid { padding: 60px 40px; }
  .contact-section { padding: 80px 40px; }
  .contact-grid { gap: 48px; }
  .why-tabs { padding: 0 40px; }
  .stories-section { padding: 80px 40px; }
  .testimonials-section { padding: 80px 40px; }
  .footer { padding: 60px 40px 40px; }
  .section-pad { padding: 80px 40px; }
  .section-pad-lg { padding: 100px 40px; }
}
@media (max-width: 768px) {
  .nav-center, .nav-right .nav-signin, .nav-divider { display: none; }
  .nav-hamburger { display: flex; }
  .nav-center.open {
    display: flex; flex-direction: column;
    position: fixed; top: 80px; left: 0; right: 0;
    background: var(--white); padding: 24px;
    gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .container { padding: 0 24px; }
  .hero-inner { flex-direction: column; gap: 40px; padding: 0 24px; justify-content: center; }
  .hero-right-col { max-width: 100%; width: 100%; }
  .hero-headline { font-size: 1.7rem; text-align: center; }
  .hero-card { max-width: 100%; width: 100%; }
  .hero-amounts { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stats-logo-cell { grid-column: 1; border-right: none; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .two-col-info { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .action-cards { grid-template-columns: 1fr; }
  .stories-grid-3 { grid-template-columns: 1fr; }
  .action-cards-3 { grid-template-columns: 1fr; }
  .feature-cards-3 { grid-template-columns: 1fr; }
  .split-hero { grid-template-columns: 1fr; }
  .split-hero-img { height: 300px; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding: 0; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 1px solid var(--border); border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 60px 24px; }
  .section-pad-lg { padding: 80px 24px; }
  .stories-section { padding: 60px 24px; }
  .testimonials-section { padding: 60px 24px; }
  .footer { padding: 60px 24px 32px; }
  .why-image-wrap { height: 360px; }
  .why-float-card { right: 20px; left: 20px; max-width: 100%; }
  .why-tabs { padding: 0 24px; }
  .donation-grid { grid-template-columns: 1fr; }
  .admin-frow { grid-template-columns: 1fr; }
  .admin-container { padding: 40px 20px; }
  .amount-input, .amt-custom-wrap input { width: 100% !important; font-size: 1rem; }
  .hero-amounts, .amt-row { flex-wrap: wrap; }
  .amount-btn, .amt-btn { min-width: calc(50% - 6px); }
}

/* ============================================================
   PRODUCT SHOP PAGE
   ============================================================ */
.product-shop-hero {
  background: var(--charcoal);
  padding: 80px 0 72px;
  text-align: center;
}
.product-shop-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.product-shop-title {
  font-family: var(--serif); font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 400; color: var(--white);
  line-height: 1.2; margin-bottom: 20px; font-style: italic;
}
.product-shop-subtitle {
  font-size: 1rem; color: rgba(255,255,255,0.65);
  max-width: 560px; margin: 0 auto; line-height: 1.75;
}
.product-shop-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; max-width: 1060px; margin: 0 auto;
}
.product-shop-card { cursor: pointer; transition: transform 0.2s; }
.product-shop-card:hover { transform: translateY(-4px); }
.product-shop-img {
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--cream-dark); margin-bottom: 24px;
}
.product-shop-img .img-ph,
.product-shop-img img { width: 100%; height: 100%; object-fit: cover; }
.product-shop-category {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-lt); margin-bottom: 10px;
}
.product-shop-name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  color: var(--text); margin-bottom: 12px; line-height: 1.3;
}
.product-shop-desc {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.7;
  margin-bottom: 20px;
}
.product-shop-cta {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text);
  border-bottom: 2px solid var(--yellow); padding-bottom: 2px;
  display: inline-block; transition: opacity 0.2s;
}
.product-shop-cta:hover { opacity: 0.65; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-wrap {
  display: grid; grid-template-columns: 48% 52%;
  gap: 0; margin-top: 80px;
}
.product-detail-gallery {
  position: sticky; top: 80px; align-self: start;
  padding: 48px 32px 48px 48px; min-height: 700px;
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.product-zoom-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; background: var(--cream-dark); cursor: crosshair;
}
.product-zoom-wrap .img-ph,
.product-zoom-wrap img { width: 100%; height: 100%; object-fit: cover; }
.zoom-lens {
  position: absolute; border: 2px solid var(--yellow);
  width: 100px; height: 100px; pointer-events: none;
  display: none;
}
.zoom-result {
  position: absolute; top: 0; left: calc(100% + 12px);
  width: 380px; height: 380px;
  border: 1px solid var(--border);
  background-repeat: no-repeat; background-color: var(--white);
  display: none; z-index: 50;
}
.product-thumb-row {
  display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.product-thumb {
  width: 80px; height: 90px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color 0.2s; background: var(--cream-dark); flex-shrink: 0;
}
.product-thumb.active,
.product-thumb:hover { border-color: var(--yellow); }
.product-thumb .img-ph,
.product-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product-detail-info {
  background: var(--cream); padding: 48px 48px 80px 40px;
  border-left: 1px solid var(--border); min-width: 0; overflow: hidden;
}
.product-detail-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-lt); margin-bottom: 14px;
}
.product-detail-name {
  font-family: var(--serif); font-size: clamp(1.6rem,2.5vw,2.2rem);
  font-weight: 500; color: var(--text); margin-bottom: 16px; line-height: 1.3;
}
.product-detail-desc {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 32px;
}
.product-spec-title {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-mid);
  margin-bottom: 12px; margin-top: 28px;
}
.product-spec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.product-spec-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--text-mid); padding: 8px 0;
  border-bottom: 1px solid var(--border); line-height: 1.5;
}
.product-spec-list li::before {
  content: '✓'; color: var(--yellow); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

/* ============================================================
   QUOTE FORM (product detail page)
   ============================================================ */
.quote-form-section {
  background: var(--white); border-top: 3px solid var(--yellow);
  padding: 40px; margin-top: 40px;
}
.quote-form-section h3 {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 500; margin-bottom: 6px; color: var(--text);
}
.quote-form-section p.qf-sub {
  font-size: 0.85rem; color: var(--text-mid); margin-bottom: 28px;
}
.quote-fgrp { margin-bottom: 18px; }
.quote-fgrp label {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 7px;
}
.quote-fgrp input, .quote-fgrp textarea, .quote-fgrp select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  font-family: var(--sans); font-size: 0.9rem; color: var(--text);
  outline: none; transition: border-color 0.2s; background: var(--white);
}
.quote-fgrp input:focus, .quote-fgrp textarea:focus,
.quote-fgrp select:focus { border-color: var(--yellow); }
.quote-fgrp textarea { min-height: 80px; resize: none; }
.quote-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: var(--text-mid);
  margin-bottom: 20px; cursor: pointer; line-height: 1.5;
}
.quote-checkbox input { flex-shrink: 0; margin-top: 2px; }
.quote-success {
  background: #e8f7e8; border: 1px solid #4caf50;
  color: #2e7d32; padding: 16px 20px; font-size: 0.88rem;
  font-weight: 600; display: none; margin-bottom: 20px;
}

/* ============================================================
   RESPONSIVE — new product elements
   ============================================================ */
@media (max-width: 1024px) {
  .product-shop-grid { gap: 32px; }
  .product-detail-wrap { grid-template-columns: 48% 52%; }
  .product-detail-gallery { padding: 32px 20px 32px 32px; }
  .product-detail-info { padding: 32px 32px 60px 20px; }
  .zoom-result { width: 280px; height: 280px; }
  .quote-form-section .admin-frow { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .product-shop-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-detail-wrap { grid-template-columns: 1fr; }
  .product-detail-gallery { position: static; padding: 32px 24px 0; }
  .product-detail-info { padding: 32px 24px 60px; border-left: none; border-top: 1px solid var(--border); }
  .zoom-result { display: none !important; }
  .zoom-lens { display: none !important; }
  .quote-form-section { padding: 32px 24px; }
}

/* ============================================================
   NAV SCROLLED — glassmorphism
   ============================================================ */
.nav.scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
@supports (backdrop-filter: blur(20px)) {
  .nav.scrolled {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

/* action-card-bar hover letter-spacing */
.action-card-bar { transition: letter-spacing 0.3s ease, background 0.3s ease; }
.action-card-bar:hover { letter-spacing: 3px; background: #1f98c8; }

/* story-card image scale */
.story-card-img { overflow: hidden; }
.story-card-img .img-ph,
.story-card-img img {
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.story-card:hover .story-card-img img,
.story-card:hover .story-card-img .img-ph { transform: scale(1.05); }

/* section accent line */
.section-accent-line {
  width: 44px; height: 3px; background: var(--sky);
  margin: 0 auto 24px;
}
.section-accent-line.left { margin-left: 0; }

/* 3D tcard tilt */
.tcard {
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tcard:hover { box-shadow: 0 24px 56px rgba(0,0,0,0.1); }

/* img soft transition */
img { transition: filter 0.3s ease; }

/* focus-visible accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--yellow); outline-offset: 3px;
}

/* footer animated underlines */
.footer-col a { position: relative; display: inline-block; }
.footer-col a::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px; background: var(--yellow);
  transition: width 0.3s ease;
}
.footer-col a:hover::after { width: 100%; }

/* hero text-shadow depth */
.hero-headline { text-shadow: 0 2px 24px rgba(0,0,0,0.35); }

/* product back link */
.product-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-mid);
  padding: 18px 60px; border-bottom: 1px solid var(--border);
  margin-top: 80px; transition: color 0.2s; width: 100%;
}
.product-back-link:hover { color: var(--text); }
.product-back-link svg { transition: transform 0.2s; }
.product-back-link:hover svg { transform: translateX(-3px); }

/* donate step transitions */
#donate-step-1, #donate-step-2 {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* info-blocks responsive */
@media (max-width: 1024px) {
  .info-blocks-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .info-blocks-grid { grid-template-columns: 1fr; }
  .info-block { padding: 32px 24px; }
  .map-stats-row { grid-template-columns: 1fr; }
  .map-stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .map-stat-cell:last-child { border-bottom: none; }
}


/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .stagger-children > * {
    opacity: 1 !important; transform: none !important;
    transition: none !important;
  }
  .page-loader { display: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .map-pin-dot { animation: none !important; }
  .map-pin-pulse { animation: none !important; }
  .loader-bar-fill { animation: none !important; width: 100%; }
  .hover-lift:hover { transform: none !important; }
}

/* ============================================================
   MAPBOX MAP CONTAINER
   ============================================================ */
.map-container { position: relative; overflow: hidden; margin-top: 0; padding: 0 !important; margin: 0 !important; width: 100%; max-width: 100%; border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); }
.explore-panel {
  position: absolute; left: 0; top: 0; z-index: 10;
  background: rgba(18,18,18,0.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  min-width: 220px; max-width: 240px;
  border-right: 1px solid rgba(255,255,255,0.07);
  max-height: 480px; overflow-y: auto;
}

/* Make the Leaflet map fill the viewport (accounting for fixed nav height) */
#dpf-map {
  width: 100% !important;
  height: calc(100vh - 80px) !important;
  min-height: 520px;
  margin: 0 !important; padding: 0 !important;
  background: #dff1fb !important;
}
/* Boost tile colours and sharpen labels */
#dpf-map .leaflet-tile { filter: saturate(1.25) contrast(1.08) brightness(1.02) !important; }

/* Popup and attribution styling consistent across site */
.dpf-leaflet-popup .leaflet-popup-content-wrapper { border-radius: 0 !important; border-top: 3px solid var(--blue) !important; box-shadow: 0 8px 32px rgba(0,0,0,0.16) !important; padding: 0 !important; }
.dpf-leaflet-popup .leaflet-popup-content { margin: 0 !important; padding: 16px 20px !important; min-width: 200px; }
.dpf-leaflet-popup .leaflet-popup-tip { background: white !important; }
.dpf-leaflet-popup .leaflet-popup-close-button { color: #666 !important; font-size: 1rem !important; padding: 6px 8px !important; }
.leaflet-control-attribution { font-size: 0.6rem !important; background: rgba(255,255,255,0.68) !important; color: rgba(20,30,50,0.55) !important; }
.leaflet-control-attribution a { color: rgba(20,30,50,0.65) !important; }
.leaflet-control-zoom { display: none; }
.explore-panel-header {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.38);
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.explore-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s; font-size: 0.86rem;
  color: rgba(255,255,255,0.78);
}
.explore-row:hover { background: rgba(255,201,7,0.08); }
.explore-row .flag { margin-right: 8px; }
.explore-row .count {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--yellow); margin-right: 5px;
}
.explore-row .arrow { color: rgba(255,255,255,0.25); font-size: 0.9rem; }
.map-controls { display: flex; flex-direction: column; gap: 2px; }
.map-btn {
  width: 36px; height: 36px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 300; color: var(--charcoal);
  cursor: pointer; border: 1px solid var(--border);
  transition: background 0.15s; line-height: 1; user-select: none;
}
.map-btn:hover { background: var(--cream); }
@media (max-width: 640px) {
  .explore-panel { display: none; }
}

/* ============================================================
   SECTION NUMBER (decorative)
   ============================================================ */
.section-number {
  position: absolute; top: 20px; right: 40px;
  font-family: var(--serif); font-size: 8rem; font-weight: 700;
  color: rgba(0,0,0,0.04); line-height: 1;
  pointer-events: none; font-style: italic; user-select: none;
}

/* ============================================================
   TYPOGRAPHY — charity water breathing room
   ============================================================ */
.centered-body,
.section-body,
.info-body,
.fc-body,
.tcard-quote,
.story-detail-body p,
.split-hero-content p,
.contact-info p,
.ac3-body {
  line-height: 1.9;
  word-spacing: 0.07em;
  letter-spacing: 0.013em;
  font-size: 1rem;
  font-weight: 400;
}
.centered-heading {
  letter-spacing: -0.025em;
  word-spacing: 0.01em;
  line-height: 1.2;
}
.page-hero h1 {
  letter-spacing: -0.02em;
  word-spacing: 0.02em;
}
.footer-col ul li a {
  line-height: 2;
  letter-spacing: 0.01em;
}
.ylink {
  letter-spacing: 2.5px;
  word-spacing: 0.05em;
}

/* ============================================================
   INFO BLOCK HOVER (update)
   ============================================================ */
.info-block:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10) !important;
}

/* ============================================================
   RESPONSIVE — Comprehensive mobile & tablet fixes
   ============================================================ */

/* Prevent all horizontal overflow site-wide */
html, body { overflow-x: hidden; max-width: 100%; }
* { min-width: 0; }

/* ── NAV: Hamburger on tablets & phones (≤ 1024px) ─────────── */
/* Logo + full nav links + GIVE button overflow on iPad widths  */
@media (max-width: 1024px) {
  .nav-center    { display: none !important; }
  .nav-hamburger { display: flex !important; margin-left: 8px; }
  .nav-right     { margin-left: auto; }

  /* Expanded mobile menu (same overlay as the 768px rule) */
  .nav-center.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px 32px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* Full-width tappable links inside the open menu */
  .nav-center.open .nav-item > a,
  .nav-center.open .nav-item > button {
    font-size: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: block;
    width: 100%;
  }
  .nav-center.open .nav-item:last-child > a { border-bottom: none; }
}

/* Desktop only (> 1024px): tighten item padding to prevent overflow */
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-item > a, .nav-item > button {
    padding: 10px 10px;
    font-size: 0.72rem;
  }
}

/* ── TABLET 900px ─────────────────────────────────────────── */
@media (max-width: 900px) {
  /* 3-column class grids → 2 columns */
  .feature-cards-3 { grid-template-columns: 1fr 1fr; }
  .action-cards-3  { grid-template-columns: 1fr 1fr; padding: 60px 32px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  /* Inline 3-col grids → 2 col */
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }

  /* Stories stay 3-col until 768px — no change needed */
}

/* ── PHONE 768px ─────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 0 16px; }
  .nav-right { flex-shrink: 0; }

  /* Hero: grow to fit content, never clip the donation card */
  .hero {
    height: auto !important;
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 48px;
  }
  .hero-inner {
    padding-top: 108px !important;
    padding-bottom: 40px !important;
    align-items: center !important;
  }

  /* ── Inline 2-column grids → single column ── */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* ── Inline 3-column grids → single column ── */
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Override class 3-col grids (matches 900px rule but keeps 1fr here) */
  .feature-cards-3  { grid-template-columns: 1fr !important; }
  .action-cards-3   { grid-template-columns: 1fr !important; padding: 48px 24px; }
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* ── Split-hero: inline-padded child divs ── */
  .split-hero > div[style] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  /* CSS-class split hero content */
  .split-hero-content { padding: 48px 24px !important; }

  /* ── Section inline padding: reduce vertical space ── */
  section[style*="padding:100px"] {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  section[style*="padding:80px"] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* ── Why Water tabs section ── */
  .why-section { padding-bottom: 0; }
  .why-tabs { flex-wrap: wrap; gap: 8px; }
  .why-tab { padding: 8px 16px; font-size: 0.72rem; }
  .why-image-wrap {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }
  /* Override inline style="height:100%" on the placeholder */
  .why-image-wrap .img-ph { height: 300px !important; flex-shrink: 0; width: 100%; }
  .why-float-card {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border-top: 3px solid var(--yellow);
    border-radius: 0;
    padding: 24px;
  }

  /* ── Stats bar ── */
  .stat-num { font-size: 1.85rem; }
  .stat-cell { padding: 22px 16px; }
  .stats-logo-cell { padding: 22px 20px; gap: 14px; }
  .stats-logo-text h3 { font-size: 1.1rem; }

  /* ── Page hero ── */
  .page-hero { padding: 100px 24px 56px !important; }

  /* ── Footer bottom row: stack links ── */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* ── Section decorative number: hide ── */
  .section-number { display: none !important; }

  /* ── 2-col forms ── */
  .form-row-2 { grid-template-columns: 1fr !important; }

  /* ── Admin rows ── */
  .admin-frow { grid-template-columns: 1fr !important; }
}

/* ── SMALL PHONES 480px ───────────────────────────────────── */
@media (max-width: 480px) {

  /* Nav */
  .nav { padding: 0 16px; }
  .nav-logo img { height: 30px !important; }

  /* Hero headline: smaller */
  .hero-headline { font-size: 1.4rem !important; }
  .hero-card { padding: 20px 18px !important; }
  .hero-amounts { grid-template-columns: 1fr 1fr !important; }

  /* Page hero heading */
  .page-hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem) !important; }
  .page-hero { padding: 90px 16px 48px !important; }

  /* Footer: fully single column */
  .footer-cols { grid-template-columns: 1fr !important; gap: 28px; }
  .footer { padding: 48px 20px 32px !important; }
  .footer-inner { padding: 0 !important; }

  /* Card padding reduction */
  .tcard { padding: 28px 18px; }
  .feature-card { padding: 32px 20px; }

  /* Action cards */
  .action-card-img { height: 240px; }

  /* Split-hero image height */
  .split-hero-img { height: 200px !important; }
  .split-hero > div[style] {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .split-hero-content { padding: 36px 16px !important; }

  /* Stats */
  .stat-num { font-size: 1.55rem; }
  .stats-logo-text h3 { font-size: 0.95rem; }
  .stats-logo-cell { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Newsletter */
  .newsletter-wrap { padding: 28px 18px; }

  /* Section padding */
  .section-pad  { padding: 48px 16px !important; }
  .section-pad-lg { padding: 56px 16px !important; }
  .stories-section { padding: 48px 16px !important; }
  .testimonials-section { padding: 48px 16px !important; }

  /* Map */
  .map-section { padding-top: 48px; }

  /* Why float card */
  .why-float-card { padding: 20px 18px; }
  .why-float-card p { font-size: 0.9rem; }
  .why-image-wrap .img-ph { height: 240px !important; }

  /* Product */
  .product-detail-name { font-size: 1.4rem !important; }
  .product-detail-gallery,
  .product-detail-info { padding: 24px 16px !important; }

  /* Contact */
  .contact-grid { padding: 48px 16px !important; }
  .two-col-info { padding: 48px 16px !important; }

  /* Buttons */
  .btn-yellow, .btn-charcoal { font-size: 0.75rem !important; letter-spacing: 1.5px !important; }
}
