/* ============================================================
   LAS PAGINAS DE SERVICIOS Y EL BLOG (rediseno del 24/10/2026)
   /paginas-web/, /software-personalizado/, /servicios/* y /blog/.
   Se carga DESPUES de css/comun.css, que trae los colores, las
   letras, la barra, los botones, el pie, el boton flotante y las
   pantallas de ejemplo. Aca va solo lo de estas paginas, con el
   mismo idioma que la portada: titulos grandes y centrados,
   secciones que alternan blanco y pergamino, tarjetas sin sombra.
   Los nombres de las clases son los de antes a proposito: el
   contenido de las paginas no cambio.
   ============================================================ */

main .wrap{ max-width: 1120px; margin: 0 auto; }

main > section, article > .art-cuerpo{ padding: clamp(84px, 10vw, 132px) var(--lado); }
main > section{ position: relative; background: var(--lienzo); }
main > section.banda{ background: var(--pergamino); }

.stack{ display: flex; flex-direction: column; gap: clamp(40px, 5vw, 56px); }
.col{ max-width: 68ch; }
.rule{ border: 0; border-top: 1px solid var(--linea); margin: 0; }

h1, h2, h3{ margin: 0; color: var(--tinta); }
p{ margin: 0; }

/* El "PASO 1" se sigue leyendo en voz alta, pero el numero grande lo dibuja el CSS. */
.oculto, .spaso .n{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- botones de antes (btn-lg y los iconos sin clase) ---------- */
.btn svg{ width: 19px; height: 19px; flex: none; }
.btn-lg{ min-height: 54px; padding: 15px 30px; font-size: 17.5px; }
.btn-lg svg{ width: 22px; height: 22px; }
@media (max-width: 360px){
  .btn-lg{ padding: 14px 20px; font-size: 16.5px; gap: 7px; }
}

/* ============================================================
   LA PORTADA DE CADA SERVICIO
   ============================================================ */

main > section.shero{
  padding-top: calc(var(--barra) + clamp(48px, 8vh, 100px));
  padding-bottom: clamp(48px, 6vw, 80px);
  text-align: center;
  overflow: clip;
  background:
    radial-gradient(1000px 560px at 50% -10%, #E3EFFC 0%, rgba(227, 239, 252, 0) 72%),
    var(--lienzo);
}
.shero > .wrap{ display: flex; flex-direction: column; align-items: center; }
.shero .eyebrow{ margin-bottom: 16px; }
.shero h1{
  max-width: 980px;
  font-size: clamp(2.45rem, 1.1rem + 4.3vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 650;
  text-wrap: balance;
}
.shero h1 em{
  font-style: normal;
  background: linear-gradient(100deg, #1B57A8 0%, #1B6FC8 38%, #3D9BE0 72%, #58B6EC 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  padding-bottom: .08em;
}
.shero > .wrap > p:not(.eyebrow):not(.strust){
  margin-top: 22px;
  max-width: 660px;
  font-size: clamp(1.12rem, .98rem + .6vw, 1.42rem);
  line-height: 1.42;
  letter-spacing: -.016em;
  color: var(--tinta-2);
  text-wrap: balance;
}
.scta{ display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin-top: 34px; }
.strust{ margin-top: 20px; font-size: 14px; color: var(--tinta-3); text-wrap: balance; }
.shero .render{ width: 100%; margin-top: clamp(56px, 7vw, 90px); }
.shero .rotulo{ padding-bottom: 0; }

/* ---------- migas de pan (blog) ---------- */
.migas{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  font-size: 13.5px;
  color: var(--tinta-3);
}
.migas li + li::before{ content: "/"; margin-right: 6px; color: var(--linea-2); }
.migas a{ color: var(--tinta-2); text-decoration: none; }
.migas a:hover{ color: var(--azul); }

/* ============================================================
   LOS TITULOS DE CADA SECCION
   ============================================================ */

.shead{ max-width: 840px; margin: 0 auto; text-align: center; }
.shead .eyebrow{ margin-bottom: 14px; }
.shead h2{
  font-size: clamp(2rem, 1.15rem + 3vw, 3.4rem);
  line-height: 1.07;
  letter-spacing: -.034em;
  font-weight: 650;
  text-wrap: balance;
}
.shead p:not(.eyebrow){
  margin: 18px auto 0;
  max-width: 660px;
  font-size: clamp(1.06rem, .98rem + .35vw, 1.24rem);
  line-height: 1.5;
  color: var(--tinta-2);
  text-wrap: pretty;
}

/* ============================================================
   TARJETAS, LISTAS Y PASOS
   ============================================================ */

.items{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}
.item{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r);
  background: var(--pergamino);
}
.banda .item{ background: #fff; }
.item-ico{
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(140deg, #3D9BE0, #1B6FC8);
}
.item-ico svg{ width: 22px; height: 22px; }
.item b{ font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--tinta); }
.item p{ font-size: 16px; line-height: 1.55; color: var(--tinta-2); }

/* La lista de lo que hace (con tildes verdes) */
.ticks{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 14px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.ticks li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--pergamino);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--tinta-2);
}
.banda .ticks li{ background: #fff; }
.ticks li svg{
  width: 28px; height: 28px;
  flex: none;
  padding: 6px;
  border-radius: 50%;
  color: #fff;
  background: var(--verde);
}
.ticks li b{ color: var(--tinta); font-weight: 600; }

/* Los cuatro pasos: el numero grande lo dibuja un contador, y una
   linea los une (de la mitad del primero a la mitad del ultimo). */
.spasos{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: paso;
  text-align: left;
}
.spasos::before{
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: calc(25% - 49px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--azul), var(--celeste));
}
.spaso{ position: relative; }
.spaso::before{
  counter-increment: paso;
  content: counter(paso);
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 650;
  color: #fff;
  background: var(--azul);
  box-shadow: 0 0 0 7px rgba(27, 111, 200, .13);
}
.spaso h3{ margin: 24px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.022em; line-height: 1.25; }
.spaso p{ font-size: 16px; line-height: 1.5; color: var(--tinta-2); }

@media (max-width: 860px){
  .spasos{ grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 460px; margin: 0 auto; width: 100%; }
  .spasos::before{ top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--azul), var(--celeste)); }
  .spaso{ padding-left: 78px; min-height: 56px; }
  .spaso::before{ position: absolute; left: 0; top: 0; }
  .spaso h3{ margin-top: 12px; }
}

/* ============================================================
   PREGUNTAS
   ============================================================ */

.sfaq{ max-width: 860px; width: 100%; margin: 0 auto; }
.sqa{ padding: 26px 0; border-top: 1px solid var(--linea); }
.sqa:last-child{ border-bottom: 1px solid var(--linea); }
.sqa h3{ font-size: clamp(18px, 16px + .5vw, 21px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.sqa p{ margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: var(--tinta-2); }

/* ============================================================
   EL CIERRE AZUL (dentro de una banda): un solo boton
   ============================================================ */

.close{
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(56px, 8vw, 104px) clamp(22px, 5vw, 64px);
  border-radius: var(--r-grande);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(127, 212, 245, .35), transparent 70%),
    linear-gradient(180deg, #1B6FC8 0%, #165AA8 100%);
}
.close h2{
  max-width: 860px;
  color: #fff;
  font-size: clamp(1.9rem, 1.05rem + 2.9vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.034em;
  font-weight: 650;
  text-wrap: balance;
}
.close p{ max-width: 620px; font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.5; color: rgba(255, 255, 255, .86); text-wrap: balance; }
.close .btn{ margin-top: 10px; }

/* ============================================================
   OTROS SERVICIOS / MAS RECURSOS
   ============================================================ */

.relacionados{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.rel{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 56px 26px 26px;
  border-radius: var(--r);
  text-decoration: none;
  color: var(--tinta);
  background: var(--pergamino);
  transition: transform .12s ease-out, background-color .2s ease;
}
.banda .rel{ background: #fff; }
.rel::after{
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9.5 6 6 6-6 6' fill='none' stroke='%231B6FC8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s ease;
}
.rel:hover{ background: #E9F1FB; }
.rel:hover::after{ transform: translateX(3px); }
.rel:active{ transform: scale(.98); }
.rel b{ font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.rel span{ font-size: 15.5px; line-height: 1.5; color: var(--tinta-2); }

/* ============================================================
   EL EJEMPLO DE /paginas-web/: esta misma pagina en un navegador
   y en un celular (capturas reales del sitio)
   ============================================================ */

.ejemplo{ position: relative; width: 100%; max-width: 980px; margin: 0 auto; padding: 0 0 40px; }
.marco-pc{
  width: 86%;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--sombra-producto), 0 0 0 1px rgba(12, 26, 48, .08);
}
.marco-barra{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #F3F5F8;
  border-bottom: 1px solid var(--linea);
}
.marco-barra i{ width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.marco-barra i:nth-child(2){ background: #FEBC2E; }
.marco-barra i:nth-child(3){ background: #28C840; }
.marco-url{
  margin: 0 auto;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--tinta-3);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--linea);
  transform: translateX(-24px);
}
.marco-pc img, .marco-cel img{ display: block; width: 100%; height: auto; }
.marco-cel{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  overflow: hidden;
  border-radius: 28px;
  border: 7px solid #0D1017;
  background: #0D1017;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 60px -26px rgba(12, 26, 48, .6);
}
.ejemplo figcaption{ margin-top: 22px; max-width: 64%; font-size: 13.5px; color: var(--tinta-3); text-align: left; }
@media (max-width: 599px){
  .marco-pc{ width: 92%; }
  .marco-url{ display: none; }
  .marco-cel{ width: 34%; border-width: 4px; border-radius: 18px; }
  .ejemplo{ padding-bottom: 70px; }
}

/* ============================================================
   EL BLOG: listado
   ============================================================ */

main > section.lista{ padding-top: 0; }
.articulos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}
.articulo-card{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3vw, 34px);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  background: var(--pergamino);
  transition: transform .12s ease-out, background-color .2s ease;
}
.articulo-card:hover{ background: #E9F1FB; }
.articulo-card:active{ transform: scale(.985); }
.articulo-card small{ font-size: 14px; font-weight: 600; color: var(--azul); }
.articulo-card h2{ font-size: clamp(21px, 18px + .8vw, 25px); line-height: 1.22; letter-spacing: -.025em; font-weight: 650; }
.articulo-card p{ font-size: 16px; line-height: 1.55; color: var(--tinta-2); }
.articulo-card .leer{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--azul);
}
.articulo-card .leer i{ font-style: normal; font-weight: 400; color: var(--tinta-3); }

/* ============================================================
   EL BLOG: cada articulo
   ============================================================ */

.art-head{
  padding: calc(var(--barra) + clamp(44px, 7vh, 90px)) var(--lado) clamp(28px, 4vw, 44px);
  text-align: center;
  background:
    radial-gradient(1000px 520px at 50% -10%, #E3EFFC 0%, rgba(227, 239, 252, 0) 72%),
    var(--lienzo);
}
.art-head .wrap{ max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.art-head h1{
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -.036em;
  font-weight: 650;
  text-wrap: balance;
}
.art-head .bajada{ max-width: 640px; font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); line-height: 1.45; color: var(--tinta-2); text-wrap: balance; }
.art-meta{ margin-top: 20px; font-size: 14px; color: var(--tinta-3); }

article > .art-cuerpo{ padding-top: clamp(24px, 4vw, 48px); max-width: calc(720px + 2 * var(--lado)); margin: 0 auto; }
.prosa{ font-size: 18px; line-height: 1.68; letter-spacing: -.012em; }
.prosa > * + *{ margin-top: 1.05em; }
.prosa > :first-child, .prosa > .oculto + *{ margin-top: 0; }
.prosa h2{ margin-top: 2em; font-size: clamp(24px, 20px + 1vw, 30px); line-height: 1.2; letter-spacing: -.028em; font-weight: 650; }
.prosa h3{ margin-top: 1.6em; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.prosa h2 + *, .prosa h3 + *{ margin-top: .6em; }
.prosa p, .prosa li{ color: #2B3B53; }
.prosa b{ color: var(--tinta); font-weight: 600; }
.prosa ul, .prosa ol{ margin-bottom: 0; padding-left: 1.25em; }
.prosa li + li{ margin-top: .5em; }
.prosa li::marker{ color: var(--azul); }
.prosa blockquote{
  margin-inline: 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--pergamino);
  color: var(--tinta);
  font-size: 1.05em;
  font-weight: 500;
}
.prosa a{ color: var(--azul); text-underline-offset: 3px; }

.tabla-comp{ overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--linea); }
.tabla-comp table{ width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.tabla-comp th, .tabla-comp td{ padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linea); }
.tabla-comp thead th, .tabla-comp thead td{ font-size: 14px; font-weight: 600; color: var(--azul); background: var(--pergamino); }
.tabla-comp tbody th{ font-size: 15px; font-weight: 600; color: var(--tinta); }
.tabla-comp td{ color: var(--tinta-2); }
.tabla-comp tbody tr:last-child th, .tabla-comp tbody tr:last-child td{ border-bottom: 0; }

/* la tabla comparativa, en pantallas chicas, pasa a tarjetas: una por fila */
@media (max-width: 600px){
  .tabla-comp{ overflow: visible; box-shadow: none; border-radius: 0; }
  .tabla-comp table{ min-width: 0; }
  .tabla-comp thead{
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .tabla-comp table, .tabla-comp tbody, .tabla-comp tr, .tabla-comp th, .tabla-comp td{ display: block; }
  .tabla-comp tbody tr{ padding: 16px 18px; border-radius: 18px; background: var(--pergamino); }
  .tabla-comp tbody tr + tr{ margin-top: 12px; }
  .tabla-comp tbody th{ padding: 0 0 6px; border: 0; font-size: 16px; color: var(--azul); }
  .tabla-comp td{ padding: 8px 0 0; border: 0; }
  .tabla-comp td + td{ margin-top: 8px; border-top: 1px dashed var(--linea-2); }
  .tabla-comp td::before{ content: attr(data-col); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: var(--tinta-3); }
}

.art-cta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 48px 0 8px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--r-grande);
  color: #fff;
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(127, 212, 245, .35), transparent 70%),
    linear-gradient(160deg, #1B6FC8 0%, #165AA8 100%);
}
.art-cta h2{ color: #fff; font-size: clamp(22px, 19px + 1vw, 28px); line-height: 1.2; letter-spacing: -.026em; font-weight: 650; }
.art-cta p{ color: rgba(255, 255, 255, .86); font-size: 16.5px; line-height: 1.55; }
.art-cta .acciones{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.art-cta .acciones a:not(.btn){ font-weight: 600; font-size: 15px; color: #fff; }
@media (max-width: 480px){
  .art-cta .acciones{ align-self: stretch; }
  .art-cta .btn{ width: 100%; }
}

/* ============================================================
   CELULAR Y PREFERENCIAS
   ============================================================ */

@media (max-width: 640px){
  /* que el boton flotante no tape los links del pie */
  footer{ padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media print{
  .close, .art-cta{ background: #fff !important; color: var(--tinta) !important; box-shadow: inset 0 0 0 1px var(--linea); }
  .close h2, .close p, .art-cta h2, .art-cta p{ color: var(--tinta) !important; }
}
