/* =============================================================
   JURÍDICO VIRTUAL — REDISEÑO INTEGRAL V2
   Sistema visual legal contemporáneo, minimalista y responsivo.
   ============================================================= */

:root {
  --azul: #102a38;
  --azul-light: #1b4252;
  --azul-dark: #091c27;
  --dorado: #397874;
  --dorado-light: #8eb7b1;
  --crema: #f3f6f5;
  --blanco: #ffffff;
  --gris: #5f6d74;
  --gris-claro: #dce4e3;
  --font-display: 'Manrope', Arial, sans-serif;
  --font-body: 'Manrope', Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 20px;
  --transition: .25s cubic-bezier(.2,.75,.25,1);
  --surface: #f8faf9;
  --line: #dfe6e5;
  --ink: #132832;
  --muted: #637178;
  --accent: #397874;
  --accent-dark: #2c625f;
  --accent-soft: #e3efed;
  --shadow-sm: 0 8px 22px rgba(12,39,50,.06);
  --shadow-md: 0 22px 60px rgba(12,39,50,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { background: #bad8d4; color: var(--azul-dark); }
h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .page-hero h1,
em, i:not(.fas):not(.fab):not(.far) {
  font-family: var(--font-display) !important;
  font-style: normal !important;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(57,120,116,.38);
  outline-offset: 3px;
}
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }

/* ---------- Identidad temporal JV ---------- */
.logo {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 216px;
  height: 52px;
  color: var(--azul);
  text-decoration: none;
}
.logo img { width: 216px; height: 52px; opacity: 0; }
.logo::before {
  content: 'JV';
  position: absolute;
  left: 0;
  top: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--azul);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.logo::after {
  content: 'JURÍDICO VIRTUAL';
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--azul);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* ---------- Navegación clara ---------- */
#main-header,
#main-header.scrolled {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,42,56,.1);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
#main-header.scrolled { box-shadow: 0 10px 34px rgba(10,38,49,.08); }
.navbar {
  width: min(1380px, 100%);
  min-height: 82px;
  margin: auto;
  padding: 12px 30px;
  gap: 22px;
}
.nav-links { margin-left: auto; gap: 2px; }
.nav-links li a {
  padding: 10px 11px;
  border-radius: 9px;
  color: #344b55;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .015em;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--azul);
  background: #edf3f2;
}
.nav-links li a.active { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-links li a.nav-cta {
  margin-left: 5px;
  padding: 11px 17px;
  background: var(--azul);
  color: white;
  border-radius: 9px;
}
.nav-links li a.nav-cta:hover { background: var(--accent-dark); color: white; }
.nav-social { gap: 8px; }
.nav-social > a:first-child {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--azul);
}
.nav-wa {
  min-height: 38px;
  padding: 8px 12px !important;
  background: #e6f5ed !important;
  border-color: #cce8d8 !important;
  color: #19603c !important;
  border-radius: 10px !important;
}

/* ---------- Acciones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 23px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 12px 26px rgba(57,120,116,.2);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 16px 34px rgba(57,120,116,.26); }
.btn-outline { color: var(--azul); border-color: #b9c7ca; background: white; }
.btn-outline:hover { color: var(--azul); border-color: var(--azul); background: #f6f9f8; }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.4); }
.btn-wa { border-radius: 10px; }
.btn-sm { background: var(--azul); border-color: var(--azul); color: white; }

/* ---------- Portada publicitaria ---------- */
.hero {
  min-height: 760px;
  padding: 142px 0 78px;
  display: flex;
  align-items: center;
  background: #f4f7f6;
  color: var(--ink);
  isolation: isolate;
}
.hero-bg { display: none; }
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(rgba(16,42,56,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,42,56,.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 34%, rgba(87,151,145,.16), transparent 28%);
  background-size: 52px 52px, 52px 52px, auto;
  mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 82%, transparent);
}
.hero-inner {
  width: min(1220px, calc(100% - 56px));
  margin: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .78fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: center;
}
.hero-content { max-width: 700px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid #cbd9d7;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--accent-dark);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-title {
  margin: 0 0 25px;
  color: var(--azul-dark);
  font-size: clamp(3.45rem, 6.15vw, 5.85rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-title em { color: var(--accent); font-weight: 800; }
.hero-divider { display: none; }
.hero-subtitle {
  max-width: 650px;
  margin: 0 0 31px;
  color: #52656d;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.75;
}
.hero-actions { margin: 0; gap: 12px; }
.hero-stats {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid #d4dedc;
  gap: 25px;
}
.stat-number, .stat-plus { color: var(--azul); font-size: 2.05rem; font-weight: 800; }
.stat-label { max-width: 115px; color: #6a787e; font-size: .7rem; line-height: 1.35; }
.stat-divider { background: #d3dcda; }
.hero-img-frame {
  padding: 0;
  border: 0;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}
.hero-img-frame::before { display: none; }
.hero-img-wrap {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  background: #dce6e4;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) saturate(.72); transition: transform .8s ease; }
.hero-img-frame:hover .hero-img-wrap img { transform: scale(1.03); }
.hero-badge {
  left: -30px;
  right: auto;
  bottom: 32px;
  padding: 16px 19px;
  border: 1px solid rgba(16,42,56,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  color: var(--azul);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.hero-badge i { color: var(--accent); font-size: 1.35rem; }
.hero-badge-text strong { color: var(--azul); }
.hero-badge-text span { color: var(--muted); }
.hero-scroll-hint { display: none; }

/* ---------- Encabezados editoriales ---------- */
.section-header { max-width: 790px; margin: 0 auto 54px; }
.section-eyebrow {
  padding: 0;
  margin-bottom: 15px;
  color: var(--accent-dark);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.section-eyebrow::before, .section-eyebrow::after { display: none; }
.section-title {
  margin-bottom: 18px;
  color: var(--azul);
  font-size: clamp(2.25rem, 4.35vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-title em { color: var(--accent); font-weight: 800; }
.section-desc { max-width: 680px; margin-inline: auto; color: var(--muted); font-size: .98rem; }
.page-hero {
  min-height: 365px;
  padding: 153px 0 70px !important;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background: var(--azul-dark) !important;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(9,28,39,.97), rgba(25,70,80,.86)),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.page-hero h1 { color: white; font-size: clamp(2.85rem, 5.7vw, 4.8rem); font-weight: 800; letter-spacing: -.045em; }
.page-hero p { max-width: 700px; color: rgba(255,255,255,.7); font-size: 1rem; }

/* ---------- Servicios ---------- */
.servicios-section { background: white; }
.servicios-grid { gap: 18px; }
.servicio-card {
  min-height: 100%;
  padding: 31px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.servicio-card::before { display: none; }
.servicio-card:hover { transform: translateY(-5px); border-color: #a9c4c1; box-shadow: var(--shadow-sm); }
.servicio-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid #cfe0de;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.28rem;
}
.servicio-card h3,
.servicio-card h3[style] {
  margin: 0 0 13px !important;
  color: var(--azul) !important;
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -.025em;
}
.servicio-card p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.servicio-link, .news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Noticias: imagen temporal JV ---------- */
.noticias-section { background: #f0f4f3; }
.news-grid { gap: 20px; }
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.news-card:hover { transform: translateY(-5px); border-color: #bdd0cd; box-shadow: var(--shadow-sm); }
.news-card-img { min-height: 235px; overflow: hidden; position: relative; background: #dfe9e7; }
.news-img-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent 50%),
    linear-gradient(145deg, #dce8e6, #c8d9d6);
}
.news-img-placeholder::before {
  content: 'JV';
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(16,42,56,.16);
  border-radius: 19px;
  background: rgba(255,255,255,.62);
  color: var(--azul);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.05em;
}
.news-img-placeholder::after {
  content: 'IMAGEN DE NOTICIA · PENDIENTE';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  color: rgba(16,42,56,.55);
  text-align: center;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.news-tag {
  left: 18px;
  top: 18px;
  bottom: auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(16,42,56,.9);
  color: white;
  font-size: .58rem;
}
.news-card-body { padding: 27px; }
.news-card-body h3 { color: var(--azul); font-size: 1.27rem; font-weight: 800; line-height: 1.32; letter-spacing: -.025em; }
.news-card-body p { color: var(--muted); font-size: .87rem; line-height: 1.72; }
.news-fb-cta {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.news-fb-cta > i { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #e9f0f5; color: #315f86; }

/* ---------- Firma / Nosotros ---------- */
.about-section { background: white; }
.about-grid { gap: clamp(55px, 8vw, 105px); align-items: center; }
.about-lead { color: var(--azul); font-size: 1.05rem; }
.about-text > p:not(.about-lead) { color: var(--muted); }
.about-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: #dae5e3;
  box-shadow: var(--shadow-md);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) saturate(.72); }
.about-stats-card {
  left: -34px;
  right: 34px;
  bottom: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(16,42,56,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.about-stat strong { color: var(--azul); font-family: var(--font-display); font-weight: 800; }
.about-stat span { color: var(--muted); }
.about-pillars { gap: 0; }
.pillar { padding: 15px 0; align-items: flex-start; border-bottom: 1px solid #edf1f0; }
.pillar:last-child { border-bottom: 0; }
.pillar > i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1rem;
}
.pillar strong { color: var(--azul); }
.pillar span { color: var(--muted); }

/* Logos de clientes: JV temporal */
.clientes-section { padding: 42px 0; background: #eef3f2; border-block: 1px solid var(--line); }
.clientes-title { color: #77848a; font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cliente-logo {
  min-width: 170px;
  height: 82px;
  border: 1px dashed #b8c9c7;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
}
.logo-placeholder { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.logo-placeholder::before { content: 'JV'; color: #79918e; font-size: 1rem; font-weight: 800; }
.logo-placeholder::after { content: 'LOGOTIPO PENDIENTE'; position: absolute; margin-top: 37px; color: #8b9b9f; font-size: .48rem; font-weight: 800; letter-spacing: .1em; }

/* ---------- Contacto ---------- */
.contact-section { padding: 100px 0; background: var(--surface); }
.contact-grid { gap: clamp(44px, 8vw, 100px); align-items: start; }
.contact-info h2 { color: var(--azul); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.contact-info > p { color: var(--muted); }
.contact-detail { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-detail-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.12rem;
}
.contact-detail-text strong { color: var(--azul); }
.contact-detail-text span, .contact-detail-text a { color: var(--muted); }
.contact-form-wrap {
  padding: clamp(28px, 4vw, 45px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { color: var(--azul); font-size: 1.55rem; font-weight: 800; }
.form-group label { color: var(--azul); font-size: .72rem; font-weight: 800; }
.form-group input, .form-group select, .form-group textarea,
.login-form input {
  min-height: 50px;
  border: 1px solid #cbd6d6;
  border-radius: 10px;
  background: #fbfcfc;
  color: var(--ink);
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group textarea { min-height: 142px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.login-form input:focus {
  outline: 0;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(57,120,116,.11);
}
.form-submit .btn { width: 100%; }
.form-success { border-radius: 10px; }
.map-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }

/* ---------- Sitios de interés: logotipo JV temporal ---------- */
.sitios-hero-sub p { color: var(--muted); }
.filtros { gap: 8px; margin-bottom: 52px; }
.filtro-btn {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #4d626b;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
}
.filtro-btn:hover, .filtro-btn.active { border-color: var(--azul); background: var(--azul); color: white; }
.sitios-grupo { margin-bottom: 72px; }
.grupo-header { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.grupo-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: var(--azul);
  color: #a6d0cb;
  font-size: 1.25rem;
}
.grupo-header h2 { color: var(--azul); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.grupo-header h2 span { color: var(--accent-dark); font-size: .58rem; letter-spacing: .12em; }
.sitios-grid { gap: 17px; }
.sitio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.sitio-card:hover { transform: translateY(-4px); border-color: #abc5c2; box-shadow: var(--shadow-sm); }
.sitio-img-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  background: linear-gradient(145deg, #edf3f2, #dde9e7);
}
.sitio-img-icon i { display: none; }
.sitio-img-icon::before {
  content: 'JV';
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #c1d3d0;
  border-radius: 16px;
  background: rgba(255,255,255,.67);
  color: var(--azul);
  font-size: 1.05rem;
  font-weight: 800;
}
.sitio-img-icon::after {
  content: 'LOGOTIPO PENDIENTE';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  color: #829491;
  text-align: center;
  font-size: .47rem;
  font-weight: 800;
  letter-spacing: .11em;
}
.sitio-body { padding: 21px; }
.sitio-body h3 { color: var(--azul); font-size: .98rem; font-weight: 800; line-height: 1.35; }
.sitio-body p { color: var(--muted); font-size: .79rem; }
.sitio-tag { color: var(--accent-dark); background: var(--accent-soft); }
.sitio-link-badge { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #edf3f2; color: var(--accent-dark); }
.sitios-cta-mid { padding: 34px; border-radius: 20px; background: var(--azul); }
.sitios-cta-mid h3 { font-size: 1.45rem; font-weight: 800; }

/* ---------- Acceso de usuarios ---------- */
.login-section { min-height: 650px; padding: 90px 0; background: linear-gradient(135deg, #f3f6f5, #e9f0ef); }
.login-wrap { gap: clamp(50px, 8vw, 100px); }
.login-info h2 { color: var(--azul); font-size: clamp(2.2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -.045em; }
.login-info h2 em { color: var(--accent); }
.login-info > p { color: var(--muted); }
.login-feature { padding: 14px 0; }
.login-feature > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.login-feature strong { color: var(--azul); }
.login-card {
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-md);
}
.lock-icon { border-radius: 16px; background: var(--azul); color: white; }
.login-card-header h3 { color: var(--azul); font-weight: 800; }
.login-card-header p, .login-contact-note { color: var(--muted); }
.login-btn { width: 100%; }

/* ---------- CTA ---------- */
.cta-section { padding: 76px 0; position: relative; isolation: isolate; background: var(--azul); }
.cta-bg-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 14% 50%, rgba(109,174,167,.2), transparent 31%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.cta-content { gap: 44px; }
.cta-text h2 { color: white; font-size: clamp(2.05rem, 4vw, 3.35rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.cta-text p { color: rgba(255,255,255,.67); }

/* ---------- Pie limpio ---------- */
#footer { padding-top: 74px; background: #081b25; color: rgba(255,255,255,.64); }
.footer-grid { gap: 44px; }
.footer-brand { position: relative; }
.footer-brand img { width: 210px; height: 48px; margin-bottom: 24px; opacity: 0; }
.footer-brand::before {
  content: 'JV';
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  color: var(--azul);
  font-size: 1rem;
  font-weight: 800;
}
.footer-brand::after {
  content: 'JURÍDICO VIRTUAL';
  position: absolute;
  left: 56px;
  top: 13px;
  color: white;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
}
.footer-brand p { color: rgba(255,255,255,.56); }
.footer-grid h4 { color: white; font-family: var(--font-body); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a:hover { color: #9cc9c4; }
.footer-social a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; background: rgba(255,255,255,.04); }
.footer-contacto li i { width: 22px; color: #8ebbb6; }
.footer-bottom { border-top-color: rgba(255,255,255,.09); }

/* ---------- WhatsApp ---------- */
.whatsapp-float {
  right: 22px;
  bottom: 22px;
  min-height: 54px;
  padding: 12px 19px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  background: #1c9a59;
  box-shadow: 0 14px 36px rgba(23,112,65,.25);
}
.whatsapp-float i { font-size: 1.35rem; }
.whatsapp-float span { font-size: .7rem; font-weight: 800; }

/* ---------- Movimiento profesional ---------- */
[data-aos] { transition-duration: .65s; transition-timing-function: cubic-bezier(.2,.75,.25,1); }
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: v2Rise .75s .08s both; }
  .hero-img-col { animation: v2Rise .85s .16s both; }
}
@keyframes v2Rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Tableta ---------- */
@media (max-width: 1160px) {
  .navbar { padding-inline: 22px; }
  .nav-social { display: none; }
  .nav-links li a { padding-inline: 9px; font-size: .71rem; }
  .hero-inner { grid-template-columns: 1.12fr .72fr; }
  .hero-title { font-size: clamp(3.35rem, 6.3vw, 4.8rem); }
}

@media (max-width: 920px) {
  .container { width: min(100% - 36px, 760px); }
  .section { padding: 78px 0; }
  .navbar { min-height: 76px; padding-inline: 18px; }
  .logo { min-width: 204px; height: 48px; }
  .logo img { width: 204px; height: 48px; }
  .logo::before { width: 42px; height: 42px; top: 3px; }
  .logo::after { left: 53px; }
  .nav-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .nav-toggle span { width: 21px; background: var(--azul); }
  .nav-toggle.open span { background: white; }
  .nav-links {
    top: 76px;
    height: calc(100dvh - 76px);
    padding: 22px 18px 40px;
    background: rgba(8,27,37,.99);
    overflow-y: auto;
  }
  .nav-links li a { display: block; padding: 15px 13px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; color: rgba(255,255,255,.78); font-size: .91rem; }
  .nav-links li a:hover, .nav-links li a.active { background: transparent; color: white; box-shadow: inset 3px 0 0 #79aaa5; }
  .nav-links li a.nav-cta { margin: 13px 0 0; border: 0; border-radius: 10px; background: var(--accent); text-align: center; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-inner { width: min(100% - 36px, 760px); display: block; }
  .hero-content { max-width: 720px; }
  .hero-img-col { display: none; }
  .hero-title { font-size: clamp(3.2rem, 11vw, 5.1rem); }
  .page-hero { min-height: 335px; padding: 135px 0 64px !important; }
  .servicios-grid, .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid, .contact-grid, .login-wrap { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; margin-inline: auto; }
  .cta-content { text-align: left; }
}

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 560px); }
  .section { padding: 65px 0; }
  .section-header { margin-bottom: 38px; }
  .section-title { font-size: clamp(2.15rem, 10vw, 3rem); }
  .logo { min-width: 170px; }
  .logo img { width: 170px; }
  .logo::after { content: 'JURÍDICO'; font-size: .76rem; }
  .hero { padding: 121px 0 67px; }
  .hero-inner { width: min(100% - 28px, 560px); }
  .hero-eyebrow { font-size: .58rem; line-height: 1.45; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.3rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .stat-divider { display: none; }
  .stat-number, .stat-plus { font-size: 1.65rem; }
  .stat-label { font-size: .6rem; }
  .page-hero { min-height: 310px; }
  .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .servicios-grid, .news-grid { grid-template-columns: 1fr; }
  .servicio-card { padding: 27px 23px; }
  .news-card-img { min-height: 215px; }
  .about-stats-card { left: 12px; right: 12px; bottom: 12px; }
  .contact-form-wrap, .login-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .sitios-grid { grid-template-columns: 1fr !important; }
  .sitios-cta-mid { padding: 26px 21px; }
  .cta-section { padding: 62px 0; }
  .cta-content { text-align: center; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 56px; height: 56px; min-height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
