/* ==========================================================
   Sitio base: Diego Gómez Mendoza, Abogado Laboral
   VÓRTEX Estrategia. Paleta azul, celeste y blanco.
   ========================================================== */
:root {
  --azul-noche: #0B2545;
  --azul: #1B4F9C;
  --azul-hover: #153F7D;
  --celeste: #8DB9E8;
  --celeste-suave: #EAF3FC;
  --blanco: #FFFFFF;
  --texto: #1A2433;
  --gris: #5B6778;
  --borde: #D6E2F0;
  --wa: #0E7A3E;
  --wa-hover: #0B6432;
  --pendiente: #FFF59D;
  --radio: 14px;
  --sombra: 0 6px 24px rgba(11, 37, 69, .08);
  --ancho: 1160px;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--texto); background: var(--blanco); }
img, svg { max-width: 100%; display: block; }
a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: var(--azul-hover); }
h1, h2, h3 { font-family: var(--serif); color: var(--azul-noche); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--azul-noche); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 12px; color: #fff; }

/* Campos pendientes: se ven resaltados hasta completarlos */
.pendiente { background: var(--pendiente); color: #4A3B00; padding: 0 .25em; border-radius: 4px; font-weight: 600; font-family: var(--sans); font-size: .92em; }
.aviso-borrador { background: #FFF4CC; border-bottom: 1px solid #E8D68A; color: #4A3B00; font-size: .85rem; text-align: center; padding: 6px 16px; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.seccion { padding: 72px 0; }
.seccion--suave { background: var(--celeste-suave); }
.seccion--oscura { background: var(--azul-noche); color: #E7EEF8; }
.seccion--oscura h2, .seccion--oscura h3 { color: #fff; }
.seccion__intro { max-width: 720px; margin-bottom: 36px; }
.seccion__intro p { color: var(--gris); font-size: 1.05rem; }
.seccion--oscura .seccion__intro p { color: #C9D8EC; }
.etiqueta { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); margin-bottom: 10px; }
.seccion--oscura .etiqueta, .hero .etiqueta { color: var(--celeste); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; font-family: var(--sans); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--primario { background: var(--azul); color: #fff; }
.btn--primario:hover { background: var(--azul-hover); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); color: #fff; }
.btn--borde { border-color: var(--azul); color: var(--azul); background: transparent; }
.btn--borde:hover { background: var(--azul); color: #fff; }
.btn--claro { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--claro:hover { background: #fff; color: var(--azul-noche); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* Encabezado */
.encabezado { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--borde); backdrop-filter: saturate(1.4) blur(6px); }
.encabezado__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--azul-noche); }
.marca__logo { width: 42px; height: 42px; flex-shrink: 0; }
.marca__texto { display: flex; flex-direction: column; line-height: 1.15; }
.marca__nombre { white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.marca__sub { font-size: .78rem; color: var(--gris); letter-spacing: .06em; text-transform: uppercase; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; white-space: nowrap; padding: 8px 11px; border-radius: 8px; text-decoration: none; color: var(--texto); font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--azul); background: var(--celeste-suave); }
.nav .btn { padding: 10px 18px; color: #fff; margin-left: 8px; }
.nav .btn:hover { background: var(--azul-hover); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--borde); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; color: var(--azul-noche); }
.menu-btn svg { width: 24px; height: 24px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--azul-noche) 0%, #12386A 60%, var(--azul) 100%); color: #E7EEF8; padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(141,185,232,.10); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero__eslogan { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.35; color: var(--celeste); font-style: italic; max-width: 620px; margin: -4px 0 16px; padding-left: 14px; border-left: 3px solid var(--celeste); }
.hero__sub { font-size: 1.15rem; color: #D2E0F1; max-width: 620px; margin-bottom: 28px; }
.hero__nota { font-size: .9rem; color: #B9CCE6; margin-top: 14px; }
.hero__foto { border-radius: 22px; overflow: hidden; border: 6px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.25); aspect-ratio: 4 / 5; background: var(--celeste-suave); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero--interior { padding: 60px 0 52px; }
.hero--interior .hero__grid { grid-template-columns: 1fr; }
.migas { font-size: .88rem; color: #B9CCE6; margin-bottom: 12px; }
.migas a { color: #DCE8F7; }

/* Franja de confianza */
.franja { background: #fff; border-bottom: 1px solid var(--borde); }
.franja ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.franja li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--azul-noche); font-size: .95rem; }
.franja svg { width: 22px; height: 22px; color: var(--azul); flex-shrink: 0; }

/* Tarjetas */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 28px; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.tarjeta h3 { margin-bottom: .4em; }
.tarjeta p { color: var(--gris); }
.tarjeta .enlace { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tarjeta .enlace::after { content: "\2192"; transition: transform .2s; }
.tarjeta .enlace:hover::after { transform: translateX(4px); }
.tarjeta__icono { width: 50px; height: 50px; border-radius: 12px; background: var(--celeste-suave); color: var(--azul); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tarjeta__icono svg { width: 26px; height: 26px; }
.perfil { padding: 36px; border-width: 2px; }
.perfil--trabajador { border-color: var(--celeste); }
.perfil--empleador { border-color: var(--azul); }
.perfil ul { margin: 0 0 22px; padding-left: 20px; color: var(--texto); }
.perfil li { margin-bottom: 6px; }
.tarjeta--simple { box-shadow: none; }

/* Regla de conflicto */
.regla { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-left: 5px solid var(--azul); border-radius: 10px; padding: 22px 26px; margin-top: 30px; box-shadow: var(--sombra); }
.regla svg { width: 30px; height: 30px; color: var(--azul); flex-shrink: 0; margin-top: 2px; }
.regla p { margin: 0; }

/* Pasos */
.pasos { counter-reset: paso; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.pasos li { position: relative; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 30px 24px 24px; }
.pasos li::before { counter-increment: paso; content: counter(paso); position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 50%; background: var(--azul); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--serif); }
.pasos h3 { font-size: 1.08rem; }
.pasos p { color: var(--gris); margin: 0; font-size: .97rem; }

/* Sobre mí resumen */
.sobre { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: center; }
.sobre__foto { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--celeste-suave); max-width: 420px; }
.sobre__foto img { width: 100%; height: 100%; object-fit: cover; }
.principios { display: grid; gap: 14px; margin: 24px 0; padding: 0; list-style: none; }
.principios li { padding-left: 32px; position: relative; }
.principios li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--celeste-suave); border: 5px solid var(--azul); }

/* Preguntas frecuentes */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--borde); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--azul-noche); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--azul); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .respuesta { padding: 0 22px 20px; color: var(--texto); }
.faq h3 { margin-top: 36px; }

/* Contenido largo (legales y páginas internas) */
.prosa { max-width: 820px; }
.prosa h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prosa h3 { margin-top: 1.3em; }
.prosa ul, .prosa ol { padding-left: 22px; }
.prosa li { margin-bottom: 6px; }
.prosa table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .95rem; }
.prosa th, .prosa td { border: 1px solid var(--borde); padding: 10px 12px; text-align: left; vertical-align: top; }
.prosa th { background: var(--celeste-suave); color: var(--azul-noche); }
.actualizado { color: var(--gris); font-size: .92rem; }
.recuadro { background: var(--celeste-suave); border-radius: 12px; padding: 20px 24px; margin: 22px 0; border-left: 5px solid var(--celeste); }
.recuadro--alerta { background: #FFF8E1; border-left-color: #D9A400; }
.recuadro p:last-child { margin: 0; }
.dos-col { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.lateral { position: sticky; top: 100px; background: var(--celeste-suave); border-radius: var(--radio); padding: 26px; }
.lateral h3 { font-size: 1.1rem; }
.lista-check { list-style: none; padding: 0; margin: 0 0 18px; }
.lista-check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 5px; background: var(--azul); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Recursos */
.recurso__meta { font-size: .85rem; color: var(--gris); margin-bottom: 8px; }
.chip { display: inline-block; background: var(--celeste-suave); color: var(--azul); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* Formulario */
.form { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 34px; box-shadow: var(--sombra); }
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form legend { font-family: var(--serif); font-weight: 700; color: var(--azul-noche); font-size: 1.1rem; margin-bottom: 14px; padding: 0; }
.perfiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perfil-op { position: relative; }
.perfil-op input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.perfil-op label { display: block; border: 2px solid var(--borde); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; height: 100%; }
.perfil-op label strong { display: block; color: var(--azul-noche); }
.perfil-op label span { font-size: .88rem; color: var(--gris); }
.perfil-op input:checked + label { border-color: var(--azul); background: var(--celeste-suave); }
.perfil-op input:focus-visible + label { outline: 3px solid var(--celeste); outline-offset: 2px; }
.campos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo--ancho { grid-column: 1 / -1; }
.campo label, .campo .rotulo { font-weight: 600; font-size: .95rem; color: var(--azul-noche); }
.campo small { color: var(--gris); font-size: .85rem; }
.opcional { font-weight: 400; color: var(--gris); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #C2D0E0; border-radius: 10px; background: #fff; color: var(--texto); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--azul); outline: 3px solid rgba(141,185,232,.45); outline-offset: 0; }
textarea { min-height: 130px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.radios label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.contador { text-align: right; }
.bloque-perfil { background: var(--celeste-suave); border-radius: 14px; padding: 22px; margin-bottom: 22px; }
.bloque-perfil[hidden] { display: none; }
.consentimiento { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.consentimiento input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--azul); }
.trampa { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form__aviso { font-size: .88rem; color: var(--gris); margin: 14px 0 0; }
.form__estado { margin-top: 14px; font-weight: 600; }
.form__estado.error { color: #B00020; }
.form__estado.ok { color: var(--wa); }
.campo.invalido input, .campo.invalido select, .campo.invalido textarea { border-color: #B00020; }
.campo .msg-error { color: #B00020; font-size: .85rem; display: none; }
.campo.invalido .msg-error { display: block; }
.contacto-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: start; }
.datos { list-style: none; padding: 0; margin: 0 0 20px; }
.datos li { display: flex; gap: 12px; margin-bottom: 16px; }
.datos svg { width: 22px; height: 22px; color: var(--azul); flex-shrink: 0; margin-top: 3px; }
.mapa { border-radius: 14px; overflow: hidden; border: 1px solid var(--borde); aspect-ratio: 4 / 3; background: var(--celeste-suave); }
.mapa iframe { width: 100%; height: 100%; border: 0; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final p { max-width: 640px; margin: 0 auto 26px; color: #C9D8EC; font-size: 1.08rem; }
.cta-final .botones { justify-content: center; }

/* Pie */
.pie { background: #071A33; color: #B9CCE6; font-size: .94rem; padding: 56px 0 24px; }
.pie a { color: #DCE8F7; }
.pie__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.pie h3 { color: #fff; font-size: 1rem; font-family: var(--sans); letter-spacing: .04em; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie li { margin-bottom: 8px; }
.pie .marca { color: #fff; margin-bottom: 14px; }
.pie .marca__sub { color: #9FB5D3; }
.redes { display: flex; gap: 10px; margin-top: 14px; }
.redes a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.redes a:hover { background: rgba(255,255,255,.1); }
.redes svg { width: 18px; height: 18px; }
.descargo { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 22px; font-size: .84rem; color: #9FB5D3; }
.descargo p { margin-bottom: .6em; }
.credito { margin-top: 10px; }

/* WhatsApp flotante y barra móvil */
.wa-flotante { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(14,122,62,.35); transition: transform .2s; }
.wa-flotante:hover { transform: scale(1.06); color: #fff; }
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante .tip { position: absolute; right: 72px; background: var(--azul-noche); color: #fff; font-size: .85rem; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-flotante:hover .tip, .wa-flotante:focus .tip { opacity: 1; }
.barra-movil { display: none; }

/* Responsivo */
@media (max-width: 1240px) {
  .nav { position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--borde); box-shadow: var(--sombra); display: none; max-height: calc(100vh - 74px); overflow-y: auto; }
  .nav.abierto { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 10px 0 0; }
  .menu-btn { display: inline-flex; }
  .grid--4, .pasos { grid-template-columns: repeat(2, 1fr); }
  .pie__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .seccion { padding: 56px 0; }
  .hero { padding: 56px 0; }
  .hero__grid, .sobre, .dos-col, .contacto-grid { grid-template-columns: 1fr; }
  .hero__foto { max-width: 300px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .franja ul { grid-template-columns: 1fr 1fr; }
  .lateral { position: static; }
  .form { padding: 24px 18px; }
}
@media (max-width: 600px) {
  .grid--4, .pasos, .perfiles, .campos, .pie__grid, .franja ul { grid-template-columns: 1fr; }
  .botones .btn { width: 100%; }
  .wa-flotante { display: none; }
  .barra-movil { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--borde); box-shadow: 0 -6px 18px rgba(11,37,69,.08); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .barra-movil .btn { padding: 12px 10px; font-size: .95rem; }
  body { padding-bottom: 76px; }
  .marca__sub { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .encabezado, .wa-flotante, .barra-movil, .pie .redes { display: none; }
}

/* ==========================================================
   V2 DISEÑO (fotos reales, tono mixto: estructura sobria y trato cercano)
   ========================================================== */
:root { --dorado: #C9A96A; --sombra-fuerte: 0 24px 60px rgba(7, 26, 51, .28); }

/* Portada con foto real */
.hero--foto { padding: 72px 0 80px; }
.hero__direccion { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin: 8px 0 0; }
.hero__direccion svg { width: 18px; height: 18px; color: var(--celeste); flex-shrink: 0; }
.hero__direccion a { color: #DCE8F7; text-decoration: underline; text-decoration-color: rgba(141,185,232,.5); }
.hero__direccion a:hover { color: #fff; }
.hero--foto::before { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to bottom, transparent, rgba(7,26,51,.25)); pointer-events: none; }
.hero--foto .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
.hero__foto--real { position: relative; overflow: visible; border: 0; background: none; box-shadow: none; aspect-ratio: auto; justify-self: end; width: 100%; max-width: 440px; }
.hero__foto--real::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid rgba(141,185,232,.45); border-radius: 26px; z-index: 0; }
.hero__foto--real picture { position: relative; z-index: 1; display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--sombra-fuerte); aspect-ratio: 4 / 5; background: #12386A; }
.hero__foto--real img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__sello { position: absolute; z-index: 2; left: -34px; bottom: 34px; background: #fff; color: var(--azul-noche); border-radius: 16px; padding: 14px 18px 14px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 34px rgba(7,26,51,.25); max-width: 290px; }
.hero__sello svg { width: 40px; height: 40px; flex-shrink: 0; }
.hero__sello strong { display: block; font-family: var(--serif); font-size: 1rem; line-height: 1.2; }
.hero__sello span { font-size: .84rem; color: var(--gris); line-height: 1.3; display: block; }
.hero__lista { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero__lista li { font-size: .88rem; font-weight: 600; color: #DCE8F7; border: 1px solid rgba(141,185,232,.35); background: rgba(141,185,232,.08); padding: 6px 12px; border-radius: 999px; }

/* Franja de confianza (debajo de la portada) */
.franja--v2 { background: transparent; border: 0; position: relative; z-index: 3; margin-top: -48px; }
.franja--v2 ul { background: #fff; border: 1px solid var(--borde); border-radius: 18px; box-shadow: 0 16px 40px rgba(11,37,69,.12); padding: 22px 26px; gap: 0; }
.franja--v2 li { align-items: flex-start; gap: 14px; padding: 4px 18px; border-left: 1px solid var(--borde); font-weight: 400; }
.franja--v2 li:first-child { border-left: 0; padding-left: 4px; }
.franja__icono { width: 44px; height: 44px; border-radius: 12px; background: var(--celeste-suave); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.franja--v2 svg { width: 22px; height: 22px; }
.franja--v2 strong { display: block; color: var(--azul-noche); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.franja--v2 small { display: block; color: var(--gris); font-size: .84rem; line-height: 1.35; margin-top: 3px; }

.tarjeta__icono { transition: background .25s, color .25s; }

/* Sobre mí con foto real */
.sobre__foto--real { position: relative; overflow: visible; background: none; aspect-ratio: auto; }
.sobre__foto--real::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; background: var(--celeste); opacity: .35; border-radius: 26px; }
.sobre__foto--real picture { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sombra-fuerte); }
.sobre__foto--real img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.sobre__firma { display: flex; align-items: center; gap: 12px; margin: 6px 0 22px; color: var(--gris); font-size: .95rem; }
.sobre__firma strong { color: var(--azul); font-weight: 600; }
.sobre__compromiso { color: var(--azul-noche); margin-top: 18px; }
.sobre__cierre { color: var(--azul-noche); margin: 0 0 16px; }

/* Galería (página Sobre mí) */
.galeria { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 18px; margin-top: 8px; }
.galeria figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; background: var(--celeste-suave); box-shadow: var(--sombra); }
.galeria img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.galeria figure:first-child img { aspect-ratio: auto; height: 100%; }
.galeria figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--azul-noche); font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* Cierre con foto */
.cta-final--v2 { text-align: left; position: relative; overflow: hidden; }
.cta-final--v2::before { content: ""; position: absolute; left: -160px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(141,185,232,.08); }
.cta__grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.cta__foto { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 380px; box-shadow: var(--sombra-fuerte); border: 6px solid rgba(255,255,255,.08); }
.cta__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.cta-final--v2 p { margin: 0 0 22px; max-width: 560px; }
.cta-final--v2 .botones { justify-content: flex-start; }
.cta__datos { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.cta__datos li { display: flex; gap: 12px; align-items: center; color: #DCE8F7; }
.cta__datos svg { width: 20px; height: 20px; color: var(--celeste); flex-shrink: 0; }

/* Portada interior con retrato (Sobre mí) */
.hero--perfil .hero__grid { grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.hero__avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,.85); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero__avatar img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1240px) {
  .franja--v2 ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .franja--v2 li:nth-child(3) { border-left: 0; padding-left: 4px; }
}
@media (max-width: 860px) {
  .hero--foto { padding: 28px 0 84px; }
  .hero--foto .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__foto--real { order: -1; max-width: none; justify-self: stretch; }
  .hero__foto--real::before { display: none; }
  .hero__foto--real picture { aspect-ratio: 5 / 4; border-radius: 20px; }
  .hero__foto--real img { object-position: 50% 25%; }
  .hero__sello { left: 12px; bottom: 12px; padding: 10px 14px 10px 10px; max-width: calc(100% - 24px); }
  .hero__sello svg { width: 32px; height: 32px; }
  .sobre__foto--real { max-width: 360px; margin: 18px auto 0 18px; }
  .cta__grid { grid-template-columns: 1fr; gap: 30px; }
  .cta__foto { max-width: 260px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .galeria figure:first-child { grid-column: 1 / -1; }
  .galeria figure:first-child img { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .franja--v2 { margin-top: -40px; }
  .franja--v2 ul { grid-template-columns: 1fr; padding: 16px 18px; row-gap: 0; }
  .franja--v2 li { border-left: 0; padding: 12px 0; border-top: 1px solid var(--borde); }
  .franja--v2 li:first-child { border-top: 0; }
  .hero--perfil .hero__grid { grid-template-columns: 1fr; gap: 16px; }
  .hero__avatar { width: 88px; height: 88px; }
  }
@media (min-width: 861px) { .sobre[style] .sobre__foto--real { position: sticky; top: 110px; } }

/* ==========================================================
   V2 EFECTOS Y DETALLES (todas las páginas)
   ========================================================== */
::selection { background: var(--celeste); color: var(--azul-noche); }
[id] { scroll-margin-top: 96px; }

/* Etiquetas sobre los títulos: tipo oración con una línea corta */
.etiqueta { text-transform: none; letter-spacing: .01em; font-size: .92rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }

/* Encabezado */
.encabezado { transition: box-shadow .3s, background .3s; }
.encabezado.con-scroll { box-shadow: 0 8px 28px rgba(11,37,69,.10); border-bottom-color: transparent; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { background: transparent; }
.marca__logo { transition: transform .3s; }
.marca:hover .marca__logo { transform: rotate(-6deg); }
.progreso { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--azul), var(--celeste)); transform: scaleX(0); transform-origin: left; }

/* Botones */
.btn { position: relative; overflow: hidden; }
.btn--primario, .btn--wa { box-shadow: 0 6px 16px rgba(11,37,69,.16); }
.btn--primario:hover, .btn--wa:hover { box-shadow: 0 10px 24px rgba(11,37,69,.24); }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: scale(1.1); }
.btn:active { transform: translateY(0) scale(.98); }

/* Portada de inicio: una entrada orquestada al cargar */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes revelar-foto { from { clip-path: inset(0 0 100% 0 round 24px); } to { clip-path: inset(0 0 0 0 round 24px); } }
@keyframes aparecer { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes marco { from { opacity: 0; transform: translate(-12px, -12px); } to { opacity: 1; transform: none; } }
.hero--foto .hero__grid > div:first-child > * { animation: subir .7s cubic-bezier(.2,.7,.2,1) both; }
.hero--foto .hero__grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
.hero--foto .hero__grid > div:first-child > :nth-child(3) { animation-delay: .16s; }
.hero--foto .hero__grid > div:first-child > :nth-child(4) { animation-delay: .24s; }
.hero--foto .hero__grid > div:first-child > :nth-child(5) { animation-delay: .32s; }
.hero--foto .hero__grid > div:first-child > :nth-child(6) { animation-delay: .40s; }
.hero__foto--real picture { animation: revelar-foto 1.1s cubic-bezier(.65,0,.35,1) .15s both; }
.hero__foto--real::before { animation: marco .9s ease-out .9s both; }
.hero__sello { animation: aparecer .6s cubic-bezier(.2,.7,.2,1) 1.05s both; }
.franja--v2 ul { animation: subir .8s cubic-bezier(.2,.7,.2,1) .55s both; }
.franja__icono { transition: background .25s, color .25s; }
.franja--v2 li:hover .franja__icono { background: var(--azul); color: #fff; }
.franja--v2 li:hover .franja__icono svg { color: #fff; }

/* Portadas interiores con foto */
.hero--interior .hero__grid > div:first-child > * { animation: subir .6s cubic-bezier(.2,.7,.2,1) both; }
.hero--interior .hero__grid > div:first-child > :nth-child(2) { animation-delay: .06s; }
.hero--interior .hero__grid > div:first-child > :nth-child(3) { animation-delay: .12s; }
.hero--interior .hero__grid > div:first-child > :nth-child(4) { animation-delay: .18s; }
.hero--con-foto { padding: 56px 0 0; }
.hero--con-foto .hero__grid { grid-template-columns: 1fr 300px; align-items: end; gap: 48px; }
.hero--con-foto .hero__grid > div:first-child { padding-bottom: 56px; }
.hero__lado { align-self: end; position: relative; }
.hero__lado picture { display: block; border-radius: 22px 22px 0 0; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 -10px 40px rgba(0,0,0,.25); animation: subir .9s cubic-bezier(.2,.7,.2,1) .2s both; }
.hero__lado img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__lado::before { content: ""; position: absolute; left: -16px; top: 28px; bottom: 0; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--celeste), transparent); }
.hero__avatar { animation: aparecer .7s cubic-bezier(.2,.7,.2,1) both; }

/* Tarjetas */
.tarjeta { transition: transform .25s, box-shadow .25s, border-color .25s; }
.perfil:hover, .tarjeta--simple:hover, .grid > .tarjeta:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,37,69,.12); }
.tarjeta--simple:hover { border-color: var(--celeste); }
.perfil--trabajador { background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--celeste-suave) 100%); }
.perfil--empleador { background: linear-gradient(180deg, #fff 0%, #fff 60%, #E3ECF8 100%); }
.tarjeta .enlace { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.tarjeta .enlace:hover { background-size: calc(100% - 22px) 2px; }

/* Regla de conflicto de interés */
.regla { position: relative; overflow: hidden; }
.regla::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--celeste-suave); z-index: 0; }
.regla > * { position: relative; z-index: 1; }

/* Pasos: línea que se dibuja de un paso al siguiente */
.pasos { position: relative; }
.pasos::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, var(--azul), var(--celeste)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.65,0,.35,1) .2s; z-index: 0; }
.pasos.visible::before { transform: scaleX(1); }
.pasos li { z-index: 1; transition: transform .25s, box-shadow .25s; }
.pasos li:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.pasos li::before { box-shadow: 0 0 0 5px #fff; transition: transform .3s; }
.seccion--suave .pasos li::before { box-shadow: 0 0 0 5px var(--celeste-suave); }
.pasos li:hover::before { transform: scale(1.1); }

/* Preguntas frecuentes */
.faq details { transition: border-color .25s, box-shadow .25s; }
.faq details:hover { border-color: var(--celeste); }
.faq details[open] { border-color: var(--azul); box-shadow: var(--sombra); }
.faq summary::after { transition: transform .25s; }
.faq details[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); }
.faq .respuesta { overflow: hidden; }

/* Contenido largo */
.prosa table tr { transition: background .2s; }
.prosa table tr:hover td { background: #F6FAFE; }
.lateral { border-top: 4px solid var(--azul); box-shadow: var(--sombra); background: #fff; }
.recuadro { transition: transform .25s; }

/* Imágenes */
.galeria img, .sobre__foto--real img, .cta__foto img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.galeria figure:hover img, .sobre__foto--real:hover img, .cta__foto:hover img { transform: scale(1.04); }

/* Formulario */
.perfil-op label:hover { border-color: var(--celeste); }
.perfil-op input:checked + label { box-shadow: 0 6px 18px rgba(27,79,156,.14); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea { transition: border-color .2s, box-shadow .2s; }
.mapa { box-shadow: var(--sombra); }

/* Cierre de páginas interiores con retrato */
.cta__avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 0 0 8px rgba(141,185,232,.15); }
.cta__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cta-final { position: relative; overflow: hidden; }
.cta-final:not(.cta-final--v2)::before { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 56px solid rgba(141,185,232,.08); }

/* Pie */
.pie { position: relative; }
.pie::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--azul), var(--celeste), var(--azul)); opacity: .7; }
.pie a { transition: color .2s; }
.pie a:hover { color: #fff; }
.redes a { transition: background .25s, transform .25s, border-color .25s; }
.redes a:hover { background: var(--celeste); border-color: var(--celeste); color: var(--azul-noche); transform: translateY(-2px); }

/* WhatsApp flotante */
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(14,122,62,.45); } 100% { box-shadow: 0 0 0 18px rgba(14,122,62,0); } }
.wa-flotante--invita { animation: latido 1.4s ease-out 3; }
.wa-flotante--invita .tip { opacity: 1; }

/* Aparición al hacer scroll (la activa efectos.js) */
.revelar { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.revelar.visible { opacity: 1; transform: none; }
.tarjeta.revelar.visible, .pasos.revelar.visible { transition-property: opacity, transform, box-shadow, border-color; }

@media (max-width: 860px) {
  .hero--con-foto { padding-top: 44px; }
  .hero--con-foto .hero__grid { grid-template-columns: 1fr 120px; gap: 18px; }
  .hero--con-foto .hero__grid > div:first-child { padding-bottom: 44px; }
  .hero__lado picture { aspect-ratio: 3 / 4; border-radius: 16px 16px 0 0; }
  .hero__lado::before { display: none; }
  .pasos::before { display: none; }
}
@media (max-width: 600px) {
  .hero--con-foto .hero__grid { grid-template-columns: 1fr; }
  .hero__lado { display: none; }
  .hero--con-foto .hero__grid > div:first-child { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .revelar { opacity: 1; transform: none; }
}

/* ==========================================================
   V2 PORTADA A PANTALLA COMPLETA, FICHAS, ALERTAS E INICIATIVAS
   ========================================================== */
/* Menú transparente sobre la portada (solo inicio) */
.inicio .encabezado { margin-bottom: -75px; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.inicio .encabezado.con-scroll, .inicio .encabezado.menu-abierto { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(6px); }
.inicio .encabezado:not(.con-scroll):not(.menu-abierto) .marca { color: #fff; }
.inicio .encabezado:not(.con-scroll):not(.menu-abierto) .marca__sub { color: #B9CCE6; }
.inicio .encabezado:not(.con-scroll):not(.menu-abierto) .menu-btn { color: #fff; border-color: rgba(255,255,255,.4); }
@media (min-width: 1241px) {
  .inicio .encabezado:not(.con-scroll) .nav a:not(.btn) { color: #E7EEF8; }
  .inicio .encabezado:not(.con-scroll) .nav a:not(.btn)::after { background: var(--celeste); }
  .inicio .encabezado:not(.con-scroll) .nav .btn { background: #fff; color: var(--azul-noche); }
}
.inicio .hero--foto { padding-top: calc(75px + 64px); min-height: min(940px, calc(100svh - 34px)); display: flex; align-items: center; }
.inicio .hero--foto > .contenedor { width: 100%; }
.desliza { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; }
.desliza::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rueda 1.8s ease-in-out infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Cuatro fichas de perfil homogéneas */
.ficha { padding: 32px; border-top: 4px solid var(--celeste); }
.ficha--empleador { border-top-color: var(--azul); }
.ficha--sindicato { border-top-color: #5C8FD1; }
.ficha--funcionario { border-top-color: var(--azul-noche); }
.ficha__cabeza { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ficha__cabeza .tarjeta__icono { margin: 0; flex-shrink: 0; }
.ficha__cabeza h3 { margin: 0; }
.ficha__beneficio { color: var(--texto) !important; font-weight: 500; }
.ficha .lista-check { flex: 1; }
.ficha .botones { margin-top: 6px; }
.ficha:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,37,69,.12); }
.ficha:hover .tarjeta__icono { background: var(--azul); color: #fff; }

/* Alertas laborales */
.seccion__intro--fila { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.seccion__intro--fila > div { max-width: 640px; }
.seccion__intro--fila p { margin-bottom: 0; }
.alerta { position: relative; border-left: 4px solid var(--azul); }
.alerta__fecha { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--azul); background: var(--celeste-suave); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; align-self: flex-start; }
.alerta__fecha svg { width: 15px; height: 15px; }
.alerta:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,37,69,.12); }


@media (max-width: 1240px) {
  .inicio .encabezado { margin-bottom: -75px; }
}
@media (max-width: 860px) {
  .inicio .hero--foto { padding-top: calc(75px + 20px); min-height: 0; display: block; }
  .desliza { display: none; }
}
@media (max-width: 600px) {
  .ficha { padding: 24px 20px; }
}
.inicio .encabezado:not(.con-scroll):not(.menu-abierto) .marca__logo { box-shadow: 0 0 0 1px rgba(255,255,255,.35); border-radius: 10px; }

/* ==========================================================
   V2 CALCULADORA, ARTÍCULOS, RESEÑAS Y VIDEO
   ========================================================== */
.calc-banda { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(120deg, var(--azul-noche), var(--azul)); box-shadow: 0 16px 40px rgba(11,37,69,.18); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.calc-banda::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(141,185,232,.12); }
.calc-banda:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 22px 48px rgba(11,37,69,.26); }
.calc-banda__icono { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.calc-banda__icono svg { width: 28px; height: 28px; color: var(--celeste); }
.calc-banda strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.calc-banda small { display: block; color: #C9D8EC; font-size: .93rem; margin-top: 2px; }
.calc-banda__ir { margin-left: auto; position: relative; z-index: 1; background: #fff; color: var(--azul-noche); font-weight: 700; padding: 10px 20px; border-radius: 999px; white-space: nowrap; transition: transform .25s; }
.calc-banda:hover .calc-banda__ir { transform: translateX(4px); }

.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.calc__form .btn { width: 100%; }
.calc__resultado { position: sticky; top: 100px; background: #fff; border: 1px solid var(--borde); border-top: 4px solid var(--azul); border-radius: 18px; padding: 30px; box-shadow: var(--sombra); min-height: 280px; }
.calc__vacio { text-align: center; color: var(--gris); padding: 30px 10px; }
.calc__vacio svg { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--celeste); }
.calc__etiqueta { font-weight: 600; color: var(--gris); margin: 0; }
.calc__monto { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--azul-noche); margin: 4px 0 18px; line-height: 1.1; }
.calc__monto--sec { font-size: 1.6rem; margin: 6px 0 0; }
.calc__tabla { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: .95rem; }
.calc__tabla th, .calc__tabla td { padding: 10px 0; border-bottom: 1px solid var(--borde); text-align: left; vertical-align: top; }
.calc__tabla td { text-align: right; font-weight: 700; color: var(--azul-noche); white-space: nowrap; }
.calc__tabla th { font-weight: 500; }
.calc__tabla small { display: block; color: var(--gris); font-size: .82rem; }
.calc__notas { font-size: .88rem; color: var(--gris); }
.calc__hipotesis { background: var(--celeste-suave); border-radius: 12px; padding: 16px 18px; margin: 4px 0 18px; }
.calc__hipotesis h3 { font-size: 1rem; margin-bottom: 4px; }
.calc__hipotesis p { margin: 0; font-size: .92rem; }
.calc__resultado .btn { width: 100%; }
.calc__aviso { font-size: .8rem; color: var(--gris); margin: 10px 0 0; text-align: center; }
@keyframes resultado { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.calc__resultado--listo > * { animation: resultado .45s cubic-bezier(.2,.7,.2,1) both; }
.calc__resultado--listo > :nth-child(2) { animation-delay: .06s; }
.calc__resultado--listo > :nth-child(3) { animation-delay: .12s; }
.calc__resultado--listo > :nth-child(4) { animation-delay: .18s; }
.calc__resultado--listo > :nth-child(5) { animation-delay: .24s; }

.articulo h2 { font-size: 1.4rem; }
.articulo em { color: var(--azul-noche); }
.tarjeta__link { color: inherit; text-decoration: none; }
.tarjeta__link:hover { color: var(--azul); }

.resenas { padding: 64px 0; }
.resenas__caja { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--borde); border-radius: 20px; padding: 30px 34px; box-shadow: var(--sombra); max-width: calc(var(--ancho) - 40px); }
.resenas__icono { width: 64px; height: 64px; border-radius: 50%; background: var(--celeste-suave); display: flex; align-items: center; justify-content: center; color: var(--azul); }
.resenas__icono svg { width: 32px; height: 32px; }
.resenas h2 { font-size: 1.5rem; margin-bottom: .3em; }
.resenas p { margin: 0; color: var(--gris); }

.video-pres__marco { border-radius: 22px; overflow: hidden; box-shadow: var(--sombra-fuerte); background: var(--azul-noche); aspect-ratio: 16 / 9; max-width: 900px; }
.video-pres__marco video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc__resultado { position: static; }
  .resenas__caja { grid-template-columns: 1fr; text-align: left; padding: 26px 22px; }
  .calc-banda { flex-wrap: wrap; }
  .calc-banda__ir { margin-left: 0; }
}
.calc__hipotesis .calc__monto--sec { font-size: 1.6rem; margin-top: 6px; }
.tarjeta > .chip { align-self: flex-start; }
.resenas { padding-bottom: 0; }

/* ==========================================================
   V3 REORGANIZACIÓN (menú de 6 ítems, portada de 8 secciones,
   páginas de perfil con la misma estructura)
   ========================================================== */
/* Enlace secundario con flecha */
.enlace-flecha { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.enlace-flecha::after { content: "\2192"; transition: transform .2s; }
.enlace-flecha:hover { text-decoration: underline; }
.enlace-flecha:hover::after { transform: translateX(4px); }
.mas-enlace { margin: 22px 0 0; }

/* Portada: fichas de perfil compactas */
.fichas .ficha { padding: 26px 28px; }
.fichas .ficha__beneficio { margin-bottom: 14px; }
.fichas .lista-check { margin-bottom: 18px; }
.fichas .lista-check li { margin-bottom: 6px; }
.ficha__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.ficha__wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wa); text-decoration: none; }
.ficha__wa svg { width: 18px; height: 18px; flex-shrink: 0; }
.ficha__wa:hover { color: var(--wa-hover); text-decoration: underline; }
.regla--compacta { padding: 16px 22px; margin-top: 24px; font-size: .95rem; gap: 14px; }
.regla--compacta svg { width: 24px; height: 24px; }

/* Portada: Por qué Diego (retrato, principios y pasos compactos) */
.sobre--portada { grid-template-columns: 330px 1fr; gap: 64px; }
.sobre--portada .principios { margin: 18px 0 24px; gap: 10px; }
.pasos__cabeza { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin: 44px 0 30px; }
.pasos__cabeza h3 { margin: 0; font-size: 1.3rem; }
.pasos--compactos { gap: 18px; }
.pasos--compactos li { padding: 28px 20px 18px; }
.pasos h4 { font-family: var(--serif); color: var(--azul-noche); font-size: 1rem; line-height: 1.3; margin: 0 0 .35em; }
.pasos--compactos p { font-size: .92rem; }

/* Portada: Herramientas y novedades */
.alertas .seccion__intro--fila { margin-bottom: 30px; }
.novedades { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1fr; gap: 20px; }
.calc-banda--tarjeta { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 26px; }
.calc-banda--tarjeta .calc-banda__ir { margin: auto 0 0; }
.novedades .alerta { padding: 24px; }
.novedades .alerta p { font-size: .95rem; margin: 0; }

/* Portada: reseñas en franja compacta */
.resenas--compacta { padding: 44px 0; }
.resenas--compacta .resenas__caja { padding: 22px 30px; }
.resenas--compacta h2 { font-size: 1.3rem; }

/* Portada: ritmo vertical algo más corto que en las páginas interiores */
.inicio main > .seccion:not(.resenas--compacta) { padding: 60px 0; }
.inicio .seccion__intro { margin-bottom: 30px; }

/* Pie: listas de enlaces en dos columnas en celular */
@media (max-width: 600px) {
  .pie__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .pie__grid > div:first-child, .pie__grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1240px) {
  .novedades { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .sobre--portada { grid-template-columns: 1fr; gap: 30px; }
  .pasos__cabeza { margin: 40px 0 28px; }
}
@media (max-width: 600px) {
  .inicio main > .seccion:not(.resenas--compacta) { padding: 48px 0; }
  .fichas .ficha { padding: 20px 18px; }
  .fichas .tarjeta__icono { width: 44px; height: 44px; }
  .fichas .ficha__beneficio { font-size: .97rem; margin-bottom: 10px; }
  .fichas .lista-check { margin-bottom: 14px; }
  .fichas .lista-check li { margin-bottom: 4px; }
  .ficha__acciones { gap: 8px 22px; }
  .ficha__acciones .btn { width: 100%; }
  .sobre--portada .sobre__foto--real { max-width: 230px; }
  /* Herramientas y alertas: carrusel horizontal con la tarjeta siguiente asomada */
  .novedades { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; margin: 0 -2px; overscroll-behavior-x: contain; }
  .novedades > * { scroll-snap-align: start; }
  .resenas--compacta .resenas__icono { display: none; }
  .cta-final--v2 .cta__foto { max-width: 190px; }
  .pasos--compactos { gap: 12px; }
  .pasos--compactos li { padding: 16px 16px 16px 66px; }
  .pasos--compactos li::before { top: 14px; left: 14px; }
  .resenas--compacta { padding: 36px 0; }
}

/* Páginas de perfil: índice de situaciones en la portada interior */
.indice { margin-top: 4px; }
.indice ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.indice a { display: inline-block; font-size: .88rem; font-weight: 600; color: #DCE8F7; text-decoration: none; border: 1px solid rgba(141,185,232,.45); background: rgba(141,185,232,.10); padding: 6px 13px; border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.indice a:hover { background: #fff; color: var(--azul-noche); border-color: #fff; }
.indice .indice__otro { border: 0; background: none; padding: 0; border-radius: 0; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.indice .indice__otro:hover { background: none; color: #fff; }

/* Situaciones en tarjetas: qué es, qué revisamos y plazo clave */
.situacion h3 { margin-bottom: .5em; }
.situacion .tarjeta__icono { margin-bottom: 14px; }
.situacion dl { margin: 0; }
.situacion dt { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--azul); margin: 12px 0 2px; }
.situacion dt:first-child { margin-top: 0; }
.situacion dd { margin: 0; color: var(--gris); font-size: .96rem; }
.situacion .enlace { padding-top: 16px; }
.situacion:target { border-color: var(--azul); box-shadow: 0 0 0 3px var(--celeste); }
.situaciones__nota { margin: 18px 0 0; }

/* Bloques de perfil: sindicatos, funcionarios */
.perfil-bloque { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.perfil-bloque__lead { font-size: 1.08rem; }
.perfil-bloque .lista-check { margin-bottom: 24px; }
.perfil-bloque__mas { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .95rem; font-weight: 600; }

/* Bloques con foto: Ley Karin para pymes y Charlas */
.sobre--bloque { grid-template-columns: 340px 1fr; gap: 64px; }
.sobre--bloque .chip { margin-bottom: 14px; }

/* Sobre mí: cómo trabajo */
.como-trabajo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; margin-bottom: 60px; }
.como-trabajo .seccion__intro { margin-bottom: 18px; }
.como-trabajo .principios { margin: 0; }
.como-trabajo__tarjetas { display: grid; gap: 18px; }
.como-trabajo__tarjetas .tarjeta { padding: 24px; }
.como-trabajo__tarjetas .tarjeta p { margin: 0; }

@media (max-width: 860px) {
  .perfil-bloque, .como-trabajo { grid-template-columns: 1fr; gap: 28px; }
  .sobre--bloque { grid-template-columns: 1fr; gap: 30px; }
  .sobre--bloque .sobre__foto--real { max-width: 260px; }
  .como-trabajo { margin-bottom: 48px; }
}

/* Consulta gratuita en el formulario */
.form__gratis { display: flex; gap: 12px; align-items: flex-start; background: var(--celeste-suave); border: 1px solid var(--celeste); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; color: var(--azul-noche); }
.form__gratis svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--azul); margin-top: 2px; }
.form__gratis p { margin: 0; font-size: .95rem; line-height: 1.5; }
.form__gratis p + p { margin-top: 10px; }
.form__gratis a { color: var(--azul); font-weight: 600; }

/* Tablas legibles en celular */
.prosa th, .prosa td { overflow-wrap: anywhere; }
@media (max-width: 600px) { .prosa th, .prosa td { padding: 8px 10px; } }
