:root {
  --color-night: #1f2a44;
  --color-violet: #5b4d7d;
  --color-gold: #d4af37;
  --color-white: #ffffff;
  --color-gray: #4a4a4a;
  --color-surface: #f7f6fa;
  --color-soft-violet: #ece8f4;
  --line: rgb(31 42 68 / 0.1);
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Montserrat", system-ui, -apple-system, sans-serif;
  --header-h: 4.65rem;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 75rem;
  --shadow-xs: 0 1px 3px rgb(31 42 68 / 0.08);
  --shadow-sm: 0 6px 20px rgb(31 42 68 / 0.08);
  --shadow-md: 0 14px 44px rgb(31 42 68 / 0.12);
  --shadow-lg: 0 26px 68px rgb(31 42 68 / 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(4.4rem, 9vw, 7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--color-gray);
  background:
    radial-gradient(1000px 560px at 0% -8%, rgb(91 77 125 / 0.08), transparent 55%),
    radial-gradient(820px 520px at 100% 102%, rgb(212 175 55 / 0.08), transparent 52%),
    var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.section__title,
.hero__title,
.hero__kicker,
.hero__method-name,
.brand__text,
.site-nav a,
.method-card__name,
.result-card h3,
.site-footer__brand {
  font-family: var(--font-display);
}

.reveal-target {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(6px);
  transition:
    opacity 0.72s var(--ease),
    transform 0.72s var(--ease),
    filter 0.72s var(--ease);
}

.reveal-target--left {
  transform: translate3d(-26px, 16px, 0);
}

.reveal-target--right {
  transform: translate3d(26px, 16px, 0);
}

.reveal-target--zoom {
  transform: scale(0.96);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 0.8rem);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--color-night);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 42rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-night);
  z-index: 10000;
  border-radius: var(--radius-sm);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.site-header--solid {
  background: rgb(255 255 255 / 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgb(31 42 68 / 0.06), 0 10px 30px rgb(31 42 68 / 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-white);
}

.site-header--solid .brand {
  color: var(--color-night);
}

.brand__mark {
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.14);
}

.brand__text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand__line {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgb(255 255 255 / 0.85);
}

.site-header--solid .brand__line {
  color: var(--color-violet);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 1.5rem;
  background: var(--color-white);
  margin-inline: auto;
}

.site-header--solid .nav-toggle__bar {
  background: var(--color-night);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
}

.site-header--solid .site-nav a {
  color: var(--color-night);
}

.site-nav a:hover {
  color: var(--color-gold);
}

.site-nav a.is-active:not(.site-nav__cta) {
  color: var(--color-gold);
}

.site-header--solid .site-nav a.is-active:not(.site-nav__cta) {
  color: var(--color-violet);
}

.site-nav__cta {
  padding: 0.58rem 1.2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, #e4c566 0%, var(--color-gold) 42%, #b89430 100%);
  box-shadow: 0 5px 16px rgb(212 175 55 / 0.4);
  color: var(--color-white) !important;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.2);
}

.site-header--solid .site-nav__cta {
  color: var(--color-night) !important;
  text-shadow: none;
}

.hero {
  position: relative;
  min-height: min(100vh, 58rem);
  color: var(--color-white);
  background: rgb(4 6 12);
  overflow: hidden;
}

/* Fondo: imagen NEUREXA (Gemini) + capas de marca (violeta/oro) para legibilidad */
.hero__bg {
  position: absolute;
  inset: 0;
  background-color: rgb(5 7 14);
  background-image:
    radial-gradient(ellipse 100% 85% at 0% 0%, rgb(91 77 125 / 0.42) 0%, transparent 52%),
    radial-gradient(ellipse 90% 70% at 100% 15%, rgb(46 79 141 / 0.3) 0%, transparent 48%),
    radial-gradient(ellipse 80% 55% at 80% 90%, rgb(212 175 55 / 0.09) 0%, transparent 50%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgb(20 26 48 / 0.72) 0%, transparent 45%),
    linear-gradient(165deg, rgb(6 8 16 / 0.82) 0%, rgb(12 16 32 / 0.78) 42%, rgb(5 7 14 / 0.9) 100%),
    url("../assets/hero-neurexa-gemini.png");
  background-size: cover, cover, cover, cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0) translateY(var(--hero-parallax, 0));
}

@media (min-width: 901px) {
  .hero__bg {
    will-change: transform;
  }
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-pattern.svg");
  background-size: 400px 400px;
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgb(212 175 55 / 0.12), transparent 55%),
    linear-gradient(180deg, rgb(4 6 12 / 0.4) 0%, transparent 42%, rgb(3 4 10 / 0.92) 100%);
  pointer-events: none;
}

/* Líneas y brillo abstractos (sin imágenes) */
.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 46%,
      rgb(212 175 55 / 0.07) 49.2%,
      rgb(212 175 55 / 0.07) 50.2%,
      transparent 53%,
      transparent 100%
    ),
    radial-gradient(circle at 88% 35%, rgb(255 255 255 / 0.04) 0%, transparent 28%);
  opacity: 0.95;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 2.4rem);
  padding-bottom: 3.25rem;
}

.hero__inner::before {
  content: "";
  position: absolute;
  right: -5%;
  top: 18%;
  width: min(55vw, 28rem);
  height: min(55vw, 28rem);
  background: radial-gradient(circle at center, rgb(91 77 125 / 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "copy visual"
    "actions visual";
  row-gap: 1.1rem;
  column-gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  align-content: center;
  min-height: 0;
}

/* Columna izquierda escritorio: intro + detalle apilados (sin recuadro) */
.hero__copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero__detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero__copy .hero__title,
.hero__copy .hero__subtitle,
.hero__copy .hero__tagline,
.hero__copy .hero__method-name,
.hero__copy .hero__accent,
.hero__copy .hero__micro {
  text-shadow: none;
}

.hero__copy .hero__kicker {
  text-shadow: none;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin-bottom: 0.38rem;
}

.hero__meta .hero__kicker,
.hero__meta .hero__method-name {
  margin: 0;
}

.hero__kicker {
  margin: 0 0 0.38rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.86);
}

.hero__method-name {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 2.6vw, 1.52rem);
  color: #f1cd6a;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__tagline {
  margin: 0 0 1.35rem;
  font-style: italic;
  color: #f1cd6a;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero__accent {
  color: var(--color-gold);
}

.hero__subtitle {
  margin: 0 0 1.05rem;
  max-width: 37rem;
  color: rgb(255 255 255 / 0.84);
  font-weight: 400;
}

.hero__micro {
  display: inline-block;
  margin: 0 0 1.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(212 175 55 / 0.28);
  background: rgb(8 10 20 / 0.55);
  color: rgb(255 255 255 / 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero__actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  padding-inline: 0;
  padding-top: 0.15rem;
  padding-bottom: 0.1rem;
}

/* Columna visual: retrato en marco rectangular (misma proporción que el PNG) */
.hero__visual {
  grid-area: visual;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  min-width: 0;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.hero__visual::before {
  display: none;
}

.hero__portrait {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  aspect-ratio: 682 / 1024;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 20px 44px rgb(0 0 0 / 0.38);
}

.hero__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(100%, 22rem);
  max-width: 100%;
  flex: none;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: rgb(5 7 14);
  border: 1px solid rgb(255 255 255 / 0.12);
  aspect-ratio: 682 / 1024;
  box-shadow: 0 20px 44px rgb(0 0 0 / 0.38);
}

.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    200deg,
    rgb(255 255 255 / 0.08) 0%,
    transparent 35%,
    transparent 65%,
    rgb(5 7 14 / 0.45) 100%
  );
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center center;
  border-radius: inherit;
  border: none;
  box-shadow: none;
}

/* Banner NEUREXA en hero (reemplaza retrato circular) */
.hero__visual--banner::before {
  display: none;
}

.hero__portrait.hero__portrait--banner {
  aspect-ratio: 1024 / 682;
  width: min(100%, 28rem);
  max-width: 100%;
  border-radius: 1.25rem;
  padding: 0;
  background: transparent;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.1) inset,
    0 28px 56px rgb(0 0 0 / 0.45);
}

.hero__figure.hero__figure--banner {
  border-radius: 1.15rem;
  aspect-ratio: 1024 / 682;
}

.hero__figure.hero__figure--banner::after {
  opacity: 0.55;
}

.hero__photo.hero__photo--banner {
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 901px) {
  .hero__micro {
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    column-gap: clamp(2rem, 4vw, 3.25rem);
    align-items: center;
  }

  .hero__copy {
    justify-self: start;
    width: 100%;
    max-width: 40rem;
  }

  .hero__visual {
    min-height: 0;
    align-self: center;
  }

  .hero__portrait {
    width: min(24rem, 100%);
    max-width: 26rem;
    padding: 0;
    border-radius: 0;
  }

  .hero__portrait.hero__portrait--banner {
    width: min(100%, 28rem);
    max-width: 30rem;
    padding: 0;
    border-radius: 1.25rem;
  }

  .hero__figure {
    width: min(24rem, 100%);
    max-width: 26rem;
    aspect-ratio: 682 / 1024;
    border-radius: 0;
  }

  .hero__figure.hero__figure--banner {
    aspect-ratio: 1024 / 682;
  }

  .hero__photo {
    position: absolute;
    inset: 0;
    object-fit: contain;
    object-position: center center;
  }

  .hero__photo.hero__photo--banner {
    object-fit: cover;
    object-position: center center;
  }

  .hero__actions {
    justify-self: start;
    max-width: 40rem;
    width: 100%;
  }

  .hero__detail .hero__subtitle {
    margin-bottom: 0.85rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.55rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn--primary {
  background: linear-gradient(145deg, #e4c566 0%, var(--color-gold) 42%, #b89430 100%);
  color: var(--color-night);
  box-shadow: 0 8px 24px rgb(212 175 55 / 0.38);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgb(212 175 55 / 0.45);
}

.btn--on-dark.btn--primary {
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-violet);
  border-color: rgb(91 77 125 / 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgb(255 255 255 / 0.45);
}

.btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
}

.section {
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden;
}

.section ~ .section {
  border-top: 1px solid var(--line);
}

.section--surface {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  border-radius: 2rem;
  box-shadow: 0 14px 36px rgb(31 42 68 / 0.07);
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-surface) 100%);
}

.section--surface::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -120px;
  top: -110px;
  background: radial-gradient(circle, rgb(91 77 125 / 0.15), transparent 68%);
}

.section--muted {
  background:
    linear-gradient(180deg, rgb(247 246 250 / 0.96), rgb(247 246 250 / 0.96)),
    repeating-linear-gradient(-45deg, rgb(91 77 125 / 0.03) 0, rgb(91 77 125 / 0.03) 12px, transparent 12px, transparent 26px);
}

.section--eval {
  position: relative;
  background:
    radial-gradient(900px 520px at 12% 8%, rgb(91 77 125 / 0.12), transparent 55%),
    radial-gradient(720px 480px at 92% 18%, rgb(212 175 55 / 0.1), transparent 50%),
    linear-gradient(180deg, rgb(255 255 255 / 0.98), rgb(247 246 250 / 0.88));
}

.section__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 3vw, 2.08rem);
  color: var(--color-night);
}

.section__title--center,
.section--center {
  text-align: center;
}

.section__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-violet);
  font-weight: 700;
}

.section__subtitle {
  max-width: 36rem;
  margin: -0.5rem auto 2.75rem;
  text-align: center;
  font-style: italic;
  color: rgb(74 74 74 / 0.92);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split__text .section__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-gold), rgb(212 175 55 / 0.2));
}

.split__lead {
  margin: 0 0 1.25rem;
  color: var(--color-night);
}

.media-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.about-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.about-card {
  border-radius: var(--radius);
  border: 1px solid rgb(91 77 125 / 0.16);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.98), rgb(247 246 250 / 0.9));
  box-shadow: 0 12px 24px rgb(31 42 68 / 0.08);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  padding: 0.55rem;
}

.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgb(31 42 68 / 0.12);
}

.about-card__toggle {
  width: 100%;
  border: 1px solid rgb(91 77 125 / 0.18);
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.95), rgb(244 241 250 / 0.94));
  padding: 0.95rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 18px rgb(31 42 68 / 0.08);
}

.about-card__heading-wrap {
  display: grid;
  gap: 0.1rem;
  flex: 1;
}

.about-card__icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.about-card--identity .about-card__icon {
  background: linear-gradient(145deg, #6f62a0, #4f4576);
}

.about-card--mission .about-card__icon {
  background: linear-gradient(145deg, #d7b44c, #b8932d);
}

.about-card--vision .about-card__icon {
  background: linear-gradient(145deg, #2e4f8d, #1f2a44);
}

.about-card__title {
  margin: 0;
  font-size: 1rem;
  color: var(--color-night);
}

.about-card__label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-violet);
  font-weight: 600;
}

.about-card__chev {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 1px solid rgb(91 77 125 / 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-card__chev::before,
.about-card__chev::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 1.5px;
  background: var(--color-violet);
  transition: transform 0.26s var(--ease), opacity 0.2s var(--ease);
}

.about-card__chev::after {
  transform: rotate(90deg);
}

.about-card.is-open .about-card__chev::after {
  opacity: 0;
  transform: rotate(90deg) scaleX(0.2);
}

.about-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
  opacity: 0;
  transform: translateY(-6px);
  margin-top: 0.5rem;
  border: 1px solid rgb(91 77 125 / 0.14);
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.92), rgb(247 246 250 / 0.78));
  box-shadow: 0 8px 18px rgb(31 42 68 / 0.07);
}

.about-card__body p {
  margin: 0;
  padding: 1rem 1.15rem 1.25rem;
  line-height: 1.62;
}

.about-card.is-open .about-card__body {
  opacity: 1;
  transform: translateY(0);
}

#instituto {
  --section-y: clamp(3.2rem, 6vw, 4.9rem);
}

#instituto .split {
  gap: clamp(1.15rem, 2.5vw, 2rem);
  align-items: start;
}

#instituto .split__text {
  max-width: 40rem;
}

#instituto .split__media {
  justify-self: end;
  width: min(100%, 32rem);
}

#instituto .media-frame {
  border-radius: 1.1rem;
}

#instituto .media-frame img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

#instituto .about-grid {
  margin-top: 1.3rem;
  gap: 0.8rem;
}

#problema {
  --section-y: clamp(3.3rem, 6vw, 5rem);
}

.problema-panel {
  padding: clamp(1.2rem, 2vw, 1.9rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgb(91 77 125 / 0.12);
  background:
    radial-gradient(420px 280px at 100% 0%, rgb(91 77 125 / 0.09), transparent 65%),
    linear-gradient(145deg, rgb(255 255 255 / 0.96), rgb(247 246 250 / 0.94));
  box-shadow: 0 16px 40px rgb(31 42 68 / 0.1);
  display: grid;
  gap: 1rem;
  opacity: 0.98;
  transform: translateY(8px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.problema__content {
  text-align: left;
}

#problema .section__title {
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1.2;
  max-width: 24ch;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.list-plain--cards {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  max-width: 100%;
  text-align: left;
}

.list-plain--cards li {
  padding: 0.82rem 1rem 0.82rem 2.5rem;
  position: relative;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.8));
  border: 1px solid rgb(91 77 125 / 0.14);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgb(31 42 68 / 0.06);
  color: var(--color-night);
  opacity: 0;
  transform-origin: top;
  transform: translateY(10px) scaleY(0.86);
  filter: blur(2px);
}

.list-plain--cards li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-gold), #b8932d);
  transform: translateY(-50%);
}

.problema__closing {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(90deg, rgb(91 77 125 / 0.08), transparent 85%);
  font-weight: 700;
  color: var(--color-night);
  opacity: 0;
  transform: translateY(10px);
}

.problem-photo {
  margin: 1.75rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgb(91 77 125 / 0.14);
}

.problem-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(0.9);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

#problema.is-inview .problema-panel {
  transform: none;
  box-shadow: 0 22px 46px rgb(31 42 68 / 0.14);
}

#problema.is-inview .list-plain--cards li {
  animation: problemDeploy 560ms var(--ease) forwards;
}

#problema.is-inview .list-plain--cards li:nth-child(1) { animation-delay: 40ms; }
#problema.is-inview .list-plain--cards li:nth-child(2) { animation-delay: 120ms; }
#problema.is-inview .list-plain--cards li:nth-child(3) { animation-delay: 200ms; }
#problema.is-inview .list-plain--cards li:nth-child(4) { animation-delay: 280ms; }
#problema.is-inview .list-plain--cards li:nth-child(5) { animation-delay: 360ms; }

#problema.is-inview .problema__closing {
  animation: problemDeploy 560ms var(--ease) forwards;
  animation-delay: 420ms;
}

#problema.is-inview .problem-photo img {
  transform: scale(1);
  filter: saturate(1);
}

@keyframes problemDeploy {
  from {
    opacity: 0;
    transform: translateY(10px) scaleY(0.86);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

#metodo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.heading-rule {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.heading-rule--metodo {
  margin-bottom: 1.1rem;
}

.heading-rule__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(91 77 125 / 0.35), transparent);
}

.method-unified {
  margin-top: 0.35rem;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(91 77 125 / 0.16);
  background:
    radial-gradient(520px 200px at 8% 0%, rgb(91 77 125 / 0.1), transparent 72%),
    radial-gradient(480px 180px at 92% 8%, rgb(212 175 55 / 0.11), transparent 68%),
    linear-gradient(165deg, rgb(255 255 255 / 0.98), rgb(247 246 250 / 0.94));
  box-shadow: 0 12px 32px rgb(31 42 68 / 0.09);
}

.method-unified__intro {
  text-align: center;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(91 77 125 / 0.12);
}

.method-unified__intro .metodo-extended__title {
  margin: 0 0 0.55rem;
}

.method-unified__intro .metodo-extended__intro {
  margin: 0 auto;
}

.method-unified__foot {
  margin-top: 1.1rem;
  margin-bottom: 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgb(91 77 125 / 0.1);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
}

.method-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 100%;
}

.method-stack__step {
  flex-shrink: 0;
  padding: 0.48rem 0.4rem;
  margin-bottom: 0.2rem;
  border-radius: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-night);
  background: linear-gradient(145deg, rgb(255 255 255 / 0.98), rgb(247 246 250 / 0.92));
  border: 1px solid rgb(91 77 125 / 0.2);
  box-shadow: 0 4px 12px rgb(31 42 68 / 0.06);
}

.method-stack--eval .method-stack__step { border-color: rgb(46 79 141 / 0.45); }
.method-stack--patrones .method-stack__step { border-color: rgb(111 98 160 / 0.45); }
.method-stack--estrategias .method-stack__step { border-color: rgb(184 147 45 / 0.5); }
.method-stack--entrenamiento .method-stack__step { border-color: rgb(31 42 68 / 0.38); }
.method-stack--seguimiento .method-stack__step { border-color: rgb(91 77 125 / 0.45); }

.method-stack__rail {
  flex: 0 0 0.65rem;
  width: 3px;
  margin: 0 auto 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(91 77 125 / 0.45), rgb(91 77 125 / 0.08));
}

.method-stack--eval .method-stack__rail {
  background: linear-gradient(180deg, #2e4f8d, rgb(46 79 141 / 0.12));
}

.method-stack--patrones .method-stack__rail {
  background: linear-gradient(180deg, #6f62a0, rgb(111 98 160 / 0.15));
}

.method-stack--estrategias .method-stack__rail {
  background: linear-gradient(180deg, #d7b44c, rgb(215 180 76 / 0.2));
}

.method-stack--entrenamiento .method-stack__rail {
  background: linear-gradient(180deg, #243049, rgb(36 48 73 / 0.18));
}

.method-stack--seguimiento .method-stack__rail {
  background: linear-gradient(180deg, #5b4d7d, rgb(91 77 125 / 0.2));
}

.method-card {
  position: relative;
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.96) 0%, rgb(240 236 248 / 0.82) 100%);
  border: 1px solid rgb(91 77 125 / 0.14);
  border-radius: 1rem;
  padding: 1.05rem 0.85rem 0.95rem;
  text-align: center;
  box-shadow: 0 10px 24px rgb(31 42 68 / 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  animation: methodFloatIn 0.65s var(--ease) both;
}

.method-stack:nth-child(1) .method-card { animation-delay: 0ms; }
.method-stack:nth-child(2) .method-card { animation-delay: 80ms; }
.method-stack:nth-child(3) .method-card { animation-delay: 160ms; }
.method-stack:nth-child(4) .method-card { animation-delay: 240ms; }
.method-stack:nth-child(5) .method-card { animation-delay: 320ms; }

.method-card::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  top: 0.45rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(31 42 68 / 0.1), rgb(31 42 68 / 0.04));
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgb(31 42 68 / 0.16);
}

.method-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.7rem;
  background: rgb(255 255 255 / 0.9);
  border: 1px solid rgb(91 77 125 / 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25);
}

.method-card__svg {
  width: 1.28rem;
  height: 1.28rem;
  stroke: var(--color-night);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.method-card__name {
  margin: 0 0 0.38rem;
  font-size: 0.86rem;
  line-height: 1.32;
  color: var(--color-night);
}

.method-card__desc {
  margin: 0;
  font-size: 0.77rem;
  color: rgb(31 42 68 / 0.82);
}

.method-card--eval::after {
  background: linear-gradient(90deg, #2e4f8d, #6f62a0);
}

.method-card--patrones::after {
  background: linear-gradient(90deg, #6f62a0, #a78cc9);
}

.method-card--estrategias::after {
  background: linear-gradient(90deg, #b8932d, #d7b44c);
}

.method-card--entrenamiento::after {
  background: linear-gradient(90deg, #243049, #2e4f8d);
}

.method-card--seguimiento::after {
  background: linear-gradient(90deg, #5b4d7d, #b8932d);
}

.metodo-extended__title,
.metodo-extended__foot {
  text-align: center;
}

.metodo-extended__intro {
  margin: 0 auto;
  max-width: 52rem;
  text-align: center;
  color: rgb(31 42 68 / 0.84);
}

@keyframes methodFloatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =============================================
   SECCIÓN PROGRAMA
   ============================================= */

.section--programa {
  width: 100%;
  padding-block: var(--section-y);
  overflow: visible;
  border-top: none !important;
  background:
    radial-gradient(600px 320px at 8% 6%, rgb(212 175 55 / 0.14), transparent 65%),
    radial-gradient(700px 400px at 92% 92%, rgb(91 77 125 / 0.28), transparent 60%),
    linear-gradient(160deg, #0f1526 0%, #1a2340 45%, #201936 100%);
}

.programa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* ---- Columna izquierda ---- */
.programa-left {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.programa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  padding: 0.38rem 0.82rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(212 175 55 / 0.5);
  color: #f1cd6a;
  background: rgb(212 175 55 / 0.1);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  align-self: flex-start;
}

.programa-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.programa-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
}

.programa-title span {
  color: var(--color-gold);
}

.programa-sub {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.7);
}

.programa-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.74;
  color: rgb(255 255 255 / 0.82);
}

/* Pillares */
.programa-pillars {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
}

.programa-pillars article {
  flex: 1;
  border: 1px solid rgb(212 175 55 / 0.22);
  border-radius: 0.75rem;
  background: linear-gradient(160deg, rgb(91 77 125 / 0.2), rgb(255 255 255 / 0.04));
  padding: 0.6rem 0.85rem 0.65rem;
}

.programa-pillars h3 {
  margin: 0;
  font-size: 0.9rem;
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
}

.programa-pillars p {
  margin: 0.14rem 0 0;
  font-size: 0.72rem;
  color: rgb(255 255 255 / 0.58);
}

/* Features */
.programa-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.46rem 1.2rem;
}

.programa-features p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  font-size: 0.88rem;
  color: rgb(255 255 255 / 0.86);
}

.programa-features svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgb(212 175 55 / 0.88);
  opacity: 1;
}

/* Botones */
.programa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.2rem;
}

.programa-actions .btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.programa-actions .btn--primary svg {
  width: 14px;
  height: 14px;
}

.btn--prog-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(255 255 255 / 0.35);
  background: transparent;
  color: rgb(255 255 255 / 0.95);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn--prog-ghost:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.55);
}

/* ---- Columna derecha: card ---- */
.programa-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.prog-card {
  width: 100%;
  max-width: 27rem;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: linear-gradient(175deg, #192036 0%, #0e1520 100%);
  box-shadow:
    0 2px 8px rgb(0 0 0 / 0.3),
    0 20px 56px rgb(0 0 0 / 0.55);
}

/* Barra de dots macOS */
.prog-card__chrome {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.7rem 1rem 0.55rem;
  background: rgb(255 255 255 / 0.03);
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
}

.prog-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.prog-card__dot--r { background: #ff5f57; }
.prog-card__dot--y { background: #febc2e; }
.prog-card__dot--g { background: #28c840; }

/* Cabecera de la card */
.prog-card__head {
  padding: 1rem 1.15rem 0.9rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: linear-gradient(100deg, rgb(91 77 125 / 0.25) 0%, transparent 70%);
}

.prog-card__label {
  margin: 0 0 0.18rem;
  font-size: 0.76rem;
  color: rgb(255 255 255 / 0.6);
  font-family: var(--font-display);
}

.prog-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: #fff;
}

/* Timeline */
.prog-card__timeline {
  list-style: none;
  margin: 0;
  padding: 1.05rem 1.15rem 0.7rem;
}

.prog-card__timeline li {
  position: relative;
  padding: 0 0 1.1rem 1.6rem;
}

.prog-card__timeline li:last-child {
  padding-bottom: 0.1rem;
}

/* Línea vertical entre items */
.prog-card__timeline li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.62rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgb(212 175 55 / 0.45), rgb(91 77 125 / 0.35));
  opacity: 0.85;
}

.prog-card__timeline li:last-child::before {
  display: none;
}

/* Círculo (dorado / marca) */
.prog-card__timeline li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #e4c566, #c9a44c);
  box-shadow: 0 0 0 3px rgb(212 175 55 / 0.22);
}

.prog-tl__week {
  display: block;
  font-size: 0.72rem;
  color: rgb(232 206 122 / 0.95);
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 0.14rem;
  letter-spacing: 0.02em;
}

.prog-tl__title {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
}

.prog-tl__desc {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.58);
}

/* Stats footer */
.prog-card__stats {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  border-top: 1px solid rgb(255 255 255 / 0.09);
  background: rgb(0 0 0 / 0.15);
  padding: 0.8rem 0.8rem;
  gap: 0;
}

.prog-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
}

.prog-stat:not(:first-child) {
  border-left: 1px solid rgb(255 255 255 / 0.09);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.06rem;
  padding: 0 0.4rem;
}

.prog-stat svg {
  width: 24px;
  height: 24px;
  color: rgb(212 175 55 / 0.45);
  flex-shrink: 0;
}

.prog-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;
}

.prog-stat span {
  font-size: 0.68rem;
  color: rgb(255 255 255 / 0.56);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prog-stat--people strong { color: #f1cd6a; }
.prog-stat:nth-child(2) strong { color: #e8d48a; }
.prog-stat:nth-child(3) strong { color: var(--color-gold); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.split__aside {
  display: flex;
  justify-content: center;
  align-items: center;
}

.panel--lift {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(91 77 125 / 0.12);
  box-shadow: var(--shadow-md);
  background: linear-gradient(145deg, var(--color-white) 0%, var(--color-surface) 100%);
  position: relative;
}

.panel--lift::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--color-gold), var(--color-violet));
}

.eval-showcase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1rem, 2.5vw, 1.45rem);
}

.eval-showcase__aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
}

.eval-showcase__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  animation: evalOrbFloat 22s ease-in-out infinite;
}

.eval-showcase__orb--a {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  background: rgb(79 140 255 / 0.42);
  top: -12%;
  right: -8%;
}

.eval-showcase__orb--b {
  width: min(260px, 48vw);
  height: min(260px, 48vw);
  background: rgb(212 175 55 / 0.38);
  bottom: -6%;
  left: -4%;
  animation-delay: -7s;
}

.eval-showcase__orb--c {
  width: min(200px, 40vw);
  height: min(200px, 40vw);
  background: rgb(91 77 125 / 0.35);
  top: 38%;
  left: 35%;
  animation-delay: -14s;
}

@keyframes evalOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(18px, -14px) scale(1.06);
  }

  66% {
    transform: translate(-12px, 20px) scale(0.96);
  }
}

.eval-kicker {
  margin: 0 0 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(47 62 100);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.95), rgb(236 232 244 / 0.92));
  border: 1px solid rgb(91 77 125 / 0.2);
  box-shadow: 0 4px 16px rgb(31 42 68 / 0.06);
}

.eval-photo {
  position: relative;
  margin: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  align-self: stretch;
  box-shadow:
    0 12px 36px rgb(31 42 68 / 0.14),
    0 0 0 1px rgb(91 77 125 / 0.12);
}

.eval-photo__shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgb(255 255 255 / 0.12) 48%,
    rgb(255 255 255 / 0.22) 50%,
    rgb(255 255 255 / 0.08) 52%,
    transparent 62%
  );
  background-size: 200% 200%;
  animation: evalShine 7s ease-in-out infinite;
}

@keyframes evalShine {
  0%,
  100% {
    background-position: 120% 50%;
  }

  50% {
    background-position: -20% 50%;
  }
}

.eval-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: 100%;
  width: 100%;
  transform: scale(1.03);
  transition: transform 1s var(--ease), filter 0.8s var(--ease);
  filter: saturate(1.05) contrast(1.02);
}

.eval-showcase:hover .eval-photo img {
  transform: scale(1.06);
}

.eval-chips {
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
}

.eval-chips li {
  margin: 0;
}

.eval-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.45rem 0.55rem 0.45rem 0.5rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  font-family: var(--font-display);
  color: var(--color-night);
  border: 1px solid rgb(91 77 125 / 0.14);
  background: linear-gradient(155deg, rgb(255 255 255 / 0.98), rgb(247 246 250 / 0.88));
  box-shadow: 0 4px 14px rgb(31 42 68 / 0.07);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.eval-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgb(31 42 68 / 0.12);
  border-color: rgb(91 77 125 / 0.28);
}

.eval-chip__step {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.2rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--color-white);
  background: linear-gradient(145deg, #5b4d7d, #9b8bc4);
}

.eval-chip__text {
  flex: 1;
  min-width: 0;
}

.btn--eval-cta {
  position: relative;
  overflow: hidden;
  border: none;
  background: linear-gradient(135deg, #c9a227 0%, #d4af37 38%, #e8c547 100%);
  color: #1f2a44;
  font-weight: 700;
  box-shadow:
    0 6px 22px rgb(212 175 55 / 0.45),
    0 2px 0 rgb(255 255 255 / 0.35) inset;
}

.btn--eval-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: evalCtaSheen 3.2s ease-in-out infinite;
}

@keyframes evalCtaSheen {
  0%,
  60% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

.btn--eval-cta:hover {
  filter: brightness(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .eval-showcase__orb {
    animation: none;
    opacity: 0.32;
  }

  .eval-photo__shine {
    animation: none;
    opacity: 0;
  }

  .btn--eval-cta::after {
    animation: none;
  }

  .eval-showcase:hover .eval-photo img {
    transform: scale(1.03);
  }
}

.section--closure .container.closure {
  position: relative;
  z-index: 1;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.resultados-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.resultados-head .section__eyebrow {
  margin: 0 0 0.1rem;
}

.resultados-head .section__title {
  margin: 0;
}

.resultados-head__lead {
  margin: 0;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgb(31 42 68 / 0.78);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.result-card {
  background: linear-gradient(160deg, rgb(255 255 255 / 0.96), rgb(247 246 250 / 0.88));
  border-radius: var(--radius-lg);
  padding: 1.15rem 1rem;
  border: 1px solid rgb(91 77 125 / 0.1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.result-card::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 0.8rem;
  width: 2.2rem;
  height: 0.2rem;
  border-radius: 999px;
  background: rgb(91 77 125 / 0.25);
}

.result-card h3 {
  margin: 0;
  padding-top: 0.55rem;
  font-size: 1.06rem;
}

.result-card--c1::before { background: #2e4f8d; }
.result-card--c2::before { background: #6f62a0; }
.result-card--c3::before { background: #d7b44c; }
.result-card--c4::before { background: #243049; }

.eval-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.1rem;
  align-items: stretch;
}

.eval-content {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0.5rem;
}

.eval-content .section__title {
  margin-bottom: 0.7rem;
}

.eval-content .section__lead {
  margin-top: 0;
}

.eval-content .section__actions {
  margin-top: 1rem;
}

#cupos .cupos-layout {
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(91 77 125 / 0.2);
  background: linear-gradient(150deg, rgb(255 255 255 / 0.95), rgb(247 246 250 / 0.92));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.cupos-copy .section__title {
  margin-bottom: 0.45rem;
}

.cupos-copy p {
  margin: 0;
}

.cupos-badge {
  min-width: 12rem;
  border-radius: 1rem;
  border: 1px solid rgb(91 77 125 / 0.2);
  background: linear-gradient(160deg, rgb(91 77 125 / 0.14), rgb(31 42 68 / 0.08));
  padding: 0.9rem 1rem;
  text-align: center;
}

.cupos-badge--unified {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cupos-badge__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  line-height: 1.2;
}

.cupos-badge__n {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-night);
  font-weight: 700;
}

.cupos-badge__detail {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-violet);
  font-weight: 600;
}

.section--cta-final {
  background:
    radial-gradient(80% 120% at 50% 120%, rgb(212 175 55 / 0.12) 0%, transparent 55%),
    linear-gradient(165deg, #67588a 0%, var(--color-violet) 45%, #46395f 100%);
  color: var(--color-white);
  border-top: 0 !important;
}

.section--cta-final .section__title {
  color: var(--color-white);
}

.section--cta-final__inner {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(255 255 255 / 0.2);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.section--cta-final__inner .section__title {
  margin: 0;
  max-width: 44rem;
}

.section--closure {
  overflow: hidden;
  border-top: none !important;
  background-color: #1c2438;
  background-image:
    url("../assets/hero-pattern.svg"),
    radial-gradient(880px 400px at 18% 0%, rgb(91 77 125 / 0.38), transparent 58%),
    radial-gradient(680px 360px at 92% 85%, rgb(212 175 55 / 0.11), transparent 60%),
    linear-gradient(168deg, #1e1a2e 0%, #232038 36%, #1a2135 72%, #171d2e 100%);
  background-size: 400px 400px, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}

.section--closure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgb(91 77 125 / 0.12), transparent 68%),
    linear-gradient(0deg, rgb(8 10 18 / 0.45), transparent 35%);
}

.closure {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.closure__results {
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.closure .resultados-head .section__title {
  color: #fff;
}

.closure .resultados-head .section__eyebrow {
  color: rgb(212 175 55 / 0.95);
}

.closure .resultados-head__lead {
  color: rgb(255 255 255 / 0.72);
}

.closure .result-cards {
  align-items: stretch;
}

.closure .result-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 8.5rem;
  padding: 1.15rem 1rem 1.2rem;
  background: linear-gradient(155deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgb(8 6 18 / 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.closure .result-card::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0.65rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(91 77 125 / 0.55), rgb(212 175 55 / 0.45));
  opacity: 0.85;
}

.closure .result-card__icon {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
  border-radius: 0.7rem;
  color: #f4f0ff;
  background: linear-gradient(145deg, rgb(91 77 125 / 0.45), rgb(111 98 160 / 0.32));
  border: 1px solid rgb(180 165 220 / 0.35);
}

.closure .result-card__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.closure .result-card h3 {
  color: #fff;
  padding-top: 0;
}

.closure .result-card p {
  margin: 0.4rem 0 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}

.closure .cupos-layout {
  padding: 1.5rem 1.25rem 1.55rem;
  margin-top: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: linear-gradient(155deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
  box-shadow: 0 14px 40px rgb(8 6 18 / 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
}

.closure .cupos-copy .section__title {
  color: #fff;
}

.closure .cupos-copy p {
  margin: 0;
  color: rgb(255 255 255 / 0.8);
}

.closure .cupos-badge {
  min-width: 11.5rem;
  max-width: 19rem;
  padding: 1rem 1.2rem 1.05rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgb(91 77 125 / 0.28), rgb(30 26 46 / 0.55));
  box-shadow: 0 10px 28px rgb(8 6 18 / 0.25);
}

.closure .cupos-badge__n {
  color: #f1cd6a;
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1;
}

.closure .cupos-badge__detail {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgb(255 255 255 / 0.78);
  font-weight: 600;
}

.closure .cupos-badge__status {
  display: inline-block;
  margin-top: 0.1rem;
  padding: 0.32rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(212 175 55 / 0.32);
  background: rgb(0 0 0 / 0.22);
  color: #e8d48a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.closure .section--cta-final__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.04));
  box-shadow: 0 16px 44px rgb(8 6 18 / 0.3);
  text-align: center;
  flex-wrap: wrap;
  padding: 1.65rem 1.5rem;
  gap: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.closure .section--cta-final__inner .section__title {
  color: var(--color-white);
  max-width: 46rem;
  font-size: clamp(1rem, 1.85vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
}

.closure .section--cta-final__inner .btn {
  min-width: 12rem;
}

.section--contact {
  overflow: visible;
  border-top: none !important;
  background:
    radial-gradient(720px 380px at 12% 20%, rgb(91 77 125 / 0.35), transparent 58%),
    radial-gradient(560px 320px at 88% 75%, rgb(212 175 55 / 0.12), transparent 62%),
    linear-gradient(165deg, #1e1a2e 0%, #252038 38%, #1c2438 100%);
}

.contact-unified {
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: 1.1rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: linear-gradient(155deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
  box-shadow: 0 18px 44px rgb(8 6 18 / 0.45);
}

.contact-unified__intro {
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.contact-unified__intro .section__title {
  color: #fff;
  margin: 0.4rem 0 0.65rem;
}

.contact-unified__body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

@media (min-width: 901px) {
  .contact-aside {
    padding-left: 1.35rem;
    border-left: 1px solid rgb(255 255 255 / 0.1);
  }
}

.contact-panel__badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.34rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(212 175 55 / 0.35);
  color: #e8d89a;
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-panel__badge svg {
  width: 13px;
  height: 13px;
  opacity: 0.9;
}

.contact__intro {
  margin: 0;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.96rem;
  line-height: 1.6;
}

.contact-points {
  display: grid;
  gap: 0.5rem;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.85rem;
  background: rgb(0 0 0 / 0.18);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

a.contact-point:hover {
  border-color: rgb(212 175 55 / 0.45);
  background: rgb(255 255 255 / 0.06);
}

.contact-point--static {
  cursor: default;
}

.contact-point--wa .contact-point__icon {
  background: rgb(37 211 102 / 0.2);
  color: #25d366;
  border: 1px solid rgb(37 211 102 / 0.35);
}

a.contact-point--wa:hover {
  border-color: rgb(37 211 102 / 0.5);
}

.contact-point__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: rgb(91 77 125 / 0.35);
  color: rgb(255 255 255 / 0.92);
}

.contact-point__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-point__text {
  display: block;
  min-width: 0;
}

.contact-point__text strong {
  display: block;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.12rem;
}

.contact-point__text span {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  word-break: break-word;
}

.contact-mini {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-aside .contact-mini {
  flex: 0;
}

.contact-mini li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.78);
}

.contact-mini__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  background: rgb(212 175 55 / 0.12);
  color: var(--color-gold);
}

.contact-mini__icon svg {
  width: 0.9rem;
  height: 0.9rem;
}

.contact-mini strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  margin-bottom: 0.08rem;
}

.contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.contact-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(0 0 0 / 0.2);
  color: rgb(255 255 255 / 0.82);
  font-size: 0.72rem;
}

.contact-trust span svg {
  width: 13px;
  height: 13px;
  opacity: 0.85;
  flex-shrink: 0;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* Honeypot anti-spam (oculto para usuarios) */
.contact-form .hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
  opacity: 0;
}

.contact-form label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.38rem;
  color: rgb(255 255 255 / 0.85);
}

.contact-form .label-ico {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  flex-shrink: 0;
}

.contact-form .form-row {
  margin-bottom: 0.85rem;
}

.contact-form .form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-form .form-row--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0.85rem;
}

.contact-form .form-row--grow textarea {
  flex: 1;
  min-height: 7.5rem;
  resize: vertical;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.72rem 0.88rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius-sm);
  background: rgb(0 0 0 / 0.22);
  color: #fff;
  font: inherit;
}

/* Lista nativa del <select>: fondo claro del SO + texto oscuro (evita blanco sobre blanco) */
.contact-form select option,
.contact-form select optgroup {
  background-color: #eef0f5;
  color: #141826;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgb(255 255 255 / 0.38);
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 1px;
  border-color: rgb(212 175 55 / 0.65);
  background: rgb(255 255 255 / 0.07);
}

.contact-form .form-actions {
  margin-top: auto;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-form .form-actions .btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-form .form-actions .btn--primary svg {
  width: 14px;
  height: 14px;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 0.68);
}

.site-footer {
  position: relative;
  margin-top: 0;
  background: linear-gradient(180deg, #1a2238 0%, #141c2e 55%, var(--color-night) 100%);
  color: rgb(255 255 255 / 0.88);
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgb(212 175 55 / 0.55), rgb(91 77 125 / 0.45), rgb(212 175 55 / 0.55), transparent);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding-block: 2.25rem 2rem;
  align-items: start;
}

.site-footer__brand-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.site-footer__logo-link {
  flex-shrink: 0;
  display: block;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.25);
}

.site-footer__logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-footer__brand {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--color-white);
}

.site-footer__method {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
  color: var(--color-gold);
  font-weight: 600;
}

.site-footer__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: rgb(255 255 255 / 0.65);
}

.site-footer__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
}

.site-footer__links-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  align-items: start;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.site-footer__links a {
  color: rgb(255 255 255 / 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--color-gold);
}

.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.site-footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-footer__contact-ico {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
  border-radius: 0.4rem;
  background: rgb(91 77 125 / 0.35);
  color: rgb(255 255 255 / 0.85);
}

.site-footer__contact-ico svg {
  width: 0.95rem;
  height: 0.95rem;
}

.site-footer__contact-block a {
  color: rgb(255 255 255 / 0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-footer__contact-block a:hover {
  color: var(--color-gold);
  border-bottom-color: rgb(212 175 55 / 0.5);
}

.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(0 0 0 / 0.2);
  padding-block: 1rem 1.25rem;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer__legal {
  margin: 0;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 0.68);
}

.site-footer__credit {
  margin: 0;
  font-size: 0.78rem;
  color: rgb(255 255 255 / 0.58);
}

.site-footer__credit a {
  color: rgb(255 255 255 / 0.78);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.site-footer__credit a:hover {
  color: var(--color-gold);
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: grid;
  place-items: center;
  width: 3.45rem;
  height: 3.45rem;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  color: #25d366;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 0.08);
  box-shadow:
    0 4px 18px rgb(0 0 0 / 0.14),
    0 1px 3px rgb(0 0 0 / 0.06);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.2s ease;
}

.wa-float:focus:not(:focus-visible) {
  outline: none;
}

.wa-float:focus-visible {
  outline: 2px solid rgb(212 175 55 / 0.65);
  outline-offset: 3px;
}

.wa-float svg {
  width: 1.58rem;
  height: 1.58rem;
  display: block;
  fill: #25d366;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgb(0 0 0 / 0.18),
    0 2px 6px rgb(0 0 0 / 0.08);
}

.wa-float:hover svg {
  fill: #128c7e;
}

/* 901px / 900px: sin solapamiento (evita reglas “desktop” y “móvil” a la vez en 900px exactos) */
@media (min-width: 901px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .split--pro {
    grid-template-columns: 1.08fr 0.92fr;
  }

  #instituto .split--pro {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(1.2rem, 2.2vw, 2rem);
  }

  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #instituto .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }

  #instituto .about-card__body p {
    font-size: 0.97rem;
    line-height: 1.56;
    padding: 1.05rem 1.2rem 1.35rem;
  }

  .problema-panel {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: stretch;
    gap: 1.25rem;
  }

  .problem-photo {
    margin: 0;
    height: 100%;
  }

  .problem-photo img {
    height: 100%;
    aspect-ratio: auto;
  }

  .about-card__toggle {
    cursor: default;
  }

  .about-card__chev {
    display: none;
  }

  .about-card__body {
    max-height: none !important;
    opacity: 1;
    transform: none;
  }

  .about-card__body p {
    padding: 1.05rem 1.2rem 1.35rem;
  }

  .method-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: linear-gradient(180deg, rgb(31 42 68 / 0.98), rgb(38 49 74 / 0.98));
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .site-nav.is-open {
    max-height: 100vh;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
  }

  .site-nav__list a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
    color: var(--color-white) !important;
  }

  #instituto {
    --section-y: clamp(2rem, 4.5vw, 3rem);
  }

  #instituto .split__media {
    width: min(100%, 26rem);
    margin-inline: auto;
  }

  #instituto .about-grid {
    margin-top: 1rem;
  }

  .section--surface {
    width: min(100% - 2rem, var(--container));
    border-radius: 1.2rem;
  }

  /* Hero móvil: sin parallax ni will-change (mejor en gama baja) */
  .hero__bg {
    transform: none !important;
    will-change: auto;
  }

  .hero__bg::before {
    background-size: 240px 240px;
    opacity: 0.09;
  }

  .hero__fx {
    opacity: 0.75;
  }

  /* Hero móvil: altura ≈ 1 pantalla; la foto (fila flexible) se achica para que quepa el bloque */
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .hero__inner.container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: calc(var(--header-h) + 0.45rem);
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__inner::before {
    inset: 2% -5% auto -5%;
    height: min(40%, 18rem);
    opacity: 0.85;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "intro"
      "visual"
      "detail"
      "actions";
    flex: 1 1 auto;
    min-height: 0;
    gap: clamp(0.45rem, 2.2vw, 0.75rem);
    align-items: stretch;
    align-content: start;
  }

  .hero__copy {
    display: contents;
  }

  .hero__intro {
    grid-area: intro;
  }

  .hero__detail {
    grid-area: detail;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .hero__meta .hero__kicker {
    margin: 0;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .hero__meta .hero__method-name {
    margin: 0;
    font-size: clamp(0.98rem, 3.8vw, 1.2rem);
  }

  /* Foto: ocupa el espacio flexible (1fr); alto se reduce si hace falta para caber en 1 pantalla */
  .hero__visual {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    align-items: stretch;
    justify-content: stretch;
    margin-inline: -1rem;
    margin-block: 0;
    width: calc(100% + 2rem);
    max-width: none;
  }

  .hero__portrait {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin-inline: 0;
    padding: 0;
    border-radius: 0;
    aspect-ratio: auto;
    max-width: none;
    box-shadow: none;
  }

  .hero__portrait.hero__portrait--banner {
    width: min(26rem, 92vw);
    border-radius: 1.1rem;
    padding: 0;
    box-shadow:
      0 0 0 1px rgb(255 255 255 / 0.1) inset,
      0 20px 44px rgb(0 0 0 / 0.4);
  }

  .hero__figure {
    position: relative;
    display: block;
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    margin-inline: 0;
    min-height: 4.5rem;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: hidden;
    border: none;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
    -webkit-mask-image: none;
    mask-image: none;
    box-shadow: none;
  }

  .hero__figure.hero__figure--banner {
    border-radius: 1rem;
    flex: 0 0 auto;
    aspect-ratio: 1024 / 682;
    height: auto;
    min-height: 0;
    max-height: none;
    border-bottom: none;
  }

  .hero__figure::after {
    background: linear-gradient(
      180deg,
      rgb(8 10 20 / 0.2) 0%,
      transparent 45%,
      transparent 72%,
      rgb(6 8 16 / 0.35) 100%
    );
  }

  .hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 28%;
  }

  .hero__photo.hero__photo--banner {
    object-fit: cover;
    object-position: center center;
  }

  .hero__tagline {
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
  }

  .hero__title {
    margin-bottom: 0.35rem;
    font-size: clamp(1.22rem, 5.1vw, 1.72rem);
    line-height: 1.18;
  }

  .hero__subtitle {
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.45;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }

  .hero__micro {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    margin-bottom: 0.15rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.62rem;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-align: center;
    font-weight: 600;
    color: rgb(255 255 255 / 0.92);
    border-radius: 0.65rem;
    border: none;
    background: linear-gradient(
      145deg,
      rgb(91 77 125 / 0.35) 0%,
      rgb(20 26 44 / 0.75) 100%
    );
    box-shadow:
      0 1px 0 rgb(255 255 255 / 0.07) inset,
      0 8px 20px rgb(0 0 0 / 0.25);
    outline: 1px solid rgb(212 175 55 / 0.22);
    outline-offset: 0;
  }

  .hero__actions {
    gap: 0.55rem;
    padding-inline: 0;
    padding-bottom: 0.35rem;
    margin-top: 0.15rem;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 0.68rem 1rem;
    font-size: 0.78rem;
  }

  .programa-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .programa-pillars {
    flex-wrap: wrap;
  }

  .programa-pillars article {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
  }

  .programa-features {
    grid-template-columns: 1fr;
  }

  .programa-right {
    justify-content: center;
  }

  .prog-card {
    max-width: none;
  }

  .prog-card__stats strong {
    font-size: 1.08rem;
  }

  .eval-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .eval-photo img {
    aspect-ratio: 16 / 8;
    max-height: min(52vw, 280px);
    object-position: center 28%;
  }

  .eval-content {
    padding: 0.15rem 0 0;
  }

  .eval-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.48rem;
  }

  .eval-showcase {
    padding: 0.9rem 0.85rem;
  }

  .resultados-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cupos-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .closure .cupos-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-top: 1.5rem;
  }

  .closure .cupos-copy {
    max-width: 36rem;
  }

  .cupos-badge {
    width: 100%;
  }

  .closure .cupos-badge {
    max-width: 20rem;
    width: 100%;
  }

  .section--cta-final__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .closure .section--cta-final__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section--cta-final__inner .btn {
    width: 100%;
  }

  .contact-unified {
    padding: 1.15rem 0.95rem 1.25rem;
  }

  .contact-unified__body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-unified__intro {
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
  }

  .contact-form .form-row--half {
    grid-template-columns: 1fr;
  }

  #problema .section__title {
    text-align: left;
    font-size: clamp(1.5rem, 6.2vw, 2rem);
  }

  .problema-panel {
    padding: 1rem 0.9rem 1.1rem;
    gap: 0.85rem;
  }

  .problema__closing {
    font-size: 1.02rem;
  }

  .method-unified {
    padding: 1rem 0.85rem 1.1rem;
  }

  .method-unified__intro {
    margin-bottom: 0.95rem;
    padding-bottom: 0.85rem;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .method-stack__step {
    font-size: 0.64rem;
    padding: 0.42rem 0.35rem;
  }

  .method-stack__rail {
    flex-basis: 0.55rem;
  }

  .method-card {
    padding: 0.95rem 0.75rem 0.9rem;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2rem 1.75rem;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .wa-float {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 3.25rem;
    height: 3.25rem;
  }

  .wa-float svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

@media (max-width: 520px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .result-card h3 {
    font-size: 0.98rem;
  }

  .eval-chips {
    grid-template-columns: 1fr;
  }

  .eval-chip {
    font-size: 0.78rem;
    min-height: auto;
    padding: 0.4rem 0.45rem;
  }

  .eval-chip__step {
    min-width: 1.5rem;
    height: 1.5rem;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__bg {
    transform: none !important;
    will-change: auto;
  }

  .reveal-target {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .method-card {
    animation: none !important;
  }

  #problema .problema-panel,
  #problema .list-plain--cards li,
  #problema .problema__closing,
  #problema .problem-photo img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .wa-float {
    transition: none !important;
  }
}

/* Rendimiento: móviles + html.perf-lite (red lenta / gama baja) */
@media (max-width: 900px) {
  html {
    scroll-behavior: auto;
  }

  .reveal-target {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .site-header--solid {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgb(255 255 255 / 0.98);
  }

  .method-card {
    animation: none !important;
    transition:
      transform 0.2s var(--ease),
      box-shadow 0.2s var(--ease),
      border-color 0.2s var(--ease);
  }

  .eval-showcase__orb {
    animation: none !important;
    opacity: 0.22;
  }

  .eval-photo__shine {
    animation: none !important;
    opacity: 0;
    display: none;
  }

  .btn--eval-cta::after {
    animation: none !important;
    content: none;
  }

  #problema.is-inview .problema-panel,
  #problema.is-inview .list-plain--cards li,
  #problema.is-inview .problema__closing {
    animation: none !important;
  }

  .eval-showcase:hover .eval-photo img {
    transform: scale(1.03);
  }

  .btn,
  .nav-toggle,
  .about-card__toggle,
  .wa-float {
    touch-action: manipulation;
  }
}

html.perf-lite .reveal-target {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

html.perf-lite .site-header--solid {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgb(255 255 255 / 0.98);
}

html.perf-lite .eval-showcase__orb {
  animation: none !important;
  opacity: 0.22;
}

html.perf-lite .eval-photo__shine {
  animation: none !important;
  opacity: 0;
  display: none;
}

html.perf-lite .btn--eval-cta::after {
  animation: none !important;
  content: none;
}

html.perf-lite .method-card {
  animation: none !important;
}
