:root{
  --ink:#0E1A2B; --paper:#F7F6F2; --card:#FFFFFF; --line:#E3E1DA; --muted:#5B6472; --body-ink:#3D4654;
  --accent:#187A4C; --accent-soft:#E6F2EC; --tab:#F1EFE9; --field:#C9C6BC;
  --display:"Source Serif 4", Georgia, serif; --body:Inter, system-ui, -apple-system, "Segoe UI", sans-serif; --brand:Manrope, Inter, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.55}
a{color:var(--ink)} a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1,h2{font-family:var(--display);font-weight:600;letter-spacing:-.01em;text-wrap:balance;margin:0}
h3{margin:0}
p{margin:0}
.wrap{max-width:1120px;margin:0 auto;padding-left:24px;padding-right:24px}

/* Cabecera */
.site-header{border-bottom:1px solid var(--line);background:var(--paper)}
.site-header nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;padding-bottom:18px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand span{font-family:var(--brand);font-weight:700;font-size:24px;letter-spacing:-.035em}
.brand .dot{color:var(--accent)}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:24px;font-size:15px}
.nav-links a{text-decoration:none}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:8px;font-weight:600;text-decoration:none;border:0;cursor:pointer;font-family:inherit;font-size:16px}
.btn-dark{background:var(--ink);color:#fff;min-height:44px;padding:0 18px}
.btn-dark:hover{color:#fff;background:#1B2A40}
.btn-green{background:var(--accent);color:#fff;width:100%;min-height:52px;font-size:17px}
.btn-green:hover{color:#fff;background:#136640}
.btn-light{background:#fff;color:var(--ink);min-height:52px;padding:0 24px;font-size:17px}

/* Portada */
.hero{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;padding-top:72px;padding-bottom:64px}
.hero-copy{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:24px}
.eyebrow{font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.hero h1{font-size:52px;line-height:1.1}
.lead{font-size:19px;color:var(--body-ink);max-width:560px}
.ticks{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:15px;color:var(--body-ink)}
.ticks li{display:flex;gap:10px;align-items:flex-start}
.ticks svg{flex:none;margin-top:2px}

/* Calculadora */
.calc{flex:1 1 380px;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:32px;display:flex;flex-direction:column;gap:20px;scroll-margin-top:16px}
.calc h2{font-family:var(--body);font-size:22px;letter-spacing:0}
.tabs{display:flex;gap:4px;background:var(--tab);padding:4px;border-radius:10px}
.tab{flex:1 1 0;min-height:44px;border:0;border-radius:8px;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;background:transparent;color:var(--body-ink)}
.tab[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(14,26,43,.12)}
.panel{display:flex;flex-direction:column;gap:20px}
.panel[hidden]{display:none}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:500}
.field input{height:48px;border:1px solid var(--field);border-radius:8px;padding:0 14px;font-size:17px;font-family:inherit;color:var(--ink);background:#fff;width:100%}
.results{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-direction:column;gap:10px}
.row{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.row span:first-child{color:var(--muted)}
.row span:last-child{font-weight:600;font-variant-numeric:tabular-nums}
.total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:6px}
.total span:first-child{font-size:16px;font-weight:600}
.total output{font-size:32px;font-weight:700;color:var(--accent);letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.note{font-size:14px;color:var(--muted)}
.small{font-size:13px;color:var(--muted)}

/* Secciones */
.band{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section{padding-top:72px;padding-bottom:72px;display:flex;flex-direction:column;gap:40px}
.section h2{font-size:38px;line-height:1.15}
.section-intro{display:flex;flex-direction:column;gap:12px;max-width:720px}
.section-intro p{font-size:18px;color:var(--body-ink)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.step{display:flex;flex-direction:column;gap:12px;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.step .num{font-size:14px;font-weight:700;color:var(--accent)}
.step h3{font-size:20px;font-weight:600}
.step p,.law p{color:var(--body-ink)}
.law{display:flex;flex-direction:column;gap:10px;padding:28px;border-top:3px solid var(--ink);background:var(--card);border-radius:0 0 12px 12px}
.law h3{font-size:18px;font-weight:600}
.price{display:flex;flex-direction:column;gap:16px;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.price.featured{border:2px solid var(--accent);background:#fff}
.price h3{font-size:19px;font-weight:600}
.price .amount{font-size:34px;font-weight:700}
.price ul{margin:0;padding-left:20px;color:var(--body-ink);display:flex;flex-direction:column;gap:6px}
.price .btn-green{margin-top:auto;min-height:48px;font-size:16px}

/* Preguntas */
.faq{max-width:820px;padding-top:72px;padding-bottom:72px;display:flex;flex-direction:column;gap:24px}
.faq h2{font-size:38px;line-height:1.15;margin-bottom:8px}
details{border-bottom:1px solid var(--line);padding-bottom:18px}
summary{cursor:pointer;list-style:none;font-size:18px;font-weight:600;padding:8px 0}
summary::-webkit-details-marker{display:none}
details p{margin-top:8px;color:var(--body-ink)}

/* Cierre */
.cta{background:var(--ink);color:#fff}
.cta .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding-top:72px;padding-bottom:72px}
.cta p.big{font-family:var(--display);font-weight:600;font-size:40px;line-height:1.1}
.cta p.sub{font-size:17px;color:#C9CED6;margin-top:8px}

/* Pie */
.site-footer{padding-top:40px;padding-bottom:56px;display:flex;flex-direction:column;gap:16px;font-size:14px;color:var(--muted)}
.site-footer .top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:center}
.site-footer .links{display:flex;flex-wrap:wrap;gap:20px}
.site-footer a{color:var(--muted)}
.site-footer .brand span{font-size:20px}

/* Páginas legales */
.legal{max-width:760px;padding-top:56px;padding-bottom:72px;display:flex;flex-direction:column;gap:20px}
.legal h1{font-size:40px;line-height:1.15}
.legal h2{font-family:var(--body);font-size:20px;letter-spacing:0;margin-top:16px}
.legal p,.legal li{color:var(--body-ink)}
.legal ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.legal .updated{font-size:14px;color:var(--muted)}

@media (max-width:600px){
  .hero{padding-top:40px}
  .hero h1{font-size:38px}
  .section h2,.faq h2{font-size:30px}
  .calc{padding:22px}
  .cta p.big{font-size:32px}
  .nav-links{gap:16px}
}
