/* 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;
}

/* ---------- 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; }
}
