:root {
  color-scheme: light;
  --navy: #245c45;
  --navy-2: #347657;
  --blue: #377c58;
  --green: #74b58e;
  --yellow: #f1bb32;
  --red: #d9414b;
  --ink: #18342a;
  --muted: #5d7167;
  --line: #d9e9df;
  --soft: #f0f8f3;
  --mint: #e2f2e7;
  --sage: #a8d2b7;
  --white: #ffffff;
  --on-dark: #ffffff;
  --shadow: 0 18px 50px rgba(36, 92, 69, 0.12);
  --radius: 8px;
  --shell: 1180px;
  --header-height: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
.scroll-progress { position: fixed; z-index: 10001; top: 0; left: 0; width: 100%; height: 3px; background: #80c39a; transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; pointer-events: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 760; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: 64px; }
h2 { margin-bottom: 24px; font-size: 44px; }
h3 { margin-bottom: 12px; font-size: 23px; }
p { margin-bottom: 20px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
::selection { background: var(--sage); color: #123325; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 10000; top: 12px; left: 12px;
  padding: 12px 16px; background: var(--white); color: var(--navy);
  border-radius: var(--radius); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.eyebrow {
  margin-bottom: 14px; color: var(--blue); font-size: 13px; font-weight: 800;
  line-height: 1.4; text-transform: uppercase; letter-spacing: 0;
}
.eyebrow--light { color: #f8cf66; }
.lead { color: #39584a; font-size: 21px; line-height: 1.55; }
.section { padding: 112px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section-heading {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 64px; align-items: end; margin-bottom: 52px;
}
.section-heading h2 { max-width: 720px; margin-bottom: 0; }
.section-heading > p { max-width: 500px; margin-bottom: 6px; color: var(--muted); }
.section-heading--light > p { color: #d8ebdf; }

.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--radius);
  background: var(--blue); color: var(--on-dark); font-size: 15px; font-weight: 760;
  line-height: 1.2; text-align: center; text-decoration: none;
  box-shadow: 0 8px 22px rgba(36, 92, 69, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { background: #2e6b4b; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(36, 92, 69, 0.24); }
.button--small { min-height: 42px; padding: 10px 16px; font-size: 14px; }
.button--warm { background: #cdebd7; color: #163c2c; box-shadow: 0 9px 26px rgba(94, 154, 116, 0.28); }
.button--warm:hover { background: #e4f5e9; }
.button--ghost { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); box-shadow: none; backdrop-filter: blur(10px); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.17); }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--blue); font-weight: 750; text-decoration: none; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent; transition: box-shadow 180ms ease, border-color 180ms ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(36, 92, 69, 0.1); }
.admin-bar .site-header { top: 32px; }
.topbar { background: var(--navy); color: #dceee3; font-size: 12px; }
.topbar__inner { min-height: 31px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar a { color: var(--on-dark); font-weight: 700; text-decoration: none; }
.header-main { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand { order: 1; }
.brand img, .brand .custom-logo { width: 70px; height: 70px; object-fit: contain; }
.brand .custom-logo-link { display: block; }
.brand > span { display: grid; line-height: 1.15; }
.brand strong { font-size: 22px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 700; }
.site-nav { order: 2; display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { position: relative; color: #29463a; font-size: 14px; font-weight: 680; text-decoration: none; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right 180ms ease; }
.site-nav__list a:hover::after { right: 0; }
.theme-toggle { order: 3; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--soft); color: var(--navy); cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.theme-toggle:hover { background: var(--mint); transform: translateY(-2px); }
.theme-toggle svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__moon { display: block; }
.menu-toggle { order: 4; display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--navy); }
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 180ms ease; }
.menu-toggle__lines { position: relative; margin: auto; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle__lines::before { top: -6px; }
.menu-toggle__lines::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { top: 0; transform: rotate(-45deg); }

.hero { position: relative; min-height: calc(100svh - 125px); display: flex; align-items: center; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.hero__media, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { object-fit: cover; object-position: center; transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.045); will-change: transform; }
.hero__shade { background: linear-gradient(90deg, rgba(48, 126, 86, 0.82) 0%, rgba(48, 126, 86, 0.70) 38%, rgba(63, 143, 98, 0.42) 58%, rgba(92, 164, 119, 0.08) 82%); }
.hero__content { position: relative; z-index: 2; padding-block: 90px 120px; }
.hero h1 { max-width: 620px; margin-bottom: 24px; color: var(--on-dark) !important; font-size: 54px; text-wrap: balance; text-shadow: 0 2px 18px rgba(7, 41, 28, 0.28); }
.hero__lead { max-width: 620px; margin-bottom: 34px; color: #eef8f1; font-size: 20px; line-height: 1.55; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 24px; display: flex; gap: 12px; align-items: center; transform: translateX(-50%); color: var(--on-dark) !important; font-size: 12px; font-weight: 740; text-decoration: none; }
.hero__scroll span { font-size: 20px; }

.facts { position: relative; z-index: 3; margin-top: -1px; background: var(--white); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__grid > div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 24px 30px; border-right: 1px solid var(--line); }
.facts__grid > div:first-child { border-left: 1px solid var(--line); }
.facts strong { color: var(--navy); font-size: 21px; line-height: 1.25; }
.facts span { margin-top: 5px; color: var(--muted); font-size: 13px; }

.values-marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--mint); color: var(--navy); }
.values-marquee > div { display: flex; width: max-content; align-items: center; gap: 28px; padding: 15px 0; animation: values-flow 28s linear infinite; }
.values-marquee span { font-size: 13px; font-weight: 780; text-transform: uppercase; }
.values-marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@keyframes values-flow { to { transform: translateX(-38%); } }

.story__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 84px; align-items: center; }
.story__copy h2 { max-width: 590px; }
.story__copy > p:not(.eyebrow) { color: var(--muted); }
.story__copy .lead { color: #39584a; }
.story__image { position: relative; margin: 0; }
.story__image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.story__image::before { content: ""; position: absolute; z-index: -1; top: -18px; right: -18px; width: 46%; height: 52%; border-radius: var(--radius); background: var(--sage); }
.story__image figcaption { position: absolute; right: 18px; bottom: 18px; width: min(330px, calc(100% - 36px)); padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius); background: rgba(255, 255, 255, 0.91); color: var(--ink); font-size: 13px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.story__image figcaption strong { display: block; color: var(--navy); font-size: 17px; }

.editorial { background: #e8f5ec; }
.editorial__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 78px; align-items: center; }
.editorial__image { margin: 0; perspective: 900px; }
.editorial__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 10px solid rgba(255, 255, 255, 0.72); border-radius: var(--radius); box-shadow: 0 24px 70px rgba(36, 92, 69, 0.18); transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transition: transform 180ms ease; }
.editorial__copy .lead { color: #39584a; }
.editorial__pillars { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid rgba(36, 92, 69, 0.2); }
.editorial__pillars > div { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(36, 92, 69, 0.2); }
.editorial__pillars strong { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.7); color: var(--navy); font-size: 11px; }
.editorial__pillars span { color: #2e5543; font-weight: 720; }

.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.activity-card { position: relative; min-height: 252px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.activity-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 240ms ease; }
.activity-card:hover::before { transform: scaleX(1); }
.activity-card:hover { transform: translateY(-5px); border-color: #a8d2b7; box-shadow: var(--shadow); }
.activity-card > span { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 30px; border-radius: 50%; background: var(--mint); color: var(--navy); font-size: 12px; font-weight: 800; }
.activity-card:nth-child(2) > span, .activity-card:nth-child(5) > span { background: #d7eee0; color: #316b4d; }
.activity-card:nth-child(3) > span, .activity-card:nth-child(6) > span { background: #edf7f0; color: #497a60; }
.activity-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.gallery-section { overflow: hidden; padding-bottom: 80px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(370px, 78vw); gap: 16px; overflow-x: auto; padding: 0 max(24px, calc((100vw - var(--shell)) / 2)) 32px; scroll-snap-type: x mandatory; scrollbar-color: var(--blue) var(--soft); }
.gallery figure { position: relative; height: 500px; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--soft); scroll-snap-align: start; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 16px; bottom: 16px; padding: 9px 13px; border-radius: 5px; background: rgba(24, 74, 55, 0.9); color: var(--on-dark); font-size: 13px; font-weight: 720; backdrop-filter: blur(8px); }

.team { border-top: 1px solid var(--line); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: center; }
.team__image { margin: 0; }
.team__image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.team p:not(.eyebrow) { color: var(--muted); }
.team .lead { color: #39584a; }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; color: #39584a; font-weight: 650; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border: 5px solid #eaf3dd; border-radius: 50%; background: var(--green); }
.team__social { display: grid; gap: 10px; margin-top: 28px; }

.process { overflow: hidden; }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 0 38px; padding: 0; list-style: none; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; }
.process__steps li { display: flex; gap: 18px; min-height: 190px; padding: 30px; background: var(--navy); }
.process__steps span { flex: 0 0 auto; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; color: var(--yellow); font-weight: 800; }
.process__steps h3 { margin: 7px 0 9px; color: var(--on-dark); font-size: 19px; }
.process__steps p { margin: 0; color: #d4eadc; font-size: 14px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 180ms ease, box-shadow 180ms ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__image { display: block; overflow: hidden; text-decoration: none; }
.post-card__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 400ms ease; }
.post-card:hover .post-card__image img { transform: scale(1.03); }
.post-card > div { padding: 26px; }
.post-card time { color: var(--blue); font-size: 12px; font-weight: 760; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin: 10px 0 12px; font-size: 22px; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }
.post-card--empty { min-height: 310px; grid-column: span 1; display: flex; align-items: end; background: var(--soft); }

.faq { background: #f8fcf9; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 0.74fr 1.26fr; gap: 90px; }
.faq__grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.faq__items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 23px 46px 23px 0; color: var(--navy); font-weight: 740; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 10px; top: 20px; color: var(--blue); font-size: 23px; font-weight: 400; }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 50px 22px 0; margin: 0; color: var(--muted); font-size: 15px; }

.location { border-top: 1px solid var(--line); background: var(--soft); }
.location__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 72px; align-items: center; }
.location__copy .lead { color: #39584a; }
.location__copy address { max-width: 480px; margin: 0 0 28px; color: var(--muted); font-style: normal; }
.location__map { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.location__map iframe { display: block; width: 100%; height: 480px; border: 0; }

.final-cta { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; color: var(--on-dark); }
.final-cta > img, .final-cta__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-cta > img { object-fit: cover; }
.final-cta__shade { background: linear-gradient(90deg, rgba(12, 54, 39, 0.95), rgba(19, 74, 53, 0.68) 60%, rgba(19, 74, 53, 0.2)); }
.final-cta__content { position: relative; z-index: 2; }
.final-cta h2 { max-width: 700px; color: var(--on-dark) !important; font-size: 54px; }
.final-cta p:not(.eyebrow) { max-width: 620px; color: #e8f5ec; font-size: 20px; }

.site-footer { padding-top: 72px; background: #153d2e; color: #dceee3; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(150px, 0.7fr); gap: 56px; padding-bottom: 54px; }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand__logo { flex: 0 0 104px; display: grid; width: 104px; height: 104px; place-items: center; overflow: visible; }
.footer-brand__logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand strong { color: var(--on-dark); font-size: 24px; }
.footer-brand p { max-width: 310px; margin: 4px 0 0; color: #bed8c8; font-size: 14px; }
.site-footer h2 { margin-bottom: 16px; color: var(--on-dark); font-size: 15px; }
.site-footer address { overflow-wrap: anywhere; color: #bed8c8; font-size: 14px; font-style: normal; line-height: 1.9; }
.site-footer a { color: #eef8f1; }
.footer-links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.social-link { display: inline-flex; width: fit-content; align-items: center; gap: 10px; font-weight: 680; text-decoration: none; }
.social-link__icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; background: rgba(255, 255, 255, 0.06); transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.social-link__icon svg { width: 21px; height: 21px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-link__dot { fill: currentColor; stroke: none; }
.social-link--youtube .social-link__icon svg { fill: currentColor; stroke: none; }
.social-link--youtube .social-link__play { fill: #153d2e; }
.social-link:hover .social-link__icon { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.social-link--instagram:hover .social-link__icon { color: #f5a3c7; }
.social-link--youtube:hover .social-link__icon { color: #ff6b6b; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255, 255, 255, 0.13); color: #a9cbb5; font-size: 12px; }
.whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; place-items: center; border: 3px solid var(--on-dark); border-radius: 50%; background: #168c4b; color: var(--on-dark); box-shadow: 0 10px 30px rgba(15, 30, 60, 0.25); transition: transform 180ms ease; }
.whatsapp-float:hover { transform: translateY(-4px); }
.whatsapp-float svg { width: 27px; fill: currentColor; }

.content-main { min-height: 60vh; padding: 90px 0 120px; }
.content-layout { display: grid; gap: 42px; }
.archive-heading { max-width: 800px; margin-bottom: 20px; }
.archive-heading h1, .prose h1 { color: var(--navy); font-size: 52px; }
.prose { max-width: 800px; }
.prose header { margin-bottom: 44px; }
.prose header time { color: var(--muted); font-size: 14px; }
.prose__hero { width: min(1100px, calc(100vw - 48px)); margin: 0 50% 50px; transform: translateX(-50%); }
.prose__hero img { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--radius); }
.prose > p, .prose > ul, .prose > ol { color: #364258; }
.prose a { color: var(--blue); }
.prose blockquote { margin: 34px 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--yellow); color: var(--navy); font-size: 21px; }
.empty-state { max-width: 760px; padding-block: 60px; }
.empty-state h1 { color: var(--navy); font-size: 52px; }
.search-form { display: flex; max-width: 680px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius) 0 0 var(--radius); background: var(--white); color: var(--ink); }
.search-submit { min-height: 52px; padding: 12px 20px; border: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--blue); color: var(--on-dark); font-weight: 700; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; }
.page-numbers.current { background: var(--blue); color: var(--on-dark); border-color: var(--blue); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms ease var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  h1 { font-size: 52px; }
  .hero h1 { font-size: 52px; }
  h2 { font-size: 39px; }
  .site-nav__list { gap: 16px; }
  .site-nav { gap: 18px; }
  .story__grid, .team__grid { gap: 50px; }
  .facts__grid > div { padding-inline: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .topbar { display: none; }
  .header-main { min-height: 76px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; z-index: 999; top: 76px; right: 0; bottom: 0; width: min(390px, 92vw); display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; padding: 32px 24px; background: var(--white); box-shadow: -16px 20px 40px rgba(16, 36, 82, 0.16); transform: translateX(105%); visibility: hidden; transition: transform 220ms ease, visibility 220ms ease; }
  .admin-bar .site-nav { top: 122px; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav__list { display: grid; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a { display: block; padding: 15px 4px; font-size: 17px; }
  .site-nav__list a::after { display: none; }
  .hero { min-height: 720px; }
  .hero__shade { background: linear-gradient(90deg, rgba(48, 126, 86, 0.84), rgba(63, 143, 98, 0.48)); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__grid > div { border-bottom: 1px solid var(--line); }
  .story__grid, .team__grid, .faq__grid, .location__grid { grid-template-columns: 1fr; gap: 54px; }
  .editorial__grid { grid-template-columns: 1fr; gap: 46px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .activity-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: 1fr; }
  .process__steps li { min-height: auto; }
  .location__map iframe { height: 420px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 82px; }
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  h1 { font-size: 42px; }
  .hero h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .section { padding: 80px 0; }
  .header-main { gap: 10px; }
  .brand img, .brand .custom-logo { width: 58px; height: 58px; }
  .brand strong { font-size: 18px; }
  .site-nav { width: 100%; }
  .hero { min-height: 690px; }
  .hero__media { object-position: 58% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(42, 116, 78, 0.88), rgba(63, 143, 98, 0.56)); }
  .hero__content { padding-block: 80px 100px; }
  .hero__lead { font-size: 18px; }
  .hero__actions { display: grid; }
  .hero__actions .button { width: 100%; }
  .hero__scroll { display: none; }
  .values-marquee > div { gap: 20px; animation-duration: 22s; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__grid > div { min-height: 104px; padding: 18px 12px; text-align: center; }
  .facts strong { font-size: 17px; }
  .facts span { font-size: 11px; }
  .story__image::before { display: none; }
  .editorial__image img { border-width: 6px; }
  .story__image figcaption { position: static; width: 100%; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: none; }
  .story__image img { border-radius: var(--radius) var(--radius) 0 0; }
  .activity-grid, .post-grid { grid-template-columns: 1fr; }
  .activity-card { min-height: 220px; }
  .gallery { grid-auto-columns: 80vw; padding-inline: 16px; }
  .gallery figure { height: 430px; }
  .final-cta { min-height: 650px; }
  .final-cta h2 { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-brand__logo { flex-basis: 88px; width: 88px; height: 88px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .archive-heading h1, .prose h1, .empty-state h1 { font-size: 40px; }
}

@media (max-width: 380px) {
  .brand { gap: 7px; }
  .brand small { display: none; }
  .brand strong { font-size: 17px; }
  .theme-toggle { width: 40px; height: 40px; }
  .menu-toggle { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --white: #10251c;
  --ink: #edf7f0;
  --muted: #b8cec0;
  --line: #2c5542;
  --soft: #142d22;
  --mint: #193a2b;
  --sage: #4f8866;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
html[data-theme="dark"] body { background: var(--white); }
html[data-theme="dark"] .site-header { background: rgba(16, 37, 28, 0.96); }
html[data-theme="dark"] .brand { color: #f3f6fc; }
html[data-theme="dark"] .brand small,
html[data-theme="dark"] .site-nav__list a { color: #c7dfcf; }
html[data-theme="dark"] .lead,
html[data-theme="dark"] .story__copy .lead,
html[data-theme="dark"] .team .lead,
html[data-theme="dark"] .check-list li,
html[data-theme="dark"] .editorial__copy .lead { color: #d3e8da; }
html[data-theme="dark"] .story__image figcaption { background: rgba(16, 37, 28, 0.92); color: #deeee3; }
html[data-theme="dark"] .story__image figcaption strong,
html[data-theme="dark"] .facts strong,
html[data-theme="dark"] .faq summary,
html[data-theme="dark"] .archive-heading h1,
html[data-theme="dark"] .prose h1,
html[data-theme="dark"] .empty-state h1 { color: #f1f5ff; }
html[data-theme="dark"] .faq { background: #11291f; }
html[data-theme="dark"] .story__copy > p:not(.eyebrow),
html[data-theme="dark"] .team p:not(.eyebrow),
html[data-theme="dark"] .prose > p,
html[data-theme="dark"] .prose > ul,
html[data-theme="dark"] .prose > ol { color: #bdc8db; }
html[data-theme="dark"] .activity-card,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .facts,
html[data-theme="dark"] .search-field { background: #132d22; }
html[data-theme="dark"] .activity-card > span { background: #214a37; color: #d9eee0; }
html[data-theme="dark"] .editorial { background: #153226; }
html[data-theme="dark"] .editorial__pillars span { color: #d4eadb; }
html[data-theme="dark"] .editorial__pillars strong { background: #204735; color: #e2f3e8; }
html[data-theme="dark"] .button--warm { color: #17203a; }
