/* MATIAS HOSTING · v2
   1. Fuentes e iconos · 2. Base · 3. Componentes · 4. Cabecera y portada
   5. Hosting · 6. Servicios, soluciones y tarifas · 7. Catálogo y guías
   8. Pie y chat · 9. Responsive y movimiento */

/* 1. Fuentes locales compartidas con la portada actual. */
@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

/* Geist Mono · SIL OFL 1.1 · assets/fonts/geist-mono-LICENSE.txt */
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* Font Awesome Free 7.3.1 · https://fontawesome.com/license/free
   Fonts: SIL OFL 1.1; Code: MIT. Licencia: assets/fonts/fontawesome-LICENSE.txt */
@font-face {
  font-family: "Font Awesome 7 Free";
  src: url("../fonts/fontawesome-solid.woff2?v=7.3.1") format("woff2");
  font-weight: 900;
  font-display: block;
}

@font-face {
  font-family: "Font Awesome 7 Brands";
  src: url("../fonts/fontawesome-brands.woff2?v=7.3.1") format("woff2");
  font-weight: 400;
  font-display: block;
}

.fas, .fab {
  display: inline-block;
  width: 1.25em;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.fas { font-family: "Font Awesome 7 Free"; font-weight: 900; }
.fab { font-family: "Font Awesome 7 Brands"; font-weight: 400; }

.fa-arrow-right::before { content: "\f061"; }
.fa-arrow-right-arrow-left::before { content: "\f0ec"; }
.fa-gauge-high::before { content: "\f625"; }
.fa-globe::before { content: "\f0ac"; }
.fa-hard-drive::before { content: "\f0a0"; }
.fa-memory::before { content: "\f538"; }
.fa-microchip::before { content: "\f2db"; }
.fa-bolt::before { content: "\f0e7"; }
.fa-box::before { content: "\f466"; }
.fa-box-open::before { content: "\f49e"; }
.fa-tag::before { content: "\f02b"; }
.fa-ticket::before { content: "\f145"; }
.fa-credit-card::before { content: "\f09d"; }
.fa-file-invoice::before { content: "\f570"; }
.fa-handshake::before { content: "\f2b5"; }
.fa-key::before { content: "\f084"; }
.fa-paint-brush::before { content: "\f1fc"; }
.fa-puzzle-piece::before { content: "\f12e"; }
.fa-receipt::before { content: "\f543"; }
.fa-truck::before { content: "\f0d1"; }
.fa-truck-fast::before { content: "\f48b"; }
.fa-wand-magic-sparkles::before { content: "\e2ca"; }
.fa-wrench::before { content: "\f0ad"; }
.fa-cart-shopping::before { content: "\f07a"; }
.fa-clock::before { content: "\f017"; }
.fa-comment-dots::before { content: "\f4ad"; }
.fa-cloud::before { content: "\f0c2"; }
.fa-code::before { content: "\f121"; }
.fa-database::before { content: "\f1c0"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-user::before { content: "\f007"; }
.fa-eye::before { content: "\f06e"; }
.fa-eye-slash::before { content: "\f070"; }
.fa-lock::before { content: "\f023"; }
.fa-rotate::before { content: "\f2f1"; }
.fa-server::before { content: "\f233"; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-sitemap::before { content: "\f0e8"; }
.fa-terminal::before { content: "\f120"; }
.fa-discord::before { content: "\f392"; }
.fa-github::before { content: "\f09b"; }
.fa-instagram::before { content: "\f16d"; }
.fa-paypal::before { content: "\f1ed"; }
.fa-whatsapp::before { content: "\f232"; }
.fa-wordpress::before { content: "\f19a"; }


/* 2. Variables y base. Tinta oscura para la infraestructura, papel para el contenido. */
:root {
  --ink: #0b0c0f;
  --ink-2: #13151a;
  --ink-3: #1c1f26;
  --ink-line: #ffffff17;
  --on-ink: #eceae4;
  --on-ink-muted: #8d9099;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --paper-line: #16171a1f;
  --text: #16171a;
  --muted: #62656d;
  --pink: #e81d62;
  --pink-dark: #c3134f;
  --blue: #3450ff;
  --green: #21bd64;
  --font-body: "Rubik", system-ui, sans-serif;
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s, background-color .25s, border-color .25s, opacity .25s;
}

button {
  font: inherit;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Secciones que reciben el foco al navegar: sin contorno visible. */
/* Imágenes e íconos: no se arrastran ni se seleccionan al hacer clic o doble clic. */
img,
svg,
.fas,
.fab {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

[tabindex="-1"]:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--pink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* 3. Componentes: indicador de estado, botones y cabeceras de sección. */
.led {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 #21bd6480;
  animation: led 2.4s ease-out infinite;
}

@keyframes led {
  0% { box-shadow: 0 0 0 0 #21bd6470; }
  70%, 100% { box-shadow: 0 0 0 7px #21bd6400; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: transparent;
  font: 700 15px/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}

.btn .fa-arrow-right {
  transition: transform .25s;
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn--pink {
  background: var(--pink);
  color: #fff;
}

.btn--ghost {
  border-color: #ffffff38;
  color: var(--on-ink);
}

.btn--dark {
  background: var(--text);
  color: var(--paper);
}

.btn--line {
  border-color: var(--paper-line);
  color: var(--text);
}

.link-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* Subrayado animado de los enlaces: una línea rosa se dibuja de izquierda a
   derecha al pasar el puntero y se retira hacia la derecha al salir. Debajo queda
   una línea fina del color del texto (--underline-base: transparent la oculta). */
.link-arrow,
.footer-grid ul a,
.footer-mail,
.client-reset {
  padding-bottom: 3px;
  background:
    linear-gradient(var(--pink), var(--pink)) right bottom / 0 2px no-repeat,
    linear-gradient(var(--underline-base, currentColor), var(--underline-base, currentColor)) left bottom / 100% 1px no-repeat;
  transition: background-size .55s cubic-bezier(.2, .7, .2, 1), color .25s;
}

.link-arrow:hover,
.footer-grid ul a:hover,
.footer-mail:hover,
.client-reset:hover,
.link-arrow:focus-visible,
.footer-grid ul a:focus-visible,
.footer-mail:focus-visible,
.client-reset:focus-visible {
  background-position: left bottom, left bottom;
  background-size: 100% 2px, 100% 1px;
}

.footer-grid ul a {
  --underline-base: transparent;
}

.link-arrow .fas {
  transition: transform .25s;
}

@media (hover: hover) and (pointer: fine) {
  .btn--pink:hover { background: var(--pink-dark); }
  .btn--ghost:hover { border-color: var(--on-ink); background: #ffffff0d; }
  .btn--dark:hover { background: var(--pink); color: #fff; }
  /* Botón blanco secundario: se mantiene blanco, solo se marca el borde. */
  .btn--line:hover { border-color: #16171a66; }
  .btn:hover .fa-arrow-right,
  .link-arrow:hover .fas { transform: translateX(4px); }
}

.section {
  padding-block: clamp(72px, 10vw, 140px);
}

.section--dark {
  background: var(--ink);
  color: var(--on-ink);
}

.section--tint {
  background: var(--paper-2);
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-label {
  margin-bottom: 18px;
  color: var(--muted);
  font: 500 13px/1.4 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section--dark .section-label {
  color: var(--on-ink-muted);
}

.section--dark .section-lead {
  color: #b9b8b2;
}

.section--brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pink);
  color: #fff;
}

/* Rayo del logo, gigante y recortado, como marca de agua. */
.section--brand::before {
  content: "\f0e7";
  position: absolute;
  top: -8%;
  right: -4%;
  z-index: -1;
  color: #ffffff17;
  font: 900 clamp(320px, 48vw, 720px)/1 "Font Awesome 7 Free";
  pointer-events: none;
}

.section--brand .section-label {
  color: #ffffffc2;
}

.section--brand .section-lead {
  color: #ffffffd9;
}

.section-head h2 {
  font: 900 clamp(32px, 5.4vw, 64px)/1.02 var(--font-display);
  letter-spacing: -.02em;
  text-wrap: balance;
}

.section-lead {
  max-width: 440px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1.4 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}


/* 4. Cabecera y portada. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--on-ink);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-sticky {
  border-bottom-color: var(--ink-line);
  background: #0b0c0fe6;
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
  font: 900 19px/1 var(--font-display);
  letter-spacing: -.01em;
}

.logo .fas {
  color: var(--pink);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

.main-navigation > a {
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: 999px;
  color: #c9c8c2;
}

.main-navigation > a:hover {
  color: #fff;
  background: #ffffff12;
}

.header-client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--on-ink);
  border-radius: 999px;
  background: var(--on-ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}

@media (min-width: 961px) and (max-width: 1080px) {
  .main-navigation > a {
    padding-inline: 7px;
    font-size: 14px;
  }
}

.header-client:hover {
  border-color: #fff;
  background: #fff;
}

.header-client .fas {
  width: auto;
  font-size: 12px;
}

.header-client-short {
  display: none;
}

/* Panel de acceso de clientes. */
.client-dialog {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--on-ink);
  box-shadow: 0 40px 100px -20px #000;
}

.client-dialog::backdrop {
  background: #0b0c0fc2;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.client-dialog[open] {
  animation: client-open .3s cubic-bezier(.2, .7, .2, 1);
}

@keyframes client-open {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
}

.client-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 32px 28px 28px;
}

.client-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}

.client-close:hover {
  border-color: var(--on-ink);
  background: #ffffff0d;
}

.client-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.client-form h2 {
  padding-right: 48px;
  font: 900 30px/1.1 var(--font-display);
  letter-spacing: -.02em;
}

.client-lead {
  margin-top: -6px;
  color: #b9b8b2;
  font-size: 15px;
}

.client-field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.client-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  outline: none;
  background: var(--ink);
  color: var(--on-ink);
  font: 400 16px var(--font-body);
  transition: border-color .25s, box-shadow .25s;
}

.client-field input:hover {
  border-color: #ffffff30;
}

.client-field input:focus-visible {
  border-color: var(--on-ink);
  box-shadow: 0 0 0 3px #ffffff1a;
}

.client-password {
  position: relative;
  display: block;
}

.client-password input {
  padding-right: 52px;
}

.client-reveal {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--on-ink-muted);
  cursor: pointer;
  transition: color .25s;
}

.client-reveal:hover {
  color: var(--on-ink);
}

.client-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 14px;
}

.client-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9c8c2;
  cursor: pointer;
}

.client-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--pink);
}

.client-reset {
  color: var(--on-ink);
}

.client-submit {
  margin-top: 4px;
}

.client-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  grid-area: 1 / 1;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s;
}

.menu-toggle span:first-child { transform: translateY(-3px); }
.menu-toggle span:last-child { transform: translateY(3px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 110px));
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
}

/* Rejilla de sala de servidores con una línea de barrido. Decorativa. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 20%, transparent 75%);
}

.hero::after {
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e81d6299 50%, transparent);
  animation: scan 7s linear infinite;
}

@keyframes scan {
  from { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  to { transform: translateY(720px); opacity: 0; }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero .kicker {
  color: var(--on-ink-muted);
}

.hero h1,
.hero .hero-title {
  margin-block: 24px 28px;
  font: 900 clamp(46px, 8.4vw, 118px)/.92 var(--font-display);
  letter-spacing: -.035em;
}

/* El titular de servidores es más largo: baja un punto para caber en su columna. */
.hero .hero-title {
  font-size: clamp(42px, 6.2vw, 90px);
}

.hero h1 em,
.hero .hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--on-ink);
}

.hero-lead {
  max-width: 540px;
  color: #b9b8b2;
  font-size: clamp(16px, 1.5vw, 19px);
}

.hero-lead strong {
  color: var(--on-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
}

.hero-facts dt {
  color: var(--on-ink-muted);
  font: 500 12px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hero-facts dd {
  margin-top: 4px;
  font: 900 24px/1.1 var(--font-display);
}

.hero-facts small {
  margin-left: 2px;
  color: var(--on-ink-muted);
  font: 400 14px var(--font-body);
}

/* Ficha del plan: datos reales de cada plan de hosting. */
.specs {
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: 0 40px 80px -30px #000, inset 0 1px 0 #ffffff0d;
}

.specs-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--ink-line);
}

.specs-name {
  color: var(--on-ink-muted);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.specs-price {
  margin-top: 6px;
  font: 900 clamp(32px, 3.4vw, 44px)/1 var(--font-display);
  letter-spacing: -.03em;
}

.specs-price small {
  margin-left: 4px;
  color: var(--on-ink-muted);
  font: 400 14px var(--font-body);
  letter-spacing: 0;
}

.specs-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--ink);
}

.specs-tabs button {
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-ink-muted);
  font: 700 13px/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.specs-tabs button:hover {
  color: var(--on-ink);
}

.specs-tabs button[aria-pressed="true"] {
  background: var(--on-ink);
  color: var(--ink);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-line);
}

.specs-grid > div {
  padding: 20px 24px;
  background: var(--ink-2);
}

.specs-grid dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--on-ink-muted);
  font-size: 13px;
}

.specs-grid dt .fas {
  width: 1.1em;
  color: #6f8cff;
}

.specs-grid dd {
  margin-top: 8px;
  font: 900 clamp(22px, 2.2vw, 28px)/1.1 var(--font-display);
  letter-spacing: -.01em;
}

/* Cambio de plan: los valores se desenfocan y reaparecen nítidos, en cascada. */
.has-js .specs [data-spec] {
  transition: opacity .32s ease, filter .32s ease;
  transition-delay: var(--spec-delay, 0s);
}

.has-js .specs.is-changing [data-spec]:not([data-spec="cta"]) {
  opacity: 0;
  filter: blur(6px);
  transition-duration: .16s;
  transition-delay: 0s;
}

.specs-grid > div:nth-child(2) dd { --spec-delay: .03s; }
.specs-grid > div:nth-child(3) dd { --spec-delay: .06s; }
.specs-grid > div:nth-child(4) dd { --spec-delay: .09s; }
.specs-grid > div:nth-child(5) dd { --spec-delay: .12s; }
.specs-grid > div:nth-child(6) dd { --spec-delay: .15s; }

.specs-foot {
  display: grid;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid var(--ink-line);
}

.specs-included {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: #c9c8c2;
  font-size: 13px;
}

.specs-included li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.specs-included li::before {
  content: "\f00c";
  color: var(--green);
  font: 900 11px/1 "Font Awesome 7 Free";
}

/* Diapositivas de la portada: comparten celda para no mover el contenido. */
.has-js .hero-slides {
  display: grid;
  touch-action: pan-y;
}

.has-js .hero-slides .hero-grid {
  padding-bottom: clamp(32px, 5vw, 56px);
}

.has-js .hero-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity .7s ease, visibility 0s .7s;
}

.has-js .hero-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(var(--drag, 0px));
  transition: opacity .7s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

/* Mientras se arrastra, la diapositiva sigue al dedo sin retraso. */
.has-js .hero-slides.is-dragging {
  user-select: none;
}

.has-js .hero-slides.is-dragging .hero-slide.is-active {
  transition: none;
}

.has-js .hero-slide .hero-copy > *,
.has-js .hero-slide .specs,
.has-js .hero-slide .rack {
  transform: translateY(18px);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.has-js .hero-slide.is-active .hero-copy > *,
.has-js .hero-slide.is-active .specs,
.has-js .hero-slide.is-active .rack {
  transform: none;
}

.has-js .hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: .05s; }
.has-js .hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: .1s; }
.has-js .hero-slide.is-active .hero-copy > :nth-child(4) { transition-delay: .15s; }
.has-js .hero-slide.is-active .hero-copy > :nth-child(5) { transition-delay: .2s; }
.has-js .hero-slide.is-active .specs,
.has-js .hero-slide.is-active .rack { transition-delay: .15s; }

.hero-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 32px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

/* Cada punto es una barra que se llena con el tiempo de su diapositiva. */
.hero-dots button {
  position: relative;
  width: 56px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-dots button::before,
.hero-dots button::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  height: 2px;
  border-radius: 2px;
}

.hero-dots button::before {
  right: 0;
  background: #ffffff26;
}

.hero-dots button::after {
  width: 0;
  background: var(--on-ink);
}

.hero-dots button[aria-current="true"]::after {
  width: calc(var(--progress, 0) * 100%);
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}

.hero-arrow:hover {
  border-color: var(--on-ink);
  background: var(--on-ink);
  color: var(--ink);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-pause {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-pause span {
  width: 8px;
  height: 10px;
  border-inline: 3px solid var(--on-ink);
}

.hero-pause[aria-pressed="true"] span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-block: 6px solid transparent;
  border-inline: 9px solid var(--on-ink);
  border-right: 0;
}

/* Rack de servidores. */
.rack {
  display: grid;
  gap: 6px;
  padding: 18px 26px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, #ffffff0a 0 12px, transparent 12px calc(100% - 12px), #ffffff0a 0) ,
    var(--ink-2);
  box-shadow: 0 40px 80px -30px #000, inset 0 1px 0 #ffffff0d;
}

.rack-unit {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #ffffff14;
  border-radius: 4px;
  background: linear-gradient(180deg, #23262e, #1a1c22);
  box-shadow: inset 0 1px 0 #ffffff12, 0 1px 0 #000;
}

.rack-leds {
  display: flex;
  gap: 6px;
}

.rack-leds i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 1.6s steps(2, jump-none) infinite;
}

.rack-leds i + i {
  background: #6f8cff;
  box-shadow: 0 0 6px #6f8cff;
  animation-duration: .9s;
}

.rack-unit:nth-child(2) i { animation-delay: -.3s; }
.rack-unit:nth-child(3) i { animation-delay: -.7s; }
.rack-unit:nth-child(4) i { animation-delay: -1.1s; }
.rack-unit:nth-child(5) i { animation-delay: -.5s; }
.rack-unit:nth-child(6) i { animation-delay: -.9s; }

@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: .25; }
}

.rack-label {
  flex: 0 0 auto;
  color: #c9c8c2;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: .06em;
}

.rack-role {
  color: var(--on-ink-muted);
}

.rack-role::before {
  content: "\00a0·\00a0";
}

.rack-vent {
  flex: 1;
  min-width: 0;
  height: 22px;
  margin-left: auto;
  background: repeating-linear-gradient(90deg, #0b0c0f 0 3px, transparent 3px 7px);
  opacity: .8;
}

.rack-bays,
.rack-ports {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 40px 6px;
  height: 30px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.rack-bays i,
.rack-ports i {
  flex: 0 0 auto;
}

.rack-bays i {
  width: 22px;
  height: 30px;
  border: 1px solid #ffffff1a;
  border-radius: 2px;
  background: linear-gradient(180deg, #2c3038, #15171c);
}

.rack-bays i::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: var(--blue);
}

.rack-ports i {
  width: 14px;
  height: 12px;
  border-radius: 2px;
  background: #0b0c0f;
  box-shadow: inset 0 -3px 0 #2c3038;
}

/* Cinta de tecnología. */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--ink-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* El desplazamiento lo mueve home.js para poder frenar de forma gradual. */
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ticker li {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 16px;
  color: #b9b8b2;
  font: 900 clamp(18px, 2vw, 24px)/1 var(--font-display);
  white-space: nowrap;
}

.ticker li::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--pink);
  transform: rotate(45deg);
}



/* 5. Hosting: planes, medidores e incluidos. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 28px 28px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), #ffffff0c, transparent 60%),
    var(--ink-2);
  transition: border-color .3s;
}

.plan:hover {
  border-color: #ffffff30;
}

.plan--featured {
  border-color: var(--pink);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), #e81d621f, transparent 60%),
    var(--ink-2);
}

.plan--featured:hover {
  border-color: var(--pink);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan-head h3 {
  color: var(--on-ink-muted);
  font: 500 14px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan-price {
  margin-block: 10px 8px;
  font: 900 clamp(38px, 4vw, 52px)/1 var(--font-display);
  letter-spacing: -.03em;
}

.plan-price span {
  margin-left: 4px;
  color: var(--on-ink-muted);
  font: 400 15px var(--font-body);
  letter-spacing: 0;
}

.plan-for {
  color: #b9b8b2;
  font-size: 15px;
}

.meters {
  display: grid;
  gap: 16px;
}

.meters > div {
  --fill: var(--v);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
}

.meters dt {
  color: var(--on-ink-muted);
  font: 500 12px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.meters dd {
  font-weight: 700;
  font-size: 14px;
  text-align: right;
}

/* Barra segmentada, como los indicadores de un rack. */
.meters > div::after {
  content: "";
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, var(--on-ink) calc(var(--fill) * 100%), #ffffff14 0);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent 0 10%);
  mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent 0 10%);
}

.plan--featured .meters > div::after {
  background: linear-gradient(90deg, var(--pink) calc(var(--fill) * 100%), #ffffff14 0);
}

.plan-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  font-size: 15px;
}

.plan-list li,
.checks li {
  position: relative;
  padding-left: 26px;
}

.plan-list li::before,
.checks li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: .3em;
  color: var(--green);
  font: 900 12px/1 "Font Awesome 7 Free";
}

.included {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-top: 16px;
  padding: 32px 28px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
}

.included h3 {
  font: 900 24px/1.15 var(--font-display);
}

.included ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  color: #c9c8c2;
  font-size: 15px;
}

.included li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.included .fas,
.included .fab {
  color: var(--on-ink-muted);
}

.partners {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 56px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  gap: 1px;
}

.partners li {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 16px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--paper-line);
}

.partners img {
  width: auto;
  max-width: 100%;
  max-height: 28px;
  opacity: .8;
  transition: opacity .25s;
}

.partners li:hover img {
  opacity: 1;
}


.services {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: transform .35s, box-shadow .35s;
}

.service--wide {
  background: var(--ink);
  color: var(--on-ink);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: auto;
  border-radius: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 20px;
}

.service h3 {
  font: 900 clamp(22px, 2.2vw, 28px)/1.1 var(--font-display);
  letter-spacing: -.01em;
}

.service p {
  color: var(--muted);
}

.service--wide p {
  color: #b9b8b2;
}

.service .link-arrow {
  align-self: flex-start;
  margin-top: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .service:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 40px -24px #5a0022aa;
  }
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section-head--sticky {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin-bottom: 0;
}

.solutions {
  display: grid;
  gap: 56px;
}

.solution-group-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font: 500 13px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.solution-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--paper-line);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.solution {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s;
}

.solution:hover {
  border-color: #16171a55;
}

.solution h4 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font: 900 19px/1.2 var(--font-display);
  letter-spacing: -.01em;
}

.solution h4 .fas,
.solution h4 .fab {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--pink);
}

.solution p {
  margin-block: 12px 20px;
  color: var(--muted);
  font-size: 15px;
}

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
}

.tier h3 {
  color: var(--muted);
  font: 500 13px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tier-price {
  margin-top: 12px;
  font: 900 clamp(32px, 3vw, 40px)/1 var(--font-display);
  letter-spacing: -.03em;
}

.tier-time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.tier-copy {
  min-height: calc(4.8em + 20px);
  margin-block: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 15px;
}

.checks {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
}

.tier-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.tier--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.tier--dark h3,
.tier--dark .tier-time {
  color: var(--on-ink-muted);
}

.tier--dark .tier-copy {
  border-color: var(--ink-line);
  color: #c9c8c2;
}


/* 7. Catálogo y guías. */
.site-footer {
  border-top: 1px solid var(--ink-line);
}


/* 8. Pie de página y chat. */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 10vw, 130px);
  background: var(--ink);
  color: var(--on-ink);
}

.footer-cta {
  padding-bottom: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--ink-line);
}

.footer-cta .kicker {
  color: var(--on-ink-muted);
}

.footer-cta h2 {
  margin-block: 20px 28px;
  font: 900 clamp(32px, 5vw, 60px)/1.02 var(--font-display);
  letter-spacing: -.02em;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font: 900 clamp(34px, 8.2vw, 104px)/1 var(--font-display);
  letter-spacing: -.035em;
  white-space: nowrap;
}

.footer-phone .fab {
  width: auto;
  color: var(--green);
  font-size: .7em;
}

/* Subrayado que se dibuja de izquierda a derecha al pasar el puntero. */
.footer-phone-number {
  position: relative;
}

.footer-phone-number::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.1em;
  height: .07em;
  border-radius: 1em;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.footer-phone:hover .footer-phone-number::after,
.footer-phone:focus-visible .footer-phone-number::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-mail {
  display: block;
  width: fit-content;
  margin-top: 24px;
  color: #b9b8b2;
  font-size: clamp(16px, 2vw, 20px);
}

.footer-mail:hover {
  color: var(--on-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-block: 56px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  color: var(--on-ink-muted);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-grid li + li {
  margin-top: 8px;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  font-size: 18px;
  transition: background-color .25s, border-color .25s, color .25s;
}

.social-links a:hover {
  border-color: var(--on-ink);
  background: var(--on-ink);
  color: var(--ink);
}

.footer-credits {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px 96px;
  border-top: 1px solid var(--ink-line);
  color: var(--on-ink-muted);
  font-size: 13px;
}

.footer-credits .fas {
  color: var(--pink);
}

/* Chat de WhatsApp: mismo componente que la portada actual. */
.whatsapp-widget {
  --chat-green: #008b62;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 120;
  color: #151918;
  font: 400 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.whatsapp-launcher {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 151px;
  min-height: 54px;
  margin-left: auto;
  padding: 8px 14px 8px 10px;
  border: 1px solid #e7ece8;
  border-radius: 28px;
  background: #fff;
  color: #151918;
  box-shadow: 0 4px 20px #11291e20;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px #11291e30;
}

.whatsapp-launcher > .fab {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 23px;
}

.whatsapp-launcher strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #66726b;
  font-size: 11px;
  line-height: 1.5;
}

.chat-status > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #21bd64;
}

.whatsapp-chat {
  position: absolute;
  right: 0;
  bottom: 66px;
  display: flex;
  flex-direction: column;
  width: min(328px, calc(100vw - 32px));
  height: 464px;
  max-height: calc(100dvh - 102px - env(safe-area-inset-bottom));
  overflow: hidden;
  border: 1px solid #dfe3df;
  border-radius: 22px;
  background: #f6f5f3;
  box-shadow: 0 12px 48px #14251c29, 0 2px 8px #14251c0d;
  transform-origin: bottom right;
  animation: chat-open .22s ease-out;
}

@keyframes chat-open {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 9px 17px 9px 5px;
  border-bottom: 1px solid #d9dbd8;
  background: #f7f7f5;
}

.chat-icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 44px;
  padding: 3px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #161a18;
  cursor: pointer;
}

.chat-icon-button:hover {
  background: #e9ece9;
}

.chat-icon-button svg,
.chat-send svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chat-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  height: 37px;
  border: 1px solid #dce5de;
  border-radius: 50%;
  background: #e5ede6;
  color: #375946;
  font-size: 18px;
}

.chat-contact {
  flex: 1;
  min-width: 0;
}

.chat-contact h2 {
  color: #131814;
  font: 600 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.25px;
}

.chat-brand {
  color: var(--chat-green);
  font-size: 22px;
}

.chat-conversation {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-height: 0;
  padding: 12px 14px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c2c8be transparent;
  background-color: #f1ede4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='%23d8d4c7' stroke-width='1' opacity='.5'%3E%3Cpath d='M15 22q0-9 10-9h15q10 0 10 9v8q0 9-10 9H27l-8 6 2-7q-6-1-6-8zM100 19l27 10-20 8-7 19-8-13-11-6zM92 43l15-6 20-8M60 93c-14-16-25 4 0 18 25-14 14-34 0-18zM126 107l5-9 5 9 10 2-7 7 1 11-9-5-9 5 1-11-7-7zM20 143c14-17 29-5 20 9s-26 2-16-10M87 154l8 5 8-5-8-5zM148 52c10-9 20 1 12 11s-20 0-12-11'/%3E%3Ccircle cx='62' cy='56' r='3'/%3E%3Ccircle cx='16' cy='85' r='2'/%3E%3Ccircle cx='155' cy='154' r='3'/%3E%3Cpath d='m92 82 3-3m-3 0 3 3m-43 79 4-4m-4 0 4 4'/%3E%3C/svg%3E");
}

.chat-date {
  align-self: center;
  padding: 3px 11px;
  border-radius: 7px;
  background: #ffffffdb;
  color: #62695e;
  box-shadow: 0 1px 1px #0000000a;
  font-size: 11px;
}

.chat-notice {
  align-self: center;
  max-width: 260px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff2ce;
  color: #72603c;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.chat-message {
  position: relative;
  flex-shrink: 0;
  max-width: 91%;
  padding: 8px 10px 5px;
  border-radius: 0 10px 10px;
  background: #fff;
  box-shadow: 0 1px 1px #00000014;
  overflow-wrap: anywhere;
}

.chat-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  border-top: 8px solid #fff;
  border-left: 7px solid transparent;
}

.chat-message--sent {
  align-self: flex-end;
  border-radius: 10px 0 10px 10px;
  background: #d9fdd3;
}

.chat-message--sent::before {
  right: -6px;
  left: auto;
  border-top-color: #d9fdd3;
  border-right: 7px solid transparent;
  border-left: 0;
}

.chat-time {
  display: block;
  margin-top: 2px;
  color: #737b71;
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}

.chat-email {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eef0ed;
  color: var(--chat-green);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.chat-compose {
  flex: 0 0 auto;
  padding: 7px 12px 6px;
  border-top: 1px solid #dcdfd8;
  background: #f7f7f5;
}

.chat-availability {
  margin-bottom: 7px;
  color: #6a716a;
  font-size: 10px;
  text-align: center;
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-wrap {
  flex: 1;
  min-width: 0;
}

.chat-input-wrap input {
  width: 100%;
  height: 36px;
  padding: 5px 13px;
  border: 1px solid #d7dcd5;
  border-radius: 20px;
  outline: none;
  background: #fff;
  color: #151918;
  font: inherit;
  font-size: 16px;
}

.chat-input-wrap input::placeholder {
  color: #7b827c;
  font-size: 14px;
}

.chat-input-wrap input:focus-visible {
  border-color: var(--chat-green);
  box-shadow: 0 0 0 2px #008b6220;
}

.chat-send {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1dab61;
  color: #fff;
  cursor: pointer;
}

.chat-send:hover:not(:disabled) {
  background: #138d4e;
}

.chat-send:disabled {
  background: #e0e5de;
  color: #8b9689;
  cursor: default;
}

.chat-home-indicator {
  display: block;
  width: 88px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: #202520;
}

.whatsapp-widget :focus-visible {
  outline: 2px solid var(--chat-green);
  outline-offset: 2px;
}


/* 9. Aparición al hacer scroll. Solo con JavaScript y movimiento permitido. */
@media (prefers-reduced-motion: no-preference) {
  .has-js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .has-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
  /* Los medidores se llenan al aparecer la tarjeta. */
  .has-js .plan[data-reveal] .meters > div {
    --fill: 0;
    transition: --fill 1s;
  }
  .has-js .plan[data-reveal].is-visible .meters > div {
    --fill: var(--v);
  }
}

@property --fill {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}


/* Responsive: 1100, 820 y 560 px. */
@media (max-width: 1100px) {
  .main-navigation > a {
    padding-inline: 8px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .specs,
  .rack {
    max-width: 640px;
  }
  .services {
    grid-template-columns: 1fr 1fr;
  }
  .service--wide {
    grid-column: 1 / -1;
    min-height: 260px;
  }
  .tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .included {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: grid;
  }
  html:not(.has-js) .main-navigation {
    display: none;
  }
  .has-js .main-navigation {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    padding: 8px var(--gutter) 24px;
    overflow-y: auto;
    border-bottom: 1px solid var(--ink-line);
    background: var(--ink);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .has-js .main-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s, transform .25s;
  }
  .has-js .main-navigation > a {
    padding: 16px 0;
    border-bottom: 1px solid var(--ink-line);
    border-radius: 0;
    color: var(--on-ink);
    font: 900 24px/1.2 var(--font-display);
  }
  .has-js .main-navigation > a:hover {
    background: none;
    color: var(--pink);
  }
  .site-header:has(.is-open) {
    background: var(--ink);
  }
  .solutions-layout {
    grid-template-columns: 1fr;
  }
  .section-head--sticky {
    position: static;
    margin-bottom: 8px;
  }
}

@media (max-width: 820px) {
  /* Planes en carrusel con imán: se ve el borde del siguiente. */
  .plans {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 380px);
    margin-inline: calc(var(--gutter) * -1);
    padding: 14px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar {
    display: none;
  }
  .plan {
    scroll-snap-align: start;
  }
  .included ul {
    grid-template-columns: 1fr 1fr;
  }
  .partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  /* Móvil: píldora compacta con ícono en círculo y texto corto. */
  .header-client {
    gap: 8px;
    min-height: 40px;
    padding: 0 14px 0 4px;
    font-size: 13px;
  }
  .header-client .fas {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--on-ink);
    font-size: 11px;
  }
  .header-client-full {
    display: none;
  }
  .header-client-short {
    display: inline;
  }
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
  .header-client,
  .menu-toggle {
    flex-shrink: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 60px;
  }
  .header-bar {
    gap: 10px;
  }
  .logo {
    font-size: 17px;
  }
  .hero h1 em,
  .hero .hero-title em {
    -webkit-text-stroke-width: 1px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hero-facts dd {
    font-size: 20px;
  }
  .specs-top {
    padding: 20px 18px 16px;
  }
  .specs-tabs {
    flex: 1 1 100%;
  }
  .specs-tabs button {
    flex: 1;
    padding-block: 9px;
  }
  .specs-grid > div {
    padding: 16px 18px;
  }
  .specs-grid dt {
    font-size: 12px;
  }
  .specs-grid dd {
    font-size: 20px;
  }
  .specs-foot {
    padding: 16px 18px 18px;
  }
  .rack {
    padding: 12px 16px;
  }
  .rack-unit {
    gap: 10px;
    height: 50px;
    padding: 0 10px;
  }
  .rack-label {
    font-size: 10.5px;
    line-height: 1.35;
  }
  .rack-role {
    display: block;
    font-size: 9.5px;
  }
  .rack-role::before {
    content: none;
  }
  .rack-bays i:nth-child(n+4),
  .rack-ports i:nth-child(n+5) {
    display: none;
  }
  .services,
  .tiers,
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .service {
    min-height: 0;
  }
  .tier-copy {
    min-height: 0;
  }
  .included {
    padding: 24px 20px;
  }
  .included ul {
    grid-template-columns: 1fr;
  }
  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .solution {
    padding: 20px;
  }
  .solution-actions .btn {
    flex: 1;
  }
  .partners li {
    min-height: 72px;
  }
  .footer-grid {
    padding-block: 40px;
  }
  .footer-credits {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker-track {
    flex-wrap: wrap;
    width: auto;
  }
  .hero::after {
    display: none;
  }
}

/* Móvil estrecho: el logo MATIASHOSTING se reduce para que quepan la píldora y el menú. */
@media (max-width: 420px) {
  .header-bar {
    gap: 8px;
  }
  .logo {
    font-size: 15px;
  }
}

/* ≤ 360 px: la píldora de clientes queda solo con el ícono. */
@media (max-width: 360px) {
  .logo {
    font-size: 14px;
  }
  .header-client {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .header-client .fas {
    width: 32px;
    height: 32px;
  }
  .header-client-short {
    display: none;
  }
}

@media (max-width: 560px) {
  .client-form {
    padding: 28px 20px 22px;
  }
}


/* 10. Páginas internas (Laravel): texto legal, área de clientes y error de acceso. */
.client-error {
  padding: 12px 14px;
  border: 1px solid #e81d6266;
  border-radius: 10px;
  background: #e81d621a;
  color: #ffd1de;
  font-size: 14px;
}

.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 6vw, 72px);
  background: var(--ink);
  color: var(--on-ink);
}

.page-hero .section-label {
  color: var(--on-ink-muted);
}

.page-hero h1 {
  font: 900 clamp(38px, 6vw, 76px)/1 var(--font-display);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.page-lead {
  max-width: 620px;
  margin-top: 20px;
  color: #b9b8b2;
  font-size: clamp(16px, 1.5vw, 19px);
}

.page-body {
  padding-block: clamp(48px, 7vw, 96px);
}

.page-layout {
  max-width: calc(820px + var(--gutter) * 2);
}

.page-draft {
  margin-bottom: 32px;
  padding: 14px 16px;
  border: 1px dashed #c3134f;
  border-radius: 10px;
  background: #e81d6212;
  color: var(--pink-dark);
  font-size: 14px;
}

.prose {
  font-size: 17px;
  line-height: 1.75;
}

.prose-updated {
  color: var(--muted);
  font: 500 13px/1.4 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.prose h2 {
  margin: 44px 0 12px;
  font: 900 clamp(22px, 2.4vw, 28px)/1.2 var(--font-display);
  letter-spacing: -.01em;
}

.prose p + p,
.prose ul {
  margin-top: 12px;
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  list-style: disc;
}

.prose a {
  color: var(--pink-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Área de clientes. */
.account-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-alert {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
}

.account-card {
  padding: 24px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
}

.account-card--wide {
  grid-column: 1 / -1;
}

.account-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-line);
}

.account-card-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 900 20px/1.2 var(--font-display);
}

.account-card-head h2 .fas {
  color: var(--pink);
}

.account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--paper-line);
}

.account-row:last-child {
  border-bottom: 0;
}

.account-row-title {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-row-meta {
  color: var(--muted);
  font-size: 14px;
}

.account-row-amount {
  font: 900 18px/1 var(--font-display);
}

.account-empty {
  padding-top: 16px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  font: 500 12px/1.4 var(--font-mono);
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9a9ca3;
}

.status--ok::before { background: var(--green); }
.status--warn::before { background: #f5a524; }
.status--bad::before { background: var(--pink); }

@media (max-width: 820px) {
  .account {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .account-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .account-row > .account-row-meta:not(:first-child),
  .account-row > .account-row-amount {
    grid-column: 1;
  }
  .account-actions .btn,
  .account-actions form {
    flex: 1 1 100%;
  }
  .account-actions form .btn {
    width: 100%;
  }
}


/* 11. Mantenimiento, acceso de administrador y barra de admin. */
.mnt-hero {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.mnt-hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--on-ink);
}

.mnt-hero .kicker {
  margin-bottom: 20px;
  color: var(--on-ink-muted);
}

.mnt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mnt-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
}

.mnt-card h3 {
  margin-top: 12px;
  font: 900 clamp(22px, 2.4vw, 28px)/1.1 var(--font-display);
}

.mnt-card p {
  color: var(--muted);
}

.mnt-card--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.mnt-card--dark p {
  color: #b9b8b2;
}

.mnt-card .link-arrow {
  align-self: flex-start;
  margin-top: auto;
}

.mnt-phone {
  width: fit-content;
  font: 900 clamp(26px, 3.4vw, 40px)/1.1 var(--font-display);
  letter-spacing: -.02em;
  white-space: nowrap;
}

.mnt-mail {
  font-size: clamp(18px, 2.2vw, 26px);
  white-space: normal;
  overflow-wrap: anywhere;
}

.mnt-warning {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid #e81d6255;
  border-left: 4px solid var(--pink);
  border-radius: var(--radius);
  background: #fff5f8;
}

.mnt-warning > .fas {
  margin-top: 4px;
  color: var(--pink);
  font-size: 22px;
}

.mnt-warning h3 {
  margin-bottom: 6px;
  font: 900 20px/1.2 var(--font-display);
}

.mnt-warning a {
  color: var(--pink-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mnt-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mnt-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color .25s, background-color .25s;
}

.mnt-channel:hover {
  border-color: var(--pink);
}

.mnt-channel > i {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 20px;
}

.mnt-channel strong {
  display: block;
  color: var(--on-ink-muted);
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mnt-channel span span {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer--minimal {
  padding-top: 0;
}

.site-footer--minimal .footer-credits {
  border-top: 0;
}

.admin-login {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: calc(var(--header-h) + 32px) 0 48px;
  background: var(--ink);
  color: var(--on-ink);
}

.admin-card {
  width: min(420px, 100%);
  margin-inline: auto;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.admin-card h1 {
  margin-top: -8px;
  font: 900 32px/1.1 var(--font-display);
}

.admin-card .section-label {
  margin-bottom: 0;
  color: var(--on-ink-muted);
}

.admin-bar {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 10px 30px #0006;
  font-size: 13px;
}

.admin-bar form {
  margin: 0;
}

.admin-bar button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: transparent;
  color: var(--on-ink);
  font: 700 12px var(--font-body);
  cursor: pointer;
}

.admin-bar button:hover {
  border-color: var(--on-ink);
}

.led--warn {
  background: #f5a524;
  animation: none;
}

@media (max-width: 820px) {
  .mnt-grid,
  .mnt-channels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .mnt-card {
    padding: 24px 20px;
  }
  .mnt-warning {
    padding: 20px;
  }
  .admin-bar span:not(.led) {
    max-width: 170px;
    line-height: 1.25;
  }
}

/* «MatiasHosting.com» es una sola palabra larga: en móvil baja de tamaño para no desbordar. */
@media (max-width: 560px) {
  .mnt-hero h1 {
    font-size: clamp(28px, 8.4vw, 76px);
  }
}
