/* Lanzadera · estilos de la web (T-045, rediseño v6). Hecho a mano, sin framework.
   Paletas: A (por defecto), B y C. Se cambia con <html data-paleta="b"> o ?paleta=b en la dirección. */
@font-face {
  font-family: "Inter";
  src: url("/fuentes/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Paleta A · Luz y azul eléctrico ---------- */
:root {
  --fondo: #f5f3ee;
  --fondo-2: #ebe8e0;
  --tarjeta: #ffffff;
  --tinta: #0e0e12;
  --suave: #4f4f5a;
  --tenue: #8a8a94;
  --linea: rgba(14, 14, 18, .09);
  --acento: #2f5bff;
  --acento-2: #1e44e6;
  --acento-tinta: #ffffff;
  --chispa: #d4f83c;
  --chispa-tinta: #0e0e12;
  --malla-1: rgba(47, 91, 255, .55);
  --malla-2: rgba(212, 248, 60, .65);
  --malla-3: rgba(140, 110, 255, .35);
  --banda: #2f5bff;
  --banda-tinta: #ffffff;
  --sombra: 0 30px 60px -30px rgba(20, 30, 80, .35);
  --punto-logo: #e4572e;
  color-scheme: light;
}
/* ---------- Paleta B · Aurora ---------- */
[data-paleta="b"] {
  --fondo: #0a0f24;
  --fondo-2: #10173a;
  --tarjeta: #141c40;
  --tinta: #eef1ff;
  --suave: #aeb5dc;
  --tenue: #7b83ad;
  --linea: rgba(238, 241, 255, .1);
  --acento: #7c5cff;
  --acento-2: #6a47ff;
  --acento-tinta: #ffffff;
  --chispa: #22d3ee;
  --chispa-tinta: #04121a;
  --malla-1: rgba(124, 92, 255, .6);
  --malla-2: rgba(34, 211, 238, .45);
  --malla-3: rgba(236, 72, 153, .3);
  --banda: linear-gradient(120deg, #6a47ff, #22a5ee);
  --banda-tinta: #ffffff;
  --sombra: 0 40px 80px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
/* ---------- Paleta C · Verde y crema ---------- */
[data-paleta="c"] {
  --fondo: #f2eee3;
  --fondo-2: #e7e1d1;
  --tarjeta: #fbf9f3;
  --tinta: #0f2e23;
  --suave: #43574e;
  --tenue: #7f8c85;
  --linea: rgba(15, 46, 35, .1);
  --acento: #12503b;
  --acento-2: #0c3d2c;
  --acento-tinta: #f2eee3;
  --chispa: #c8f169;
  --chispa-tinta: #0f2e23;
  --malla-1: rgba(18, 80, 59, .45);
  --malla-2: rgba(200, 241, 105, .7);
  --malla-3: rgba(255, 196, 120, .35);
  --banda: #12503b;
  --banda-tinta: #f2eee3;
  color-scheme: light;
}

:root {
  --radio: 26px;
  --ancho: 1200px;
  --margen: clamp(20px, 5vw, 48px);
  --curva: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font: 400 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--chispa); color: var(--chispa-tinta); }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 8px; }

.saltar { position: absolute; left: -9999px; top: 10px; z-index: 100; background: var(--acento); color: var(--acento-tinta); padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.saltar:focus { left: 10px; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--margen); }
.punto { color: var(--punto-logo); }

/* ---------- Logo (el de siempre: «Lanzadera» en negrita y el punto naranja) ---------- */
.logo { font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--punto-logo); }

/* ---------- Cabecera ---------- */
.cabecera { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s var(--curva), border-color .4s; }
.cabecera.con-fondo {
  background: color-mix(in srgb, var(--fondo) 78%, transparent);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-color: var(--linea);
}
.cabecera .envoltura { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.cabecera .logo { font-size: 24px; }
.menu { display: none; gap: 30px; font-size: 15px; font-weight: 500; color: var(--suave); }
.menu a { text-decoration: none; transition: color .2s; }
.menu a:hover { color: var(--tinta); }

/* ---------- Botones ---------- */
.boton {
  --alto: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--alto); padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--acento); color: var(--acento-tinta);
  font: 650 16px/1 "Inter", system-ui, sans-serif; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--curva), background .25s, box-shadow .25s;
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--acento) 80%, transparent);
  -webkit-tap-highlight-color: transparent;
}
.boton:hover { background: var(--acento-2); transform: translateY(-2px); }
.boton:active { transform: scale(.97); }
.boton svg { width: 18px; height: 18px; transition: transform .25s var(--curva); }
.boton:hover svg { transform: translateX(3px); }
.boton-pequeno { --alto: 42px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
.boton-fantasma { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--linea); }
.boton-fantasma:hover { background: color-mix(in srgb, var(--tinta) 5%, transparent); }

/* ---------- Portada ---------- */
.portada { position: relative; padding: 116px 0 70px; isolation: isolate; overflow: hidden; }
.malla { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.malla i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; will-change: transform; }
.malla i:nth-child(1) { width: 62vmax; height: 62vmax; right: -22vmax; top: -26vmax; background: var(--malla-1); animation: deriva-1 22s ease-in-out infinite alternate; }
.malla i:nth-child(2) { width: 46vmax; height: 46vmax; left: -18vmax; top: 18%; background: var(--malla-2); animation: deriva-2 26s ease-in-out infinite alternate; }
.malla i:nth-child(3) { width: 40vmax; height: 40vmax; right: 10%; bottom: -24vmax; background: var(--malla-3); animation: deriva-3 30s ease-in-out infinite alternate; }
@keyframes deriva-1 { to { transform: translate3d(-12vmax, 10vmax, 0) scale(1.1); } }
@keyframes deriva-2 { to { transform: translate3d(14vmax, -6vmax, 0) scale(1.15); } }
@keyframes deriva-3 { to { transform: translate3d(-10vmax, -8vmax, 0) scale(.9); } }
.portada::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; background: linear-gradient(transparent, var(--fondo)); }
.grano {
  position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-paleta="b"] .grano { mix-blend-mode: overlay; }

.portada-rejilla { display: grid; gap: 48px; align-items: center; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--tarjeta) 70%, transparent); box-shadow: inset 0 0 0 1px var(--linea);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 600; color: var(--suave);
}
.etiqueta i { width: 8px; height: 8px; border-radius: 50%; background: var(--acento); animation: latir 2.2s infinite; }
@keyframes latir {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acento) 55%, transparent); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.titular { margin: 22px 0 26px; font-size: clamp(44px, 12vw, 96px); font-weight: 750; letter-spacing: -.055em; line-height: .95; }
.titular .linea-1 { white-space: nowrap; }
.titular .rota {
  display: inline-block; position: relative; vertical-align: top; height: 1.1em; margin-bottom: -.16em;
  line-height: inherit; overflow: hidden; color: var(--acento);
  width: var(--ancho-palabra, 2.6ch); transition: width .7s var(--curva);
}
.titular .rota span { position: absolute; left: 0; top: 0; white-space: nowrap; padding-right: .04em; transform: translateY(130%); opacity: 0; transition: transform .8s var(--curva), opacity .8s var(--curva); }
.titular .rota span.activa { transform: translateY(0); opacity: 1; }
.titular .rota span.sale { transform: translateY(-130%); opacity: 0; }

/* Plazos enormes */
.plazos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 26px; }
.plazo {
  position: relative; overflow: hidden; padding: 18px 18px 18px; border-radius: 24px;
  background: var(--tarjeta); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra);
}
.plazo .cifra { display: flex; align-items: baseline; gap: 6px; font-size: clamp(54px, 16vw, 92px); font-weight: 800; letter-spacing: -.07em; line-height: .85; font-variant-numeric: tabular-nums; }
.plazo .cifra small { font-size: .32em; letter-spacing: -.03em; font-weight: 700; }
.plazo p { margin: 12px 0 0; font-size: 15px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.plazo p span { display: block; font-weight: 450; color: var(--suave); font-size: 13.5px; }
.plazo.uno .cifra { color: var(--acento); }
.plazo.dos { background: var(--chispa); color: var(--chispa-tinta); }
.plazo.dos p span { color: color-mix(in srgb, var(--chispa-tinta) 70%, transparent); }
.entrada { max-width: 36ch; margin: 0 0 28px; font-size: clamp(17px, 4.4vw, 20px); line-height: 1.45; color: var(--suave); }
.entrada strong { color: var(--tinta); font-weight: 650; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }

/* Móvil dibujado que se monta solo */
.telefono-zona { position: relative; display: grid; place-items: center; padding: 10px 0 20px; }
.telefono {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 12px;
  background: #101014; box-shadow: 0 0 0 2px rgba(255, 255, 255, .06), 0 50px 90px -30px rgba(20, 30, 80, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
  transform: rotate(-4deg);
}
.telefono::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #000; z-index: 3; }
.pantalla { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #f7f7fb; color: #0e0e12; padding: 54px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.app-cab { display: flex; align-items: center; justify-content: space-between; }
.app-cab b { font-size: 17px; letter-spacing: -.03em; }
.app-cab i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2f5bff, #8c6eff); }
.app-pieza { border-radius: 16px; background: #fff; box-shadow: 0 6px 16px -10px rgba(20, 30, 80, .4), inset 0 0 0 1px rgba(14, 14, 18, .06); padding: 12px; opacity: 0; transform: translateY(14px) scale(.96); animation: montar 9s var(--curva) infinite; }
.app-pieza:nth-child(2) { animation-delay: .4s; }
.app-pieza:nth-child(3) { animation-delay: 1.1s; }
.app-pieza:nth-child(4) { animation-delay: 1.8s; }
.app-pieza:nth-child(5) { animation-delay: 2.5s; }
@keyframes montar {
  0% { opacity: 0; transform: translateY(14px) scale(.96); }
  8%, 86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); }
}
.app-hola { font-size: 12px; color: #6b6b78; }
.app-dato { font-size: 26px; font-weight: 800; letter-spacing: -.04em; margin-top: 2px; }
.app-barras { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 8px; }
.app-barras span { flex: 1; border-radius: 6px 6px 3px 3px; background: #2f5bff; transform-origin: bottom; animation: crecer 9s var(--curva) infinite; animation-delay: 1.2s; }
.app-barras span:nth-child(2n) { background: #d4f83c; }
.app-barras span:nth-child(1) { height: 40%; } .app-barras span:nth-child(2) { height: 65%; } .app-barras span:nth-child(3) { height: 50%; }
.app-barras span:nth-child(4) { height: 85%; } .app-barras span:nth-child(5) { height: 70%; } .app-barras span:nth-child(6) { height: 100%; }
@keyframes crecer { 0%, 12% { transform: scaleY(0); } 24%, 86% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.app-fila { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; }
.app-fila i { width: 28px; height: 28px; border-radius: 9px; flex: none; background: #eef1ff; display: grid; place-items: center; }
.app-fila i::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #2f5bff; }
.app-fila em { margin-left: auto; font-style: normal; font-size: 11px; color: #6b6b78; }
.app-lista { background: #0e0e12; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; }
.app-lista svg { width: 18px; height: 18px; color: #d4f83c; }
.burbuja {
  position: absolute; z-index: 2; padding: 10px 14px; border-radius: 16px; font-size: 13px; font-weight: 650;
  background: var(--tarjeta); color: var(--tinta); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra);
  animation: flotar 6s ease-in-out infinite alternate;
}
.burbuja b { color: var(--acento); }
.burbuja.b1 { left: 0; top: 18%; }
.burbuja.b2 { right: 0; bottom: 16%; animation-delay: -3s; background: var(--chispa); color: var(--chispa-tinta); }
.burbuja.b2 b { color: inherit; }
@keyframes flotar { to { transform: translateY(-12px); } }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(80px, 13vw, 150px) 0; position: relative; }
.antetitulo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); }
.antetitulo::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.seccion h2 { margin: 0; max-width: 16ch; font-size: clamp(38px, 9.5vw, 76px); font-weight: 750; letter-spacing: -.05em; line-height: .98; }
.seccion h2 .apagado { color: var(--tenue); }
.subtitulo { max-width: 48ch; margin: 22px 0 0; font-size: clamp(17px, 4.2vw, 20px); color: var(--suave); }

/* Cinta de proyectos */
.proyectos { padding: 34px 0 30px; border-block: 1px solid var(--linea); background: color-mix(in srgb, var(--tarjeta) 55%, transparent); }
.proyectos h2 { margin: 0 0 22px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); max-width: none; }
.cinta { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cinta + .cinta { margin-top: 12px; }
.cinta ul { display: flex; flex: none; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; animation: desfilar 60s linear infinite; }
.cinta.inversa ul { animation-direction: reverse; animation-duration: 70s; }
.cinta:hover ul { animation-play-state: paused; }
.cinta li {
  flex: none; padding: 14px 22px; border-radius: 999px; white-space: nowrap;
  font-size: clamp(17px, 4.4vw, 22px); font-weight: 700; letter-spacing: -.03em;
  background: var(--tarjeta); box-shadow: inset 0 0 0 1px var(--linea);
}
.cinta li.destacado { background: var(--acento); color: var(--acento-tinta); box-shadow: none; }
@keyframes desfilar { to { transform: translateX(-100%); } }

/* Proceso en 5 pasos */
.proceso { position: relative; margin: 60px 0 0; padding: 0; list-style: none; display: grid; gap: 0; --avance: 0; }
.proceso::before, .proceso::after { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 4px; border-radius: 4px; background: var(--linea); }
.proceso::after { background: linear-gradient(var(--acento), var(--chispa)); transform-origin: top; transform: scaleY(var(--avance)); transition: transform .2s linear; }
.paso { position: relative; z-index: 1; display: grid; grid-template-columns: 66px 1fr; gap: 0 18px; padding: 0 0 34px; }
.paso:last-child { padding-bottom: 0; }
.paso-icono {
  grid-row: span 3; width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center;
  background: var(--tarjeta); color: var(--acento); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra);
  transition: background .5s var(--curva), color .5s var(--curva), transform .5s var(--curva);
}
.paso-icono svg { width: 30px; height: 30px; }
.paso.activo .paso-icono { background: var(--acento); color: var(--acento-tinta); transform: scale(1.05); }
.paso:last-child.activo .paso-icono { background: var(--chispa); color: var(--chispa-tinta); }
.paso-tiempo { justify-self: start; margin-top: 4px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--chispa); color: var(--chispa-tinta); }
.paso h3 { margin: 10px 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.paso p { margin: 0; color: var(--suave); font-size: 16px; }

/* Qué hacemos: mosaico */
.mosaico { display: grid; gap: 14px; margin-top: 56px; }
.pieza {
  position: relative; overflow: hidden; padding: 28px 26px 30px; border-radius: var(--radio);
  background: var(--tarjeta); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra);
  transition: transform .5s var(--curva);
}
.pieza:hover { transform: translateY(-4px); }
.pieza h3 { margin: 0 0 10px; font-size: 25px; font-weight: 750; letter-spacing: -.035em; line-height: 1.1; }
.pieza p { margin: 0; color: var(--suave); font-size: 16.5px; max-width: 38ch; }
.dibujo { height: 170px; margin: -6px -6px 22px; border-radius: 18px; position: relative; overflow: hidden; background: var(--fondo-2); }
.dibujo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pieza.azul { background: var(--acento); color: var(--acento-tinta); }
.pieza.azul p { color: color-mix(in srgb, var(--acento-tinta) 82%, transparent); }
.pieza.azul .dibujo { background: rgba(255, 255, 255, .12); }
.pieza.lima { background: var(--chispa); color: var(--chispa-tinta); }
.pieza.lima p { color: color-mix(in srgb, var(--chispa-tinta) 75%, transparent); }
.pieza.lima .dibujo { background: rgba(255, 255, 255, .35); }
.ejemplos { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ejemplos li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, currentColor 9%, transparent); }

/* Banda de garantía */
.banda { background: var(--banda); color: var(--banda-tinta); overflow: hidden; padding: clamp(60px, 10vw, 110px) 0; }
.banda h2 { margin: 0; max-width: 20ch; font-size: clamp(36px, 8.6vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.banda h2 em { font-style: normal; color: var(--chispa); }
.banda .boton { margin-top: 34px; background: var(--chispa); color: var(--chispa-tinta); box-shadow: none; }
.banda .boton:hover { background: #fff; color: #0e0e12; }

/* Quiénes somos */
.equipo { display: grid; gap: 44px; align-items: center; }
.equipo-texto p.mision { margin: 26px 0 0; font-size: clamp(21px, 5.4vw, 32px); line-height: 1.28; letter-spacing: -.03em; color: var(--suave); }
.equipo-texto p.mision strong { color: var(--tinta); font-weight: 650; }
.foto-equipo { position: relative; margin: 0; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); background: var(--fondo-2); transform: rotate(1.2deg); }
.foto-equipo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--curva); }
.foto-equipo:hover img { transform: scale(1.03); }
.foto-equipo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 24, .82)); }
.foto-equipo figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; color: #fff; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.foto-equipo figcaption b { font-size: clamp(22px, 5vw, 30px); font-weight: 750; letter-spacing: -.03em; }
.foto-equipo figcaption span:not(.punto) { font-size: 14px; color: rgba(255, 255, 255, .85); }
.sello-anos {
  position: absolute; z-index: 2; right: -6px; top: -18px; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; transform: rotate(10deg);
  background: var(--chispa); color: var(--chispa-tinta); font-weight: 800; letter-spacing: -.04em; line-height: .95; font-size: 15px;
  box-shadow: var(--sombra);
}
.sello-anos b { display: block; font-size: 36px; }
.equipo-foto { position: relative; }

/* Formulario */
.presupuesto { display: grid; gap: 44px; }
.promesas { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.promesas li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--suave); }
.promesas li b { color: var(--tinta); font-weight: 650; }
.promesas svg { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--acento); }
.formulario { position: relative; padding: 26px; border-radius: calc(var(--radio) + 4px); background: var(--tarjeta); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra); }
.campo { display: grid; gap: 8px; margin-bottom: 18px; }
.campo label { font-size: 14px; font-weight: 650; color: var(--tinta); }
.campo label small { font-weight: 400; color: var(--tenue); }
.campo input, .campo textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 0;
  background: var(--fondo); box-shadow: inset 0 0 0 1px var(--linea);
  color: var(--tinta); font: 400 16px/1.4 "Inter", system-ui, sans-serif;
  transition: box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.campo textarea { min-height: 128px; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--tenue); }
.campo input:focus, .campo textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--acento); }
.campo.error input, .campo.error textarea { box-shadow: inset 0 0 0 2px #e5484d; }
.campo .aviso-error { display: none; font-size: 13.5px; font-weight: 500; color: #d93036; }
[data-paleta="b"] .campo .aviso-error { color: #ff8a8f; }
.campo.error .aviso-error { display: block; }
.trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulario .boton { width: 100%; --alto: 58px; font-size: 17px; margin-top: 6px; }
.formulario .boton[disabled] { opacity: .65; cursor: wait; }
.privacidad { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--tenue); }
.privacidad a { color: var(--suave); }
.fallo { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(229, 72, 77, .1); color: #c2282e; font-size: 14.5px; }
[data-paleta="b"] .fallo { color: #ffb0b3; }
.fallo.visible { display: block; }
.hecho { display: none; text-align: center; padding: 30px 6px; }
.formulario.enviado form { display: none; }
.formulario.enviado .hecho { display: block; animation: aparecer .7s var(--curva); }
.hecho .check { width: 78px; height: 78px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--chispa); color: var(--chispa-tinta); }
.hecho .check svg { width: 36px; height: 36px; }
.hecho h3 { margin: 0 0 10px; font-size: clamp(30px, 8vw, 42px); font-weight: 750; letter-spacing: -.04em; line-height: 1.05; }
.hecho p { margin: 0 auto; max-width: 30ch; color: var(--suave); }
@keyframes aparecer { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* Pie */
.pie { padding: 90px 0 120px; border-top: 1px solid var(--linea); overflow: hidden; }
.pie .logo-grande { display: block; font-size: clamp(54px, 17vw, 196px); margin: 0 0 40px; letter-spacing: -.055em; }
.pie-filas { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 14px; color: var(--tenue); }
.pie-filas nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie-filas a { text-decoration: none; color: var(--suave); }
.pie-filas a:hover { color: var(--tinta); }

/* Botón fijo del móvil */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--tarjeta) 86%, transparent); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 0 0 1px var(--linea), 0 20px 40px -12px rgba(20, 30, 80, .35);
  transform: translateY(140%); transition: transform .5s var(--curva);
}
.dock.visible { transform: none; }
.dock p { margin: 0; flex: 1; font-size: 12.5px; line-height: 1.25; color: var(--suave); }
.dock p b { display: block; color: var(--tinta); font-size: 14.5px; }
.dock .boton { --alto: 46px; padding: 0 20px; font-size: 15px; }

/* Aparición al bajar */
.revela { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--curva), transform .9s var(--curva); transition-delay: var(--retraso, 0s); }
.revela.visto { opacity: 1; transform: none; }
.sin-js .revela { opacity: 1; transform: none; }

/* ---------- Páginas legales ---------- */
.legal { padding: 130px 0 90px; }
.legal .envoltura { max-width: 760px; }
.legal h1 { margin: 0 0 10px; font-size: clamp(40px, 9vw, 64px); font-weight: 750; letter-spacing: -.045em; line-height: 1; }
.legal .bajada { margin: 0 0 50px; color: var(--suave); font-size: 19px; }
.legal h2 { margin: 42px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--suave); }
.legal ul { padding-left: 20px; }
.legal strong { color: var(--tinta); font-weight: 650; }
.legal .fecha { margin-top: 50px; font-size: 14px; color: var(--tenue); }

/* ---------- Pantallas medianas y grandes ---------- */
@media (min-width: 760px) {
  .menu { display: flex; }
  .mosaico { grid-template-columns: repeat(6, 1fr); }
  .pieza:nth-child(1) { grid-column: span 4; }
  .pieza:nth-child(2) { grid-column: span 2; }
  .pieza:nth-child(3) { grid-column: span 6; display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 34px; align-items: center; }
  .pieza:nth-child(3) .dibujo { order: 2; margin: 0; height: 220px; }
  .formulario { padding: 36px; }
  .dock { display: none; }
  .pie { padding-bottom: 70px; }
  .plazo { padding: 22px 24px; }
}
@media (min-width: 1000px) {
  .portada { padding-top: 130px; min-height: 92vh; display: flex; align-items: center; }
  .portada-rejilla { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .titular { font-size: clamp(64px, 6.4vw, 96px); }
  .equipo { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .presupuesto { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
  .presupuesto-texto { position: sticky; top: 120px; }
  /* proceso en horizontal */
  .proceso { grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .proceso::before, .proceso::after { left: 33px; right: 33px; top: 31px; bottom: auto; width: auto; height: 4px; }
  .proceso::after { transform-origin: left; transform: scaleX(var(--avance)); background: linear-gradient(90deg, var(--acento), var(--chispa)); }
  .paso { grid-template-columns: 1fr; padding: 0; }
  .paso-icono { grid-row: auto; margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .revela, .app-pieza { opacity: 1; transform: none; }
  .proceso { --avance: 1 !important; }
}

/* Detalles animados de los dibujos */
.cables { animation: corriente 1.6s linear infinite; }
@keyframes corriente { to { stroke-dashoffset: -26; } }
.escribe { animation: escribir 1.4s ease-in-out infinite; }
.escribe:nth-of-type(2) { animation-delay: .2s; }
.escribe:nth-of-type(3) { animation-delay: .4s; }
@keyframes escribir { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
