/* Soultech — hoja de estilos única. Colores tomados del logo original (Logo Soultech.ai). */
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans-latin.woff2?v=65a29dba3d') format('woff2');
  font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/instrument-sans-latin-ext.woff2?v=65a29dba3d') format('woff2');
  font-weight: 400 700; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #fffefb;
  --text: #121a27;
  --muted: #555e6d;
  --line: rgba(18, 26, 39, 0.13);
  --ink: #0e1726;
  --ink-2: #172235;
  --ink-text: #eef1f5;
  --ink-muted: #a6b0bf;
  --ink-line: rgba(238, 241, 245, 0.14);
  --orange: #ff8a1e;          /* logo: #FF8400 → #F3A71B */
  --orange-deep: #b65400;     /* texto naranja sobre papel (contraste AA) */
  --blue: #0090d5;            /* logo */
  --blue-deep: #06689a;       /* enlaces sobre papel */
  --cyan: #10c6dd;
  --gray-mark: #5b5b5b;
  --radius: 14px;
  --radius-s: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgba(14, 23, 38, 0.06), 0 12px 32px -12px rgba(14, 23, 38, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: rgba(255, 138, 30, 0.32); color: var(--text); }
.ink ::selection { background: rgba(16, 198, 221, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ink :focus-visible { outline-color: var(--cyan); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.salto { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.salto:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-1 { background: var(--orange); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 20px -10px rgba(182, 84, 0, 0.7); }
.btn-1:hover { background: #ff9a3c; text-decoration: none; }
.btn-2 { background: transparent; color: var(--text); border-color: rgba(18, 26, 39, 0.28); }
.btn-2:hover { border-color: var(--text); text-decoration: none; }
.ink .btn-2 { color: var(--ink-text); border-color: rgba(238, 241, 245, 0.32); }
.ink .btn-2:hover { border-color: var(--ink-text); }
.enlace { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
.enlace svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.enlace:hover svg { transform: translateX(3px); }

/* ---------- Cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.cab.con-borde { border-bottom-color: var(--line); box-shadow: 0 6px 18px -16px rgba(14,23,38,.5); }
.cab .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.marca { display: block; flex: none; }
.marca img { height: 34px; width: auto; }
.cab nav { display: flex; gap: 4px; margin-left: auto; }
.cab nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.cab nav a:hover { background: var(--paper-2); }
.idiomas { display: flex; gap: 2px; font-size: 14px; }
.idiomas a { color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 6px; font-weight: 500; }
.idiomas a[aria-current] { color: var(--text); background: var(--paper-2); font-weight: 600; }
.cab .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; height: 42px; padding: 0 16px; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
@media (max-width: 1040px) {
  .cab nav, .cab .idiomas, .cab .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .cab.abierta nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); gap: 0; }
  .cab.abierta nav a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .cab.abierta nav .idiomas-movil { display: flex; gap: 8px; padding-top: 14px; }
}
.idiomas-movil { display: none; }
.idiomas-movil a { border: 0 !important; padding: 8px 12px !important; font-size: 15px !important; }

/* ---------- Portada ---------- */
.portada { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.portada .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.portada h1 { font-size: clamp(44px, 6.6vw, 88px); letter-spacing: -0.04em; line-height: 0.98; font-stretch: 92%; font-weight: 650; }
.portada h1 span { display: block; color: var(--orange-deep); }
.portada .lead { margin-top: 28px; font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 54ch; line-height: 1.55; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.prueba { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 14.5px; color: var(--muted); }
.prueba li { display: inline-flex; align-items: center; gap: 8px; }
.prueba svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

.pantallas { position: relative; aspect-ratio: 1 / 0.92; }
.pantalla { position: absolute; width: 78%; border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(14,23,38,.1); transition: transform 1.1s var(--ease), opacity 0.8s var(--ease); }
.pantalla .barra { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #f1efea; border-bottom: 1px solid rgba(14,23,38,.08); }
.pantalla .barra i { width: 8px; height: 8px; border-radius: 50%; background: #d6d2c9; }
.pantalla .barra b { margin-left: 8px; font-size: 11px; font-weight: 500; color: #7a8190; }
.pantalla img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pantalla:nth-child(1) { top: 0; left: 0; transform: rotate(-3deg); z-index: 1; }
.pantalla:nth-child(2) { top: 22%; right: 0; transform: rotate(2deg); z-index: 2; }
.pantalla:nth-child(3) { bottom: 0; left: 9%; transform: rotate(-1deg); z-index: 3; }
.js .pantallas:not(.lista) .pantalla { transform: translate(8%, 10%) rotate(0deg); opacity: 0.001; }
.js .pantallas:not(.lista) .pantalla:nth-child(3) { opacity: 1; }
.pantallas .simbolo { position: absolute; width: 22%; height: auto; aspect-ratio: 1; right: 4%; bottom: -4%; z-index: 4; filter: drop-shadow(0 10px 18px rgba(14,23,38,.25)); background: var(--white); border-radius: 50%; padding: 4%; }
@media (prefers-reduced-motion: reduce) { .pantalla { transition: none; } .js .pantallas:not(.lista) .pantalla { transform: none; opacity: 1; } }
@media (max-width: 860px) {
  .portada .wrap { grid-template-columns: 1fr; }
  .pantallas { max-width: 560px; width: 100%; margin: 8px auto 0; }
}

/* ---------- Secciones ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-cab { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-cab h2, .h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.03em; font-stretch: 94%; }
.sec-cab p { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 62ch; }
.ink { background: var(--ink); color: var(--ink-text); }
.ink .sec-cab p, .ink .suave { color: var(--ink-muted); }
.ink a { color: #7fd3f5; }
.ink .form a { color: var(--blue-deep); }
.papel-2 { background: var(--paper-2); }

/* Puertas */
.puertas { padding: 0 0 clamp(72px, 9vw, 112px); }
.puertas h2 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 16px; }
.puertas .par { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.puerta { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius); text-decoration: none; color: inherit; min-height: 280px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.puerta:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.puerta h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; max-width: 20ch; }
.puerta p { color: var(--muted); max-width: 46ch; }
.puerta .enlace { margin-top: auto; }
.puerta-a { background: var(--white); border: 1px solid var(--line); }
.puerta-a .enlace { color: var(--blue-deep); }
.puerta-b { background: var(--ink); color: var(--ink-text); }
.puerta-b p { color: var(--ink-muted); }
.puerta-b .enlace { color: var(--orange); }
.puerta .forma { position: absolute; right: 28px; top: 28px; width: 44px; height: 44px; }
@media (max-width: 760px) { .puertas .par { grid-template-columns: 1fr; } .puerta { min-height: 0; } .puerta .forma { display: none; } }

/* Empresas */
.empresas-lista { display: grid; gap: clamp(56px, 7vw, 96px); }
.empresa { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.empresa:nth-child(even) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.empresa:nth-child(even) .empresa-img { order: 2; }
.empresa-img { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.empresa-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.empresa-img .barra { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f1efea; border-bottom: 1px solid var(--line); }
.empresa-img .barra i { width: 9px; height: 9px; border-radius: 50%; background: #d6d2c9; }
.empresa-img .barra b { margin-left: 8px; font-size: 12px; font-weight: 500; color: #7a8190; }
.tatu-lienzo { aspect-ratio: 16 / 10; background: #0b1440; display: grid; place-items: center; position: relative; overflow: hidden; }
.tatu-lienzo::before { content: ''; position: absolute; inset: auto -10% -55% -10%; height: 90%; background: radial-gradient(closest-side, rgba(0,194,209,.32), transparent); }
.tatu-lienzo .tl { position: relative; display: flex; align-items: center; gap: 18px; color: #fff; }
.tatu-lienzo img { width: clamp(72px, 9vw, 112px); height: auto; aspect-ratio: 1; border-radius: 22%; }
.tatu-lienzo strong { font-size: clamp(44px, 6vw, 76px); font-weight: 650; letter-spacing: -0.03em; color: #fff; }
.tatu-lienzo small { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #9fb0e0; font-size: 14px; }
.empresa-txt .nom { display: flex; align-items: center; gap: 12px; }
.empresa-txt .nom img { width: 40px; height: 40px; border-radius: 10px; }
.empresa-txt h3 { font-size: clamp(28px, 3vw, 36px); }
.empresa-txt > p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.datos-empresa { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 24px 0 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.datos-empresa dt { color: var(--muted); }
.datos-empresa dd { margin: 0; font-weight: 500; }
.etapa { display: inline-flex; align-items: center; gap: 8px; }
.etapa::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1aa36b; box-shadow: 0 0 0 3px rgba(26,163,107,.18); }
.etapa.piloto::before { background: var(--orange); box-shadow: 0 0 0 3px rgba(255,138,30,.2); }
.etapa.prep::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(0,144,213,.18); }
@media (max-width: 860px) { .empresa, .empresa:nth-child(even) { grid-template-columns: 1fr; } .empresa:nth-child(even) .empresa-img { order: 0; } }

/* Base compartida */
.base .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.base .sec-cab { margin: 0; position: sticky; top: 112px; }
.base .sec-cab h2 { font-size: clamp(30px, 3.4vw, 44px); }
.tabla { width: 100%; border-collapse: collapse; font-size: 16px; }
.tabla th, .tabla td { padding: 16px 0; border-bottom: 1px solid var(--ink-line); text-align: left; font-weight: 500; }
.tabla thead th { padding-top: 0; }
.tabla .col { width: 64px; text-align: center; }
.tabla .col img { width: 30px; height: 30px; border-radius: 8px; margin: 0 auto; }
.tabla td.col span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.tabla td.col .si { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,30,.16); }
.tabla td.col .no { border: 1px solid var(--ink-line); }
.tabla .movil-marcas { display: none; }
@media (max-width: 860px) {
  .base .wrap { grid-template-columns: 1fr; }
  .base .sec-cab { position: static; }
}
@media (max-width: 560px) {
  .tabla thead { display: none; }
  .tabla td.col { display: none; }
  .tabla .movil-marcas { display: flex; gap: 6px; margin-top: 10px; }
  .tabla .movil-marcas img { width: 22px; height: 22px; border-radius: 6px; }
}

/* Servicios */
.servicios-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.servicio { padding: 32px 0 36px; border-top: 1px solid var(--line); }
.servicio h3 { font-size: 24px; letter-spacing: -0.015em; }
.servicio p { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.etiquetas li { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--text); }
.entradas { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: auto 1fr 1fr; gap: 20px 40px; align-items: start; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.entradas h3 { font-size: 22px; }
.entradas h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.entradas p { color: var(--muted); font-size: 16px; }
.entradas .ent { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.entradas .ent svg { width: 28px; height: 28px; color: var(--orange-deep); }
@media (max-width: 860px) { .servicios-lista { grid-template-columns: 1fr; } .entradas { grid-template-columns: 1fr; } }

/* Proceso */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.paso { padding: 28px 28px 8px 0; border-top: 2px solid var(--text); position: relative; counter-increment: paso; }
.paso::before { content: counter(paso); display: block; font-size: 14px; font-weight: 600; color: var(--orange-deep); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.paso h3 { font-size: 22px; letter-spacing: -0.015em; }
.paso p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.paso + .paso { border-top-color: var(--line); }
@media (max-width: 860px) { .pasos { grid-template-columns: 1fr 1fr; gap: 0 28px; } .paso + .paso { border-top-color: var(--text); } }
@media (max-width: 520px) { .pasos { grid-template-columns: 1fr; } }

/* Datos */
.datos-lista { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.datos-lista li { display: grid; gap: 8px; align-content: start; }
.datos-lista svg { width: 26px; height: 26px; color: var(--blue-deep); margin-bottom: 6px; }
.datos-lista strong { font-size: 18px; font-weight: 600; }
.datos-lista span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .datos-lista { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .datos-lista { grid-template-columns: 1fr; } }

/* Construir */
.construir .cuerpo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 8px; }
.construir h3 { font-size: 20px; margin-bottom: 18px; }
.lista-check { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.lista-check li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-text); }
.lista-check svg { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); }
.lista-check.azul svg { color: var(--cyan); }
.construir .no { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink-line); color: var(--ink-muted); max-width: 70ch; }
.construir .btn { margin-top: 28px; }
@media (max-width: 760px) { .construir .cuerpo { grid-template-columns: 1fr; } }

/* Red */
.red .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.red .simbolo-grande { width: clamp(120px, 16vw, 200px); height: auto; aspect-ratio: 1; }
.red p { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 64ch; }
.red .enlace { margin-top: 22px; }
@media (max-width: 760px) { .red .wrap { grid-template-columns: 1fr; } .red .simbolo-grande { width: 96px; } }

/* Preguntas */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { font: inherit; font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.tab[aria-selected='true'] { background: var(--text); color: var(--paper); border-color: var(--text); }
.panel[hidden] { display: none; }
.pregunta { border-top: 1px solid var(--line); }
.pregunta:last-child { border-bottom: 1px solid var(--line); }
.pregunta summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary svg { width: 22px; height: 22px; flex: none; transition: transform 0.3s var(--ease); color: var(--muted); }
.pregunta[open] summary svg { transform: rotate(45deg); }
.pregunta p { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.preguntas .wrap { max-width: 920px; }

/* Contacto */
.contacto .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.directo { margin-top: 32px; display: grid; gap: 14px; font-size: 16px; }
.directo h3 { font-size: 15px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0; }
.directo a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-text); text-decoration: none; font-weight: 500; }
.directo a:hover { color: #fff; text-decoration: underline; }
.directo svg { width: 20px; height: 20px; color: var(--cyan); }
.directo address { font-style: normal; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 18px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend, .form label > span { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(18,26,39,.22); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s; }
.chips input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input[type='text'], .form input[type='email'], .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--paper); border: 1px solid rgba(18,26,39,.18);
  border-radius: var(--radius-s); padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,144,213,.18); }
.form [aria-invalid='true'] { border-color: #c0392b !important; }
.form .permiso { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; color: var(--muted); align-items: start; }
.form .permiso input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.form .miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.estado { font-size: 15px; min-height: 1.5em; }
.estado.ok { color: #13784f; font-weight: 600; }
.estado.mal { color: #b03a2e; font-weight: 600; }
@media (max-width: 860px) { .contacto .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fila { grid-template-columns: 1fr; } }

/* Pie */
.pie { background: #0a111d; color: var(--ink-muted); padding: 64px 0 36px; font-size: 15px; }
.pie .wrap > .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.pie img.logo { height: 36px; width: auto; margin-bottom: 18px; }
.pie h3 { font-size: 14px; color: var(--ink-text); letter-spacing: 0; margin-bottom: 14px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pie a { color: var(--ink-muted); text-decoration: none; }
.pie a:hover { color: var(--ink-text); text-decoration: underline; }
.pie .base-pie { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
@media (max-width: 860px) { .pie .wrap > .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pie .wrap > .cols { grid-template-columns: 1fr; } }

/* Páginas legales */
.legal { padding: clamp(48px, 7vw, 88px) 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin: 16px 0 32px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p { margin: 0 0 12px; color: #2b3443; }
.volver { font-size: 15px; }

/* Aparición suave (un solo gesto, desde visible) */
.js .aparece { transition: transform 0.9s var(--ease), opacity 0.9s var(--ease); }
.js .aparece.antes { transform: translateY(18px); opacity: 0.001; }
@media (prefers-reduced-motion: reduce) { .js .aparece.antes { transform: none; opacity: 1; } }

/* Para quién */
.quien { padding-bottom: 0; }
.quien-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.quien-panel[hidden] { display: none; }
.quien-panel h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; }
.quien-panel p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.quien-panel .btn { margin-top: 28px; }
.quien-panel .lista-check li { color: var(--text); }
.quien-panel .lista-check svg { color: var(--blue-deep); }
@media (max-width: 860px) { .quien-panel { grid-template-columns: 1fr; } }
