/* ==========================================================================
   VDN Brands — pages/nosotros.css
   Estilos de las cuatro páginas de Nosotros: Historia, Política de
   calidad, Cultura organizacional e Impacto social.
   ========================================================================== */

/* ==================== Historia ==================== */

/* ---- Cifras del encabezado ---- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 28px 32px;
  list-style: none;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.fact__value {
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.fact__plus {
  color: var(--accent);
}

.fact__label {
  max-width: 300px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---- Índice de capítulos (columna fija al hacer scroll) ---- */
.story {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.toc__track {
  position: relative;
  border-left: 1px solid rgba(245, 243, 238, 0.14);
}

/* Barra de progreso de lectura: js/historia.js ajusta su escala */
.toc__progress {
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 50% 0;
}

.toc__list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.toc__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 44px;
  padding: 11px 0 11px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.25s ease;
}

.toc__num,
.toc__year {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  transition: color 0.25s ease;
}

.toc__title {
  flex-grow: 1;
}

.toc__link:hover,
.toc__link.is-active {
  color: var(--paper);
}

.toc__link:hover .toc__num,
.toc__link.is-active .toc__num {
  color: var(--accent);
}

@media (max-width: 960px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    display: none;
  }
}

/* ---- Capítulos ---- */
.chapters {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.chapter {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.chapter:first-child {
  padding-top: 0;
  border-top: 0;
}

.chapter:last-child {
  padding-bottom: 0;
}

.chapter__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 40px;
}

.chapter__heading {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.chapter__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chapter__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.chapter__date {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter__title {
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.chapter__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
}

.chapter__body p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
}

.chapter__body .chapter__lede {
  max-width: none;
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.text-accent {
  color: var(--accent);
  font-weight: 600;
}

/* Sello giratorio de premio */
.seal {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  color: var(--paper);
}

.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.seal__ring text {
  fill: currentColor;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.seal__center {
  position: absolute;
  inset: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}

/* Fotos de los capítulos (composiciones de ejemplo) */
.chapter__photo {
  aspect-ratio: 16 / 9;
  margin-top: 8px;
}

.chapter__photo:hover .media__art {
  transform: scale(1.04);
}

.art-book {
  background: var(--paper);
}

.art-book__sun {
  position: absolute;
  top: 12%;
  left: 50%;
  translate: -50% 0;
  width: 30%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent);
}

.art-book__page {
  position: absolute;
  bottom: 16%;
  width: 24%;
  height: 46%;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
}

.art-book__page--left {
  right: 50%;
  transform-origin: 100% 100%;
  transform: rotate(-8deg);
}

.art-book__page--right {
  left: 50%;
  transform-origin: 0 100%;
  transform: rotate(8deg);
}

.art-book__page span {
  position: absolute;
  left: 14%;
  right: 14%;
  height: 2px;
  background: rgba(11, 11, 12, 0.25);
}

.art-book__page span:first-child { top: 24%; }
.art-book__page span:last-child { top: 40%; }

.art-stage {
  background: var(--ink-5);
}

.art-stage__beam {
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 80%;
  background: rgba(212, 255, 63, 0.16);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
}

.art-stage__light {
  position: absolute;
  top: 5%;
  left: 50%;
  translate: -50% 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
}

.art-stage__floor {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 12%;
  height: 16%;
  border-radius: 50%;
  background: rgba(245, 243, 238, 0.12);
}

/* Cuentas que manejamos */
.clients {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}

.clients__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  list-style: none;
}

.clients__list li {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.clients__list li + li::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* Recorrido regional */
.route {
  position: relative;
  padding-top: 24px;
}

.route__line {
  position: absolute;
  top: 32px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .route[data-reveal]:not(.is-visible) .route__line {
    transform: scaleX(0);
  }

  .route[data-reveal].is-visible .route__line {
    animation: draw-x 1.6s var(--ease-out) 0.3s both;
  }
}

@keyframes draw-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.route__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.route__stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.route__dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--ink);
}

.route__stop--last .route__dot {
  background: var(--accent);
}

.route__country {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---- Capítulo final: hoy ---- */
.finale {
  background: var(--accent);
  color: var(--ink);
  scroll-margin-top: 0;
}

.finale__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 48px);
  padding-block: var(--section-y);
}

.finale .chapter__num {
  color: var(--ink);
}

.finale .chapter__date {
  background: var(--ink);
  color: var(--accent);
}

.finale__title {
  font-size: clamp(44px, 7vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.finale__text {
  max-width: 760px;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.6;
}

.finale__statement {
  max-width: 1240px;
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid rgba(11, 11, 12, 0.2);
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

/* ==================== Política de calidad ==================== */

/* ---- Encabezado ---- */
.quality-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quality-hero__lead {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* ---- El estándar ---- */
.standard {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
  padding: clamp(32px, 5vw, 80px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--ink);
}

.standard .eyebrow {
  color: var(--muted-on-light);
}

.standard__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.standard__intro {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--muted-on-light);
}

.standard__rule {
  max-width: 1120px;
  font-size: clamp(34px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.standard__mark {
  padding: 0 0.12em;
  border-radius: 0.12em;
  background: var(--accent);
  color: var(--ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.standard__text {
  max-width: 680px;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--muted-on-light);
}

/* Recorrido de cada proyecto: diagnóstico → validación → verificación → producción */
.gate {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 8px;
  list-style: none;
}

.gate__step {
  position: relative;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
}

/* Flecha entre pasos */
.gate__step + .gate__step::before {
  content: "→";
  position: absolute;
  left: -32px;
  top: 50%;
  width: 32px;
  translate: 0 -50%;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.gate__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-on-light);
}

.gate__label {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.gate__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  list-style: none;
}

.gate__chips li {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

.gate__check {
  margin-top: auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
}

.gate__step--go {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.gate__step--go .gate__num {
  color: var(--muted);
}

.gate__step--go .gate__check {
  background: var(--accent);
  color: var(--ink);
}

@media (max-width: 1100px) {
  .gate {
    grid-template-columns: minmax(0, 1fr);
  }

  .gate__step {
    min-height: 0;
  }

  .gate__step + .gate__step::before {
    content: "↓";
    left: 50%;
    top: -32px;
    height: 32px;
    width: 32px;
    translate: -50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gate__check {
    position: absolute;
    right: 20px;
    top: 50%;
    translate: 0 -50%;
    margin: 0;
  }

  .gate__step:has(.gate__check) {
    padding-right: 72px;
  }
}

/* ---- El estándar en la práctica ---- */
.practice {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 16px;
  list-style: none;
}

.principle {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  padding: 32px;
  border-radius: 28px;
}

.principle:hover {
  background: var(--ink-3);
}

.principle__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.principle__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.principle__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #1C1C1F;
  color: var(--accent);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.45s var(--ease-out);
}

.principle:hover .principle__icon {
  background: var(--accent);
  color: var(--ink);
  transform: rotate(-8deg);
}

.principle__title {
  margin-top: auto;
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.principle__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Cierre ---- */
.closing {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}

.closing__lead {
  max-width: 1100px;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--muted);
}

.closing__statement {
  max-width: 1300px;
  font-size: clamp(40px, 6.4vw, 104px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.closing__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  margin-top: clamp(16px, 3vw, 40px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.closing__sign {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing__doc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.closing__version {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.closing__doc .btn {
  gap: 10px;
}

/* ==================== Cultura organizacional ==================== */

/* Propósito */
.purpose {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}

.purpose__statement {
  max-width: 1240px;
  font-size: clamp(32px, 4.4vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.purpose__foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 28px 80px;
  align-items: end;
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
}

.purpose__text {
  max-width: 680px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--text-2);
}

.purpose__slogan {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.1;
}

@media (max-width: 960px) {
  .purpose__slogan {
    justify-self: start;
  }
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 16px;
}

.mv-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 460px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: clamp(28px, 3vw, 40px);
  color: var(--ink);
}

.mv-card--lime {
  background: var(--accent);
}

.mv-card--paper {
  background: var(--paper);
}

.mv-card .eyebrow {
  color: var(--ink);
}

.mv-card__deco {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
}

.mv-card__text {
  margin-top: auto;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Valores: pestañas */
.values {
  --split-min: 440px;
}

.values__tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.value-tab {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 0 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted-2);
  text-align: left;
  transition: color 0.3s ease;
}

.value-tab:hover,
.value-tab[aria-selected="true"] {
  color: var(--paper);
}

.value-tab__row {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.value-tab__num {
  font-family: var(--font-mono);
  font-size: 13px;
}

.value-tab[aria-selected="true"] .value-tab__num {
  color: var(--accent);
}

.value-tab__name {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.value-tab__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-out);
}

.value-tab[aria-selected="true"] .value-tab__bar {
  transform: scaleX(1);
}

.values__panels {
  position: sticky;
  top: 40px;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(28px, 3vw, 40px);
  background: var(--ink-2);
}

.value-panel {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(32px, 4vw, 56px);
  animation: swap-in 0.6s var(--ease-out) both;
}

.value-panel[hidden] {
  display: none;
}

.value-panel__bg {
  position: absolute;
  right: -2%;
  bottom: -12%;
  font-size: clamp(180px, 22vw, 340px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #1B1B1E;
}

.value-panel__label,
.value-panel__name,
.value-panel__text {
  position: relative;
}

.value-panel__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.value-panel__name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.value-panel__text {
  margin-top: auto;
  max-width: 460px;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.5;
  color: var(--text-2);
}

/* Galería del equipo */
.bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  grid-auto-rows: 280px;
  gap: 16px;
  list-style: none;
}

.bento__tile {
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.bento__tile:hover {
  transform: scale(0.98);
}

.tile-a { background: var(--ink-4); }
.tile-b { background: var(--paper); }
.tile-c { background: var(--accent); }
.tile-d { background: var(--ink-5); }

.tile-a__sun {
  position: absolute;
  left: 12%;
  top: 18%;
  width: 46%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent);
}

.tile-a__ring {
  position: absolute;
  right: 10%;
  bottom: 14%;
  width: 38%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(245, 243, 238, 0.35);
  border-radius: 50%;
}

.tile-b__frame {
  position: absolute;
  inset: 20% 14%;
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.tile-b__line {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 2px;
  background: var(--ink);
}

.tile-c__amp {
  position: absolute;
  right: -10%;
  top: -10%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 240px;
  line-height: 1;
  color: var(--ink);
}

.tile-d__bars {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 26%;
  height: 46%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.tile-d__bars span {
  flex: 1;
  border-radius: 8px;
  background: #3A3A3E;
}

.tile-d__bars span:nth-child(1) { height: 40%; }
.tile-d__bars span:nth-child(2) { height: 70%; }
.tile-d__bars span:nth-child(3) { height: 100%; background: var(--accent); }

/* Únete al equipo */
.join-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--radius-xl);
}

.join-card__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.join-card__title {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.join-card__text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

/* ==================== Impacto social ==================== */
.impact-intro {
  max-width: 620px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 16px;
  list-style: none;
}

.impact-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 340px;
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid rgba(245, 243, 238, 0.14);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  transition: color 0.4s ease, border-color 0.4s ease;
}

.impact-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: -1;
  width: 260%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, 0) scale(0);
  transform-origin: 50% 0;
  transition: transform 0.7s var(--ease-in-out);
}

.impact-card:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.impact-card:hover::before {
  transform: translate(-50%, -60%) scale(1);
}

.impact-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.impact-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
}

.impact-card__title {
  margin-top: auto;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.impact-card__text {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  transition: color 0.4s ease;
}

.impact-card:hover .impact-card__text {
  color: var(--ink);
}

.impact-card__result {
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid rgba(245, 243, 238, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: border-color 0.4s ease;
}

.impact-card:hover .impact-card__result {
  border-color: rgba(11, 11, 12, 0.3);
}

/* Cifras */
.stats {
  border-block: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 40px 24px;
  padding-block: clamp(56px, 6vw, 96px);
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat__value {
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
}

.stat__label {
  font-size: 17px;
  color: var(--muted);
}

/* Iniciativa destacada */
.featured {
  --split-min: 440px;
}

.featured__media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.featured__orb {
  position: absolute;
  left: 14%;
  top: 16%;
  width: 44%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent);
}

.featured__orb--ring {
  left: auto;
  right: 12%;
  top: 30%;
  width: 34%;
  border: 2px solid var(--ink);
  background: transparent;
  animation-delay: -3s;
}

.featured__line {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 16%;
  height: 2px;
  background: var(--ink);
}

.featured__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.featured__title {
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.featured__text {
  max-width: 520px;
}
