/* ==========================================================================
   HISSS · Informática Aplicada · Landing
   Paleta del isotipo: gris #58585A · rojo #B5121B · esfera #BA2723-#D47B64
   ========================================================================== */

@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-400.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-500.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ubuntu-700.woff2") format("woff2"); }

:root {
  --rojo: #B5121B;
  --rojo-intenso: #8E0710;
  --rojo-vivo: #E0313A;
  --gris-marca: #58585A;

  --fondo: #FFFFFF;
  --fondo-alterno: #F5F4F2;
  --superficie: #FFFFFF;
  --superficie-2: #EFEEEC;
  --texto: #1E1E21;
  --texto-suave: #55555A;
  --borde: #E1DFDC;
  --acento: #B5121B;
  --acento-hover: #8E0710;
  --foco: #B5121B;
  --sombra: 0 1px 2px rgb(30 20 20 / .05), 0 16px 36px -18px rgb(30 20 20 / .22);
  --sombra-fuerte: 0 2px 4px rgb(30 20 20 / .06), 0 30px 60px -24px rgb(90 10 15 / .35);

  /* Bloques oscuros (hero, nosotros): oscuros en ambos temas */
  --noche: #121214;
  --noche-2: #1B1B1F;
  --noche-borde: rgb(255 255 255 / .1);
  --noche-texto: #F3F2F0;
  --noche-suave: #B9B8BD;

  --radio: 16px;
  --radio-chico: 10px;
  --ancho: 1200px;
  --transicion: 200ms cubic-bezier(.2, .7, .3, 1);
  color-scheme: light;
}

[data-tema="oscuro"] {
  --fondo: #0F0F11;
  --fondo-alterno: #161619;
  --superficie: #1C1C20;
  --superficie-2: #26262B;
  --texto: #EFEEEC;
  --texto-suave: #B3B2B7;
  --borde: #313137;
  --acento: #FF5A62;
  --acento-hover: #FF8A90;
  --foco: #FF6B72;
  --sombra: 0 1px 2px rgb(0 0 0 / .4), 0 16px 36px -16px rgb(0 0 0 / .75);
  --sombra-fuerte: 0 2px 6px rgb(0 0 0 / .5), 0 30px 70px -24px rgb(0 0 0 / .9);
  --noche: #0A0A0B;
  --noche-2: #141416;
  color-scheme: dark;
}

/* Sin JavaScript se respeta la preferencia del sistema */
@media (prefers-color-scheme: dark) {
  html:not([data-tema-modo]) { --fondo: #0F0F11; --texto: #EFEEEC; color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: "Ubuntu", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--acento); text-underline-offset: .2em; }
a:hover { color: var(--acento-hover); }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; cursor: pointer; }

.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .contenedor { padding-inline: 32px; } }

.icono { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--rojo); color: #fff; padding: 10px 16px; border-radius: var(--radio-chico);
  text-decoration: none; font-weight: 500;
}
.saltar:focus { top: 12px; color: #fff; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .65em 1.25em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color var(--transicion), color var(--transicion), border-color var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.boton:hover { transform: translateY(-1px); }
.boton:active { transform: translateY(1px); }
.boton--primario { background: var(--rojo); color: #fff; box-shadow: 0 10px 24px -10px rgb(181 18 27 / .75); }
.boton--primario:hover { background: var(--rojo-intenso); color: #fff; box-shadow: 0 14px 30px -10px rgb(181 18 27 / .85); }
.boton--secundario { background: var(--superficie); color: var(--texto); border-color: var(--borde); }
.boton--secundario:hover { border-color: var(--texto-suave); color: var(--texto); }
.boton--fantasma { background: rgb(255 255 255 / .04); color: var(--noche-texto); border-color: rgb(255 255 255 / .28); }
.boton--fantasma:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .55); color: #fff; }
.boton--blanco { background: #fff; color: var(--rojo-intenso); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); }
.boton--blanco:hover { background: #FFF1F1; color: var(--rojo-intenso); }
.boton--grande { min-height: 54px; padding: .85em 1.6em; font-size: 1.04rem; }

/* ---------- Etiquetas y resaltes ---------- */
.etiqueta {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rojo); margin-bottom: 14px;
}
.etiqueta::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
[data-tema="oscuro"] .etiqueta { color: var(--acento); }
.etiqueta--hero, .etiqueta--clara { color: #FF8A90 !important; }
.etiqueta--hero::before { display: none; }
.etiqueta--hero {
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .14);
  background: rgb(255 255 255 / .05); color: var(--noche-texto) !important; letter-spacing: .08em; font-weight: 500;
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: #2BD46A; box-shadow: 0 0 0 0 rgb(43 212 106 / .6); animation: latido 2.2s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgb(43 212 106 / .55); } 70% { box-shadow: 0 0 0 9px rgb(43 212 106 / 0); } 100% { box-shadow: 0 0 0 0 rgb(43 212 106 / 0); } }
.resalte { color: var(--rojo); }
[data-tema="oscuro"] .resalte { color: var(--acento); }

/* ---------- Encabezado ---------- */
.encabezado {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color var(--transicion), border-color var(--transicion), box-shadow var(--transicion);
  --enc-texto: var(--noche-texto); --enc-suave: var(--noche-suave); --enc-borde: rgb(255 255 255 / .18);
}
.encabezado.con-sombra {
  background: color-mix(in srgb, var(--fondo) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--borde);
  --enc-texto: var(--texto); --enc-suave: var(--texto-suave); --enc-borde: var(--borde);
}
.encabezado__barra { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.marca { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--enc-texto); flex: none; }
.marca:hover { color: var(--enc-texto); }
/* el gris del isotipo se pierde sobre fondos oscuros: va sobre un disco claro, como en el hero */
.marca__isotipo, .pie__marca img, .rack__sello img { background: radial-gradient(circle at 40% 35%, #FFFFFF, #ECEAE7); border-radius: 50%; padding: 4px; }
.marca__isotipo { width: 40px; height: 40px; }
.marca__texto { display: flex; flex-direction: column; line-height: 1; }
.marca__nombre { font-weight: 700; font-size: 1.32rem; letter-spacing: .06em; }
.marca__lema { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--enc-suave); margin-top: 4px; }

.menu { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.menu__lista { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu__lista a { color: var(--enc-suave); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; position: relative; }
.menu__lista a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rojo); transform: scaleX(0); transform-origin: left; transition: transform var(--transicion); }
.menu__lista a:hover, .menu__lista a[aria-current="true"] { color: var(--enc-texto); }
.menu__lista a:hover::after, .menu__lista a[aria-current="true"]::after { transform: scaleX(1); }
.menu__acciones { display: flex; gap: 10px; }

.encabezado__herramientas { display: flex; align-items: center; gap: 8px; }
.tema {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--enc-borde); border-radius: 999px; background: transparent;
  color: var(--enc-suave); font-size: .86rem; font-weight: 500;
  transition: color var(--transicion), border-color var(--transicion);
}
.tema:hover { color: var(--enc-texto); border-color: var(--enc-suave); }
.tema__icono { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; display: none; }
.tema__icono .relleno { fill: currentColor; stroke: none; }
[data-tema-modo="auto"] .tema__icono--auto,
[data-tema-modo="claro"] .tema__icono--claro,
[data-tema-modo="oscuro"] .tema__icono--oscuro { display: block; }
.tema__icono--oscuro { fill: currentColor; stroke: none; }

.hamburguesa { display: none; width: 44px; height: 44px; border: 1px solid var(--enc-borde); border-radius: 12px; background: transparent; padding: 0; position: relative; }
.hamburguesa span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--enc-texto); transition: transform var(--transicion), opacity var(--transicion); }
.hamburguesa span:nth-child(1) { top: 15px; } .hamburguesa span:nth-child(2) { top: 21px; } .hamburguesa span:nth-child(3) { top: 27px; }
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .hamburguesa { display: inline-block; }
  .encabezado__herramientas { margin-left: auto; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px 20px 22px; background: var(--fondo); border-bottom: 1px solid var(--borde);
    box-shadow: var(--sombra);
  }
  .menu.abierto { display: flex; }
  .menu__lista { flex-direction: column; gap: 0; }
  .menu__lista a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--borde); font-size: 1.05rem; color: var(--texto-suave); }
  .menu__lista a:hover, .menu__lista a[aria-current="true"] { color: var(--texto); }
  .menu__lista a::after { display: none; }
  .menu__acciones { flex-direction: column; }
  .encabezado:has(.menu.abierto) { background: var(--fondo); border-bottom-color: var(--borde); --enc-texto: var(--texto); --enc-suave: var(--texto-suave); --enc-borde: var(--borde); }
}
@media (max-width: 440px) { .tema__texto { display: none; } .marca__lema { font-size: .62rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--noche); color: var(--noche-texto);
  padding: 132px 0 0;
}
.hero__fondo {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgb(181 18 27 / .38), transparent 65%),
    radial-gradient(40% 50% at 10% 100%, rgb(88 88 90 / .35), transparent 70%),
    linear-gradient(180deg, #161618 0%, var(--noche) 100%);
}
.hero__fondo::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 80% at 60% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(75% 80% at 60% 40%, #000 30%, transparent 80%);
}
.hero__rejilla { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw + .6rem, 4.4rem); margin-top: 6px; }
.hero .resalte { color: #FF4B54; display: inline-block; }
.hero__bajada { margin-top: 22px; font-size: clamp(1.05rem, .5vw + .95rem, 1.22rem); color: var(--noche-suave); max-width: 600px; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__datos {
  list-style: none; margin: 64px 0 0; padding: 26px 0 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid var(--noche-borde);
}
.hero__datos li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 2px solid var(--rojo); }
.hero__datos strong { font-size: clamp(1.25rem, 1.4vw + .7rem, 1.75rem); line-height: 1.15; }
.hero__datos span { color: var(--noche-suave); font-size: .92rem; }

/* Órbita alrededor del isotipo */
.orbita { position: relative; width: min(100%, 500px); aspect-ratio: 1; justify-self: center; }
.orbita__anillo { position: absolute; border-radius: 50%; inset: 0; border: 1px solid rgb(255 255 255 / .1); }
.orbita__anillo--1 { inset: 6%; border-style: dashed; border-color: rgb(255 255 255 / .16); animation: girar 60s linear infinite; }
.orbita__anillo--2 { inset: 20%; border: 2px solid transparent; border-top-color: rgb(255 75 84 / .75); border-right-color: rgb(255 75 84 / .25); animation: girar 9s linear infinite; }
.orbita__anillo--3 { inset: 25%; background: radial-gradient(circle at 40% 35%, #FFFFFF, #ECEAE7); border: none; box-shadow: 0 0 0 12px rgb(255 255 255 / .05), 0 0 90px 10px rgb(181 18 27 / .55); }
.orbita__isotipo {
  position: absolute; inset: 32%; width: 36%; height: 36%;
  animation: flotar 6s ease-in-out infinite;
}
.orbita__giro { position: absolute; inset: 0; animation: girar 48s linear infinite; }
.chip-orbita {
  position: absolute; left: 50%; top: 50%;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  background: rgb(28 28 32 / .86); border: 1px solid rgb(255 255 255 / .14);
  color: var(--noche-texto); font-size: .85rem; font-weight: 500; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .8);
}
.chip-orbita svg { width: 16px; height: 16px; fill: none; stroke: #FF6B72; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-orbita { transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--orbita-px, 215px) * -1)) rotate(calc(-1 * var(--a))); }
/* los chips giran con el contenedor; se contrarrota para que el texto quede derecho */
.orbita__giro .chip-orbita { animation: contragiro 48s linear infinite; }
@keyframes contragiro {
  from { transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--orbita-px, 215px) * -1)) rotate(calc(-1 * var(--a))) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--orbita-px, 215px) * -1)) rotate(calc(-1 * var(--a))) rotate(-360deg); }
}
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes flotar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

@media (max-width: 980px) {
  .hero { padding-top: 112px; }
  .hero__rejilla { grid-template-columns: 1fr; gap: 10px; }
  .orbita { width: min(100%, 420px); --orbita-px: 180px; order: -1; margin-top: -10px; }
  .hero__datos { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
}
@media (max-width: 520px) {
  .orbita { width: min(100%, 340px); --orbita-px: 128px; }
  .chip-orbita { font-size: .76rem; padding: 6px 10px; }
  .chip-orbita svg { width: 14px; height: 14px; }
  .hero__acciones .boton { flex: 1 1 100%; }
  .hero__datos { gap: 18px 12px; }
}

/* ---------- Cinta ---------- */
.cinta { background: var(--rojo); color: #fff; overflow: hidden; padding: 14px 0; border-block: 1px solid rgb(0 0 0 / .15); }
.cinta__pista { display: flex; width: max-content; animation: deslizar 55s linear infinite; }
.cinta__pista span { display: inline-flex; align-items: center; font-weight: 500; font-size: .98rem; white-space: nowrap; padding-inline: 22px; }
.cinta__pista span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .55); margin-left: 44px; margin-right: -22px; }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(72px, 9vw, 120px) 0; }
.seccion--alterna { background: var(--fondo-alterno); }
.seccion__encabezado { max-width: 760px; margin-bottom: 48px; }
.seccion__encabezado--centro { margin-inline: auto; text-align: center; }
.seccion__encabezado--centro .etiqueta { justify-content: center; }
.seccion__encabezado h2, .polizas h2, .nube h2, .vivo h2, .nosotros h2 { font-size: clamp(1.9rem, 2.8vw + .8rem, 3rem); }
.seccion__encabezado > p:not(.etiqueta) { margin-top: 16px; color: var(--texto-suave); font-size: 1.1rem; }
.seccion__encabezado .boton { margin-top: 28px; }

.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lista-check li { position: relative; padding-left: 26px; color: var(--texto-suave); font-size: .97rem; line-height: 1.45; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--rojo) 14%, transparent); }
.lista-check li::after { content: ""; position: absolute; left: 5.5px; top: calc(.2em + 4px); width: 4px; height: 7px; border: solid var(--rojo); border-width: 0 2px 2px 0; transform: rotate(45deg); }
[data-tema="oscuro"] .lista-check li::after { border-color: var(--acento); }
.lista-check--doble { grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 26px; }

/* ---------- Dolor ---------- */
.dolor__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dolor .seccion__encabezado { margin-bottom: 0; }
.dolor__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dolor__lista li {
  display: flex; gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--borde);
  box-shadow: var(--sombra); font-weight: 500;
  transition: transform var(--transicion), border-color var(--transicion);
}
.dolor__lista li:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--rojo) 45%, var(--borde)); }
.dolor__lista .icono { width: 26px; height: 26px; color: var(--rojo); padding: 5px; box-sizing: content-box; border-radius: 10px; background: color-mix(in srgb, var(--rojo) 12%, transparent); }
[data-tema="oscuro"] .dolor__lista .icono { color: var(--acento); }

/* ---------- Servicios ---------- */
.servicios { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.servicio {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px 24px; border-radius: var(--radio);
  background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra);
  overflow: hidden;
  transition: transform var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
}
.servicio::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--rojo), var(--rojo-vivo)); transform: scaleX(0); transform-origin: left; transition: transform 350ms cubic-bezier(.2,.7,.3,1); }
.servicio:hover { transform: translateY(-6px); box-shadow: var(--sombra-fuerte); border-color: color-mix(in srgb, var(--rojo) 30%, var(--borde)); }
.servicio:hover::before, .servicio:focus-within::before { transform: scaleX(1); }
.servicio h3 { font-size: 1.28rem; }
.servicio > p { color: var(--texto-suave); }
.servicio .lista-check { margin-top: 4px; }
.servicio__icono {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--rojo), var(--rojo-intenso)); color: #fff;
  box-shadow: 0 12px 24px -12px rgb(181 18 27 / .8);
}
.servicio__icono svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.servicio__cta {
  margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; text-decoration: none; align-self: flex-start;
}
.servicio__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--transicion); }
.servicio__cta:hover svg { transform: translateX(4px); }
.servicio--destacado { background: linear-gradient(160deg, var(--superficie) 55%, color-mix(in srgb, var(--rojo) 7%, var(--superficie))); }
@media (max-width: 1000px) { .servicios { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .servicios { grid-template-columns: 1fr; } }

/* ---------- Pólizas ---------- */
.polizas {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(72px, 9vw, 116px) 0;
  background:
    radial-gradient(50% 80% at 100% 0%, rgb(255 255 255 / .14), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgb(0 0 0 / .35), transparent 65%),
    linear-gradient(130deg, #C3161F 0%, #8E0710 60%, #5E0409 100%);
}
.polizas::after {
  content: ""; position: absolute; right: -180px; bottom: -220px; width: 620px; aspect-ratio: 1; border-radius: 50%;
  border: 70px solid rgb(255 255 255 / .06); pointer-events: none;
}
.polizas__rejilla { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.polizas__texto p:not(.etiqueta) { margin-top: 18px; font-size: 1.1rem; color: rgb(255 255 255 / .88); max-width: 600px; }
.polizas .etiqueta { color: #fff !important; }
.polizas__acciones { margin-top: 32px; }
.polizas__tarjeta {
  padding: 30px; border-radius: 22px;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6);
}
.polizas__subtitulo { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: rgb(255 255 255 / .8); margin-bottom: 14px !important; }
.polizas__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.polizas__lista li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-weight: 500; font-size: 1.04rem; border-bottom: 1px solid rgb(255 255 255 / .14); }
.polizas__lista li:last-child { border-bottom: none; }
.polizas__lista svg { width: 36px; height: 36px; padding: 7px; flex: none; border-radius: 10px; background: rgb(255 255 255 / .14); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hosting / rack ---------- */
.nube__rejilla { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.nube__texto > p:not(.etiqueta):not(.nota) { margin-top: 18px; color: var(--texto-suave); font-size: 1.1rem; }
.nota { margin: 22px 0 26px; padding: 12px 16px; border-left: 3px solid var(--rojo); background: var(--fondo-alterno); border-radius: 0 var(--radio-chico) var(--radio-chico) 0; color: var(--texto-suave); font-size: .97rem; }
.rack { position: relative; justify-self: center; width: min(100%, 420px); }
.rack__marco {
  padding: 18px; border-radius: 20px;
  background: linear-gradient(180deg, #2A2A2F, #17171A);
  border: 1px solid #3A3A40; box-shadow: var(--sombra-fuerte), inset 0 1px 0 rgb(255 255 255 / .06);
  display: grid; gap: 10px;
}
.rack__unidad {
  height: 42px; border-radius: 8px; padding: 0 14px;
  background: linear-gradient(180deg, #3A3A40, #2C2C31); border: 1px solid #45454C;
  display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden;
}
.rack__unidad--alta { height: 64px; }
.rack__unidad i { width: 8px; height: 8px; border-radius: 50%; background: #2BD46A; box-shadow: 0 0 8px #2BD46A; animation: parpadeo 2.4s infinite; }
.rack__unidad i:nth-child(2) { background: #FF4B54; box-shadow: 0 0 8px #FF4B54; animation-delay: .6s; animation-duration: 1.4s; }
.rack__unidad i:nth-child(3) { animation-delay: 1.1s; animation-duration: 3.1s; }
.rack__unidad:nth-child(2n) i { animation-delay: .3s; }
.rack__unidad b { margin-left: auto; width: 40px; height: 6px; border-radius: 3px; background: #1C1C20; box-shadow: inset 0 1px 2px rgb(0 0 0 / .6); }
.rack__unidad b + b { margin-left: 0; }
.rack__unidad--switch { gap: 5px; justify-content: center; }
.rack__unidad--switch u { flex: 0 1 18px; min-width: 6px; height: 14px; border-radius: 2px; background: #141417; border-top: 2px solid #2BD46A; text-decoration: none; }
.rack__unidad--switch u:nth-child(3n) { border-top-color: #FFB020; }
.rack__unidad--switch u:nth-child(5n) { border-top-color: #3A3A40; }
@keyframes parpadeo { 0%, 100% { opacity: 1; } 45% { opacity: .35; } 55% { opacity: 1; } }
.rack__sello {
  position: absolute; left: -22px; bottom: -22px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 14px;
  background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra-fuerte);
  font-weight: 700; font-size: .92rem;
}
.rack__sello img { width: 34px; height: 34px; }

/* ---------- VIVO ERP ---------- */
.vivo {
  display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 26px;
  background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra-fuerte);
}
.vivo__marca {
  display: grid; place-items: center; gap: 16px; text-align: center;
  padding: 36px 20px; border-radius: 20px; background: var(--fondo-alterno);
}
.vivo__marca img { width: min(100%, 200px); height: auto; }
[data-tema="oscuro"] .vivo__marca img { filter: brightness(1.55) contrast(.95); }
.vivo__producto { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.vivo__texto > p:not(.etiqueta) { margin-top: 16px; color: var(--texto-suave); font-size: 1.06rem; }
.etiquetas { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquetas li { padding: 7px 13px; border-radius: 999px; font-size: .9rem; font-weight: 500; background: var(--fondo-alterno); border: 1px solid var(--borde); }
.vivo__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Proceso ---------- */
.proceso { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: paso; position: relative; }
.proceso::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--rojo) 15%, var(--rojo) 85%, transparent); opacity: .35; }
.paso { position: relative; text-align: center; padding: 0 8px; }
.paso__numero {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--fondo); border: 2px solid var(--rojo);
  color: var(--rojo); font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 0 0 8px var(--fondo);
}
[data-tema="oscuro"] .paso__numero { color: var(--acento); border-color: var(--acento); }
.paso h3 { font-size: 1.2rem; }
.paso p { margin-top: 8px; color: var(--texto-suave); }
@media (max-width: 860px) {
  .proceso { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .proceso::before { display: none; }
}
@media (max-width: 480px) { .proceso { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.nosotros { position: relative; overflow: hidden; background: var(--noche); color: var(--noche-texto); padding: clamp(72px, 9vw, 120px) 0; }
.nosotros::before {
  content: ""; position: absolute; left: -200px; top: 50%; translate: 0 -50%; width: 760px; aspect-ratio: 1; border-radius: 50%;
  border: 90px solid rgb(88 88 90 / .22); border-right-color: transparent; pointer-events: none;
}
.nosotros__rejilla { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.nosotros__cifra { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nosotros__numero {
  font-size: clamp(7rem, 16vw, 13rem); font-weight: 700; line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(160deg, #FF5A62, #B5121B 60%, #6E050B); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nosotros__numero sup { font-size: .45em; vertical-align: top; position: relative; top: .1em; }
.nosotros__unidad { margin-top: 8px; font-size: 1.1rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--noche-suave); }
.nosotros__texto > p:not(.etiqueta) { margin-top: 16px; color: var(--noche-suave); font-size: 1.1rem; }
.ventajas { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ventajas li { display: flex; gap: 12px; align-items: flex-start; color: var(--noche-suave); }
.ventajas strong { color: var(--noche-texto); }
.ventajas svg { width: 24px; height: 24px; flex: none; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--rojo); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Cotizar ---------- */
.cotizar__caja {
  position: relative; overflow: hidden;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
  border-radius: 28px; background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra-fuerte);
}
.cotizar__caja::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gris-marca), var(--rojo), var(--rojo-vivo)); }
.cotizar .seccion__encabezado { margin-bottom: 32px; }
.selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; margin-inline: auto; }
.selector__opcion {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--borde); background: var(--fondo);
  color: var(--texto); font-weight: 500; font-size: .95rem;
  transition: background-color var(--transicion), border-color var(--transicion), color var(--transicion), transform var(--transicion);
}
.selector__opcion svg { width: 18px; height: 18px; fill: none; stroke: var(--rojo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-tema="oscuro"] .selector__opcion svg { stroke: var(--acento); }
.selector__opcion:hover { border-color: var(--rojo); transform: translateY(-1px); }
.selector__opcion[aria-pressed="true"] { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.selector__opcion[aria-pressed="true"] svg { stroke: #fff; }
.cotizar__accion { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; text-align: center; }
.cotizar__resumen { color: var(--texto-suave); font-size: .95rem; max-width: 640px; }

/* ---------- Contacto ---------- */
.contacto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.contacto__tarjeta {
  height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 24px 20px; border-radius: var(--radio);
  background: var(--superficie); border: 1px solid var(--borde); box-shadow: var(--sombra);
  color: var(--texto); text-decoration: none;
  transition: transform var(--transicion), border-color var(--transicion), box-shadow var(--transicion);
}
a.contacto__tarjeta:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rojo) 40%, var(--borde)); box-shadow: var(--sombra-fuerte); color: var(--texto); }
.contacto__icono { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px; background: color-mix(in srgb, var(--rojo) 12%, transparent); color: var(--rojo); }
[data-tema="oscuro"] .contacto__icono { color: var(--acento); }
.contacto__icono svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contacto__titulo { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.contacto__dato { font-weight: 700; font-size: 1rem; overflow-wrap: break-word; }
.contacto__extra { color: var(--texto-suave); font-size: .9rem; }
.contacto__tarjeta--principal { background: linear-gradient(150deg, var(--rojo), var(--rojo-intenso)); border-color: transparent; color: #fff; }
.contacto__tarjeta--principal .contacto__icono { background: rgb(255 255 255 / .16); color: #fff; }
.contacto__tarjeta--principal .contacto__titulo { color: rgb(255 255 255 / .8); }
a.contacto__tarjeta--principal:hover { color: #fff; border-color: transparent; }
@media (max-width: 1080px) { .contacto { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .contacto { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .contacto { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.pie { background: var(--noche); color: var(--noche-suave); padding: 44px 0; border-top: 3px solid var(--rojo); }
.pie__rejilla { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pie__marca { display: flex; align-items: center; gap: 12px; }
.pie__marca img { width: 44px; height: 44px; }
.pie__nombre { color: var(--noche-texto); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; line-height: 1.1; }
.pie__lema { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.pie__enlaces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie__enlaces a { color: var(--noche-suave); text-decoration: none; font-weight: 500; }
.pie__enlaces a:hover { color: #fff; }
.pie__copy { width: 100%; font-size: .9rem; padding-top: 22px; border-top: 1px solid var(--noche-borde); }

/* ---------- Responsivo general ---------- */
@media (max-width: 980px) {
  .dolor__rejilla, .polizas__rejilla, .nube__rejilla, .nosotros__rejilla, .vivo { grid-template-columns: 1fr; gap: 40px; }
  .dolor__rejilla > *, .polizas__rejilla > *, .nube__rejilla > *, .nosotros__rejilla > *, .vivo > * { min-width: 0; }
  .rack { margin-left: 22px; width: min(calc(100% - 22px), 420px); justify-self: start; }
  .nosotros__cifra { align-items: flex-start; text-align: left; }
  .vivo__marca { justify-self: stretch; }
}
@media (max-width: 520px) {
  .lista-check--doble { grid-template-columns: 1fr; }
  .boton--grande { width: 100%; }
}

/* ---------- Aparición suave ---------- */
.js .revelar { opacity: 0; transform: translateY(26px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.3,1); }
.js .revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .revelar { opacity: 1; transform: none; } }
