/* ==========================================================================
   JAIRAA — Jola Adekola Initiative for Retired, Ageing and Aged
   Main stylesheet
   --------------------------------------------------------------------------
   Brand colours are taken from the JAIRAA company profile:
   deep green (PROFILE heading), gold (logo script / COMPANY heading),
   mint (diagonal shapes) and the cream/peach panel backgrounds.
   Change them once here in :root and the whole site updates.
   ========================================================================== */

:root {
  /* Brand palette */
  --green-900: #053f28;
  --green-800: #075334;
  --green-700: #0a6b43;   /* primary brand green */
  --green-600: #0f7c50;
  --teal-600:  #2b7a62;   /* tagline green-teal */
  --mint-300:  #a9d9bc;   /* diagonal shape mint */
  --mint-100:  #e6f4eb;
  --gold-500:  #b98b3e;   /* logo gold — decorative / large text only */
  --gold-600:  #a27532;
  --gold-700:  #7d5a1e;   /* gold for small text (AA contrast on white) */
  --cream-100: #faf6ef;
  --cream-200: #f1e7d6;   /* awards panel tone */
  --ink:       #1d2823;
  --ink-soft:  #45524b;
  --line:      #dbe5df;
  --white:     #ffffff;

  /* Typography (Google Fonts, loaded in each page <head>) */
  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;   /* bold condensed, like "PROFILE" */
  --font-heading: "Lora", Georgia, "Times New Roman", serif;       /* serif section titles, like "OUR FOUNDER" */
  --font-body:    "Nunito Sans", "Segoe UI", Arial, sans-serif;    /* rounded humanist, like the logo tagline */

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(5, 63, 40, 0.08);
  --shadow-md: 0 12px 32px rgba(5, 63, 40, 0.12);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;       /* 18px — generous for older readers */
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--green-800); }
h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; }
h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; }
h4 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--green-800); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--cream { background: var(--cream-100); }
.section--mint { background: var(--mint-100); }
.section--green { background: var(--green-800); color: #e9f3ed; }
.section--green h2, .section--green h3 { color: var(--white); }
.text-center { text-align: center; }
.lead { font-size: 1.25rem; color: var(--ink-soft); }
.measure { max-width: 68ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Eyebrow label — echoes the green/gold bracket page numbers in the profile */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 22px; flex: none;
  border: 4px solid var(--green-700); border-right-color: var(--gold-500); border-bottom-color: var(--gold-500);
  border-radius: 3px;
}
.section--green .eyebrow { color: var(--mint-300); }
.section--green .eyebrow::before { border-color: var(--mint-300); border-right-color: var(--gold-500); border-bottom-color: var(--gold-500); }

.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.text-center .eyebrow { justify-content: center; }
.section-head p { max-width: 62ch; }
.section-head.text-center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 6px 18px rgba(10,107,67,.25); }
.btn-primary:hover { background: var(--green-900); color: var(--white); }
.btn-gold { background: var(--gold-500); color: #1f1608; }
.btn-gold:hover { background: #cfa057; color: #1f1608; }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-800); }
.btn-light:hover { background: var(--mint-100); color: var(--green-900); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: .98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.text-link { font-weight: 800; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span[aria-hidden] { transition: transform .2s; }
.text-link:hover span[aria-hidden] { transform: translateX(4px); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 168px; height: 56px; object-fit: contain; object-position: left center; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 8px; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green-700) 60%, var(--gold-500) 60%);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--green-800); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--green-800); }
.site-nav .nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 16px; border: 2px solid var(--green-700); border-radius: 999px;
  background: var(--white); color: var(--green-800); font: 800 1rem var(--font-body); cursor: pointer;
}
.nav-toggle-icon { position: relative; width: 20px; height: 14px; }
.nav-toggle-icon span { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 6px; }
.nav-toggle-icon span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  :root { --header-h: 74px; }
  .brand img { width: 144px; height: 48px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px var(--gutter) 24px;
    display: none;
  }
  .site-nav.is-open { display: block; animation: navIn .22s var(--ease); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { min-height: 52px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--green-700); box-shadow: inset 4px 0 0 var(--gold-500); padding-left: 18px; }
  .site-nav .nav-cta { margin: 14px 0 0; }
  .site-nav .nav-cta .btn { width: 100%; min-height: 54px; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Image frames (placeholders stay tidy at any size) ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mint-100); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* ---------- Home hero (diagonal shapes inspired by the profile cover) ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero::before {           /* mint diagonal band */
  content: ""; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 80%;
  background: var(--mint-300); opacity: .55; transform: rotate(-24deg); border-radius: 12px; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-kicker { font-family: var(--font-body); font-weight: 800; color: var(--teal-600); font-size: 1.05rem; margin-bottom: 14px; }
.hero h1 { color: var(--green-700); margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold-600); display: block; }
.hero .lead { margin-bottom: 30px; max-width: 54ch; }
.hero-visual { position: relative; }
.hero-visual .media {
  aspect-ratio: 4 / 4.2; border-radius: 0;
  clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%);
}
.hero-shape-gold { position: absolute; width: 22%; aspect-ratio: 1; background: var(--gold-500); left: -6%; top: 8%; clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 70%); z-index: 2; }
.hero-shape-mint { position: absolute; width: 30%; aspect-ratio: 1; background: var(--mint-300); right: -5%; bottom: -6%; clip-path: polygon(0 50%, 100% 0, 100% 100%); z-index: 0; }

/* Facts strip */
.facts { background: var(--green-800); color: var(--white); }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-list li { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 2px; }
.facts-list li:first-child { border-left: 0; }
.facts-list strong { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .02em; color: var(--white); text-transform: uppercase; }
.facts-list span { color: #cfe6d9; font-size: 1rem; line-height: 1.45; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media::after {     /* small gold corner accent */
  content: ""; position: absolute; width: 90px; height: 90px; right: -14px; bottom: -14px;
  border-right: 6px solid var(--gold-500); border-bottom: 6px solid var(--gold-500); border-radius: 0 0 var(--radius-lg) 0; z-index: -1;
}
.split-media { z-index: 0; }

.quote-panel {
  margin: 28px 0 0; padding: 22px 26px; background: var(--mint-100);
  border-left: 6px solid var(--green-700); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading); font-size: 1.15rem; color: var(--green-900);
}
.quote-panel p:last-child { margin-bottom: 0; }
.quote-panel cite { display: block; margin-top: 8px; font: 800 .85rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); font-style: normal; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card .media { border-radius: 0; }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin-bottom: 4px; }
.card-body p { color: var(--ink-soft); margin-bottom: 0; }
.card-body .text-link { margin-top: auto; padding-top: 12px; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-100); color: var(--green-700); margin-bottom: 6px;
}
.card-icon svg { width: 28px; height: 28px; }
.card--icon .card-body { padding-top: 28px; }

/* Feature tiles on green */
.tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 28px; }
.tile h3 { font-size: 1.25rem; }
.tile p { margin-bottom: 0; color: #d8eadf; }
.tile .card-icon { background: rgba(169,217,188,.16); color: var(--mint-300); }

/* ---------- Timeline (Journey so far) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--green-700), var(--mint-300)); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 34px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 25px; height: 25px; border-radius: 6px;
  background: var(--white); border: 5px solid var(--green-700); border-right-color: var(--gold-500); border-bottom-color: var(--gold-500);
}
.timeline time, .timeline .tl-date { display: block; font: 800 .9rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 2px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 6px; }
.timeline p { color: var(--ink-soft); margin-bottom: 0; }
.timeline--cols { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.timeline--cols::before { display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--green-800); color: #e6f2eb; padding: clamp(56px, 8vw, 96px) 0; }
.page-hero::before { content: ""; position: absolute; right: -8%; top: -40%; width: 46%; height: 180%; background: var(--green-700); transform: rotate(24deg); }
.page-hero::after { content: ""; position: absolute; right: 18%; bottom: -30px; width: 120px; height: 120px; background: var(--gold-500); clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 70%); opacity: .9; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { max-width: 60ch; font-size: 1.2rem; margin: 0; color: #d6e9de; }
.page-hero .mint-band { position: absolute; left: -10%; bottom: -60px; width: 50%; height: 90px; background: var(--mint-300); opacity: .22; transform: rotate(-8deg); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 14px; display: flex; gap: 8px; font-size: .95rem; color: var(--mint-300); }
.breadcrumb a { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- Vision & mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-card { position: relative; padding: 36px 32px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.vm-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--green-700) 70%, var(--gold-500) 70%); }
.vm-label { display: inline-block; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 1.5rem; letter-spacing: .03em; color: var(--white); background: var(--green-700); padding: 4px 34px 4px 16px; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); margin-bottom: 16px; }
.vm-label span { color: var(--mint-300); }
.vm-card p { font-size: 1.15rem; margin: 0; }

/* Numbered / check lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 40px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 26px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green-700); }
.value:nth-child(even) { border-top-color: var(--gold-500); }
.value h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

/* Founder */
.founder { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.founder-name { font-family: var(--font-heading); font-size: 1.5rem; color: var(--green-800); margin-bottom: 2px; }
.founder-title { color: var(--gold-700); font-weight: 800; margin-bottom: 18px; }
.founder-card .media { border-radius: var(--radius-lg); }

/* Award panel */
.award { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; background: var(--cream-200); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px); }
.award h2 { color: var(--green-800); }

/* ---------- Services page ---------- */
.service { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service:nth-of-type(even) .service-media { order: 2; }
.service-num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .1em; color: var(--gold-700); display: block; margin-bottom: 6px; }
.service h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.service p { color: var(--ink-soft); }
.service ul { color: var(--ink-soft); }
.tag-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { font-size: .92rem; font-weight: 700; color: var(--green-800); background: var(--mint-100); border-radius: 999px; padding: 4px 14px; }

.programme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--green-700); color: var(--white); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: var(--mint-300); opacity: .18; transform: rotate(30deg); }
.cta-band::after { content: ""; position: absolute; right: 22%; bottom: -50px; width: 110px; height: 110px; background: var(--gold-500); clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dbeee3; margin-bottom: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-item .card-icon { width: 52px; height: 52px; margin: 0; }
.contact-item h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: 2px; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; color: var(--ink-soft); }
.contact-item a { font-weight: 700; word-break: break-word; }
.phone-list { list-style: none; padding: 0; margin: 0; }

.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-list a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px;
  border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--green-800);
  transition: border-color .2s, background-color .2s;
}
.social-list a:hover { border-color: var(--green-700); background: var(--mint-100); }
.social-list svg { width: 20px; height: 20px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--green-700) 70%, var(--gold-500) 70%); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; color: var(--ink); }
.form-field .req { color: #a3271c; }
.form-field .hint { font-size: .92rem; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: var(--cream-100); border: 2px solid #c9d6ce; border-radius: 10px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--green-700); background: var(--white); box-shadow: 0 0 0 4px rgba(10,107,67,.15); }
.form-field [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.field-error { color: #a3271c; font-size: .95rem; font-weight: 700; min-height: 0; }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-note { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.form-status { margin-top: 18px; padding: 0; border-radius: 10px; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 16px 18px; background: var(--mint-100); color: var(--green-900); border-left: 5px solid var(--green-700); }
.form-status.is-error { padding: 16px 18px; background: #fff3f1; color: #8a1f17; border-left: 5px solid #b3261e; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--mint-100); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.support-item { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); text-align: center; }
.support-item .card-icon { margin: 0 auto 10px; }
.support-item h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; color: var(--ink); margin: 0; }

.donate-box { margin-top: 32px; padding: clamp(24px, 4vw, 36px); background: var(--white); border: 2px dashed var(--gold-500); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.donate-box h3 { margin-bottom: 6px; }
.donate-phones { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.donate-phones a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px; border-radius: 12px; background: var(--mint-100); font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--green-900); }
.donate-phones a:hover { background: var(--mint-300); }
.donate-phones svg { width: 20px; height: 20px; color: var(--green-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfe3d7; padding-top: clamp(56px, 7vw, 80px); font-size: 1.02rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--green-700) 0 45%, var(--mint-300) 45% 80%, var(--gold-500) 80%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand img { width: 168px; height: 56px; object-fit: contain; object-position: left center; background: var(--white); border-radius: 10px; padding: 6px 10px; box-sizing: content-box; margin-bottom: 16px; }
.footer-brand p { color: #bcd6c7; }
.site-footer h2 { font-family: var(--font-body); font-weight: 800; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--mint-300); text-decoration: underline; }
.footer-links a { display: inline-block; padding: 4px 0; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.footer-contact svg { width: 20px; height: 20px; margin-top: 4px; color: var(--mint-300); }
.footer-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); }
.footer-social a:hover { background: var(--green-700); border-color: var(--green-700); text-decoration: none; }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .95rem; color: #a9c6b6; }
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid, .split, .founder, .award, .contact-layout, .cta-band, .donate-box { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .split--reverse .split-media { order: 0; }
  .facts-list { grid-template-columns: repeat(2, 1fr); }
  .facts-list li:nth-child(3) { border-left: 0; }
  .facts-list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .timeline--cols { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .service:nth-of-type(even) .service-media { order: 0; }
  .founder-card { max-width: 380px; }
  .award { grid-template-columns: 1fr; }
  .award .media { max-width: 300px; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .card-grid--3, .card-grid--2, .vm-grid, .programme-grid, .values-grid, .form-grid { grid-template-columns: 1fr; }
  .facts-list { grid-template-columns: 1fr; }
  .facts-list li { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.14); padding: 18px 4px; }
  .facts-list li:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .map-wrap { aspect-ratio: 4 / 3; }
  .split-media::after { right: -8px; bottom: -8px; width: 60px; height: 60px; }
  .page-hero::after { width: 70px; height: 70px; right: 8%; }
}
