:root {
  --navy: #0b1430;
  --blue: #1d63ff;
  --blue-2: #1247c4;
  --soft: #eaf0ff;
  --muted: #5b6480;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg2: #f5f7fc;
  --green: #12805c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11,20,48,.05), 0 12px 32px rgba(11,20,48,.08);
  --max: 1120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--navy);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-2); }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
section { padding-block: 80px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--blue-2); font-weight: 700; font-size: .85rem; }
.grad { background: linear-gradient(100deg, var(--blue) 0%, #6a3dff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; }
.center.sec-head { justify-items: center; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(29,99,255,.32); }
.btn.primary:hover { background: var(--blue-2); }
.btn.ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--navy); }
.btn.wa { background: #14b86a; color: #fff; }
.btn.wa:hover { background: #0fa05b; }
.btn.sm { padding: 10px 18px; font-size: .95rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(29,99,255,.45); outline-offset: 2px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: -3px; }
nav.main { display: flex; gap: 26px; }
nav.main a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav.main a:hover { color: var(--blue); }

/* Hero */
.hero { padding-block: 64px 72px; background: radial-gradient(1000px 420px at 85% -10%, #dfe8ff 0%, transparent 70%), radial-gradient(700px 360px at 0% 0%, #eef2ff 0%, transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .93rem; font-weight: 600; list-style: none; padding: 0; margin: 0; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }

/* Maqueta de la app */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.mock-top { display: flex; gap: 6px; padding: 12px 14px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e6; }
.mock-body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.mock-side { background: var(--navy); padding: 14px 0; display: grid; align-content: start; justify-items: center; gap: 12px; }
.mock-side b { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.14); }
.mock-side b:first-child { background: var(--blue); }
.mock-main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpi { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.mock-kpi span { display: block; font-size: .64rem; color: var(--muted); font-weight: 600; }
.mock-kpi strong { font-size: 1.05rem; letter-spacing: -.02em; }
.mock-chart { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; align-items: flex-end; gap: 9px; height: 112px; }
.mock-chart i { flex: 1; border-radius: 5px 5px 0 0; background: var(--blue); }
.mock-chart i:nth-child(even) { background: #c6d4f5; }
.mock-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .74rem; font-weight: 600; }
.mock-row .bar { flex: 1; height: 6px; border-radius: 9px; background: #edf0f6; display: block; overflow: hidden; }
.mock-row .bar i { display: block; height: 100%; width: 62%; background: var(--green); }
.chip { position: absolute; right: 14px; bottom: 14px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem; box-shadow: 0 8px 20px rgba(11,20,48,.3); }

/* Franja de problema */
.problem { background: var(--navy); color: #fff; padding-block: 44px; }
.problem .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.problem p { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; max-width: 36ch; }
.problem span { color: #b9c5e6; max-width: 46ch; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: paso; }
.step { background: var(--bg2); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); margin-top: 8px; font-size: .96rem; }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd8ee; }
.card .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.bg2 { background: var(--bg2); }

/* Banda inmobiliarias */
.band { background: linear-gradient(135deg, var(--navy) 0%, #14246b 100%); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.band .lead { color: #c1cbe8; }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; align-items: flex-start; color: #e6ecff; font-weight: 600; }
.band li::before { content: "✓"; color: #7fb0ff; font-weight: 800; }
.band .btn.primary { background: #fff; color: var(--navy); box-shadow: none; }
.band .btn.primary:hover { background: var(--soft); }

/* Prueba */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.proof ul { padding: 0; list-style: none; display: grid; gap: 10px; margin: 22px 0 0; }
.proof li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

/* Precios */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.price.pop { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.price.pop::before { content: "Más elegido"; position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price .from { color: var(--muted); font-size: .85rem; font-weight: 600; }
.price .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .amount small { font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--muted); font-size: .95rem; flex: 1; }
.price li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.note { margin-top: 26px; color: var(--muted); font-size: .93rem; text-align: center; }
.maint { margin-top: 18px; background: var(--soft); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.maint strong { font-size: 1.05rem; }
.maint span { color: var(--muted); }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 20px; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-info .links { display: flex; flex-wrap: wrap; gap: 10px; }
form.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.lead-form .full { grid-column: 1 / -1; }
form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--navy); }
form input, form select, form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--navy); width: 100%; }
form textarea { min-height: 110px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(29,99,255,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.legal { font-size: .8rem; color: var(--muted); }
.msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 11px; font-weight: 600; font-size: .93rem; }
.msg.err { background: #fdecec; color: #a32020; }
.thanks { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 20px 10px; }
.thanks .ok { width: 60px; height: 60px; border-radius: 50%; background: #e3f6ee; color: var(--green); display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; }

/* Footer */
footer { background: var(--navy); color: #b9c5e6; padding-block: 44px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
footer a { color: #fff; text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
footer .brand { color: #fff; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
.mini { font-size: .85rem; }

/* Dolores (inmobiliarias) */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-weight: 700; display: flex; gap: 12px; align-items: flex-start; }
.pain::before { content: "✕"; color: #c62828; font-weight: 800; }

@media (max-width: 900px) {
  section { padding-block: 60px; }
  nav.main { display: none; }
  .hero-grid, .proof, .contact, .band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards, .prices, .pains { grid-template-columns: 1fr; }
  .mock { max-width: 520px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  form.lead-form { grid-template-columns: 1fr; padding: 20px; }
  .btn { width: 100%; }
  .bar .btn { width: auto; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Extras de la maqueta */
.mock-row { justify-content: space-between; }
.mock-row .tag { background: var(--soft); color: var(--blue-2); padding: 2px 9px; border-radius: 999px; font-size: .66rem; font-weight: 700; white-space: nowrap; }
.mock-row .tag.ok { background: #e3f6ee; color: var(--green); }
.mock-row .tag.warn { background: #fdf3e2; color: #b45309; }
.cap { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 10px; }

/* Dos planes */
.prices.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
.note a { font-weight: 600; }
@media (max-width: 900px) { .prices.two { grid-template-columns: 1fr; } }

/* Precio de lanzamiento */
.lanz { display: inline-block; background: #e3f6ee; color: var(--green); font-size: .74rem; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.price .regular { margin-top: 8px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.price .regular s { text-decoration-thickness: 2px; text-decoration-color: #c62828; }

/* App instalada en el celular */
.soft { background: linear-gradient(180deg, #eef3ff 0%, #f8faff 100%); }
.phone-sec { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.phone-copy { display: grid; gap: 18px; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; color: var(--muted); }
.ticks li strong { color: var(--navy); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: #e3f6ee; color: var(--green); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.phone-fig { margin: 0; display: grid; justify-items: center; gap: 14px; position: relative; }
.phone { width: min(290px, 74vw); aspect-ratio: 9 / 18.6; background: #0b1430; border-radius: 44px; padding: 11px; box-shadow: 0 30px 60px rgba(11,20,48,.28), inset 0 0 0 2px #26335f; position: relative; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; position: relative; background: linear-gradient(160deg, #6ea8ff 0%, #8f7cff 52%, #f2a1c7 100%); display: flex; flex-direction: column; padding: 14px 14px 12px; }
.phone-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 74px; height: 21px; border-radius: 99px; background: #0b1430; }
.phone-status { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 700; font-size: .72rem; padding: 2px 8px 0; }
.phone-status i { display: inline-block; width: 4px; background: #fff; border-radius: 1px; margin-left: 2px; }
.phone-status i:nth-child(1) { height: 5px; } .phone-status i:nth-child(2) { height: 8px; } .phone-status i:nth-child(3) { height: 11px; }
.home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px 8px; margin-top: 34px; align-content: start; }
.app { display: grid; justify-items: center; gap: 5px; }
.app span { color: #fff; font-size: .56rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.35); text-align: center; line-height: 1.1; white-space: nowrap; }
.ic { width: 100%; aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; }
.ic svg { width: 58%; height: 58%; fill: #fff; }
.ic.c1 { background: linear-gradient(145deg, #34d27a, #12a85a); } .ic.c2 { background: linear-gradient(145deg, #8b93a7, #5c647a); }
.ic.c3 { background: linear-gradient(145deg, #ff8a5c, #e5532b); } .ic.c4 { background: linear-gradient(145deg, #ff6b81, #d93a55); }
.ic.c5 { background: linear-gradient(145deg, #3a3f55, #1c2033); } .ic.c6 { background: linear-gradient(145deg, #ffd66b, #f0a91a); }
.ic.c7 { background: linear-gradient(145deg, #ff5f9e, #c2307a); } .ic.c8 { background: linear-gradient(145deg, #a2a8bb, #727a90); }
.ic.real { object-fit: cover; box-shadow: 0 0 0 2.5px #fff, 0 0 0 5px rgba(29,99,255,.9), 0 6px 14px rgba(0,0,0,.25); }
.dock { margin-top: auto; background: rgba(255,255,255,.28); backdrop-filter: blur(8px); border-radius: 26px; padding: 10px 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.phone-chip { position: absolute; left: auto; right: calc(50% + 118px); top: 34%; background: #fff; color: var(--navy); font-weight: 700; font-size: .84rem; padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow); max-width: 172px; line-height: 1.3; }
.phone-chip::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.phone-fig figcaption { color: var(--muted); font-size: .82rem; text-align: center; max-width: 340px; }
@media (max-width: 900px) {
  .phone-sec { grid-template-columns: 1fr; gap: 36px; }
  .phone-chip { position: static; transform: none; max-width: 300px; text-align: center; box-shadow: var(--shadow); }
  .phone-chip::after { display: none; }
}

/* Ícono de ejemplo: "Tu logo" */
.ic.ph { background: #fff; display: grid; place-items: center; align-content: center; gap: 2px; text-align: center; }
.ic.ph b { width: 34%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, #1d63ff, #6a3dff); display: block; margin-bottom: 1px; }
.ic.ph span { font-size: .5rem; font-weight: 800; letter-spacing: .04em; color: #0b1430; line-height: 1.05; text-shadow: none; }
.ic.c9 { background: linear-gradient(145deg, #4fd1c5, #1f9d93); }

.center-head { text-align: center; margin-bottom: 32px; }
.logos { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.logos li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.logos small { color: var(--muted); }
.logo-box { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: var(--bg2); margin-bottom: 6px; }
.logo-box img { width: 100%; height: 100%; object-fit: cover; }
.logo-txt { font-weight: 800; font-size: 1.8rem; color: var(--blue-2); }
@media (max-width: 720px) { .logos { grid-template-columns: repeat(2, 1fr); } }
