/* Alemán Por Derecho local experiment: page sections. Breakpoints: 1440 (min), 991, 767, 479 */

/* ---------- 1. hero ---------- */
.hero { position: relative; color: var(--obsidian); }
.hero__pad { position: relative; z-index: 1; padding: 0 1.25rem; }
.hero__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* banner + nav + hero fill exactly one screen on desktop */
  height: calc(100svh - var(--header-bottom) - 1.25rem);
  min-height: 28rem; /* short windows: keep the bottom gap before the content needs more room */
  border-radius: var(--r-14);
}
.hero__bg {
  position: absolute;
  inset: 0;
  border-radius: var(--r-14);
  overflow: hidden;
  pointer-events: none;
  /* flat juniper, no glows. The live SVG grain was the measured LCP cause (5.18 s render delay) */
  background-color: var(--white);
}
.ph-label {
  position: absolute;
  left: 12px; bottom: 10px;
  z-index: 2;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(25, 31, 29, 0.7);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding: 2rem 0; }
.hero__inner .gutter { padding-left: 1.25rem; padding-right: 1.25rem; }
.hero__logo {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  z-index: 2;
  width: auto;
  height: 10rem;
  pointer-events: none;
}
@media (max-width: 60rem) {
  .hero__logo { display: none; } /* en el telefono el titulo ocupa la esquina */
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 2.5rem;
  max-width: 87.5rem;
  margin: 0 auto;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  text-align: left;
}
.hero .t-h1 {
  font-size: clamp(2.75rem, 4.86vw, 5rem);
  line-height: 1.06;
  text-wrap: balance;
}
.hero__lead { max-width: 34rem; text-align: left; color: rgba(25, 31, 29, 0.86); font-size: 1.125rem; line-height: 1.45; text-wrap: pretty; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-top: 0.25rem; }
.hero__micro { font-size: 1rem; line-height: 1.4; color: rgba(25, 31, 29, 0.72); }
.hero__link {
  display: inline-flex; align-items: center; min-height: 3rem; margin-top: 0.25rem;
  color: var(--obsidian); font-size: 1.125rem; font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; width: 100%; max-width: 36rem; }
.hero__fact { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-size: 0.9375rem; line-height: 1.25; color: rgba(25, 31, 29, 0.8); white-space: nowrap; }
.hero__fact-ico { flex: none; width: 1.5rem; height: 1.5rem; color: var(--marigold-500); }
a.hero__fact { text-decoration: underline; text-decoration-color: rgba(25, 31, 29, 0.35); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a.hero__fact:hover { text-decoration-color: var(--obsidian); }
@media screen and (min-width: 992px) { .hero__fact { font-size: 1rem; } }
@media screen and (max-width: 400px) { .hero__facts { gap: 0 1rem; } .hero__fact { white-space: normal; } }
.hero .hero__copy { gap: 1.5rem; }
@media screen and (min-width: 992px) {
  .hero .t-h1 { max-width: 9.5em; }
  .hero__lead { font-size: 1.375rem; }
}
@media screen and (min-width: 992px) and (max-height: 820px) {
  .hero__inner { padding: 1.5rem 0; }
  .hero .hero__copy { gap: 1rem; }
}
.hero__passport {
  position: relative;
  justify-self: center;
  width: min(100%, 40rem, calc(100svh - var(--header-bottom) - 5rem));
  aspect-ratio: 1 / 1;
}
.hero__arbol {
  position: absolute;
  top: 54%;
  left: 50%;
  translate: -50% -50%;
  z-index: 0;
  width: auto;
  height: 76%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.hero__passport-poster, .hero__passport-canvas { z-index: 1; }
.hero__passport-poster, .hero__passport-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.hero__passport-canvas { opacity: 0; transition: opacity 0.7s ease; }
.hero__passport.is-live .hero__passport-canvas { opacity: 1; }
.hero__passport.is-settled .hero__passport-poster { visibility: hidden; }

/* ---------- 2. audience cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }

/* ---------- 3. marquee ---------- */
/* constant one-direction carousel: the group is written twice, the track slides -50% (one group) and loops, so the seam is invisible.
   --marquee-duration is set from the measured group width in motion.js (about 50px/s); 190s is the no-JS fallback. */
.marquee {
  background: var(--oat-50);
  border-top: 1px solid var(--oat-300);
  border-bottom: 1px solid var(--oat-300);
  overflow: hidden;
}
.marquee .pad-y-100 { padding-top: 3rem; padding-bottom: 2.25rem; }
.marquee__view { position: relative; display: block; overflow: hidden; }
.marquee__track {
  display: flex;
  flex: none;
  width: max-content;
  flex-wrap: nowrap;
  align-items: flex-start;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-slide var(--marquee-duration, 190s) linear infinite;
}
.marquee__view:hover .marquee__track, .marquee__view:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.marquee__group { display: flex; flex: none; gap: 4.5rem; padding-right: 4.5rem; }
.marquee__logo {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}
.marquee__shield { display: block; height: 72px; width: 68px; object-fit: contain; }
.marquee__name {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--obsidian);
}
.marquee__caption {
  margin: 2rem auto 0;
  padding: 0 1.25rem;
  max-width: 60rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(25, 31, 29, 0.72);
}
@media screen and (max-width: 767px) {
  .marquee .pad-y-100 { padding-top: 2rem; padding-bottom: 1.5rem; }
  .marquee__group { gap: 2.5rem; padding-right: 2.5rem; }
  .marquee__logo { gap: 0.5rem; }
  .marquee__shield { height: 58px; width: 54px; }
  .marquee__name { font-size: 20px; }
  .marquee__caption { margin-top: 1.25rem; font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  /* static row: first group only, scrollable sideways, no animation */
  .marquee__view { overflow-x: auto; }
  .marquee__track { animation: none; transform: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ---------- 4. big number band ---------- */
.impact__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}
.impact__figure { display: flex; flex-direction: column; }
.impact__lead { max-width: 38.125rem; }

/* ---------- 5 + 8. split blocks with sticky slides ---------- */
/* panel = visible screen under the header, same rule as the hero: 100svh minus --header-bottom, 20px bottom gap */
.split { --panel-top: var(--header-bottom); --panel-h: calc(100vh - var(--header-bottom) - 1.25rem); --panel-h: calc(100svh - var(--header-bottom) - 1.25rem); }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 0; }
.split__media {
  position: sticky;
  top: var(--panel-top);
  height: var(--panel-h);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: var(--r-14);
  overflow: hidden;
}
/* the sticky media holds one picture per step, stacked; the one for the step in the middle of the screen is shown (js/motion.js sets .is-active) */
/* base picture rule for every split; the stacked crossfade below is for the two home stacks only */
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--stack .split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; }
.split--stack .split__media img.is-active { opacity: 1; }
.split__step-img { display: none; }
.split__scroll { position: relative; }
.split__slides { position: relative; }
/* desktop: the steps are plain blocks that scroll; each is about one screen tall so the picture has time to be read */
.split__slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--panel-h);
  /* scale with the panel height (100svh minus header): full 5rem / 2.5rem from about 900px tall, tighter on laptops */
  padding: clamp(1.25rem, 5vh, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(1.25rem, 5vh, 5rem) clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.25rem, 5svh, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(1.25rem, 5svh, 5rem) clamp(1.5rem, 5vw, 5rem);
  gap: clamp(1rem, 4.4svh, 2.5rem);
}
.slide__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 4.4svh, 2.5rem);
  width: 100%;
  max-width: 33.75rem;
}
.slide__content--556 { max-width: 34.75rem; }
/* slide headings follow the panel height: 4.25rem from about 900px tall, down to 2.25rem on short laptop screens */
@media screen and (min-width: 992px) {
  .split__slide .t-h3 { font-size: clamp(2.25rem, calc(9.6vh - 1.15rem), 4.25rem); font-size: clamp(2.25rem, calc(9.6svh - 1.15rem), 4.25rem); line-height: 1; }
}
@media screen and (min-width: 992px) and (max-height: 800px) {
  .split__slide { padding-top: 1rem; padding-bottom: 1rem; gap: 1rem; }
  .slide__content, .info-list { gap: 1.25rem; }
  .stack-20, .info-item { gap: 0.75rem; }
  .fam-list { gap: 0.875rem; }
}
@media screen and (min-width: 992px) and (max-height: 700px) {
  .split__slide .t-h3 { font-size: 2rem; }
  .slide__content, .info-list { gap: 1rem; }
  .info-item__icon { width: 2.5rem; height: 2.5rem; }
}
.stack-20 { display: flex; flex-direction: column; gap: 1.25rem; }
.info-list { display: flex; flex-direction: column; gap: clamp(1.25rem, 4.4svh, 2.5rem); }
.info-item { display: flex; flex-direction: column; gap: 1.25rem; max-width: 30rem; }
.info-item__head { display: flex; align-items: center; gap: 1.25rem; overflow: hidden; }
.info-item__icon { flex: none; width: 3rem; height: 3rem; align-self: flex-end; }
.chips { display: flex; gap: 3.75rem; }
.chips__col { display: flex; flex-direction: column; }
.chip-link {
  display: flex;
  padding: 0.3125rem 0 0.3125rem 1.25rem;
  border-left: 1px solid var(--oat-300);
  transition: color 0.3s;
}
.chip-link:hover { color: var(--marigold-800); }
.fam-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; width: 100%; }
.fam-item { display: flex; align-items: center; gap: 1.25rem; }
.fam-item__icon { flex: none; width: 1.5rem; height: 1.5rem; }
.fam-cols { display: flex; gap: 3.75rem; }
.fam-col { display: flex; flex-direction: column; gap: 1.25rem; }
.fam-btns { display: flex; align-items: center; gap: 1.25rem; }

/* ---------- 6 + 9. testimonials ---------- */
.quote {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  overflow: hidden;
  background: var(--oat-50);
  color: var(--obsidian);
}
.quote--light { background: var(--juniper-50); color: var(--obsidian); }
.quote__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.quote__bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 46px),
    repeating-radial-gradient(circle at 78% 70%, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 58px);
  animation: quote-drift 40s linear infinite alternate;
}
@keyframes quote-drift { from { transform: translate3d(-2%, -1%, 0); } to { transform: translate3d(2%, 2%, 0); } }
.quote__inner { position: relative; z-index: 1; width: 100%; }
.quote__stack { display: flex; flex-direction: column; gap: 3.75rem; }
.quote__slider { position: relative; }
.quote__slider .swiper { overflow: hidden; }
.quote .swiper-slide { display: flex; }
.quote__slide { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 2.5rem; width: 100%; }
.quote__top { display: flex; flex-direction: column; gap: 2.5rem; }
.quote__logo {
  display: flex;
  align-items: center;
  max-width: 8.25rem;
  height: 3.125rem;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--obsidian);
}
.quote__profile { border-left: 1px solid rgba(25, 31, 29, 0.2); padding-left: 1.25rem; }
.quote--light .quote__profile { border-left-color: rgba(25, 31, 29, 0.2); }
.quote--light .quote__logo { color: var(--obsidian); } /* the label was white on the light green band (contrast 1.1) */
.quote__name { font-weight: 700; }
.quote__role { min-height: 1.5rem; }
.quote__arrows { position: absolute; right: 0; bottom: 0; z-index: 5; }
.quote--light .swiper-prev, .quote--light .swiper-next { background: var(--white); }
.quote--light .swiper-prev.swiper-button-disabled, .quote--light .swiper-next.swiper-button-disabled { background: var(--juniper-5); pointer-events: none; cursor: not-allowed; }
.quote--light .swiper-prev:hover, .quote--light .swiper-next:hover { background: var(--white-40); }

/* a picture for every quote slide: framed beside the quote on desktop, above it on phones */
.quote__photo { margin: 0; overflow: hidden; border-radius: var(--r-14); background: var(--oat-100); }
.quote__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media screen and (min-width: 992px) {
  .quote__slide { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 4.5rem); row-gap: 0; align-items: center; }
  .quote__photo { grid-column: 1; grid-row: 1 / span 2; width: clamp(11rem, 30svh, 18rem); aspect-ratio: 4 / 5; }
  .quote__top { grid-column: 2; grid-row: 1; align-self: end; }
  .quote__profile { grid-column: 2; grid-row: 2; align-self: start; margin-top: 2.5rem; }
}
@media screen and (max-width: 991px) { .quote__photo { width: 100%; max-width: 24rem; aspect-ratio: 3 / 2; } }

/* ---------- 7 + 10. cta bands ---------- */
.band { background: var(--sky-light); color: var(--obsidian); }
.band--warm { background: var(--marigold-500); }
.band__row { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 1.5rem 1.25rem; text-align: center; }
.band__rule { flex: 1; height: 1px; background: var(--obsidian); }

/* ---------- 11. faq ---------- */
.faq__stack { display: flex; flex-direction: column; gap: 2.5rem; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; margin: 0 0 2rem; }
.section-head--center { align-items: center; text-align: center; }
.faq__group { display: flex; flex-direction: column; gap: 1px; border-radius: var(--r-14); overflow: hidden; }
.faq__item { background: var(--sky-40); padding-bottom: 0.625rem; transition: background-color 0.3s; }
.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.875rem 1.875rem 1.25rem;
  text-align: left;
  cursor: pointer;
}
.faq__q { padding-right: 1rem; }
.faq__plus { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 1.5625rem; height: 1.5625rem; }
.faq__bar { width: 0.875rem; height: 0.125rem; background: var(--obsidian); border-radius: 2px; }
.faq__bar--v { position: absolute; width: 0.125rem; height: 0.875rem; transition: transform 0.3s; }
.faq__item.is-open .faq__bar--v { transform: rotate(90deg); }
.faq__content { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.3s, visibility 0s linear 0.3s; }
.faq__item.is-open .faq__content { visibility: visible; transition: max-height 0.3s, visibility 0s; }
.faq__content-inner { display: flex; flex-direction: column; gap: 1.25rem; padding: 0 1.875rem 1.25rem; }
.faq__divider { width: 1.25rem; height: 1px; background: var(--obsidian); }
.faq__rtx p { margin-bottom: 0; }
.faq__rtx p + p { margin-top: 1.25rem; }
.faq__rtx a { text-decoration: underline; }
.faq__rtx a:hover { color: var(--marigold-500); }
.faq__buttons { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }

/* ---------- 12. resources ---------- */
.resources { overflow: hidden; color: var(--white); }
.resources__stack { display: flex; flex-direction: column; gap: 2.5rem; }
.resources .section-head { color: var(--obsidian); }
.resources__slider .swiper { overflow: visible; }
.resources__slider { color: var(--obsidian); }
.resources .swiper-slide { width: 100%; max-width: 28.375rem; min-width: 28.32rem; }
.res-card { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 36.5rem; }
.resources__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; }

/* ---------- 13. stats ---------- */
.stats { background: var(--marigold-500); color: var(--obsidian); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  height: 16.125rem;
  border-right: 1px solid var(--obsidian);
  text-align: center;
}
.stat--last { border-right-style: none; }
.stat__icon { height: 2.875rem; width: 2.875rem; display: flex; align-items: center; justify-content: center; }
.stat__icon svg { width: 46px; height: 46px; }
.stat__copy { display: flex; flex-direction: column; gap: 0.5rem; }
.stat__label { font-size: 0.875rem; line-height: 1.5; text-transform: uppercase; }

/* ---------- 14. footer ---------- */
.site-footer { background: var(--obsidian); color: var(--oat-100); }
.fcol { display: flex; flex-direction: column; gap: 1.75rem; }
.fcol__head {
  font-size: 0.75rem;
  line-height: 1.28;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--oat-300);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.fcol__arrow { display: none; width: 20px; height: 12px; transition: transform 0.3s; color: var(--oat-100); }
.fcol__body { }
.fcol__list { display: flex; flex-direction: column; gap: 1.125rem; padding-left: 1rem; border-left: 1px solid var(--obsidian-light); }
.fcol__list a { padding: 3.5px 0; margin: -3.5px 0; font-size: 0.875rem; line-height: 1.28; color: var(--oat-100); transition: color 0.2s; } /* 24px tap target, layout neutral */
.fcol__list a:hover { color: var(--white); }

/* ====================== breakpoints ====================== */
@media screen and (min-width: 1440px) {
  .photo-card__body { gap: 0.6rem; }
}

@media screen and (max-width: 991px) {
  .hero__inner { padding: 2.5rem 0 2rem; }
  /* phones and tablets: the copy's children join the grid so the 9rem poster sits between the link and the facts */
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
  .hero__copy { display: contents; }
  .hero .t-h1 { order: 1; font-size: clamp(2.25rem, 10.5vw, 3.75rem); }
  .hero__lead { order: 2; }
  .hero__cta { order: 3; align-items: stretch; margin-top: 0.25rem; }
  .hero__passport { order: 4; align-self: center; width: 9rem; }
  .hero__facts { order: 5; max-width: none; }
  .hero__link { justify-content: center; }
  .hero__grid > * { min-width: 0; }
  .hero__box { height: auto; min-height: calc(100svh - var(--header-bottom) - 1.25rem); }
  .cards { grid-template-columns: 1fr; }
  .split__grid { grid-template-columns: 1fr; }
  /* no sticky: each step carries its own picture, picture first, then the text */
  .split--stack .split__media { display: none; }
  .split__step-img { display: block; width: 100%; max-width: 640px; margin: 0 auto; overflow: hidden; border-radius: var(--r-14); }
  #teams .split__step-img { aspect-ratio: 335 / 334; }
  #households .split__step-img { aspect-ratio: 335 / 395; }
  .split__step-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .split__slide { min-height: auto; padding: 4rem 2rem; }
  .chips { flex-direction: column; gap: 0; }
  .fam-list { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .fam-cols { flex-direction: column; gap: 1.15rem; }
  .fam-btns { flex-direction: column; align-items: flex-start; }
  .quote { height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; } /* the cta band is inside the section now: stacked under the quote, as before */
  .quote__arrows { position: relative; right: auto; bottom: auto; margin-top: 2rem; }
  .stats { padding-left: 1.25rem; padding-right: 1.25rem; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 767px) {
  .btn__pad { padding: 0.5rem 1.25rem; }
  .btn--sm .btn__pad { padding: 3.5px 1.5rem; margin: -3.5px 0; }
  .impact__stack { gap: 2rem; align-items: stretch; }
  .impact__figure { gap: 1.25rem; }
  .pad-y-140 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .pad-y-80m { padding-top: 5rem; padding-bottom: 5rem; }
  .quote__stack { gap: 2.5rem; }
  .quote__name, .quote__role { line-height: 1.25rem; }
  .quote__role { min-height: 1.25rem; }
  .band__rule { display: none; }
  .section-head, .faq__stack { gap: 2rem; }
  .faq__trigger { padding: 1.25rem; }
  .faq__content-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .faq__divider { width: 100%; }
  .faq__plus { width: 1.5rem; height: 1.5rem; }
  .faq__buttons { }
  .split__slide { padding: 2rem 0; }
  .slide__content { gap: 2.5rem; }
  .fcol { gap: 0; border-bottom: 1px solid var(--obsidian-light); }
  .fcol__head { padding: 1.875rem 0; cursor: pointer; }
  .fcol__arrow { display: flex; }
  .fcol.is-open .fcol__arrow { transform: rotate(180deg); }
  .fcol__body { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.3s, visibility 0s linear 0.3s; }
  .fcol.is-open .fcol__body { visibility: visible; transition: max-height 0.3s, visibility 0s; }
  .fcol__list { border-left-style: none; padding-left: 0; padding-top: 3.5px; padding-bottom: 1.875rem; }
}

@media screen and (max-width: 479px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { height: 12.125rem; border-right-style: none; border-bottom: 1px solid var(--obsidian); }
  .stat--last { border-bottom-style: none; }
  .resources__controls { flex-direction: column; align-items: flex-start; gap: 2rem; margin-top: 2rem; }
  .resources__controls .btn-wrap { order: 1; }
  .resources .swiper-slide { min-width: 0; max-width: none; }
  .res-card { height: 25.25rem; }
  .resources__stack { gap: 2rem; }
  .resources__stack .section-head { margin-bottom: 2rem; }
  .btn-row--center { justify-content: center; align-items: flex-start; }
  .photo-card { height: 21.25rem; }
}

/* very small phones (below the source's 479 step; no effect at 375 and up, so the 375 reference heights hold): let CTA rows wrap instead of overflowing */
@media screen and (max-width: 374px) {
  .band__row, .faq__buttons { flex-wrap: wrap; }
  .btn { max-width: 100%; }
}

/* ---------- Spanish copy additions ---------- */
.announce__link { text-decoration: underline; margin-left: 0.25rem; }
.photo-card__link { font-size: 0.875rem; font-weight: 600; text-decoration: underline; }
.band__text { display: flex; flex-direction: column; gap: 0.5rem; text-align: center; }
.band__text p { margin: 0; }
.band__row .btn-row { flex: none; flex-wrap: nowrap; }
@media (max-width: 991px) { .band__row { flex-direction: column; } .band__rule { display: none; } .band__row .btn-row { flex-wrap: wrap; justify-content: center; max-width: 100%; } }
@media (max-width: 767px) { .faq__buttons { flex-direction: column; } }
.slide__content > .t-sh2 { align-self: flex-start; }
/* quote eyebrow line (was a 8.25rem logo box): let the Spanish label run on one line */
.quote__logo { max-width: none; height: auto; min-height: 2rem; font-size: 1.25rem; }
/* keep the long "reality" line clear of the carousel arrows */
.quote__profile { max-width: calc(100% - 8rem); }
@media (max-width: 991px) { .quote__profile { max-width: 100%; } }
.stat { padding-left: 1rem; padding-right: 1rem; }

@media (prefers-reduced-motion: reduce) {
}


/* ---------- mobile polish (2026-10-11, shell-home) ---------- */
@media screen and (max-width: 991px) {
  /* stacked split sections: designed cards, media first, copy on a calm measure */
  .split__grid { gap: 0; }
  .split__slides { max-width: 40rem; margin: 0 auto; }
  .split__slide { padding: 2rem 0 0; align-items: stretch; gap: 2rem; }
  .split__slide + .split__slide { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--oat-300); }
  .slide__content { max-width: none; gap: 2rem; }
  .split__scroll { padding-bottom: 0.5rem; }
  .info-item { max-width: none; }
  .quote__stack { max-width: 40rem; margin: 0 auto; }
  .impact__stack, .faq__stack, .resources__stack { max-width: 48rem; margin-left: auto; margin-right: auto; }
  .chip-link { min-height: 2.75rem; align-items: center; padding-top: 0; padding-bottom: 0; }
  .fcol__list a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; margin: 0; }
  .fcol__list { gap: 0; }
  .fcol__head { min-height: 2.75rem; }
}
@media screen and (max-width: 767px) {
  .hero__box { min-height: 0; }
  .hero__inner { padding: 2rem 0 1.5rem; }
  .faq__trigger { min-height: 3.5rem; }
  .faq__q { overflow-wrap: anywhere; }
  .stat { padding-top: 1rem; padding-bottom: 1rem; }
}
@media screen and (max-width: 479px) {
  .band__row .btn-row, .faq__buttons { flex-direction: column; align-items: stretch; width: 100%; gap: 0.75rem; }
  .band__row .btn-row .btn, .faq__buttons .btn { width: 100%; }
  .band__row .btn-row .btn__pad, .faq__buttons .btn__pad { min-height: 2.75rem; }
  .hero .btn__pad { min-height: 2.75rem; }
  .quote__arrows .swiper-prev, .quote__arrows .swiper-next, .arrows .swiper-prev, .arrows .swiper-next { width: 3rem; height: 3rem; }
  .split__slide .btn { max-width: 100%; }
  .info-item__head { align-items: center; }
  .marquee__caption { padding: 0 1.25rem; }
}

.pad-b-140 { padding-bottom: 8.75rem; }
@media screen and (max-width: 991px) { .pad-b-140 { padding-bottom: 4rem; } }
@media screen and (max-width: 767px) { .pad-b-140 { padding-bottom: 2.5rem; } }
@media screen and (max-width: 767px) { .photo-card__copy p { font-size: 1rem; line-height: 1.45; } .photo-card__link { font-size: 1rem; } }
@media screen and (max-width: 479px) { .eyebrow { line-height: 1.3; } }
@media screen and (max-width: 380px) { .search-input { font-size: 1.125rem; } }

/* tablet: the 2 minutos band sits right above an image, so the 80px mobile bottom pad is enough (was 80 + 20 + 20) */
@media screen and (min-width: 600px) and (max-width: 991px) { .impact .pad-y-140 { padding-bottom: 2.5rem; } }

/* marquee pause button (WCAG 2.2.2): hidden until keyboard focus, so the strip stays clean; touch on the strip and mouse hover also pause it */
.marquee__pause {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  font-family: var(--font-body); font-size: 0.875rem; line-height: 1.5;
  color: var(--obsidian); background: var(--oat-50);
  border-radius: var(--r-8);
}
.marquee__pause:focus-visible {
  position: static; width: auto; height: auto; overflow: visible; clip-path: none;
  display: flex; align-items: center; justify-content: center;
  min-height: 2.75rem; margin: 0.5rem auto 0; padding: 0 0.75rem;
  text-decoration: underline; text-underline-offset: 0.2em;
}
@media (hover: hover) { .marquee__view:hover .marquee__track { animation-play-state: paused; } }

/* family card photo: on phones the headline ran across the faces, so the crop leans to the top of the picture */
@media screen and (max-width: 767px) { .photo-card__bg img[src$="card-c.webp"] { object-position: 50% 20%; } }


/* ---------- closing section (home, 2026-10-12): juniper card like the hero, final call to action + official figures ---------- */
.closing { color: var(--obsidian); }
.closing__pad { padding: 0 1.25rem 1.25rem; }
.closing__box { border-radius: var(--r-14); background-color: var(--oat-50); padding: 7.5rem 5rem; }
.closing__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 6rem; max-width: 80rem; margin: 0 auto; }
.closing__copy { display: flex; flex-direction: column; align-items: flex-start; }
.closing__title { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 400; font-size: clamp(2.5rem, 4.45vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; max-width: 9.5em; }
.closing__lead { margin-top: 1.5rem; max-width: 30rem; font-size: 1.25rem; line-height: 1.45; color: rgba(25, 31, 29, 0.85); text-wrap: pretty; }
.closing__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 2.5rem; }
.closing__link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.0625rem; font-weight: 500; color: var(--obsidian); text-decoration: underline; text-decoration-color: rgba(25, 31, 29, 0.4); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color 0.2s; }
.closing__link:hover { text-decoration-color: var(--obsidian); }
.closing__figs { border-bottom: 1px solid rgba(25, 31, 29, 0.18); }
.closing__figs li { display: flex; flex-direction: column; gap: 0.625rem; padding: 2.25rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.closing__fig { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 400; font-size: clamp(2.25rem, 3.33vw, 3rem); line-height: 1; letter-spacing: -0.01em; }
.closing__label { font-size: 1rem; line-height: 1.45; color: rgba(255, 255, 255, 0.75); max-width: 26rem; }
.closing__source { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.76); }
.closing__source a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color 0.2s, color 0.2s; }
.closing__source a:hover { color: var(--white); text-decoration-color: var(--white); }
@media (pointer: coarse) { .closing__source a { display: inline-block; padding: 0.75rem 0; margin: -0.75rem 0; } }
.closing a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; box-shadow: none; border-radius: 4px; }
.closing .btn__pad:focus-visible { outline-offset: 6px; }
@media screen and (max-width: 991px) {
  .closing__box { padding: 4.5rem 3rem; }
  .closing__grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .closing__title { max-width: 12em; }
}
@media screen and (max-width: 767px) {
  .closing__box { padding: 2rem 1.5rem; }
  .closing__grid { gap: 2.5rem; }
  .closing__title { font-size: 2.5rem; max-width: none; }
  .closing__lead { margin-top: 1.25rem; font-size: 1.125rem; }
  .closing__cta { align-self: stretch; align-items: stretch; margin-top: 2rem; }
  .closing__cta .btn { width: 100%; }
  .closing__cta .btn__pad { min-height: 2.75rem; }
  .closing__link { justify-content: center; }
  .closing__figs li { padding: 1.5rem 0; gap: 0.5rem; }
  .closing__fig { font-size: 2.25rem; }
}

/* ---------- site footer (all pages, 2026-10-12): obsidian, calm, no accordions ---------- */
.ft { display: flex; flex-direction: column; padding-top: 6rem; }
.ft a { transition: color 0.2s; }
.ft a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ft a:focus-visible { outline: 3px solid var(--oat-50); outline-offset: 3px; box-shadow: none; border-radius: 4px; text-decoration: underline; }
.ft__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.ft__id { display: flex; flex-direction: column; gap: 0.5rem; }
.ft__brand { display: flex; align-items: center; width: 152px; min-height: 2.75rem; }
.ft__brand:hover { text-decoration: none !important; }
.ft__brand svg { width: 152px; height: 20px; }
.ft__tag { font-size: 1rem; line-height: 1.5; color: rgba(246, 243, 239, 0.7); max-width: 26rem; }
.ft__contact { display: flex; gap: 2rem; }
.ft__contact a, .ft__legal a, .ft__col a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1rem; line-height: 1.5; color: rgba(246, 243, 239, 0.85); }
.ft__contact a:hover, .ft__legal a:hover, .ft__col a:hover { color: var(--oat-50); }
.ft__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: 6rem; }
.ft__head { font-size: 0.875rem; line-height: 1.4; font-weight: 500; color: #b8ab9b; margin-bottom: 0.5rem; }
.ft__col ul { display: flex; flex-direction: column; gap: 0; }
.ft__bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; margin-top: 6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ft__legal { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2rem; flex: none; }
.ft__copy { font-size: 1rem; line-height: 1.5; color: rgba(246, 243, 239, 0.7); min-height: 2.75rem; display: inline-flex; align-items: center; }
.ft__fine { max-width: 34rem; padding: 0.6875rem 0; font-size: 0.9375rem; line-height: 1.5; color: rgba(246, 243, 239, 0.7); text-wrap: pretty; }
.ft__word { margin-top: 4rem; padding-bottom: 1.5rem; }
.ft__word svg { width: 100%; height: auto; }
@media screen and (max-width: 991px) {
  .ft__cols { gap: 2rem; }
  .ft__bottom { flex-direction: column; gap: 0.75rem; }
}
@media screen and (max-width: 767px) {
  .ft { padding-top: 3.5rem; }
  .ft__top { flex-direction: column; gap: 1rem; }
  .ft__contact { gap: 1.75rem; }
  .ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin-top: 2.5rem; }
  .ft__bottom { margin-top: 2.5rem; padding-top: 1rem; }
  .ft__legal { column-gap: 1.25rem; }
  .ft__fine { padding: 0.5rem 0 0; }
  .ft__word { margin-top: 2rem; padding-bottom: 1rem; }
}
@media screen and (max-width: 400px) { .ft__legal { column-gap: 1rem; } .ft__copy, .ft__legal a { font-size: 0.9375rem; } }


/* ---------- one screen per section (home, 2026-10-12) ----------
   Desktop and tablet landscape only (width >= 992 and height >= 640). Same formula as the hero:
   100svh minus the header offset minus the 20px bottom gap. Phones and short windows keep natural heights. */
:root { --section-gap: 1.25rem; --screen-h: calc(100vh - var(--header-bottom) - 1.25rem); --screen-h: calc(100svh - var(--header-bottom) - 1.25rem); }

@media screen and (min-width: 992px) and (min-height: 640px) {
  /* -- gap between sections: lives OUTSIDE each one-screen box, never eaten from it (a gap is not a section).
     One value for every pair: 20px, the hero's own bottom gap. The inset cards keep their 20px side inset, so cards are 20px apart both ways. -- */
  main > section + section { margin-top: var(--section-gap); }

  /* -- 2. audience cards + surname marquee share one screen: cards fill the height, the marquee is the bottom strip -- */
  #who-we-serve { height: var(--screen-h); display: flex; flex-direction: column; overflow: hidden; }
  #who-we-serve > .gutter { flex: 1 1 0; min-height: 0; display: flex; }
  #who-we-serve > .gutter > .wrap-1400 { width: 100%; display: flex; }
  #who-we-serve .pad-y-20 { width: 100%; display: flex; padding-top: 0; padding-bottom: 1.25rem; }
  #who-we-serve .cards { width: 100%; height: 100%; }
  #who-we-serve .photo-card { height: 100%; min-height: 0; padding: clamp(1.25rem, 2.6svh, 2rem); }
  #who-we-serve .photo-card .t-h5 { font-size: clamp(1.5rem, calc(4.4svh - 0.25rem), 2.75rem); }
  #who-we-serve .photo-card__copy { gap: clamp(0.5rem, 1.4svh, 1rem); }
  #who-we-serve .marquee { flex: none; }
  #who-we-serve .marquee .pad-y-100 { padding-top: clamp(1rem, 2.6svh, 2rem); padding-bottom: 0.25rem; }
  #who-we-serve .marquee__shield { height: clamp(44px, 7svh, 72px); width: auto; }
  #who-we-serve .marquee__logo { gap: 0.5rem; }
  #who-we-serve .marquee__caption { margin-top: clamp(0.5rem, 1.6svh, 1.25rem); }
  #who-we-serve .marquee__pause { margin-top: -0.25rem; }

  /* -- 4. big number: one screen, centred; the figure shrinks with the screen height -- */
  .impact { height: var(--screen-h); display: flex; align-items: center; overflow: hidden; }
  .impact > .gutter { width: 100%; }
  .impact .pad-y-140 { padding-top: 0; padding-bottom: 0; }
  .impact .t-display { font-size: clamp(6rem, 25svh, var(--fs-display)); }
  .impact .t-h3 { font-size: clamp(2rem, 6.2svh, var(--fs-h3)); line-height: 1.05; }
  .impact__stack { gap: clamp(1.25rem, 4svh, 2.5rem); }

  /* -- 5 + 8. image steps: the section is its steps, one screen each (no outer padding) -- */
  .split .pad-y-20 { padding-top: 0; padding-bottom: 0; }

  /* -- 6 + 9. quotes: one screen = quote area + the cta band as its closing strip -- */
  .quote { height: var(--screen-h); flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .quote__main { flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
  .quote__main .quote__inner { width: 100%; }
  .quote .pad-y-140 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .quote .t-quote { font-size: clamp(2rem, calc(6.2svh - 0.25rem), var(--fs-quote)); }
  .quote__stack { gap: clamp(1.5rem, 4svh, 3.75rem); }
  .quote .band { flex: none; position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(9rem, 22svh, 15rem); }
  .quote .band > .gutter { width: 100%; }
  .quote .band .pad-y-100 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .quote .band .t-h3 { font-size: clamp(1.75rem, 4.6svh, 3rem); line-height: 1.1; }
  .quote .band__text { gap: 0.375rem; }

  /* -- 11. faq: heading and buttons left, accordion right (all closed); an open answer scrolls inside its column -- */
  .faq { height: var(--screen-h); display: flex; align-items: center; overflow: hidden; }
  .faq > .gutter { width: 100%; }
  .faq .wrap-1040 { max-width: 75rem; }
  .faq .pad-y-140 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .faq__stack {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: "gap1 group" "head group" "btns group" "gap2 group";
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
    row-gap: 0;
  }
  .faq .section-head { grid-area: head; align-items: flex-start; text-align: left; margin: 0 0 2rem; gap: 1.25rem; }
  .faq .section-head .t-h3 { font-size: clamp(2.25rem, 6.4svh, 4rem); line-height: 1.05; }
  .faq__group { grid-area: group; align-self: center; grid-row: 1 / span 4; overflow: clip; }
  .faq__group:has(.is-open) { max-height: calc(var(--screen-h) - 3rem); overflow-y: auto; }
  .faq__buttons { grid-area: btns; flex-direction: column; align-items: flex-start; justify-content: flex-start; align-self: start; gap: 0.75rem; }
  .faq__trigger { padding: clamp(0.75rem, 2.1svh, 1.875rem) 1.5rem clamp(0.5rem, 1.5svh, 1.25rem); }
  .faq__item { flex: none; padding-bottom: clamp(0.125rem, 0.8svh, 0.625rem); }
  .faq__content-inner { padding: 0 1.5rem 1rem; gap: 1rem; }

  /* -- 12. resources: cards take the height left under the heading and above the controls -- */
  .resources { height: var(--screen-h); display: flex; }
  .resources > .gutter { flex: 1 1 0; min-width: 0; display: flex; }
  .resources .wrap-1200 { width: 100%; display: flex; }
  .resources .pad-b-140 { flex: 1 1 0; min-width: 0; display: flex; padding: 1.5rem 0; }
  .resources__stack { flex: 1 1 0; min-width: 0; min-height: 0; gap: clamp(1rem, 3svh, 2rem); }
  .resources .section-head { margin: 0; gap: 1rem; }
  .resources .section-head .t-h3 { font-size: clamp(2rem, 6svh, 3.5rem); line-height: 1.05; }
  .resources__slider { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: clamp(1rem, 2.4svh, 1.5rem); }
  .resources__slider .swiper { flex: 1 1 0; min-height: 0; height: auto; }
  .resources__slider .swiper-wrapper, .resources__slider .swiper-slide { height: 100%; }
  .resources .res-card { height: 100%; }
  .resources__controls { margin-top: 0; }

  /* -- 13. closing: the juniper card fills the screen, content centred -- */
  .closing { height: var(--screen-h); }
  .closing__pad { height: 100%; padding-bottom: 1.25rem; }
  .closing__box { height: 100%; display: flex; align-items: center; padding: 2rem 5rem; }
  .closing__grid { width: 100%; }
  .closing__figs li { padding: clamp(1rem, 3svh, 2.25rem) 0; }
  .closing__cta { margin-top: clamp(1.25rem, 3.5svh, 2.5rem); }

  /* -- 14. footer: one screen. Links and bottom bar up top, the wordmark sits on the bottom edge -- */
  .site-footer { height: var(--screen-h); overflow: hidden; }
  .site-footer > .gutter { height: 100%; }
  .site-footer .ft { height: 100%; padding-top: clamp(1.5rem, 5svh, 4rem); justify-content: space-between; gap: clamp(1rem, 3svh, 3rem); }
  .site-footer .ft__cols { margin-top: 0; }
  .site-footer .ft__bottom { margin-top: 0; }
  .site-footer .ft__word { margin-top: 0; padding-bottom: 0; line-height: 0; }
  .site-footer .ft__word svg { display: block; margin-bottom: -1.42%; }
}

/* very short laptop windows (640 to 699 tall): the link columns need more than one screen, so the footer grows instead of clipping */
@media screen and (min-width: 992px) and (min-height: 640px) and (max-height: 699px) {
  .site-footer { height: auto; min-height: var(--screen-h); }
  .site-footer > .gutter { height: auto; }
  .site-footer .ft { height: auto; min-height: var(--screen-h); }
}
