:root{
  --navy:#0b2a4a; --navy-2:#123a63; --ink:#1b2430; --muted:#4a5565;
  --gold:#f2b632; --gold-d:#d99a0f; --teal:#0f766e; --bg:#f6f8fb; --line:#e2e8f0;
  --white:#fff; --radius:14px; --shadow:0 10px 30px rgba(11,42,74,.10);
  --max:1280px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--white);line-height:1.6;font-size:clamp(1rem,0.25vw + 0.92rem,1.125rem);hyphens:none;-webkit-hyphens:none}
img,svg,iframe{max-width:100%}
a{color:var(--navy-2)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
h1,h2,h3{line-height:1.2;color:var(--navy);margin:0 0 .5em}
h1{font-size:clamp(2.05rem,1.15rem + 3vw,3.85rem);color:#fff;letter-spacing:-.025em;line-height:1.12}
h2{font-size:clamp(1.5rem,1.05rem + 1.5vw,2.5rem);letter-spacing:-.015em}
h3{font-size:clamp(1.1rem,1rem + 0.35vw,1.35rem)}
p{margin:0 0 1em}
.container{width:min(100% - 2.5rem,var(--max));margin-inline:auto}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:#000;padding:.6rem 1rem;z-index:100}
.skip:focus{left:1rem;top:1rem;z-index:200}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Language visibility */
html[data-lang="en"] .es{display:none!important}
html[data-lang="es"] .en{display:none!important}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:saturate(1.4) blur(6px)}
.header-inner{display:flex;align-items:center;gap:1rem;min-height:72px}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;color:var(--navy);font-weight:800;font-size:1.12rem;line-height:1.1;margin-right:auto}
.brand small{display:block;font-weight:600;color:var(--muted);font-size:.74rem;letter-spacing:.04em;text-transform:uppercase}
.brand-mark{width:42px;height:42px;flex:none}
#site-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:clamp(1.2rem,2vw,2rem)}
#site-nav a{text-decoration:none;color:var(--ink);font-weight:600;font-size:.97rem;display:inline-flex;align-items:center;min-height:44px}
#site-nav a:hover{color:var(--teal)}
.header-actions{display:flex;align-items:center;gap:.6rem}
.lang-toggle{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:3px;background:var(--bg)}
.lang-toggle button{border:0;background:transparent;font:inherit;font-weight:700;font-size:.85rem;padding:.45rem .9rem;border-radius:999px;cursor:pointer;color:var(--muted);min-height:44px;min-width:44px}
.lang-toggle button[aria-pressed="true"]{background:var(--navy);color:#fff}
.nav-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:10px;width:44px;height:44px;cursor:pointer;align-items:center;justify-content:center;flex:none}
.nav-toggle svg{width:22px;height:22px}
.nav-toggle .icon-close{display:none}
.nav-toggle[aria-expanded="true"] .icon-menu{display:none}
.nav-toggle[aria-expanded="true"] .icon-close{display:block}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;justify-content:center;padding:.85rem 1.3rem;border-radius:10px;font-weight:700;text-decoration:none;border:2px solid transparent;font-size:1rem;cursor:pointer;transition:transform .15s,background .15s}
.btn svg{width:20px;height:20px;flex:none}
.btn:hover{transform:translateY(-1px)}
.btn-gold{background:var(--gold);color:#1a1300}
.btn-gold:hover{background:var(--gold-d)}
.btn-light{background:#fff;color:var(--navy)}
.btn-outline{border-color:rgba(255,255,255,.7);color:#fff}
.btn-outline:hover{background:rgba(255,255,255,.1)}
.btn-navy{background:var(--navy);color:#fff}
.btn-sm{padding:.55rem .9rem;font-size:.92rem}

/* Hero */
.hero{background:radial-gradient(1200px 500px at 85% -10%,rgba(242,182,50,.22),transparent 60%),linear-gradient(135deg,var(--navy) 0%,#0e3b66 60%,#0f4f6e 100%);color:#e8eef6;padding:clamp(3rem,7vh,6.5rem) 0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(20rem,0.85fr);gap:clamp(2rem,4vw,4rem);align-items:center}
.eyebrow{display:inline-block;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;padding:.3rem .8rem;border-radius:999px;font-size:.85rem;font-weight:600;margin-bottom:1.1rem}
.hero .lead{font-size:clamp(1.05rem,0.9rem + 0.45vw,1.28rem);line-height:1.55;color:#d6e1ee;max-width:40rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.7rem}
.hero .cta-row .btn{padding:.78rem .9rem;font-size:.95rem;white-space:nowrap}
.hero-card{background:#fff;color:var(--ink);border-radius:var(--radius);padding:1.6rem;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.hero-card h2{font-size:clamp(1.2rem,1rem + 0.4vw,1.4rem)}
.hero-card ul{list-style:none;padding:0;margin:0 0 1.2rem}
.hero-card li{display:flex;gap:.7rem;padding:.6rem 0;border-bottom:1px solid var(--line);align-items:flex-start}
.hero-card li:last-child{border-bottom:0}
.hero-card li svg{width:22px;height:22px;flex:none;color:var(--teal);margin-top:2px}
.hero-card .btn{width:100%}

/* Sections */
section{padding:clamp(3.5rem,7vw,5.5rem) 0}
.section-alt{background:var(--bg)}
.section-head{max-width:48rem;margin-bottom:2.6rem}
.section-head .kicker{color:var(--teal);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.82rem;margin-bottom:.4rem}
.section-head p{color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.2rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;box-shadow:0 2px 0 rgba(11,42,74,.02);transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.card p{color:var(--muted);margin:0;font-size:.98rem}
.icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#e7f3f1;color:var(--teal);margin-bottom:1rem}
.icon svg{width:26px;height:26px}
.icon.gold{background:#fdf3dc;color:#9a6a00}
.section-cta{margin-top:2rem;display:flex;flex-wrap:wrap;gap:.8rem;align-items:center}

.tax-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.tax-card{padding:1.8rem}
.tax-card ul{margin:.8rem 0 0;padding-left:0;list-style:none;color:var(--muted)}
.tax-card li{padding-left:1.6rem;position:relative;margin:.35rem 0}
.tax-card li::before{content:"";position:absolute;left:0;top:.45em;width:.9rem;height:.5rem;border-left:3px solid var(--teal);border-bottom:3px solid var(--teal);transform:rotate(-45deg)}

.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.why{text-align:left}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:2rem;align-items:start}
.info-list{list-style:none;padding:0;margin:0 0 1.5rem}
.info-list li{display:flex;gap:.9rem;align-items:flex-start;padding:.8rem 0;border-bottom:1px solid var(--line)}
.info-list svg{width:24px;height:24px;color:var(--teal);flex:none;margin-top:3px}
.info-list strong{display:block;color:var(--navy)}
.info-list a{font-weight:600;word-break:break-word;display:inline-flex;align-items:center;min-height:44px}
.site-footer a[href^="tel"],.site-footer a[href^="mailto"],.site-footer a[href^="http"]{display:inline-flex;align-items:center;min-height:44px}
.map{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:#e9eef5}
.map iframe{width:100%;height:100%;border:0;display:block}
form.quote{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;box-shadow:var(--shadow)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{display:flex;flex-direction:column;margin-bottom:1rem}
.field label,.field legend{font-weight:700;font-size:.94rem;margin-bottom:.35rem;color:var(--navy)}
.field input,.field select,.field textarea{font:inherit;font-size:1rem;min-height:44px;padding:.75rem .85rem;border:1px solid #b8c3d1;border-radius:10px;background:#fff;color:var(--ink);width:100%;max-width:100%}
.field textarea{min-height:120px;resize:vertical}
fieldset.field{border:0;padding:0;margin:0 0 1rem}
.radios{display:flex;flex-wrap:wrap;gap:.7rem}
.radios label{font-weight:500;color:var(--ink);display:inline-flex;gap:.45rem;align-items:center;margin:0;min-height:44px;padding:.35rem .8rem;border:1px solid var(--line);border-radius:10px;cursor:pointer}
.radios label:has(input:checked){border-color:var(--navy);background:#f3f6fa}
.radios input{width:1.15rem;height:1.15rem;flex:none;accent-color:var(--navy)}
.form-help{font-size:.88rem;color:var(--muted);margin:.8rem 0 0}
.form-note{background:#e7f3f1;color:#0b4d48;border-radius:10px;padding:.8rem 1rem;margin-top:1rem;font-size:.95rem}
form.quote .btn{width:100%}
.hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
form.quote{position:relative}
form.quote.is-sent .form-body{display:none}
.form-success{background:#e7f3f1;color:#0b4d48;border-radius:10px;padding:1rem 1.1rem;margin:0 0 1rem;font-size:1.02rem;font-weight:600}
.form-success[hidden]{display:none}
.form-error{background:#fdecea;color:#7a1c13;border-radius:10px;padding:.8rem 1rem;margin-top:1rem;font-size:.95rem}
.thanks-main{padding:clamp(3.5rem,8vw,5.5rem) 0;background:var(--bg);min-height:50vh}
.thanks-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:2rem;max-width:40rem;box-shadow:var(--shadow)}
.thanks-card h1{color:var(--navy);font-size:clamp(2rem,4vw,2.6rem)}
.thanks-card p{color:var(--muted);font-size:1.05rem}


/* CTA band */
.band{background:var(--navy);color:#dbe5f0;padding:2.6rem 0}
.band-inner{display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;justify-content:space-between}
.band h2{color:#fff;margin:0;font-size:clamp(1.3rem,2.4vw,1.7rem)}
.band p{margin:.3rem 0 0}

/* Footer */
.site-footer{background:#081d33;color:#b9c6d6;padding:2.8rem 0 1.4rem;font-size:.95rem}
.site-footer a{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
.site-footer h3{color:#fff;font-size:1rem}
.site-footer address{font-style:normal}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:2rem;padding-top:1.2rem;font-size:.88rem}
.site-footer .brand{color:#fff}
.site-footer .brand small{color:#9fb0c4}

/* Responsive */
@media (max-width:1020px){
  .why-grid{grid-template-columns:repeat(2,1fr)}
  #site-nav ul{gap:1rem}
  .header-call span{display:none}
}
@media (max-width:900px){
  .hero-grid,.contact-grid{grid-template-columns:1fr}
  .tax-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .nav-toggle{display:inline-flex}
  #site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
  #site-nav.open{display:block}
  #site-nav ul{flex-direction:column;gap:0;padding:.5rem 1.25rem 1rem}
  #site-nav a{display:block;padding:.8rem 0;border-bottom:1px solid var(--line)}
  .header-call{display:none}
}
@media (max-width:560px){
  body{font-size:16px}
  .brand{font-size:1rem}
  .brand small{font-size:.66rem}
  .brand-mark{width:36px;height:36px}
  .why-grid,.form-row,.footer-grid{grid-template-columns:1fr}
  .cta-row .btn{width:100%}
  .lang-toggle button{padding:.35rem .55rem}
  form.quote{padding:1.3rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.mobile-call{display:none}
@media (max-width:900px){
  .mobile-call{display:flex;position:fixed;left:max(.75rem,env(safe-area-inset-left));right:max(.75rem,env(safe-area-inset-right));bottom:max(.75rem,env(safe-area-inset-bottom));z-index:60;box-shadow:0 8px 24px rgba(0,0,0,.25);width:auto;max-width:calc(100% - 1.5rem);min-width:0;box-sizing:border-box}
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
}
.map{position:relative}
.map-fallback{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:1rem;font-weight:700}
.map iframe{position:relative;z-index:1}
@media (min-width:1021px){
  .cards-6{grid-template-columns:repeat(3,1fr)}
  .cards-5{grid-template-columns:repeat(6,1fr)}
  .cards-5 > *{grid-column:span 2}
  .cards-5 > :nth-child(4),.cards-5 > :nth-child(5){grid-column:span 3}
}
@media (min-width:561px) and (max-width:1020px){
  .cards-6{grid-template-columns:repeat(2,1fr)}
  .cards-5{grid-template-columns:repeat(2,1fr)}
  .cards-5 > :nth-child(5){grid-column:span 2}
}
address{font-style:normal}
@media (max-width:900px){
  .mobile-call{transform:translateY(140%);transition:transform .25s}
  .mobile-call.show{transform:none}
}
button,input,select,textarea{font-family:inherit}
@media (max-width:560px){
  .card{padding:1.2rem}
  .icon{width:40px;height:40px;margin-bottom:.6rem}
  .icon svg{width:22px;height:22px}
  .section-cta .btn{width:100%}
}
.nowrap,a[href^="tel"]{white-space:nowrap}
@media (max-width:900px){
  body{padding-bottom:0}
  .site-footer{padding-bottom:6rem}
}

/* ---- v2: top bar, Hablamos Español badge, prominent language toggle, hours, license ---- */
html{scroll-padding-top:124px}
.topbar{background:var(--navy);color:#e3ebf5;font-size:.9rem}
.topbar-inner{display:flex;align-items:center;gap:1rem;min-height:52px;flex-wrap:wrap}
.topbar-hours{display:inline-flex;align-items:center;gap:.4rem;margin-right:auto;color:#cfdbea}
.topbar-hours svg{width:16px;height:16px;flex:none}
.badge-hablamos{display:inline-flex;align-items:center;gap:.4rem;background:var(--gold);color:#1a1300;font-weight:800;border-radius:999px;padding:.28rem .8rem;font-size:.88rem;line-height:1.2;white-space:nowrap}
.badge-hablamos svg{width:16px;height:16px;flex:none}
.badge-lg{font-size:1rem;padding:.45rem 1rem}
.badge-lg svg{width:19px;height:19px}
.hero-badges{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:1.1rem}
.hero-badges .eyebrow{margin:0}
.topbar .lang-toggle{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.35);padding:3px}
.topbar .lang-toggle button{color:#fff;font-size:.9rem;padding:.4rem .95rem;min-height:44px}
.topbar .lang-toggle button[aria-pressed="true"]{background:#fff;color:var(--navy)}
.topbar .lang-toggle button:not([aria-pressed="true"]):hover{background:rgba(255,255,255,.15)}
.hours{margin:0}
.hours em{font-style:normal;font-weight:700;color:var(--teal)}
.site-footer .hours em{color:var(--gold)}
.license-tag{display:inline-flex;align-items:center;gap:.4rem;margin-top:.8rem!important;background:var(--navy);color:#fff!important;font-weight:700;font-size:.9rem!important;padding:.3rem .7rem;border-radius:8px}
.license-tag svg{width:16px;height:16px;color:var(--gold)}
.license-sub{font-size:.82rem!important;margin-top:.3rem!important}
.footer-grid{grid-template-columns:1.5fr 1fr 1.2fr 1.2fr}
.site-footer .badge-hablamos{margin:.2rem 0 .9rem}
.footer-owner{color:#dbe5f0}
@media (max-width:1020px){ .footer-grid{grid-template-columns:1fr 1fr} }
@media (max-width:900px){ .site-header{position:sticky} #site-nav{top:100%} }
@media (max-width:760px){ .topbar-hours{display:none} .topbar-inner{justify-content:space-between} }
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr}
  .topbar-inner{gap:.5rem}
  .topbar .lang-toggle button{padding:.4rem .75rem;min-height:44px}
  .badge-hablamos{font-size:.82rem;padding:.26rem .65rem}
  .badge-lg{font-size:.95rem;padding:.4rem .9rem}
}

html,body{overflow-x:clip;max-width:100%}
@media (max-width:900px){
  html{scroll-padding-top:120px}
}
@media (max-width:420px){
  .container{width:min(100% - 1.5rem,var(--max))}
}
@media (max-width:360px){
  .topbar .badge-hablamos{display:none}
  .topbar-inner{justify-content:center}
  .brand{font-size:.95rem;gap:.5rem}
}

@media (min-width:1020px){
  .hero{min-height:calc(100svh - 7.85rem);display:flex;align-items:center}
  .hero > .container{width:min(100% - 3.5rem,var(--max))}
  .container{width:min(100% - 3.5rem,var(--max))}
  .brand{font-size:1.2rem}
  .brand-mark{width:46px;height:46px}
}
@media (min-width:1020px) and (max-height:820px){
  .hero{padding:2.1rem 0;min-height:calc(100svh - 7.85rem)}
  .cta-row{margin-top:1.25rem}
  .hero .lead{margin-bottom:.2rem}
}
