/* Ugnayan brand system */
:root {
  --green: #166534;
  --green-dark: #104B27;
  --gold: #F4C95D;
  --white: #FFFFFF;
  --cream: #FAF9F4;
  --cream-deep: #F2F0E6;
  --ink: #24332A;
  --muted: #647067;
  --border: #E7E4D9;
  --heading: "Poppins", sans-serif;
  --body: "Inter", sans-serif;
  --slogan: "Montserrat", sans-serif;
  --container: 1200px;
  --shadow: 0 18px 50px rgba(22, 101, 52, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 14px; color: white; background: var(--green); }
.skip-link:focus { left: 10px; }
h1, h2, h3 { margin-top: 0; color: var(--green-dark); font-family: var(--heading); line-height: 1.18; }
h1 { margin-bottom: 22px; font-size: clamp(2.7rem, 5vw, 4.25rem); font-weight: 700; letter-spacing: -.045em; }
h1 span { display: block; color: var(--green); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.3vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; }
h3 { margin-bottom: 12px; font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 16px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 23px; border: 2px solid transparent; border-radius: 12px; text-decoration: none; font: 600 15px/1.3 var(--body); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--green); box-shadow: 0 7px 18px rgba(22,101,52,.16); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { color: var(--green); border-color: rgba(22,101,52,.28); background: transparent; }
.btn-outline:hover { background: #EFF5EF; }
.btn-gold { color: var(--green-dark); background: var(--gold); }
.btn-gold:hover { background: #F8D77B; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(231,228,217,.9); backdrop-filter: blur(14px); }
.navbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 156px; max-height: 76px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav-links > a:not(.btn) { position: relative; padding: 10px 0; color: #303B33; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-links > a:not(.btn)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links > a:not(.btn):hover::after, .nav-links > a.active::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 11px 18px; white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: white; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--green); transition: transform .2s ease, opacity .2s ease; }
.hero { position: relative; overflow: hidden; padding: 76px 0 90px; background: radial-gradient(ellipse at 8% 100%, #E9EEDC 0, transparent 28%), linear-gradient(115deg, #FFFFFF 38%, #FBF8ED 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(36px, 5vw, 70px); }
.hero-copy { max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--green); font: 700 12px/1.4 var(--slogan); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 28px; height: 3px; background: var(--gold); }
.hero-slogan { margin-bottom: 22px; color: var(--green); font: 600 15px/1.7 var(--slogan); }
.hero-copy > p:not(.eyebrow):not(.hero-slogan) { color: #4F5B52; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: var(--muted); font-size: 13px; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244,201,93,.2); }
.hero-visual { position: relative; min-width: 0; }
.hero-visual > img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/4.3; object-fit: cover; border-radius: 45% 45% 22px 22px; box-shadow: var(--shadow); }
.hero-visual::before { position: absolute; z-index: 0; top: -18px; right: -18px; bottom: 18px; left: 18px; border: 2px solid var(--gold); border-radius: 45% 45% 28px 28px; content: ""; }
.image-badge { position: absolute; z-index: 2; right: -22px; bottom: 30px; display: flex; align-items: center; gap: 12px; max-width: 285px; padding: 16px 20px; border: 1px solid rgba(244,201,93,.65); border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.badge-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--green); background: #FFF6D9; font-size: 24px; }
.image-badge strong, .image-badge small { display: block; }
.image-badge strong { color: var(--green); font-size: 13px; }
.image-badge small { color: var(--muted); font-size: 11px; }
.gold-orbit { position: absolute; z-index: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }
.orbit-one { top: 18%; left: -25px; }
.orbit-two { right: 15%; bottom: -20px; width: 9px; height: 9px; }
.hero-wave { position: absolute; bottom: -55px; left: -5%; width: 110%; height: 100px; border-top: 3px solid rgba(244,201,93,.6); border-radius: 50%; transform: rotate(-2deg); }
.section { padding: 88px 0; }
.features { background: var(--cream); }
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.eyebrow.centered { justify-content: center; }
.section-heading > p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.feature-card { padding: 34px 28px 30px; border: 1px solid var(--border); border-radius: 18px; background: white; box-shadow: 0 7px 24px rgba(22,101,52,.035); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { display: grid; width: 68px; height: 68px; margin-bottom: 21px; place-items: center; border: 2px solid var(--gold); border-radius: 50%; color: var(--green); }
.feature-icon svg { width: 42px; height: 42px; }
.feature-card p { min-height: 84px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); text-decoration: none; font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--green-dark); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.about-image { position: relative; }
.about-image img { width: 100%; aspect-ratio: 4/3.7; object-fit: cover; border-radius: 22px; }
.about-stamp { position: absolute; right: -18px; bottom: 24px; display: flex; flex-direction: column; padding: 17px 22px; border-radius: 13px; color: var(--white); background: var(--green); box-shadow: var(--shadow); }
.about-stamp strong { font: 600 20px var(--heading); }
.about-stamp span { color: var(--gold); font-size: 11px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.check-list { display: grid; gap: 12px; margin: 25px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.check-list li span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--green); background: #E8F1E7; font-weight: 700; }
.community-cta { padding: 58px 0; color: white; background: var(--green); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-inner h2 { margin-bottom: 12px; color: white; }
.cta-inner p:not(.eyebrow) { max-width: 640px; margin-bottom: 0; color: rgba(255,255,255,.82); }
.eyebrow-light { color: var(--gold); }
.eyebrow-light > span { background: white; }
.cta-inner .btn { flex: 0 0 auto; }
.site-footer { padding: 36px 0 20px; color: white; background: #104B27; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand img { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; background: white; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { font: 600 21px var(--heading); }
.footer-brand small { margin-top: 3px; color: var(--gold); font: 600 9px var(--slogan); letter-spacing: .08em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.88); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.17); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; }
.footer-bottom .footer-slogan { color: var(--gold); font: 600 11px var(--slogan); letter-spacing: .1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 1050px) {
  .navbar { gap: 18px; }
  .brand img { width: 135px; }
  .nav-links { gap: 16px; }
  .nav-links > a:not(.btn) { font-size: 13px; }
  .hero { padding: 60px 0 78px; }
  .hero-grid { gap: 38px; }
  .feature-card { padding: 28px 22px; }
}
@media (max-width: 820px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .navbar { min-height: 76px; }
  .brand img { width: 125px; max-height: 64px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 20px 20px; border-bottom: 1px solid var(--border); background: white; box-shadow: 0 18px 24px rgba(0,0,0,.07); }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links > a:not(.btn) { padding: 13px 5px; font-size: 15px; }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 28px; }
  .hero { padding: 52px 0 72px; }
  .hero-visual > img { aspect-ratio: 4/4.8; }
  .image-badge { right: -8px; bottom: 20px; padding: 12px; }
  .feature-grid { gap: 14px; }
  .feature-card { padding: 24px 18px; }
  .feature-card p { min-height: 120px; font-size: 14px; }
  .about-grid { gap: 38px; }
  .footer-main { align-items: flex-start; }
  .footer-links { max-width: 430px; gap: 12px 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero { padding: 40px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.15rem); }
  h2 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  .hero-copy > p:not(.eyebrow):not(.hero-slogan) { font-size: 15px; }
  .hero-slogan { font-size: 13px; }
  .desktop-break { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { width: calc(100% - 10px); margin: 0 auto; }
  .hero-visual > img { aspect-ratio: 4/3.3; border-radius: 28% 28% 18px 18px; }
  .hero-visual::before { top: -10px; right: -10px; bottom: 10px; left: 10px; border-radius: 28% 28% 22px 22px; }
  .image-badge { right: 8px; bottom: 14px; max-width: 240px; }
  .section { padding: 56px 0; }
  .section-heading { margin-bottom: 30px; }
  .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; padding: 22px; text-align: left; }
  .feature-icon { width: 56px; height: 56px; grid-row: span 3; margin: 0; }
  .feature-icon svg { width: 35px; height: 35px; }
  .feature-card h3 { align-self: end; margin-bottom: 5px; font-size: 20px; }
  .feature-card p { min-height: 0; margin-bottom: 12px; font-size: 14px; }
  .text-link { font-size: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-image { width: calc(100% - 10px); }
  .about-stamp { right: -8px; bottom: 14px; }
  .community-cta { padding: 42px 0; }
  .cta-inner { align-items: stretch; flex-direction: column; gap: 24px; }
  .cta-inner .btn { width: 100%; }
  .footer-main { align-items: center; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 12px 18px; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .brand img { width: 112px; }
  .hero-copy h1 { font-size: 2.2rem; }
  .feature-card { grid-template-columns: 48px 1fr; padding: 17px; column-gap: 12px; }
  .feature-icon { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Contact us */
.contact-section {
  background: #FFFFFF;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 8px 28px rgba(22, 101, 52, .055);
}
.contact-card-heading {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--green);
  background: #FFFFFF;
}
.contact-symbol svg {
  width: 35px;
  height: 35px;
}
.contact-card-heading h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}
.contact-location {
  display: flex;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.contact-location span {
  color: var(--green);
  font-size: 19px;
  line-height: 1.2;
}
.contact-person {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 18px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-person strong {
  color: var(--green-dark);
  font-family: var(--heading);
  font-size: 17px;
}
.contact-person span {
  color: var(--muted);
  font-size: 14px;
}
.contact-details {
  display: grid;
  gap: 13px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: #E9F1E8;
  font-size: 17px;
}
.messenger-icon {
  color: var(--green);
  background: #E9F1E8;
  border: 1px solid var(--gold);
  font-size: 15px;
  font-weight: 700;
}
.contact-details a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.contact-details a:hover {
  color: var(--green);
  text-decoration: underline;
}
.contact-action {
  align-self: flex-start;
  margin-top: auto;
}
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-card {
    padding: 22px;
  }
  .contact-card-heading {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }
  .contact-symbol {
    width: 50px;
    height: 50px;
  }
  .contact-symbol svg {
    width: 30px;
    height: 30px;
  }
  .contact-card-heading h3 {
    font-size: 18px;
  }
  .contact-action {
    width: 100%;
  }
}


/* What You Can Do Here */
.what-you-can-do {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}
.what-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}
.what-check {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--green);
  background: #E9F1E8;
  font-size: 15px;
  font-weight: 700;
}
.what-item h3 {
  margin: 0 0 5px;
  font-size: 17px;
}
.what-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.scripture-quote {
  position: relative;
  margin: 28px 0 0;
  padding: 22px 24px 22px 28px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: var(--cream);
}
.scripture-quote .quote-mark {
  position: absolute;
  top: 4px;
  left: 9px;
  color: var(--gold);
  font: 700 32px/1 var(--heading);
  opacity: .9;
}
.scripture-quote p {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-family: var(--heading);
  font-size: 16px;
  font-style: italic;
  line-height: 1.65;
}
.scripture-quote cite {
  color: var(--green);
  font: 600 12px var(--slogan);
  letter-spacing: .04em;
  font-style: normal;
}
@media (max-width: 600px) {
  .what-you-can-do {
    gap: 20px;
    margin: 22px 0;
  }
  .what-item h3 {
    font-size: 16px;
  }
  .what-item p {
    font-size: 14px;
  }
  .scripture-quote {
    padding: 20px 18px 20px 25px;
  }
  .scripture-quote p {
    font-size: 15px;
  }
}


/* Our heart and purpose + What You Can Do Here */
.what-section {
  background: var(--cream);
}
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.what-card {
  padding: 28px 25px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #FFFFFF;
  box-shadow: 0 7px 24px rgba(22, 101, 52, .045);
}
.what-card .what-check {
  margin-bottom: 18px;
}
.what-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.what-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.scripture-quote {
  position: relative;
  max-width: 850px;
  margin: 36px auto 0;
  padding: 24px 28px 22px 34px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: #FFFFFF;
  box-shadow: 0 7px 24px rgba(22, 101, 52, .04);
}
.scripture-quote .quote-mark {
  position: absolute;
  top: 4px;
  left: 10px;
  color: var(--gold);
  font: 700 32px/1 var(--heading);
}
.scripture-quote p {
  margin: 0 0 10px;
  color: var(--green-dark);
  font: italic 600 17px/1.7 var(--heading);
}
.scripture-quote cite {
  color: var(--green);
  font: 600 12px var(--slogan);
  letter-spacing: .04em;
  font-style: normal;
}
@media (max-width: 760px) {
  .what-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .what-card {
    padding: 23px;
  }
  .what-card h3 {
    font-size: 18px;
  }
  .scripture-quote {
    margin-top: 24px;
    padding: 22px 18px 20px 28px;
  }
  .scripture-quote p {
    font-size: 15px;
  }
}


/* Consistent contact icons */
.contact-inline-icon {
  display: block;
  width: 18px;
  height: 18px;
}


/* Uniform contact icon treatment: phone, email, and Messenger */
.contact-details .detail-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(244, 201, 93, .9);
  border-radius: 10px;
  color: var(--green);
  background: #E9F1E8;
}
.contact-details .contact-inline-icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

/* Messenger mark uses the Ugnayan green-and-cream palette. */
.contact-details .messenger-brand-icon {
  color: var(--green);
  background: #E9F1E8;
  border: 1px solid rgba(244, 201, 93, .9);
}
.contact-details .messenger-brand-icon .contact-inline-icon {
  width: 19px;
  height: 19px;
}
