/* =====================================================
   landing.css — Estilo compartido para Landing Pages SEO
   MAS Consultores · Hereda paleta y tipografía del home
   ===================================================== */

:root{
  --bg-main:#ffffff; --bg-light:#f7f9fc; --bg-warm:#fafafa;
  --navy:#1a2e4a; --navy2:#243d61; --navy-deep:#0c1929;
  --brand-morado:#75238b; --brand-morado-light:#8f3fb0;
  --brand-amarillo:#edb321; --brand-verde:#009739;
  --brand-rojo:#d62216; --brand-azul:#23398d;
  --text:#334155; --muted:#64748b;
  --border:#e2e8f0; --border-light:#f1f5f9;
  --shadow-sm:0 1px 3px rgba(26,46,74,0.06),0 4px 6px -1px rgba(26,46,74,0.08);
  --shadow-md:0 10px 25px -3px rgba(26,46,74,0.1),0 4px 6px rgba(26,46,74,0.05);
  --shadow-lg:0 25px 50px -12px rgba(26,46,74,0.18);
  --radius-sm:12px; --radius-md:18px; --radius-lg:28px; --radius-xl:40px;
}

*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;min-width:320px}
body{
  font-family:'DM Sans',system-ui,-apple-system,sans-serif;
  background:var(--bg-main);color:var(--text);
  line-height:1.6;font-size:16px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img,svg,video,picture{max-width:100%;height:auto;display:block}
a{color:var(--brand-morado);text-decoration:none;transition:color .2s}
a:hover{color:var(--brand-morado-light)}

/* --- SKIP LINK (accesibilidad) --- */
.skip-link{
  position:absolute;top:-100px;left:0;
  background:var(--navy);color:#fff;padding:12px 20px;
  font-weight:700;border-radius:0 0 12px 0;z-index:9999;
  transition:top .2s;
}
.skip-link:focus{top:0;outline:3px solid var(--brand-amarillo)}

/* --- NAVBAR --- */
.lp-nav{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,0.95);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--border-light);
}
.lp-nav-inner{
  max-width:1280px;margin:0 auto;
  padding:14px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.lp-nav img{height:42px;width:auto}
.lp-nav-actions{display:flex;gap:10px;align-items:center}
.lp-nav-actions a{font-size:14px;font-weight:600;color:var(--navy)}
.lp-nav-actions a:hover{color:var(--brand-morado)}

/* --- BUTTONS --- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 28px;border-radius:50px;
  font-size:15px;font-weight:700;text-decoration:none;
  transition:all .25s;min-height:48px;
  border:none;cursor:pointer;font-family:inherit;
  white-space:nowrap;
}
.btn-primary{background:var(--brand-morado);color:#fff;box-shadow:0 4px 14px rgba(117,35,139,0.28)}
.btn-primary:hover{background:var(--brand-morado-light);transform:translateY(-2px);box-shadow:0 6px 20px rgba(117,35,139,0.35);color:#fff}
.btn-outline{background:#fff;color:var(--navy);border:1.5px solid var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-amarillo{background:var(--brand-amarillo);color:var(--navy);box-shadow:0 4px 14px rgba(237,179,33,0.35)}
.btn-amarillo:hover{background:#f5c842;transform:translateY(-2px);color:var(--navy)}

/* --- BREADCRUMBS --- */
.lp-breadcrumbs{
  max-width:1180px;margin:0 auto;
  padding:20px 24px 0;
  font-size:13px;color:var(--muted);
}
.lp-breadcrumbs ol{list-style:none;display:flex;gap:8px;flex-wrap:wrap}
.lp-breadcrumbs li{display:flex;gap:8px;align-items:center}
.lp-breadcrumbs li+li::before{content:"›";color:var(--brand-morado);font-weight:800}
.lp-breadcrumbs a{color:var(--muted)}
.lp-breadcrumbs a:hover{color:var(--brand-morado)}
.lp-breadcrumbs li:last-child{color:var(--navy);font-weight:600}

/* --- HERO --- */
.lp-hero{
  background:linear-gradient(135deg,#1a2e4a 0%,#243d61 50%,#0c1929 100%);
  color:#fff;
  padding:64px 24px 72px;
  position:relative;overflow:hidden;
}
.lp-hero::before{
  content:"";position:absolute;top:-200px;right:-200px;
  width:600px;height:600px;border-radius:50%;
  background:radial-gradient(circle, rgba(117,35,139,0.25), transparent 70%);
  pointer-events:none;
}
.lp-hero::after{
  content:"";position:absolute;bottom:-150px;left:-150px;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle, rgba(237,179,33,0.15), transparent 70%);
  pointer-events:none;
}
.lp-hero-inner{
  max-width:1100px;margin:0 auto;
  position:relative;z-index:1;
}
.lp-hero-badge{
  display:inline-block;
  background:rgba(237,179,33,0.18);
  color:var(--brand-amarillo);
  padding:7px 16px;border-radius:50px;
  font-size:12px;font-weight:800;letter-spacing:1.5px;
  text-transform:uppercase;margin-bottom:18px;
  border:1px solid rgba(237,179,33,0.25);
}
.lp-hero h1{
  font-family:'Plus Jakarta Sans',sans-serif;
  font-size:clamp(32px,5.5vw,52px);
  font-weight:800;line-height:1.12;letter-spacing:-1px;
  margin-bottom:18px;
  max-width:900px;
}
.lp-hero h1 .gradient{
  background:linear-gradient(135deg,#edb321 0%,#f5c842 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.lp-hero .subtitle{
  font-size:clamp(16px,2vw,19px);
  color:rgba(255,255,255,0.85);
  max-width:760px;margin-bottom:30px;line-height:1.6;
}
.lp-hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px}
.lp-hero-trust{
  display:flex;gap:24px;flex-wrap:wrap;align-items:center;
  padding-top:24px;border-top:1px solid rgba(255,255,255,0.12);
  font-size:13px;color:rgba(255,255,255,0.7);
}
.lp-hero-trust strong{color:#fff;font-weight:700}

/* --- SECTIONS --- */
.lp-section{padding:72px 24px}
.lp-section-light{background:var(--bg-light)}
.lp-section-warm{background:var(--bg-warm)}
/* =====================================================
   DARK SECTION OVERRIDES
   Usar !important porque las reglas .lp-section h2/p/strong
   tienen la misma especificidad y a veces ganan por orden.
   ===================================================== */
.lp-section-dark{background:var(--navy);color:#fff}
.lp-section-dark h2,
.lp-section-dark h3,
.lp-section-dark h4{color:#fff !important}
.lp-section-dark p{color:rgba(255,255,255,0.88) !important}
.lp-section-dark p.lead{color:rgba(255,255,255,0.78) !important}
.lp-section-dark ul,
.lp-section-dark ol{color:rgba(255,255,255,0.88) !important}
.lp-section-dark li{color:rgba(255,255,255,0.92) !important;margin-bottom:14px}
.lp-section-dark li::marker{color:var(--brand-amarillo)}
.lp-section-dark strong{color:#fff !important;font-weight:700}
.lp-section-dark em{color:rgba(255,255,255,0.95)}
.lp-section-dark a:not(.btn){color:var(--brand-amarillo) !important;text-decoration:underline;text-underline-offset:3px}
.lp-section-dark a:not(.btn):hover{color:#f5c842 !important}
.lp-section-dark .lp-eyebrow{color:var(--brand-amarillo) !important}
.lp-inner{max-width:1180px;margin:0 auto}
.lp-inner-narrow{max-width:820px;margin:0 auto}

.lp-eyebrow{
  display:inline-block;color:var(--brand-morado);
  font-weight:800;font-size:12px;letter-spacing:2.5px;
  text-transform:uppercase;margin-bottom:12px;
}
.lp-section h2{
  font-family:'Plus Jakarta Sans',sans-serif;
  font-size:clamp(26px,3.6vw,40px);font-weight:800;
  color:var(--navy);line-height:1.2;letter-spacing:-0.5px;
  margin-bottom:16px;
}
.lp-section h3{
  font-family:'Plus Jakarta Sans',sans-serif;
  font-size:clamp(20px,2.4vw,26px);font-weight:700;
  color:var(--navy);margin-bottom:12px;letter-spacing:-0.3px;
}
.lp-section p{margin-bottom:16px;color:var(--text);font-size:16px;line-height:1.75}
.lp-section p.lead{font-size:18px;color:var(--muted)}
.lp-section ul,.lp-section ol{padding-left:24px;margin-bottom:20px;color:var(--text)}
.lp-section li{margin-bottom:10px;line-height:1.7}
.lp-section strong{color:var(--navy);font-weight:700}

/* --- METRICS / KPIs --- */
.lp-metrics{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:24px;margin:36px 0;
}
.lp-metric{
  background:#fff;border:1px solid var(--border-light);
  border-radius:var(--radius-md);padding:24px;
  text-align:center;box-shadow:var(--shadow-sm);
  transition:transform .25s,box-shadow .25s;
}
.lp-metric:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.lp-metric-num{
  font-family:'Plus Jakarta Sans',sans-serif;
  font-size:42px;font-weight:800;
  background:linear-gradient(135deg,var(--brand-morado),var(--brand-azul));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  margin-bottom:4px;line-height:1;
}
.lp-metric-label{font-size:13px;color:var(--muted);font-weight:600}

/* --- FEATURE GRID --- */
.lp-features{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;margin-top:36px;
}
.lp-feature{
  background:#fff;border:1px solid var(--border-light);
  border-radius:var(--radius-md);padding:28px;
  transition:all .3s;
}
.lp-feature:hover{
  border-color:var(--brand-morado);
  transform:translateY(-4px);box-shadow:var(--shadow-md);
}
.lp-feature-icon{
  width:48px;height:48px;border-radius:14px;
  background:linear-gradient(135deg,var(--brand-morado),var(--brand-azul));
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;color:#fff;font-size:22px;font-weight:800;
}
.lp-feature h3{font-size:18px;margin-bottom:8px}
.lp-feature p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}

/* --- FAQ --- */
.lp-faq{margin-top:32px}
.lp-faq details{
  background:#fff;border:1px solid var(--border-light);
  border-radius:var(--radius-md);padding:0;margin-bottom:12px;
  transition:all .25s;overflow:hidden;
}
.lp-faq details[open]{border-color:var(--brand-morado);box-shadow:var(--shadow-sm)}
.lp-faq summary{
  cursor:pointer;padding:20px 24px;
  font-weight:700;color:var(--navy);font-size:16px;
  list-style:none;display:flex;justify-content:space-between;
  align-items:center;gap:16px;
}
.lp-faq summary::-webkit-details-marker{display:none}
.lp-faq summary::after{
  content:"+";font-size:24px;color:var(--brand-morado);
  font-weight:300;transition:transform .25s;flex-shrink:0;
}
.lp-faq details[open] summary::after{transform:rotate(45deg)}
.lp-faq details > p,.lp-faq details > div{
  padding:0 24px 20px;color:var(--text);line-height:1.7;
}

/* --- CTA BANNER --- */
.lp-cta-banner{
  background:linear-gradient(135deg,var(--brand-morado),var(--brand-azul));
  color:#fff;padding:56px 32px;
  border-radius:var(--radius-lg);
  text-align:center;
  position:relative;overflow:hidden;
}
.lp-cta-banner::before{
  content:"";position:absolute;top:-100px;right:-100px;
  width:300px;height:300px;border-radius:50%;
  background:rgba(255,255,255,0.08);pointer-events:none;
}
.lp-cta-banner h2{color:#fff;font-size:clamp(24px,3.5vw,34px);margin-bottom:14px;position:relative}
.lp-cta-banner p{color:rgba(255,255,255,0.92);font-size:17px;margin-bottom:28px;position:relative;max-width:640px;margin-left:auto;margin-right:auto}
.lp-cta-banner .btn{position:relative}
.lp-cta-banner .btn-primary{background:var(--brand-amarillo);color:var(--navy)}
.lp-cta-banner .btn-primary:hover{background:#f5c842;color:var(--navy)}
.lp-cta-banner .btn-outline{background:transparent;color:#fff;border-color:#fff}
.lp-cta-banner .btn-outline:hover{background:#fff;color:var(--navy)}

/* --- INTERNAL LINKS (link juice) --- */
.lp-related{margin-top:48px}
.lp-related-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;margin-top:20px;
}
.lp-related-card{
  background:#fff;border:1px solid var(--border-light);
  border-radius:var(--radius-md);padding:24px;
  text-decoration:none;color:var(--navy);
  transition:all .3s;display:block;
}
.lp-related-card:hover{
  border-color:var(--brand-morado);
  transform:translateY(-3px);box-shadow:var(--shadow-sm);
  color:var(--navy);
}
.lp-related-card .tag{
  display:inline-block;background:rgba(117,35,139,0.1);
  color:var(--brand-morado);padding:4px 10px;border-radius:50px;
  font-size:11px;font-weight:800;letter-spacing:1px;
  text-transform:uppercase;margin-bottom:12px;
}
.lp-related-card h3{font-size:17px;margin-bottom:6px;color:var(--navy)}
.lp-related-card p{font-size:14px;color:var(--muted);margin:0;line-height:1.5}

/* --- TESTIMONIAL --- */
.lp-testimonial{
  background:#fff;border:1px solid var(--border-light);
  border-left:4px solid var(--brand-amarillo);
  border-radius:var(--radius-md);padding:32px 36px;
  margin:36px 0;box-shadow:var(--shadow-sm);
}
.lp-testimonial-quote{
  font-size:18px;font-style:italic;color:var(--navy);
  line-height:1.7;margin-bottom:18px;font-weight:500;
}
.lp-testimonial-author{
  display:flex;align-items:center;gap:14px;
  font-size:14px;
}
.lp-testimonial-author strong{display:block;color:var(--navy);font-size:15px}
.lp-testimonial-author span{color:var(--muted);font-size:13px}

/* --- FOOTER --- */
.lp-footer{
  background:var(--navy-deep);color:rgba(255,255,255,0.7);
  padding:48px 24px 28px;font-size:14px;
}
.lp-footer-inner{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px;
}
.lp-footer img{height:36px;margin-bottom:14px}
.lp-footer h4{
  color:#fff;font-size:13px;letter-spacing:2px;
  text-transform:uppercase;margin-bottom:14px;font-weight:800;
}
.lp-footer ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px}
.lp-footer a{color:rgba(255,255,255,0.7);font-size:14px}
.lp-footer a:hover{color:#fff}
.lp-footer-bottom{
  max-width:1180px;margin:36px auto 0;
  padding-top:24px;border-top:1px solid rgba(255,255,255,0.08);
  text-align:center;font-size:12px;color:rgba(255,255,255,0.5);
}

/* --- MOBILE --- */
@media(max-width:768px){
  .lp-nav-inner{padding:12px 16px}
  .lp-nav img{height:36px}
  .lp-nav-actions a:not(.btn){display:none}
  .lp-nav-actions .btn{padding:10px 18px;font-size:13px;min-height:42px}
  .lp-hero{padding:48px 20px 56px}
  .lp-hero h1{font-size:clamp(26px,7vw,34px)}
  .lp-hero .subtitle{font-size:15px}
  .lp-hero-ctas{flex-direction:column;align-items:stretch}
  .lp-hero-ctas .btn{width:100%}
  .lp-hero-trust{gap:12px;font-size:12px}
  .lp-section{padding:48px 20px}
  .lp-section h2{font-size:24px}
  .lp-metric-num{font-size:32px}
  .lp-cta-banner{padding:40px 24px;border-radius:24px}
  .lp-cta-banner .btn{width:100%}
  .lp-footer-inner{grid-template-columns:1fr;gap:24px}
  .lp-testimonial{padding:24px}
  .lp-testimonial-quote{font-size:16px}
}
