body.home-story-enabled { overflow-x: clip; }

/* Entrada cinematográfica y compactación del encabezado principal. */
body.home-story-enabled.header-story-ready .lc-shared-header {
  --header-scroll: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

body.home-story-enabled.header-story-ready .lc-shared-header.is-scrolled,
body.home-story-enabled.header-story-ready .lc-shared-header.is-menu-open {
  background: rgba(42, 26, 12, .96);
  box-shadow: 0 .7rem 2rem rgba(20, 10, 3, .2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.home-story-enabled.header-story-ready .lc-shared-head {
  min-height: calc(5.6rem - var(--header-scroll) * .72rem);
  transition: min-height .25s ease;
}

body.home-story-enabled.header-story-ready .lc-shared-brand img {
  transform: none;
  transition: transform .25s ease;
}

body.home-story-enabled.header-story-ready .lc-shared-brand-text small {
  opacity: calc(1 - var(--header-scroll) * .7);
  transform: translateY(calc(var(--header-scroll) * -.22rem));
  transition: opacity .25s ease, transform .25s ease;
}

body.home-story-enabled.header-story-ready .lc-shared-brand,
body.home-story-enabled.header-story-ready .lc-shared-nav > *,
body.home-story-enabled.header-story-ready .lc-shared-contact > *,
body.home-story-enabled.header-story-ready .lc-shared-menu-button {
  animation: header-story-arrive .72s cubic-bezier(.2, .78, .24, 1) both;
}

body.home-story-enabled.header-story-ready .lc-shared-brand { --header-entry-x: -2.8rem; --header-entry-y: 0rem; animation-delay: .05s; }
body.home-story-enabled.header-story-ready .lc-shared-nav > :nth-child(1) { animation-delay: .13s; }
body.home-story-enabled.header-story-ready .lc-shared-nav > :nth-child(2) { animation-delay: .2s; }
body.home-story-enabled.header-story-ready .lc-shared-nav > :nth-child(3) { animation-delay: .27s; }
body.home-story-enabled.header-story-ready .lc-shared-nav > :nth-child(4) { animation-delay: .34s; }
body.home-story-enabled.header-story-ready .lc-shared-contact > :nth-child(1) { --header-entry-x: 2.4rem; --header-entry-y: 0rem; animation-delay: .25s; }
body.home-story-enabled.header-story-ready .lc-shared-contact > :nth-child(2) { --header-entry-x: 2.8rem; --header-entry-y: 0rem; animation-delay: .34s; }
body.home-story-enabled.header-story-ready .lc-shared-contact > :nth-child(3) { --header-entry-x: 3.2rem; --header-entry-y: 0rem; animation-delay: .43s; }
body.home-story-enabled.header-story-ready .lc-shared-menu-button { --header-entry-x: 2rem; --header-entry-y: 0rem; animation-delay: .18s; }

@keyframes header-story-arrive {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(var(--header-entry-x, 0), var(--header-entry-y, -1.7rem), 0) scale(.96);
  }
  to { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) scale(1); }
}

body.home-story-enabled.header-story-ready .lc-shared-nav > a,
body.home-story-enabled.header-story-ready .lc-shared-dropdown > button {
  position: relative;
}

body.home-story-enabled.header-story-ready .lc-shared-nav > a::after,
body.home-story-enabled.header-story-ready .lc-shared-dropdown > button::after {
  position: absolute;
  right: 0;
  bottom: -.48rem;
  left: 0;
  height: 1px;
  background: #f1d879;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

body.home-story-enabled.header-story-ready .lc-shared-nav > a:hover::after,
body.home-story-enabled.header-story-ready .lc-shared-nav > a:focus-visible::after,
body.home-story-enabled.header-story-ready .lc-shared-dropdown > button:hover::after,
body.home-story-enabled.header-story-ready .lc-shared-dropdown > button:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 52rem) {
  body.home-story-enabled.header-story-ready .lc-shared-head { min-height: 4.8rem; }
  body.home-story-enabled.header-story-ready .lc-shared-brand-text small { opacity: 1; transform: none; }
}

.home-story-enabled .hero {
  --hero-bg-y: 0px;
  --hero-photo-opacity: 1;
  background-color: #f8f4ed;
  background-image: url("../images/hero-carlos-urcina-v2.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100%;
  min-height: clamp(34rem, 75vh, 48rem);
}

/* El hero es claro: el CTA secundario necesita tinta oscura para conservar contraste. */
.home-story-enabled .hero .button--outline {
  color: #0d2a4b;
  border-color: rgba(13, 42, 75, .38);
  background: rgba(255, 253, 249, .28);
}

.home-story-enabled .hero .button--outline:hover,
.home-story-enabled .hero .button--outline:focus-visible {
  color: #0d2a4b;
  background: rgba(255, 253, 249, .72);
  border-color: #b47b18;
}

.home-story-enabled .hero::before {
  position: absolute;
  z-index: 0;
  inset: -3%;
  display: none;
  background: url("../images/hero-latino-consulting-two-person.png") center calc(50% + var(--hero-bg-y)) / cover no-repeat;
  content: "";
  opacity: var(--hero-photo-opacity, 1);
  pointer-events: none;
  transform: translate3d(calc(var(--hero-exit, 0) * 4rem), calc(var(--hero-exit, 0) * -2.7rem), 0) scale(calc(1 + var(--hero-exit, 0) * .055));
  transform-origin: center;
  will-change: transform, opacity;
}

.home-story-enabled .hero-slide.is-active {
  animation: slide-reveal 650ms ease both;
}

.home-story-enabled .hero-slide.is-active > *,
.home-story-enabled .slide-controls {
  opacity: var(--hero-item-opacity, 1);
  filter: none;
  transform: translate3d(var(--hero-item-x, 0), var(--hero-item-y, 0), 0) rotate(var(--hero-item-rotate, 0deg)) scale(var(--hero-item-scale, 1));
  transform-origin: center;
  will-change: transform, opacity;
}

.home-story-enabled .hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 42%, rgba(212, 178, 83, .2) 58%, rgba(244, 239, 231, .92) 100%);
  display: none;
  content: "";
  opacity: var(--hero-exit, 0);
  pointer-events: none;
  transform: translate3d(calc((1 - var(--hero-exit, 0)) * 72%), 0, 0);
  will-change: transform, opacity;
}

.home-story-enabled .hero-inner { position: relative; z-index: 1; }

.home-story-enabled .hero h1 span {
  transform: none;
  transition: none;
}

/* El texto vive en la zona libre de la izquierda: las caras quedan despejadas. */
@media (min-width: 48.0625rem) {
  .home-story-enabled .hero::after {
    display: block;
    background: linear-gradient(90deg, rgba(248, 244, 237, .94) 0%, rgba(248, 244, 237, .82) 35%, rgba(248, 244, 237, .28) 49%, rgba(248, 244, 237, 0) 57%);
    opacity: 1;
    transform: none;
  }

  .home-story-enabled .hero-inner.container {
    width: 100%;
    max-width: none;
    padding-right: clamp(2rem, 6vw, 6rem);
    padding-left: clamp(5rem, 18vw, 22rem);
  }

  .home-story-enabled .hero-slider,
  .home-story-enabled .hero-slide {
    max-width: 46rem;
  }

  .home-story-enabled .hero h1 {
    max-width: 18ch;
    font-size: clamp(2.85rem, 3.75vw, 4.15rem);
    line-height: .98;
  }
}

.home-story-section {
  --story-progress: 0;
  position: relative;
  min-height: min(92vh, 58rem);
  overflow: hidden;
  isolation: isolate;
}

.home-story-section > * { position: relative; z-index: 1; }

.home-story-section::after {
  position: absolute;
  z-index: 0;
  width: min(42vw, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgba(177, 125, 33, .13);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 36%, rgba(212, 178, 83, .14), transparent 68%);
  content: "";
  pointer-events: none;
  transform: translate3d(0, calc((var(--story-progress) - .5) * 9rem), 0) scale(calc(.84 + var(--story-progress) * .2));
  will-change: transform;
}

.home-story-section:nth-of-type(odd)::after { top: 7%; right: -12rem; }
.home-story-section:nth-of-type(even)::after { bottom: 3%; left: -12rem; }

.home-story-enabled .stats.home-story-section {
  min-height: auto;
  overflow: hidden;
}

.home-story-enabled .stats.home-story-section::after { display: none; }

.home-story-item {
  opacity: var(--story-opacity, 0);
  filter: blur(var(--story-blur, 0px));
  transform: translate3d(var(--story-x, 0px), var(--story-y, 3rem), 0) rotate(var(--story-rotate, 0deg)) scale(var(--story-scale, .97));
  will-change: transform, opacity, filter;
}

.home-story-enabled .imprint-closing.home-story-section {
  min-height: 92vh;
}

.home-story-enabled .imprint-closing::after {
  left: 50%;
  top: 50%;
  width: min(70vw, 54rem);
  border-color: rgba(177, 125, 33, .22);
  background: transparent;
  box-shadow: 0 0 0 4rem rgba(212, 178, 83, .035), 0 0 0 9rem rgba(212, 178, 83, .025);
  transform: translate(-50%, -50%) scale(calc(.72 + var(--story-progress) * .34));
}

.home-story-enabled .vision-grid,
.home-story-enabled .about-grid {
  width: min(100% - 2rem, 74rem);
  padding-block: clamp(3rem, 8vh, 6rem);
}

.home-story-enabled .vision-copy,
.home-story-enabled .about-panel { transform-origin: left center; }
.home-story-enabled .scripture,
.home-story-enabled .about-stats { transform-origin: right center; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-story-enabled .vision-story,
.home-story-enabled .about-story {
  height: 185vh;
  min-height: 78rem;
  padding-block: 0;
  overflow: visible;
}

.home-story-enabled .about-story {
  height: 230vh;
  min-height: 95rem;
}

.home-story-enabled .vision-story .vision-grid,
.home-story-enabled .about-story .about-grid {
  position: sticky;
  top: 5.6rem;
  min-height: calc(100vh - 5.6rem);
}

.vision-faith {
  display: grid;
  align-content: center;
  gap: 1rem;
  min-width: 0;
}

.vision-olive {
  position: relative;
  width: min(100%, 28rem);
  height: clamp(12rem, 26vh, 16rem);
  margin-inline: auto;
}

.vision-olive::after {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 216, 121, .75), transparent);
  content: "";
  transform: scaleX(var(--vision-ground, 0));
}

.vision-light {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(241, 216, 121, .24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 216, 121, .16), transparent 67%);
  opacity: var(--vision-light, 0);
  transform: translate(-50%, -50%) scale(var(--vision-light-scale, .65));
}

.olive-seed {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1rem;
  width: 1.2rem;
  height: .72rem;
  background: #d4b253;
  border-radius: 70% 30% 70% 30%;
  box-shadow: 0 0 1.5rem rgba(241, 216, 121, .45);
  opacity: var(--vision-seed, 1);
  transform: translateX(-50%) rotate(-28deg) scale(var(--vision-seed-scale, 1));
}

.olive-trunk {
  position: absolute;
  z-index: 2;
  left: calc(50% - .38rem);
  bottom: 1.25rem;
  width: .76rem;
  height: 58%;
  background: linear-gradient(90deg, #77501d, #c49a4b 48%, #6a4318);
  border-radius: 80% 35% 20% 15%;
  box-shadow: 0 0 1.7rem rgba(212, 178, 83, .13);
  transform: scaleY(var(--vision-trunk, 0));
  transform-origin: bottom;
}

.olive-trunk::before,
.olive-trunk::after {
  position: absolute;
  left: 50%;
  bottom: 54%;
  width: .45rem;
  height: 52%;
  background: #966b2c;
  border-radius: 80% 20%;
  content: "";
  transform-origin: bottom;
}

.olive-trunk::before { transform: rotate(-43deg); }
.olive-trunk::after { transform: rotate(43deg); }

.olive-leaf {
  position: absolute;
  z-index: 3;
  width: clamp(2.8rem, 6vw, 4.6rem);
  height: clamp(1.25rem, 2.8vw, 2.1rem);
  background: linear-gradient(135deg, #a88b3e, #dfc970 58%, #7c662d);
  border: 1px solid rgba(241, 216, 121, .3);
  border-radius: 100% 0 100% 0;
  opacity: var(--vision-leaves, 0);
  box-shadow: .35rem .22rem 0 -.2rem #5d512b, -.25rem .42rem 0 -.22rem #c3a651;
  transform: rotate(var(--leaf-rotation, 0deg)) scale(var(--vision-leaf-scale, .3));
  will-change: opacity, transform;
}

.olive-leaf--1 { left: 25%; top: 38%; --leaf-rotation: -23deg; }
.olive-leaf--2 { left: 34%; top: 20%; --leaf-rotation: 15deg; }
.olive-leaf--3 { left: 47%; top: 9%; --leaf-rotation: -8deg; }
.olive-leaf--4 { right: 29%; top: 23%; --leaf-rotation: 27deg; }
.olive-leaf--5 { right: 20%; top: 42%; --leaf-rotation: 5deg; }
.olive-leaf--6 { left: 38%; top: 45%; --leaf-rotation: -37deg; }
.olive-leaf--7 { right: 38%; top: 48%; --leaf-rotation: 31deg; }

.vision-faith .scripture {
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.vision-faith .scripture blockquote {
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
}

.home-story-enabled .about-story::before {
  position: absolute;
  z-index: 0;
  left: 14%;
  top: 53%;
  width: 72%;
  height: 24%;
  border-top: 2px dashed rgba(177, 125, 33, .24);
  border-radius: 50%;
  content: "";
  opacity: var(--about-path-opacity, 0);
  transform: scaleX(var(--about-path, 0));
  transform-origin: left;
}

.home-story-enabled .about-story .about-grid,
.home-story-enabled .about-story .about-stats { overflow: visible; }
.home-story-enabled .about-story .about-grid { isolation: isolate; }
.home-story-enabled .about-story .about-stats { position: relative; z-index: 12; }
.about-stat--peace { position: relative; z-index: 30; overflow: visible; }

.dove-flight-route {
  position: absolute;
  z-index: 8;
  inset: 4% -5% 8%;
  opacity: var(--dove-route-opacity, 0);
  pointer-events: none;
}

.dove-flight-route > span {
  position: absolute;
  left: 6%;
  right: 7%;
  top: 51%;
  height: 44%;
  border-top: 3px dashed rgba(177, 125, 33, .58);
  border-radius: 50% 50% 0 0;
  filter: drop-shadow(0 0 .55rem rgba(212, 178, 83, .28));
  transform: rotate(-9deg) scaleX(var(--dove-route-draw, 0));
  transform-origin: right;
}

.dove-flight-route i {
  position: absolute;
  width: clamp(.55rem, 1vw, .82rem);
  aspect-ratio: 1;
  background: #d4b253;
  border: 2px solid #f8f4ed;
  border-radius: 50%;
  box-shadow: 0 0 0 .3rem rgba(212, 178, 83, .13);
  opacity: var(--route-point-opacity, 0);
  transform: scale(var(--route-point-scale, .4));
}

.dove-flight-route i:nth-of-type(1) { right: 8%; bottom: 17%; }
.dove-flight-route i:nth-of-type(2) { right: 24%; top: 46%; }
.dove-flight-route i:nth-of-type(3) { right: 41%; top: 25%; }
.dove-flight-route i:nth-of-type(4) { left: 40%; top: 15%; }
.dove-flight-route i:nth-of-type(5) { left: 22%; top: 27%; }
.dove-flight-route i:nth-of-type(6) { left: 6%; top: 47%; }

.peace-dove {
  position: relative;
  z-index: 40;
  display: inline-block;
  filter: drop-shadow(0 .55rem .65rem rgba(0, 0, 0, .22));
  transform: translate3d(var(--dove-x, -40vw), var(--dove-y, -4rem), 0) rotate(var(--dove-rotate, -12deg)) scale(var(--dove-scale, .8));
  transform-origin: center;
  will-change: transform;
}

.home-story-enabled .about-stat strong {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

/* Una lente convierte datos dispersos en una dirección clara. */
.home-story-enabled .imprint-closing.home-story-section {
  display: block;
  height: 165vh;
  min-height: 70rem;
  padding: 0;
  overflow: visible;
}

.home-story-enabled .imprint-closing > div {
  position: sticky;
  top: 5.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(72rem, 100%);
  margin-inline: auto;
  min-height: calc(100vh - 5.6rem);
  padding: 2rem 1rem;
  text-align: center;
}

.home-story-enabled .imprint-closing > div > small,
.home-story-enabled .imprint-closing > div > h2,
.home-story-enabled .imprint-closing > div > p {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.home-story-enabled .imprint-closing > div > h2 {
  max-width: 68rem;
  text-wrap: balance;
}

.home-story-enabled .imprint-closing > div > p {
  max-width: 40rem;
  text-wrap: balance;
}

.clarity-lens {
  position: relative;
  width: min(44rem, 90vw);
  height: clamp(10rem, 23vh, 13.5rem);
  margin: .7rem auto 1.2rem;
}

.clarity-lens::before {
  position: absolute;
  left: 5%;
  top: 50%;
  width: 54%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(91, 59, 22, .25) 0 9px, transparent 9px 17px);
  content: "";
  opacity: var(--lens-noise, 1);
}

.clarity-noise {
  position: absolute;
  z-index: 1;
  left: calc(4% + var(--noise-left, 0%));
  top: var(--noise-top, 20%);
  display: grid;
  align-content: start;
  width: clamp(5.6rem, 11vw, 8rem);
  height: clamp(6.8rem, 13vw, 9.5rem);
  padding: 1rem .8rem;
  overflow: hidden;
  color: #65451d;
  background:
    repeating-linear-gradient(180deg, transparent 0 12px, rgba(101, 69, 29, .14) 13px 14px) .8rem 2.9rem / calc(100% - 1.6rem) calc(100% - 3.6rem) no-repeat,
    #f7f0e2;
  border: 1px solid rgba(101, 69, 29, .24);
  border-radius: .2rem;
  box-shadow: 0 1rem 2.3rem rgba(91, 59, 22, .18);
  font: 800 clamp(.78rem, 1.5vw, 1.08rem)/1 Georgia, serif;
  letter-spacing: .05em;
  opacity: var(--lens-noise, 1);
  transform: translate3d(calc(var(--lens-progress, 0) * -4rem), calc(var(--lens-progress, 0) * var(--noise-drift, 1rem)), 0) rotate(var(--noise-rotation, 0deg));
}
.clarity-noise--1 { --noise-left: 0%; --noise-top: 5%; --noise-drift: -2rem; --noise-rotation: -10deg; }
.clarity-noise--2 { --noise-left: 15%; --noise-top: 42%; --noise-drift: 2rem; --noise-rotation: 8deg; }
.clarity-noise--3 { --noise-left: 29%; --noise-top: 8%; --noise-drift: -1rem; --noise-rotation: 11deg; }
.clarity-noise--4 { --noise-left: 39%; --noise-top: 46%; --noise-drift: 1.5rem; --noise-rotation: -7deg; }

.clarity-lens__glass {
  position: absolute;
  z-index: 3;
  left: 74%;
  top: 46%;
  width: clamp(9rem, 19vw, 13rem);
  aspect-ratio: 1;
  border: clamp(.72rem, 1.4vw, 1.05rem) solid #b17d21;
  border-radius: 50%;
  background: rgba(255, 250, 240, .2);
  box-shadow: inset 0 0 2.4rem rgba(212, 178, 83, .22), 0 1.2rem 2.5rem rgba(91, 59, 22, .18);
  transform: translate(-50%, -50%) translateX(var(--lens-x, -8rem)) rotate(var(--lens-rotation, -16deg));
  will-change: transform;
}

.clarity-lens__glass::after {
  position: absolute;
  left: 78%;
  top: 78%;
  width: clamp(4.5rem, 9vw, 7rem);
  height: clamp(.72rem, 1.2vw, 1rem);
  background: linear-gradient(90deg, #b17d21, #e0c36b);
  border-radius: 999px;
  content: "";
  transform: rotate(45deg);
  transform-origin: left;
}

.clarity-lens__path {
  position: absolute;
  z-index: 2;
  right: 1%;
  top: 50%;
  width: 27%;
  height: 3px;
  background: linear-gradient(90deg, #b17d21, #e0c36b);
  box-shadow: 0 0 1.2rem rgba(177, 125, 33, .38);
  transform: scaleX(var(--lens-path, 0));
  transform-origin: left;
}

.clarity-lens__path::after {
  position: absolute;
  right: -.1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-top: 3px solid #b17d21;
  border-right: 3px solid #b17d21;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

/* La llave recorre los problemas y deja las soluciones organizadas. */
.home-story-enabled .solutions-story {
  height: 230vh;
  min-height: 88rem;
  padding-block: 0;
  overflow: visible;
}

.home-story-enabled .solutions-story > .container {
  position: sticky;
  top: 5.6rem;
  display: grid;
  align-content: center;
  min-height: calc(100vh - 5.6rem);
  padding-block: 2rem;
}

.solutions-story .section-heading { position: relative; z-index: 4; margin-bottom: clamp(1.2rem, 3vh, 2.4rem); }

.solutions-key {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 53%;
  width: clamp(8rem, 16vw, 12rem);
  height: clamp(3rem, 6vw, 4.5rem);
  opacity: var(--key-opacity, 0);
  pointer-events: none;
  filter: drop-shadow(0 1rem 1.3rem rgba(42, 26, 12, .25));
  transform: translate(-50%, -50%) translate3d(var(--key-x, 0), var(--key-y, 0), 0) rotate(var(--key-rotation, -35deg)) scale(var(--key-scale, .65));
  will-change: transform, opacity;
}

.solutions-key__bow {
  position: absolute;
  left: 0;
  top: 50%;
  width: 3.8rem;
  aspect-ratio: 1;
  border: .7rem solid #d4b253;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  transform: translateY(-50%);
}

.solutions-key__shaft {
  position: absolute;
  left: 3.2rem;
  right: .25rem;
  top: 50%;
  height: .72rem;
  background: linear-gradient(90deg, #d4b253, #f1d879);
  border-radius: 999px;
  transform: translateY(-50%);
}

.solutions-key__shaft::before,
.solutions-key__shaft::after {
  position: absolute;
  right: 0;
  width: .7rem;
  height: 1.5rem;
  background: #e5c968;
  content: "";
}
.solutions-key__shaft::before { top: 0; }
.solutions-key__shaft::after { right: 1.25rem; bottom: 0; height: 1.15rem; }

.home-story-enabled .solutions-story .solution-card {
  opacity: var(--solution-opacity, 0);
  transform: translate3d(var(--solution-x, 0), var(--solution-y, 0), 0) rotate(var(--solution-rotation, 0deg)) scale(var(--solution-scale, .9));
  will-change: transform, opacity;
}

.services-story .service-card,
#educacion .education-list li,
.industries-story .industry {
  transform-origin: center;
}

/* Servicios: entrada única, sin responder al desplazamiento después de revelarse. */
@media (min-width: 48.0625rem) {
  .home-story-enabled .services-story.services-scroll-ready .section-heading > *,
  .home-story-enabled .services-story.services-scroll-ready .service-card {
    opacity: 0;
    transform: translate3d(0, 2.5rem, 0) scale(.96);
    transition: opacity .7s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
  }

  .home-story-enabled .services-story.services-scroll-ready.services-scroll-revealed .section-heading > *,
  .home-story-enabled .services-story.services-scroll-ready.services-scroll-revealed .service-card {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .services-story .section-heading > *:nth-child(1) { transition-delay: .05s; }
  .services-story .section-heading > *:nth-child(2) { transition-delay: .18s; }
  .services-story .service-card:nth-child(1) { transition-delay: .28s; }
  .services-story .service-card:nth-child(2) { transition-delay: .38s; }
  .services-story .service-card:nth-child(3) { transition-delay: .48s; }
  .services-story .service-card:nth-child(4) { transition-delay: .58s; }
  .services-story .service-card:nth-child(5) { transition-delay: .68s; }
  .services-story .service-card:nth-child(6) { transition-delay: .78s; }
}

@media (min-width: 48.0625rem) {
  .home-story-enabled .industries-story.industries-scroll-ready .industry {
    opacity: 0 !important;
    filter: none !important;
    transform: translate3d(var(--industry-enter-x, 0), 3.5rem, 0) scale(.92) !important;
    transition: opacity .7s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--industry-order, 0) * .13s);
  }

  .home-story-enabled .industries-story.industries-scroll-ready.industries-scroll-revealed .industry {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  .industries-story .industry:nth-child(1),
  .industries-story .industry:nth-child(4) { --industry-enter-x: -5rem; }
  .industries-story .industry:nth-child(2),
  .industries-story .industry:nth-child(5) { --industry-enter-x: 0; }
  .industries-story .industry:nth-child(3),
  .industries-story .industry:nth-child(6) { --industry-enter-x: 5rem; }
  .industries-story .industry:nth-child(1) { --industry-order: 0; }
  .industries-story .industry:nth-child(2) { --industry-order: 1; }
  .industries-story .industry:nth-child(3) { --industry-order: 2; }
  .industries-story .industry:nth-child(4) { --industry-order: 3; }
  .industries-story .industry:nth-child(5) { --industry-order: 4; }
  .industries-story .industry:nth-child(6) { --industry-order: 5; }
}

.peace-dove {
  opacity: var(--dove-opacity, 1);
}

.peace-dove img {
  display: block;
  width: clamp(8rem, 15vw, 13rem);
  height: auto;
  filter: drop-shadow(0 0 .08rem #b17d21) drop-shadow(0 .65rem .8rem rgba(0, 0, 0, .25));
  image-rendering: auto;
}

.home-story-enabled #servicios,
.home-story-enabled #educacion {
  border-top: 1px solid rgba(241, 216, 121, .12);
}

/* Educación: secuencia clara al entrar en pantalla. */
@media (min-width: 48.0625rem) {
  .home-story-enabled #educacion.education-scroll-ready .education-copy > *,
  .home-story-enabled #educacion.education-scroll-ready .education-list li {
    opacity: 0 !important;
    filter: none !important;
    transition: opacity .75s ease, transform .85s cubic-bezier(.16, 1, .3, 1);
  }
  .home-story-enabled #educacion.education-scroll-ready .education-copy > * { transform: translate3d(-4.5rem, 2rem, 0) !important; }
  .home-story-enabled #educacion.education-scroll-ready .education-list li { transform: translate3d(5rem, 1.8rem, 0) scale(.96) !important; }
  .home-story-enabled #educacion.education-scroll-ready.education-scroll-revealed .education-copy > *,
  .home-story-enabled #educacion.education-scroll-ready.education-scroll-revealed .education-list li { opacity: 1 !important; transform: translate3d(0, 0, 0) scale(1) !important; }
  .home-story-enabled #educacion .education-copy > *:nth-child(1) { transition-delay: .05s; }
  .home-story-enabled #educacion .education-copy > *:nth-child(2) { transition-delay: .16s; }
  .home-story-enabled #educacion .education-copy > *:nth-child(3) { transition-delay: .27s; }
  .home-story-enabled #educacion .education-copy > *:nth-child(4) { transition-delay: .38s; }
  .home-story-enabled #educacion .education-copy > *:nth-child(5) { transition-delay: .49s; }
  .home-story-enabled #educacion .education-list li:nth-child(1) { transition-delay: .4s; }
  .home-story-enabled #educacion .education-list li:nth-child(2) { transition-delay: .53s; }
  .home-story-enabled #educacion .education-list li:nth-child(3) { transition-delay: .66s; }
  .home-story-enabled #educacion .education-list li:nth-child(4) { transition-delay: .79s; }
  .home-story-enabled #educacion .education-list li:nth-child(5) { transition-delay: .92s; }
}

.home-story-enabled .home-story-progress {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(177, 125, 33, .1);
  pointer-events: none;
}

.home-story-enabled .home-story-progress::after {
  display: block;
  width: 100%;
  height: 100%;
  background: #d4b253;
  content: "";
  transform: scaleX(var(--story-progress));
  transform-origin: left;
}

.home-story-enabled .site-footer.home-story-section {
  min-height: auto;
  overflow: hidden;
}

.home-story-enabled .site-footer.home-story-section::after {
  right: -8rem;
  bottom: -11rem;
  border-color: rgba(241, 216, 121, .15);
}

@media (max-width: 48rem) {
  .home-story-enabled .hero { min-height: clamp(31rem, 78vh, 40rem); }
  .home-story-section { min-height: auto; }
  .home-story-enabled .imprint-closing.home-story-section { min-height: 76vh; }
  .home-story-enabled .imprint-closing.home-story-section { height: auto; padding-block: 4rem; overflow: hidden; }
  .home-story-enabled .imprint-closing > div { position: relative; top: auto; min-height: auto; padding: 0 1rem; }
  .clarity-lens { width: min(100%, 30rem); height: 10rem; margin-block: .5rem 1rem; }
  .clarity-noise { width: 4.8rem; height: 6rem; padding: .7rem .55rem; }
  .clarity-lens__glass { left: 72%; width: clamp(7.2rem, 30vw, 9rem); }
  .home-story-section::after { width: 72vw; opacity: .65; }
  .home-story-enabled .vision-grid,
  .home-story-enabled .about-grid { padding-block: 1rem; }
  .home-story-enabled .vision-story,
  .home-story-enabled .about-story { height: auto; min-height: auto; padding-block: 4rem; overflow: hidden; }
  .home-story-enabled .vision-story .vision-grid,
  .home-story-enabled .about-story .about-grid { position: relative; top: auto; min-height: auto; }
  .vision-faith { gap: 1.5rem; }
  .vision-olive { height: 14rem; margin-top: 1rem; }
  .home-story-enabled .about-story::before { display: none; }
  .dove-flight-route { inset: 8% -15% 13%; }
  .dove-flight-route > span { top: 47%; height: 38%; }
  .home-story-enabled .solutions-story { height: auto; min-height: auto; padding-block: 4rem; overflow: hidden; }
  .home-story-enabled .solutions-story > .container { position: relative; top: auto; min-height: auto; padding-block: 0; }
  .solutions-key { position: relative; left: 50%; top: auto; width: 9rem; height: 3.5rem; margin: 0 0 1.5rem; }
  .home-story-enabled .solutions-story .solution-card {
    opacity: var(--story-opacity, 0);
    transform: translate3d(var(--story-x, 0), var(--story-y, 0), 0) rotate(var(--story-rotate, 0deg)) scale(var(--story-scale, .97));
  }
  .home-story-enabled .services-story { height: auto; min-height: auto; padding-block: 4rem; overflow: hidden; }
  .home-story-enabled .services-story > .container { position: relative; top: auto; min-height: auto; padding-block: 0; overflow: visible; }
  .peace-dove img { width: clamp(6rem, 34vw, 9rem); }
}

@media (prefers-reduced-motion: reduce) {
  body.home-story-enabled.header-story-ready .lc-shared-brand,
  body.home-story-enabled.header-story-ready .lc-shared-nav > *,
  body.home-story-enabled.header-story-ready .lc-shared-contact > *,
  body.home-story-enabled.header-story-ready .lc-shared-menu-button { animation: none !important; }
  .home-story-enabled .hero-slide.is-active { animation: none; }
  .home-story-item,
  .home-story-enabled .hero-slide.is-active > *,
  .home-story-enabled .slide-controls {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .home-story-progress,
  .home-story-section::after,
  .home-story-enabled .hero::after { display: none !important; }
  .vision-light { opacity: 1 !important; transform: translate(-50%, -50%) scale(1) !important; }
  .olive-seed { opacity: 1 !important; transform: translateX(-50%) rotate(-28deg) !important; }
  .olive-trunk { opacity: 1 !important; transform: scaleY(1) !important; }
  .olive-leaf { opacity: 1 !important; transform: rotate(var(--leaf-rotation, 0deg)) scale(1) !important; }
  .peace-dove { opacity: 1 !important; transform: none !important; }
  .clarity-lens__glass { transform: translate(-50%, -50%) !important; }
  .clarity-lens__path { transform: scaleX(1) !important; }
  .clarity-noise { opacity: .25 !important; transform: none !important; }
  .solutions-key { opacity: 1 !important; transform: translate(-50%, -50%) rotate(-12deg) !important; }
  .solution-card { opacity: 1 !important; transform: none !important; }
}
