@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── RESET & BASE ── */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;color:#0f172a;background:#fff;line-height:1.6;font-size:16px;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* ── TOKENS ── */
:root{
  --blue:#1a56db;--blue-lt:#EFF6FF;--blue-bd:#bfdbfe;
  --green:#16a34a;--green-lt:#f0fdf4;--green-bd:#bbf7d0;
  --amber:#f59e0b;--amber-lt:#fffbeb;--amber-bd:#fde68a;
  --wa:#25d366;
  --gray:#f8fafc;--border:#e2e8f0;--muted:#64748b;--xs:#94a3b8;
  --r-sm:8px;--r-md:12px;--r-lg:16px;
  --sh:0 1px 3px rgba(0,0,0,0.08);--sh-md:0 4px 16px rgba(0,0,0,0.08);
}

/* ── NAVBAR ── */
.navbar{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--border);padding:0 20px}
.nav-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.nav-logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.nav-logo img{height:38px;width:38px;object-fit:contain}
.nav-logo-name{font-size:15px;font-weight:700;color:#0f172a;line-height:1.2}
.nav-logo-sub{font-size:10px;color:var(--muted)}
.nav-links{display:flex;align-items:center;gap:24px}
.nav-links a{font-size:13px;font-weight:500;color:#475569;transition:color .15s}
.nav-links a:hover{color:var(--blue)}
.nav-cta{background:var(--wa);color:#fff;font-size:13px;font-weight:600;padding:9px 18px;border-radius:var(--r-sm);display:inline-flex;align-items:center;gap:7px;white-space:nowrap;flex-shrink:0}
.nav-cta:hover{background:#1ebe5d}

/* ── HERO ── */
.hero{background:linear-gradient(135deg,#f0f7ff 0%,#f8fafc 50%,#f0fdf4 100%);padding:52px 20px 0;overflow:hidden}
.hero-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:flex-end}
.hero-left{padding-bottom:52px}
.hero-apps{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.app-chip{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--border);border-radius:20px;padding:5px 11px;font-size:12px;font-weight:500;color:#334155;box-shadow:var(--sh)}
.hero h1{font-size:clamp(28px,4vw,46px);font-weight:800;line-height:1.15;letter-spacing:-0.03em;color:#0f172a;margin-bottom:14px}
.hero h1 .hl{color:var(--blue)}
.hero-desc{font-size:15px;color:#475569;line-height:1.7;margin-bottom:6px}
.hero-desc strong{color:#0f172a}
.hero-desc2{font-size:13px;color:var(--muted);line-height:1.65;margin-bottom:26px}
.hero-btns{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.btn-wa{background:var(--wa);color:#fff;font-size:14px;font-weight:600;padding:13px 22px;border-radius:var(--r-sm);display:inline-flex;align-items:center;gap:7px;border:none;cursor:pointer;font-family:inherit}
.btn-wa:hover{background:#1ebe5d}
.btn-sec{background:#fff;color:#0f172a;font-size:13px;font-weight:500;padding:12px 18px;border-radius:var(--r-sm);border:1px solid var(--border);display:inline-flex;align-items:center;gap:5px;cursor:pointer;font-family:inherit}
.hero-fine{font-size:11px;color:var(--xs)}

.hero-right{position:relative;display:flex;justify-content:center;align-items:flex-end}
.hero-img-wrap{position:relative;width:100%;max-width:560px}
.hero-img-wrap img{width:100%;border-radius:var(--r-lg) var(--r-lg) 0 0;object-fit:cover}
.ord-badge{position:absolute;bottom:20px;left:20px;background:#fff;border:1px solid var(--green-bd);border-radius:var(--r-md);padding:9px 13px;display:flex;align-items:center;gap:9px;box-shadow:var(--sh-md)}
.ob-icon{width:30px;height:30px;background:var(--green-lt);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--green);font-size:15px;flex-shrink:0}
.ob-t{font-size:12px;font-weight:700;color:#0f172a}
.ob-s{font-size:10px;color:var(--muted)}

/* mobile hero image — hidden on desktop, shown on mobile */
.hero-img-mobile{display:none;width:100%;position:relative;margin:0 -20px;width:calc(100% + 40px)}
.hero-img-mobile img{width:100%;object-fit:cover;max-height:280px}
.hero-img-mobile .ord-badge{bottom:12px;left:12px}

/* ── SECTION COMMON ── */
.section{padding:64px 20px}
.section-inner{max-width:1200px;margin:0 auto}
.sec-hd{text-align:center;margin-bottom:40px}
.sec-hd h2{font-size:clamp(22px,3vw,30px);font-weight:700;letter-spacing:-0.02em;margin-bottom:6px}
.sec-hd p{font-size:14px;color:var(--muted)}
.sec-hd .eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:var(--blue);margin-bottom:8px}

/* ── STATS ── */
.stats-strip{background:var(--gray);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:24px 20px}
.stats-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-item{display:flex;align-items:center;gap:10px}
.stat-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.stat-t{font-size:13px;font-weight:600;color:#0f172a;line-height:1.3}
.stat-s{font-size:11px;color:var(--muted)}

/* ── 4 CARDS REQUISITOS ── */
.req-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.req-card{background:#fff;border:1.5px solid var(--border);border-radius:20px;padding:24px 20px 20px;box-shadow:0 4px 24px rgba(0,0,0,0.07),0 1px 4px rgba(0,0,0,0.04);display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.req-card:hover{box-shadow:0 8px 32px rgba(0,0,0,0.11),0 2px 8px rgba(0,0,0,0.06);transform:translateY(-2px)}
.req-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:22px}
.req-card h3{font-size:15px;font-weight:700;margin-bottom:6px;color:#0f172a}
.req-card p{font-size:12px;color:var(--muted);line-height:1.6;flex:1;margin-bottom:16px}
.req-card-link{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:8px 14px;border-radius:10px;border:1.5px solid;cursor:pointer;text-decoration:none;width:100%;justify-content:center;transition:background .15s;margin-top:auto}
.req-card-link:hover{filter:brightness(0.95)}

/* ── SEMÁFORO ── */
.sem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.sc{border-radius:20px;border:1.5px solid var(--border);overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,0.06);}
.sc-head{padding:14px 18px;display:flex;align-items:flex-start;gap:10px}
.sc-icon{width:32px;height:32px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;margin-top:2px}
.sc-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.04em;line-height:1.3}
.sc-sub{font-size:10px;margin-top:2px;opacity:.75}
.sc-body{padding:0 18px 16px}
.sc-item{display:flex;align-items:flex-start;gap:7px;padding:4px 0;font-size:12px;color:#334155;border-bottom:1px solid rgba(0,0,0,.04)}
.sc-item:last-child{border-bottom:none}
.sc-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;margin-top:5px}
.sc-footer{padding:0 18px 16px}
.sc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:500;padding:8px 12px;border-radius:var(--r-sm);border:1px solid;cursor:pointer;background:transparent;font-family:inherit;width:100%}
.sc-note{font-size:11px;line-height:1.55;padding:9px 11px;border-radius:var(--r-sm);margin-top:10px}

.sc-g .sc-head{background:#dcfce7}
.sc-g .sc-icon{background:var(--green);color:#fff}
.sc-g .sc-title{color:#14532d}.sc-g .sc-sub{color:#15803d}
.sc-g .sc-dot{background:var(--green)}
.sc-g .sc-btn{color:var(--green);border-color:var(--green-bd);background:var(--green-lt)}

.sc-a .sc-head{background:#fef3c7}
.sc-a .sc-icon{background:var(--amber);color:#fff}
.sc-a .sc-title{color:#78350f}.sc-a .sc-sub{color:#b45309}
.sc-a .sc-dot{background:var(--amber)}
.sc-a .sc-note{background:var(--amber-lt);color:#78350f;border:1px solid var(--amber-bd)}

.sc-b .sc-head{background:#dbeafe}
.sc-b .sc-icon{background:var(--blue);color:#fff}
.sc-b .sc-title{color:#1e3a8a}.sc-b .sc-sub{color:#1d4ed8}
.sc-b .sc-dot{background:var(--blue)}
.sc-b .sc-btn{color:var(--blue);border-color:var(--blue-bd);background:var(--blue-lt)}

/* ── SEGUROS ── */
.seg-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ins-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:26px;box-shadow:0 4px 24px rgba(0,0,0,0.07),0 1px 4px rgba(0,0,0,0.04);}
.ins-head{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.ins-head img{height:48px;max-width:150px;object-fit:contain}
.ins-name{font-size:14px;font-weight:700}
.ins-tag{font-size:10px;color:var(--muted);background:var(--gray);padding:2px 7px;border-radius:4px;display:inline-block;margin-top:3px}
.cov-list{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.cov-item{display:flex;align-items:flex-start;gap:7px;font-size:12px;color:#334155}
.cov-ck{color:var(--green);font-weight:700;flex-shrink:0;font-size:12px;margin-top:1px}
.ins-fnote{font-size:10px;color:var(--muted);background:var(--gray);padding:7px 10px;border-radius:var(--r-sm)}
.seg-banner{margin-top:18px;background:var(--blue-lt);border:1px solid var(--blue-bd);border-radius:var(--r-md);padding:13px 16px;display:flex;align-items:center;gap:10px;font-size:13px;color:#1e3a8a;font-weight:500}

/* ── ANTIGÜEDAD ── */
.ant-section{background:var(--gray)}
.ant-wrap{max-width:680px;margin:0 auto}
.ant-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.ant-card{border-radius:16px;padding:18px;text-align:center}
.ant-card.m{background:var(--blue-lt);border:1px solid var(--blue-bd)}
.ant-card.o{background:var(--green-lt);border:1px solid var(--green-bd)}
.ant-lbl{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;margin-bottom:4px}
.ant-card.m .ant-lbl{color:#1d4ed8}
.ant-card.o .ant-lbl{color:#15803d}
.ant-val{font-size:22px;font-weight:800;letter-spacing:-0.02em}
.ant-card.m .ant-val{color:var(--blue)}
.ant-card.o .ant-val{color:var(--green)}
.ant-desc{font-size:13px;color:#475569;line-height:1.6;margin-bottom:12px;text-align:center}
.ant-alert{background:var(--amber-lt);border:1px solid var(--amber-bd);border-radius:var(--r-sm);padding:10px 14px;font-size:12px;color:#78350f;line-height:1.55;margin-bottom:14px}
.btn-consult{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--wa);color:#fff;font-size:14px;font-weight:600;padding:12px 20px;border-radius:var(--r-sm);border:none;cursor:pointer;width:100%;font-family:inherit}

/* ── NO APLICAN ── */
.na-list{display:flex;flex-direction:column;gap:0}
.na-item{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:13px;color:#334155;border-bottom:1px solid var(--border)}
.na-item:last-child{border-bottom:none}
.na-x{color:#dc2626;font-weight:700;flex-shrink:0;font-size:15px}
.na-note{font-size:12px;color:var(--muted);margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}

/* ── CTA FUERTE ── */
.cta-band{background:linear-gradient(135deg,var(--blue) 0%,#1d4ed8 100%);padding:56px 20px;text-align:center}
.cta-band h2{font-size:clamp(22px,3vw,32px);font-weight:800;color:#fff;margin-bottom:10px;letter-spacing:-0.02em}
.cta-band p{font-size:15px;color:#bfdbfe;margin-bottom:28px}
.cta-band .btn-wa{font-size:15px;padding:15px 28px;margin:0 auto;display:inline-flex}

/* ── LINKS ÚTILES ── */
.links-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.link-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;display:flex;align-items:flex-start;gap:12px;transition:border-color .15s,box-shadow .15s,transform .2s;text-decoration:none;color:inherit}
.link-card:hover{border-color:#94a3b8;box-shadow:0 8px 32px rgba(0,0,0,0.10);transform:translateY(-1px)}
.link-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.link-t{font-size:13px;font-weight:600;color:#0f172a;margin-bottom:3px;line-height:1.3}
.link-s{font-size:11px;color:var(--muted);line-height:1.4}
.link-arr{font-size:11px;color:var(--blue);font-weight:500;margin-top:6px;display:inline-flex;align-items:center;gap:3px}

/* ── FAQ ── */
.faq-list{display:flex;flex-direction:column;gap:8px}
.faq-item{border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,0.05)}
.faq-q{padding:14px 18px;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;user-select:none;font-weight:500}
.faq-q i{font-size:16px;color:var(--muted);flex-shrink:0;transition:transform .2s}
.faq-item.open .faq-q i{transform:rotate(180deg)}
.faq-a{padding:0 18px 14px;font-size:13px;color:#475569;line-height:1.65;display:none}
.faq-item.open .faq-a{display:block}

/* ── FORMULARIO ── */
.form-wrap{max-width:560px;margin:0 auto;background:#fff;border-radius:24px;padding:32px;box-shadow:0 8px 40px rgba(0,0,0,0.13);}
.form-title{font-size:18px;font-weight:700;margin-bottom:4px}
.form-sub{font-size:13px;color:var(--muted);margin-bottom:20px}
.fg{margin-bottom:14px}
.fg label{font-size:11px;font-weight:600;color:#475569;margin-bottom:6px;display:block}
.fopts{display:flex;gap:7px;flex-wrap:wrap}
.fopt{font-size:12px;padding:6px 12px;border-radius:var(--r-sm);border:1px solid var(--border);background:#fff;cursor:pointer;color:#334155;font-family:inherit;transition:all .15s}
.fopt.active{background:var(--blue-lt);color:var(--blue);border-color:var(--blue-bd);font-weight:500}
.finput{width:100%;padding:10px 12px;border-radius:var(--r-sm);border:1px solid var(--border);font-size:13px;color:#0f172a;font-family:inherit}
.finput:focus{outline:none;border-color:var(--blue)}
.btn-submit{width:100%;background:var(--wa);color:#fff;font-size:14px;font-weight:600;padding:13px;border-radius:var(--r-sm);border:none;cursor:pointer;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px;font-family:inherit}
.fdisc{font-size:10px;color:var(--xs);line-height:1.6;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}

/* ── FOOTER ── */
footer{background:#0f172a;color:#94a3b8;padding:44px 20px 20px}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:36px;margin-bottom:36px}
.footer-logo-row{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.footer-logo-row img{height:36px;width:36px;object-fit:contain}
.footer-brand-name{font-size:15px;font-weight:700;color:#fff}
.footer-brand-sub{font-size:11px;color:#64748b;margin-bottom:12px}
.footer-contact{font-size:11px;color:#64748b;line-height:2}
.footer-contact a{color:#94a3b8}
.ssn-box{background:#1e293b;border-radius:var(--r-md);padding:16px}
.ssn-badge-lbl{background:var(--blue);color:#fff;font-size:10px;font-weight:700;padding:3px 9px;border-radius:4px;display:inline-block;margin-bottom:8px}
.ssn-data{font-size:10px;color:#64748b;line-height:1.9}
.ssn-data a{color:#94a3b8}
.footer-disc{font-size:10px;color:#475569;line-height:1.7}
.footer-bottom{border-top:1px solid #1e293b;padding-top:18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.footer-copy{font-size:11px;color:#475569}

/* ── HAMBURGER ── */
.hamburger{
  display:none;
  flex-direction:column;justify-content:center;align-items:center;
  gap:5px;width:40px;height:40px;background:none;border:1px solid var(--border);
  border-radius:var(--r-sm);cursor:pointer;padding:8px;flex-shrink:0;
}
.hamburger span{
  display:block;width:18px;height:2px;background:#0f172a;border-radius:2px;
  transition:transform .25s,opacity .25s;
}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── MOBILE MENU ── */
.mobile-menu{
  display:none;flex-direction:column;
  background:#fff;border-top:1px solid var(--border);
  padding:8px 0 16px;
}
.mobile-menu.open{display:flex}
.mobile-menu a{
  padding:13px 20px;font-size:15px;font-weight:500;color:#334155;
  border-bottom:1px solid #f1f5f9;transition:background .15s;
}
.mobile-menu a:last-child{border-bottom:none}
.mobile-menu a:hover{background:#f8fafc}
.mobile-menu-wa{
  margin:10px 16px 0;padding:13px 16px !important;
  background:var(--wa) !important;color:#fff !important;
  border-radius:var(--r-sm);font-weight:600 !important;
  display:flex !important;align-items:center;gap:8px;
  border-bottom:none !important;justify-content:center;
}
.mobile-menu-wa:hover{background:#1ebe5d !important}

/* ════════════════════════════
   RESPONSIVE — TABLET
════════════════════════════ */
@media(max-width:1024px){
  .req-grid{grid-template-columns:repeat(2,1fr)}
  .sem-grid{grid-template-columns:1fr}
  .seg-grid{grid-template-columns:1fr}
  .links-grid{grid-template-columns:repeat(2,1fr)}
  .stats-inner{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}

/* ════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════ */
@media(max-width:768px){
  /* Nav */
  .nav-links{display:none}
  .hamburger{display:flex}
  .nav-cta span{display:none}  /* hide "WhatsApp" text, keep icon only */
  .nav-cta{padding:9px 12px}
  .navbar{padding:0 16px}
  .nav-inner{height:56px}

  /* Hero — stack, show mobile image */
  .hero{padding:32px 16px 0}
  .hero-inner{grid-template-columns:1fr;gap:0}
  .hero-left{padding-bottom:24px}
  .hero-right{display:none}          /* hide desktop image */
  .hero-img-mobile{display:block}    /* show mobile image */
  .hero h1{font-size:26px}
  .hero-btns{flex-direction:column}
  .btn-wa,.btn-sec{width:100%;justify-content:center}

  /* Stats */
  .stats-inner{grid-template-columns:1fr 1fr;gap:12px}

  /* Requisitos */
  .req-grid{grid-template-columns:1fr 1fr}

  /* Semáforo */
  .sem-grid{grid-template-columns:1fr}

  /* Seguros */
  .seg-grid{grid-template-columns:1fr}

  /* Antigüedad */
  .ant-compare{grid-template-columns:1fr 1fr}

  /* Links útiles */
  .links-grid{grid-template-columns:1fr}

  /* Footer */
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}

  /* Sections */
  .section{padding:44px 16px}
  .cta-band{padding:44px 16px}
}

@media(max-width:480px){
  .req-grid{grid-template-columns:1fr}
  .stats-inner{grid-template-columns:1fr}
  .ant-compare{grid-template-columns:1fr 1fr}
  .hero h1{font-size:24px}
}
