/* ==========================================================================
   Components
   ========================================================================== */

/* Icons ------------------------------------------------------------------ */
.icon {
  width: 1.25em; height: 1.25em;
  flex-shrink: 0;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }

.icon-badge {
  --ib-size: 3.25rem;
  width: var(--ib-size); height: var(--ib-size);
  display: inline-grid; place-items: center;
  border-radius: 14px;
  background: var(--saffron-50); color: var(--saffron-600);
  font-size: 1.35rem;
}
.icon-badge--green { background: var(--green-50); color: var(--green-700); }
.icon-badge--gold { background: var(--gold-50); color: var(--gold-700); }
.icon-badge--round { border-radius: 50%; }
.icon-badge--solid { background: var(--saffron-600); color: var(--white); box-shadow: var(--shadow-primary); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--saffron-600);
  --btn-color: var(--white);
  --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: var(--font-heading);
  font-size: 0.975rem; font-weight: 600; line-height: 1.2;
  letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn .icon--arrow { transition: transform 0.2s var(--ease); }

.btn--primary { box-shadow: var(--shadow-primary); }
.btn--primary:hover { --btn-bg: var(--saffron-700); }
.btn--green { --btn-bg: var(--green-700); box-shadow: 0 10px 24px -12px rgba(27, 94, 58, 0.6); }
.btn--green:hover { --btn-bg: var(--green-800); }
.btn--outline { --btn-bg: transparent; --btn-color: var(--ink-900); --btn-border: var(--line-strong); }
.btn--outline:hover { --btn-border: var(--saffron-600); --btn-color: var(--saffron-600); }
.btn--white { --btn-bg: var(--white); --btn-color: var(--ink-900); box-shadow: var(--shadow-sm); }
.btn--white:hover { --btn-color: var(--saffron-600); }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, 0.08); --btn-color: var(--white); --btn-border: rgba(255, 255, 255, 0.28); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.16); --btn-border: rgba(255, 255, 255, 0.5); }
.btn--whatsapp { --btn-bg: #177f40; }
.btn--whatsapp:hover { --btn-bg: #116632; }
.btn--sm { min-height: 42px; padding: 0.5rem 1.15rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  color: var(--saffron-600); text-decoration: none;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Eyebrow label ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--saffron-50);
  border: 1px solid var(--saffron-100);
  color: var(--saffron-700);
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1.2;
}
.eyebrow .icon { width: 1.05em; height: 1.05em; }
.eyebrow--green { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
.eyebrow--light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: var(--gold-300); }

/* Ornament divider under headings */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  color: var(--gold-500); margin-top: var(--space-4);
}
.ornament::before, .ornament::after {
  content: ""; height: 2px; width: 48px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { transform: scaleX(-1); }
.ornament .icon { width: 1.35rem; height: 1.35rem; }

/* Top bar -------------------------------------------------------------------- */
.topbar {
  background: var(--green-900);
  color: #d3e0d8;
  font-size: 0.8125rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 40px;
}
.topbar__note { display: flex; align-items: center; gap: 0.5rem; }
.topbar__note .icon { color: var(--gold-300); }
.topbar__links { display: flex; align-items: center; gap: 1.25rem; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.topbar a:hover { color: var(--gold-300); }
.topbar__social { display: flex; gap: 0.25rem; padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.topbar__social a { width: 28px; height: 28px; justify-content: center; border-radius: 50%; }
.topbar__social a:hover { background: rgba(255, 255, 255, 0.1); }
.topbar__social .icon { width: 15px; height: 15px; }
@media (max-width: 899px) {
  .topbar__note, .topbar__email { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 599px) { .topbar { display: none; } }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(60, 38, 10, 0.35); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  height: var(--header-h);
}
.brand { display: block; flex-shrink: 0; transition: opacity 0.2s; }
.brand:hover { opacity: 0.88; }
.brand img { height: 58px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.925rem; font-weight: 500;
  color: var(--ink-800);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.2rem;
  height: 2px; border-radius: 2px;
  background: var(--saffron-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--saffron-600); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--saffron-600); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink-900);
  background: var(--white);
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* Compact desktop nav for small laptops */
@media (min-width: 1080px) and (max-width: 1279px) {
  .site-header__inner { gap: 1rem; }
  .brand img { height: 50px; }
  .nav__link { padding-inline: 0.55rem; font-size: 0.875rem; }
  .nav__link::after { left: 0.55rem; right: 0.55rem; }
}
@media (max-width: 1079px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 599px) {
  :root { --header-h: 68px; }
  .brand img { height: 46px; }
  .header-cta { display: none; }
}

/* Mobile drawer (dialog) */
.drawer {
  margin: 0 0 0 auto;
  width: min(380px, 88vw);
  max-width: 100%;
  height: 100%; max-height: 100%;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink-800);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer::backdrop { background: rgba(20, 16, 10, 0.55); backdrop-filter: blur(2px); }
.drawer[open] { animation: drawer-in 0.35s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }

.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.drawer__head img { height: 44px; width: auto; }
.drawer__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: var(--cream-100); color: var(--ink-900);
}
.drawer__nav { padding: 0.75rem 1.25rem; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem;
  color: var(--ink-900); text-decoration: none;
}
.drawer__nav a .icon { color: var(--ink-400); width: 18px; height: 18px; }
.drawer__nav a[aria-current="page"] { color: var(--saffron-600); }
.drawer__nav a[aria-current="page"] .icon { color: var(--saffron-600); }
.drawer__cta { padding: 0.5rem 1.25rem 1.25rem; display: grid; gap: 0.75rem; }
.drawer__contact {
  margin: 0 1.25rem 1.5rem; padding: 1rem;
  border-radius: var(--radius); background: var(--cream-100);
  font-size: 0.9rem; display: grid; gap: 0.6rem;
}
.drawer__contact a { display: flex; gap: 0.6rem; align-items: center; text-decoration: none; color: var(--ink-800); }
.drawer__contact .icon { color: var(--saffron-600); }

/* Mobile bottom bar ------------------------------------------------------ */
.bottom-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .bottom-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -20px rgba(60, 38, 10, 0.4);
  }
  .bottom-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 0.3rem 0;
    font-size: 0.6875rem; font-weight: 600; color: var(--ink-600);
    text-decoration: none;
  }
  .bottom-bar a .icon { width: 22px; height: 22px; }
  .bottom-bar a[aria-current="page"] { color: var(--saffron-600); }
  .bottom-bar__donate span.bottom-bar__fab {
    width: 54px; height: 54px; margin-top: -26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--saffron-600); color: var(--white);
    box-shadow: 0 10px 20px -8px rgba(194, 65, 12, 0.7), 0 0 0 5px var(--white);
  }
  .bottom-bar a.bottom-bar__donate { color: var(--saffron-700); }
}

/* Floating contact buttons ---------------------------------------------- */
.float-actions {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80;
  display: grid; gap: 0.75rem;
}
.float-actions a {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease);
}
.float-actions a:hover { transform: scale(1.08); }
.float-actions .icon { width: 26px; height: 26px; }
.float-actions__wa { background: var(--whatsapp); }
.float-actions__wa .icon { fill: currentColor; stroke: none; }
.float-actions__call { background: var(--green-700); }
.float-actions__top {
  width: 54px; height: 44px; margin-inline: auto;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink-900);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease), color 0.2s;
}
.float-actions__top.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-actions__top:hover { color: var(--saffron-600); }
.float-actions__top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }
@media (max-width: 767px) {
  .float-actions__top { width: 50px; height: 40px; }
  .float-actions { bottom: calc(84px + env(safe-area-inset-bottom)); right: 0.9rem; }
  .float-actions__call { display: none !important; }
  .float-actions a { width: 50px; height: 50px; }
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--green-950);
  color: #b7c6bd;
  font-size: 0.9375rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--saffron-500), var(--gold-300), var(--green-500));
}
.site-footer__main {
  display: grid; gap: 2.5rem 2rem;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2.5rem;
  grid-template-columns: 1fr 1fr;
}
.site-footer__main > .footer-brand,
.site-footer__main > :last-child { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .site-footer__main > .footer-brand,
  .site-footer__main > :last-child { grid-column: auto; }
}
@media (min-width: 1024px) { .site-footer__main { grid-template-columns: 1.5fr 0.9fr 0.9fr 1.3fr; } }

.footer-brand__logo {
  display: inline-block;
  background: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
}
.footer-brand__logo img { height: 52px; width: auto; }
.footer-brand p { margin-top: 1.25rem; max-width: 36ch; line-height: 1.75; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer-social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--saffron-600); border-color: var(--saffron-600); transform: translateY(-2px); }
.footer-social .icon { width: 18px; height: 18px; }

.footer-title {
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 1.1rem;
}
.footer-links { display: grid; gap: 0.65rem; }
.footer-links a {
  text-decoration: none; transition: color 0.2s, padding 0.2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.footer-links a::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--saffron-500); opacity: 0.7;
}
.footer-links a:hover { color: var(--gold-300); }

.footer-contact { display: grid; gap: 0.9rem; }
.footer-contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-contact .icon { color: var(--saffron-400); margin-top: 0.2rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--gold-300); }

.footer-trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  padding: 1rem 1.25rem; margin-bottom: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}
.footer-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-trust .icon { color: var(--gold-300); width: 18px; height: 18px; }
.footer-trust strong { color: var(--white); font-weight: 600; }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: 0.85rem;
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--gold-300); }

/* Cards ------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--saffron-100); }
.card h3 { margin-top: 1.1rem; }
.card p { margin-top: 0.6rem; color: var(--ink-600); font-size: 1rem; line-height: 1.7; }
.card--flat { box-shadow: none; }
.card--cream { background: var(--cream-100); border-color: var(--cream-200); }
.card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #c9d6ce;
}
.card--dark p { color: #b9c9bf; }

/* Media card (image top) */
.media-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.media-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-200); }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.media-card:hover .media-card__img img { transform: scale(1.06); }
.media-card__tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  padding: 0.3rem 0.75rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94); color: var(--ink-900);
  font-size: 0.75rem; font-weight: 600; font-family: var(--font-heading);
}
.media-card__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.media-card__body h3 { font-size: 1.2rem; }
.media-card__body p { margin-top: 0.55rem; color: var(--ink-600); font-size: 1rem; line-height: 1.7; }
/* Icon badge that overlaps the image edge */
.media-card__icon {
  position: relative; margin-top: -2.9rem; margin-bottom: 0.9rem;
  background: var(--white); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* Large image-led feature card */
.feature-card {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(360px, 22rem + 6vw, 460px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.feature-card > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 35, 26, 0) 20%, rgba(10, 35, 26, 0.55) 52%, rgba(10, 35, 26, 0.94) 100%);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-card:hover > img { transform: scale(1.06); }
.feature-card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); max-width: 540px; }
.feature-card h3 { color: var(--white); font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); margin-top: 1rem; }
.feature-card p { margin-top: 0.55rem; color: rgba(255, 255, 255, 0.86); font-size: 1.02rem; }
.feature-card .btn { margin-top: 1.4rem; }
.icon-badge--glass {
  background: rgba(255, 255, 255, 0.14); color: var(--gold-300);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.media-card__body .btn, .media-card__body .link-arrow { margin-top: auto; }
.media-card__body p + .btn, .media-card__body p + .link-arrow { margin-top: 1.25rem; }
.media-card__footer { margin-top: auto; padding-top: 1.25rem; }

/* Horizontal program card */
.program-card {
  display: grid; grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.program-card__img img { width: 100%; height: 100%; object-fit: cover; }
.program-card__body { padding: 1.6rem; display: flex; flex-direction: column; align-items: flex-start; }
.program-card__body h3 { margin-top: 1rem; }
.program-card__body p { margin-top: 0.6rem; color: var(--ink-600); font-size: 0.95rem; }
.program-card__body .link-arrow { margin-top: 1.1rem; }
@media (min-width: 560px) {
  .program-card { grid-template-columns: 0.9fr 1.1fr; }
  .program-card__img { aspect-ratio: auto; min-height: 100%; }
}

/* Feature list with check icons */
.check-list { display: grid; gap: 0.8rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 500; color: var(--ink-800); }
.check-list li .icon { color: var(--green-600); margin-top: 0.2rem; }
.section--dark .check-list li { color: #e3ece6; }
.check-list--boxed li {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}
.check-list--boxed li .icon { color: var(--gold-300); margin-top: 0; }

/* Trust pill strip */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.75rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--ink-700);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-strip .icon { color: var(--green-600); width: 18px; height: 18px; }
@media (max-width: 599px) { .trust-strip { border-radius: var(--radius-lg); justify-content: flex-start; } }

/* Framed image */
.frame {
  position: relative;
  border-radius: var(--radius-xl);
}
.frame img, .frame video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}
.frame--accent::before {
  content: ""; position: absolute; z-index: 0;
  inset: 1.5rem -1.25rem -1.25rem 1.5rem;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--saffron-100), var(--gold-50));
  border: 2px dashed var(--gold-200);
}
.frame__badge {
  position: absolute; z-index: 2;
  left: -0.75rem; bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.frame__badge strong { display: block; font-family: var(--font-heading); font-size: 1rem; color: var(--ink-900); line-height: 1.3; }
.frame__badge span { font-size: 0.8rem; color: var(--ink-600); }
@media (max-width: 599px) {
  .frame--accent::before { inset: 1rem -0.5rem -0.75rem 1rem; }
  .frame__badge { left: 0.75rem; bottom: 0.75rem; }
}

.img-collage {
  display: grid; gap: 1rem;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.img-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.img-collage img:first-child { grid-row: span 2; }

/* Stats -------------------------------------------------------------------- */
.stats {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat .icon-badge { margin-inline: auto; }
.stat__value {
  display: block; margin-top: 0.9rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 700; line-height: 1;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block; margin-top: 0.5rem;
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-600);
}

/* Steps / process timeline ------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  position: relative;
}
.step {
  position: relative;
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 0.6rem; right: 1rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 2.5rem; line-height: 1;
  color: var(--cream-200);
}
.step .icon-badge { position: relative; margin-inline: auto; }
.step h3 { font-size: 1.05rem; margin-top: 1rem; }
.step p { font-size: 0.9rem; margin-top: 0.4rem; color: var(--ink-600); }
@media (min-width: 1100px) {
  .steps--line::before {
    content: ""; position: absolute; left: 8%; right: 8%; top: 3.4rem;
    border-top: 2px dashed var(--line-strong);
  }
}

/* Numbered vertical steps */
.num-steps { display: grid; gap: 1rem; counter-reset: nstep; }
.num-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.num-steps li::before {
  counter-increment: nstep; content: counter(nstep);
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--saffron-600); color: var(--white);
  font-family: var(--font-heading); font-weight: 700;
}
.num-steps h3 { font-size: 1.05rem; }
.num-steps p { margin-top: 0.3rem; font-size: 0.95rem; color: var(--ink-600); }

/* Accordion (details/summary) -------------------------------------------- */
.accordion { display: grid; gap: 0.85rem; }
.accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.accordion details[open] { border-color: var(--saffron-100); box-shadow: var(--shadow-sm); background: var(--cream-50); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem; line-height: 1.45;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.accordion details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--saffron-100);
}
.accordion summary:hover { color: var(--saffron-600); }
.accordion__body { padding: 0 1.3rem 1.25rem; color: var(--ink-600); }
.accordion__body > * + * { margin-top: 0.6rem; }

/* Hero slider ------------------------------------------------------------- */
.hero-slider { position: relative; background: var(--cream-100); overflow: hidden; }
.hero-slider__track { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide a { display: block; }
.hero-slide img { width: 100%; height: auto; aspect-ratio: 1600 / 667; object-fit: cover; }
.hero-slider__btn {
  position: absolute; top: 50%; z-index: 2;
  width: 48px; height: 48px; margin-top: -24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88); color: var(--ink-900);
  box-shadow: var(--shadow);
  transition: background-color 0.2s, transform 0.2s;
}
.hero-slider__btn:hover { background: var(--white); transform: scale(1.06); }
.hero-slider__btn--prev { left: 1rem; }
.hero-slider__btn--next { right: 1rem; }
.hero-slider__dots {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  display: flex; gap: 0.5rem;
  padding: 0.45rem 0.7rem; border-radius: var(--radius-pill);
  background: rgba(31, 27, 22, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-slider__dots { gap: 0; padding: 0.1rem 0.35rem; }
.hero-slider__dots button { min-width: 24px; height: 24px; display: grid; place-items: center; }
.hero-slider__dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.hero-slider__dots button[aria-current="true"] { min-width: 36px; }
.hero-slider__dots button[aria-current="true"]::before { width: 28px; background: var(--white); }
@media (max-width: 767px) {
  .hero-slider__btn { display: none; }
  .hero-slide img { aspect-ratio: 3 / 5; }
}

/* Marquee ticker ------------------------------------------------------------ */
.marquee {
  background: var(--green-700);
  color: var(--white);
  overflow: hidden;
  padding-block: 0.85rem;
  position: relative;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding-inline: 1.5rem;
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 500;
  white-space: nowrap;
}
.marquee__item .icon { color: var(--gold-300); width: 1.2rem; height: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* Page hero (inner pages) ------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(40rem 22rem at 100% 0%, rgba(238, 122, 18, 0.18), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(232, 200, 114, 0.14), transparent 60%),
    var(--green-900);
  color: #d4e1d9;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e8c872' stroke-opacity='.07'%3E%3Ccircle cx='40' cy='40' r='14'/%3E%3Ccircle cx='40' cy='40' r='26'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-top: 1rem; max-width: 20ch; }
.page-hero p { margin-top: 1rem; max-width: 60ch; font-size: var(--fs-lg); color: #c5d4cb; }
.page-hero .cluster { margin-top: 1.75rem; }
.page-hero--split .container { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .page-hero--split .container { grid-template-columns: 1.05fr 0.95fr; } }
.page-hero__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-xl);
  border: 6px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: #a8bab0; }
.breadcrumb a { text-decoration: none; color: #d4e1d9; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--gold-300); }

.hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.hero-pills span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem; color: #dbe6df;
}
.hero-pills .icon { width: 14px; height: 14px; color: var(--gold-300); }

/* Testimonials -------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--carousel-gap, 1.5rem)) / 3);
  gap: var(--carousel-gap, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1.5rem;
  scroll-padding-inline: 0.25rem; /* rest exactly at scrollLeft 0 — an on-load snap scroll would stop LCP reporting */
  margin: -0.5rem -0.25rem 0;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (max-width: 1023px) { .carousel__track { grid-auto-columns: calc((100% - var(--carousel-gap, 1.5rem)) / 2); } }
@media (max-width: 679px) { .carousel__track { grid-auto-columns: 88%; } }
.carousel__nav { display: flex; gap: 0.6rem; }
.carousel__nav button {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink-900); background: var(--white);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.carousel__nav button:hover { background: var(--saffron-600); border-color: var(--saffron-600); color: var(--white); }
.carousel__nav button:disabled { opacity: 0.4; pointer-events: none; }
.section--dark .carousel__nav button { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.25); }

.testimonial {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testimonial:hover { border-color: var(--saffron-100); box-shadow: var(--shadow); }
.testimonial::after {
  content: ""; position: absolute; top: 1.35rem; right: 1.5rem;
  width: 44px; height: 44px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fbe3cf' d='M10 11H6.5a.5.5 0 0 1-.5-.5V9a3 3 0 0 1 3-3h.5V3H9a6 6 0 0 0-6 6v8a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm11 0h-3.5a.5.5 0 0 1-.5-.5V9a3 3 0 0 1 3-3h.5V3H20a6 6 0 0 0-6 6v8a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--dark .testimonial::after { opacity: 0.12; }
.testimonial__stars { display: flex; gap: 2px; color: var(--gold-500); }
.testimonial__stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.testimonial blockquote { margin-top: 1rem; font-size: 0.975rem; line-height: 1.75; color: var(--ink-700); flex: 1; }
.testimonial__person { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--saffron-500), var(--saffron-700));
  color: var(--white);
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
}
.avatar--green { background: linear-gradient(135deg, var(--green-500), var(--green-800)); }
.avatar--gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-700)); }
.testimonial__person strong { display: block; font-family: var(--font-heading); color: var(--ink-900); font-size: 0.975rem; }
.testimonial__person > div > span { font-size: 0.825rem; color: var(--ink-600); }
.section--dark .testimonial { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
.section--dark .testimonial blockquote { color: #d3dfd8; }
.section--dark .testimonial__person { border-color: rgba(255, 255, 255, 0.1); }
.section--dark .testimonial__person strong { color: var(--white); }
.section--dark .testimonial__person > div > span { color: #a9bcb1; }

/* Video -------------------------------------------------------------------- */
.video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45));
  color: var(--white);
}
.video-card__play span {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--saffron-600);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.video-card__play:hover span { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.18); }
.video-card__play .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.video-card.is-playing .video-card__play { display: none; }

/* CTA banner --------------------------------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(30rem 20rem at 0% 0%, rgba(232, 200, 114, 0.22), transparent 60%),
    radial-gradient(30rem 20rem at 100% 100%, rgba(238, 122, 18, 0.35), transparent 60%),
    linear-gradient(135deg, var(--green-800), var(--green-950));
  color: #d4e1d9;
  text-align: center;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e8c872' stroke-opacity='.09'%3E%3Ccircle cx='40' cy='40' r='14'/%3E%3Ccircle cx='40' cy='40' r='26'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
}
.cta-banner h2 { color: var(--white); max-width: 28ch; margin-inline: auto; }
.cta-banner p { max-width: 62ch; margin: 1rem auto 0; color: #c7d6cd; }
.cta-banner .cluster { justify-content: center; margin-top: 2rem; }
.cta-banner__kicker { font-family: var(--font-heading); color: var(--gold-300); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 0.75rem; display: block; }

/* Gallery ------------------------------------------------------------------ */
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-tabs button {
  padding: 0.6rem 1.2rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: var(--white);
  font-family: var(--font-heading); font-weight: 500; font-size: 0.925rem;
  color: var(--ink-700);
  transition: all 0.2s;
}
.filter-tabs button:hover { border-color: var(--saffron-600); color: var(--saffron-600); }
.filter-tabs button[aria-pressed="true"] { background: var(--saffron-600); border-color: var(--saffron-600); color: var(--white); }

.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  display: block; width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--cream-200);
}
.masonry__item img { width: 100%; transition: transform 0.6s var(--ease), filter 0.3s; }
.masonry__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35));
  opacity: 0; transition: opacity 0.3s;
}
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { opacity: 1; }

.photo-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
}
.photo-grid > * { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: zoom-in; background: var(--cream-200); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.photo-grid > *:hover img { transform: scale(1.05); }
.photo-grid > :nth-child(1) { grid-column: span 6; grid-row: span 4; }
.photo-grid > :nth-child(2) { grid-column: span 3; grid-row: span 2; }
.photo-grid > :nth-child(3) { grid-column: span 3; grid-row: span 2; }
.photo-grid > :nth-child(4) { grid-column: span 3; grid-row: span 2; }
.photo-grid > :nth-child(5) { grid-column: span 3; grid-row: span 2; }
@media (max-width: 767px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .photo-grid > :nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .photo-grid > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* Lightbox (dialog) */
.lightbox {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 10, 8, 0.94);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(12, 10, 8, 0.94); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in 0.25s ease; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox__figure { max-width: min(1100px, 92vw); text-align: center; }
.lightbox__figure img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__caption { margin-top: 0.9rem; font-size: 0.9rem; color: #cfc8bf; }
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); color: var(--white);
  transition: background-color 0.2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; margin-top: -26px; }
.lightbox__next { right: 1rem; top: 50%; margin-top: -26px; }
.lightbox__count { position: absolute; top: 1.6rem; left: 1.5rem; font-size: 0.9rem; color: #cfc8bf; }
@media (max-width: 599px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* Donor details modal --------------------------------------------------------- */
.donor-modal {
  width: min(520px, calc(100vw - 2rem));
  max-height: min(90dvh, 100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.donor-modal::backdrop { background: rgba(20, 16, 10, 0.55); backdrop-filter: blur(2px); }
/* Flex column so the body scrolls and the pay button is always reachable. */
.donor-modal[open] { display: flex; flex-direction: column; animation: fade-in 0.25s ease; }
.donor-modal__form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

.donor-modal__head {
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.donor-modal__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--saffron-600);
}
.donor-modal__title { margin: 0.35rem 0 0; font-size: 1.4rem; line-height: 1.25; }
.donor-modal__sub { margin: 0.3rem 0 0; font-size: 0.95rem; color: var(--ink-600); }
.donor-modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -0.25rem -0.35rem 0 auto;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--cream-200);
  color: var(--ink-600);
  cursor: pointer;
}
.donor-modal__close:hover { background: var(--line); color: var(--ink-900); }

.donor-modal__body {
  flex: 1 1 auto;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  min-height: 0;
}
.donor-modal .req { color: #b3202a; }

.donor-modal__80g {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
}
.donor-modal__80g legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  float: left;
  width: 100%;
  padding: 0;
  font-weight: 600;
}
.donor-modal__80g legend .icon { width: 20px; height: 20px; color: var(--green-700); }
/* The site-wide cause toggle marks its selection with a white pill, which is
   almost invisible on this cream panel. Use a filled pill here instead. */
.donor-modal__80g .cause-toggle {
  margin: 0;
  padding: 0;
  gap: 0.6rem;
  background: none;
}
.donor-modal__80g .cause-toggle span {
  background: var(--white);
  border: 2px solid var(--line-strong);
  color: var(--ink-700);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.donor-modal__80g .cause-toggle input:not(:checked):hover + span { border-color: var(--saffron-400); }
.donor-modal__80g .cause-toggle input:checked + span {
  background: var(--saffron-600);
  border-color: var(--saffron-600);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.donor-modal__80g .cause-toggle input:focus-visible + span {
  outline: 3px solid var(--saffron-400);
  outline-offset: 3px;
}

.donor-modal__foot {
  flex: none;
  padding: 1.15rem 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.donor-modal__foot .icon { width: 18px; height: 18px; }
.donor-modal__foot .form-status { margin-bottom: 0.9rem; }
.donor-modal__note {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.825rem;
  color: var(--ink-600);
}

@media (max-width: 599px) {
  .donor-modal { width: calc(100vw - 1.5rem); border-radius: var(--radius); }
  .donor-modal__head { padding: 1.25rem 1.15rem 1rem; }
  .donor-modal__body { padding: 1.15rem; }
  .donor-modal__foot { padding: 1rem 1.15rem 1.25rem; }
  .donor-modal__title { font-size: 1.2rem; }
}

/* Forms ---------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field .label {
  font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; color: var(--ink-800);
}
.field .req { color: var(--saffron-600); }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-size: 1rem;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23463f37' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 18px no-repeat; padding-right: 2.5rem; }
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--saffron-500);
  box-shadow: 0 0 0 4px rgba(238, 122, 18, 0.18);
}
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: #c0262d; }
.field__error { font-size: 0.825rem; color: #b3202a; }
.field__hint { font-size: 0.825rem; color: var(--ink-600); }
.checkbox { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.925rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--saffron-600); flex-shrink: 0; }
.form-status {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: 12px; font-size: 0.95rem;
}
.form-status .icon { margin-top: 0.15rem; }
.form-status--success { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.form-status--error { background: #fdecec; color: #8f1d24; border: 1px solid #f6caca; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.75; }
.btn[aria-busy="true"]::after {
  content: ""; width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hp-field { position: absolute; left: -9999px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

/* Contact info rows */
.info-list { display: grid; gap: 1rem; }
.info-item {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
a.info-item:hover { border-color: var(--saffron-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-item small { display: block; font-size: 0.78rem; color: var(--ink-600); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.info-item strong { display: block; font-family: var(--font-heading); color: var(--ink-900); font-weight: 600; word-break: break-word; }

/* Donation widget ------------------------------------------------------------- */
.donate-widget {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.donate-widget::before {
  content: ""; position: absolute; left: 2rem; right: 2rem; top: -1px; height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--saffron-500), var(--gold-300), var(--green-500));
}
.donate-widget__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.donate-widget__head small {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-600);
}
.donate-widget__head h3 { margin-top: 0.25rem; font-size: 1.3rem; }
.donate-widget__lock { color: var(--green-600); }

.cause-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem;
  margin-top: 1.25rem; padding: 0.35rem;
  background: var(--cream-100); border-radius: var(--radius-pill);
}
.cause-toggle label { position: relative; }
.cause-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cause-toggle span {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 44px; padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.925rem; color: var(--ink-700);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
@media (max-width: 419px) {
  .cause-toggle span { font-size: 0.875rem; padding-inline: 0.5rem; gap: 0.3rem; }
  .cause-toggle .icon { width: 1rem; height: 1rem; }
}
.cause-toggle input:checked + span { background: var(--white); color: var(--saffron-700); box-shadow: var(--shadow-sm); }
.cause-toggle input:focus-visible + span { outline: 3px solid var(--saffron-400); outline-offset: 2px; }

.amount-input {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.35rem 1.1rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.amount-input:focus-within { border-color: var(--saffron-500); box-shadow: 0 0 0 4px rgba(238, 122, 18, 0.16); }
.amount-input span { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--saffron-600); }
.amount-input input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--ink-900);
  padding-block: 0.35rem;
}
.amount-input small { font-size: 0.8rem; font-weight: 600; color: var(--ink-400); }
.amount-error { margin-top: 0.4rem; font-size: 0.825rem; color: #b3202a; padding-left: 1rem; }

.amount-chips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
  margin-top: 1rem;
}
.amount-chip { position: relative; }
.amount-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.amount-chip span {
  display: grid; place-items: center;
  min-height: 52px; padding: 0.5rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: var(--ink-900);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s;
}
.amount-chip:hover span { border-color: var(--saffron-300); }
.amount-chip input:checked + span {
  border-color: var(--saffron-600); background: var(--saffron-50); color: var(--saffron-700);
  box-shadow: inset 0 0 0 1px var(--saffron-600);
}
.amount-chip input:focus-visible + span { outline: 3px solid var(--saffron-400); outline-offset: 2px; }

.donate-widget__actions { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.donate-widget__note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-600); text-align: center; }
.pay-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: 0.9rem; }
.pay-badges span {
  padding: 0.2rem 0.6rem; border-radius: 6px;
  background: var(--cream-100); border: 1px solid var(--line);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-600);
}

/* UPI / bank panel */
.donate-widget { container-type: inline-size; }
.pay-panel {
  margin-top: 0.75rem; padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  border: 1px dashed var(--line-strong);
}
.pay-panel__qr-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.85rem; }
.pay-panel__bank { display: grid; gap: 0.45rem; margin-top: 0.45rem; }
.pay-panel .copy-row { padding: 0.55rem 0.55rem 0.55rem 0.85rem; }
.pay-panel .copy-row + .copy-row { margin-top: 0.45rem; }
.pay-panel__bank .copy-row + .copy-row { margin-top: 0; }
.pay-panel__bank .copy-btn [data-copy-label] { display: none; }
.pay-panel__bank .copy-btn { min-width: 36px; padding-inline: 0.5rem; justify-content: center; }
@container (min-width: 430px) {
  .pay-panel__bank { grid-template-columns: 1fr 1fr; }
}
.pay-panel__qr {
  flex-shrink: 0; display: block;
  width: 108px; padding: 5px;
  border-radius: 14px; background: var(--white); border: 1px solid var(--line);
  cursor: zoom-in;
}
.pay-panel__qr img { width: 100%; border-radius: 8px; }
.pay-panel__qr-row strong { display: block; font-family: var(--font-heading); color: var(--ink-900); line-height: 1.35; }
.pay-panel__qr-row span { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--ink-600); }

.copy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}
.copy-row + .copy-row { margin-top: 0.5rem; }
.copy-row small { display: block; font-size: 0.72rem; color: var(--ink-600); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.copy-row > div { min-width: 0; }
.copy-row strong { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--ink-900); overflow-wrap: anywhere; }
@media (max-width: 419px) { .copy-btn [data-copy-label] { display: none; } .copy-btn { min-width: 40px; justify-content: center; } }
.copy-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 36px; padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--saffron-50); color: var(--saffron-700);
  font-size: 0.8rem; font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}
.copy-btn:hover { background: var(--saffron-100); }
.copy-btn.is-copied { background: var(--green-50); color: var(--green-700); }
.copy-btn .icon { width: 15px; height: 15px; }

/* Trust badges */
.trust-badges { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.trust-badge {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}
.trust-badge small { display: block; font-size: 0.78rem; color: var(--ink-600); }
.trust-badge strong { display: block; font-family: var(--font-heading); color: var(--ink-900); font-size: 1rem; line-height: 1.35; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 200;
  transform: translate(-50%, 150%);
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.2rem; border-radius: var(--radius-pill);
  background: var(--ink-900); color: var(--white);
  font-size: 0.925rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }
.toast .icon { color: var(--gold-300); }
@media (max-width: 767px) { .toast { bottom: calc(88px + env(safe-area-inset-bottom)); } }

/* Quote band */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.9rem);
  line-height: 1.25; letter-spacing: -0.02em;
  color: var(--ink-900);
  max-width: 24ch; margin-inline: auto;
}
.quote-band cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--ink-600); }

/* Donor-facing info notice */
.notice {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--gold-50); border: 1px solid var(--gold-200);
  font-size: 0.925rem; color: var(--ink-800);
}
.notice .icon { color: var(--gold-700); margin-top: 0.15rem; }

/* Donation widget — UPI/bank disclosure + disabled state */
.btn.is-disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.pay-details { margin-top: 0.7rem; }
.pay-details > summary { list-style: none; }
.pay-details > summary::-webkit-details-marker { display: none; }
.pay-details > summary .icon--chevron { transition: transform 0.3s var(--ease); }
.pay-details[open] > summary .icon--chevron { transform: rotate(180deg); }
.pay-details[open] > summary { border-color: var(--saffron-600); color: var(--saffron-700); }
.pay-panel__actions { display: grid; gap: 0.6rem; margin-top: 1rem; }
.pay-panel__actions .btn { white-space: normal; text-align: center; }
.pay-details > summary.btn { white-space: normal; text-align: center; }

/* Even photo grid variant (for short galleries) */
.masonry--grid {
  columns: auto;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 12vw, 200px);
}
.masonry--grid .masonry__item { margin: 0; height: 100%; }
.masonry--grid .masonry__item img { height: 100%; object-fit: cover; }
.masonry--grid .masonry__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.masonry--grid .masonry__item:nth-child(8) { grid-column: span 2; }
@media (max-width: 767px) {
  .masonry--grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 0.6rem; }
}
