/* ==========================================================================
   Versus Estudio — recreación
   Todos los valores provienen de referencia.pdf (ancho de página 1498px).
   Tipografías: subsets incrustados en el PDF, convertidos a OTF, con los
   anchos de avance exactos de los arrays /Widths del propio PDF.
   ========================================================================== */

/* Única fuente serif permitida en toda la landing page: el archivo
   completo (no el subconjunto de 41 letras del PDF), para que cualquier
   texto -original o nuevo- se pueda renderizar sin caer a Georgia. */
@font-face {
  font-family: "Awesome Serif";
  src: url("fonts/1-ExtraTallAwesomeSerif-Thin.woff") format("woff");
  font-weight: 100; font-style: normal; font-display: block;
}
@font-face {
  font-family: "BasicSans Light";
  src: url("fonts/BasicSansLight.otf") format("opentype");
  font-weight: normal; font-style: normal; font-display: block;
}

:root {
  --bg: #f6f6f6;
  --bg-alt: #f7f7f7;
  --dark: #27271d;          /* CTA y botón Suscripción */
  --dark-brands: #34332b;   /* bloque "Brands people" */
  --dark-green: #273328;    /* citas, líneas decorativas y botón --wide */
  --badge: #dfe9f2;
  --sand: #cfc6b8;
  --nav-link: #202020;
  --placeholder: #757575;
  --asterisk: #777e66;

  /* Awesome siempre en su corte más delgado (Light): nunca Medium ni
     ExtraTall, que además son subconjuntos de muy pocos glifos. */
  --serif: "Awesome Serif", Georgia, "Times New Roman", serif;
  --nav-font: "BasicSans Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "DM Sans", Arial, sans-serif;
  --work-sans: "Work Sans", Arial, sans-serif;
  --sans-regular: "DM Sans", Arial, sans-serif;
  --sans-bold: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: #000;
}

/* El PDF se exportó con un viewport de 1498px; el escenario reproduce esa
   medida para poder comparar 1:1 contra referencia.pdf. */
/* Comparando el avance real de cada carácter en el PDF con los anchos
   de /Widths se obtiene: tracking 0 en toda la página salvo en los
   bloques marcados abajo; el resto de la variación es kerning, que va
   incrustado como feature GPOS en las propias fuentes. */
.stage {
  letter-spacing: 0;
  position: relative;
  width: 1498px;
  height: 3856px;
  margin: 0 auto;
  overflow: hidden;
}

img { display: block; }

/* ---------------------------------------------------------------- NAV --- */

.nav {
  position: absolute;
  top: 30px; left: 474px;
  width: 550px; height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo { width: 79px; height: 17px; }

/* --------------------------------------------------------------- HERO --- */

.badge {
  position: absolute;
  top: 181px; left: 627.5px;
  width: 243px; height: 30px;
  border-radius: 15px;
  background: var(--badge);
  display: flex;
  align-items: center;
  padding-left: 7.5px;
  gap: 6.9px;
}
.badge img { width: 18px; height: 18px; }
.badge span { font-size: 15px; line-height: 1; color: #000; letter-spacing: 0;
}

.hero__title {
  position: absolute;
  top: 229px; left: 0;
  width: 1498px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 100;
  font-size: 65px;
  line-height: 74px;
  color: #000;
  text-align: center;
}
/* el PDF centra la primera línea incluyendo su espacio final */
.hero__title > span { display: inline-block; }
.hero__title-line { white-space: pre; }

/* ------------------------------------------------- EFECTO DE TECLEO --- */

/* Sin ancho fijo: el .type crece y encoge con la propia frase, así el
   título centrado que lo contiene (h1 o h2) se recentra por completo en
   cada carácter, moviendo la línea entera desde el centro hacia afuera. */
.type {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}
.type__out { white-space: pre; }
.type__caret {
  display: inline-block;
  width: 2px;
  height: 0.92em;
  margin-left: 6px;
  background: currentColor;
  vertical-align: -0.14em;
  animation: type-caret 1s steps(1, end) infinite;
}
/* mientras se teclea el cursor se queda fijo: parpadear encima distrae */
.type.is-typing .type__caret { animation: none; opacity: 1; }

@keyframes type-caret {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .type__caret { animation: none; opacity: 1; }
}

.btn-row {
  position: absolute;
  left: 591.5px;
  display: flex;
  gap: 10px;
}
.btn-row--hero { top: 400px; }
.btn-row--services { top: 1630.5px; }

.btn {
  height: 54px;
  border-radius: 27px;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  border: 0;
}
.btn--light {
  width: 144px;
  background: #fff;
  color: #000;
  padding-left: 30.1px;
}
.btn--light img { width: 16px; height: 16px; margin-left: auto; margin-right: 27.5px;
  position: relative; top: -2px; }

.btn--dark {
  width: 161px;
  background: var(--dark);
  color: #fff;
  padding-left: 29.9px;
}
.btn--dark img { width: 18px; height: 16px; margin-left: auto; margin-right: 28.5px; }
.btn span { position: relative; top: 2px; }

.trust {
  position: absolute;
  top: 478.5px; left: 0;
  width: 1498px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  color: #000;
}
.trust b { font-family: var(--sans-bold); font-weight: 700; }

.hero__laptop {
  position: absolute;
  left: 79.5px; top: 578px;
  width: 964.5px; height: 594px;
}

.intro {
  position: absolute;
  left: 1074px; top: 796px;
  width: 350px;
  margin: 0;
  font-family: var(--work-sans);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.2em;
  color: #000;
}

/* -------------------------------------------------------------- CARDS --- */

.cards {
  position: absolute;
  top: 1202px; left: 30px;
  width: 1438px;
  display: flex;
  gap: 20px;
}

.card {
  position: relative;
  width: 344.5px;
  height: 398.5px;
  background: #fff;
  border-radius: 40px;
}

.card__icon { position: absolute; left: 40px; top: 39px; width: 23px; height: 25px; }

.card__title {
  position: absolute;
  left: 40px; top: 95px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 100;
  font-size: 40px;
  line-height: 40px;
  color: #000;
  white-space: nowrap;
}

.card__lead {
  position: absolute;
  left: 40px; top: 189.8px;
  margin: 0;
  font-size: 12px;
  line-height: 12px;
  color: #000;
}

.card__text {
  position: absolute;
  left: 40px; top: 222px;
  width: 264.5px;
}
.card__body {
  margin: 0;
  font-size: 13px;
  line-height: 16px;
  color: #000;
}
.card__body + .card__body { margin-top: 21px; }
.card__body b { font-family: var(--sans-bold); font-weight: 700; }

/* La cuarta tarjeta se comporta distinto en el original: interlineado de
   15px y una caja de texto más estrecha (los cortes de línea del PDF exigen
   un ancho entre 218 y 232px). */
.card--web .card__body { line-height: 15px; }
.card--web .card__text { width: 225px; }

/* ----------------------------------------------------------- CLIENTES --- */

.clients {
  position: absolute;
  top: 1714.5px; left: 547.5px;
  width: 920.5px; height: 449px;
  background: #fff;
  border-radius: 60px;
}

.clients__illus {
  position: absolute;
  left: 87px; top: 1770px;
  width: 383px; height: 336px;
}

.clients__title {
  position: absolute;
  left: 80.2px; top: 84px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 100;
  font-size: 40px;
  line-height: 40px;
  color: #000;
}

/* La banda de testimonios ocupa solo el ancho de la cita: si cubriera toda
   la tarjeta taparía las flechas y el botón de abajo. */
.clients__slides {
  position: absolute;
  left: 99.9px; top: 140px;
  width: 690px; height: 150px;
}

/* Cita y autor van en flujo normal dentro de cada slide, así el espacio
   entre ambos es el mismo aunque un testimonio ocupe una línea más. */
.slide {
  position: absolute;
  left: 0; top: 0;
  width: 690px;
  padding-top: 21px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s linear 0.55s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s;
}

.quote {
  margin: 0;
  font-size: 15px;
  line-height: 19px;
  color: var(--dark-green);
  letter-spacing: 0;
}

.quote__author {
  margin: 32px 0 0;
  font-family: var(--sans-regular);
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #000;
  letter-spacing: 0;
}

/* Botones de 32x36 centrados sobre la posición original del icono (13x18):
   el área de clic crece sin que la flecha se mueva de sitio. */
.clients__prev, .clients__next {
  position: absolute;
  top: 194.5px;
  width: 32px; height: 36px;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients__prev { left: 52px; }
.clients__next { left: 807px; }
.clients__prev img, .clients__next img { width: 13px; height: 18px; }

.clients__dots {
  position: absolute;
  left: 0; top: 296px;
  width: 920.5px;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: none;          /* la banda no debe interceptar nada */
}
.clients__dots button {
  pointer-events: auto;
  width: 5px; height: 5px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #000;
  opacity: 0.22;
  cursor: pointer;
  transition: opacity 0.3s ease, width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.clients__dots button:hover { opacity: 0.5; }
.clients__dots button.is-active { opacity: 1; width: 18px; }

.btn--wide {
  position: absolute;
  left: 80px; top: 315px;
  width: 760.5px; height: 54px;
  border-radius: 27px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  padding-left: 303px;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}
.btn--wide img { width: 26px; height: 20px; }

/* -------------------------------------------------------------- LOGOS --- */

.logos { position: absolute; top: 2240px; left: 0; width: 1498px; height: 54px; }
.logos img { position: absolute; top: 0; height: 54px; }

/* -------------------------------------------------- SECCIÓN OSCURA ------ */

.dark-section {
  position: absolute;
  top: 2342px; left: 0;
  width: 1498px; height: 559.5px;
  background: var(--dark-brands);
  border-radius: 100px 100px 0 0;
}

.dark-section__faces {
  position: absolute;
  left: 610px; top: 100px;
  width: 278px; height: 194px;
}

/* Se centra en la sección (antes iba anclado a left:559.3px): como la
   palabra final cambia, un anclaje a la izquierda dejaría la frase
   descentrada en cuanto entrara "Recognize". */
.dark-section__title {
  position: absolute;
  left: 0; top: 307.9px;
  width: 1498px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 100;
  font-size: 65px;
  line-height: 74px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

/* --------------------------------------------------- SECCIÓN CLARA ------ */

.light-section {
  position: absolute;
  top: 2821.5px; left: 0;
  width: 1498px; height: 1034.5px;
  background: var(--bg-alt);
  border-radius: 100px;
}

/* La foto pasa al centro de la sección (1498px de ancho ÷ 2 − 550/2 = 474)
   y cada fundador cuelga de un hotspot apoyado sobre ella: punto, línea
   guía y ficha, que aquí queda siempre abierta en vez de desplegarse. */
.team-photo {
  position: absolute;
  left: 474px; top: 150px;
  width: 550px; height: 824.5px;
  border-radius: 60px;
  object-fit: cover;
}

/* El .hotspot se posiciona en el punto; la línea y la ficha se miden
   desde ahí, hacia la izquierda o hacia la derecha según el lado. */
.hotspot { position: absolute; }
.hotspot--1 { left: 504px;  top: 375px; }   /* 30px dentro del borde izquierdo */
.hotspot--2 { left: 994px;  top: 655px; }   /* 30px dentro del borde derecho  */

/* Marca de trazo fino, sin relleno ni anillos en movimiento. */
.hotspot__dot {
  position: absolute;
  left: -4.5px; top: -4.5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(39, 51, 40, 0.55);
  background: transparent;
}

.hotspot__line {
  position: absolute;
  top: 0;
  height: 1px;
  width: 90px;
  background: var(--dark-green);
  opacity: 0.25;
}
.hotspot--1 .hotspot__line { left: -90px; }
.hotspot--2 .hotspot__line { left: 0; }

.hotspot__card {
  position: absolute;
  top: -115px;
  width: 300px; height: 230px;
  background: #fff;
  border-radius: 40px;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hotspot--1 .hotspot__card { left: -390px; }  /* 300 de ficha + 90 de línea */
.hotspot--2 .hotspot__card { left: 90px; }

.hotspot__card:hover {
  transform: translateY(-4px);
}

.founder__icon { position: absolute; left: 34px; top: 34px; width: 25px; height: 20px; }

.founder__name {
  position: absolute;
  left: 34px; top: 72px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 100;
  font-size: 40px;
  line-height: 42px;
  letter-spacing: 0;
  color: #000;
  white-space: nowrap;
}

.founder__role {
  position: absolute;
  left: 34px; top: 168px;
  margin: 0;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.2px;
  color: #000;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .hotspot__card { transition: none; }
  .hotspot__card:hover { transform: none; }
}

/* ---------------------------------------------------------------- CTA --- */

.cta {
  position: absolute;
  top: 3856px; left: 40px;
  width: 1418px; height: 292px;
  background: var(--dark);
  border-radius: 70px;
}

.cta__title {
  position: absolute;
  left: 100px; top: 105.2px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 100;
  font-size: 46px;
  line-height: 46px;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0;
}

.cta__btn {
  position: absolute;
  left: 1130px; top: 120px;
  width: 188px; height: 54px;
  border-radius: 27px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  padding-left: 30.1px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0;
}
.cta__btn img { width: 15px; height: 16px; margin-left: auto; margin-right: 28px; flex: none;
  position: relative; top: -3px; }

/* ------------------------------------------------------------- FOOTER --- */

/* El pie vive fuera de .stage (el contenido de suscripción se inserta entre
   los dos): .footer-canvas es su propio lienzo de 1498x160, y .footer
   conserva las coordenadas originales de la página (top: 4249px, etc.)
   corridas -4240px para que caigan dentro de ese lienzo en vez del de
   1498x4669 completo. Los hijos son absolutos y no usan `bottom`, asi
   que el alto del contenedor no afecta a su posicion.
   (El alto original era 399px porque el diseño de origen incluía un
   formulario de newsletter y un botón de scroll-top que ya no están en
   el markup; se acortó el lienzo al alto real del contenido.) */
.footer-canvas { position: relative; width: 1498px; height: 230px; margin: 0 auto; }
.footer { position: absolute; top: -4240px; left: 0; width: 1498px; height: 0; }
.footer > * { position: absolute; }

.footer__logo { left: 172px; top: 4249px; width: 92px; height: 17px; }

/* --- menú --- */
.footer__menu { left: 177px; top: 4320px; margin: 0; padding: 0; list-style: none; }
.footer__menu li {
  font-family: var(--sans-regular);
  font-weight: 400;
  font-size: 11px;
  line-height: 24px;
  letter-spacing: 0.2px;
}
.footer__menu li a { color: #000; text-decoration: none; }

/* --- columnas: cada bloque va posicionado en su coordenada exacta --- */
.footer__col--2, .footer__col--3 { top: 1px; left: 0; width: 1498px; height: 0; }
.footer__col--2 > *, .footer__col--3 > * { position: absolute; margin: 0; }

.footer h3 {
  font-family: var(--sans-regular);
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.2px;
  color: #000;
}
.footer p {
  font-family: var(--sans-regular);
  font-weight: 400;
  font-size: 11px;
  line-height: 11px;
  letter-spacing: 0.2px;
  color: #000;
}
.footer .footer__col--2 a, .footer .footer__col--3 a { color: #000; text-decoration: none; }

.footer .rule { height: 0.5px; background: #000; }

/* columna 2 — Location / Newsletter */
.footer .f2-location   { left: 375.5px; top: 4250px; }
.footer .f2-rule1      { left: 375.5px; top: 4277px; width: 65px; }
.footer .f2-loc        { left: 375.5px; top: 4290.5px; }
.footer .f2-newsletter { left: 375.5px; top: 4358px; }
.footer .f2-rule2      { left: 375.5px; top: 4385px; width: 77px; }
.footer .f2-label      { left: 375.5px; top: 4402.5px; }
.footer .f2-legal      { left: 375.5px; top: 4340px; letter-spacing: 0; }
.newsletter-label i { font-style: normal; color: var(--asterisk); }

.footer__input {
  left: 375.5px; top: 4428px;
  width: 317px; height: 30px;
  border: 0;
  border-bottom: 0.5px solid #000;
  background: none;
  font-family: var(--sans-regular);
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.2px;
  color: #000;
  padding: 0 0 8px 16.2px;
  border-radius: 0;
}
.footer__input::placeholder { color: var(--placeholder); opacity: 1; }
.footer__input:focus { outline: none; }

.footer__send {
  left: 375.5px; top: 4467.5px;
  width: 317px; height: 35px;
  border: 0;
  border-radius: 10px;
  background: var(--sand);
  font-family: var(--serif);
  font-weight: 100;
  font-size: 15px;
  line-height: 37px;
  letter-spacing: 0.124px;
  color: #000;
  padding: 0;
  cursor: pointer;
}

/* columna 3 — Follow us / Inquiries */
.footer .f3-follow    { left: 752.5px; top: 4250px; }
.footer .f3-rule3     { left: 752.5px; top: 4277px; width: 67px; }
.footer .f3-inquiries { left: 752.5px; top: 4250px; }
.footer .f3-rule4     { left: 752.5px; top: 4277px; width: 62px; }
.footer .f3-mail      { left: 752.5px; top: 4290.5px; }

.footer .social a { position: absolute; font-family: var(--sans-regular); font-weight: 400; font-size: 11px; line-height: 11px; letter-spacing: 0.2px; }
.footer .f3-linkedin  { left: 752.5px; top: 4300.5px; }
.footer .f3-behance   { left: 815.7px; top: 4300.5px; }
.footer .f3-pinterest { left: 880.5px; top: 4300.5px; }
.footer .f3-instagram { left: 752.5px; top: 4320.5px; }
.footer .f3-facebook  { left: 823.2px; top: 4320.5px; }

.footer p.footer__tagline {
  left: 1040.1px; top: 4251px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 100;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: 0;
  color: #000;
}

/* ==========================================================================
   ANIMACIÓN
   El revelado lo activa app.js añadiendo .reveal a cada objetivo: si el JS
   no corre, la clase nunca se aplica y todo queda visible por defecto.
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
/* una vez dentro ya no hace falta reservar capa de composición */
.reveal.is-done { will-change: auto; }

/* --- flotación lenta de las ilustraciones --- */
@keyframes soft-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
.clients__illus     { animation: soft-float 7s ease-in-out infinite; }
.dark-section__faces { animation: soft-float 6s ease-in-out infinite 0.6s; }

/* --- foto del equipo: acercamiento muy leve al pasar el cursor --- */
.team-photo {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.team-photo:hover { transform: scale(1.015); }

/* --- desplazamiento suave del botón "volver arriba" --- */
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .clients__illus, .dark-section__faces { animation: none; }
  .team-photo { transition: none; }
  .team-photo:hover { transform: none; }
  .slide { transition: opacity 0.01s linear; transform: none; }
  .clients__dots button { transition: none; }
}

/* ==========================================================================
   HOVER / FOCO DE BOTONES
   Los iconos son PNG de un solo color, así que ningún fondo cambia de claro
   a oscuro (o al revés) bajo un icono: el arte quedaría invisible. Cada
   botón se mueve dentro de su propia gama. Sin sombras: el cambio se apoya
   solo en el color y en la elevación.
   ========================================================================== */

.btn,
.btn--wide,
.cta__btn,
.footer__send {
  cursor: pointer;
  transition: background-color 0.28s ease, color 0.28s ease,
              transform 0.28s ease;
}
.btn img,
.btn--wide img,
.cta__btn img {
  transition: transform 0.28s ease;
}

/* --- botones claros: blanco -> arena --- */
.btn--light:hover,
.cta__btn:hover {
  background: var(--sand);
  transform: translateY(-2px);
}
.btn--light:hover img,
.cta__btn:hover img { transform: translateX(5px); }
.cta__btn:hover img { transform: translateX(5px) translateY(-3px); }

/* --- botones oscuros: se aclaran, el icono claro sigue leyéndose --- */
.btn--dark:hover {
  background: #3d3d2e;
  transform: translateY(-2px);
}
.btn--dark:hover img { transform: translateX(5px); }

.btn--wide:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
}
.btn--wide:hover img { transform: translateX(6px); }

/* --- enviar del newsletter: arena -> oscuro --- */
.footer__send:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}

/* --- enlaces de navegación y de pie --- */
.footer__menu li a,
.footer .social a,
.footer .f3-mail a {
  transition: opacity 0.22s ease, text-decoration-color 0.22s ease;
  text-decoration: underline 1px transparent;
  text-underline-offset: 4px;
}
.footer__menu li a:hover,
.footer .social a:hover,
.footer .f3-mail a:hover {
  text-decoration-color: currentColor;
  opacity: 0.75;
}
/* --- tarjetas de servicios --- */
.card {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover { transform: translateY(-6px); }

/* --- logos de clientes --- */
.logos img {
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease;
}
.logos img:hover { transform: translateY(-4px); opacity: 0.7; }

/* --- flechas del carrusel de testimonios --- */
.clients__prev,
.clients__next {
  cursor: pointer;
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.clients__prev:hover { transform: translateX(-4px); }
.clients__next:hover { transform: translateX(4px); }

/* --- foco visible por teclado --- */
.btn:focus-visible,
.btn--wide:focus-visible,
.cta__btn:focus-visible,
.footer__send:focus-visible,
.footer__menu li a:focus-visible,
.footer .social a:focus-visible,
.footer .f3-mail a:focus-visible {
  outline: 2px solid var(--asterisk);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn--wide, .cta__btn, .footer__send,
  .btn img, .btn--wide img, .cta__btn img,
  .clients__prev, .clients__next, .card, .logos img {
    transition: none;
  }
  .btn:hover, .btn--wide:hover, .cta__btn:hover,
  .footer__send:hover,
  .btn:hover img, .btn--wide:hover img, .cta__btn:hover img,
  .clients__prev:hover, .clients__next:hover,
  .card:hover, .logos img:hover {
    transform: none;
  }
}

/* ==========================================================================
   RESPONSIVE
   Todo lo de arriba es el diseño aprobado a 1498px y no se toca: este bloque
   solo añade reglas dentro de @media, así que a partir de 1498px el
   resultado es idéntico al original.

   Tres tramos:
     ≥ 1498px   el diseño tal cual.
     1200–1497  el lienzo de 1498px se escala para llenar la ventana. El
                diseño no se recompone, solo encoge: en un portátil de 1440
                se ve al 96%.
     < 1200px   por debajo de ~0,80 el cuerpo de texto (13px) bajaría de
                10px y dejaría de leerse, así que aquí sí se recompone a una
                sola columna.
   ========================================================================== */

/* El envoltorio de los controles del carrusel no genera caja en escritorio:
   las flechas y los puntos siguen colgando de .clients exactamente igual que
   antes. Solo por debajo de 1200px pasa a ser una fila flex. */
.clients__controls { display: contents; }

/* -------------------------------------------------- 1200–1497: escalado --- */

@media (min-width: 1200px) and (max-width: 1497px) {
  html, body { overflow-x: hidden; }

  .stage, .footer-canvas {
    /* tan(atan2(a, b)) es la forma de dividir dos longitudes en CSS y obtener
       un número sin unidad. El valor fijo de antes queda como respaldo en
       navegadores que no soporten atan2. */
    --s: 0.86;
    --s: tan(atan2(100vw, 1498px));
    transform: scale(var(--s));
    transform-origin: top left;
  }
  /* el escalado no reduce el espacio que ocupa la caja: se descuenta */
  .stage { margin-bottom: calc(-3856px * (1 - var(--s))); }
  .footer-canvas { margin-bottom: calc(-230px * (1 - var(--s))); }
}

/* ------------------------------------------------ < 1200px: recomposición --- */

@media (max-width: 1199px) {

  /* --- lienzo --- */
  .stage {
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 0 clamp(26px, 6vw, 64px);
  }

  /* --- pie: fuera de .stage, recupera aquí el mismo respiro que tenía
     dentro (los mismos laterales y el mismo hueco final de 72px) --- */
  .footer-canvas {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 clamp(26px, 6vw, 64px) 72px;
  }

  /* --- nav --- */
  .nav {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: 26px auto 0;
    padding: 13px 21px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* --- hero --- */
  .badge {
    position: static;
    width: max-content;
    max-width: 100%;
    margin: clamp(34px, 6vw, 60px) auto 0;
  }

  .hero__title {
    position: static;
    width: auto;
    margin: clamp(20px, 3vw, 30px) 0 0;
    font-size: clamp(23px, 7.2vw, 65px);
    line-height: 1.15;
  }
  /* el ancho reservado para la frase que se teclea lo recalcula app.js en
     cada resize; aquí solo se permite que la frase parta línea si no cabe */
  .hero__title .type { max-width: 100%; white-space: normal; }
  .hero__title .type__out { white-space: pre-wrap; }

  .btn-row {
    position: static;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: clamp(26px, 4vw, 38px);
  }

  .trust { position: static; width: auto; margin-top: clamp(22px, 3vw, 30px); }

  .hero__laptop {
    position: static;
    width: 100%;
    max-width: 964.5px;
    height: auto;
    margin: clamp(34px, 5vw, 56px) auto 0;
  }

  .intro {
    position: static;
    width: auto;
    max-width: 620px;
    margin: clamp(30px, 4vw, 44px) auto 0;
    font-size: clamp(14px, 1.7vw, 17px);
    line-height: 1.5;
    text-align: center;
  }

  /* --- tarjetas de servicios --- */
  .cards {
    position: static;
    width: auto;
    margin: clamp(48px, 7vw, 84px) 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .card { width: auto; height: auto; padding: 40px; }
  .card__icon  { position: static; margin-bottom: 30px; }
  .card__title { position: static; font-size: 30px; margin-bottom: 22px; }
  .card__lead  { position: static; margin-bottom: 16px; }
  .card__text, .card--web .card__text { position: static; width: auto; }

  /* --- testimonios --- */
  .clients__illus {
    position: static;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: clamp(48px, 7vw, 80px) auto 0;
  }

  .clients {
    position: static;
    width: auto;
    height: auto;
    margin: clamp(22px, 3vw, 34px) 0 0;
    padding: clamp(30px, 4vw, 52px) clamp(24px, 3.5vw, 56px);
    border-radius: clamp(30px, 4vw, 60px);
  }
  .clients__title { position: static; font-size: 30px; margin-bottom: clamp(22px, 3vw, 34px); }

  /* las citas se siguen apilando en la misma celda, ahora con alto propio */
  .clients__slides {
    position: static;
    width: auto;
    height: auto;
    display: grid;
  }
  .slide { position: static; grid-area: 1 / 1; width: auto; padding-top: 0; }

  /* el envoltorio deja de ser display:contents y forma la fila de controles */
  .clients__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: clamp(24px, 3vw, 34px) 0;
  }
  .clients__prev, .clients__next { position: static; }
  .clients__prev { order: 1; }
  .clients__dots { order: 2; position: static; width: auto; }
  .clients__next { order: 3; }

  .btn--wide {
    position: static;
    width: 100%;
    padding-left: 0;
    justify-content: center;
    gap: 12px;
  }

  /* --- logos --- */
  .logos {
    position: static;
    width: auto;
    height: auto;
    margin: clamp(46px, 6vw, 76px) 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 44px);
  }
  /* los anchos por logo van en atributo style, hay que ganarles */
  .logos img {
    position: static;
    height: clamp(34px, 4vw, 46px);
    width: auto !important;
  }

  /* --- sección oscura --- */
  .dark-section {
    position: static;
    width: auto;
    height: auto;
    margin: clamp(46px, 6vw, 76px) 0 0;
    padding: clamp(44px, 6vw, 80px) clamp(22px, 3vw, 40px);
    border-radius: clamp(34px, 5vw, 100px);
  }
  .dark-section__faces {
    position: static;
    width: clamp(170px, 22vw, 278px);
    height: auto;
    margin: 0 auto clamp(20px, 3vw, 32px);
  }
  .dark-section__title {
    position: static;
    width: auto;
    font-size: clamp(30px, 5.6vw, 65px);
    line-height: 1.16;
    white-space: normal;
  }
  .dark-section__title .type { max-width: 100%; }

  /* --- sección clara / equipo --- */
  /* La foto ocupa la fila de arriba y las dos fichas van debajo en una sola
     fila de dos columnas, del mismo ancho y estiradas al mismo alto. */
  .light-section {
    position: static;
    width: auto;
    height: auto;
    margin: clamp(30px, 4vw, 48px) 0 0;
    padding: 0;
    border-radius: clamp(34px, 5vw, 100px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 26px);
    align-items: stretch;
    justify-items: stretch;
  }
  .team-photo {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: 0 auto clamp(6px, 1.4vw, 14px);
    border-radius: clamp(30px, 4vw, 60px);
  }
  .hotspot { position: static; display: flex; }
  .hotspot__dot, .hotspot__line { display: none; }
  .hotspot__card {
    position: static;
    width: 100%;
    height: auto;          /* el alto lo iguala el stretch de la fila */
    padding: clamp(22px, 3vw, 34px);
  }
  .founder__icon { position: static; margin-bottom: clamp(14px, 2vw, 18px); }
  .founder__name {
    position: static;
    margin-bottom: clamp(14px, 2vw, 20px);
    font-size: clamp(23px, 3.6vw, 40px);
    line-height: 1.08;
  }
  .founder__role { position: static; font-size: clamp(11px, 1.4vw, 13px); line-height: 1.28; }

  /* --- CTA --- */
  .cta {
    position: static;
    width: auto;
    height: auto;
    margin-top: 20px;
    padding: clamp(38px, 5vw, 64px) clamp(26px, 4vw, 60px);
    border-radius: clamp(30px, 4vw, 70px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 3vw, 40px);
  }
  .cta__title {
    position: static;
    font-size: clamp(26px, 4.4vw, 46px);
    line-height: 1.12;
    white-space: normal;
  }
  .cta__btn { position: static; flex: none; }

  /* --- footer --- */
  .footer,
  .footer > *,
  .footer__col--2, .footer__col--3,
  .footer__col--2 > *, .footer__col--3 > *,
  .footer .social a {
    position: static;
    left: auto;
    top: auto;
  }
  .footer {
    width: auto;
    height: auto;
    margin: clamp(50px, 7vw, 90px) 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 4vw, 48px) clamp(24px, 3vw, 40px);
    align-items: start;
  }
  .footer__col--2, .footer__col--3 { width: auto; height: auto; }
  .footer__logo { margin-bottom: 22px; }
  .footer__menu { margin-top: -6px; }

  .footer h3 { margin: 0 0 8px; }
  .footer .rule { margin-bottom: 12px; }
  .footer p { margin: 0; }
  .f2-loc { margin-bottom: 26px !important; }
  .f2-legal { padding-top: 34px; margin-top: 0; }

  .footer .social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    margin: 0;
  }

  .footer__input, .footer__send { width: 100%; max-width: 317px; }
  .footer__send { margin-top: 12px; }
}

/* ---------------------------------------------- < 860px: una columna --- */

@media (max-width: 859px) {
  .footer { grid-template-columns: 1fr; }
  .footer__tagline { margin-top: 6px; }
}

@media (max-width: 699px) {
  .cards { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- < 640px: teléfono --- */

@media (max-width: 639px) {
  .nav { padding: 14px 18px; }

  .card { padding: 32px 28px; }
  .cta { justify-content: center; text-align: center; }
  .cta__btn { width: 100%; justify-content: center; padding-left: 0; gap: 12px; }
  .cta__btn img { margin: 0; }
}

/* ===================================================== BOTÓN "INGRESAR" ===
   Acceso directo a la Plataforma para quien ya está suscrito. Vive fuera
   de .stage (a nivel de body) para no depender de su overflow/posicionamiento
   pixel-perfect: es fixed respecto al viewport, no al lienzo de 1498px.
   ========================================================================== */
.vs-login-btn {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  background: #fff;
  color: #000;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s cubic-bezier(0.22,0.61,0.36,1);
}
.vs-login-btn:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

@media (max-width: 1497px) {
  .vs-login-btn { top: 16px; right: 16px; height: 36px; padding: 0 16px; font-size: 12.5px; }
}
