/* ==========================================================================
   PUNTO DE MADURACIÓN — sistema de diseño
   Concepto firma: "todo madura" (verde → amarillo, flash rosado)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --amarillo: #fff104;
  --verde: #00bf63;
  --rosado: #e50487;
  --tinta: #111111;
  --blanco: #ffffff;
  --ikigai: #4050e3; /* PROTEGIDO: solo el botón ikigai del footer */
  --gris-suave: #f4f4f2;

  --fuente: 'Archivo', 'Archivo Fallback', Arial, sans-serif;

  --t-display: clamp(2rem, 7.4vw, 6.8rem);
  --t-display-sm: clamp(1.9rem, 5.4vw, 4.6rem);
  --t-titulo: clamp(1.35rem, 2.4vw, 2rem);
  --t-sub: clamp(1.05rem, 1.5vw, 1.3rem);
  --t-body: 1rem;
  --t-small: 0.85rem;

  --esp-seccion: clamp(4.5rem, 11vw, 9rem);
  --esp-lado: clamp(1.25rem, 4.5vw, 4rem);
  --ancho-texto: 42rem;

  --dur: 0.45s;
  --curva: cubic-bezier(0.65, 0, 0.25, 1);
}

@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--fuente);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: var(--rosado); color: var(--blanco); }

:focus-visible {
  outline: 3px solid var(--rosado);
  outline-offset: 3px;
}

.solo-lectores {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Tipografía display ---------- */
.display {
  font-stretch: 125%;
  font-weight: 880;
  line-height: 0.94;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.display--xl { font-size: var(--t-display); }
.display--md { font-size: var(--t-display-sm); }

.subrayado-rosado {
  text-decoration: underline;
  text-decoration-color: var(--rosado);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.cifra { color: var(--rosado); font-weight: 800; }
/* cifra destacada en texto corrido: ≥19px bold para asegurar AA-large sobre blanco */
.cifra--lg { font-size: 1.2em; }

/* ---------- Banano (máscara) ---------- */
.banano {
  -webkit-mask-image: url('../assets/banano.png');
  mask-image: url('../assets/banano.png');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  background-color: var(--amarillo);
}

/* ---------- Loader (solo portal, cada carga) ---------- */
.loader { display: none; }

.con-loader .loader {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.5rem;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--tinta);
  cursor: pointer;
  animation: loader-cortina 0.6s cubic-bezier(0.87, 0, 0.13, 1) 1.6s forwards; /* total 2.2s máx */
}

.loader__banano {
  width: min(46vw, 15rem);
  aspect-ratio: 356 / 183;
  /* dos capas: cicla color en loop + crece durante toda su vida (la maduración es literal) */
  animation:
    loader-madura 0.95s var(--curva) 0.1s infinite,
    loader-crece 2s var(--curva) both;
}

.loader__wordmark {
  font-stretch: 125%;
  font-weight: 880;
  font-size: clamp(1.1rem, 3.4vw, 1.9rem);
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--blanco);
  text-align: center;
  clip-path: inset(100% 0 -8% 0);
  transform: translateY(0.45em);
  animation: loader-wordmark 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}

@keyframes loader-madura {
  0%   { background-color: var(--verde); }
  34%  { background-color: var(--amarillo); }
  /* choque creativo: el rosado entra de golpe (steps) y se retira con fluidez (curva) */
  40%  { background-color: var(--rosado); animation-timing-function: steps(1); }
  52%  { background-color: var(--amarillo); animation-timing-function: var(--curva); }
  86%  { background-color: var(--amarillo); }
  91%  { background-color: var(--blanco); animation-timing-function: steps(1); }
  100% { background-color: var(--verde); animation-timing-function: var(--curva); }
}

@keyframes loader-crece {
  from { transform: scale(0.84); opacity: 0; }
  14%  { opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes loader-wordmark {
  to { clip-path: inset(-8% 0 -8% 0); transform: none; letter-spacing: 0.04em; }
}

@keyframes loader-cortina {
  to { transform: translateY(-101%); }
}

/* ---------- CTAs: el sistema de maduración ---------- */
.cta {
  display: inline-block;
  padding: 0.95em 1.9em;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--dur) var(--curva),
              color var(--dur) var(--curva),
              transform var(--dur) var(--curva);
}

.cta:active { transform: scale(0.97); }

/* Sobre fondos tinta: la masa madura (verde → amarillo) */
.cta--madura {
  background: var(--verde);
  color: var(--tinta);
}
.cta--madura:hover, .cta--madura:focus-visible {
  background: var(--amarillo);
}

/* Sobre fondos claros o amarillos: el texto madura dentro de tinta */
.cta--tinta {
  background: var(--tinta);
  color: var(--verde);
}
.cta--tinta:hover, .cta--tinta:focus-visible {
  color: var(--amarillo);
}

.enlace-simple {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--dur) var(--curva);
}
.enlace-simple:hover, .enlace-simple:focus-visible {
  text-decoration-color: var(--rosado);
}

/* ---------- Topbar (subpáginas) ---------- */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--esp-lado);
}

.topbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-stretch: 125%;
  font-weight: 850;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.topbar__banano {
  width: 2.4rem;
  aspect-ratio: 356 / 183;
  background-color: var(--tinta);
  transition: background-color var(--dur) var(--curva);
}
.topbar__logo:hover .topbar__banano { background-color: var(--rosado); }

.topbar__der {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.topbar__cruce {
  font-size: var(--t-small);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--curva);
}
.topbar__cruce:hover, .topbar__cruce:focus-visible { border-color: var(--rosado); }

/* En pantallas chicas el topbar solo conserva el cruce principal (el último);
   los demás links viven en el footer y el portal */
@media (max-width: 560px) {
  .topbar__der .topbar__cruce:not(:last-child) { display: none; }
  .topbar__cruce { text-align: right; }
}

/* ==========================================================================
   PORTAL (index)
   ========================================================================== */
.portal {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  /* el canvas tras el notch/overscroll de iOS toma el verde: sin bandas blancas */
  background: var(--verde);
}

/* En subpáginas, el canvas iOS toma el color del hero (evita bandas blancas al abrir) */
body:has(> main > .hero.seccion--amarilla) { background: var(--amarillo); }
body:has(> main > .hero.seccion--verde) { background: var(--verde); }

/* Nav sutil de accesos rápidos, superpuesto arriba a la derecha */
.portal__nav {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
  padding: 1.1rem var(--esp-lado);
  pointer-events: none;
}

.portal__nav-link {
  pointer-events: auto;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--tinta);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--curva);
}
.portal__nav-link:hover, .portal__nav-link:focus-visible { border-color: var(--rosado); }

.portal__mitades {
  flex: 1;
  display: flex;
  min-height: 0;
}

.mitad {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  padding: var(--esp-lado);
  text-decoration: none;
  overflow: hidden;
  transition: flex-basis 0.65s var(--curva);
}

.mitad--estudiantes { background: var(--verde); }
.mitad--empresas { background: var(--amarillo); }

/* Al hover el panel crece (~62/38) */
@media (hover: hover) and (min-width: 761px) {
  .portal__mitades:has(.mitad:hover) .mitad { flex-basis: 38%; }
  .portal__mitades:has(.mitad:hover) .mitad:hover { flex-basis: 62%; }
}

.mitad__pregunta {
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
  transition: transform 0.65s var(--curva);
}

.mitad:hover .mitad__pregunta { transform: translateX(0.5rem); }

/* Entrada orquestada: cuando la cortina del loader arranca, las preguntas suben con stagger */
.portal-entra .mitad__pregunta {
  animation: portal-sube 0.85s var(--curva) 0.12s both;
}
.portal-entra .mitad--empresas .mitad__pregunta { animation-delay: 0.26s; }

@keyframes portal-sube {
  from { transform: translateY(1.1em); opacity: 0; }
}

.mitad__micro {
  font-size: var(--t-sub);
  font-weight: 600;
  max-width: 24ch;
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity var(--dur) var(--curva), transform var(--dur) var(--curva);
}

.mitad:hover .mitad__micro,
.mitad:focus-visible .mitad__micro { opacity: 1; transform: none; }

.mitad__flecha {
  font-size: 1.6rem;
  font-weight: 800;
  transition: transform var(--dur) var(--curva);
}
.mitad:hover .mitad__flecha { transform: translateX(0.6rem); }

.portal__franja {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.3rem var(--esp-lado);
  color: var(--tinta);
  pointer-events: none;
}
.portal__franja a { pointer-events: auto; }

.portal__claim {
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.portal__franja-der {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.icono-ig {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--tinta);
  transition: color var(--dur) var(--curva), transform var(--dur) var(--curva);
}
.icono-ig:hover, .icono-ig:focus-visible {
  color: var(--rosado);
  transform: rotate(-8deg);
}
.icono-ig svg { width: 1.35rem; height: 1.35rem; }

/* ---------- Portal mobile: diseñado para el pulgar, no solo apilado ----------
   La decisión binaria llena exactamente el primer viewport (100svh);
   la franja de créditos queda bajo el fold. El tap reemplaza al hover:
   flecha-pill en la zona del pulgar que se rellena en tinta al tocar. */
@media (max-width: 760px) {
  .portal__mitades { flex-direction: column; min-height: 100svh; }

  /* En mobile el estado hover es el estado por defecto */
  .mitad__micro { opacity: 1; transform: none; }

  .mitad {
    gap: 0.9rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .mitad__pregunta {
    max-width: 100%;
    width: auto;
    font-size: clamp(2.3rem, 9.5vw, 3.4rem);
    /* margen auto arriba en pregunta y flecha: la pregunta queda centrada-alta
       y la flecha baja a la esquina del pulgar */
    margin-top: auto;
  }

  .mitad:active .mitad__pregunta { transform: translateX(0.3rem); }

  .mitad__flecha {
    margin-top: auto;
    align-self: flex-end;
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border: 2px solid var(--tinta);
    border-radius: 999px;
    font-size: 1.3rem;
    transition: background-color 0.2s var(--curva), color 0.2s var(--curva);
  }

  .mitad:active .mitad__flecha { background: var(--tinta); }
  .mitad--estudiantes:active .mitad__flecha { color: var(--verde); }
  .mitad--empresas:active .mitad__flecha { color: var(--amarillo); }

  .portal__nav { gap: 0.4rem; padding: 0.35rem 0.6rem; }
  .portal__nav-link {
    font-size: 0.8rem;
    padding: 0.85rem 0.55rem;
    -webkit-tap-highlight-color: transparent;
  }

  /* Franja bajo el fold: mini-footer en flujo, con safe area (iPhone) */
  .portal__franja {
    position: static;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom));
    background: var(--blanco); /* el body ahora es verde: la franja mantiene su fondo */
  }
}

/* ==========================================================================
   Secciones compartidas
   ========================================================================== */
.seccion {
  padding: var(--esp-seccion) var(--esp-lado);
}

.seccion--amarilla { background: var(--amarillo); }
.seccion--tinta { background: var(--tinta); color: var(--blanco); }
.seccion--verde { background: var(--verde); }

.seccion__interior {
  max-width: 72rem;
  margin-inline: auto;
}

.etiqueta {
  display: inline-block;
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.etiqueta::before {
  content: '';
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.6em;
  border-radius: 50%;
  background: var(--rosado);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92svh;
  padding-top: calc(var(--esp-seccion) * 0.9);
}

/* ---------- Hint de scroll (solo mobile): "deslizar ↓" titilante ---------- */
.desliza { display: none; }

@media (max-width: 760px) {
  .desliza {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
    animation: desliza-titila 2.6s ease-in-out infinite;
  }
}

@keyframes desliza-titila {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.85; transform: translateX(-50%) translateY(0.3rem); }
}

@media (prefers-reduced-motion: reduce) {
  .desliza { animation: none; opacity: 0.5; transform: translateX(-50%); }
}

/* ---------- Cursor follower (solo desktop con puntero fino) ---------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--rosado);
  pointer-events: none;
  z-index: 1200;
  opacity: 0;
  transition: width 0.25s var(--curva), height 0.25s var(--curva),
              margin 0.25s var(--curva), opacity 0.25s var(--curva);
}

.cursor-dot--visible { opacity: 1; }

/* sobre elementos interactivos el punto respira */
.cursor-dot--grande {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  opacity: 0.35;
}

.cursor-desliza {
  position: fixed;
  top: 0; left: 0;
  margin: 1.4rem 0 0 1.4rem;
  padding: 0.38rem 0.75rem;
  background: var(--tinta);
  color: var(--blanco);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.45s var(--curva);
}

.hero__sub {
  font-size: var(--t-sub);
  font-weight: 600;
  max-width: 34ch;
  margin-top: 1.8rem;
}

.hero__acciones {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.6rem;
}

/* ---------- Statement ---------- */
.statement .display {
  max-width: 18ch;
}

/* ---------- Servicios (empresas) ---------- */
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: end;
}

.servicio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem;
}

.servicio__blob {
  width: min(100%, 15rem);
  transition: transform 0.5s var(--curva);
}

.servicio__blob path {
  fill: var(--verde);
  transition: fill 0.5s var(--curva);
}

/* hover: se eleva y madura */
.servicio:hover .servicio__blob,
.servicio[aria-expanded="true"] .servicio__blob { transform: translateY(-0.8rem); }
.servicio:hover .servicio__blob path,
.servicio[aria-expanded="true"] .servicio__blob path { fill: var(--amarillo); }

.servicio:nth-child(2) .servicio__blob { width: min(100%, 13rem); margin-bottom: 1.2rem; }
.servicio:nth-child(3) .servicio__blob { width: min(100%, 16rem); }

.servicio__nombre {
  font-stretch: 125%;
  font-weight: 850;
  font-size: var(--t-titulo);
  line-height: 1.05;
  text-transform: uppercase;
}

.servicio__desde {
  font-size: var(--t-small);
  font-weight: 600;
  opacity: 0.75;
}

.servicio__abrir {
  font-size: var(--t-small);
  font-weight: 700;
  border-bottom: 2px solid var(--verde);
  transition: border-color var(--dur) var(--curva);
}
.servicio:hover .servicio__abrir,
.servicio[aria-expanded="true"] .servicio__abrir { border-color: var(--amarillo); }

.servicio-panel {
  background: var(--blanco);
  color: var(--tinta);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.5rem;
}

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

.servicio-panel__titulo {
  font-stretch: 125%;
  font-weight: 850;
  font-size: var(--t-titulo);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.niveles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
}

.nivel {
  border-top: 4px solid var(--nivel-color, var(--verde));
  padding-top: 1rem;
}

.nivel--semilla { --nivel-color: var(--tinta); }
.nivel--verde { --nivel-color: var(--verde); }
.nivel--maduro { --nivel-color: var(--amarillo); }

.nivel__nombre {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--t-small);
}

.nivel__precio {
  font-stretch: 125%;
  font-weight: 850;
  font-size: 1.7rem;
  margin: 0.3rem 0 0.8rem;
}

.nivel__precio small { font-size: 0.55em; font-stretch: 100%; font-weight: 600; }

.nivel ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.nivel li::before {
  content: '→ ';
  font-weight: 700;
  color: var(--rosado);
}

.servicio-panel__pie {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.servicio-panel__nota {
  font-size: var(--t-small);
  opacity: 0.7;
  max-width: 34ch;
}

/* ---------- Confianza (bloques numerados) ---------- */
.bloques {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 2px solid var(--tinta);
}

.bloque {
  display: grid;
  grid-template-columns: minmax(5rem, 12rem) 1fr;
  gap: 1.5rem 2.5rem;
  align-items: baseline;
  padding: 2.2rem 0;
  border-bottom: 2px solid var(--tinta);
}

.bloque__numero {
  font-stretch: 125%;
  font-weight: 880;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1;
  color: var(--rosado);
}

.bloque__titulo {
  font-stretch: 125%;
  font-weight: 850;
  font-size: var(--t-titulo);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.bloque__texto { max-width: 52ch; }

.seccion--tinta .bloques { border-color: rgba(255, 255, 255, 0.25); }
.seccion--tinta .bloque { border-color: rgba(255, 255, 255, 0.25); }

/* ---------- Pasos ---------- */
.pasos {
  counter-reset: paso;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 3rem;
}

.pasos--tres { grid-template-columns: repeat(3, 1fr); }

.paso {
  counter-increment: paso;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.paso::before {
  content: counter(paso, decimal-leading-zero);
  font-stretch: 125%;
  font-weight: 880;
  font-size: 2.2rem;
  line-height: 1;
}

.paso__titulo {
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.25;
}

.paso__texto { font-size: 0.95rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: left; }

.cta-final .display { max-width: 16ch; }

.cta-final__acciones {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.6rem;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: calc(var(--esp-seccion) * 0.7);
  max-width: var(--ancho-texto);
}

.faq__titulo {
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
}
.faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--amarillo);
  transition: transform var(--dur) var(--curva);
}
.faq details[open] summary::after { transform: rotate(45deg); }

.faq p { padding-top: 0.7rem; max-width: 56ch; opacity: 0.9; }

/* ---------- Qué ganás (estudiantes) ---------- */
.ganancias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3rem;
  background: var(--tinta);
  border: 2px solid var(--tinta);
}

.ganancia {
  background: var(--blanco);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.ganancia__titulo {
  font-stretch: 125%;
  font-weight: 850;
  font-size: var(--t-titulo);
  line-height: 1.08;
  text-transform: uppercase;
}

.ganancia__texto { max-width: 44ch; }

.ruta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: var(--t-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ruta__estado {
  padding: 0.35em 0.9em;
  border-radius: 999px;
  border: 2px solid var(--tinta);
}

.ruta__estado--verde { background: var(--verde); }
.ruta__estado--maduro { background: var(--amarillo); }

/* ---------- Requisitos ---------- */
.requisitos {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: var(--ancho-texto);
  font-size: var(--t-sub);
  font-weight: 600;
}

.requisitos li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}

.requisitos li::before {
  content: '✱';
  color: var(--rosado);
  font-weight: 800;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--tinta);
  color: var(--blanco);
  padding: calc(var(--esp-seccion) * 0.55) var(--esp-lado);
}

.footer__interior {
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
}

.footer__nav {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.footer__enlace {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--curva);
}
.footer__enlace:hover, .footer__enlace:focus-visible { border-color: var(--amarillo); }

.footer__banano {
  width: 4.5rem;
  aspect-ratio: 356 / 183;
  margin-bottom: 1.2rem;
}

/* ---------- Botón ikigai (spec al pixel) ---------- */
.ikigai {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 0;
}

.ikigai__pre {
  display: block;
  font-size: 0.65rem;
  opacity: 0.58;
  margin-bottom: 0.1rem;
}

.ikigai__marca {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ikigai);
}

.ikigai__ast {
  display: inline-block;
  transition: transform var(--dur) var(--curva);
}

/* Sobre tinta (footers y secciones oscuras), el azul a 0.85rem no alcanza AA:
   el texto va blanco y el azul queda solo en el ✱ (decorativo). Sobre claros el azul pasa AA. */
.footer .ikigai__marca, .seccion--tinta .ikigai__marca { color: var(--blanco); }
.footer .ikigai__ast, .seccion--tinta .ikigai__ast { color: var(--ikigai); }

.ikigai:hover .ikigai__ast, .ikigai:focus-visible .ikigai__ast {
  transform: rotate(60deg);
}

/* ==========================================================================
   Motion: estados previos al reveal (GSAP los anima; sin JS, todo visible)
   ========================================================================== */
.js-reveal { /* gancho para GSAP, sin estilos: GSAP setea los from() */ }

/* ---------- prefers-reduced-motion: TODO estático ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .loader, .con-loader .loader { display: none !important; }
  .mitad__micro { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .servicios__grid { grid-template-columns: 1fr; gap: 3rem; }
  .servicio { flex-direction: row; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
  .servicio__blob { width: 7.5rem !important; margin: 0 !important; flex-shrink: 0; }
  .servicio__textos { flex: 1; min-width: 12rem; display: grid; gap: 0.5rem; }
  .niveles { grid-template-columns: 1fr; }
  .pasos, .pasos--tres { grid-template-columns: 1fr 1fr; }
  .ganancias { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .servicio__textos { display: grid; gap: 0.5rem; }
}

@media (max-width: 560px) {
  .pasos, .pasos--tres { grid-template-columns: 1fr; }
  .bloque { grid-template-columns: 1fr; gap: 0.6rem; }
  .footer__interior { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 86svh; }
}
