:root {
  color-scheme: light;
  --green: #30ad32;
  --green-dark: #176f2b;
  --turquoise: #26b2ac;
  --yellow: #f5c40d;
  --orange: #fa880b;
  --burgundy: #9b0b42;
  --ink: #132720;
  --muted: #586860;
  --mist: #eff7f3;
  --paper: #fbfdfa;
  --white: #ffffff;
  --line: rgba(19, 39, 32, 0.14);
  --shadow: 0 24px 70px rgba(17, 63, 45, 0.12);
  --radius-lg: 36px;
  --radius-md: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(19, 39, 32, 0.08);
  background: rgba(251, 253, 250, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 34px;
}

.brand { flex: 0 0 auto; }

.brand img {
  width: 226px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a { position: relative; }

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.wp-block-button.button > .wp-block-button__link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wp-block-button.button > .wp-block-button__link:hover,
.wp-block-button.button > .wp-block-button__link:focus-visible { transform: translateY(-2px); }
.wp-block-button.button-small > .wp-block-button__link { min-height: 44px; padding: 0 20px; }
.wp-block-button.button-donate > .wp-block-button__link { color: var(--white); background: var(--burgundy); }
.wp-block-button.button-primary > .wp-block-button__link { color: var(--white); background: var(--green); box-shadow: 0 12px 30px rgba(48, 173, 50, 0.28); }
.wp-block-button.button-ghost > .wp-block-button__link { border-color: rgba(255, 255, 255, 0.65); color: var(--white); background: rgba(255, 255, 255, 0.08); }
.wp-block-button.button-outline > .wp-block-button__link { border-color: var(--green); color: var(--green-dark); }
.wp-block-button.button-yellow > .wp-block-button__link { width: 100%; color: var(--ink); background: var(--yellow); }

.hero {
  position: relative;
  display: grid;
  min-height: 730px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-photo,
.hero-overlay { position: absolute; inset: 0; }

.hero-photo {
  background: url("./assets/ascochinga-paisaje.jpg") center 38% / cover no-repeat;
  transform: scale(1.015);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 34, 25, 0.88) 0%, rgba(8, 34, 25, 0.54) 48%, rgba(8, 34, 25, 0.16) 78%),
    linear-gradient(0deg, rgba(8, 34, 25, 0.72) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 170px;
  padding-bottom: 98px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light { color: #9be69d; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 8.8vw, 7.7rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  font-weight: 800;
}

h3 { font-size: 1.5rem; }

.hero-lede {
  max-width: 670px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions,
.inline-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.color-ribbon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  height: 8px;
  grid-template-columns: 2fr 1.35fr 1fr 0.8fr 0.65fr;
}

.color-ribbon span:nth-child(1) { background: var(--green); }
.color-ribbon span:nth-child(2) { background: var(--turquoise); }
.color-ribbon span:nth-child(3) { background: var(--yellow); }
.color-ribbon span:nth-child(4) { background: var(--orange); }
.color-ribbon span:nth-child(5) { background: var(--burgundy); }

.section-padding { padding: 108px 0; }

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 9vw;
  align-items: start;
}

.intro h2 { max-width: 780px; margin-bottom: 0; }
.intro-copy { padding-top: 40px; color: var(--muted); font-size: 1.12rem; }
.intro-copy p:last-child { margin-bottom: 0; }
.ascochinga { background: var(--mist); }

.ascochinga-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1fr);
  gap: 8vw;
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  content: "";
}

.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame-tall { min-height: 620px; }

.image-tag {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.ascochinga-copy h2 { max-width: 670px; }
.ascochinga-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.ascochinga-copy .lead { color: var(--ink); font-size: 1.2rem; font-weight: 600; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.stats > .wp-block-group { padding: 20px; border-left: 4px solid var(--turquoise); background: rgba(255, 255, 255, 0.64); }
.stats strong, .stats > .wp-block-group > p:last-child { display: block; }
.stats strong { font-family: "Manrope", sans-serif; font-size: 1.8rem; line-height: 1; }
.stats > .wp-block-group > p:last-child { margin-top: 7px; color: var(--muted); font-size: 0.88rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(48, 173, 50, 0.32);
  text-underline-offset: 5px;
}

.what-we-do { color: var(--white); background: var(--green-dark); }
.section-heading { margin-bottom: 54px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading > p { padding-top: 40px; color: rgba(255, 255, 255, 0.72); font-size: 1.08rem; }
.section-heading-dark > p { color: var(--muted); }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.pillars article {
  min-height: 300px;
  padding: 32px 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.pillars article:first-child { border-left: 1px solid rgba(255, 255, 255, 0.22); }
.pillar-number { display: block; margin-bottom: 64px; color: var(--yellow); font-family: "Manrope", sans-serif; font-size: 0.82rem; font-weight: 800; }
.pillars h3 { min-height: 56px; margin-bottom: 14px; }
.pillars p { margin-bottom: 0; color: rgba(255, 255, 255, 0.7); }
.activities { background: var(--paper); }

.activity-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 20px;
}

.activity-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(17, 63, 45, 0.07);
}

.activity-card-photo { position: relative; min-height: 500px; padding: 0; color: var(--white); }

.activity-card-photo::after {
  position: absolute;
  inset: 25% 0 0;
  background: linear-gradient(0deg, rgba(9, 31, 23, 0.9), transparent);
  content: "";
}

.activity-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.activity-card-body { position: relative; z-index: 1; padding: 30px; }
.activity-card h3 { margin-bottom: 14px; font-size: 1.9rem; }
.activity-card p:last-child { margin-bottom: 0; }
.activity-card-accent { border-color: transparent; background: var(--turquoise); }
.activity-card-accent .text-link { margin-top: 28px; color: var(--ink); }

.card-kicker {
  margin-bottom: 14px;
  color: var(--burgundy);
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.activity-card-photo .card-kicker { color: var(--yellow); }
.membership { background: var(--mist); }

.membership-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.2fr);
  gap: 7vw;
  align-items: center;
}

.membership-intro h2 { max-width: 680px; }
.membership-intro > p:not(.eyebrow) { max-width: 590px; color: var(--muted); font-size: 1.08rem; }

.benefit-list {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li { position: relative; padding-left: 30px; }

.benefit-list li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

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

.plan-card {
  position: relative;
  display: flex;
  min-height: 470px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.plan-card > p:not(.card-kicker):not(.price):not(.monthly-equivalent):not(.recommended) { color: var(--muted); }
.plan-card .wp-block-button.button > .wp-block-button__link { margin-top: 28px; }
.plan-featured { color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.plan-featured > p:not(.card-kicker):not(.price):not(.monthly-equivalent):not(.recommended) { color: rgba(255, 255, 255, 0.72); }
.plan-featured .card-kicker { color: var(--yellow); }

.recommended {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
}

.price { margin-bottom: 24px; }
.price strong, .price span { display: block; }
.price strong { font-family: "Manrope", sans-serif; font-size: clamp(2.4rem, 4vw, 4rem); letter-spacing: -0.06em; line-height: 1; }
.price span { margin-top: 10px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.monthly-equivalent { color: #9be69d; font-weight: 700; }
.donate { color: var(--white); background: var(--burgundy); }

.donate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.72fr);
  gap: 8vw;
  align-items: center;
}

.donate-card h2 { max-width: 720px; }
.donate-card > div:first-child > p:last-child { max-width: 650px; color: rgba(255, 255, 255, 0.78); font-size: 1.1rem; }
.bank-card { padding: 34px; border-radius: var(--radius-md); color: var(--ink); background: var(--white); }
.bank-details { margin: 0 0 28px; }
.bank-details > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.bank-label { color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.bank-value { margin: 3px 0 0; font-weight: 700; line-height: 1.35; }
.about { background: var(--paper); }
.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mission-grid article { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.mission-grid article:first-child { border-top: 7px solid var(--orange); }
.mission-grid article:last-child { border-top: 7px solid var(--turquoise); }
.mission-grid article > p:first-child { color: var(--green-dark); font-family: "Manrope", sans-serif; font-size: 1.15rem; font-weight: 800; }
.mission-grid article > p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }

.site-footer {
  padding: 76px 0 26px;
  color: var(--white);
  background: #0d241d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.75fr;
  gap: 7vw;
  padding-bottom: 54px;
}

.footer-brand img {
  width: 290px;
  height: 96px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.4);
}

.footer-brand p { max-width: 430px; color: rgba(255, 255, 255, 0.62); }
.footer-title { margin-bottom: 18px; color: #9be69d; font-weight: 800; }
.footer-grid a,
.footer-grid > div > p:not(.footer-title) { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, 0.72); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom p { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 1040px) {
  .main-nav { gap: 16px; }
  
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars article:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, 0.22); }
  .membership-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 76px; gap: 16px; }
  .brand img { width: 190px; height: 52px; }
  
  .wp-block-button.button-donate > .wp-block-button__link { margin-left: auto; }
  .hero { min-height: 670px; }
  .hero-content { padding-top: 130px; padding-bottom: 78px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8, 34, 25, 0.88), rgba(8, 34, 25, 0.45)); }
  .section-padding { padding: 78px 0; }
  .intro-grid,
  .section-heading,
  .ascochinga-grid,
  .donate-card,
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-copy,
  .section-heading > p { padding-top: 0; }
  .ascochinga-grid { gap: 50px; }
  .image-frame-tall { min-height: 520px; }
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .activity-card-photo { grid-column: 1 / -1; }
  .donate-card { align-items: stretch; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: relative; }
  .brand img { width: 170px; }
  .wp-block-button.button-small > .wp-block-button__link { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
  .hero { min-height: 700px; }
  .hero-content { padding-top: 100px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8, 34, 25, 0.92), rgba(8, 34, 25, 0.5)); }
  h1 { font-size: clamp(3.3rem, 14vw, 4.8rem); }
  h2 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .hero-actions .wp-block-button.button > .wp-block-button__link { width: 100%; }
  .stats,
  .pillars,
  .activity-grid,
  .plans,
  .mission-grid { grid-template-columns: 1fr; }
  .pillars article:nth-child(n) { border-left: 1px solid rgba(255, 255, 255, 0.22); }
  .pillar-number { margin-bottom: 34px; }
  .activity-card-photo { min-height: 480px; }
  .activity-card { min-height: 360px; }
  .plan-card { min-height: 430px; }
  .bank-card,
  .plan-card,
  .mission-grid article { padding: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms; }
}

/* Gutenberg integration: all visible content remains native editable blocks. */
.wp-site-blocks > *, .wp-block-post-content > * { margin-block:0; }
.wp-block-group, .wp-block-cover { box-sizing:border-box; }
.wp-block-image { margin:0; }
.wp-block-group p { margin-top:0; margin-bottom:1em; }
.wp-block-group p.eyebrow { margin-bottom:16px; }
.wp-block-group p.card-kicker { margin-bottom:14px; }
.wp-block-group p.pillar-number { margin-bottom:64px; color:var(--yellow); }
.wp-block-group p.recommended { margin:0; }
.wp-block-group .stats p { margin:0; }
.wp-block-group .bank-label { margin:0; }
.wp-block-group .bank-value { margin:3px 0 0; }
.wp-block-group .footer-bottom p { margin:0; }
.wp-block-group .text-link-wrap { margin:0; }
.wp-block-heading { color:inherit; }
.wp-block-button.button { padding:0; border:0; border-radius:999px; min-height:0; box-shadow:none; background:transparent; }
.wp-block-button.button > .wp-block-button__link { font-size:1rem; text-decoration:none; }
.wp-block-button.button-outline > .wp-block-button__link { background:transparent; }
.wp-block-button.button-yellow { width:100%; }
.hero.wp-block-cover { display:flex; padding:0; min-height:730px; }
.hero > .wp-block-cover__inner-container { width:100%; }
.hero .hero-content { padding-top:170px; padding-bottom:98px; }
.hero .wp-block-cover__background { background:linear-gradient(90deg,rgba(8,34,25,.88) 0%,rgba(8,34,25,.54) 48%,rgba(8,34,25,.16) 78%),linear-gradient(0deg,rgba(8,34,25,.72),transparent 45%); }
.hero::after { content:""; position:absolute; bottom:0; left:0; right:0; height:8px; background:linear-gradient(90deg,var(--green) 0% 34.48%,var(--turquoise) 34.48% 57.76%,var(--yellow) 57.76% 75%,var(--orange) 75% 88.79%,var(--burgundy) 88.79% 100%); z-index:2; }
.hero h1 { max-width:820px; margin:0 0 24px; font-size:clamp(3.7rem,8.8vw,7.7rem); }
.hero .hero-lede { margin:0 0 32px; }
.hero .eyebrow-light { margin:0 0 16px; }
.hero-actions { gap:14px; }
.activity-card-photo.wp-block-cover { padding:0; }
.activity-card-photo::after { display:none; }
.activity-card-photo .wp-block-cover__inner-container { width:100%; }
.activity-card-photo .wp-block-cover__background { background:linear-gradient(0deg,rgba(9,31,23,.9),transparent 75%); }
.image-frame-tall .wp-block-image img { width:100%; height:auto; }
.image-frame .image-tag { margin:0; }
.main-nav .wp-block-navigation__container { gap:26px; }
.main-nav .wp-block-navigation-item__content { color:inherit; }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { padding:32px; background:var(--paper); color:var(--ink); }
.site-header .wp-block-buttons { flex-shrink:0; }
.admin-bar .site-header { top:32px; }
.entry-content { margin:0; }
.pde-simple { padding:80px 20px; max-width:1180px; margin:auto; }
@media(max-width:1040px){ .main-nav .wp-block-navigation__container { gap:16px; } }
@media(max-width:820px){
 .main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display:none; }
 .main-nav .wp-block-navigation__responsive-container-open { display:flex; }
 .main-nav { margin-left:auto; flex:0 0 auto; }
 .header-inner { gap:14px; }
 .hero .hero-content { padding-top:130px; padding-bottom:78px; }
 .hero.wp-block-cover { min-height:670px!important; }
 .hero .wp-block-cover__background { background:linear-gradient(90deg,rgba(8,34,25,.88),rgba(8,34,25,.45)); }
}
@media(max-width:600px){
 .brand img { width:150px; }
 .hero .hero-content { padding-top:100px; }
 .hero h1 { font-size:clamp(3.3rem,14vw,4.8rem); }
 .hero.wp-block-cover { min-height:700px!important; }
 .hero .wp-block-cover__background { background:linear-gradient(90deg,rgba(8,34,25,.92),rgba(8,34,25,.5)); }
 .hero-actions .wp-block-button, .hero-actions .wp-block-button__link { width:100%; }
 .wp-block-group p.pillar-number { margin-bottom:34px; }
 .activity-card-photo.wp-block-cover { min-height:480px!important; }
 .wp-block-button.button-small > .wp-block-button__link { padding:0 16px; font-size:.88rem; }
}
/* Keep editor controls usable while retaining section styling. */
.editor-styles-wrapper .site-header { position:relative; top:0; }
.activity-card-photo.wp-block-cover { justify-content:flex-end; }
.site-header:has(.is-menu-open) { backdrop-filter:none; }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { position:fixed; inset:0; min-height:100dvh; width:100vw; z-index:100000; }
.image-frame-tall .wp-block-image img { height:620px; object-fit:cover; }
@media(max-width:820px) { .image-frame-tall .wp-block-image img { height:520px; } }

.plan-card .wp-block-button, .plan-card .wp-block-button__link { width:100%; }

