/* ============================================================
   FOMCEC – Main Stylesheet
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Colors */
  --color-brand-green: #315142;
  --color-btn-primary: #84C06D;
  --color-btn-primary-hover: #6faa58;
  --color-hero-bg: #C0D067;
  --color-navbar-bg: rgba(232, 229, 190, 0.5);
  --color-navbar-bg-scrolled: rgba(232, 229, 190, 0.95);
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dropdown-bg: #ffffff;
  --color-dropdown-shadow: rgba(49, 81, 66, 0.12);

  /* Typography */
  --font-primary: 'Noto Sans Display', sans-serif;
  --font-size-base: 16px;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  --line-height-base: 1.3;
  --line-height-body: 1.5;

  /* Spacing */
  --navbar-height: 72px;
  --navbar-padding-x: 60px;
  --navbar-padding-y: 16px;
  --nav-gap: 32px;
  --btn-padding-x: 24px;
  --btn-padding-y: 14px;
  --btn-radius: 6px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Z-index */
  --z-navbar: 100;
  --z-dropdown: 200;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-brand-green);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  width: 100%;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  padding: var(--navbar-padding-y) var(--navbar-padding-x);
  background-color: var(--color-navbar-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Scrolled state – increased opacity */
.site-header.is-scrolled .navbar {
  background-color: var(--color-navbar-bg-scrolled);
  box-shadow: 0 1px 8px rgba(49, 81, 66, 0.08);
}

/* ── Logo ───────────────────────────────────────────────────── */
.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar__logo img {
  width: 160px;
  height: 40px;
  object-fit: contain;
}

/* ── Nav Menu ───────────────────────────────────────────────── */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
}

/* ── Nav Items & Links ──────────────────────────────────────── */
.navbar__item {
  position: relative;
}

.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-brand-green);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), opacity var(--transition-fast);
}

.navbar__link:hover,
.navbar__link:focus-visible {
  border-bottom-color: var(--color-brand-green);
  outline: none;
}

/* ── Dropdown Toggle ────────────────────────────────────────── */
.navbar__dropdown-toggle {
  color: var(--color-brand-green);
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.navbar__item--has-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

/* ── Dropdown Menu ──────────────────────────────────────────── */
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background-color: var(--color-dropdown-bg);
  border-radius: var(--btn-radius);
  box-shadow: 0 4px 16px var(--color-dropdown-shadow);
  padding: 8px 0;
  z-index: var(--z-dropdown);

  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.navbar__item--has-dropdown.is-open .navbar__dropdown,
.navbar__item--has-dropdown:focus-within .navbar__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--color-brand-green);
  font-size: var(--font-size-base);
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.navbar__dropdown-link:hover,
.navbar__dropdown-link:focus-visible {
  background-color: rgba(132, 192, 109, 0.12);
  outline: none;
}

/* ── CTA Button ─────────────────────────────────────────────── */
.navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  height: 39px;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border-radius: var(--btn-radius);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar__cta:hover,
.navbar__cta:focus-visible {
  background-color: var(--color-btn-primary-hover);
  box-shadow: 0 2px 8px rgba(132, 192, 109, 0.4);
  outline: none;
}

/* ── Hamburger Button ───────────────────────────────────────── */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand-green);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Hamburger → X animation */
.navbar__hamburger.is-active .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.is-active .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.is-active .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive – Tablet / Mobile (≤ 1024px) ────────────────── */
@media (max-width: 1024px) {
  .navbar {
    padding: var(--navbar-padding-y) 24px;
    flex-wrap: wrap;
    height: auto;
    min-height: var(--navbar-height);
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__cta {
    display: none;
  }

  /* Menu hidden by default on mobile */
  .navbar__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 12px 0 16px;
    border-top: 1px solid rgba(49, 81, 66, 0.15);
    margin-top: 8px;
  }

  .navbar__menu.is-open {
    display: flex;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__link {
    display: flex;
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(49, 81, 66, 0.08);
  }

  .navbar__link:hover {
    border-bottom-color: rgba(49, 81, 66, 0.08);
    background-color: rgba(132, 192, 109, 0.08);
  }

  /* Mobile CTA inside menu */
  .navbar__menu .navbar__cta-mobile {
    display: inline-flex;
    margin-top: 16px;
    margin-left: 4px;
  }

  /* Mobile dropdown */
  .navbar__dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    background: transparent;
    opacity: 1;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .navbar__item--has-dropdown.is-open .navbar__dropdown {
    pointer-events: auto;
    max-height: 300px;
  }

  .navbar__dropdown-link {
    padding: 10px 4px;
    border-bottom: 1px solid rgba(49, 81, 66, 0.06);
  }
}

/* ============================================================
   HERO
   ============================================================ */

/* ── Section ────────────────────────────────────────────────── */
.hero {
  background-color: var(--color-hero-bg);
  padding: 60px 10px 329px;
}

/* ── Inner wrapper ──────────────────────────────────────────── */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

/* ── Hero logo ──────────────────────────────────────────────── */
.hero__logo {
  display: inline-flex;
  flex-shrink: 0;
}

.hero__logo img {
  width: 341px;
  height: 86px;
  object-fit: contain;
}

/* ── Content block ──────────────────────────────────────────── */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 887px;
  width: 100%;
}

/* ── Text group ─────────────────────────────────────────────── */
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* ── Eyebrow / Subheading ───────────────────────────────────── */
.hero__eyebrow {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-brand-green);
  text-transform: uppercase;
  letter-spacing: 3.3px;
  line-height: var(--line-height-base);
  white-space: nowrap;
}

/* ── Main heading ───────────────────────────────────────────── */
.hero__heading {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
  text-align: center;
}

/* ── Hero CTA button ────────────────────────────────────────── */
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 274px;
  height: 51px;
  padding: 20px 30px;
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  border-radius: var(--btn-radius);
  white-space: nowrap;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background-color: var(--color-btn-primary-hover);
  box-shadow: 0 2px 8px rgba(132, 192, 109, 0.4);
  outline: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 48px 24px;
  }

  .hero__inner {
    gap: 36px;
  }

  .hero__logo img {
    width: 220px;
    height: 55px;
  }

  .hero__eyebrow {
    font-size: 14px;
    letter-spacing: 2px;
    white-space: normal;
    text-align: center;
  }

  .hero__heading {
    font-size: 28px;
  }

  .hero__cta {
    min-width: 0;
    width: 100%;
  }
}

/* ============================================================
   VIDEO PREVIEW
   ============================================================ */

.video-preview {
  /* pull the block up so the top half overlaps the hero's green */
  /* 960px × (9/16) = 540px → half = 270px */
  margin-top: -270px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.video-preview__inner {
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

/* ── Poster / button ────────────────────────────────────────── */
.video-preview__poster {
  position: relative;
  display: block;
  width: 960px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background-color: #2a2a2a;
  /* fallback while image loads */
  border: none;
  padding: 0;
}

.video-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-base);
}

.video-preview__poster:hover .video-preview__img,
.video-preview__poster:focus-visible .video-preview__img {
  transform: scale(1.02);
}

/* ── Play button ────────────────────────────────────────────── */
.video-preview__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-preview__play svg {
  width: 75px;
  height: 75px;
  padding: 12.5px 12.5px 12.5px 15px;
  /* slight right-offset to center the triangle optically */
  background-color: #315142;
  border: 1.25px solid #C3D669;
  border-radius: 50%;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.video-preview__play svg path {
  fill: #C3D669;
}

.video-preview__poster:hover .video-preview__play svg,
.video-preview__poster:focus-visible .video-preview__play svg {
  transform: scale(1.1);
  background-color: #3d6452;
}

.video-preview__poster:focus-visible {
  outline: 3px solid #C3D669;
  outline-offset: 4px;
}

.video-preview__iframe {
  display: block;
  width: 960px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .video-preview__poster {
    height: auto;
    aspect-ratio: 960 / 500;
  }
}

@media (max-width: 768px) {
  .video-preview {
    margin-top: -100px;
    padding-bottom: 48px;
  }

  .video-preview__play svg {
    width: 56px;
    height: 56px;
  }
}

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */

.quienes-somos {
  background-color: #ffffff;
  padding: 120px 64px 80px;
}

.quienes-somos__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1312px;
  margin: 0 auto;
}

/* ── Left: text ─────────────────────────────────────────────── */
.quienes-somos__text {
  width: 592px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.quienes-somos__heading {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
}

.quienes-somos__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  line-height: var(--line-height-body);
}

/* ── Right: media ───────────────────────────────────────────── */
.quienes-somos__media {
  width: 656px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .quienes-somos__inner {
    flex-direction: column;
    gap: 60px;
  }

  .quienes-somos__text,
  .quienes-somos__media {
    width: 100%;
  }

  .content-swiper .swiper-slide {
    height: auto;
    aspect-ratio: 656 / 418;
  }
}

@media (max-width: 768px) {
  .quienes-somos {
    padding: 20px 24px 20px;
  }

  .quienes-somos__heading {
    font-size: 28px;
  }

  .quienes-somos__body {
    font-size: 16px;
  }
}

/* ============================================================
   MISIÓN / VISIÓN / OBJETO SOCIAL
   ============================================================ */

.mvos {
  background-color: #ffffff;
  padding: 0 60px 80px;
}

.mvos__inner {
  display: flex;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Column ─────────────────────────────────────────────────── */
.mvos__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ── Icon ───────────────────────────────────────────────────── */
.mvos__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

/* ── Title ──────────────────────────────────────────────────── */
.mvos__title {
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
}

/* ── Divider ────────────────────────────────────────────────── */
.mvos__divider {
  width: 66px;
  border: none;
  border-top: 2px solid #50833C;
  opacity: 0.2;
  margin: 0;
}

/* ── Body text ──────────────────────────────────────────────── */
.mvos__text {
  font-size: 18px;
  line-height: var(--line-height-body);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mvos {
    padding: 30px 24px 60px 24px;
  }

  .mvos__inner {
    flex-direction: column;
    gap: 48px;
  }

  .mvos__title {
    font-size: 20px;
  }

  .mvos__col {
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .mvos__divider {
    margin: 0 auto;
  }
}

/* ============================================================
   ALIADOS
   ============================================================ */

.aliados {
  background-color: #f9f8ef;
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.aliados__heading {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
  text-align: center;
  max-width: 520px;
}

/* ── Swiper ─────────────────────────────────────────────────── */
.aliados-swiper {
  width: 100%;
  max-width: 1200px;
}

.aliados-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
}

.aliados-swiper .swiper-slide img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: opacity var(--transition-base), filter var(--transition-base);
  mix-blend-mode: multiply;
}

.aliados-swiper .swiper-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .aliados {
    padding: 60px 24px;
    gap: 40px;
  }

  .aliados__heading {
    font-size: 28px;
  }
}

/* ============================================================
   PROGRAMAS
   ============================================================ */

.programas {
  background-color: #ffffff;
  padding: 100px 60px 80px;
}

.programas__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────── */
.programas__header {
  text-align: center;
}

.programas__main-title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
}

/* ── Program card (img-left by default) ─────────────────────── */
.programas__card {
  display: flex;
  align-items: center;
}

.programas__card--reversed {
  flex-direction: row-reverse;
}

/* ── Slider column ──────────────────────────────────────────── */
.programas__slider-col {
  flex-shrink: 0;
  width: 656px;
}

/* Shared styles for all content-area swipers */
.content-swiper {
  width: 656px;
  border-radius: 6px;
  overflow: hidden;
  padding-bottom: 30px !important;
}

.content-swiper .swiper-slide {
  height: 418px;
}

.content-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.content-swiper .swiper-pagination {
  bottom: 0;
}

.content-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #E8E5BE;
  opacity: 1;
  margin: 0 10px !important;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.content-swiper .swiper-pagination-bullet-active {
  background-color: var(--color-btn-primary);
  transform: scale(1.2);
}

/* ── Content column ─────────────────────────────────────────── */
.programas__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 40px 40px 60px;
}

.programas__card--reversed .programas__content {
  padding: 0 60px 40px 40px;
}

.programas__badge {
  width: 161px;
  height: 163px;
  flex-shrink: 0;
}

.programas__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.programas__title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
}

.programas__text p {
  font-size: 18px;
  color: var(--color-black);
  line-height: var(--line-height-body);
}

/* ── Topics header ──────────────────────────────────────────── */
.programas__topics-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin-bottom: 0px;
}

.programas__topics-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

/* ── Topics grid ────────────────────────────────────────────── */
.programas__topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  padding: 0;
  margin-bottom: 30px;
}

.programas__topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  border-radius: 10px;
}

.programas__topic-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.programas__topic span {
  font-size: 20px;
  color: var(--color-black);
  line-height: var(--line-height-base);
}

/* ── Triple objective ───────────────────────────────────────── */
.programas__triple {
  background-color: #ffffff;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.programas__triple-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.programas__triple-title {
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
  text-align: center;
  white-space: nowrap;
}

.programas__triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 100%;
}

.programas__objective {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.programas__objective-title {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-body);
}

.programas__objective-text {
  font-size: 18px;
  line-height: var(--line-height-body);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {

  .programas__card,
  .programas__card--reversed {
    flex-direction: column;
    padding: 0;
  }

  .programas__slider-col,
  .content-swiper {
    width: 100%;
  }

  .content-swiper .swiper-slide {
    height: auto;
    aspect-ratio: 656 / 418;
  }

  .programas__content,
  .programas__card--reversed .programas__content {
    padding: 40px 0 0;
  }

  .programas__topics {
    grid-template-columns: repeat(3, 1fr);
  }

  .programas {
    padding: 60px 24px 60px;
  }

  .programas__triple-title {
    white-space: normal;
    text-align: center;
    font-size: 24px;
  }

  .programas__topics-title {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .programas__badge {
    width: 110px;
    height: 110px;
    margin: 0 auto;
  }

  .programas__topics {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .programas__triple-grid {
    grid-template-columns: 1fr;
  }

  .programas__main-title {
    font-size: 28px;
  }

  .programas__title {
    font-size: 20px;
  }
}

/* =============================================================
   ETAPAS
   ============================================================ */

.etapas {
  position: relative;
  background-color: #f9f8ef;
  padding: 100px 60px;
  overflow: hidden;
}

.etapas__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 90px;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────── */
.etapas__header {
  text-align: center;
}

.etapas__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--color-brand-green);
  font-size: 40px;
  line-height: 1.3;
  margin: 0;
}

.etapas__title--light {
  font-weight: var(--font-weight-regular);
}

.etapas__title--bold {
  font-weight: var(--font-weight-bold);
}

/* ── Grid ────────────────────────────────────────────────────── */
.etapas__grid {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

/* ── Decorative wave ────────────────────────────────────────── */
.etapas__wave {
  position: absolute;
  top: 507px;
  left: 30px;
  width: calc(100% - 60px);
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1441px) {
  .etapas__wave {
    left: calc(50% - 690px);
    width: 1380px;
  }
}

/* ── Individual step ────────────────────────────────────────── */
.etapas__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

/* ── Badge ───────────────────────────────────────────────────── */
.etapas__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 60px;
  padding: 16px 20px;
  background-color: #50833c;
  border-radius: var(--btn-radius);
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
  flex-shrink: 0;
  width: 100%;
  text-align: center;
}

.etapas__badge span {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: var(--line-height-body);
}

.etapas__chevron {
  flex-shrink: 0;
}

/* ── Connector line ─────────────────────────────────────────── */
.etapas__connector {
  width: 5px;
  height: 26px;
  background-color: #9BC96D;
  flex-shrink: 0;
}

/* ── Card ────────────────────────────────────────────────────── */
.etapas__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 50px 30px;
  background-color: var(--color-white);
  border: 1px solid #e3e3e3;
  border-radius: var(--btn-radius);
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
  text-align: center;
}

.etapas__card p {
  font-size: 18px;
  color: var(--color-black);
  line-height: var(--line-height-body);
  margin: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .etapas__grid {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 60px;
  }

  .etapas__step {
    flex: 0 0 calc(50% - 20px);
    max-width: 340px;
  }

  .etapas__wave {
    display: none;
  }

  .etapas__badge {
    padding: 14px 16px;
  }
}

@media (max-width: 600px) {
  .etapas {
    padding: 60px 24px;
  }

  .etapas__inner {
    gap: 50px;
  }

  .etapas__grid {
    flex-direction: column;
    align-items: center;
    row-gap: 50px;
  }

  .etapas__step {
    flex: none;
    width: 100%;
    max-width: 340px;
  }

  .etapas__title {
    font-size: 28px;
  }
}

/* =============================================================
   EFECTO MULTIPLICADOR
   ============================================================ */

.efecto {
  position: relative;
  background-color: var(--color-btn-primary);
  padding: 130px 60px;
  overflow: hidden;
}

.efecto__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Title ───────────────────────────────────────────────────── */
.efecto__title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  line-height: var(--line-height-base);
  text-align: center;
}

/* ── Cards row ──────────────────────────────────────────────── */
.efecto__cards {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 60px;
  width: 100%;
}

/* ── Decorative wave ────────────────────────────────────────── */
.efecto__wave {
  position: absolute;
  top: 340px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 120px);
  max-width: 1280px;
  pointer-events: none;
  z-index: 0;
}

/* ── Card ────────────────────────────────────────────────────── */
.efecto__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  flex: 1;
  max-width: 350px;
  padding: 80px 50px 40px;
  background-color: var(--color-white);
  border: 1px solid #d9d9d9;
  border-radius: var(--btn-radius);
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
}

/* ── Icon circle ─────────────────────────────────────────────── */
.efecto__card-icon {
  position: absolute;
  top: -61px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #E8E5BE;
  border: 2px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.efecto__card-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* ── Stat & description ─────────────────────────────────────── */
.efecto__stat {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
  margin-bottom: 6px;
}

.efecto__desc {
  font-size: 18px;
  color: var(--color-black);
  line-height: var(--line-height-body);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .efecto__cards {
    flex-direction: column;
    align-items: center;
    gap: 100px;
  }

  .efecto__wave {
    display: none;
  }

  .efecto__card {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .efecto {
    padding: 80px 24px;
  }

  .efecto__inner {
    gap: 60px;
  }

  .efecto__title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .efecto__card {
    max-width: 100%;
    padding: 80px 30px 40px;
  }

  .efecto__stat {
    font-size: 18px;
  }
}

/* =============================================================
   ESCUELAS VERDES
   ============================================================ */

.escuelas-verdes {
  background-color: var(--color-white);
  padding: 80px 60px;
}

.escuelas-verdes__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

.escuelas-verdes__title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
  text-align: center;
}

/* ── Cards row ──────────────────────────────────────────────── */
.escuelas-verdes__cards {
  display: flex;
  align-items: stretch;
  gap: 64px;
}

/* ── Card ────────────────────────────────────────────────────── */
.ev-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  border-radius: var(--btn-radius);
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
  overflow: hidden;
}

.ev-card--fixed {
  flex: 1;
}

/* ── Image ───────────────────────────────────────────────────── */
.ev-card__img-wrap {
  height: 400px;
  flex-shrink: 0;
  overflow: hidden;
}

.ev-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Content ─────────────────────────────────────────────────── */
.ev-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 50px 40px;
  background-color: var(--color-white);
  border: 1px solid #d9d9d9;
  border-top: none;
  border-radius: 0 0 var(--btn-radius) var(--btn-radius);
}

.ev-card__title {
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
}

.ev-card__body {
  font-size: 18px;
  color: var(--color-black);
  line-height: var(--line-height-body);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .escuelas-verdes__cards {
    flex-direction: column;
    gap: 40px;
  }

  .escuelas-verdes__title {
    font-size: 28px;
  }

  .ev-card--fixed {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .escuelas-verdes {
    padding: 60px 24px;
  }

  .ev-card__img-wrap {
    height: 260px;
  }

  .ev-card__title {
    font-size: 20px;
  }
}

/* =============================================================
   TESTIMONIALES
   ============================================================ */

.testimoniales {
  background-color: #f9f9ef;
  padding: 100px 0;
  width: 100%;
}

.testimoniales__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  width: 100%;
}

.testimoniales__title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
  text-align: center;
}

/* ── Slider wrap ────────────────────────────────────────────── */
.testimoniales__slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* ── Arrow controls ─────────────────────────────────────────── */
.testimoniales__controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.testimoniales__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  border: none;
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.testimoniales__btn:hover {
  background-color: var(--color-btn-primary-hover);
}

.testimoniales__btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Swiper overrides ───────────────────────────────────────── */
.testimoniales-swiper {
  width: 100%;
  overflow: hidden;
}

/* ── Card ───────────────────────────────────────────────────── */
.testimoniales__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.testimoniales__img-wrap {
  width: 100%;
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.testimoniales__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimoniales__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimoniales__quote {
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  color: var(--color-black);
  line-height: var(--line-height-body);
}

.testimoniales__name {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
}

/* ── Pagination dots ────────────────────────────────────────── */
.testimoniales__pagination {
  margin-top: 40px;
  position: static !important;
}

.testimoniales__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #c4c4c4;
  opacity: 1;
  transition: background-color 0.2s;
}

.testimoniales__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-btn-primary);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimoniales {
    padding: 80px 24px;
  }

  .testimoniales__inner {
    padding: 0;
  }

  .testimoniales__btn {
    width: 40px;
    height: 40px;
  }

  .testimoniales__card {
    gap: 24px;
  }
}

/* =============================================================
   PROGRAMAS EN ACCIÓN
   ============================================================ */

.programas-accion {
  background-color: var(--color-white);
  padding-top: 120px;
  padding-bottom: 120px;
}

.programas-accion__inner {
  max-width: 1320px;
  margin: 0 auto 50px;
  padding: 0 60px;
}

.programas-accion__title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
}

/* ── Carousel ───────────────────────────────────────────────── */
.programas-accion__carousel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Row ────────────────────────────────────────────────────── */
.programas-accion__row {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/*
 * Animaciones: cada set tiene 4 imágenes de 416px con gap 20px
 * Desplazamiento = 4 × (416 + 20) = 1744px → loop perfecto
 */
@keyframes pa-scroll-right {
  0% {
    transform: translateX(-1744px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes pa-scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1744px);
  }
}

.programas-accion__row--right {
  animation: pa-scroll-right 18s linear infinite;
}

.programas-accion__row--left {
  animation: pa-scroll-left 22s linear infinite;
  margin-left: 210px;
  /* offset visual respecto a la fila 1 */
}

/* Pausar al hacer hover para accesibilidad */
.programas-accion__carousel:hover .programas-accion__row {
  animation-play-state: paused;
}

/* ── Item ───────────────────────────────────────────────────── */
.programas-accion__item {
  width: 416px;
  height: 340px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.programas-accion__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .programas-accion {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .programas-accion__inner {
    padding: 0 24px;
    margin-bottom: 36px;
  }

  .programas-accion__title {
    font-size: 28px;
  }

  /*
   * Mobile: imágenes 260px × 220px
   * Desplazamiento = 4 × (260 + 16) = 1104px
   */
  .programas-accion__row {
    gap: 16px;
  }

  @keyframes pa-scroll-right-sm {
    0% {
      transform: translateX(-1104px);
    }

    100% {
      transform: translateX(0);
    }
  }

  @keyframes pa-scroll-left-sm {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-1104px);
    }
  }

  .programas-accion__row--right {
    animation-name: pa-scroll-right-sm;
  }

  .programas-accion__row--left {
    animation-name: pa-scroll-left-sm;
    margin-left: 130px;
  }

  .programas-accion__item {
    width: 260px;
    height: 220px;
  }
}

/* =============================================================
   CENTROS EDUCATIVOS
   ============================================================ */

.centros {
  background-color: #f9f8ef;
  padding: 130px 60px;
}

.centros__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 90px;
  max-width: 1320px;
  margin: 0 auto;
}

.centros__title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
  text-align: center;
  max-width: 560px;
}

/* ── Slider row (flechas + swiper) ──────────────────────────── */
.centros__slider-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.centros-swiper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* ── Nav buttons ────────────────────────────────────────────── */
.centros__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 6px;
  border: none;
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.2s;
}

.centros__btn:hover {
  background-color: var(--color-btn-primary-hover);
}

.centros__btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Logo slides ────────────────────────────────────────────── */
.centros__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.centros__slide img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.2s;
}

.centros__slide img:hover {
  filter: grayscale(0%);
}

/* ── Pagination dots ────────────────────────────────────────── */
.centros__pagination {
  margin-top: 0;
  position: static !important;
}

.centros__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #c4c4c4;
  opacity: 1;
  transition: background-color 0.2s;
}

.centros__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-btn-primary);
}

/* ── CTA button ─────────────────────────────────────────────── */
.centros__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: background-color 0.2s;
}

.centros__cta:hover {
  background-color: var(--color-btn-primary-hover);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .centros__inner {
    gap: 60px;
  }

  .centros__btn {
    display: none;
  }

  .centros__slider-row {
    gap: 0;
  }

  .centros__pagination {
    position: static !important;
    margin-top: calc(-90px + 48px);
  }
}

@media (max-width: 768px) {
  .centros {
    padding: 80px 24px;
  }

  .centros__title {
    font-size: 28px;
  }

  .centros__inner {
    gap: 48px;
  }
}

/* =============================================================
   NUESTRO IMPACTO
   ============================================================ */

.impacto {
  background-color: #ddf7a5;
  padding: 100px 60px;
}

.impacto__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

.impacto__title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
  text-align: center;
  max-width: 440px;
}

/* ── Slider row ─────────────────────────────────────────────── */
.impacto__slider-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.impacto-swiper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* ── Nav buttons ────────────────────────────────────────────── */
.impacto__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 6px;
  border: none;
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.2s;
}

.impacto__btn:hover {
  background-color: var(--color-btn-primary-hover);
}

.impacto__btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Card ───────────────────────────────────────────────────── */
.impacto__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: auto;
}

.impacto__img-wrap {
  width: 100%;
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.impacto__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.impacto__year {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
  text-align: center;
}

.impacto__cta {
  width: 100%;
  padding: 20px 30px;
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  letter-spacing: 0.03em;
}

.impacto__cta:hover {
  background-color: var(--color-btn-primary-hover);
}

/* ── Pagination ─────────────────────────────────────────────── */
.impacto__pagination {
  margin-top: 0;
  position: static !important;
}

.impacto__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(49, 81, 66, 0.3);
  opacity: 1;
  transition: background-color 0.2s;
}

.impacto__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-brand-green);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .impacto__inner {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .impacto {
    padding: 80px 24px;
  }

  .impacto__btn {
    display: none;
  }

  .impacto__slider-row {
    gap: 0;
  }

  .impacto__title {
    font-size: 28px;
  }

  .impacto__inner {
    gap: 40px;
  }
}

/* =============================================================
   CTA / CONTACTO
   ============================================================ */

.cta-contacto {
  background-color: var(--color-white);
  padding: 112px 60px;
}

.cta-contacto__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Columnas ───────────────────────────────────────────────── */
.cta-contacto__form-col {
  flex: 0 0 480px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta-contacto__info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
  min-width: 0;
}

/* ── Títulos ────────────────────────────────────────────────── */
.cta-contacto__form-title,
.cta-contacto__info-title {
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: var(--line-height-base);
}

/* ── Formulario ─────────────────────────────────────────────── */
.cta-contacto__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-contacto__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-contacto__label {
  font-size: 18px;
  color: #414651;
  line-height: var(--line-height-body);
}

.cta-contacto__required {
  color: #414651;
}

.cta-contacto__input,
.cta-contacto__textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--color-black);
  background-color: var(--color-white);
  border: 1px solid #d5d7da;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-contacto__input::placeholder,
.cta-contacto__textarea::placeholder {
  color: #717680;
}

.cta-contacto__input:focus,
.cta-contacto__textarea:focus {
  border-color: var(--color-btn-primary);
  box-shadow: 0 0 0 3px rgba(132, 192, 109, 0.2);
}

.cta-contacto__textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── CF7: wrap span ─────────────────────────────────────────── */
.cta-contacto__field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ── CF7: Turnstile ─────────────────────────────────────────── */
.wpcf7-turnstile.cf-turnstile {
  margin-bottom: 20px;
}

/* ── Botón enviar (CF7 genera input[type=submit]) ───────────── */
.cta-contacto__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 20px 30px;
  background-color: var(--color-btn-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.cta-contacto__submit:hover {
  background-color: var(--color-btn-primary-hover);
}

/* ── Collage placeholder ────────────────────────────────────── */
.cta-contacto__collage {
  width: 100%;
  height: 360px;
  border-radius: 6px;
  overflow: hidden;
}

.cta-contacto__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Fila contacto (síguenos + escríbenos) ──────────────────── */
.cta-contacto__contact-row {
  display: flex;
  gap: 40px;
  align-items: flex-end;
}

@media (max-width: 480px) {
  .cta-contacto__contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

.cta-contacto__contact-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-black);
  margin-bottom: 20px;
}

/* ── Social ─────────────────────────────────────────────────── */
.cta-contacto__social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cta-contacto__social-link {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.cta-contacto__social-link img {
  height: 36px;
  width: auto;
  display: block;
}

.cta-contacto__social-link:hover {
  opacity: 0.75;
}

/* ── Email ──────────────────────────────────────────────────── */
.cta-contacto__email-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: #314751;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.cta-contacto__email-link img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.cta-contacto__email-link:hover {
  opacity: 0.75;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cta-contacto__inner {
    gap: 60px;
  }

  .cta-contacto__form-col {
    flex: 0 0 400px;
  }
}

@media (max-width: 900px) {
  .cta-contacto {
    padding: 80px 24px;
  }

  .cta-contacto__inner {
    flex-direction: column;
    gap: 60px;
  }

  .cta-contacto__form-col {
    flex: none;
    width: 100%;
  }

  .cta-contacto__collage {
    height: auto;
  }

  .cta-contacto__collage img {
    object-fit: contain;
  }
}

/* =============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--color-brand-green);
  border-top: 1px solid #dddddd;
  padding: 80px 60px;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Logo ───────────────────────────────────────────────────── */
.footer__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ── Description ────────────────────────────────────────────── */
.footer__desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--font-size-base);
  color: var(--color-white);
  line-height: var(--line-height-body);
}

.footer__legal a {
  color: #C3D669;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition-fast);
}

.footer__legal a:hover {
  opacity: 0.8;
}

.footer__legal span {
  color: var(--color-white);
}

/* ── Contact ────────────────────────────────────────────────── */
.footer__contact {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--font-size-base);
  color: var(--color-white);
  line-height: var(--line-height-body);
  white-space: nowrap;
}

.footer__contact-row a {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast);
}

.footer__contact-row a:hover {
  opacity: 0.75;
}

/* ── Icon links (email + social) ────────────────────────────── */
.footer__icon-link {
  color: #C3D669;
}

/* ── Social icons ───────────────────────────────────────────── */
.footer__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-footer {
    padding: 60px 24px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer__desc {
    align-items: center;
  }

  .footer__contact {
    align-items: center;
  }

  .footer__contact-row {
    justify-content: center;
  }

  .footer__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer__legal span {
    display: none;
  }
}

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Back to top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-btn-primary);
  color: var(--color-brand-green);
  box-shadow: 0 4px 16px rgba(49, 81, 66, 0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  pointer-events: none;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--color-btn-primary-hover);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--color-brand-green);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* =============================================================
   ERROR 404
   ============================================================ */

.error404-page {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f8ef;
  padding: 80px 24px;
}

.error404-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 560px;
}

.error404-page__code {
  font-size: clamp(96px, 20vw, 180px);
  font-weight: var(--font-weight-bold);
  color: var(--color-btn-primary);
  line-height: 1;
  letter-spacing: -4px;
}

.error404-page__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
}

.error404-page__desc {
  font-size: 18px;
  color: #555;
  line-height: var(--line-height-body);
}

/* =============================================================
   PÁGINAS LEGALES (aviso de privacidad / términos)
   ============================================================ */

.legal-page {
  background-color: #f9f8ef;
  padding: calc(var(--navbar-height) + 60px) 60px 100px;
}

.legal-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page__title {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  line-height: var(--line-height-base);
  margin-bottom: 48px;
}

.legal-page__content {
  color: #333;
  line-height: 1.8;
  font-size: 16px;
}

.legal-page__content h2 {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page__content h3 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-green);
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-page__content p {
  margin-bottom: 16px;
}

.legal-page__content ul,
.legal-page__content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page__content li {
  margin-bottom: 6px;
}

.legal-page__content a {
  color: var(--color-brand-green);
  text-decoration: underline;
}

.legal-page__content a:hover {
  color: var(--color-btn-primary-hover);
}

@media (max-width: 768px) {
  .legal-page {
    padding: calc(var(--navbar-height) + 40px) 24px 60px;
  }

  .legal-page__title {
    font-size: 28px;
    margin-bottom: 32px;
  }
}

/* =============================================================
   TABLA – PÁGINAS LEGALES
   ============================================================ */

.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0;
  -webkit-overflow-scrolling: touch;
}

.fomcec-table {
  width: 100%;
  max-width: 671px;
  border-collapse: collapse;
  font-family: var(--font-primary);
  font-size: 15px;
  color: #2e3b2f;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid #e1e3db;
  border-radius: 8px;
  overflow: hidden;
}

.fomcec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e1e3db;
  vertical-align: middle;
}

.fomcec-table tr:last-child td {
  border-bottom: none;
}

.fomcec-table td.table-label {
  font-weight: 600;
  color: #3b4d3c;
  background-color: rgba(112, 164, 107, 0.08);
  width: 30%;
  min-width: 150px;
}

.fomcec-table a {
  color: #558751;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed rgba(85, 135, 81, 0.4);
  transition: all 0.2s ease;
}

.fomcec-table a:hover {
  color: #345831;
  border-bottom: 1px solid #345831;
}

@media (max-width: 600px) {
  .fomcec-table {
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
  }

  .fomcec-table tbody,
  .fomcec-table tr {
    display: block;
    width: 100%;
  }

  .fomcec-table tr {
    border-bottom: 1px solid #e1e3db;
    padding: 10px 0;
  }

  .fomcec-table tr:last-child {
    border-bottom: none;
  }

  .fomcec-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 6px 18px;
    border: none;
  }

  .fomcec-table td.table-label {
    background-color: transparent;
    padding-bottom: 2px;
    color: #558751;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }
}

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}