/* Sistema de componentes — derivado 1:1 de la familia v2 de plantillas
   StreamA (abogado_es.html), parametrizado con tokens.css. */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{font-family:var(--ff-body);background:var(--bg);color:var(--ink);overflow-x:hidden;padding-bottom:68px;line-height:1.6}
@media(min-width:768px){body{padding-bottom:0}}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
h1,h2,h3,.nav-logo,.foot-logo,.hero-card-name,.card-title,.trust-title{font-family:var(--ff-head)}

/* NAV */
.nav-wrap{position:fixed;top:.9rem;left:50%;transform:translateX(-50%);z-index:500;width:calc(100% - 2rem);max-width:1080px}
.nav-inner{background:rgba(253,253,254,.88);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--edge);border-radius:100px;padding:.5rem .5rem .5rem 1.4rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 4px 24px rgba(0,0,0,.06),0 1px 4px rgba(0,0,0,.04);transition:box-shadow .3s var(--ease)}
.nav-inner.sc{box-shadow:0 8px 40px rgba(0,0,0,.1),0 2px 8px rgba(0,0,0,.06)}
.nav-logo{font-weight:800;font-size:.95rem;letter-spacing:-.02em;color:var(--ink)}
.nav-logo span{color:var(--brand)}
.nav-links{display:none;align-items:center;gap:.2rem}
@media(min-width:720px){.nav-links{display:flex}}
.nav-links a{font-size:.78rem;font-weight:600;color:var(--ink-3);padding:.38rem .85rem;border-radius:100px;transition:background .18s var(--ease),color .18s var(--ease)}
.nav-links a:hover{background:var(--surface);color:var(--ink)}
.nav-cta{background:var(--brand);color:var(--white);font-weight:700;font-size:.78rem;padding:.55rem 1.2rem;border-radius:100px;display:flex;align-items:center;gap:.5rem;transition:background .22s var(--ease),box-shadow .22s var(--ease),transform .18s var(--ease)}
.nav-cta:hover{background:var(--brand-d);box-shadow:0 6px 24px rgba(18,56,143,.35)}
.nav-cta-arrow{width:22px;height:22px;background:rgba(255,255,255,.18);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;transition:transform .22s var(--ease-back)}
.nav-cta:hover .nav-cta-arrow{transform:translateX(2px) translateY(-1px) scale(1.12)}
.lang-switch{display:flex;gap:.15rem;margin-right:.4rem}
.lang-switch a{font-size:.72rem;font-weight:700;padding:.3rem .55rem;border-radius:100px;color:var(--ink-3)}
.lang-switch a.on{background:var(--brand-l);color:var(--brand)}

/* REVEAL */
.rv{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.rv.in{opacity:1;transform:none}
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}.d4{transition-delay:.32s}
@media(prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}

/* HERO */
.hero{min-height:92dvh;display:grid;align-items:center;padding-top:5rem;position:relative;overflow:hidden;background:linear-gradient(160deg,#070c1c 0%,#0e1c46 55%,var(--brand-d) 100%)}
@media(min-width:900px){.hero{grid-template-columns:1fr 1fr}}
.hero-content{padding:4rem 1.5rem 4rem;max-width:640px}
@media(min-width:900px){.hero-content{padding:5rem 0 5rem 2.5rem}}
.hero::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 80% 20%, rgba(46,163,242,.18), transparent 55%);pointer-events:none;z-index:0}
.hero > *{position:relative;z-index:1}
.hero-badge{display:inline-flex;align-items:center;gap:.45rem;background:rgba(46,163,242,.15);color:#8fd0fa;border:1px solid rgba(46,163,242,.3);font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:.35rem 1rem;border-radius:100px;margin-bottom:1.6rem}
.hero-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}
.hero h1{font-size:clamp(2.4rem,5vw,4rem);font-weight:800;line-height:1.1;letter-spacing:-.03em;color:var(--white);margin-bottom:1.4rem}
.hero h1 em{font-style:normal;color:#8fd0fa}
.hero-sub{font-size:1.05rem;line-height:1.75;color:#c3cbdb;max-width:480px;margin-bottom:2.2rem;font-weight:400}
.hero-meta{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:2.4rem}
.hero-chip{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:600;color:#cdd4e2;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);padding:.3rem .85rem;border-radius:100px}
.hero-chip svg{width:13px;height:13px;flex-shrink:0;color:var(--accent)}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem}
.btn-primary{background:var(--brand);color:var(--white);font-weight:700;font-size:.9rem;padding:.8rem 1.8rem;border-radius:100px;display:inline-flex;align-items:center;gap:.6rem;box-shadow:0 4px 20px rgba(18,56,143,.4);transition:background .22s var(--ease),box-shadow .22s var(--ease),transform .18s var(--ease)}
.btn-primary:hover{background:var(--brand-d);box-shadow:0 8px 32px rgba(18,56,143,.55);transform:translateY(-2px)}
.btn-primary:active{transform:scale(.97)}
.btn-secondary{background:rgba(255,255,255,.08);color:#d7dde8;font-weight:600;font-size:.9rem;padding:.8rem 1.6rem;border-radius:100px;display:inline-flex;align-items:center;gap:.6rem;border:1.5px solid rgba(255,255,255,.14);transition:background .22s var(--ease),border-color .22s var(--ease),transform .18s var(--ease)}
.btn-secondary:hover{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.22)}
.btn-wa{background:#25D366;color:var(--white);font-weight:700;font-size:.9rem;padding:.8rem 1.6rem;border-radius:100px;display:inline-flex;align-items:center;gap:.6rem;box-shadow:0 4px 16px rgba(37,211,102,.3);transition:background .22s var(--ease),box-shadow .22s var(--ease),transform .18s var(--ease)}
.btn-wa:hover{background:#1ebe59;box-shadow:0 8px 28px rgba(37,211,102,.44);transform:translateY(-2px)}

.hero-visual{display:none;align-items:center;justify-content:center;padding:5rem 2.5rem 5rem 1.5rem;position:relative}
@media(min-width:900px){.hero-visual{display:flex}}
.hero-card-shell{width:100%;max-width:440px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:3px;box-shadow:0 24px 80px rgba(0,0,0,.5),0 4px 16px rgba(0,0,0,.2)}
.hero-card-core{background:var(--white);border-radius:17px;overflow:hidden}
.hero-img-block{height:200px;background:linear-gradient(135deg,var(--brand-l) 0%,#dbe4f6 100%);display:flex;align-items:center;justify-content:center;position:relative}
.hero-img-icon{font-size:3.2rem;opacity:.5}
.hero-card-body{padding:1.5rem}
.hero-card-name{font-weight:800;font-size:1.1rem;color:var(--ink);margin-bottom:.3rem}
.hero-card-sub{font-size:.82rem;color:var(--ink-3);margin-bottom:1rem;font-weight:500}
.hero-card-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}
.hero-card-list li{font-size:.8rem;color:var(--ink-2);display:flex;align-items:center;gap:.5rem}
.hero-card-list li::before{content:'✓';color:var(--brand);font-weight:800}
.hero-card-btn{width:100%;background:var(--brand);color:var(--white);font-family:var(--ff-head);font-weight:700;font-size:.82rem;padding:.65rem;border-radius:100px;border:none;cursor:pointer}
.hero-ring{position:absolute;width:360px;height:360px;border-radius:50%;border:1px solid rgba(46,163,242,.15);top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}
.hero-ring-2{position:absolute;width:480px;height:480px;border-radius:50%;border:1px solid rgba(46,163,242,.08);top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}

/* TRUST */
.trust{padding:5rem 0;background:var(--bg)}
.trust-wrap{max-width:1080px;margin:0 auto;padding:0 1.5rem}
.trust-head{text-align:center;margin-bottom:3rem}
.trust-head h2{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;letter-spacing:-.025em;color:var(--ink);margin-bottom:.7rem}
.trust-head p{font-size:.95rem;color:var(--ink-2);line-height:1.7}
.trust-grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:540px){.trust-grid{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.trust-grid{grid-template-columns:repeat(4,1fr)}}
.trust-item{background:var(--surface);border:1px solid var(--edge);border-radius:16px;padding:3px}
.trust-item-core{background:var(--white);border-radius:13px;padding:1.75rem;height:100%;display:flex;flex-direction:column;gap:.75rem}
.trust-icon{width:44px;height:44px;border-radius:12px;background:var(--brand-l);display:flex;align-items:center;justify-content:center;font-size:1.3rem}
.trust-title{font-weight:700;font-size:.95rem;color:var(--ink);line-height:1.3}
.trust-desc{font-size:.83rem;color:var(--ink-2);line-height:1.65;flex:1}
.trust-item.accent .trust-item-core{background:var(--brand)}
.trust-item.accent .trust-icon{background:rgba(255,255,255,.15)}
.trust-item.accent .trust-title,.trust-item.accent .trust-desc{color:var(--white)}
.trust-item.accent .trust-desc{color:rgba(255,255,255,.8)}

/* STATS */
.stats{background:var(--ink);padding:2.4rem 0}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;text-align:center;max-width:1080px;margin:0 auto;padding:0 1.5rem}
.stat-num{font-family:var(--ff-head);font-weight:800;font-size:2rem;color:var(--white);line-height:1;display:block;letter-spacing:-.02em}
.stat-lbl{font-size:.65rem;font-weight:600;color:#9aa2b2;margin-top:.3rem;display:block;letter-spacing:.1em;text-transform:uppercase}

/* SECTION */
.section{padding:5.5rem 0}
.wrap{max-width:1080px;margin:0 auto;padding:0 1.5rem}
.section-head{margin-bottom:3.5rem;max-width:600px}
.section-head h2{font-size:clamp(1.8rem,3.2vw,2.6rem);font-weight:800;line-height:1.15;letter-spacing:-.025em;color:var(--ink);margin-bottom:.85rem}
.section-head p{font-size:1rem;line-height:1.75;color:var(--ink-2)}

/* BENTO */
.bento{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:640px){.bento{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.bento{grid-template-columns:repeat(3,1fr)}}
.bento-6{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:640px){.bento-6{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.bento-6{grid-template-columns:repeat(3,1fr)}}
.card-shell{background:var(--surface);border:1px solid var(--edge);border-radius:16px;padding:3px;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.card-core{background:var(--white);border-radius:13px;padding:1.75rem;height:100%;display:flex;flex-direction:column;gap:.85rem}
.card-icon{width:40px;height:40px;border-radius:10px;background:var(--brand-l);display:flex;align-items:center;justify-content:center;font-size:1.15rem;flex-shrink:0}
.card-title{font-weight:700;font-size:1rem;color:var(--ink);line-height:1.3}
.card-desc{font-size:.87rem;color:var(--ink-2);line-height:1.7;flex:1}
.card-accent .card-shell,.card-shell.card-accent{background:var(--brand);border-color:var(--brand-d)}
.card-accent .card-core{background:var(--brand)}
.card-accent .card-icon{background:rgba(255,255,255,.15)}
.card-accent .card-title,.card-accent .card-desc{color:var(--white)}
.card-accent .card-desc{color:rgba(255,255,255,.75)}
.card-cta{margin-top:auto;font-size:.82rem;font-weight:700;color:var(--brand)}

/* TESTIMONIALS */
.testi-grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:640px){.testi-grid{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.testi-grid{grid-template-columns:1fr 1fr 1fr}}
.testi-shell{background:var(--surface);border:1px solid var(--edge);border-radius:16px;padding:3px}
.testi-core{background:var(--white);border-radius:13px;padding:1.5rem}
.testi-stars{color:#f59e0b;font-size:.85rem;margin-bottom:.85rem;letter-spacing:.05em}
.testi-text{font-size:.9rem;color:var(--ink-2);line-height:1.75;font-style:italic;margin-bottom:1rem}
.testi-author{font-size:.78rem;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:.5rem}
.testi-author::before{content:'';width:20px;height:2px;background:var(--brand);border-radius:2px;flex-shrink:0}

/* ABOUT / SPLIT */
.about-grid{display:grid;gap:3rem;align-items:center}
@media(min-width:768px){.about-grid{grid-template-columns:1fr 1fr}}
.about-visual-shell{background:var(--surface);border:1px solid var(--edge);border-radius:20px;padding:4px;box-shadow:0 12px 48px rgba(0,0,0,.08)}
.about-visual-core{border-radius:16px;height:340px;background:linear-gradient(160deg,var(--brand-l) 0%,#eef2fa 100%);display:flex;align-items:center;justify-content:center;position:relative}
.about-icon{font-size:3.4rem;opacity:.5}
.about-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2rem}
.a-stat-num{font-family:var(--ff-head);font-weight:800;font-size:1.9rem;color:var(--brand);letter-spacing:-.02em;display:block;line-height:1}
.a-stat-lbl{font-size:.66rem;font-weight:600;color:var(--ink-3);display:block;margin-top:.25rem;text-transform:uppercase;letter-spacing:.08em}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:.5rem}
.faq-item{border:1px solid var(--edge);border-radius:12px;overflow:hidden}
.faq-q{width:100%;background:var(--white);border:none;cursor:pointer;font-family:var(--ff-body);font-size:.92rem;font-weight:700;color:var(--ink);padding:1.25rem 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left}
.faq-q:hover{background:var(--surface);color:var(--brand)}
.faq-icon{font-size:1.1rem;font-weight:300;color:var(--brand);flex-shrink:0;transition:transform .32s var(--ease)}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease);background:var(--white)}
.faq-item.open .faq-a{max-height:260px}
.faq-a p{font-size:.88rem;color:var(--ink-2);line-height:1.75;padding:0 1.5rem 1.25rem}

/* FORM (gancho) */
.lead-form{background:var(--white);border:1px solid var(--edge);border-radius:20px;padding:2rem;box-shadow:0 12px 48px rgba(0,0,0,.08)}
.lead-form h3{font-family:var(--ff-head);font-size:1.2rem;font-weight:800;margin-bottom:.4rem;color:var(--ink)}
.lead-form p.hint{font-size:.82rem;color:var(--ink-3);margin-bottom:1.4rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;margin-bottom:.85rem}
@media(max-width:520px){.form-row{grid-template-columns:1fr}}
.form-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.85rem}
.form-field label{font-size:.76rem;font-weight:700;color:var(--ink-2)}
.form-field input,.form-field select{font-family:var(--ff-body);font-size:.88rem;padding:.65rem .85rem;border:1px solid var(--edge);border-radius:10px;background:var(--surface);color:var(--ink)}
.form-field input:focus,.form-field select:focus{outline:2px solid var(--brand);outline-offset:1px}
.form-consent{display:flex;gap:.6rem;align-items:flex-start;font-size:.76rem;color:var(--ink-3);margin:1rem 0 1.4rem}
.form-consent input{margin-top:.2rem}
.btn-submit{width:100%;background:var(--brand);color:var(--white);font-weight:700;font-size:.92rem;padding:.9rem;border-radius:100px;border:none;cursor:pointer;transition:background .2s var(--ease)}
.btn-submit:hover{background:var(--brand-d)}

/* CTA */
.cta-section{background:var(--ink);padding:5.5rem 0}
.cta-inner{text-align:center;max-width:600px;margin:0 auto}
.cta-inner h2{font-family:var(--ff-head);font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:800;line-height:1.1;letter-spacing:-.025em;color:var(--white);margin-bottom:1.2rem}
.cta-inner p{font-size:1rem;color:#9aa2b2;margin-bottom:2.4rem;line-height:1.7}
.cta-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}
.btn-cta-primary{background:var(--brand);color:var(--white);font-weight:700;font-size:.95rem;padding:.9rem 2rem;border-radius:100px;display:inline-flex;align-items:center;gap:.6rem;box-shadow:0 8px 28px rgba(18,56,143,.45);transition:transform .18s var(--ease)}
.btn-cta-primary:hover{transform:translateY(-2px)}
.btn-cta-ghost{background:rgba(255,255,255,.06);color:#cfd5e2;font-weight:600;font-size:.95rem;padding:.9rem 2rem;border-radius:100px;display:inline-flex;align-items:center;gap:.6rem;border:1px solid rgba(255,255,255,.12);transition:transform .18s var(--ease)}
.btn-cta-ghost:hover{transform:translateY(-2px);color:var(--white)}

/* MAP */
.map-shell{background:var(--surface);border:1px solid var(--edge);border-radius:16px;padding:3px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.06)}
.map-core{border-radius:13px;overflow:hidden;height:320px}
.map-core iframe{width:100%;height:100%;border:none;display:block}

/* FOOTER */
footer{background:var(--ink);padding:3rem 0 2rem}
.foot-inner{display:flex;flex-direction:column;gap:1.5rem;align-items:flex-start;max-width:1080px;margin:0 auto;padding:0 1.5rem}
@media(min-width:640px){.foot-inner{flex-direction:row;align-items:center;justify-content:space-between}}
.foot-logo{font-weight:800;font-size:1rem;letter-spacing:-.02em;color:var(--white)}
.foot-logo span{color:var(--accent)}
.foot-links{display:flex;gap:1.5rem;flex-wrap:wrap}
.foot-links a{font-size:.78rem;color:#7d8494;transition:color .18s var(--ease)}
.foot-links a:hover{color:#cdd4e2}
.foot-copy{font-size:.72rem;color:#565c69;max-width:1080px;margin:0 auto;padding:1.5rem 1.5rem 0;border-top:1px solid #232838}
.foot-disclaimer{font-size:.7rem;color:#565c69;max-width:1080px;margin:.5rem auto 0;padding:0 1.5rem;line-height:1.6}

/* FLOATS */
.wa-float{position:fixed;bottom:5.8rem;right:1.5rem;z-index:90;width:52px;height:52px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(37,211,102,.42);transition:transform .22s var(--ease-back)}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:24px;height:24px;fill:#fff}
@media(min-width:768px){.wa-float{bottom:2rem}}
.btt{position:fixed;bottom:5.8rem;left:1.5rem;z-index:90;width:42px;height:42px;background:var(--white);border:1px solid var(--edge);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:translateY(10px);box-shadow:0 2px 8px rgba(0,0,0,.08);transition:opacity .3s var(--ease),transform .3s var(--ease)}
.btt.on{opacity:1;transform:none}
.btt svg{width:16px;height:16px;color:var(--ink-2)}
@media(min-width:768px){.btt{bottom:2rem}}
.mob-bar{position:fixed;bottom:0;inset-x:0;background:rgba(253,253,254,.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--edge);padding:.65rem 1rem;display:flex;gap:.65rem;z-index:400}
@media(min-width:768px){.mob-bar{display:none}}
.mob-bar a{flex:1;text-align:center;padding:.8rem;font-family:var(--ff-head);font-weight:700;font-size:.8rem;border-radius:100px}
.mob-call{background:var(--brand);color:var(--white)}
.mob-wa{background:#25D366;color:var(--white)}

/* COOKIE */
.cookie{position:fixed;bottom:0;inset-x:0;background:var(--white);border-top:1px solid var(--edge);padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.8rem;color:var(--ink-2);z-index:600;box-shadow:0 -4px 20px rgba(0,0,0,.06)}
.cookie.hd{display:none}
.cookie-btns{display:flex;gap:.6rem;flex-shrink:0}
.ck-btn{padding:.35rem .9rem;border-radius:100px;font-family:var(--ff-body);font-size:.78rem;font-weight:600;cursor:pointer;border:none}
.ck-reject{background:var(--surface);color:var(--ink-2);border:1px solid var(--edge)}
.ck-accept{background:var(--brand);color:var(--white)}

/* Badge legal-fiscal */
.legal-note{display:flex;gap:.6rem;align-items:flex-start;background:var(--surface);border:1px solid var(--edge);border-radius:12px;padding:1rem 1.2rem;font-size:.8rem;color:var(--ink-2);line-height:1.6;margin-top:1.5rem}
.legal-note svg{flex-shrink:0;width:16px;height:16px;margin-top:.15rem;color:var(--brand)}
