/* ===============================
   ContaProNow · styles.css (V5.1)
   Paleta: #004080 (brand) / #4CAF50 (accent)
   Mobile-first, accesible, rápido
   =============================== */
:root{
  --brand:#004080; --accent:#4CAF50; --text:#0b1a2b; --muted:#5c6b7a;
  --bg:#ffffff; --bg-alt:#f6f8fb; --radius:14px; --container:1140px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration-thickness:2px;text-underline-offset:.2em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* Skip link */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;left:1rem;top:1rem;width:auto;height:auto;padding:.5rem 1rem;background:var(--accent);color:#fff;border-radius:10px;z-index:1000}

/* Layout */
.container{max-width:var(--container);margin-inline:auto;padding:0 1rem}
.section{padding:3rem 0}
.section.alt{background:var(--bg-alt)}
.section-lead{color:var(--muted);margin-top:-.4rem}

/* Header */
.site-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #e7ecf3;z-index:50;transition:box-shadow .2s ease,background .2s ease}
.site-header.scrolled{background:rgba(255,255,255,.9);box-shadow:var(--shadow);backdrop-filter:saturate(1.2) blur(6px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:60px}
.logo{display:inline-flex;align-items:center;gap:.6rem;font-weight:800;color:var(--brand);text-decoration:none}
.logo-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent);color:#fff;font-weight:900}
.logo-text{letter-spacing:.2px}
.nav-toggle{display:inline-flex;border:1px solid #d7dde5;background:#fff;padding:.45rem .7rem;border-radius:10px}
.menu{list-style:none;margin:0;padding:0;display:none}
.menu li a{display:block;padding:.75rem .6rem}
.menu .li-cta .btn.sm{padding:.5rem .8rem}
@media(min-width:768px){.nav-toggle{display:none}.menu{display:flex;gap:.25rem}}

/* Hero (degradado + media) */
.hero{position:relative;color:#fff;min-height:68vh;display:grid;align-items:end;text-align:center;background:linear-gradient(135deg,#004080 0%,#0B1A2B 100%);overflow:hidden}
.hero::before{content:"";position:absolute;top:-100px;right:-100px;width:300px;height:300px;border-radius:50%;background:rgba(76,175,80,.2);z-index:0}
.hero-inner{position:relative;z-index:1;padding:4.5rem 1rem 3rem}
.hero h1{margin:0 0 .5rem;font-size:clamp(2rem,4.5vw,3rem);line-height:1.15}
.hero .sub{color:#e6eef8;max-width:60ch;margin-inline:auto}
.hero .hero-media{margin-top:1.2rem;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.cta-row{display:flex;gap:.75rem;margin-top:1rem;flex-wrap:wrap;justify-content:center}
.trustline{margin-top:1rem;font-weight:700}

/* Cards Servicios */
.cards{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1.25rem}
.card{background:#fff;padding:1.1rem;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #e9eef5}
.card h3{margin:.25rem 0 .5rem}
.price{display:inline-block;background:rgba(76,175,80,.12);color:#185a1a;border:1px solid rgba(76,175,80,.25);padding:.15rem .55rem;border-radius:999px;font-weight:800;margin-bottom:.4rem}
.bullets{margin:.3rem 0 .8rem;padding-left:1.2rem}
.bullets li{margin:.2rem 0}
.svc-icon{filter:drop-shadow(0 4px 10px rgba(0,0,0,.06))}
.small-note{font-size:.9rem;color:var(--muted)}
@media(min-width:700px){.cards{grid-template-columns:repeat(3,1fr)}}

/* Beneficios */
.benefits{display:grid;grid-template-columns:1fr;gap:.6rem;padding:0;margin:1rem 0 0;list-style:none}
.benefits li{display:flex;align-items:flex-start;gap:.6rem;padding:.7rem .8rem;background:#fff;border:1px solid #e9eef5;border-radius:var(--radius)}
.check{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--accent);color:#fff;font-weight:800}

/* Proceso visual */
.steps{display:grid;gap:.6rem;margin:1rem 0 0;padding-left:0;list-style:none}
.steps.visual li{display:flex;gap:.8rem;align-items:flex-start;background:#fff;border:1px solid #e9eef5;border-radius:var(--radius);padding:.7rem .9rem}
.steps .num{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:var(--brand);color:#fff;font-weight:800}

/* Garantía */
.guarantee-band{display:flex;flex-direction:column;gap:.4rem;padding:1.2rem;border:2px dashed var(--brand);border-radius:var(--radius);background:#fff}

/* Testimonios (carrusel) */
.carousel{position:relative;overflow:hidden}
.car-track{display:flex;gap:1rem;list-style:none;padding:0;margin:0;scroll-snap-type:x mandatory;overflow-x:auto}
.car-slide{min-width:100%;scroll-snap-align:start}
.testimonial{background:#fff;border:1px solid #e9eef5;border-radius:var(--radius);padding:1rem;height:100%}
.testimonial blockquote{margin:0 0 .5rem;font-size:1.05rem}
.testimonial figcaption{color:var(--muted)}
.car-btn{position:absolute;top:50%;transform:translateY(-50%);border:1px solid #dfe6f2;background:#fff;border-radius:999px;line-height:1;padding:.4rem .6rem}
.prev{left:.5rem}.next{right:.5rem}
@media(min-width:900px){.car-slide{min-width:50%}}

/* Herramientas */
.tools-logos{display:flex;gap:1rem;list-style:none;padding:0;margin:1rem 0 0;align-items:center;flex-wrap:wrap}
.tools-logos li{background:#fff;border:1px solid #e9eef5;border-radius:12px;padding:.5rem;box-shadow:var(--shadow)}

/* Sobre mí */
.about-grid{display:grid;gap:1.2rem;align-items:center}
.about-badges{display:flex;gap:.5rem;flex-wrap:wrap;padding:0;margin:1rem 0 0;list-style:none}
.about-badges li{background:#eef3fb;border:1px solid #dce6f7;color:#0f2f5a;padding:.35rem .6rem;border-radius:999px;font-weight:700}
.about-photo img{border-radius:18px;box-shadow:var(--shadow)}
@media(min-width:900px){.about-grid{grid-template-columns:1.1fr .9fr}}

/* Contacto */
.contact-grid{display:grid;gap:1rem;margin-top:1rem}
.field{display:grid;gap:.35rem;margin-bottom:.8rem}
input,textarea{width:100%;border:1px solid #cfd7e3;border-radius:12px;padding:.7rem .8rem;font-size:1rem}
input:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(0,64,128,.12)}
.small{font-size:.9rem;color:var(--muted)}

/* Botones (hover premium) */
.btn{display:inline-block;border:2px solid transparent;padding:.8rem 1.05rem;border-radius:999px;font-weight:800;text-decoration:none;line-height:1;transition:transform .06s ease,box-shadow .2s ease}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{box-shadow:0 8px 20px rgba(76,175,80,.3);transform:translateY(-1px)}
.btn-secondary{background:#fff;color:var(--brand);border-color:#d9e1ec}
.btn-secondary:hover{box-shadow:0 8px 20px rgba(0,64,128,.18);transform:translateY(-1px)}
.btn-ghost{background:#fff;color:var(--brand);border-color:#e1e8f2}

/* Footer */
.site-footer{border-top:1px solid #e7ecf3;padding:1.25rem 0;font-size:.95rem}
.foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}

/* WhatsApp FAB (móvil) */
.whatsapp-fab{position:fixed;right:1rem;bottom:1rem;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--accent);color:#fff;font-weight:900;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.2);z-index:60}
@media(min-width:768px){.whatsapp-fab{display:none}}

/* Menú responsive */
.menu[hidden]{display:none!important}

/* Revelado en scroll */
.reveal{opacity:0;transform:translateY(12px);transition:opacity .35s ease,transform .35s ease}
.reveal.in{opacity:1;transform:none}
