/* ==========================================================================
   Wisdom Animal Welfare Foundation — style.css
   Static website stylesheet (no frameworks, no dependencies)

   CONTENTS
   1.  Design tokens
   2.  Reset & base
   3.  Typography & utilities
   4.  Buttons
   5.  Badges, cards, notices, placeholders
   6.  Header & navigation
   7.  Hero & homepage sections
   8.  Page hero (inner pages)
   9.  Programs page
   10. Blogs & article pages
   11. Donate page
   12. Contact page
   13. 404 page
   14. CTA band
   15. Footer
   16. Media queries
   17. Accessibility (reduced motion, focus)
   ========================================================================== */

/* 1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand palette (supplied) */
  --teal:        #174E5A;   /* deep teal — primary brand colour */
  --teal-dark:   #0E3640;   /* darker teal for footer / depth */
  --teal-soft:   #3E7380;   /* lighter teal for secondary text on dark */
  --teal-tint:   #E7F1F2;   /* very light teal wash */
  --lavender:    #D5CBE8;
  --lavender-tint:#F1EDF8;
  --lavender-deep:#4A3F73;  /* readable text colour on lavender tints */
  --aqua:        #9CD7D8;
  --aqua-tint:   #EBF6F6;
  --coral:       #EB5368;   /* decorative accent */
  --coral-deep:  #D63A50;   /* AA-safe coral for button backgrounds */
  --coral-tint:  #FDEDEF;
  --orange:      #F6AD72;
  --orange-tint: #FEF3E8;
  --orange-deep: #8A4B14;   /* readable text on orange tint */

  /* Neutrals */
  --white:       #FFFFFF;
  --bg:          #FDFCFA;   /* soft off-white page background */
  --bg-alt:      #F6F3EE;   /* warm sand section background */
  --ink:         #22333A;   /* near-black body text (teal-tinted) */
  --ink-soft:    #52646C;   /* secondary body text */
  --line:        #E5E1DA;   /* hairline borders */

  /* Type */
  --font-display: Georgia, "Times New Roman", "Noto Serif", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Shape & shadow */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(23, 78, 90, .08);
  --shadow:    0 6px 24px rgba(23, 78, 90, .10);
  --shadow-lg: 0 16px 44px rgba(23, 78, 90, .16);

  /* Layout */
  --container: 1150px;
  --gutter: 20px;
}

/* 2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;             /* safety net: no horizontal scroll */
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
img { border-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--teal);
  line-height: 1.22;
  margin: 0 0 .6em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }

ul, ol { padding-left: 1.25em; }
li { margin-bottom: .45em; }

strong { color: var(--teal); }

::selection { background: var(--aqua); color: var(--teal-dark); }

/* 3. TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 7vw, 4.75rem); }
.section-alt { background: var(--bg-alt); }
.section-teal-tint { background: var(--teal-tint); }
.section-aqua-tint { background: var(--aqua-tint); }
.section-lavender-tint { background: var(--lavender-tint); }

.section-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 0; }
.section-head-left { text-align: left; margin-inline: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 .8rem;
}

.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* Skip link — visible on keyboard focus */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 200;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 600;
  padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* 4. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .btn-icon { width: 1.1em; height: 1.1em; flex: none; }

/* Primary: deep teal (AA contrast with white text) */
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }

/* Donate: coral (deepened for AA contrast) */
.btn-donate { background: var(--coral-deep); color: #fff; }
.btn-donate:hover { background: #B92F44; color: #fff; }

/* Ghost on light background */
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }

/* Ghost on dark/teal background */
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-ghost-light:hover { background: #fff; color: var(--teal); border-color: #fff; }

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.08rem; }
.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }

/* 5. BADGES, CARDS, NOTICES, PLACEHOLDERS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .8rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-focus   { background: var(--aqua-tint); color: var(--teal); border: 1px solid var(--aqua); }
.badge-planned { background: var(--lavender-tint); color: var(--lavender-deep); border: 1px solid var(--lavender); }
.badge-urgent  { background: var(--coral-tint); color: var(--coral-deep); border: 1px solid var(--coral); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-body { padding: 1.5rem 1.6rem 1.7rem; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--ink-soft); font-size: .98rem; margin-bottom: .9rem; }
.card-body p:last-child { margin-bottom: 0; }

.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

/* Soft notice boxes */
.notice {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--coral-tint);
  border: 1px solid #F3C2CB;
  border-left: 6px solid var(--coral);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--coral-deep); margin-top: .15rem; }
.notice p { margin: 0; font-size: .97rem; }
.notice strong { color: var(--coral-deep); }

.notice-verify { background: var(--orange-tint); border-color: #F2D5B4; border-left-color: var(--orange); }
.notice-verify svg { color: var(--orange-deep); }
.notice-verify strong { color: var(--orange-deep); }

.notice-info { background: var(--aqua-tint); border-color: #BFE4E4; border-left-color: var(--aqua); }
.notice-info svg { color: var(--teal); }

/* Editable placeholders (to be replaced with verified details) */
.placeholder {
  display: inline-block;
  background: var(--lavender-tint);
  border: 1.5px dashed var(--lavender);
  color: var(--lavender-deep);
  padding: .35rem .8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95em;
}
.placeholder-badge {
  display: inline-block;
  background: var(--lavender-deep);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .16rem .6rem;
  margin-left: .5rem;
  vertical-align: middle;
}

/* 6. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
  height: 52px;
  width: auto;
  transition: height .2s ease;
}

/* Desktop nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  display: inline-block;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.site-nav a:not(.btn):hover { background: var(--teal-tint); color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-tint); }
.site-nav .nav-cta { margin-left: .55rem; }
.site-nav .btn { padding: .62rem 1.35rem; font-size: .95rem; }

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 7. HERO & HOMEPAGE SECTIONS
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(46rem 26rem at 112% -10%, rgba(156, 215, 216, .35), transparent 60%),
    radial-gradient(38rem 24rem at -14% 112%, rgba(213, 203, 232, .5), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral-deep);
  position: relative;
}
.hero .lead { margin: 1.1rem 0 1.9rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 1.9rem;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust svg { width: 18px; height: 18px; color: var(--coral-deep); flex: none; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 58%;
  height: 58%;
  border-radius: var(--radius-lg);
  background: var(--aqua);
  opacity: .4;
  z-index: -1;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: -14px auto auto -14px;
  width: 42%;
  height: 46%;
  border-radius: var(--radius-lg);
  background: var(--lavender);
  opacity: .45;
  z-index: -1;
}
.hero-caption {
  margin-top: .8rem;
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Intro split */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }

/* Mission / objective list with icons */
.icon-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.icon-list li {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  margin: 0;
}
.icon-list .ico {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
}
.icon-list .ico svg { width: 22px; height: 22px; }
.icon-list h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: .1rem 0 .15rem; }
.icon-list p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* Photo gallery strip */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }
.gallery-note { text-align: center; font-size: .84rem; color: var(--ink-soft); margin-top: 1.2rem; }

/* Value chips (About) */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.value-card .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--lavender-tint);
  color: var(--lavender-deep);
  margin-bottom: .9rem;
}
.value-card .ico svg { width: 22px; height: 22px; }
.value-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.value-card p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* 8. PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
  background:
    radial-gradient(40rem 20rem at 108% -30%, rgba(156, 215, 216, .4), transparent 62%),
    radial-gradient(30rem 18rem at -10% 130%, rgba(213, 203, 232, .45), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .45em; }
.page-hero .lead { max-width: 46em; margin-bottom: 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: .86rem;
  color: var(--ink-soft);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--teal); text-decoration: none; font-weight: 600; }
.breadcrumb [aria-current="page"] { font-weight: 600; color: var(--ink-soft); }

/* 9. PROGRAMS PAGE
   ========================================================================== */
.program-card { display: flex; flex-direction: column; }
.program-card .card-body { display: flex; flex-direction: column; flex: 1; }
.program-card .badge { align-self: flex-start; margin-bottom: .8rem; }
.program-card .program-list { margin: .2rem 0 0; padding-left: 1.15em; font-size: .93rem; color: var(--ink-soft); }
.program-card .program-list li { margin-bottom: .3rem; }
.program-legend {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  align-items: center; margin-top: 1.4rem; font-size: .9rem; color: var(--ink-soft);
}

/* 10. BLOGS & ARTICLES
   ========================================================================== */
.blog-card { display: flex; flex-direction: column; }
.blog-card .card-body { display: flex; flex-direction: column; flex: 1; }
.blog-card .read-more {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.blog-card .read-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.blog-card .read-more:hover svg { transform: translateX(3px); }
.blog-cat {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-soft); margin-bottom: .5rem;
}

/* Article layout */
.article-wrap { max-width: 780px; margin-inline: auto; }
.article-hero img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 1.6rem 0 .6rem;
}
.article-hero figcaption { font-size: .82rem; color: var(--ink-soft); text-align: center; }
.article-body h2 { margin-top: 2.1em; }
.article-body h3 { margin-top: 1.6em; }
.article-body img { border-radius: var(--radius); margin: .4rem 0 1.2rem; }

.takeaways {
  background: var(--aqua-tint);
  border: 1px solid #C4E7E7;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}
.takeaways h3 { margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }
.takeaways h3 svg { width: 20px; height: 20px; color: var(--teal); }
.takeaways ul { margin: 0; }
.takeaways li { margin-bottom: .4rem; }

.disclaimer {
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 2rem 0;
}
.disclaimer strong { color: var(--ink); }

.related { border-top: 1px solid var(--line); margin-top: 2.6rem; padding-top: 1.8rem; }
.related h2 { font-size: 1.35rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.related a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
}
.related a svg { width: 16px; height: 16px; }

/* 11. DONATE PAGE
   ========================================================================== */
.donate-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}
.qr-card h2 { font-size: 1.35rem; }
.qr-frame {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.8rem);   /* generous white space around the QR */
  margin: .6rem auto 1.2rem;
}
.qr-frame img {
  /* Supplied QR image is 1048px wide — never upscale beyond natural size */
  width: 100%;
  max-width: 430px;
  height: auto;
}
.qr-caption { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.5rem; }

.upi-row { margin-top: 1.4rem; }
.upi-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem;
}
.upi-chip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .8rem;
  background: var(--teal-tint);
  border: 1px solid #C9E0E3;
  border-radius: 14px;
  padding: .9rem 1.1rem;
}
.upi-id-text {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(1.02rem, 2.6vw, 1.22rem);
  font-weight: 700;
  color: var(--teal-dark);
  word-break: break-all;      /* keep long UPI ID wrap-safe on small screens */
  user-select: all;           /* tap once to select on mobile */
  cursor: text;
}
.copy-status { margin-top: .7rem; font-size: .9rem; font-weight: 600; min-height: 1.4em; }
.copy-status.ok { color: #1D7A46; }
.copy-status.err { color: var(--coral-deep); }

.steps-list { list-style: none; counter-reset: step; margin: 1.2rem 0 0; padding: 0; }
.steps-list li {
  counter-increment: step;
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 0 0 1.3rem 0;
  margin: 0;
}
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
}
.steps-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19.5px; top: 44px; bottom: 4px;
  width: 1.5px;
  background: var(--aqua);
}
.steps-list h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink); margin: .35rem 0 .2rem; }
.steps-list p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.support-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .9rem; }
.support-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; margin: 0;
}
.support-list .ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--coral-tint); color: var(--coral-deep); }
.support-list .ico svg { width: 20px; height: 20px; }
.support-list h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; color: var(--ink); margin: .1rem 0 .1rem; }
.support-list p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* 12. CONTACT PAGE
   ========================================================================== */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.7rem 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.contact-card .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: .4rem;
}
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.contact-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.contact-value { font-size: 1.02rem; color: var(--ink); }
.contact-value a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-value a:hover, .contact-value a:focus-visible { text-decoration: underline; }

/* 13. 404 PAGE
   ========================================================================== */
.error-page { text-align: center; padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--teal);
  margin: 0 0 .1em;
}
.error-page .paw-row { display: flex; justify-content: center; gap: .9rem; margin: 1.4rem 0 1.8rem; }
.error-page .paw-row svg { width: 30px; height: 30px; color: var(--coral); opacity: .75; }
.error-page .paw-row svg:nth-child(2) { transform: rotate(-12deg) translateY(8px); color: var(--orange); }
.error-page .paw-row svg:nth-child(3) { transform: rotate(9deg); color: var(--teal-soft); }
.error-page .paw-row svg:nth-child(4) { transform: rotate(-6deg) translateY(10px); color: var(--lavender-deep); }
.error-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }

/* 14. CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before { width: 340px; height: 340px; background: rgba(156, 215, 216, .14); top: -170px; right: -90px; }
.cta-band::after  { width: 280px; height: 280px; background: rgba(213, 203, 232, .16); bottom: -150px; left: -80px; }
.cta-band h2 { color: #fff; max-width: 22em; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 46em; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-donate { background: var(--coral); color: #fff; }   /* large text on teal passes AA-large */
.cta-band .btn-donate:hover { background: var(--coral-deep); }
.cta-band .small { color: rgba(255,255,255,.75); }

/* 15. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--teal-dark);
  color: #D9E5E8;
  font-size: .95rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: 2.4rem;
  padding-block: clamp(2.6rem, 6vw, 3.8rem) 2.2rem;
}
.footer-brand img {
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  height: 58px;
  width: auto;
  margin-bottom: 1.1rem;
}
.footer-brand p { color: #B9CDD3; font-size: .92rem; max-width: 30em; }
.footer-col h3 {
  font-family: var(--font-body);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: #D9E5E8; text-decoration: none; }
.footer-col a:hover { color: var(--aqua); text-decoration: underline; }
.footer-col p { color: #B9CDD3; margin: 0 0 .5rem; font-size: .92rem; overflow-wrap: anywhere; }
.footer-col p a { color: #D9E5E8; }
.footer-col p a:hover, .footer-col p a:focus-visible { color: var(--aqua); }
.footer-donate-note {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: .95rem 1.1rem;
  margin-top: 1rem;
  font-size: .86rem;
  color: #C4D6DB;
}
.footer-donate-note strong { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.2rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  color: #9FB9C0;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin: 0; padding: 0; }
.footer-bottom a { color: #C4D6DB; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* 16. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .donate-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .split-media { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }

  /* Mobile navigation */
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(23, 78, 90, .12);
    display: none;
    padding: .8rem var(--gutter) 1.3rem;
  }
  body.nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav a:not(.btn) {
    display: block;
    padding: .85rem 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
  }
  .site-nav .nav-cta { margin: .7rem 0 0; }
  .site-nav .btn { width: 100%; }
  .brand img { height: 42px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: .55rem; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .upi-chip { flex-direction: column; padding: 1rem; }
  .cta-band .hero-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 420px) {
  .brand img { height: 36px; }
  .header-inner { min-height: 64px; }
}

/* 17. ACCESSIBILITY — REDUCED MOTION & FOCUS
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--coral-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card:hover { transform: none; }
  .btn:hover { transform: none; }
  .gallery-grid img:hover { transform: none; }
}

/* Print: keep it clean */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
