:root {
  --blue-900: #03204c;
  --blue-700: #0c71c3;
  --blue-100: #e8f3fc;
  --green-700: #3f7f35;
  --green-100: #edf7e7;
  --gold-500: #edb900;
  --red-600: #c73225;
  --ink: #121826;
  --muted: #586579;
  --line: #d9e2ee;
  --surface: #ffffff;
  --surface-alt: #f6f9fc;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--surface);
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3 { margin-top: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .65rem .9rem;
  border-radius: 6px;
  background: var(--blue-900);
  color: #fff;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(3, 32, 76, .12);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(8, 30, 55, .06);
  backdrop-filter: blur(14px);
}
.utility-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.25rem;
  padding: .45rem 1rem;
  color: #fff;
  background: var(--blue-700);
  font-size: .9rem;
}
.utility-bar a { color: #fff; text-decoration: none; }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: .85rem 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 17rem;
  gap: .8rem;
  color: var(--blue-900);
  text-decoration: none;
}
.brand img {
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.1rem; line-height: 1.2; }
.brand small { color: var(--muted); font-size: .85rem; }
.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .25rem;
}
.desktop-nav a,
.mobile-nav nav a {
  border-radius: 6px;
  color: var(--blue-900);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.desktop-nav a { padding: .58rem .72rem; }
.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--blue-100);
  color: var(--blue-700);
}
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  min-width: 5.5rem;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-900);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  display: grid;
  width: 17rem;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(8, 30, 55, .14);
}
.mobile-nav nav a { padding: .7rem .8rem; }
.mobile-nav nav a:hover { background: var(--blue-100); }

.hero {
  position: relative;
  min-height: 31rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--blue-900);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 32, 76, .9), rgba(3, 32, 76, .58) 52%, rgba(3, 32, 76, .15));
}
.hero-home::before { background-image: url("/assets/Ako-Ang-Saklay-pics-10-copy.webp"); }
.hero-programs::before { background-image: url("/assets/Ako-Ang-Saklay-pics-4.jpg"); }
.hero-community::before { background-image: url("/assets/Ako-Ang-Saklay-pics-9-copy.webp"); }
.hero-support::before { background-image: url("/assets/Ako-Ang-Saklay-pics-1.jpg"); }
.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 5.25rem 1.25rem 5.5rem;
  color: #fff;
}
.hero-inner h1 {
  max-width: 48rem;
  margin-bottom: 1rem;
  font-size: 3rem;
  line-height: 1.05;
}
.hero-copy {
  max-width: 43rem;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, .92);
  font-size: 1.25rem;
}
.eyebrow,
.section-kicker,
.card-label {
  margin-bottom: .75rem;
  color: var(--gold-500);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.button-row,
.callout-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.button.primary { background: var(--gold-500); color: var(--blue-900); }
.button.secondary { border-color: rgba(255, 255, 255, .58); color: #fff; }
.button.outline { border-color: var(--blue-700); color: var(--blue-700); background: #fff; }

.section { padding: 4rem 1.25rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.two-column {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.section h2 {
  max-width: 44rem;
  color: var(--blue-900);
  font-size: 2.05rem;
  line-height: 1.18;
}
.section h3 {
  color: var(--blue-900);
  font-size: 1.15rem;
  line-height: 1.25;
}
.copy-stack p,
.card p,
.update-item p,
.board-card p,
.contact-panel p { color: var(--muted); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.photo-strip img { width: 100%; height: 17rem; object-fit: cover; }
.soft-band { background: linear-gradient(180deg, var(--surface-alt), var(--green-100)); }
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.6rem;
}
.card-grid { display: grid; gap: 1rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card,
.update-item,
.board-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(8, 30, 55, .06);
}
.card,
.board-card,
.contact-panel { padding: 1.35rem; }
.card-label { display: inline-flex; color: var(--green-700); }
.updates-list { display: grid; gap: .9rem; }
.update-item {
  display: grid;
  grid-template-columns: 10rem 1fr 1.4fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
}
.update-item time { color: var(--red-600); font-weight: 800; }
.update-item h3,
.update-item p { margin-bottom: 0; }
.callout-band { background: var(--blue-900); color: #fff; }
.callout {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.callout h2 { color: #fff; }
.callout .button.secondary { border-color: rgba(255, 255, 255, .55); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.board-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.board-list { margin: 0; padding-left: 1.1rem; }
.board-list li { margin-bottom: .55rem; }
.contact-panel a,
.board-card a { color: var(--blue-700); font-weight: 700; }

.site-footer { color: #fff; background: #02417c; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.footer-logo {
  width: 4rem;
  height: 4rem;
  margin-bottom: .8rem;
  border-radius: 8px;
  object-fit: cover;
}
.footer-inner h2 {
  margin-bottom: .35rem;
  color: var(--gold-500);
  font-size: 1.35rem;
}
.footer-inner p,
.footer-inner address {
  color: rgba(255, 255, 255, .86);
  font-style: normal;
}
.footer-inner strong { display: block; margin-bottom: .4rem; color: #fff; }
.footer-inner a { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.3rem;
  color: var(--gold-500);
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .92rem;
}

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .brand { min-width: 0; }
  .card-grid.four,
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .utility-bar { justify-content: flex-start; }
  .nav-shell { padding: .75rem 1rem; }
  .brand img { width: 3.25rem; height: 3.25rem; }
  .brand small { display: none; }
  .hero { min-height: 28rem; }
  .hero::after { background: linear-gradient(180deg, rgba(3, 32, 76, .84), rgba(3, 32, 76, .7)); }
  .hero-inner { padding: 4rem 1rem; }
  .hero-inner h1 { font-size: 2.25rem; }
  .hero-copy { font-size: 1.08rem; }
  .section { padding: 3rem 1rem; }
  .two-column,
  .footer-inner,
  .contact-grid,
  .board-grid,
  .photo-strip,
  .card-grid.four,
  .info-grid { grid-template-columns: 1fr; }
  .photo-strip img { height: 14rem; }
  .section-heading,
  .callout { display: block; }
  .section h2 { font-size: 1.65rem; }
  .update-item { grid-template-columns: 1fr; gap: .35rem; }
  .callout-actions { margin-top: 1.25rem; }
}
