/* SAS CABA — estilos
   TODOS los valores salen de getComputedStyle sobre los nodos hoja del sitio
   original en Wix. No hay nada estimado a ojo.

   Mapeo de tipografias (las dos primeras son licenciadas de Wix):
     futura-lt-w01-light  -> Jost 300   (Jost es un clon de Futura: geometrica)
     futura-lt-w01-book   -> Jost 400
     lulo-clean-one-bold  -> Jost 600/700 (display en mayusculas)
     didot-w01-italic     -> Playfair Display italic
     open-sans-v2         -> Open Sans (solo en la seccion del Fondo y el blog)

   Medidas del original (viewport 1280):
     h1 hero        33px  navy    centrado, subrayado
     PLANES         37px  #000    centrado
     otros h2       37px  #555    centrado   (fondo asistencia: 28px)
     conocenos      37px  #2a2a2a centrado
     plan h4        20px  #000    ls 1.6px, izquierda
     plan li        16px  #555
     ¿que es? p     22px  #000    centrado
     ventajas li    30px  #555    izquierda, dos columnas
     conocenos p    17px  #000    justificado
     fondo p        16px  #000    izquierda, Open Sans
     botones        15px  #59514D (CONTACTANOS 22px, FORMULARIO 14px)
*/

:root {
  --navy: #00305b;
  --teal: #41b7c4;
  --teal-cl: #b8e6ec;
  --gris: #555555;
  --gris-btn: #59514d;
  --casi-negro: #2a2a2a;
  --linea: #d8d8d8;
  --banda: #dddddd;
  --wsp: #25d366;

  --jost: "Jost", "Century Gothic", Futura, sans-serif;
  --os: "Open Sans", -apple-system, Segoe UI, Roboto, sans-serif;
  --didot: "Playfair Display", Didot, Georgia, serif;

  --ancho: 1000px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* la cabecera es fija: sin esto el ancla queda debajo y la seccion arranca
   a media pantalla */
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  background: #fff;
  color: var(--gris);
  font-family: var(--jost);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }

/* ---------- Titulos ---------- */
h1, h2, h3, h4 { font-family: var(--jost); margin: 0 0 .6em; }

h1 {
  font-size: clamp(25px, 2.6vw, 33px);
  line-height: 1.4;
  color: var(--navy);
  text-align: center;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

h2 {
  font-size: clamp(24px, 2.9vw, 37px);
  color: var(--gris);
  text-align: center;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.3;
}
h2.negro { color: #000; font-weight: 700; }
h2.chico { font-size: clamp(21px, 2.2vw, 28px); }
h2.medio { font-size: clamp(22px, 2.45vw, 31px); }
h2.oscuro { color: var(--casi-negro); }

h2.con-linea::after, .raya {
  content: "";
  display: block;
  width: 102px; height: 0;
  border-top: 1px solid rgba(131, 183, 230, .65);
  margin: 31px auto 0;
}
.raya { margin: 44px auto 0; }

/* ---------- Barra de promo ---------- */
.promo {
  background: #000;
  display: table;
  margin: 0 auto 46px;
  padding: 9px 30px;
  text-align: center;
}
.promo a {
  color: #fff; text-decoration: none; font-family: var(--jost);
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  font-size: 12px;
}
.promo a:hover { text-decoration: underline; }

/* ---------- Cabecera ---------- */
.cab { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50; }
.cab-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 91px; }
.logo img { width: 164px; height: 66px; object-fit: contain; object-position: left center; }

.menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.menu li + li { border-left: 1px solid var(--linea); }
.menu a {
  display: block; padding: 5px 13px;
  font-family: var(--jost); font-size: 11.5px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gris); text-decoration: none;
}
.menu a:hover { color: #000; }
.menu a[aria-current="page"] { background: var(--teal); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--linea); padding: 6px 11px; font-size: 17px; cursor: pointer; color: var(--gris); }

/* ---------- Hero ---------- */
.hero {
  padding: 15px 0 0;
  min-height: 385px;
  background-color: #cfe4f4;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hero .contenedor { position: relative; z-index: 1; }
.hero h1 a { color: inherit; text-decoration: inherit; }
.hero h1 {
  max-width: 760px; margin: 0 auto; padding-bottom: 60px;
  font-size: clamp(26px, 2.85vw, 36px);
  text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* ---------- Orbe del hero ---------- */
.orbe {
  position: absolute; top: 50%; left: 50%;
  width: 329px; height: 329px; margin: -164px 0 0 -164px;
  pointer-events: none; z-index: 0;
  animation: orbe-flota 9s ease-in-out infinite;
}
.orbe img { width: 100%; height: 100%; object-fit: contain; }
.orbe-halo {
  position: absolute; inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,255,255,.42) 34%, rgba(65,183,196,.20) 58%, rgba(65,183,196,0) 72%);
  animation: orbe-halo 9s ease-in-out infinite;
}
@keyframes orbe-flota {
  0%, 100% { transform: translateY(-7px) scale(1) }
  50%      { transform: translateY(7px) scale(1.022) }
}
@keyframes orbe-halo {
  0%, 100% { opacity: .55; transform: scale(.97) }
  50%      { opacity: .9;  transform: scale(1.05) }
}
@media (prefers-reduced-motion: reduce) {
  .orbe, .orbe-halo { animation: none }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--jost); font-size: 15px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 26px; min-width: 149px; text-align: center;
  border: 2px solid #000; background: transparent; color: var(--gris-btn);
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: #000; color: #fff; }
.btn-chico { font-size: 14px; font-weight: 700; letter-spacing: .18em; }
.btn-grande { font-size: clamp(16px, 1.8vw, 22px); padding: 15px 34px; }
.btn-teal { background: var(--teal); border-color: var(--teal); color: #fff; font-family: var(--os); font-weight: 400; letter-spacing: normal; text-transform: none; font-size: 16px; }
.btn-teal:hover { background: #2f97a3; border-color: #2f97a3; color: #fff; }

.seccion-cta { padding: 40px 0 0; }
#planes { padding-top: 25px; padding-bottom: 24px; }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(30px, 3.5vw, 50px) 0; }
.seccion.continua { padding-top: 0; }
.seccion.texto-grande:has(+ .seccion.continua) { padding-bottom: 14px; }
.seccion-gris { background: var(--banda); }
.centro-txt { text-align: center; }

/* parrafos grandes centrados de "¿Que es una SAS?" */
.texto-grande p {
  font-size: clamp(17px, 1.75vw, 22px);
  line-height: 1.36; color: #000; font-weight: 300;
  margin: 0 auto 1.3em; max-width: 940px; text-align: center;
}
.texto-grande b, .texto-grande strong { font-weight: 700; }
.texto-grande a { text-decoration: underline; }

/* ---------- Planes ---------- */
#planes .contenedor { max-width: 1026px; }
.planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: 30px; max-width: 978px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid #ededed; padding: 0 0 26px; display: flex; flex-direction: column; }
.plan img { width: 100%; aspect-ratio: 306 / 226; object-fit: cover; }
.plan h4 {
  font-size: 20px; font-weight: 700; color: #000;
  letter-spacing: 1.6px; text-transform: uppercase;
  margin: 22px 0 18px; padding: 0 9px;
}
.plan ul { list-style: disc; margin: 0 0 26px; padding: 0 9px 0 37px; flex: 1; }
.plan li { margin-bottom: 6px; font-size: 16px; line-height: 1.4; color: var(--gris); font-weight: 300; }
.plan .btn { align-self: center; }

.sellos { display: flex; justify-content: center; align-items: center; gap: 36px; flex-wrap: wrap; margin: 34px 0 0; }
.sellos a { display: block; line-height: 0; }
.sellos img { height: 147px; width: auto; max-width: 100%; }

/* ---------- Ventajas ---------- */
.ventajas-sec { background-size: cover; background-position: center; }
.ventajas {
  columns: 2; column-gap: 90px;
  list-style: disc; padding-left: 24px; margin: 0;
}
.ventajas li {
  margin-bottom: 10px; font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25; break-inside: avoid;
  color: var(--gris); font-weight: 400; text-align: left;
}
.ventajas-nota {
  margin: 46px auto 0; text-align: center;
  font-size: clamp(21px, 2.3vw, 30px); line-height: 1.3;
  color: var(--gris); font-weight: 400;
}

/* ---------- Conocenos ---------- */
.conocenos { display: grid; grid-template-columns: 1fr 405px; gap: 67px; align-items: start; }
.conocenos-foto { text-align: center; }
.conocenos-foto img { width: 216px; height: 217px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; filter: grayscale(1); }
.conocenos-foto .li-icono { display: block; width: 42px; margin: 0 auto 14px; }
.conocenos-foto .li-icono img { width: 42px; height: 42px; }
.conocenos-foto .nombre { font-family: var(--didot); font-style: italic; font-size: 20px; color: #0f0f0f; margin: 0 0 14px; font-weight: 400; }
.conocenos-foto p { font-size: 14px; line-height: 1.4; margin: 0 0 8px; color: #000; }
.conocenos-foto p:first-of-type { font-weight: 600; }
.conocenos-txt p { font-size: 17px; line-height: 1.5; margin: 0 0 20px; color: #000; text-align: justify; font-weight: 300; }
.conocenos-txt p:first-child { font-style: italic; }

/* ---------- Preguntas (Fondo Asistencia Laboral / FAQ) ---------- */
.preguntas { font-family: var(--os); }
.preguntas p { margin: 0 0 17px; font-size: 16px; line-height: 1.55; color: #000; font-weight: 400; text-align: justify; }
.preguntas b { font-weight: 700; color: #000; }

/* ---------- Formulario ---------- */
.form-sec {
  background-color: #eaf6f8;
  padding: clamp(44px, 4.6vw, 66px) 0;
  position: relative;
}
/* el original tapa la textura con un velo casi blanco; sin esto se ve
   mucho mas saturada de lo que corresponde */
.form-sec::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(243, 251, 252, .90);
  pointer-events: none;
}
.form-sec > * { position: relative; z-index: 1; }
.form { max-width: 600px; margin: 0 auto; }
.form-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label {
  display: block; font-family: var(--jost); font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gris);
  margin-bottom: 7px;
}
.form input, .form textarea {
  width: 100%; padding: 9px 11px; margin-bottom: 20px;
  border: 1px solid #cfd8dc; border-radius: 0; background: #fff;
  font-family: var(--os); font-size: 15px; color: #000;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; }
.form textarea { min-height: 118px; resize: vertical; }
.form .btn-teal { display: block; margin: 8px auto 0; border: 0; min-width: 130px; padding: 11px 34px; }
.form-ok {
  max-width: 600px; margin: 0 auto; padding: 26px 24px; text-align: center;
  background: #fff; border: 1px solid var(--teal);
  font-family: var(--os); font-size: 16px; line-height: 1.6; color: var(--navy);
}
.form-nota { font-family: var(--os); font-size: 13px; color: var(--gris); text-align: center; margin-top: 16px; }

/* ---------- Portada de pagina interna ---------- */
.portada-pag {
  padding: 46px 0 40px;
  text-align: center;
  background: linear-gradient(100deg, #efe6f6 0%, #dceaf7 38%, #cdeef2 72%, #bfe9ef 100%);
  border-bottom: 1px solid rgba(131, 183, 230, .4);
}
.portada-pag .marca {
  display: inline-grid; place-items: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 4px 22px rgba(0, 48, 91, .10);
  margin-bottom: 22px;
}
.portada-pag .marca img { width: 46px; height: 46px; object-fit: contain; }
.portada-pag h1 { margin: 0; padding: 0; }

/* guia larga: subtitulos en negrita y cuerpo justificado */
.articulo.guia p { text-align: justify; }
.articulo.guia h3 {
  font-family: var(--os); font-weight: 700; color: #000;
  font-size: 17px; letter-spacing: 0; text-transform: none;
  margin: 1.9em 0 .7em; text-align: left;
}

/* ---------- Herramientas contables ---------- */
.herramientas-nav { background: #f7fbfc; border-bottom: 1px solid #dbe9ec; }
.herramientas-nav .contenedor { display: flex; justify-content: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.herramientas-nav a {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500;
}
.herramientas-nav a:hover { background: #e6f4f6; }
.herramientas-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

.portada-herramienta {
  padding: clamp(44px, 6vw, 76px) 0;
  background:
    radial-gradient(circle at 82% 25%, rgba(65,183,196,.28), transparent 30%),
    linear-gradient(115deg, #f1eaf7 0%, #dcecf8 48%, #d8f3f5 100%);
  border-bottom: 1px solid rgba(131,183,230,.45); text-align: center;
}
.portada-herramienta h1 { max-width: 830px; margin: 0 auto 15px; letter-spacing: .065em; }
.portada-herramienta .bajada {
  max-width: 700px; margin: 0 auto; color: #254b61;
  font-family: var(--os); font-size: clamp(17px, 2vw, 21px); line-height: 1.55;
}
.sobrelinea {
  margin: 0 0 11px; color: #217d88; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.herramienta-sec { padding: clamp(38px, 5vw, 68px) 0; background: #f7fafb; }
.aviso-alcance, .aviso-fiscal {
  max-width: 920px; margin: 0 auto 24px; padding: 14px 18px;
  border: 1px solid #a9d9df; border-left: 4px solid var(--teal);
  background: #fff; color: #173f56; font-family: var(--os);
  font-size: 14px; line-height: 1.55;
}
.herramienta-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 28px; max-width: 920px; margin: 0 auto; align-items: start;
}
.panel-herramienta, .panel-resultado {
  background: #fff; border: 1px solid #dbe6e9; border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0,48,91,.07); padding: clamp(24px, 3.5vw, 38px);
}
.panel-herramienta h2 {
  margin-bottom: 8px; color: var(--navy); text-align: left;
  font-size: 24px; letter-spacing: .06em;
}
.panel-intro { margin: 0 0 27px; color: #60727c; font-family: var(--os); font-size: 14px; line-height: 1.55; }
.calculadora-form > label:not(.check-grande), .consulta-form label {
  display: block; margin: 0 0 8px; color: #183e53;
  font-size: 13px; font-weight: 600; letter-spacing: .045em;
}
.calculadora-form > label span { display: block; color: #71818a; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.calculadora-form input[type="number"], .consulta-form select {
  width: 100%; min-height: 47px; padding: 10px 12px; margin: 0 0 22px;
  border: 1px solid #bdcdd2; border-radius: 7px; background: #fff;
  color: #102f42; font-family: var(--os); font-size: 16px;
}
.calculadora-form input:focus, .consulta-form select:focus {
  outline: 3px solid rgba(65,183,196,.23); border-color: #2795a1;
}
.campos-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campos-dos label { display: block; margin: 0 0 8px; color: #183e53; font-size: 13px; font-weight: 600; letter-spacing: .045em; }
.campo-con-unidad { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; margin-bottom: 5px; }
.campo-con-unidad > span, .campo-con-unidad > b {
  height: 47px; display: grid; place-items: center; background: #eef5f6;
  border: 1px solid #bdcdd2; color: #31566a; font-family: var(--os);
}
.campo-con-unidad > span { border-radius: 7px 0 0 7px; border-right: 0; }
.campo-con-unidad > b { border-radius: 0 7px 7px 0; border-left: 0; padding: 0 12px; font-size: 12px; font-weight: 600; }
.campo-con-unidad input[type="number"] { margin: 0; border-radius: 0; }
.ayuda-campo { margin: 0 0 21px; color: #75858d; font-family: var(--os); font-size: 12px; }
.check-grande {
  display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 25px;
  padding: 15px; background: #f5fafb; border: 1px solid #d8e8eb;
  border-radius: 8px; cursor: pointer;
}
.check-grande input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--teal); }
.check-grande span { display: block; color: #183e53; line-height: 1.35; }
.check-grande strong { display: block; font-size: 14px; font-weight: 600; }
.check-grande small { display: block; margin-top: 3px; color: #697a83; font-family: var(--os); font-size: 12px; }
.btn-calcular { width: 100%; }
.solo-lectores { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.panel-resultado {
  position: sticky; top: 112px; overflow: hidden;
  background: linear-gradient(145deg, #00305b 0%, #07526f 100%);
  border-color: transparent; color: #fff;
}
.resultado-etiqueta { margin: 0 0 7px; color: #b9e9ed; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.resultado-total { margin: 0; color: #fff; font-family: var(--jost); font-size: clamp(37px, 5vw, 55px); font-weight: 600; line-height: 1.1; }
.resultado-vigencia { margin: 8px 0 24px; color: #b8d3df; font-family: var(--os); font-size: 12px; }
.resultado-detalle { list-style: none; padding: 17px 0; margin: 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.resultado-detalle li { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 9px; font-family: var(--os); font-size: 13px; }
.resultado-detalle li:last-child { margin-bottom: 0; }
.resultado-detalle strong { white-space: nowrap; color: #fff; }
.resultado-nota { color: #d9e6ec; font-family: var(--os); font-size: 12.5px; line-height: 1.55; margin: 20px 0; }
.btn-wsp-resultado { width: 100%; min-width: 0; padding: 12px 13px; background: #fff; border-color: #fff; color: var(--navy); font-size: 12px; letter-spacing: .08em; }
.btn-wsp-resultado:hover { background: #bdebf0; border-color: #bdebf0; color: var(--navy); }
.privacidad-corta { margin: 12px 0 0; text-align: center; color: #aac6d2; font-family: var(--os); font-size: 11px; }

.alcance-sec { padding-top: clamp(42px, 5vw, 65px); padding-bottom: clamp(42px, 5vw, 65px); }
.alcance-sec h2 { color: var(--navy); margin-bottom: 15px; }
.alcance-intro { max-width: 760px; margin: 0 auto 31px; text-align: center; color: #304f5f; font-family: var(--os); line-height: 1.65; }
.alcance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin: 0 auto; }
.alcance-card { background: rgba(255,255,255,.85); border: 1px solid #cddde2; padding: 24px; }
.alcance-card h3 { color: var(--navy); font-size: 18px; font-weight: 600; }
.alcance-card ul { margin: 0; padding-left: 20px; }
.alcance-card li { margin-bottom: 8px; color: #243f4d; font-family: var(--os); font-size: 14px; line-height: 1.5; }
.vigencia-seis { max-width: 920px; margin: 20px auto 0; padding: 15px; text-align: center; background: var(--navy); color: #fff; font-family: var(--os); font-weight: 600; }
.herramienta-texto .articulo h2 { color: var(--navy); }

.vencimientos-sec .contenedor { max-width: 1120px; }
.consulta-form { max-width: none; display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: end; }
.consulta-form h2 { margin-bottom: 7px; }
.consulta-form .panel-intro { margin-bottom: 0; }
.consulta-campos { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 12px; align-items: end; }
.consulta-form select { margin: 0; min-width: 0; }
.consulta-form .btn { min-height: 47px; min-width: 155px; padding-left: 16px; padding-right: 16px; }
.vencimientos-meta { display: flex; justify-content: space-between; gap: 20px; margin: 28px 2px 12px; color: #526c7a; font-family: var(--os); font-size: 13px; }
.vencimientos-meta p { margin: 0; }
.tabla-scroll { overflow-x: auto; background: #fff; border: 1px solid #d7e4e8; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,48,91,.05); }
.tabla-vencimientos { width: 100%; border-collapse: collapse; min-width: 680px; font-family: var(--os); }
.tabla-vencimientos th { padding: 13px 14px; background: #e9f3f5; color: #173f56; text-align: left; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.tabla-vencimientos td { padding: 15px 14px; border-top: 1px solid #e5edef; color: #284756; font-size: 13px; vertical-align: middle; }
.tabla-vencimientos td strong { display: block; color: #15384b; font-size: 14px; }
.tabla-vencimientos td small { display: block; margin-top: 3px; color: #748791; font-size: 11px; }
.tabla-vencimientos td a { color: #187b87; font-weight: 600; }
.tabla-vencimientos time { color: #092f46; font-weight: 700; }
.tabla-vencimientos .grupo-vencimiento-titulo th {
  padding: 13px 15px; border-top: 12px solid #f7fafb; background: var(--navy);
  color: #fff; text-transform: none; letter-spacing: 0;
}
.tabla-vencimientos .grupo-vencimiento-titulo:first-child th { border-top: 0; }
.grupo-vencimiento-titulo strong { margin-right: 12px; font-size: 15px; }
.grupo-vencimiento-titulo span { color: #b9dce2; font-size: 12px; font-weight: 500; }
.grupo-vencimiento-titulo small { display: inline; margin-left: 12px; color: #d9e8eb; font-size: 11px; font-weight: 400; }
.grupo-vencimiento-opcion td:first-child { width: 38%; font-weight: 700; color: #173f56; }
.estado-fecha { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.estado-fecha.proximo { background: #e1f6ee; color: #126345; }
.estado-fecha.hoy { background: #fff0c8; color: #795500; }
.estado-fecha.vencido { background: #eef1f2; color: #69777d; }
.resultado-vacio { padding: 34px; text-align: center; background: #fff; border: 1px solid #d7e4e8; color: #526c7a; }
.aviso-fiscal { margin: 22px 0 0; max-width: none; border-color: #e3cc91; border-left-color: #d5a627; background: #fffdf7; color: #56491e; }

/* ---------- Blog ---------- */
.posts { max-width: 900px; margin: 0 auto; }
.post-card {
  position: relative;
  border: 1px solid #d8e9f4; background: #eff7fc;
  padding: 22px 26px 26px; margin-bottom: 26px;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.post-card:hover, .post-card:focus-within {
  background: #fff; border-color: #c3ddee;
  box-shadow: 0 3px 14px rgba(0, 48, 91, .07);
}
.post-card .meta { font-family: var(--os); font-size: 12px; color: #7a7a7a; display: block; margin-bottom: 14px; line-height: 1.5; }
.post-card h2 { font-size: 17px; text-align: left; letter-spacing: .12em; color: #333; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.post-card h2 a { text-decoration: none; }
/* el enlace del titulo se estira sobre toda la tarjeta: un solo enlace, misma
   semantica, pero se puede tocar en cualquier parte */
.post-card h2 a::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
.post-card h2 a:hover { color: var(--teal); }
.post-card .resumen { font-family: var(--os); font-size: 14px; line-height: 1.6; margin: 0; color: #000; }

.cats { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; padding: 0 0 8px; margin: 0 0 32px; border-bottom: 1px solid #eee; }
.cats a { font-family: var(--jost); font-size: 15px; letter-spacing: .03em; text-decoration: none; color: #8a8a8a; padding-bottom: 8px; display: inline-block; }
.cats a:hover { color: #000; }
.cats a[aria-current="page"] { color: #000; border-bottom: 2px solid var(--teal); }

/* ---------- Articulo ---------- */
.articulo { max-width: 800px; margin: 0 auto; font-family: var(--os); }
.articulo h1 { font-family: var(--jost); text-align: left; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(20px, 2.3vw, 26px); font-weight: 700; color: #333; line-height: 1.5; }
.articulo .meta { display: block; font-size: 12.5px; color: #7a7a7a; margin-bottom: 32px; }
.articulo p { margin: 0 0 1.2em; font-size: 15.5px; line-height: 1.65; color: #000; font-weight: 400; }
.articulo h2, .articulo h3, .articulo h4 { font-family: var(--os); text-align: left; text-transform: none; letter-spacing: 0; color: #000; margin-top: 1.8em; font-weight: 700; }
.articulo h2 { font-size: 20px; }
.articulo h3 { font-size: 18px; }
.articulo ul, .articulo ol { padding-left: 22px; margin: 0 0 1.2em; }
.articulo li { margin-bottom: .45em; font-size: 15.5px; line-height: 1.6; color: #000; }
.articulo figure { margin: 28px 0; }
.articulo blockquote { margin: 26px 0; padding-left: 20px; border-left: 3px solid var(--teal); font-style: italic; }
.portada { margin-bottom: 30px; }

/* ---------- Clientes ---------- */
.clientes { columns: 2; column-gap: 70px; }
.cliente { break-inside: avoid; margin-bottom: 30px; display: flex; gap: 16px; align-items: flex-start; }
.cliente-logo { flex: 0 0 78px; }
.cliente h4 {
  font-family: var(--jost); font-size: 17px; text-transform: none;
  letter-spacing: .04em; color: #1a4a63; font-weight: 400;
  background: var(--teal-cl); display: inline; padding: 1px 4px; margin: 0;
  line-height: 1.7;
}
.cliente-datos p { font-family: var(--os); font-size: 13px; line-height: 1.5; margin: 10px 0 0; color: #000; }
.cliente-datos::after { content: ""; display: block; width: 54px; height: 2px; background: var(--teal); margin-top: 14px; }

/* ---------- Pie ---------- */
.pie { padding: 26px 0 0; text-align: center; }
.pie-logo img { width: 300px; max-width: 78%; height: auto; margin: 0 auto 26px; }
.pie-contacto { list-style: none; padding: 0; margin: 0 auto 30px; display: inline-block; text-align: left; }
.pie-contacto li { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; font-size: 16px; font-weight: 400; color: var(--gris); letter-spacing: .02em; }
.pie-contacto svg { width: 20px; height: 20px; flex: 0 0 20px; fill: var(--teal); }
.pie-contacto a { color: var(--gris); text-decoration: none; }
.pie-contacto a:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.pie-legal { font-family: var(--jost); font-size: 12.5px; color: #8a8a8a; padding: 20px 0 28px; text-align: center; border-top: 1px solid #eee; margin-top: 4px; }

/* ---------- WhatsApp ---------- */
.wsp { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 117px; height: 117px; display: block; }
.wsp img { width: 117px; height: 117px; }
.cta-wsp { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 34px; }
.wsp-inline { display: inline-block; width: 117px; height: 117px; }
.wsp-inline img { width: 117px; height: 117px; }

.wsp-cab { display: none; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 100; }

@media (max-width: 900px) {
  .conocenos { grid-template-columns: 1fr; gap: 30px; }
  .ventajas, .clientes { columns: 1; }
  .conocenos-txt p { text-align: left; }
}

@media (max-width: 620px) {
  /* el hero del original mide ~290px sobre 320 de ancho: sin esto queda
     mas del doble de alto por el min-height y los padding de escritorio */
  .hero { min-height: 300px; padding: 16px 0 0;
          background-size: cover; background-position: center; }
  .hero h1 { padding-bottom: 40px; letter-spacing: .06em; }
  /* en pantalla chica el orbe compite con el titulo: mas chico y mas tenue */
  .orbe { width: 74vw; height: 74vw; margin: -37vw 0 0 -37vw; opacity: .55; }
  .promo { margin: 0 auto 22px; padding: 8px 14px; }
  .promo a { font-size: 11px; letter-spacing: .12em; }
  .wsp, .wsp img { width: 74px; height: 74px; }
  .wsp-inline { width: 34%; height: auto; }
  .wsp-inline img { width: 100%; height: auto; aspect-ratio: 1; }
  .cta-wsp { flex-direction: column; gap: 16px; }
  /* los sellos van apilados y ocupan el mismo % de ancho que en el original */
  .sellos { flex-direction: column; gap: 22px; }
  .sellos img { height: auto; }
  .sellos > *:nth-child(1), .sellos > *:nth-child(1) img { width: 100%; }
  .sellos > *:nth-child(2) { width: 29%; }
  .sellos > *:nth-child(2) img { width: 100%; }
  /* la foto de la firmante ocupa 66% del ancho, como en el original */
  .conocenos-foto img { width: 66%; height: auto; aspect-ratio: 216 / 217; }
  /* las etiquetas del formulario son de 16px en el movil original, no 13 */
  .form label { font-size: 16px; }
  .plan h4 { font-size: 21px; }
  /* el original suma un acceso a WhatsApp en la cabecera movil */
  .wsp-cab { display: block; width: 57px; margin-left: auto; }
  .wsp-cab img { width: 57px; height: 57px; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--linea); padding: 6px 18px 14px; }
  .menu.abierto { display: flex; }
  .menu li + li { border-left: 0; border-top: 1px solid #f0f0f0; }
  .menu a { padding: 12px 6px; }
  .form-fila { grid-template-columns: 1fr; gap: 0; }
  .herramienta-grid { grid-template-columns: 1fr; }
  .panel-resultado { position: static; }
  .consulta-form { grid-template-columns: 1fr; align-items: stretch; }
  .consulta-form .panel-intro { margin-bottom: 18px; }
  .consulta-campos { grid-template-columns: 1fr 1fr; }
  .consulta-form .btn { width: 100%; }
}

@media (max-width: 620px) {
  .herramientas-nav .contenedor { padding-left: 14px; padding-right: 14px; overflow-x: auto; justify-content: flex-start; }
  .herramientas-nav a { white-space: nowrap; font-size: 12px; padding: 7px 12px; }
  .portada-herramienta { padding: 38px 0 42px; }
  .portada-herramienta h1 { font-size: 24px; letter-spacing: .04em; }
  .portada-herramienta .bajada { font-size: 16px; }
  .herramienta-sec { padding: 30px 0 42px; }
  .herramienta-sec .contenedor { padding-left: 16px; padding-right: 16px; }
  .panel-herramienta, .panel-resultado { padding: 23px 19px; border-radius: 10px; }
  .campos-dos, .alcance-grid, .consulta-campos { grid-template-columns: 1fr; gap: 0; }
  .resultado-total { font-size: 40px; }
  .resultado-detalle li { align-items: flex-start; }
  .alcance-card { padding: 21px 19px; }
  .alcance-card li { font-size: 13px; }
  .vencimientos-meta { display: block; }
  .vencimientos-meta p + p { margin-top: 6px; }
  .tabla-scroll { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .tabla-vencimientos { min-width: 0; }
  .tabla-vencimientos thead { display: none; }
  .tabla-vencimientos, .tabla-vencimientos tbody, .tabla-vencimientos tr { display: block; width: 100%; }
  .tabla-vencimientos tr {
    margin-bottom: 12px; padding: 8px 14px; background: #fff;
    border: 1px solid #d7e4e8; border-radius: 9px;
    box-shadow: 0 5px 18px rgba(0,48,91,.04);
  }
  .tabla-vencimientos td {
    display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 10px;
    padding: 9px 0; border-top: 1px solid #edf2f3; align-items: start;
  }
  .tabla-vencimientos td:first-child { border-top: 0; }
  .tabla-vencimientos td::before {
    content: attr(data-label); color: #617985; font-size: 10px;
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  }
  .tabla-vencimientos td strong { font-size: 13px; }
  .tabla-vencimientos .grupo-vencimiento-titulo {
    margin: 19px 0 0; padding: 0; border: 0; border-radius: 9px 9px 0 0;
    background: transparent; box-shadow: none;
  }
  .tabla-vencimientos .grupo-vencimiento-titulo:first-child { margin-top: 0; }
  .tabla-vencimientos .grupo-vencimiento-titulo th {
    display: block; padding: 13px 14px; border-top: 0; border-radius: 9px 9px 0 0;
  }
  .grupo-vencimiento-titulo strong, .grupo-vencimiento-titulo span,
  .grupo-vencimiento-titulo small { display: block; margin: 0; }
  .grupo-vencimiento-titulo span { margin-top: 3px; }
  .grupo-vencimiento-titulo small { margin-top: 3px; }
  .tabla-vencimientos .grupo-vencimiento-opcion {
    margin-bottom: 8px; border-radius: 0 0 9px 9px;
  }
  .tabla-vencimientos .grupo-vencimiento-opcion + .grupo-vencimiento-opcion {
    border-radius: 9px;
  }
}
