:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ink: #0f172a;
  --marca: #284486;
  --fondo: #fdfbf7;
  --beige: #f5f1e8;
  --texto: #475569;
  --borde: rgb(15 23 42 / 0.08);
  --blanco: #ffffff;
  --wa: #25d366;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--fondo);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .contenedor { padding: 0 24px; } }

/* Encabezado */
.encabezado { position: sticky; top: 0; z-index: 20; background: rgb(253 251 247 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borde); }
.encabezado .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { height: 40px; width: auto; }
.marca strong { display: block; font-size: 18px; font-weight: 800; color: var(--marca); line-height: 1.1; }
.marca small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.encabezado nav { display: flex; align-items: center; gap: 8px; }
.enlace-volver { font-size: 14px; font-weight: 600; color: #334155; text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.enlace-volver:hover { color: var(--primary); background: rgb(37 99 235 / 0.06); }
@media (max-width: 560px) { .enlace-volver { display: none; } .marca small { display: none; } }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .2s, background-color .2s; }
.boton:hover { transform: translateY(-2px); }
.boton svg { width: 20px; height: 20px; flex-shrink: 0; }
.boton-primario { background: var(--primary); color: var(--blanco); box-shadow: 0 12px 24px -10px rgb(37 99 235 / .6); }
.boton-primario:hover { background: var(--primary-dark); }
.boton-claro { background: rgb(255 255 255 / .1); color: var(--blanco); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.boton-claro:hover { background: rgb(255 255 255 / .2); }
.boton-chico { padding: 10px 16px; font-size: 14px; border-radius: 12px; }

/* Portada */
.portada { position: relative; color: var(--blanco); background: var(--ink); overflow: hidden; }
.portada img.fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(15 23 42 / .94) 0%, rgb(15 23 42 / .8) 50%, rgb(15 23 42 / .35) 100%); }
.portada .contenedor { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 900px) { .portada .contenedor { padding-top: 120px; padding-bottom: 120px; } }
.migas { font-size: 13px; color: #cbd5e1; margin-bottom: 20px; }
.migas a { color: #cbd5e1; text-decoration: none; }
.migas a:hover { color: var(--blanco); text-decoration: underline; }
.etiqueta { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #93c5fd; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15); }
.portada h1 { margin: 20px 0 0; font-size: clamp(2.1rem, 6vw, 4rem); line-height: 1.07; font-weight: 800; letter-spacing: -0.02em; max-width: 16ch; }
.portada h1 span { background: linear-gradient(90deg, #60a5fa, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portada p.bajada { margin: 20px 0 0; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #e2e8f0; max-width: 46ch; }
.acciones { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .acciones .boton { width: 100%; } }

/* Secciones */
section { scroll-margin-top: 80px; }
.seccion { padding: 72px 0; }
@media (min-width: 900px) { .seccion { padding: 104px 0; } }
.seccion-beige { background: var(--beige); }
.ceja { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.ceja::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h2 { margin: 14px 0 0; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; font-weight: 800; }
.intro { margin: 16px 0 0; font-size: 1.1rem; color: var(--texto); max-width: 62ch; }
.texto p { color: var(--texto); font-size: 1.05rem; margin: 0 0 16px; }
.texto p:last-child { margin-bottom: 0; }
.texto strong { color: var(--ink); }

.dos-columnas { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .dos-columnas { grid-template-columns: 1fr 1fr; gap: 64px; } }

.datos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.datos li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: #334155; }
.datos li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }

.tarjetas { margin-top: 40px; display: grid; gap: 20px; }
@media (min-width: 640px) { .tarjetas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tarjetas.tres { grid-template-columns: repeat(3, 1fr); } }
.tarjeta { background: var(--blanco); border-radius: 22px; padding: 28px; box-shadow: 0 1px 2px rgb(15 23 42 / .04), 0 12px 32px -16px rgb(15 23 42 / .18); border: 1px solid var(--borde); }
.tarjeta .num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgb(37 99 235 / .1); color: var(--primary); font-weight: 800; margin-bottom: 16px; }
.tarjeta p { margin: 10px 0 0; color: var(--texto); font-size: .97rem; }

.foto { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(15 23 42 / .5); aspect-ratio: 4 / 5; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .foto { aspect-ratio: 16 / 10; } }

.clientes { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.clientes span { padding: 10px 16px; border-radius: 999px; background: var(--blanco); border: 1px solid var(--borde); font-weight: 700; font-size: 14px; color: #334155; }

.pasos { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; counter-reset: paso; }
@media (min-width: 900px) { .pasos { grid-template-columns: repeat(4, 1fr); } }
.pasos li { counter-increment: paso; position: relative; padding: 26px 24px; border-radius: 20px; background: var(--blanco); border: 1px solid var(--borde); }
.pasos li::before { content: counter(paso, decimal-leading-zero); display: block; font-size: 30px; font-weight: 800; color: rgb(37 99 235 / .25); line-height: 1; margin-bottom: 12px; }
.pasos p { margin: 8px 0 0; color: var(--texto); font-size: .95rem; }

/* Preguntas */
.preguntas { margin-top: 36px; display: grid; gap: 12px; max-width: 820px; }
details { background: var(--blanco); border: 1px solid var(--borde); border-radius: 16px; padding: 4px 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 600; color: var(--primary); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--texto); }

/* Llamado final */
.llamado { background: linear-gradient(135deg, var(--primary), #4338ca); color: var(--blanco); border-radius: 32px; padding: 56px 24px; text-align: center; box-shadow: 0 30px 60px -30px rgb(37 99 235 / .7); }
@media (min-width: 768px) { .llamado { padding: 72px 64px; } }
.llamado h2 { margin: 0 auto; max-width: 22ch; }
.llamado p { margin: 16px auto 0; max-width: 52ch; color: rgb(255 255 255 / .85); font-size: 1.1rem; }
.llamado .boton { margin-top: 32px; background: var(--blanco); color: var(--primary); }
.llamado .boton svg { color: var(--wa); }

/* Pie */
footer { padding: 40px 0; border-top: 1px solid var(--borde); }
footer .contenedor { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; font-size: 14px; color: #64748b; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--primary); }

/* WhatsApp flotante */
.wa-flotante { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--blanco); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgb(0 0 0 / .4); transition: transform .2s; }
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 30px; height: 30px; }

:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .boton, .wa-flotante { transition: none; } }

/* Portada con foto al costado (páginas de ciudad) */
.portada-ciudad { background: var(--ink); color: var(--blanco); }
.portada-ciudad .contenedor { display: grid; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 900px) { .portada-ciudad .contenedor { grid-template-columns: 1.15fr .85fr; gap: 56px; padding-top: 88px; padding-bottom: 96px; } }
.portada-ciudad h1 { margin: 20px 0 0; font-size: clamp(2.1rem, 5.5vw, 3.6rem); line-height: 1.07; font-weight: 800; letter-spacing: -0.02em; }
.portada-ciudad h1 span { background: linear-gradient(90deg, #60a5fa, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portada-ciudad p.bajada { margin: 20px 0 0; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: #e2e8f0; max-width: 48ch; }
.portada-ciudad .foto { aspect-ratio: 1 / 1; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); }
.tarjeta-oscura { background: var(--ink); color: var(--blanco); border-color: transparent; }
.tarjeta-oscura p { color: #cbd5e1; }
.tarjeta .meta { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgb(37 99 235 / .1); color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tarjeta .boton { margin-top: 22px; }
