:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --bg-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: #eef4ff;
  --text: #14213d;
  --muted: #64748b;
  --primary: #0b5ed7;
  --primary-dark: #063f94;
  --green: #0f7a46;
  --green-dark: #06492f;
  --accent: #d62828;
  --gold: #f5b942;
  --line: rgba(20, 33, 61, 0.12);
  --shadow: 0 24px 70px rgba(17, 35, 74, 0.14);
  --radius: 24px;
  --max-width: 1180px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07111f;
  --bg-strong: #0d1728;
  --surface: rgba(15, 28, 48, 0.9);
  --surface-soft: #111f34;
  --text: #f8fafc;
  --muted: #b6c3d3;
  --primary: #65a3ff;
  --primary-dark: #8bbcff;
  --green: #38c172;
  --green-dark: #0f7a46;
  --accent: #ff6262;
  --gold: #ffd166;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(11, 94, 215, 0.14), transparent 34rem),
    radial-gradient(circle at 82% 12%, rgba(214, 40, 40, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 36px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-strip {
  background: linear-gradient(90deg, var(--green-dark), var(--primary-dark), var(--accent));
  color: #fff;
  font-size: 0.9rem;
}

.top-strip-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.top-strip a {
  font-weight: 800;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg-strong) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
  box-shadow:
    0 0 0 3px rgba(245, 185, 66, 0.36),
    0 10px 25px rgba(11, 94, 215, 0.16);
}

.brand strong {
  display: block;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  max-width: 210px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-nav a,
.site-nav button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav button:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.site-nav .nav-button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #f97316);
  box-shadow: 0 12px 28px rgba(214, 40, 40, 0.24);
}

.site-nav .nav-button:hover,
.site-nav .nav-button.active {
  color: #fff;
  transform: translateY(-1px);
}

.theme-button {
  border: 1px solid var(--line) !important;
}

.has-menu {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.18s ease;
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu a {
  display: block;
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 46%, rgba(32, 154, 244, 0.28), transparent 28rem),
    linear-gradient(110deg, #050d1d 2%, #092550 55%, #082d47 100%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -6% -12%;
  opacity: 0.92;
  background: url("images/world-map.svg") center / 112% auto no-repeat;
  animation: map-drift 24s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 27%, rgba(255,255,255,.82) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 76%, rgba(249,217,118,.95) 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(5, 13, 29, 0.92), rgba(5, 13, 29, 0.17) 68%, rgba(5, 13, 29, 0.38));
  background-size: 170px 180px, 240px 210px, auto;
  animation: map-pulse 5s ease-in-out infinite;
}

@keyframes map-drift {
  from { transform: scale(1.02) translate3d(-1.5%, 0, 0); }
  to { transform: scale(1.10) translate3d(1.5%, -1.2%, 0); }
}

@keyframes map-pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -26% -10%;
  height: 260px;
  background: var(--bg);
  transform: rotate(-3deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 44px;
  align-items: center;
  padding-block: 110px 150px;
}

.hero-copy {
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-copy .eyebrow,
.donation-band .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--font-heading);
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  max-width: 930px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.14rem;
}

p {
  margin: 0;
}

.hero-text {
  max-width: 710px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions,
.center-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.center-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), #ff8a3d);
  color: #fff;
  box-shadow: 0 18px 38px rgba(214, 40, 40, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.text-link::after {
  content: "→";
  margin-left: 7px;
  transition: transform 0.2s ease;
}

.text-link:hover::after { transform: translateX(4px); }

.hero .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-card,
.contact-card,
.values-card,
.payment-card,
.info-panel,
.contact-form,
.feature-card,
.program-card,
.timeline-item,
.check-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  color: var(--text);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -35% -35% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 42%, transparent), transparent 70%);
  pointer-events: none;
}

.hero-seal {
  width: 150px;
  height: 150px;
  margin: 0 auto 22px;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
  box-shadow:
    0 0 0 5px color-mix(in srgb, var(--gold) 52%, transparent),
    0 22px 50px rgba(5, 20, 45, 0.28);
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 0.78rem;
  font-weight: 900;
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.metric-list div {
  padding: 16px 12px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.metric-list strong {
  display: block;
  color: var(--primary-dark);
  font-size: 2rem;
  line-height: 1;
}

.metric-list span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section.muted,
.muted {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-soft) 70%, transparent), transparent),
    var(--surface-soft);
}

.split,
.page-hero-grid,
.contact-layout,
.donation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 44px;
  align-items: center;
}

.section-copy p,
.section-head p,
.page-hero p,
.donation-band p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.image-stack {
  position: relative;
  min-height: 430px;
}

.image-stack img {
  position: absolute;
  width: 74%;
  height: 320px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  right: 0;
  top: 0;
}

.image-stack img:last-child {
  left: 0;
  bottom: 0;
  border: 8px solid var(--bg-strong);
}

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

.feature-card,
.program-card,
.timeline-item,
.check-card {
  padding: 26px;
}

.feature-card span,
.program-card span,
.timeline-item span,
.info-row span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-weight: 900;
}

.feature-card p,
.program-card p,
.timeline-item p,
.check-card,
.info-row p,
.contact-card p,
.values-card li,
.payment-card li {
  color: var(--muted);
}

.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.activity-grid .program-card { min-height: 258px; }

.activity-steps,
.response-list {
  display: grid;
  gap: 14px;
}

.activity-steps > div,
.response-list > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(17, 35, 74, 0.07);
}

.activity-steps b,
.response-list b {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--primary));
}

.activity-steps span,
.response-list p { margin: 0; }
.activity-steps strong,
.response-list strong { display: block; }
.activity-steps small,
.response-list small { display: block; color: var(--muted); margin-top: 2px; }

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

.membership-card,
.rights-card,
.start-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.membership-card { position: relative; overflow: hidden; }
.membership-card.featured { border-color: color-mix(in srgb, var(--gold) 65%, var(--line)); background: linear-gradient(155deg, color-mix(in srgb, var(--gold) 16%, var(--surface)), var(--surface)); }
.membership-card h3,
.rights-card h3,
.start-card h2 { margin-top: 9px; }
.membership-card p:not(.tag),
.rights-card p,
.start-card p { margin-top: 12px; color: var(--muted); }
.membership-card ul { margin: 22px 0 0; padding-left: 19px; color: var(--muted); }
.membership-card li + li { margin-top: 10px; }
.tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--primary); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.rights-grid { grid-template-columns: repeat(3, 1fr); }
.rights-card { min-height: 214px; }
.rights-card > span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 15px; color: var(--gold); background: color-mix(in srgb, var(--primary) 13%, transparent); font-size: 1.5rem; }

.start-grid { grid-template-columns: repeat(4, 1fr); }
.start-card { position: relative; display: block; min-height: 290px; transition: transform .2s ease, box-shadow .2s ease; }
.start-card:hover { transform: translateY(-6px); box-shadow: 0 30px 65px rgba(17, 35, 74, 0.19); }
.start-card span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), #ff8a3d); font-weight: 900; }
.start-card b { position: absolute; bottom: 27px; color: var(--primary-dark); font-size: .88rem; }

.activities-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--green) 15%, transparent), transparent 55%), var(--surface-soft); }
.membership-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 19%, transparent), transparent 55%), var(--surface-soft); }
.rights-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%), var(--surface-soft); }
.start-hero { text-align: center; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, transparent), color-mix(in srgb, var(--green) 12%, transparent)), var(--surface-soft); }
.start-hero p { margin-inline: auto; }

.nav-start {
  color: var(--green-dark) !important;
  font-weight: 900 !important;
}

.site-nav > a { white-space: nowrap; }

@media (max-width: 1160px) {
  .brand { min-width: auto; }
  .brand small { display: none; }
  .site-nav { gap: 4px; }
  .site-nav > a:not(.nav-button) { padding-inline: 6px; font-size: .75rem; }
}

@media (max-width: 960px) {
  .membership-grid,
  .rights-grid { grid-template-columns: repeat(2, 1fr); }
  .start-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .membership-grid,
  .rights-grid,
  .start-grid { grid-template-columns: 1fr; }
  .hero-media::before { background-size: 190% auto; }
  .start-card { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media::before,
  .hero-media::after { animation: none; }
}

.image-partitions {
  background:
    radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 25rem),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--green) 18%, transparent), transparent 28rem),
    var(--bg);
}

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

.partition-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  display: grid;
  align-content: end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: #fff;
  background: #07111f;
  box-shadow: var(--shadow);
}

.partition-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.partition-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.05), rgba(7, 17, 31, 0.78)),
    linear-gradient(135deg, rgba(6, 73, 47, 0.42), rgba(214, 40, 40, 0.28));
}

.partition-card:hover img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.08);
}

.partition-card small,
.partition-card p {
  color: rgba(255, 255, 255, 0.82);
}

.partition-card h3 {
  margin-top: 10px;
  font-size: 1.32rem;
}

.partition-count {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #07111f;
  background: linear-gradient(135deg, #fff, var(--gold));
  font-weight: 900;
  font-size: 0.82rem;
}

.donation-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  border-radius: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 63, 148, 0.94), rgba(214, 40, 40, 0.88)),
    url("images/gallery/011-dmgp4-d818e33e318f.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.donation-band p {
  color: rgba(255, 255, 255, 0.82);
}

.gallery-preview,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gallery-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.gallery-chip:hover,
.gallery-chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--primary-dark));
  border-color: transparent;
}

.gallery-preview img,
.gallery-grid img,
.gallery-strip img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 22px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
}

.gallery-item img {
  transition: transform 0.32s ease, filter 0.32s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.03);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.72);
  color: #fff;
  backdrop-filter: blur(10px);
}

.gallery-item strong,
.gallery-item small {
  display: block;
}

.gallery-item strong {
  font-size: 0.82rem;
  font-weight: 900;
}

.gallery-item small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
  font-weight: 800;
}

.page-hero {
  padding: 86px 0 70px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 13%, transparent), transparent),
    var(--surface-soft);
}

.page-hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.values-card,
.payment-card,
.contact-card,
.info-panel {
  padding: 30px;
}

.values-card ul,
.payment-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.values-card li,
.payment-card li {
  position: relative;
  padding-left: 26px;
  margin-top: 12px;
}

.values-card li::before,
.payment-card li::before,
.check-card::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

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

.check-card {
  position: relative;
  padding-left: 54px;
}

.check-card::before {
  top: 26px;
  left: 26px;
}

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

.contact-layout,
.donation-layout {
  align-items: start;
}

.info-panel {
  position: sticky;
  top: 110px;
}

.info-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  margin-top: 22px;
}

.info-row span {
  margin: 0;
}

.contact-form {
  padding: 30px;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-strong);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}

.is-invalid {
  border-color: var(--accent) !important;
}

.field-error {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-scroll {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--primary) 12%, var(--surface));
  color: var(--primary-dark);
  font-weight: 800;
}

.form-alert.error {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent);
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  margin-bottom: 24px;
}

.lightbox {
  width: min(920px, calc(100% - 32px));
  border: 0;
  border-radius: 26px;
  padding: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-stage {
  position: relative;
  clear: both;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(7, 17, 31, 0.64);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  padding: 62px 0 24px;
  background: #07111f;
  color: #e5edf7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.1fr;
  gap: 28px;
}

.site-footer img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.site-footer h2,
.site-footer h3 {
  margin-top: 14px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-top: 10px;
  color: #b6c3d3;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b6c3d3;
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
}

.floating-actions a {
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  background: #16a34a;
}

.donate-float {
  background: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .top-strip-inner {
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 122px 18px auto 18px;
    display: none;
    max-height: calc(100vh - 150px);
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a,
  .site-nav button {
    width: 100%;
    text-align: left;
    border-radius: 14px;
  }

  .has-menu,
  .nav-menu {
    position: static;
  }

  .nav-menu {
    width: 100%;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--surface-soft);
  }

  .hero-grid,
  .split,
  .page-hero-grid,
  .contact-layout,
  .donation-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 82px 130px;
  }

  .feature-grid,
  .program-grid,
  .partition-grid,
  .timeline,
  .check-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-summary {
    grid-template-columns: 1fr;
  }

  .gallery-chips {
    justify-content: flex-start;
  }

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

  .info-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .top-strip {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    inset: 92px 12px auto 12px;
  }

  h1 {
    font-size: clamp(2.5rem, 16vw, 4rem);
  }

  .section {
    padding: 66px 0;
  }

  .hero-card,
  .contact-card,
  .values-card,
  .payment-card,
  .info-panel,
  .contact-form {
    padding: 22px;
  }

  .metric-list,
  .feature-grid,
  .program-grid,
  .partition-grid,
  .timeline,
  .check-grid,
  .gallery-strip,
  .footer-grid,
  .field-grid,
  .gallery-toolbar {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
  }

  .image-stack img {
    position: static;
    width: 100%;
    height: 260px;
    margin-top: 14px;
  }

  .donation-band {
    display: grid;
    padding: 24px;
  }

  .gallery-preview,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-preview img,
  .gallery-grid img,
  .gallery-strip img {
    height: 170px;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .partition-card {
    min-height: 240px;
  }

  .gallery-summary {
    padding: 20px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}

/* Refined content components */
.nav-start, .site-footer a[href="start.html"], .floating-actions, [data-count] { display: none !important; }
.theme-button { min-width: 42px; padding-inline: 12px; font-size: 1.2rem; }
.hero-card-note { margin: 20px 0 0; color: rgba(255,255,255,.78); line-height: 1.65; }
.visual-statement { overflow: hidden; }
.visual-statement-grid { align-items: center; }
.statement-image, .ambassador-grid > img { width: 100%; min-height: 320px; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow); }
.application-shell { padding: clamp(24px,4vw,52px); border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.application-notice { margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 11%, var(--surface)); color: var(--text); }
.application-form fieldset { margin: 28px 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; }
.application-form legend { padding: 0 8px; color: var(--primary); font-weight: 900; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
.form-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.form-span-2 { grid-column: span 2; }.form-span-3 { grid-column: 1 / -1; }
.pledge-list { display: grid; gap: 14px; }
.pledge-list label { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 600; line-height: 1.55; }
.pledge-list input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.declaration-check { margin-top: 8px !important; padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 8%, var(--surface)); }
.form-actions, .social-links { display: flex; flex-wrap: wrap; gap: 12px; }.social-links { margin-top: 26px; }
.social-links a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: .85rem; font-weight: 800; }.social-links a:hover { border-color: var(--accent); color: var(--primary); }
.ambassador-section { background: linear-gradient(130deg,var(--primary-dark),var(--primary)); }.ambassador-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(24px,5vw,72px); align-items: center; }.ambassador-section .section-copy { color: #fff; }.ambassador-section .section-copy p:not(.eyebrow) { color: rgba(255,255,255,.8); }.ambassador-section .eyebrow { color: var(--gold); }
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }.video-card { display: grid; gap: 9px; min-height: 190px; padding: 28px; border-radius: 24px; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color: #fff; box-shadow: var(--shadow); transition: transform .22s ease,box-shadow .22s ease; }.video-card:hover { transform: translateY(-6px); box-shadow: 0 28px 55px rgba(8,32,69,.25); }.video-card span { color: var(--gold); font-size: 2rem; }.video-card small { color: rgba(255,255,255,.72); }
@media (max-width:850px) { .form-grid.three, .ambassador-grid, .video-grid { grid-template-columns:1fr; }.form-span-2 { grid-column:auto; } }
@media (max-width:560px) { .application-form fieldset { padding:17px; }.form-grid { grid-template-columns:1fr; }.form-span-3 { grid-column:auto; } }

/* Official video gallery and payment presentation */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.youtube-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 20px;
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}

.payment-showcase {
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  background: linear-gradient(145deg, rgba(7, 27, 57, .96), rgba(18, 67, 113, .95));
  color: #fff;
}

.payment-showcase h2 { color: #fff; }
.payment-showcase .eyebrow { color: var(--gold); }
.payment-showcase li { color: rgba(255, 255, 255, .84); }
.payment-showcase li::before { color: var(--gold); }

.payment-currency-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.payment-currency-row span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
}

@media (max-width: 850px) {
  .youtube-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .youtube-grid { grid-template-columns: 1fr; }
}
