/* DeDeporte · landing. Tokens del sistema de diseño (docs/diseno/marca/sistema/tokens/tokens.css). */
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0B1F33;
  --navy-2: #13304D;
  --green: #22C55E;
  --green-hover: #16A34A;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-muted: #F1F5F9;
  --border: #E5E7EB;
  --border-strong: #8492A6;
  --text: #0B1F33;
  --text-2: #64748B;
  --primary: #0B1F33;
  --primary-hover: #1A3350;
  --on-primary: #FFFFFF;
  --success-text: #15803D;
  --success-soft: #DCFCE7;
  --warning: #F59E0B;
  --warning-soft: #FEF3C7;
  --info: #3B82F6;
  --info-soft: #DBEAFE;
  --error-text: #B91C1C;
  --error-soft: #FEE2E2;
  --focus: #2563EB;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, .06);
  --shadow-md: 0 4px 16px rgba(11, 31, 51, .08);
  --shadow-lg: 0 24px 48px -12px rgba(11, 31, 51, .28);
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1624;
    --surface: #111C2B;
    --surface-muted: #172536;
    --border: #22324A;
    --border-strong: #6B7F99;
    --text: #F1F5F9;
    --text-2: #94A3B8;
    --primary: #F8FAFC;
    --primary-hover: #E2E8F0;
    --on-primary: #0B1F33;
    --success-text: #4ADE80;
    --success-soft: #0F2E1F;
    --warning-soft: #33240A;
    --info-soft: #0F2440;
    --error-text: #F87171;
    --error-soft: #3A1518;
    --focus: #60A5FA;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .5);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.saltar { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 12px; background: var(--primary); color: var(--on-primary); border-radius: var(--r-md); }
.saltar:focus { top: 12px; }

.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.contenedor--estrecho { max-width: 780px; }

/* Iconos de trazo (Lucide) */
.boton svg, .funcion__icono svg, .deporte__icono svg, .cifra__icono svg, .plataformas svg, .portada__garantias svg, .cabecera__menu svg, .formulario__exito-icono svg, .lista-check li::before {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Logos claro/oscuro */
.solo-oscuro { display: none; }
@media (prefers-color-scheme: dark) { .solo-claro { display: none; } .solo-oscuro { display: block; } }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.boton svg { width: 18px; height: 18px; transition: transform .15s; }
.boton:hover svg { transform: translateX(3px); }
.boton--primario { background: var(--primary); color: var(--on-primary); }
.boton--primario:hover { background: var(--primary-hover); }
.boton--secundario { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.boton--secundario:hover { border-color: var(--border-strong); }
.boton--acento { background: var(--green); color: #0B1F33; }
.boton--acento:hover { background: var(--green-hover); }
.boton--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.boton--ancho { width: 100%; }
.boton[disabled] { opacity: .6; cursor: progress; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.cabecera--sombra { border-bottom-color: var(--border); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.cabecera__logo img { height: 40px; width: auto; }
.cabecera__nav { display: flex; align-items: center; gap: 28px; }
.cabecera__nav a:not(.boton) { font-weight: 500; font-size: 15px; color: var(--text-2); text-decoration: none; }
.cabecera__nav a:not(.boton):hover { color: var(--text); }
.cabecera__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: var(--r-md); color: var(--text); cursor: pointer; }
.cabecera__menu svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .cabecera__menu { display: inline-flex; }
  .cabecera__nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); display: none; }
  .cabecera__nav--abierta { display: flex; }
  .cabecera__nav a:not(.boton) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .cabecera__nav .boton { margin-top: 16px; min-height: 48px; }
}

/* Portada */
.portada { padding: 48px 0 88px; overflow: hidden; }
.portada__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-sm); }
.chip__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); }
.portada__titulo { margin-top: 22px; font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.portada__titulo .linea { display: block; }
.subrayado { position: relative; display: inline-block; white-space: nowrap; }
.subrayado svg { position: absolute; left: -2%; bottom: -10px; width: 104%; height: 16px; fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; }
.portada__entrada { margin-top: 28px; max-width: 540px; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.portada__acciones { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.portada__garantias { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.portada__garantias li { display: flex; align-items: center; gap: 6px; }
.portada__garantias svg { width: 16px; height: 16px; color: var(--success-text); stroke-width: 2.5; }

/* Escena: maqueta ilustrativa de la app sobre un campo */
.escena { position: relative; aspect-ratio: 600 / 520; border-radius: 28px; background: var(--navy); isolation: isolate; }
.escena__campo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 28px; fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 2; z-index: -1; }
.escena__lema { position: absolute; top: 7%; left: 7%; color: #fff; font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.escena__lema::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--green); }

.portatil { position: absolute; right: 5%; top: 18%; width: 78%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
.portatil__pantalla { background: #1E293B; padding: 2.2% 2.2% 3%; border-radius: 14px 14px 0 0; }
.portatil__base { height: 12px; margin: 0 -6%; background: #A3B1C4; border-top: 2px solid #CBD5E1; border-radius: 0 0 14px 14px; }
.app { display: grid; grid-template-columns: 24% 1fr; background: #fff; border-radius: 4px; overflow: hidden; color: #0B1F33; font-size: clamp(6px, .72vw, 9px); aspect-ratio: 16 / 10.4; }
.app__lateral { background: #F8FAFC; border-right: 1px solid #E5E7EB; padding: 9% 7%; display: flex; flex-direction: column; gap: 3px; }
.app__logo { width: 80%; margin-bottom: 10px; }
.app__item { display: flex; align-items: center; gap: 5px; padding: 4px 5px; border-radius: 4px; color: #64748B; font-weight: 500; }
.app__item i { width: 7px; height: 7px; border-radius: 2px; border: 1.5px solid currentColor; }
.app__item--activo { background: #DBEAFE; color: #1D4ED8; font-weight: 600; }
.app__principal { padding: 4% 4% 3%; display: flex; flex-direction: column; min-width: 0; }
.app__barra { display: flex; justify-content: space-between; align-items: center; font-size: 1.35em; }
.app__segmento { display: flex; gap: 2px; padding: 2px; background: #F1F5F9; border-radius: 5px; font-size: .7em; color: #64748B; }
.app__segmento > * { padding: 2px 6px; border-radius: 3px; }
.app__segmento b { background: #fff; color: #0B1F33; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.app__mes { margin: 5px 0 4px; font-weight: 600; }
.mes { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: auto 1fr 1fr 1fr 1fr; border-top: 1px solid #E5E7EB; border-left: 1px solid #E5E7EB; }
.mes > span { position: relative; padding: 2px 3px; border-right: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; color: #94A3B8; font-size: .85em; min-width: 0; }
.mes > .mes__cab { color: #64748B; font-weight: 600; text-align: center; background: #F8FAFC; }
.ev { display: block; margin-top: 2px; padding: 2px 3px; border-radius: 3px; font-style: normal; font-weight: 600; font-size: .9em; line-height: 1.2; color: #0B1F33; border-left: 2px solid; overflow: hidden; }
.ev--verde { background: #DCFCE7; border-color: #22C55E; }
.ev--azul { background: #DBEAFE; border-color: #3B82F6; }
.ev--ambar { background: #FEF3C7; border-color: #F59E0B; }

.movil { position: absolute; left: 4%; bottom: 7%; width: 31%; padding: 1.6%; background: #0F172A; border-radius: 26px; box-shadow: 0 0 0 1.5px #334155, 0 28px 40px -8px rgba(0, 0, 0, .55); }
.movil__pantalla { position: relative; aspect-ratio: 9 / 18.5; background: #fff; border-radius: 20px; overflow: hidden; color: #0B1F33; padding: 14% 7% 0; font-size: clamp(6px, .66vw, 8.5px); }
.movil__pantalla::before { content: ""; position: absolute; top: 3%; left: 50%; width: 30%; height: 3.4%; background: #0F172A; border-radius: 99px; transform: translateX(-50%); }
.movil__logo { width: 62%; margin-bottom: 10%; }
.movil__titulo { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.25em; margin-bottom: 6%; }
.movil__titulo span { font-size: .75em; font-weight: 600; color: #1D4ED8; }
.evento { position: relative; display: flex; gap: 6%; align-items: flex-start; padding: 6% 5%; margin-bottom: 5%; border: 1px solid #E5E7EB; border-radius: 8px; box-shadow: 0 1px 2px rgba(11, 31, 51, .06); }
.evento b { display: block; font-size: 1.05em; line-height: 1.25; margin-bottom: 2px; }
.evento small { display: block; font-size: .85em; color: #64748B; line-height: 1.35; }
.evento__icono { flex: none; width: 20%; aspect-ratio: 1; border-radius: 6px; }
.evento__icono--verde { background: #DCFCE7; box-shadow: inset 0 0 0 3px #DCFCE7, inset 0 0 0 5px #22C55E; }
.evento__icono--azul { background: #DBEAFE; box-shadow: inset 0 0 0 3px #DBEAFE, inset 0 0 0 5px #3B82F6; }
.evento__icono--ambar { background: #FEF3C7; box-shadow: inset 0 0 0 3px #FEF3C7, inset 0 0 0 5px #F59E0B; }
.estado { position: absolute; top: 8%; right: 5%; padding: 1px 5px; border-radius: 99px; font-weight: 700; font-size: .8em; }
.estado--va { background: #DCFCE7; color: #15803D; }
.movil__pestanas { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 6% 8% 8%; border-top: 1px solid #E5E7EB; background: #fff; }
.movil__pestanas span { width: 9%; aspect-ratio: 1; border-radius: 3px; border: 1.5px solid #94A3B8; }
.movil__pestanas span:first-child { border-color: #0B1F33; background: #0B1F33; }

.cifras { position: absolute; right: 4%; bottom: -7%; display: flex; gap: 10px; }
.cifra { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px 16px 12px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.cifra__icono { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; }
.cifra__icono svg { width: 20px; height: 20px; }
.cifra__icono--verde { background: var(--green); color: #0B1F33; }
.cifra__icono--azul { background: var(--info); }
.cifra__icono--ambar { background: var(--warning); color: #0B1F33; }
.cifra b { font-size: 22px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.cifra small { font-size: 12px; color: var(--text-2); white-space: nowrap; }

@media (max-width: 1080px) { .cifra:nth-child(3) { display: none; } }
@media (max-width: 960px) {
  .portada { padding: 32px 0 72px; }
  .portada__rejilla { grid-template-columns: 1fr; gap: 56px; }
  .escena { max-width: 640px; width: 100%; margin: 0 auto; }
  .cifra:nth-child(3) { display: grid; }
}
@media (max-width: 560px) {
  .portada__entrada { font-size: 17px; }
  .portada__acciones .boton { flex: 1 1 100%; }
  .escena { border-radius: 20px; aspect-ratio: 600 / 600; }
  .escena__lema { display: none; }
  .escena__campo { border-radius: 20px; }
  .portatil { top: 10%; width: 88%; right: 3%; }
  .movil { width: 36%; bottom: 13%; border-radius: 18px; }
  .movil__pantalla { border-radius: 14px; }
  .cifras { left: 4%; right: 4%; bottom: -9%; gap: 6px; }
  .cifra { flex: 1; grid-template-columns: 1fr; padding: 8px 10px; text-align: left; }
  .cifra__icono { display: none; }
  .cifra b { font-size: 18px; }
  .cifra small { font-size: 11px; white-space: normal; }
}

/* Secciones */
.seccion { padding: 96px 0; }
.seccion--suave { background: var(--surface-muted); }
.antetitulo { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--success-text); text-align: center; }
.seccion__titulo { margin: 12px auto 0; max-width: 760px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.seccion__entrada { margin: 16px auto 0; max-width: 620px; font-size: 18px; color: var(--text-2); text-align: center; text-wrap: pretty; }
.seccion__entrada--izq { margin-left: 0; text-align: left; }
@media (max-width: 560px) { .seccion { padding: 72px 0; } }

.funciones { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.funcion { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.funcion:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.funcion__icono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--surface-muted); border: 1px solid var(--border); color: var(--text); }
.funcion__icono svg { width: 26px; height: 26px; }
.funcion h3 { margin-top: 20px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.funcion p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 960px) { .funciones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .funciones { grid-template-columns: 1fr; } }

.perfiles { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perfil { padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border-top: 4px solid var(--navy); }
@media (prefers-color-scheme: dark) { .perfil { border-top-color: var(--green); } }
.perfil h3 { font-size: 21px; font-weight: 700; }
.perfil__frase { margin-top: 6px; color: var(--text-2); }
.lista-check { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lista-check li { position: relative; padding-left: 30px; font-size: 15.5px; font-weight: 500; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 900px) { .perfiles { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

.pasos { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: paso; }
.paso { position: relative; text-align: center; padding: 0 12px; }
.paso:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 44px); right: calc(-50% + 28px); border-top: 2px dashed var(--border); }
.paso__numero { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--border); }
@media (prefers-color-scheme: dark) { .paso__numero { background: var(--green); color: #0B1F33; } }
.paso h3 { margin-top: 24px; font-size: 20px; font-weight: 700; }
.paso p { margin: 8px auto 0; max-width: 300px; color: var(--text-2); }
@media (max-width: 760px) { .pasos { grid-template-columns: 1fr; gap: 40px; } .paso:not(:last-child)::after { display: none; } }

.deportes { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deporte { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; min-height: 190px; border-radius: var(--r-lg); background: var(--navy); color: #fff; overflow: hidden; }
.deporte::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 22px rgba(255, 255, 255, .03); }
@media (prefers-color-scheme: dark) { .deporte { background: var(--surface); border: 1px solid var(--border); } }
.deporte__icono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.deporte__icono svg { width: 28px; height: 28px; }
.deporte h3 { margin-top: auto; font-size: 20px; font-weight: 700; }
.etiqueta { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .1); color: #CBD5E1; }
.etiqueta--va { background: var(--green); color: #0B1F33; }
.deporte:first-child .deporte__icono { background: var(--green); border-color: var(--green); color: #0B1F33; }
@media (max-width: 900px) { .deportes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .deportes { gap: 12px; } .deporte { padding: 18px; min-height: 160px; } }

.dispositivos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.dispositivos .antetitulo, .dispositivos .seccion__titulo { text-align: left; margin-left: 0; }
.plataformas { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plataformas li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.plataformas svg { flex: none; width: 28px; height: 28px; color: var(--text); }
.plataformas b { display: block; font-weight: 700; }
.plataformas small { color: var(--text-2); font-size: 14px; }
.plataformas li:last-child { opacity: .7; }
@media (max-width: 860px) { .dispositivos { grid-template-columns: 1fr; gap: 32px; } }

/* Contacto */
.contacto { padding: 96px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contacto::before { content: ""; position: absolute; left: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .06); box-shadow: 0 0 0 60px rgba(255, 255, 255, .02); }
@media (prefers-color-scheme: dark) { .contacto { background: #06101B; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } }
.contacto__rejilla { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contacto__texto { position: sticky; top: 112px; }
.contacto h2 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.contacto h2 span { color: var(--green); }
.contacto__texto > p { margin-top: 20px; font-size: 18px; color: #CBD5E1; max-width: 460px; }
.contacto__pasos { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.contacto__pasos li { display: flex; align-items: center; gap: 14px; color: #E2E8F0; font-weight: 500; }
.contacto__pasos b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); font-size: 14px; }
@media (max-width: 900px) { .contacto__rejilla { grid-template-columns: 1fr; gap: 40px; } .contacto__texto { position: static; } }
@media (max-width: 560px) { .contacto { padding: 72px 0; } }

.formulario { background: var(--surface); color: var(--text); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); }
@media (max-width: 560px) { .formulario { padding: 22px 18px; margin: 0 -4px; } }
.formulario__titulo { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.formulario__campos { display: grid; gap: 16px; }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .fila-2 { grid-template-columns: 1fr; } }
.campo { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.campo label, .campo legend { font-size: 14px; font-weight: 600; padding: 0; }
.campo legend { margin-bottom: 8px; }
.opcional { font-weight: 400; color: var(--text-2); }
.campo input:not([type="checkbox"]), .campo select, .campo textarea { width: 100%; min-height: 46px; padding: 10px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--r-md); font: 400 16px/1.4 var(--font); transition: border-color .15s, box-shadow .15s; }
.campo textarea { resize: vertical; min-height: 88px; }
.campo select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.campo--error input, .campo--error select { border-color: var(--error-text); }
.campo__error { font-size: 13px; font-weight: 500; color: var(--error-text); }
.campo__error:empty { display: none; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { position: relative; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcion span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 15px; font-weight: 500; transition: background .15s, border-color .15s; }
.opcion input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.opcion input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 14px !important; font-weight: 400 !important; color: var(--text-2); cursor: pointer; }
.casilla input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.casilla a { color: var(--text); font-weight: 600; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aviso { padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-muted); font-size: 14px; }
.aviso--error { background: var(--error-soft); color: var(--error-text); font-weight: 500; }
.formulario__exito { text-align: center; padding: 40px 8px; }
.formulario__exito:focus { outline: none; }
.formulario__exito-icono { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--success-soft); color: var(--success-text); }
.formulario__exito-icono svg { width: 32px; height: 32px; stroke-width: 2.5; }
.formulario__exito h3 { margin-top: 20px; font-size: 26px; font-weight: 800; }
.formulario__exito p { margin: 10px auto 0; max-width: 380px; color: var(--text-2); }

/* Preguntas */
.preguntas { margin-top: 48px; display: grid; gap: 12px; }
.preguntas details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.preguntas summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { padding: 0 22px 22px; color: var(--text-2); }

/* Pie */
.pie { padding: 48px 0; background: var(--navy); color: #CBD5E1; }
@media (prefers-color-scheme: dark) { .pie { background: #06101B; } }
.pie__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pie img { height: 36px; width: auto; }
.pie p { margin-top: 8px; font-size: 14px; }
.pie nav { display: flex; gap: 24px; font-size: 15px; }
.pie nav a { text-decoration: none; }
.pie nav a:hover { color: #fff; text-decoration: underline; }
.pie__legal { font-size: 13px !important; color: #94A3B8; }

/* Páginas de texto (privacidad, gracias, 404) */
.pagina { padding: 64px 0 96px; min-height: calc(100vh - 72px - 150px); }
.pagina h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.pagina h2 { margin-top: 36px; font-size: 21px; font-weight: 700; }
.pagina p, .pagina li { margin-top: 12px; color: var(--text-2); }
.pagina ul { padding-left: 20px; }
.pagina a { color: var(--text); font-weight: 600; }
.pagina__centro { text-align: center; max-width: 560px; margin: 0 auto; padding-top: 48px; }
.pagina__centro .boton { margin-top: 32px; }
.pagina__centro .formulario__exito-icono { margin-bottom: 24px; }
.fecha { font-size: 14px; }
