/* ============================================================
   El-Aged Care — shared stylesheet
   No frameworks. Custom properties + fluid, mobile-first layout.
   ============================================================ */

:root {
  --paper: #faf7f1;
  --paper-dim: #f2ede2;
  --ink: #22271f;
  --ink-soft: #4b5347;
  --line: #e1d9c8;
  --green: #24463a;
  --green-deep: #173027;
  --green-tint: #e9efe9;
  --clay: #b9603a;
  --clay-deep: #96492b;
  --clay-tint: #f6e8de;
  --gold: #c99a3e;
  --shadow: 0 12px 30px -14px rgba(23, 33, 26, 0.25);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-deep);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(52px, 8vw, 100px) 0;
}

.section-tight { padding: clamp(36px, 5vw, 60px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--clay);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.lede {
  font-size: 1.08rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--clay);
  color: #fff8f2;
}
.btn-primary:hover { background: var(--clay-deep); }

.btn-outline {
  background: transparent;
  border-color: rgba(34, 39, 31, 0.22);
  color: var(--green-deep);
}
.btn-outline:hover { border-color: var(--green-deep); }

.btn-ghost-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.24); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- topbar ---------- */

.topbar {
  background: var(--green-deep);
  color: #e9ece8;
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dbe3dc;
  opacity: 0.92;
}
.topbar-contact a:hover { opacity: 1; color: #fff; }

.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: #dbe3dc; opacity: 0.85; }
.topbar-social a:hover { opacity: 1; color: #fff; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-deep);
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.logo-img--sm { height: 24px; }

.footer-logo-badge {
  display: inline-flex;
  background: #fff;
  padding: 7px 12px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green-deep);
  border-color: var(--clay);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-deep);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer is always off-canvas by default (not gated by a media query),
   so it can never appear as a second inline menu on wider viewports. */
.nav-mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 88vw);
  background: var(--paper);
  box-shadow: -12px 0 30px -10px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 80;
  display: flex;
  flex-direction: column;
}
.nav-mobile.open { transform: translateX(0); }

.nav-mobile-head {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-close {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
}

.nav-mobile-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px 16px;
}

.nav-mobile-group {
  margin: 18px 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.nav-mobile-group:first-child { margin-top: 8px; }

.nav-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--green-deep);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.15s ease;
}
.nav-mobile.open a { opacity: 1; transform: translateX(0); }
.nav-mobile a[aria-current="page"] { color: var(--clay-deep); }
.nav-mobile a .nm-chev { width: 15px; height: 15px; color: var(--ink-soft); flex-shrink: 0; opacity: 0.6; }
.nav-mobile a[aria-current="page"] .nm-chev { color: var(--clay); opacity: 1; }
.nav-mobile a:active { background: var(--paper-dim); }

.nav-mobile-cta {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.nav-mobile-cta .btn { flex: 1; justify-content: center; padding: 13px 8px; font-size: 0.86rem; }

.nav-scrim {
  position: fixed; inset: 0; background: rgba(23,33,26,0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 75;
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- hero (photo slider) ---------- */

.hero-photo {
  position: relative;
  min-height: clamp(480px, 78vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f4efe4;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(100deg, rgba(15, 27, 21, 0.88) 0%, rgba(20, 38, 30, 0.74) 45%, rgba(23, 48, 39, 0.52) 78%),
    var(--slide-img, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 7s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

.hero-accent {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 92% -10%, rgba(201, 154, 62, 0.22), transparent 65%),
    radial-gradient(500px 320px at -5% 115%, rgba(185, 96, 58, 0.22), transparent 60%);
  pointer-events: none;
}

.hero-photo-content { position: relative; width: 100%; padding: clamp(70px, 10vw, 0px) 0 clamp(60px, 8vw, 0px); }

.hero-photo-copy { max-width: 640px; }
.hero-photo-copy .eyebrow { color: #e8c992; }
.hero-photo-copy .eyebrow::before { background: var(--gold); }
.hero-photo-copy h1 { color: #fff; text-shadow: 0 3px 26px rgba(0,0,0,0.4); }
.hero-photo-copy p { color: #e4e8de; max-width: 48ch; }

.btn-hero {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 7px;
  padding: 17px 30px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-dot.active { width: 26px; background: var(--clay); }
.hero-dot:hover { background: rgba(255,255,255,0.7); }

.hero-stats {
  position: relative;
  z-index: 1;
  background: var(--green-deep);
  margin-top: -1px;
  border-top: 1px solid rgba(244, 239, 228, 0.16);
}

.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 24px;
}

.hero-stat h3 {
  color: var(--gold);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 2px;
}
.hero-stat p { color: #d7ddd2; font-size: 0.85rem; margin: 0; }

/* ---------- page banner (inner pages) ---------- */

.page-banner {
  background: var(--green-deep);
  color: #f4efe4;
  padding: clamp(46px, 7vw, 76px) 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 90% 0%, rgba(201,154,62,0.24), transparent 65%);
}

.page-banner .container { position: relative; }

.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: #cdd6c8;
  margin-bottom: 14px;
}
.crumb a { color: #e8c992; font-weight: 600; }

.page-banner h1 { color: #fbf7ee; margin-bottom: 10px; }
.page-banner p { color: #d7ddd2; max-width: 60ch; margin: 0; }

/* ---------- value / mission cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value-icon svg { width: 26px; height: 26px; }

.value-card:nth-child(2) .value-icon { background: var(--clay-tint); color: var(--clay-deep); }
.value-card:nth-child(3) .value-icon { background: #f4ecd6; color: var(--gold); }

.value-card h3 { margin-bottom: 10px; }
.value-card p { margin: 0; }

/* ---------- story note ---------- */

.story-note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
}
.story-note h3 { margin-bottom: 10px; color: var(--green-deep); }
.story-note p { margin: 0 0 12px; }
.story-note p:last-child { margin-bottom: 0; }

/* ---------- two column feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--green-tint), var(--paper-dim));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.split-media svg { width: 42%; color: var(--green); opacity: 0.85; }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.split-media::after {
  content: "";
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(185,96,58,0.14);
  bottom: -30px; right: -30px;
}

.reverse .split-media { order: 2; }

.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.photo-duo .split-media { aspect-ratio: 4/3; }

/* ---------- services ---------- */

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

.service-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-card .value-icon { margin-bottom: 4px; }

.service-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--clay-deep);
}
.service-card .more svg { width: 14px; height: 14px; transition: transform .15s ease; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ---------- timeline ---------- */

.timeline {
  border-left: 2px solid var(--line);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clay);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--line);
}
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { margin: 0; }

/* ---------- stat strip ---------- */

.stat-strip {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-strip .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-deep);
  font-weight: 700;
}
.stat-strip .label { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- board / team ---------- */

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

.team-card { text-align: center; }

.team-avatar {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--green-tint), var(--clay-tint));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--green);
  overflow: hidden;
}
.team-avatar svg { width: 38%; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card p { margin: 0; font-size: 0.88rem; color: var(--clay-deep); font-weight: 600; }

/* ---------- FAQ accordion ---------- */

.accordion { border-top: 1px solid var(--line); }

.acc-item { border-bottom: 1px solid var(--line); }

.acc-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--green-deep);
  font-size: 1.05rem;
}

.acc-trigger .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
  position: relative;
}
.acc-trigger .plus::before,
.acc-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--clay);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.acc-trigger .plus::before { width: 10px; height: 2px; }
.acc-trigger .plus::after { width: 2px; height: 10px; transition: transform 0.2s ease; }
.acc-item.open .acc-trigger .plus::after { transform: translate(-50%,-50%) scaleY(0); }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.acc-item.open .acc-panel { max-height: 320px; }
.acc-panel-inner { padding: 0 4px 22px; }
.acc-panel-inner p { margin: 0; }

/* ---------- news / mission cards ---------- */

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

.news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(23,33,26,0.78);
  color: #f4efe4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.news-thumb {
  position: relative;
  aspect-ratio: 16/11;
  background: linear-gradient(160deg, var(--green-tint), var(--paper-dim));
  display: grid;
  place-items: center;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}
.news-thumb svg { width: 30%; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--clay-deep); }
.news-body h3 { font-size: 1.02rem; margin: 0; }
.news-link { margin-top: auto; font-weight: 700; font-size: 0.85rem; color: var(--green-deep); display: inline-flex; align-items: center; gap: 6px; }
.news-link svg { width: 13px; height: 13px; }

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 4/3.4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-dim);
  cursor: pointer;
}
.gallery-tile:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(23,33,26,0.78), rgba(23,33,26,0));
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 20, 16, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
  touch-action: pan-y;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox-img {
  max-width: 94vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  -webkit-user-select: none;
  user-select: none;
  transition: opacity 0.15s ease;
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  color: #f4efe4;
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  padding: 0 60px;
}

.lightbox-btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.22); }
.lightbox-btn svg { width: 20px; height: 20px; }

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox { padding: 10px; }
  .lightbox-img { max-width: 96vw; max-height: 82vh; }
  .lightbox-btn { width: 38px; height: 38px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-caption { padding: 0 46px; bottom: 8px; font-size: 0.82rem; }
}

/* ---------- partner strip ---------- */

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.partner-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  color: var(--green-deep);
}
.partner-chip img { height: 28px; width: auto; display: block; }
.partner-chip.logo { padding: 10px 22px; }
a.partner-chip { transition: border-color 0.2s ease, transform 0.2s ease; }
a.partner-chip:hover { border-color: var(--clay); transform: translateY(-2px); }
.partner-note {
  text-align: center;
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.partner-note a { color: var(--clay-deep); font-weight: 700; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #f4efe4;
  border-radius: 26px;
  padding: clamp(36px, 6vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fbf7ee; margin-bottom: 8px; }
.cta-banner p { color: #d7ddd2; margin: 0; max-width: 46ch; }

/* ---------- donation ---------- */

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.bank-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.bank-card h3 { display: flex; align-items: center; gap: 10px; }
.bank-card .tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
  background: var(--clay-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-row .k { color: var(--ink-soft); }
.bank-row .v { font-weight: 700; color: var(--ink); text-align: right; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { padding-top: 0; }

.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-item h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-item a, .contact-item p { display: block; margin: 0; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3.4;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.quick-card .value-icon { margin: 0 auto 14px; }
.quick-card a.link { font-weight: 700; color: var(--clay-deep); font-size: 0.92rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: #d7ddd2;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(215,221,210,0.15);
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fbf7ee; }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8c992;
  margin-bottom: 18px;
}

.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #d7ddd2; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }

.footer-about p { color: #c3cbbd; font-size: 0.92rem; }
.footer-quote p { color: #c3cbbd; font-size: 0.9rem; }
.footer-tag { color: var(--gold); font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 8px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 0;
  font-size: 0.84rem;
  color: #a7b09c;
  flex-wrap: wrap;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: #d7ddd2; }
.footer-social a:hover { color: #fff; }

/* ---------- floating widgets ---------- */

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.18s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px); }
.whatsapp-fab svg { width: 20px; height: 20px; }

.back-top {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 70;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top svg { width: 18px; height: 18px; }

/* ---------- reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .card-grid,
  .service-grid,
  .service-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-photo { min-height: clamp(460px, 86vh, 620px); }
  .split,
  .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-duo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar-contact span { display: none; }
  .nav-links,
  .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar .logo-img { height: 26px; }
}

@media (max-width: 400px) {
  .navbar .logo-img { height: 22px; }
}

@media (max-width: 640px) {
  .card-grid,
  .service-grid,
  .service-grid.cols-4,
  .team-grid,
  .news-grid { grid-template-columns: 1fr; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner p { max-width: none; }
}
