/* =====================================================
   GRUPO JURÍDICO RAMÍREZ & ASOCIADOS
   Especialistas en Accidentes de Tránsito
   ===================================================== */

:root {
  --bg:          #0f0e17;
  --bg-2:        #15141f;
  --bg-card:     #1a1926;
  --bg-elev:     #201f2e;
  --blue:        #3961bf;
  --blue-bright: #3f6ee0;
  --blue-dark:   #1b3879;
  --border:      rgba(255,255,255,0.08);
  --border-blue: rgba(57,97,191,0.35);
  --white:       #ffffff;
  --white-80:    rgba(255,255,255,0.82);
  --white-60:    rgba(255,255,255,0.60);
  --white-40:    rgba(255,255,255,0.40);
  --font:        'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --container:   1240px;
  --radius:      14px;
  --transition:  0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --- Helpers --- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--white-60); margin-top: 16px; font-size: 1.02rem; line-height: 1.7; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: var(--transition);
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(57,97,191,0.35);
}
.btn--primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(57,97,191,0.5); }
.btn--outline { border: 1.5px solid rgba(255,255,255,0.25); color: var(--white); }
.btn--outline:hover { border-color: var(--blue); background: rgba(57,97,191,0.1); }
.btn svg { flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* =====================================================
   NAVBAR
   ===================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,14,23,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(15,14,23,0.97); }
.nav__inner { display: flex; align-items: center; justify-content: flex-start; gap: 28px; height: 96px; }
.nav__logo img { height: 76px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; transform: translateY(15px); }
.nav__link {
  padding: 9px 16px; font-size: 0.9rem; font-weight: 400; color: var(--white-80);
  border-radius: 7px; transition: var(--transition);
}
.nav__link:hover { color: var(--blue-bright); background: transparent; }
.nav__item-dd { position: relative; }
.nav__dd-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav__dd-caret { transition: transform .25s ease; }
.nav__item-dd.open .nav__dd-caret { transform: rotate(180deg); }
.nav__dd-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; list-style: none;
  background: rgba(15,14,23,0.98); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px; display: flex; flex-direction: column; gap: 2px; z-index: 1001;
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item-dd.open .nav__dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dd-menu a { display: block; padding: 10px 14px; border-radius: 7px; color: var(--white-80); font-size: 0.9rem; font-weight: 400; white-space: nowrap; transition: var(--transition); }
.nav__dd-menu a:hover { color: var(--blue-bright); }
.nav__link.active { background: transparent; color: var(--white); }
.nav__cta {
  padding: 10px 22px !important; background: var(--blue); color: var(--white) !important;
  font-weight: 700; border-radius: 7px; letter-spacing: 0.03em;
}
.nav__cta:hover { background: var(--blue-bright) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__burger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: none; position: fixed; inset: 76px 0 0; background: var(--bg); z-index: 999; padding: 24px; flex-direction: column; gap: 6px; overflow-y: auto; }
.nav__mobile.open { display: flex; }
.nav__mobile a { padding: 15px 16px; font-size: 1.05rem; font-weight: 600; color: var(--white-80); border-radius: 8px; }
.nav__mobile a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.nav__mobile .nav__cta { text-align: center; margin-top: 12px; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--bg);
  background-image: url('../images/hero-abogado.jpg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 92%;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Degradado suave: solo aclara/oscurece la izquierda para el texto;
     el resto de la foto queda con su tono natural */
  background: linear-gradient(90deg, var(--bg) 12%, rgba(15,14,23,0.62) 30%, rgba(15,14,23,0.22) 48%, rgba(15,14,23,0) 62%);
}
.hero__content { position: relative; z-index: 2; padding: 24px 0 90px; max-width: 640px; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(0.68rem, 1.8vw, 1.26rem); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: var(--blue-bright); margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.hero__eyebrow { text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.hero__title span { display: block; font-weight: 700; text-transform: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 40px; }
.hero__socials { display: flex; gap: 14px; align-items: center; }
.hero__follow { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.hero__follow-arrow { color: var(--blue-bright); margin-right: 4px; flex-shrink: 0; }
.hero__social {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: var(--transition);
}
.hero__social:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.hero__social svg { width: 20px; height: 20px; }

/* =====================================================
   SERVICIOS
   ===================================================== */
.services { padding: 100px 0; }
.services__intro { color: var(--white-60); font-size: 1.05rem; line-height: 1.8; max-width: 760px; margin: 0 auto 56px; text-align: center; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top; transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-blue); background: var(--bg-elev); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(57,97,191,0.14); color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card__text { color: var(--white-60); font-size: 0.95rem; line-height: 1.6; }

/* =====================================================
   STATS
   ===================================================== */
.stats { padding: 80px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.stats__text { color: var(--white-60); font-size: 1.05rem; line-height: 1.8; }
.stats__numbers { display: flex; gap: 40px; }
.stat__num { font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 800; color: var(--blue-bright); line-height: 1; }
.stat__label { color: var(--white-60); font-size: 0.92rem; margin-top: 10px; max-width: 160px; }

/* =====================================================
   EQUIPO
   ===================================================== */
.team {
  background-color: #ffffff;
  color: #11101a; padding: 104px 0;
}
.team .eyebrow { color: var(--blue); }
.team__group + .team__group { margin-top: 64px; }
.team__group-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 8px; text-align: center; color: #11101a; }
.team__group-title span { color: var(--blue); }
.team__intro { color: #565666; text-align: center; max-width: 740px; margin: 16px auto 44px; line-height: 1.75; font-size: 1.02rem; }
.team__grid { display: grid; gap: 24px; }
.team__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
.team__grid--3 { grid-template-columns: repeat(3, 1fr); }
.team__grid--4 { grid-template-columns: repeat(4, 1fr); }
.member {
  background: #f6f7fa; border: 1px solid #ebedf2; border-radius: 16px; overflow: hidden;
  transition: var(--transition);
}
.member:hover { transform: translateY(-6px); background: #e2e6ee; box-shadow: 0 18px 42px rgba(17,16,26,0.12); border-color: #cfd5e1; }
.member__photo { aspect-ratio: 4/5; overflow: hidden; background: #e9ebf0; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { padding: 20px; }
.member__name { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: #11101a; }
.member__role { color: #5f5f6d; font-size: 0.86rem; line-height: 1.55; }
.member__role strong { color: var(--blue); font-weight: 700; }

/* =====================================================
   TESTIMONIOS
   ===================================================== */
.testimonials { padding: 100px 0; background: var(--bg-2); }
.testimonials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testimonial {
  padding: 28px 26px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; flex-direction: column;
}
.testimonial__quote { color: var(--blue); font-size: 2.6rem; line-height: 0.6; font-weight: 800; margin-bottom: 14px; font-family: Georgia, serif; }
.testimonial__text { color: var(--white-80); font-size: 0.92rem; line-height: 1.65; font-style: italic; flex: 1; }
.testimonial__author { margin-top: 18px; font-weight: 700; color: var(--blue-bright); font-size: 0.9rem; }

/* =====================================================
   SABÍAS QUE (blog preview)
   ===================================================== */
.didyouknow { padding: 100px 0; }
.dyk__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dyk-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.dyk-card:hover { transform: translateY(-5px); border-color: var(--border-blue); }
.dyk-card__img { height: 190px; overflow: hidden; background: var(--bg-elev); }
.dyk-card__img img { width: 100%; height: 100%; object-fit: cover; }
.dyk-card__body { padding: 24px; }
.dyk-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.dyk-card__excerpt { color: var(--white-60); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.dyk-card__link { color: var(--blue-bright); font-weight: 700; font-size: 0.85rem; }

/* =====================================================
   CTA + FORM
   ===================================================== */
.cta {
  background-color: #060608;
  color: #fff; padding: 104px 0; position: relative; overflow: hidden;
}
.cta__head { max-width: 620px; margin-bottom: 32px; }
.cta__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 18px; color: #fff; }
.cta__title span { color: var(--blue-bright); }
.cta__text { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.8; }
.cta__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.cta__media { min-height: 0; }
.cta__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 24px; }
.cta__formcol { display: flex; flex-direction: column; }
.cta__formcol .lead-form { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.guarantee { margin-top: 30px; padding: 28px; background: linear-gradient(135deg, var(--blue-dark), var(--bg-card)); border: 1px solid var(--border-blue); border-radius: var(--radius); }
.guarantee h3 { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: 0.02em; }
.guarantee p { color: var(--white-80); font-size: 0.92rem; line-height: 1.6; }

/* Form */
.lead-form { background: #111114; border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 34px; }
.lead-form h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.lead-form p.sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 22px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  padding: 13px 16px; color: #fff; font-size: 0.95rem; font-family: var(--font); outline: none; transition: var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); background: rgba(57,97,191,0.08); box-shadow: 0 0 0 3px rgba(57,97,191,0.15); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; }
.form-note { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 30px 16px; color: var(--blue-bright); font-weight: 600; }
.form-error-msg { display: none; text-align: center; font-size: 0.82rem; color: #ff6b6b; margin-top: 10px; }

/* =====================================================
   FOOTER
   ===================================================== */
main { position: relative; z-index: 2; background: var(--bg); }

/* =====================================================
   SCROLL APILADO — cada sección se queda fija y la
   siguiente la cubre al hacer scroll (en ambos sentidos)
   ===================================================== */
main > section {
  position: sticky;
  top: 0;                 /* las secciones altas reciben un top negativo vía JS */
  min-height: 100vh;
  min-height: 100svh;     /* estable en móviles (sin saltos por la barra de direcciones) */
}
/* .hero y .cta declaran su propio position: relative (mayor especificidad);
   los forzamos a sticky para que también participen del apilado */
main > section.hero,
main > section.cta { position: sticky; }
/* Envoltura interna que se encoge cuando la cubre la siguiente sección.
   Se EXCLUYEN el hero y promise: si su .container crea contexto de apilado,
   se rompe el z-index del degradado (hero) y el mix-blend-mode de la foto (promise). */
main > section:not(.hero) > .container { transition: none; transform-origin: center center; }
/* Respeto a quienes prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  main > section,
  main > section.hero,
  main > section.cta { position: relative; top: 0 !important; min-height: 0; }
}
.footer {
  background-color: #ffffff;
  border-top: 1px solid #e8eaf0; padding: 64px 0 0; color: #11101a;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer__brand { margin-top: 26px; }
.footer__logo img { width: 210px; height: auto; margin-bottom: 24px; }
.footer__socials { display: flex; gap: 12px; }
.footer__social { width: 44px; height: 44px; border-radius: 50%; border: none; background: #eef0f6; display: flex; align-items: center; justify-content: center; color: #2a2d3a; transition: var(--transition); }
.footer__social:hover { background: var(--blue); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(57,97,191,0.32); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: #5f5f6d; font-size: 0.9rem; margin-bottom: 12px; transition: var(--transition); }
.footer__col a:hover { color: var(--blue); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.footer__contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.footer__contact-item p { margin-bottom: 0; line-height: 1.6; }
.footer__contact-item a { display: inline; margin: 0; color: inherit; }
.footer__contact-item a:hover { color: var(--blue); }
.footer__bottom { border-top: 1px solid #e8eaf0; padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: center; align-items: center; text-align: center; }
.footer__bottom p, .footer__bottom a { color: #9aa0ac; font-size: 0.82rem; }
.footer__bottom a:hover { color: var(--blue-bright); }

/* =====================================================
   WHATSAPP FLOATING
   ===================================================== */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  display: flex; align-items: center; gap: 12px;
  background: var(--blue); color: var(--white);
  padding: 12px 20px 12px 16px; border-radius: 50px;
  font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 8px 30px rgba(57,97,191,0.5);
  transition: var(--transition);
}
.wa-float:hover { background: var(--blue-bright); transform: translateY(-2px); }
.wa-float__icon { width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.wa-float__icon svg { width: 30px; height: 30px; display: block; }
.wa-float__pulse { position: relative; display: flex; }
.wa-float__pulse::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* =====================================================
   PÁGINAS INTERNAS (hero simple)
   ===================================================== */
.page-hero { padding: 150px 0 70px; background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%); text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p { color: var(--white-60); max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.82rem; color: var(--white-40); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb .sep { opacity: 0.4; }
.prose { max-width: 800px; margin: 0 auto; padding: 70px 0; }
.prose h2 { font-size: 1.6rem; font-weight: 800; margin: 36px 0 16px; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue-bright); margin: 26px 0 10px; }
.prose p { color: var(--white-80); margin-bottom: 18px; line-height: 1.8; }
.prose ul { margin: 0 0 20px 4px; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--white-80); }
.prose li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid--3, .team__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .dyk__grid { grid-template-columns: 1fr; }
  .stats__layout { grid-template-columns: 1fr; gap: 36px; }
  .cta__layout { grid-template-columns: 1fr; gap: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__bg { top: 92px; background-size: cover; background-position: 72% top; }
  .hero__overlay { background: linear-gradient(180deg, rgba(15,14,23,0.45) 0%, rgba(15,14,23,0.75) 55%, rgba(15,14,23,0.95) 100%); }
  .hero__content { padding: 110px 0 60px; text-align: left; }
  .services__grid { grid-template-columns: 1fr; }
  .team__grid--3, .team__grid--4 { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .dyk__grid { grid-template-columns: 1fr; }
  .stats__numbers { gap: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
  .wa-float > span:last-child { display: none; }
  .wa-float { padding: 14px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 2.6rem; }
  .section-title { font-size: 1.7rem; }
}

/* =====================================================
   PROMESAS PARA NUESTROS CLIENTES (sección blanca)
   ===================================================== */
.promise {
  background-color: #ffffff;
  color: #11101a; padding: 104px 0;
}
/* La foto se fusiona con el fondo (multiply): su blanco deja ver los puntos
   y la onda, sin recuadro. El texto va por encima de la onda. */
.promise__main, .promise__quote { position: relative; z-index: 1; }
.promise__grid { display: grid; grid-template-columns: auto 1.05fr 0.95fr; gap: 44px; align-items: center; max-width: 1260px; margin: 0 auto; }
.promise__img { align-self: end; }
.promise__img img { height: 560px; width: auto; max-width: 100%; display: block; }
.promise__eyebrow { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.promise__title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 40px; }
.promise__list { display: flex; flex-direction: column; gap: 28px; }
.promise__item { display: flex; gap: 18px; align-items: flex-start; }
.promise__num { font-size: 1.2rem; font-weight: 800; color: var(--blue); line-height: 1.2; flex-shrink: 0; min-width: 36px; opacity: 0.9; }
.promise__text { max-width: 360px; }
.promise__text h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; color: #11101a; }
.promise__text p { font-size: 0.92rem; line-height: 1.6; color: #5f5f6d; }
.promise__quote { padding-left: 8px; }
.promise__phrase { font-size: clamp(1.5rem, 2.3vw, 1.95rem); line-height: 1.3; font-weight: 700; color: var(--blue); margin-bottom: 20px; }
.promise__phrase span { display: block; }
@media (min-width: 901px) { .promise__phrase span { white-space: nowrap; } }
.promise__author { display: block; text-align: right; font-size: 1rem; font-weight: 700; color: #11101a; }
.promise__stats { display: flex; gap: 40px; margin-top: 32px; padding-top: 28px; border-top: 1px solid #ececf1; }
.promise__stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: #11101a; line-height: 1.1; letter-spacing: -0.01em; }
.promise__stat-label { display: block; margin-top: 4px; font-size: 0.78rem; font-weight: 600; color: #9092a0; }
.promise__closing { margin-top: 24px; font-size: 0.92rem; line-height: 1.6; color: #6a6a76; }
@media (max-width: 900px) {
  .promise__grid { grid-template-columns: 1fr; gap: 36px; }
  .promise__text { max-width: none; }
  .promise__img { display: none; }
}
@media (max-width: 768px) {
  .promise { padding: 64px 0; }
}

/* =====================================================
   TESTIMONIOS EN VIDEO (sección negra, monocroma)
   ===================================================== */
.vtest {
  background-color: #0a0a0b;
  padding: 104px 0;
}
.vtest__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.vtest__eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.vtest__title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; color: #fff; white-space: nowrap; }
.vtest__lead { margin-top: 20px; font-size: 1.06rem; line-height: 1.75; color: rgba(255,255,255,0.62); }
/* ---- Coverflow controlado por índice (sin scroll nativo) ---- */
.vtest__carousel { position: relative; max-width: 1080px; margin: 6px auto 0; }
.vtest__stage {
  position: relative;
  height: clamp(400px, 60vw, 520px);
  margin: 0 auto;
  perspective: 1600px;
}
.vcard {
  position: absolute; top: 50%; left: 50%;
  width: clamp(195px, 24vw, 255px);
  margin: 0;
  background: #151517;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: transform .6s cubic-bezier(.22,.61,.36,1), opacity .5s ease, filter .5s ease;
  will-change: transform, opacity;
  cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.vcard.is-active { cursor: default; box-shadow: 0 44px 90px -26px rgba(0,0,0,0.9); }
/* En las tarjetas laterales, el clic trae la tarjeta al centro (no reproduce) */
.vcard:not(.is-active) .vcard__thumb { pointer-events: none; }

/* Flechas */
.vtest__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 50;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  color: #fff; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: var(--transition);
}
.vtest__arrow:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-50%) scale(1.08); }
.vtest__arrow svg { width: 24px; height: 24px; }
.vtest__arrow--prev { left: 0; }
.vtest__arrow--next { right: 0; }

/* Puntos de navegación */
.vtest__dots { display: flex; gap: 9px; justify-content: center; margin-top: 32px; }
.vtest__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); border: none; cursor: pointer; padding: 0; transition: var(--transition); }
.vtest__dot:hover { background: rgba(255,255,255,0.45); }
.vtest__dot.is-active { background: var(--blue-bright); width: 26px; border-radius: 5px; }

@media (max-width: 600px) {
  .vtest__arrow { width: 44px; height: 44px; }
  .vtest__arrow--prev { left: -4px; }
  .vtest__arrow--next { right: -4px; }
}
.vcard__thumb { position: relative; aspect-ratio: 9 / 16; background: #050506 center / cover no-repeat; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vcard__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.40)); }
.vcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050506; z-index: 0; }
.vcard__thumb.playing::after { opacity: 0; pointer-events: none; }
.vcard__thumb.playing .vcard__video { z-index: 2; }
.vcard__play { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.vcard__play svg { width: 24px; height: 24px; color: #111; margin-left: 3px; }
.vcard__thumb:hover .vcard__play { transform: scale(1.08); background: #fff; }
.vcard__info { padding: 16px 18px; }
.vcard__info h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.vcard__info p { font-size: 0.83rem; color: rgba(255,255,255,0.55); margin-top: 3px; }
.vcard iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; display: block; }
.vtest__more { text-align: center; margin-top: 46px; }
.vtest__btn { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid rgba(255,255,255,0.28); color: #fff; padding: 13px 30px; border-radius: 9px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.vtest__btn:hover { background: #fff; color: #0a0a0b; border-color: #fff; }
@media (max-width: 900px) {
  .vtest { padding: 68px 0; }
  .vtest__title { white-space: normal; }
  .vtest__track { padding: 24px max(16px, calc(50% - 130px)); gap: 20px; }
}

/* =====================================================
   NUESTROS SERVICIOS (sección blanca, 2 grupos)
   ===================================================== */
.sv2 {
  background-color: #ffffff;
  color: #11101a; padding: 104px 0;
}
.sv2__head { text-align: center; max-width: 760px; margin: 0 auto 58px; }
.sv2__eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sv2__intro { font-size: 1.08rem; line-height: 1.8; color: #565666; }
.sv2__group { max-width: 1060px; margin: 0 auto; }
.sv2__group + .sv2__group { margin-top: 54px; }
.sv2__group-title { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 800; letter-spacing: -0.01em; color: #11101a; margin-bottom: 26px; }
.sv2__group-title span { font-size: 1rem; font-weight: 800; color: var(--blue); }
.sv2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sv2-card {
  background: linear-gradient(160deg, #eaf0fd 0%, #e2e9fb 100%);
  border: 1px solid #d3def6;
  border-radius: 18px; padding: 34px 32px;
  transition: var(--transition);
}
.sv2-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(160deg, #3961bf 0%, #1b3879 100%);
  border-color: var(--blue);
  box-shadow: 0 26px 52px rgba(27,56,121,0.34);
}
.sv2-card__icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: rgba(57,97,191,0.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  transition: var(--transition);
}
.sv2-card:hover .sv2-card__icon { background: rgba(255,255,255,0.18); color: #fff; }
.sv2-card__icon svg { width: 28px; height: 28px; }
.sv2-card__title { font-size: 1.3rem; font-weight: 700; color: #11101a; margin-bottom: 10px; transition: color var(--transition); }
.sv2-card:hover .sv2-card__title { color: #fff; }
.sv2-card:hover .sv2-card__text { color: rgba(255,255,255,0.85); }
.sv2-card:hover .sv2-card__more { color: #fff; }
.sv2-card__text { font-size: 0.98rem; line-height: 1.65; color: #5f5f6d; }
.sv2-card--link { display: block; }
.sv2-card__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 0.9rem; font-weight: 700; color: var(--blue); transition: var(--transition); }
.sv2-card__more svg { transition: var(--transition); }
.sv2-card--link:hover .sv2-card__more { color: var(--blue-bright); }
.sv2-card--link:hover .sv2-card__more svg { transform: translateX(4px); }
@media (max-width: 760px) {
  .sv2 { padding: 70px 0; }
  .sv2__grid { grid-template-columns: 1fr; }
}

/* =====================================================
   CÓMO TRABAJAMOS EN 3 PASOS (sección oscura, azul de marca)
   ===================================================== */
.howw {
  background-color: #0c0d12;
  color: #fff; padding: 104px 0;
}
.howw__head { text-align: center; max-width: 740px; margin: 0 auto 62px; }
.howw__eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 14px; }
.howw__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; color: #fff; }
.howw__sub { margin-top: 16px; font-size: 1.06rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.howw__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1060px; margin: 0 auto; }
.howw__step { position: relative; text-align: center; padding: 0 8px; }
.howw__step:not(:last-child)::after { content: ''; position: absolute; top: 30px; right: -26px; width: 38px; height: 2px; background: linear-gradient(90deg, rgba(63,110,224,0.6), rgba(63,110,224,0.1)); }
.howw__num { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #ffffff; margin-bottom: 18px; }
.howw__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(63,110,224,0.14); color: var(--blue-bright); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.howw__icon svg { width: 26px; height: 26px; }
.howw__step-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.howw__step-text { font-size: 0.97rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 300px; margin: 0 auto; }
.howw__cta { text-align: center; margin-top: 56px; }
.howw__btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; font-weight: 700; font-size: 1.02rem; padding: 15px 34px; border-radius: 10px; transition: var(--transition); }
.howw__btn:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(57,97,191,0.4); }
@media (max-width: 760px) {
  .howw { padding: 70px 0; }
  .howw__steps { grid-template-columns: 1fr; gap: 40px; }
  .howw__step:not(:last-child)::after { display: none; }
}

/* =====================================================
   LANDING PAGE — LESIONADOS (entorno cerrado, sin nav)
   Columna izq. = info de valor (scroll); der. = form fijo
   ===================================================== */
.lp-body { background: #0a0a0b; color: #fff; }

/* Barra superior: misma del home, sólida oscura */
.lp-body .nav { background: #0f0e17; backdrop-filter: none; }
.lp-tagline {
  margin-left: 34px; max-width: 560px; font-size: 0.92rem; line-height: 1.45;
  color: rgba(255,255,255,0.82);
}
.lp-tagline span { font-weight: 700; color: var(--blue-bright); }
@media (max-width: 860px) { .lp-tagline { display: none; } }

.lp {
  padding: 96px 0 90px;
  background-color: #0a0a0b;
}
.lp-grid {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 56px 24px 0;
  display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start;
}
.lp-content { min-width: 0; }
.lp-form-col { position: sticky; top: 120px; align-self: start; }

/* =========== Formulario OSCURO (sólo landing) =========== */
.lp-formcard {
  background: #14141d; border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 26px 24px;
  box-shadow: 0 24px 55px -14px rgba(0,0,0,0.65);
}
.lp-formhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-formbadge {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(57,97,191,0.18); border: 1px solid rgba(57,97,191,0.32);
  color: var(--blue-bright); display: flex; align-items: center; justify-content: center;
}
.lp-formbadge svg { width: 22px; height: 22px; }
.lp-form-eyebrow { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 3px; }
.lp-formcard h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; color: #fff; margin: 0; }
.lp-formcard h3 span { color: var(--blue-bright); }
.lp-formcard p.sub { color: rgba(255,255,255,0.6); font-size: 0.86rem; line-height: 1.5; margin-bottom: 0; }
.lp-formdiv { height: 1px; background: rgba(255,255,255,0.1); margin: 16px 0 18px; }

.lp-formcard .form-group { margin-bottom: 12px; }
.lp-formcard .form-group label { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); margin-bottom: 5px; }
.lp-input {
  display: flex; align-items: center; background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-input > svg { width: 17px; height: 17px; margin-left: 13px; color: rgba(255,255,255,0.4); flex-shrink: 0; transition: color .2s ease; }
.lp-input:hover { border-color: rgba(255,255,255,0.3); }
.lp-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57,97,191,0.28); }
.lp-input:focus-within > svg { color: var(--blue-bright); }
.lp-formcard .lp-input input,
.lp-formcard .lp-input textarea {
  flex: 1; width: 100%; background: transparent; border: 0; box-shadow: none;
  padding: 11px 14px 11px 10px; color: #fff; font-size: 0.9rem; font-family: var(--font); outline: none;
}
.lp-formcard .lp-input input:focus,
.lp-formcard .lp-input textarea:focus { background: transparent; box-shadow: none; }
.lp-formcard .lp-input input::placeholder,
.lp-formcard .lp-input textarea::placeholder { color: rgba(255,255,255,0.4); }
.lp-input--area { align-items: flex-start; }
.lp-input--area > svg { margin-top: 12px; }
.lp-formcard .lp-input textarea { resize: vertical; min-height: 88px; padding-top: 11px; }

.lp-formcard .form-submit {
  margin-top: 6px; width: 100%; justify-content: center; gap: 8px;
  padding: 13px 24px; font-size: 0.92rem; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  box-shadow: 0 12px 24px -8px rgba(57,97,191,0.55);
}
.lp-formcard .form-submit svg { width: 16px; height: 16px; transition: transform .2s ease; }
.lp-formcard .form-submit:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(57,97,191,0.65); }
.lp-formcard .form-submit:hover svg { transform: translateX(4px); }

.lp-trustrow { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; }
.lp-trustrow span { display: inline-flex; align-items: center; gap: 5px; font-size: 0.66rem; font-weight: 600; color: rgba(255,255,255,0.55); }
.lp-trustrow svg { width: 13px; height: 13px; color: var(--blue-bright); flex-shrink: 0; }
.lp-formcard .form-success { color: var(--blue-bright); }

/* ---- Contenido columna izquierda (sobre oscuro) ---- */
.lp-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 14px; }
.lp-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #fff; margin-bottom: 14px; }
.lp-sub { font-size: 1.12rem; font-weight: 600; line-height: 1.6; color: var(--blue-bright); margin-bottom: 30px; }

/* Video de YouTube 16:9 (facade) */
.lp-yt { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; cursor: pointer; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.08); }
.lp-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-yt__play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: rgba(57,97,191,0.92); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lp-yt__play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.lp-yt:hover .lp-yt__play { transform: scale(1.08); background: var(--blue); }
.lp-yt.playing { cursor: default; }
.lp-yt__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Prosa */
.lp-prose { margin-top: 44px; }
.lp-prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 800; color: #fff; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 18px; }
.lp-prose p { font-size: 1.02rem; line-height: 1.8; color: rgba(255,255,255,0.72); margin-bottom: 18px; }
.lp-prose p:last-child { margin-bottom: 0; }

/* Indemnizaciones */
.lp-indem { margin-top: 54px; }
.lp-indem__title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; color: #fff; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 26px; }
.lp-faq { margin-top: 50px; }

/* Acordeon */
.lp-acc { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.lp-acc__item { border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; background: rgba(255,255,255,0.03); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.lp-acc__item.open { border-color: var(--blue); box-shadow: 0 14px 32px -16px rgba(57,97,191,0.5); background: rgba(57,97,191,0.07); }
.lp-acc__head { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 19px 22px; font-family: var(--font); background: none; cursor: pointer; }
.lp-acc__head:hover .lp-acc__title { color: var(--blue-bright); }
.lp-acc__n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: rgba(57,97,191,0.18); color: var(--blue-bright); font-weight: 800; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; }
.lp-acc__title { flex: 1; font-size: 1.04rem; font-weight: 700; color: #fff; line-height: 1.3; transition: color .2s ease; }
.lp-acc__chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue-bright); transition: transform .3s ease; }
.lp-acc__item.open .lp-acc__chevron { transform: rotate(180deg); }
.lp-acc__panel { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.lp-acc__body { padding: 2px 22px 22px; }
.lp-acc__body p { font-size: 0.98rem; line-height: 1.7; color: rgba(255,255,255,0.66); }
.lp-acc__body .lp-list { margin-top: 2px; }
.lp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.lp-infocard { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 30px 28px; }
.lp-infocard__tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 8px; }
.lp-infocard h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 20px; }
.lp-list { display: flex; flex-direction: column; gap: 14px; }
.lp-list > li { position: relative; padding-left: 22px; font-size: 0.96rem; line-height: 1.65; color: rgba(255,255,255,0.72); }
.lp-list > li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); }
.lp-list strong { color: #fff; font-weight: 700; }
.lp-sublist { counter-reset: item; list-style: none; margin: 12px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.lp-sublist li { counter-increment: item; position: relative; padding-left: 32px; font-size: 0.93rem; line-height: 1.5; color: rgba(255,255,255,0.72); }
.lp-sublist li::before { content: counter(item); position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Cierre */
.lp-closing { margin-top: 48px; padding: 34px 36px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); border-radius: 18px; }
.lp-closing h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 10px; color: #fff; }
.lp-closing p { font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,0.92); }

/* Responsive */
@media (max-width: 980px) {
  .lp-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .lp-form-col { position: static; }
  .lp-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-grid { padding-left: 18px; padding-right: 18px; }
  .lead-form.lp-formcard { padding: 26px 22px; }
}

/* =====================================================
   CAMPO DE PUNTOS INTERACTIVO (canvas)
   El lienzo .dotfield va detrás del contenido y reacciona al cursor.
   ===================================================== */
.lp { position: relative; }
.dotfield { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* el contenido por encima del lienzo */
.vtest > .container, .howw > .container, .cta > .container,
.sv2 > .container, .team > .container,
.footer > .container, .footer__bottom, .lp-grid { position: relative; z-index: 1; }
