/* TurbineH brand over startups.turbineh.com. Values from Figma BrainOS 58:178: #171717, #EDF4FF, #1976FE, Geist, Geist Serif Square, square corners.
   Type follows Company Deck v9: serif for the hero, the close and big figures, Geist for everything else. */
@font-face { font-family: "Geist Serif Square"; src: url("fonts/GeistSerif-Square.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --fondo: #FFFFFF; --suave: #F3F7FE; --tinta: #171717; --tenue: #5A5F66; --navy: #171717; --ice: #EDF4FF;
  --linea: rgba(23, 23, 23, .12); --linea2: rgba(23, 23, 23, .22);
  --v-azul: #1976FE; --v-rojo: #0F4FE0; --v-lima: #6FA8FF; --v-amarillo: #5B9DFF; --v-morado: #2C5BD9; --v-rosa: #A9C6FF; --v-naranja: #123A9C;
  --texto: "Geist", system-ui, sans-serif; --pixel: "Geist", system-ui, sans-serif; --serif: "Geist Serif Square", serif;
  --blue: #1976FE; --blue-hover: #0F66E6; --mute-dark: #A3A7AE; --rule-dark: rgba(237, 244, 255, .18);
  --sombra: none;
}
html { scroll-padding-top: 0; }
body { letter-spacing: -.01em; }
.envoltura { max-width: 1680px; }

/* Square corners everywhere. The phone stays a phone, and spinners and status dots stay round */
*:not(.telefono, .telefono *, .gira, .espera-t, .check), *:not(.telefono, .telefono *, .gira, .espera-t, .check)::before, *:not(.telefono, .telefono *, .gira, .espera-t, .check)::after { border-radius: 0 !important; }
.exito-c, .plan, .cmp-t, .carta, .caso, .ficha, .rw, .pp-paso.on, .nota-v, .bur, .ag2 em, .ficha-t, .hv-ventana, .wl-caja, .tk-img { box-shadow: none; }

/* Type */
.d1 { font: 400 clamp(42px, calc(100vw / 15), 128px)/1 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.h2 { font-weight: 400; font-size: clamp(34px, 4vw, 72px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.h3, h3 { font-weight: 400; letter-spacing: -.02em; }
.sub { letter-spacing: -.01em; }
.pixel { font-size: 16px; letter-spacing: -.01em; color: var(--tenue); }
.azul { color: var(--blue); }
.cab { max-width: 880px; }

/* Buttons: Figma 58:212 and 58:214 */
.boton, .portada a[data-wl], .cierre a[data-wl], .exitos-cta a[data-wl], .cab-arranque a[data-wl] { gap: 10px; padding: 12px 20px; font-size: 18px; line-height: 24px; font-weight: 400; letter-spacing: -.01em; border-width: 0; transition: background-color .15s ease, color .15s ease; }
.boton:hover { transform: none; }
.boton:active { transform: scale(.98); }
.boton svg { width: 18px; height: 18px; }
.boton.hueco { box-shadow: inset 0 0 0 1px var(--tinta); background: none; }
.boton.hueco:hover { background: var(--tinta); color: #fff; }
a[data-wl] { background: var(--blue) !important; font-weight: 400; box-shadow: none; animation: none; }
a[data-wl]::before, a[data-wl]::after { content: none; }
a[data-wl]:hover { background: var(--blue-hover) !important; }
.boton.negro { background: var(--tinta); color: #fff; }
.boton.negro:hover { background: #333; }

/* Floating nav: Figma 58:186. It reads the section under it */
.nav { position: fixed; inset: 20px 0 auto; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; --tone-fg: #F5F5F5; --tone-bg: rgba(23, 23, 23, .2); --tone-on: rgba(237, 244, 255, .1); --tone-hover: rgba(237, 244, 255, .16); }
.nav.is-light { --tone-fg: #171717; --tone-bg: rgba(255, 255, 255, .72); --tone-on: rgba(23, 23, 23, .1); --tone-hover: rgba(23, 23, 23, .08); }
.nav a { pointer-events: auto; }
.nav .envoltura { height: auto; gap: 0; align-items: center; }
.nav .marca { font-size: 0; margin-right: auto; }
.nav .sello { width: 64px; height: 64px; background: var(--blue); color: #fff; }
.nav .sello svg { width: 48px; height: 48px; }
.menu { gap: 0; font-size: 18px; }
.menu a { padding: 12px 16px; line-height: 24px; color: var(--tone-fg); background: var(--tone-bg); border: 0; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transition: background-color .2s ease, color .2s ease; }
.menu a:hover { color: var(--tone-fg); background: var(--tone-hover); }
.menu a[aria-current="true"] { background: var(--tone-on); }
.nav .boton { padding: 12px 16px; font-size: 18px; }
.sello { background: var(--blue); color: #fff; }
@media (max-width: 720px) { .nav .sello { width: 48px; height: 48px; } .nav .sello svg { width: 36px; height: 36px; } }

/* Turbine lines: only in the hero and the close */
.blades { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.blades .reach path, .blades .impulse path { fill: none; stroke: var(--blue); }
.blades .reach path { stroke-width: 1.5; }
.blades .impulse path { stroke-width: 1.5; stroke-dasharray: .06 1.06; stroke-dashoffset: .06; animation: impulse 18s cubic-bezier(.3, .1, .3, 1) infinite; animation-delay: calc(var(--i) * 3s); }
.is-away .blades .impulse path { animation-play-state: paused; }
@keyframes impulse { 0% { stroke-dashoffset: .06; } 30%, 100% { stroke-dashoffset: -1; } }

/* Hero: black, centred, with the HEART window below */
.portada { position: relative; overflow: hidden; padding: clamp(128px, 15vh, 176px) 0 64px; background: var(--tinta); color: var(--ice); }
.portada .envoltura { position: relative; }
.cab-portada { display: flex; flex-direction: column; align-items: center; gap: 27px; text-align: center; }
.cab-portada > div { display: contents; }
.eyebrow-h { margin: 0; color: var(--mute-dark); font-size: 18px; }
.cab-portada .sub { max-width: 620px; opacity: 1; color: var(--mute-dark); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; padding: 0; text-wrap: balance; }
.cab-portada .sub b { font-weight: 400; white-space: normal; color: var(--ice); }
.cab-portada .botones { justify-content: center; gap: 8px; margin-top: 0 !important; }
.portada .boton.negro { background: rgba(237, 244, 255, .1); color: #F5F5F5; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.portada .boton.negro:hover { background: rgba(237, 244, 255, .18); }
.hv-producto { position: relative; margin-top: 72px; padding: 0; background: none; }
.hv-ventana { color: var(--tinta); }
.hv-noti.oscura { background: var(--tinta); color: #fff; }
.hv-chat button { box-shadow: none; }
.invita { background: rgba(237, 244, 255, .1); border-color: var(--rule-dark); }
.invita p, .invita p b { color: var(--ice); }

/* White sections */
.bur { border-color: var(--linea2); }
.bur-c { background: var(--ice); border-color: var(--blue); color: var(--tinta); }
.cara-c { background: none; box-shadow: none; }
.exito-c { background: var(--ice) !important; }
.exito-c:first-child { background: var(--tinta) !important; color: var(--ice); }
.exito-c:first-child .pixel, .exito-c:first-child p, .exito-c:first-child .exito-n small { color: var(--mute-dark); }
.exito-c:first-child p b, .exito-c:first-child .exito-n { color: var(--ice); }
.exito-n { font-weight: 400; }
.exito-n span { font-family: var(--serif); letter-spacing: -.04em; font-size: clamp(72px, 9vw, 150px); line-height: 1; }
.exito-n small { font-family: var(--texto); letter-spacing: -.01em; font-weight: 400; }
.exito-c p b { font-weight: 500; }

.cab-arranque { max-width: 880px; }
.vivo-a { font-family: var(--texto); font-size: 16px; letter-spacing: -.01em; color: var(--tinta); background: var(--ice); }
.vivo-a i { background: var(--blue); box-shadow: none; animation: none; }
.num { font-family: var(--serif); letter-spacing: -.03em; color: rgba(23, 23, 23, .22); }
.paso-a.on .num { color: var(--blue); }
.etq-a { font-family: var(--texto); letter-spacing: -.01em; }
.franja-fila span { font-weight: 400; color: var(--tenue); }

/* Jobs: the black break in the middle of the page */
#jobs { background: var(--tinta); color: var(--ice); }
.panel-t { padding: 0; background: none; overflow: visible; }
/* Hidden without display:none: the page script measures this canvas */
.grano-t { visibility: hidden; }
.izq-t .sub { color: var(--mute-dark); }
.solo-h { color: var(--ice); font-weight: 400; }
.pil { background: rgba(237, 244, 255, .1); color: var(--ice); transition: background-color .15s ease, color .15s ease; }
.pil:hover { background: rgba(237, 244, 255, .18); }
.pil.on { background: var(--ice); color: var(--tinta); }
.carga-p { background: var(--blue); }
/* White objects on black keep their own dark text */
.ficha-t, .telefono { color: var(--tinta); }
.ficha-t { box-shadow: none; }
.ficha-t li { background: var(--suave); }
.ruta-t span { background: var(--suave); color: var(--tinta); }
.ruta-t span.h { background: var(--tinta); }
.telefono { border-color: #3A3A3A; box-shadow: none; }
.isla { background: #3A3A3A; }

/* Capabilities and departments */
.bento article { background: var(--suave); border: 0; }
.cifra-g b { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
.chat-g .a, .doc-v header em.vivo-v, .doc-v header em { background: var(--ice); color: var(--tinta); border-color: transparent; }
.sello-v { color: var(--blue); border-color: rgba(25, 118, 254, .35); }
.mini-d div.on { border-color: var(--blue); }
.pp-panel { background: var(--suave); }
.pp-num { font-family: var(--texto); letter-spacing: -.01em; color: var(--blue); }
.pp-paso ul { border-top-style: solid; }
.pp-tab { transition: background-color .15s ease, color .15s ease; }

/* Pricing: outlined plan against a black plan */
.plan { background: #fff !important; box-shadow: inset 0 0 0 1px var(--tinta); }
.plan:nth-child(2) { background: var(--tinta) !important; color: var(--ice); box-shadow: none; }
.plan:nth-child(2) .pixel, .plan:nth-child(2) b small { color: var(--mute-dark); }
.plan b { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
.plan b small { font-family: var(--texto); letter-spacing: -.01em; font-weight: 400; }
.plazas i, .wl-aviso i { background: var(--blue); box-shadow: 0 0 0 4px rgba(25, 118, 254, .18); }

/* Compare */
.cmp-titulo { font-weight: 400; }
.cmp-t { border-color: var(--linea2); }
.cmp-t:hover { box-shadow: none; border-color: var(--tinta); }
.cmp-fondo { background: var(--tinta) !important; }
.cmp-fondo::after { content: none; }
.par b { box-shadow: none; }
.par.pixh .vs-p { font-family: var(--texto); letter-spacing: -.01em; color: var(--mute-dark); }

/* Close: black, with the turbine lines again. The footer continues it */
section:has(> .envoltura > .cierre) { position: relative; overflow: hidden; padding: 0 !important; background: var(--tinta); }
section:has(> .envoltura > .cierre) > .envoltura { position: relative; }
.cierre { padding: clamp(120px, 12vw, 176px) 0 0; background: none; color: var(--ice); text-align: center; }
.cierre .pixel { color: var(--mute-dark); font-size: 18px; }
.cierre .h2 { max-width: none; font-family: var(--serif); font-size: clamp(42px, calc(100vw / 15), 128px); line-height: 1; margin-top: 20px; }
.cierre .botones { justify-content: center; }
.cierre .plazas { justify-content: center; }
.cierre .boton.hueco { background: rgba(237, 244, 255, .1); color: #F5F5F5; box-shadow: none; }
.cierre .boton.hueco:hover { background: rgba(237, 244, 255, .18); }
.monton { border-color: var(--rule-dark); }
.plazas, .pie-cierre, .pie-cierre * { color: var(--mute-dark); }
.pie { position: relative; background: var(--tinta); color: var(--ice); }
.pie-col .pixel { color: var(--ice); }
.pie-col a, .pie-lema { color: var(--mute-dark); }
.pie-col a:hover { color: var(--ice); }

/* Intro: black, as the hero it opens onto */
.intro { background: var(--tinta); color: var(--ice); }
.in-fondo { visibility: hidden; }
.in-frase { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; font-size: clamp(30px, min(6.4vw, 10.5vh), 100px); }
.in-w { filter: none; transform: translateY(.12em); }
@keyframes palabra { to { opacity: 1; transform: none; } }
.intro .in-u .in-w { color: var(--ice); background: none; -webkit-text-fill-color: currentColor; }
.in-x { background: rgba(237, 244, 255, .1); color: #F5F5F5; border: 0; font-family: var(--texto); }
.in-play { background: rgba(237, 244, 255, .1); color: #F5F5F5; border: 0; }
.intro .pixel, .in-play-t small { color: var(--mute-dark); }
.in-play-i { background: var(--blue); color: #fff; }

/* Waitlist */
.wl-fondo { background: rgba(23, 23, 23, .6); }
.wl-caja h2 { font-weight: 400; letter-spacing: -.03em; }
.wl-enviar.boton.negro { background: var(--blue); }
.wl-enviar.boton.negro:hover { background: var(--blue-hover); }
.wl-ticket { background: var(--ice); }
.wl-campo input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25, 118, 254, .18); }

@media (max-width: 700px) {
  /* The bubbles open upwards: leave them room so they clear the text above */
  .charla2 { margin-top: 130px; }
  .bur:not(.bur-c) { width: 150px; }
  .cierre .plazas { flex-wrap: nowrap; text-align: left; }
  .plan b small:not(.desde) { display: block; margin: 8px 0 0; }
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .blades .impulse { display: none; }
}

/* Paso del hero negro al cuerpo blanco: el negro acaba a mitad de la ventana
   de producto, que queda montada entre los dos. Una franja blanca tapa la
   parte de abajo del hero, palas incluidas. La ventana va sin barra de
   titulo: mapa de 600px (520px en movil) mas los 64px de aire de debajo */
.hv-barra { display: none; }
.portada::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 364px; background: var(--fondo); }
.portada > .envoltura { z-index: 1; }
@media (max-width: 700px) { .portada::after { height: 324px; } }
.hv-ventana { box-shadow: 0 0 0 1px var(--linea); }

/* Igual que turbineh.com: mismo ancho, mismos margenes y titulares sin
   kicker. Va al final para mandar sobre lo anterior. */
.envoltura { max-width: 1360px !important; padding-left: 20px !important; padding-right: 20px !important; }
@media (min-width: 800px) { .envoltura { padding-left: 32px !important; padding-right: 32px !important; } }
.cmp-h { margin-bottom: 40px; }
.nav .nombre { display: inline-flex; align-items: center; padding: 20px 16px; height: 64px; font-size: 18px; line-height: 24px; letter-spacing: -.02em; color: var(--tone-fg); background: var(--tone-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
@media (max-width: 720px) { .nav .nombre { height: 48px; padding: 12px 14px; font-size: 16px; } }
.nav .marca { display: inline-flex; align-items: center; }

/* 100+ agentes y un fundador: cuadros que se encienden, como en la portada de turbineh.com.
   El primero, en negro, es el fundador. */
.red { height: auto !important; -webkit-mask-image: none !important; mask-image: none !important; }
.cien-a { max-width: 960px; margin: 56px auto 0; }
.cien-a ul { display: grid; grid-template-columns: repeat(20, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.cien-a li { aspect-ratio: 1; background: transparent; box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .12); transition: background-color .4s ease var(--d, 0ms), box-shadow .4s ease var(--d, 0ms); }
.cien-a li.tu { background: var(--tinta); box-shadow: none; }
.cien-a.on li:not(.tu) { background: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
@media (max-width: 720px) { .cien-a ul { grid-template-columns: repeat(12, 1fr); gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .cien-a li { transition: none; } }
