/* =========================================================
   Gateway Tech — Hoja de estilos principal
   Paleta según Manual de Marca
   ========================================================= */

/* ---------- Fuentes de marca ---------- */
/* Archivo de peso único (Bold): el rango evita que el navegador simule la negrita */
@font-face {
  font-family: "Prompt";
  src: url("../fonts/Prompt-Bold.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables de marca ---------- */
:root {
  --carbon: #1a1a1a;
  --carbon-soft: #232025;
  --carbon-softer: #2c282e;
  --orchid: #d100ce;
  --orchid-light: #f04ff0;
  --orchid-deep: #a800a6;
  --purple: #7c0081;
  --purple-deep: #3e033d;
  --snow: #f8f8f8;
  --snow-dim: #e9e5ea;

  --gradient-brand: linear-gradient(135deg, #c400c1 0%, var(--purple) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(209, 0, 206, 0.14), rgba(124, 0, 129, 0.14));
  --gradient-dark: linear-gradient(180deg, var(--carbon) 0%, #120f13 100%);

  --text-on-dark: var(--snow);
  --text-muted-on-dark: rgba(248, 248, 248, 0.68);
  --text-on-light: var(--carbon);
  --text-muted-on-light: rgba(26, 26, 26, 0.64);

  --border-on-dark: rgba(248, 248, 248, 0.12);
  --border-on-light: rgba(26, 26, 26, 0.1);

  --font-heading: "Prompt", "Poppins", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 45px rgba(26, 4, 27, 0.16);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.45);

  --header-h: 84px;
}

/* ---------- Reset básico ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--snow);
  color: var(--text-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}
/* Prompt solo en títulos grandes (h1 y encabezados de sección de unos 28 px o más);
   los subtítulos y el texto pequeño van en Montserrat, que se lee menos pesada */
h1,
.section-head h2,
.about-story h2,
.strenua-band h2,
.home-close h2,
.home-store h2,
.solve-lead h3,
.mv-card h3,
.asm-block > h3 {
  font-family: var(--font-heading);
}
p {
  margin: 0 0 1em;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--tight {
  padding: 56px 0;
}
.section--dark {
  background: var(--gradient-dark);
  color: var(--text-on-dark);
}
.section--soft {
  background: #fbf5fb;
}
.section--brand {
  background: var(--gradient-brand);
  color: var(--snow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orchid-deep);
  background: rgba(209, 0, 206, 0.1);
  border: 1px solid rgba(209, 0, 206, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section--dark .eyebrow,
.section--brand .eyebrow {
  color: var(--snow);
  background: rgba(248, 248, 248, 0.1);
  border-color: rgba(248, 248, 248, 0.35);
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.section-head p {
  color: var(--text-muted-on-light);
  font-size: 17px;
}
.section--dark .section-head p {
  color: var(--text-muted-on-dark);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--snow);
  box-shadow: 0 14px 30px rgba(209, 0, 206, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(209, 0, 206, 0.4);
}
.btn-outline {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--snow);
}
.section--dark .btn-outline,
.section--brand .btn-outline {
  border-color: rgba(248, 248, 248, 0.55);
  color: var(--snow);
}
.section--dark .btn-outline:hover,
.section--brand .btn-outline:hover {
  background: var(--snow);
  color: var(--carbon);
}
.btn-light {
  background: var(--snow);
  color: var(--purple);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ---------- Header / navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(248, 248, 248, 0.08);
}
.site-header .container {
  max-width: 1400px;
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-muted-on-dark);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover {
  color: var(--snow);
  background: rgba(248, 248, 248, 0.08);
}
.nav-links a.active {
  color: var(--snow);
  background: rgba(209, 0, 206, 0.22);
}
/* Submenú de Tienda: se despliega al pasar el cursor o al enfocar con el teclado */
.nav-item {
  position: relative;
}
.nav-item > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 110;
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--carbon-soft);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  display: flex;
}
.nav-sub a {
  border-radius: var(--radius-sm);
}
/* El botón que pliega el submenú solo existe en el menú móvil */
.nav-sub-toggle {
  display: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--snow);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1220px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    background: var(--carbon);
    border-bottom: 1px solid rgba(248, 248, 248, 0.08);
    padding: 10px 20px 20px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, visibility .3s ease;
  }
  .nav-links.open {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    visibility: visible;
  }
  /* En el menú móvil el submenú va siempre abierto, con sangría */
  .nav-item > a::after {
    display: none;
  }
  .nav-sub {
    position: static;
    display: flex;
    min-width: 0;
    margin-left: 14px;
    padding: 0 0 0 8px;
    border: 0;
    border-left: 1px solid var(--border-on-dark);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .nav-links a {
    padding: 14px 12px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  /* Tienda: el enlace a la izquierda y el botón que despliega sus secciones a la derecha */
  .nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .nav-item > .nav-sub {
    grid-column: 1 / -1;
  }
  .nav-links.js-sub .nav-item:not(.sub-open) > .nav-sub {
    display: none;
  }
  .nav-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-muted-on-dark);
    cursor: pointer;
  }
  .nav-sub-toggle:hover {
    color: var(--snow);
    background: rgba(248, 248, 248, 0.08);
  }
  .nav-sub-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform .25s ease;
  }
  .nav-item.sub-open .nav-sub-toggle svg {
    transform: rotate(180deg);
  }

}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000 0%, #0a0a0b 45%, #151516 100%);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: var(--snow);
}
.hero h1 .accent {
  color: var(--orchid);
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-muted-on-dark);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Zona de atención, bajo los botones de la sección principal */
.hero-note {
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--text-muted-on-dark);
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  /* En pantallas pequeñas el mensaje va primero y el icono queda detrás, como marca de agua */
  .hero-art {
    position: absolute;
    top: 28px;
    right: -90px;
    z-index: 0;
    width: 330px;
    opacity: .16;
    pointer-events: none;
  }
  /* El logo de Strenua es blanco: como marca de agua necesita ser más tenue */
  .stack {
    scale: .74;
    margin: -52px -60px;
  }
  .hero-grid > div:first-child {
    position: relative;
    z-index: 1;
  }
  .hero {
    padding: 56px 0 64px;
  }

}

/* ---------- Tarjetas de áreas ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--snow);
  fill: none;
}

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

}

/* ---------- Lista de servicios (páginas de área) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-on-light);
  font-size: 15.5px;
}
.section--dark .check-list li {
  border-color: var(--border-on-dark);
}
.check-list li:last-child {
  border-bottom: none;
}
.check-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orchid);
  margin-top: 2px;
}

/* ---------- Proceso / pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 24px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3,
.step h4 {
  color: var(--snow);
  font-size: 16px;
}
.step p {
  color: var(--text-muted-on-dark);
  font-size: 14px;
  margin: 0;
}
/* Pasos sobre una sección de fondo claro */
.section:not(.section--dark):not(.section--brand) .step {
  background: #fff;
  border-color: var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.section:not(.section--dark):not(.section--brand) .step h3,
.section:not(.section--dark):not(.section--brand) .step h4 {
  color: var(--text-on-light);
}
.section:not(.section--dark):not(.section--brand) .step p {
  color: var(--text-muted-on-light);
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--snow);
}
/* El texto se adapta al espacio: aunque sea largo, el botón se queda a la derecha */
.cta-banner > div {
  flex: 1 1 320px;
  min-width: 0;
}
.cta-banner h2,
.cta-banner h3 {
  font-size: 26px;
  margin-bottom: 6px;
}
.cta-banner p {
  margin: 0;
  color: rgba(248, 248, 248, 0.85);
}
.cta-banner .btn-light {
  flex-shrink: 0;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-on-light);
}
.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-on-light);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.contact-row .icon-badge svg {
  width: 22px;
  height: 22px;
}
.contact-row h3,
.contact-row h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.contact-row p {
  font-size: 14.5px;
  color: var(--text-muted-on-light);
  margin: 0;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  height: 320px;
  margin-top: 24px;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.form-card {
  background: var(--carbon-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--snow);
  border: 1px solid var(--border-on-dark);
}
.form-card h2,
.form-card h3 {
  margin-bottom: 22px;
  color: var(--snow);
}
.form-card h3 {
  font-size: 22px;
}
/* Si después del título va una aclaración, quedan juntos */
.form-card h3:has(+ p.hint) {
  margin-bottom: 8px;
}
.form-card p.hint {
  color: var(--text-muted-on-dark);
  font-size: 14px;
  margin-bottom: 26px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted-on-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(248, 248, 248, 0.62);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orchid-light);
}
.field select option {
  color: var(--carbon);
  background: #fff;
}

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

}

/* ---------- FAQ / Ayuda ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-on-light);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform .25s ease;
}
.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
  background: var(--gradient-brand);
  color: var(--snow);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer div {
  padding: 0 26px 22px;
  color: var(--text-muted-on-light);
  font-size: 15px;
}
.faq-answer a {
  color: var(--purple);
  text-decoration: underline;
}
.help-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .help-topics {
    grid-template-columns: repeat(2, 1fr);
  }

}
@media (max-width: 560px) {
  .help-topics {
    grid-template-columns: 1fr;
  }

}

/* ---------- Texto solo para lectores de pantalla ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Corporativo: las cuatro áreas como capas de una misma infraestructura */
.stack {
  position: relative;
  flex-shrink: 0;
  width: 450px;
  height: 346px;
}
.stack-layer {
  position: absolute;
  left: 30px;
  width: 220px;
  height: 220px;
  border-radius: 30px;
  border: 1.5px solid rgba(240, 79, 240, 0.55);
  background: linear-gradient(135deg, rgba(209, 0, 206, 0.34), rgba(62, 3, 61, 0.72));
  box-shadow: 0 18px 34px rgba(209, 0, 206, 0.22);
  transform: rotateX(60deg) rotateZ(45deg);
  animation: stack-float 4.8s ease-in-out infinite;
}
.stack-layer:nth-child(1) {
  top: -14px;
  z-index: 4;
  background: var(--gradient-brand);
  border-color: var(--orchid-light);
  box-shadow: 0 22px 46px rgba(209, 0, 206, 0.45);
}
.stack-layer:nth-child(2) { top: 40px; z-index: 3; animation-delay: -.5s; }
.stack-layer:nth-child(3) { top: 94px; z-index: 2; animation-delay: -1s; }
.stack-layer:nth-child(4) { top: 148px; z-index: 1; animation-delay: -1.5s; }
@keyframes stack-float {
  50% { translate: 0 -7px; }
}
.stack-labels li {
  position: absolute;
  left: 306px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .03em;
  white-space: nowrap;
  color: rgba(248, 248, 248, 0.82);
}
.stack-labels li::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--orchid-light), rgba(240, 79, 240, 0.2));
}
.stack-labels li:nth-child(1) { top: 86px; color: var(--snow); }
.stack-labels li:nth-child(2) { top: 140px; }
.stack-labels li:nth-child(3) { top: 194px; }
.stack-labels li:nth-child(4) { top: 248px; }
@media (max-width: 1100px) {
  .stack {
    scale: .82;
    margin: -36px -40px;
  }

}
@media (prefers-reduced-motion: reduce) {
  
  .stack-layer {
    animation: none;
  }

}

/* Strenua: el logo del producto en lugar del icono de la marca */

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.feature-list {
  max-width: 860px;
  margin: 0 auto;
}

#planes {
  scroll-margin-top: var(--header-h);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 1000px) {
  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}
@media (max-width: 900px) {
  .module-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-grid {
    max-width: 460px;
    margin: 0 auto;
    gap: 34px;
  }

}
@media (max-width: 620px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ---------- Estructuras propias de cada página ---------- */
.section-head--wide {
  max-width: 820px;
}
.section--brand .section-head p {
  color: rgba(248, 248, 248, 0.9);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--purple);
}
.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

/* Secciones a dos columnas */
.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.split--even {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.split .section-head {
  margin-bottom: 0;
}
.split-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

/* Inicio: mosaico de áreas y valores */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px rgba(26, 4, 27, 0.22);
}
.bento-card:hover .card-link svg {
  transform: translateX(4px);
}
.bento-card h3 {
  font-size: 21px;
  margin: 6px 0 0;
}
.bento-card p {
  flex-grow: 1;
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.bento-num {
  position: absolute;
  top: 28px;
  right: 30px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(26, 26, 26, 0.62);
}
.bento--2 {
  grid-template-columns: repeat(2, 1fr);
}
.bento-card--dark {
  background: linear-gradient(135deg, var(--carbon) 30%, var(--purple-deep) 100%);
  border-color: var(--border-on-dark);
  color: var(--snow);
}
.bento-card--dark p {
  color: var(--text-muted-on-dark);
}
.bento-card--dark .bento-num {
  color: rgba(248, 248, 248, 0.82);
}
.bento-card--dark .card-link {
  color: var(--orchid-light);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.value-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 130px;
  padding: 24px 26px;
  overflow-wrap: break-word;
  hyphens: auto;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.12);
  border: 1px solid rgba(248, 248, 248, 0.28);
  font-family: var(--font-body);
  font-size: 23px;
}
.value-tile span {
  margin-bottom: auto;
  font-size: 13px;
  opacity: .7;
}

/* Tienda: catálogo en mosaico y taller */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.duo-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
}
.duo-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  background: var(--gradient-brand);
  opacity: .4;
  filter: blur(60px);
}
.duo-card h3 {
  font-size: 23px;
  margin: 20px 0 8px;
}
.duo-card p {
  position: relative;
  max-width: 420px;
  margin: 0;
  color: var(--text-muted-on-dark);
}

/* Desarrollo: ventana de código, lista numerada, línea de tiempo */
.code-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-on-dark);
}
.code-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(248, 248, 248, 0.2);
}
.code-bar i:first-child {
  background: var(--orchid);
}
.code-body {
  margin: 0;
  padding: 20px 22px 24px;
  overflow-x: auto;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.95;
  color: rgba(248, 248, 248, 0.85);
}
.code-body .c {
  color: rgba(248, 248, 248, 0.5);
}
.code-body .k {
  color: var(--orchid-light);
}
.code-body .s {
  color: #e9b8ff;
}
.row-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 56px;
  counter-reset: row;
}
.row-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 6px 14px;
  padding: 26px 0;
  border-top: 1px solid var(--border-on-light);
}
.row-item::before {
  counter-increment: row;
  content: counter(row, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 3px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--orchid);
}
.row-item h3,
.row-item h4 {
  margin: 0;
  font-size: 19px;
}
.row-item p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.timeline {
  position: relative;
  padding-left: 36px;
  counter-reset: tl;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--orchid), var(--purple));
}
.timeline-item {
  position: relative;
  padding: 0 0 38px 24px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  counter-increment: tl;
  content: counter(tl);
  position: absolute;
  left: -36px;
  top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 13px;
}
.timeline-item h3,
.timeline-item h4 {
  margin-bottom: 4px;
  font-size: 20px;
  color: var(--snow);
}
.timeline-item p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted-on-dark);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Redes y Ayuda: portada centrada */
.hero--center {
  padding: 88px 0 84px;
  text-align: center;
}
.hero--center .section-head {
  max-width: 760px;
  margin: 0 auto;
}
.hero--center p.lead {
  margin-left: auto;
  margin-right: auto;
}
.hero--center .hero-actions {
  justify-content: center;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.hcard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.bignum-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: bn;
}

/* Tienda: computadora de escritorio (decorativa) */
.pc-art {
  width: min(100%, 450px);
  padding: 30px 28px 26px;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.pc-desk {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}
.pc-monitor {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pc-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 6px solid #0d0b0e;
  background: radial-gradient(circle at 50% 42%, rgba(209, 0, 206, 0.38), rgba(26, 4, 27, 0.9) 68%), #151216;
  box-shadow: 0 0 40px rgba(209, 0, 206, 0.28);
}
.pc-screen img {
  position: absolute;
  top: 14%;
  left: 50%;
  width: auto;
  height: 52%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 14px rgba(240, 79, 240, 0.55));
}
.pc-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px 0;
  background: rgba(13, 11, 14, 0.6);
}
.pc-taskbar i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: rgba(248, 248, 248, 0.5);
}
.pc-taskbar i:first-child {
  background: var(--orchid-light);
}
.pc-neck {
  width: 26px;
  height: 22px;
  background: linear-gradient(#0d0b0e, var(--carbon-softer));
}
.pc-base {
  width: 44%;
  height: 8px;
  border-radius: 6px 6px 2px 2px;
  background: var(--carbon-softer);
  border: 1px solid var(--border-on-dark);
}
.pc-tower {
  position: relative;
  flex: 0 0 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: 238px;
  padding: 16px 0;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--carbon-softer), #0d0b0e);
  border: 1px solid var(--border-on-dark);
  box-shadow: inset 0 0 26px rgba(209, 0, 206, 0.16);
}
.pc-power {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orchid-light);
  box-shadow: 0 0 0 4px rgba(240, 79, 240, 0.2);
}
.pc-fan {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(240, 79, 240, 0.85);
  background: repeating-conic-gradient(rgba(240, 79, 240, 0.5) 0deg 22deg, transparent 22deg 60deg), #0d0b0e;
  box-shadow: 0 0 16px rgba(209, 0, 206, 0.6);
  animation: pc-spin 2.4s linear infinite;
}
.pc-fan:nth-of-type(3) {
  animation-duration: 1.8s;
}
@keyframes pc-spin {
  to { transform: rotate(360deg); }
}
.pc-keys {
  display: flex;
  align-items: center;
  gap: 16px;
  width: calc(100% - 126px);
  margin-top: 18px;
  padding: 0 6%;
}
.pc-keyboard {
  flex: 1;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--border-on-dark);
  background: repeating-linear-gradient(90deg, rgba(248, 248, 248, 0.16) 0 7px, transparent 7px 11px), var(--carbon-softer);
  box-shadow: 0 0 14px rgba(209, 0, 206, 0.25);
}
.pc-mouse {
  width: 16px;
  height: 24px;
  border-radius: 9px;
  border: 1px solid var(--border-on-dark);
  background: var(--carbon-softer);
}
@media (prefers-reduced-motion: reduce) {
  .pc-fan {
    animation: none;
  }

}

/* Redes: panel de equipos de red (decorativo) */
.net-panel {
  display: grid;
  gap: 10px;
  width: min(100%, 450px);
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.net-unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--carbon-softer), #151216);
  border: 1px solid var(--border-on-dark);
}
.net-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(248, 248, 248, 0.7);
}
.net-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--snow);
}
.net-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orchid-light);
  box-shadow: 0 0 0 4px rgba(240, 79, 240, 0.22);
}
.net-ports {
  display: flex;
  gap: 6px;
}
.net-port {
  position: relative;
  width: 24px;
  height: 22px;
  border-radius: 4px;
  background: #0d0b0e;
  border: 1px solid var(--border-on-dark);
}
.net-port::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 6px;
  height: 4px;
  margin-left: -3px;
  border-radius: 2px;
  background: var(--orchid-light);
  animation: net-blink 1.4s steps(2, jump-none) infinite;
}
.net-port:nth-child(2n)::after {
  animation-duration: .9s;
}
.net-port:nth-child(3n)::after {
  animation-duration: 2.1s;
  background: var(--orchid-light);
}
.net-port:nth-child(7)::after {
  animation: none;
  opacity: .15;
}
@keyframes net-blink {
  50% { opacity: .2; }
}
.net-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
}
.net-bars span {
  width: 6px;
  border-radius: 2px;
  background: var(--orchid-light);
}
.net-bars span:nth-child(1) { height: 30%; }
.net-bars span:nth-child(2) { height: 53%; }
.net-bars span:nth-child(3) { height: 76%; }
.net-bars span:nth-child(4) { height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .net-port::after {
    animation: none;
  }

}
@media (max-width: 480px) {
  .net-ports {
    gap: 4px;
  }
  .net-port {
    width: 17px;
    height: 18px;
  }

}

/* Corporativo: a quién atendemos */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.aud-card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.aud-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px rgba(26, 4, 27, 0.18);
}
.aud-card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}
.aud-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
@media (max-width: 1000px) {
  .aud-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

}

.strip-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.strip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.strip-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.zigzag {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  counter-reset: zz;
}
.zigzag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(var(--orchid), var(--purple));
}

/* Corporativo: panel de texto, diagrama central, pasos conectados */
.hub {
  display: grid;
  grid-template-columns: 1fr .85fr 1fr;
  gap: 20px;
}

/* Contacto: formulario en la portada y bloque de visita */
.hero--contact .hero-grid {
  grid-template-columns: .9fr 1.1fr;
}
.hero--contact .form-card {
  box-shadow: var(--shadow-dark);
}
#visitanos {
  scroll-margin-top: var(--header-h);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.visit-grid .map-frame {
  height: auto;
  min-height: 380px;
  margin-top: 0;
}

/* Ayuda: accesos en píldora */
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
  font-size: 14.5px;
  font-weight: 600;
  transition: background .2s ease;
}
.topic-pill:hover {
  background: rgba(209, 0, 206, 0.2);
}
.topic-pill .icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.topic-pill .icon-badge svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 900px) {
  .split,
  .split--even,
  .hero--contact .hero-grid,
  .visit-grid,
  .hub {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    gap: 32px;
  }
  .split-aside {
    position: static;
  }
  .bento,
  .benefit-grid,
  .strip-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .bignum-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 30px;
  }

}
@media (max-width: 760px) {
  .tile-grid,
  .duo,
  .row-list,
  .hcard-grid {
    grid-template-columns: 1fr;
  }

  .zigzag::before {
    left: 17px;
  }

}
@media (max-width: 600px) {
  .bento,
  .benefit-grid,
  .strip-list,
  .bignum-steps {
    grid-template-columns: 1fr;
  }
  .bento-card {
    min-height: 0;
  }

}

/* ---------- Catálogo de la tienda ---------- */
.catalog-cta {
  margin-top: 36px;
  text-align: center;
}
#catalogo {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
/* Todos los productos juntos, en cuadrícula */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* Páginas del catálogo */
.catalog-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.catalog-pages[hidden] {
  display: none;
}
.catalog-page {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border-on-light);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.catalog-page:hover:not(:disabled) {
  border-color: var(--orchid);
  color: var(--purple);
}
.catalog-page.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--snow);
}
.catalog-page:disabled {
  opacity: .4;
  cursor: default;
}
.catalog-page-gap {
  padding: 0 2px;
  color: var(--text-muted-on-light);
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: 0 10px 24px rgba(26, 4, 27, 0.1);
}
.product-img {
  display: block;
  border-bottom: 1px solid var(--border-on-light);
}
.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--carbon);
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px;
}
/* Título: hasta 3 líneas */
.product-body h3,
.product-body h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 16.5px;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.product-body h3 a,
.product-body h4 a {
  color: inherit;
}
.product-body h3 a:hover,
.product-body h4 a:hover {
  color: var(--purple);
}
.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
}
.product-price strong {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--purple);
}
.product-price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-on-light);
}
.product-price[hidden] {
  display: none;
}
.product-info .product-price {
  margin: -8px 0 22px;
}
.product-info .product-price strong {
  font-size: 22px;
}
.product-info .product-price span {
  font-size: 16px;
}
.product-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Vista de un producto (producto.html) */
.product-page {
  padding-top: 48px;
}
.product-back {
  margin-bottom: 28px;
}
.product-status {
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(124, 0, 129, 0.35);
  color: var(--text-muted-on-light);
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  gap: 56px;
  align-items: start;
}
.product-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.product-photo img {
  width: 100%;
  height: auto;
}
/* Tira de fotos bajo la principal (cuando el producto tiene más de una) */
.product-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 4px;
  overflow-x: auto;
}
.product-thumbs[hidden] {
  display: none;
}
.product-thumb {
  flex: 0 0 64px;
  height: 80px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid var(--border-on-light);
  background: var(--snow);
  opacity: .7;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
.product-thumb:hover,
.product-thumb[aria-pressed="true"] {
  opacity: 1;
}
.product-thumb[aria-pressed="true"] {
  border-color: var(--orchid);
}
.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Las fotos acompañan al bajar por la descripción. En pantallas bajas (portátiles) se
   estrechan lo justo para caber enteras: la foto es 4:5, así que su ancho es el 80 % del
   alto, y la tira de fotos ocupa unos 92 px más. */
@media (min-width: 821px) {
  .product-media {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    max-width: calc((100vh - var(--header-h) - 48px) * 0.8);
  }
  .product-media.has-thumbs {
    max-width: calc((100vh - var(--header-h) - 48px - 92px) * 0.8);
  }

}
.product-info h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 22px;
}
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}
.product-specs > div {
  min-width: 130px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #fbf5fb;
  border: 1px solid var(--border-on-light);
}
.product-specs dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple);
}
.product-specs dd {
  margin: 2px 0 0;
  font-weight: 700;
}
.product-description {
  margin: 0 0 28px;
  white-space: pre-line;
  color: var(--text-muted-on-light);
}
.product-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-muted-on-light);
}
.product-note a {
  color: var(--purple);
  font-weight: 700;
}
.product-specs[hidden],
.product-detail[hidden] {
  display: none;
}
@media (max-width: 820px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-media {
    max-width: 440px;
  }

}
@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}
@media (max-width: 760px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-body {
    padding: 14px;
  }
  .product-body h3,
  .product-body h4 {
    font-size: 14.5px;
  }
  .product-links .card-link {
    font-size: 13px;
  }

}
/* Aviso de que no hay productos (o de que el servicio no responde) */
.catalog-empty {
  margin: 0;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(124, 0, 129, 0.35);
  color: var(--text-muted-on-light);
  font-size: 15px;
}
.catalog-empty a {
  color: var(--purple);
  font-weight: 700;
}
.catalog-empty[hidden] {
  display: none;
}

/* ---------- Tarifas del taller (taller.html) ---------- */
#tarifas {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--snow);
  /* La tarjeta es clara aunque la sección sea oscura */
  color: var(--text-on-light);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.price-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.price-intro {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.price-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--border-on-light);
}
.price-list h3,
.price-list h4 {
  margin: 0 0 4px;
  font-size: 16px;
}
.price-list p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted-on-light);
}
.price-amount {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 15px;
  white-space: nowrap;
}
.price-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.price-bs {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted-on-light);
  white-space: nowrap;
}
.price-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(209, 0, 206, 0.12);
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  vertical-align: middle;
}
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 26px;
  }

}

/* ---------- Precios al mayor (portada de la tienda) ---------- */
.bulk {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.bulk .section-head {
  margin-bottom: 0;
}
.bulk .section-head p {
  color: var(--text-muted-on-dark);
}
.bulk-cards {
  display: grid;
  gap: 16px;
}
.bulk-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
}
.bulk-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}
.bulk-card .icon-badge svg {
  width: 24px;
  height: 24px;
}
.bulk-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--snow);
}
.bulk-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-dark);
}
@media (max-width: 900px) {
  .bulk {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}

/* ---------- Foto de la tienda (contacto.html y nosotros.html) ---------- */
.store-photo {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.store-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 55%;
}
.store-photo--side {
  margin: 0;
}
.store-photo--side img {
  aspect-ratio: 4 / 3;
}
.place {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.place .section-head {
  margin-bottom: 0;
}
.place--small {
  grid-template-columns: 1fr 340px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .place {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .place--small .store-photo {
    max-width: 340px;
  }

}

/* ---------- Reseñas de clientes ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.review-stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
}
.review-stars svg {
  width: 20px;
  height: 20px;
}
.review-card blockquote {
  flex-grow: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.review-card figcaption {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid var(--border-on-light);
}
.review-card figcaption strong {
  font-family: var(--font-body);
  font-size: 15.5px;
}
.review-card figcaption span {
  font-size: 13px;
  color: var(--text-muted-on-light);
}
.review-more {
  margin: 28px 0 0;
  font-size: 15px;
}
@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

}

/* ---------- Métodos de pago (pagos.html) ---------- */
.text-link {
  color: var(--purple);
  font-weight: 700;
}
.section--dark .text-link {
  color: var(--orchid-light);
}
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pay-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.pay-card h2 {
  margin: 20px 0 8px;
  font-size: 24px;
}
.pay-card p {
  margin: 0 0 22px;
  color: var(--text-muted-on-light);
}

/* Aviso antifraude */
.pay-alert {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 860px;
  margin: 32px auto 0;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: #fbf5fb;
  border: 1px solid rgba(209, 0, 206, 0.4);
}
.pay-alert .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}
.pay-alert .icon-badge svg {
  width: 24px;
  height: 24px;
}
.pay-alert h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.pay-alert p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.pay-alert a {
  color: var(--purple);
  font-weight: 700;
}
.off-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.off-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 46px rgba(209, 0, 206, 0.5);
  font-family: var(--font-body);
  line-height: 1;
}
.off-badge strong {
  font-family: var(--font-heading);
  font-size: 44px;
}
.off-badge span {
  margin-top: 4px;
  font-size: 24px;
}
.off-note {
  margin: 32px 0 0;
  text-align: center;
  color: var(--text-muted-on-dark);
}
@media (max-width: 820px) {
  .pay-grid {
    grid-template-columns: 1fr;
  }
  .pay-card {
    padding: 28px;
  }
  .off-badge {
    width: 120px;
    height: 120px;
  }
  .off-badge strong {
    font-size: 34px;
  }
  .off-badge span {
    font-size: 19px;
  }

}

/* ---------- Ensamblaje de PC (ensamblaje.html) ---------- */
#cotizar {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.price-list--first li:first-child {
  padding-top: 0;
  border-top: 0;
}
.price-list--first li:last-child {
  padding-bottom: 0;
}
.price-amount--free {
  background: #0f7a42;
}
.build-card {
  max-width: 860px;
  margin: 0 auto;
}
.build-fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.build-fieldset legend {
  margin-bottom: 14px;
  padding: 0;
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--snow);
}
.build-fieldset legend small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted-on-dark);
}
.choice-grid,
.build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
}
.choice-grid {
  gap: 14px;
}
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice:hover,
.choice:has(input:checked) {
  background: rgba(209, 0, 206, 0.2);
  border-color: var(--orchid);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--orchid-light);
  outline-offset: 3px;
}
.choice-emoji {
  font-size: 30px;
  line-height: 1;
}
.choice strong {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
}
.choice small {
  font-size: 13.5px;
  color: var(--text-muted-on-dark);
}
.build-intro {
  margin: 0 0 20px;
  color: var(--text-muted-on-dark);
}
@media (max-width: 700px) {
  .choice-grid,
  .build-grid {
    grid-template-columns: 1fr;
  }

}

/* ---------- Pedidos y apartados (compras.html) ---------- */
#pedidos,
#apartado {
  scroll-margin-top: var(--header-h);
}
/* Proceso de cinco pasos (apartado) */
@media (min-width: 1101px) {
  .steps--5 {
    grid-template-columns: repeat(5, 1fr);
  }

}
.cond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cond-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: 0 10px 24px rgba(26, 4, 27, 0.08);
}
.cond-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 15px;
}
.cond-card .icon-badge svg {
  width: 24px;
  height: 24px;
}
.cond-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.cond-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-light);
}
/* ---------- Quiénes somos (nosotros.html) ---------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.about-person {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.about-person img {
  display: block;
  width: 100%;
  height: auto;
}
.about-person figcaption {
  display: flex;
  flex-direction: column;
  padding: 18px 22px 20px;
}
.about-person strong {
  font-family: var(--font-body);
  font-size: 19px;
}
.about-person span {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
}
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-person {
    position: static;
    max-width: 340px;
  }

}
.about-story h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 24px;
}
.about-story p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted-on-light);
}
.about-story .about-lead {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-on-light);
}
.about-story p:last-child {
  margin-bottom: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
}
.stat strong {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1;
  color: var(--orchid-light);
}
.stat span {
  font-size: 15px;
  color: var(--text-muted-on-dark);
}
@media (max-width: 760px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat {
    padding: 20px;
  }

}
/* Logos de marcas: todos a la misma altura visual, en gris hasta pasar el cursor */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.brand-wall li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.brand-wall img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 34px;
  opacity: .72;
  transition: opacity .2s ease;
}
.brand-wall li:hover img {
  opacity: 1;
}
/* Pocas marcas: centradas en vez de en cuadrícula */
.brand-wall--center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-wall--center li {
  width: 200px;
  padding: 0 28px;
}
.brand-wall--center img {
  max-height: 40px;
}
@media (max-width: 560px) {
  .brand-wall.brand-wall--center {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-wall--center li {
    width: auto;
    padding: 0 20px;
  }

}
@media (max-width: 1000px) {
  .brand-wall {
    grid-template-columns: repeat(4, 1fr);
  }

}
@media (max-width: 560px) {
  .brand-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .brand-wall li {
    height: 68px;
    padding: 0 12px;
  }
  .brand-wall img {
    max-height: 28px;
  }

}

@media (max-width: 980px) {
  .cond-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

}

/* ---------- Página de enlaces (links.html) ---------- */
.links-page {
  min-height: 100vh;
  background: var(--gradient-dark);
  background-attachment: fixed;
  color: var(--snow);
}
.links-main {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 20px 40px;
}
.links-main::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 0, 206, 0.28), transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}
.links-head {
  text-align: center;
  margin-bottom: 30px;
}
.links-logo {
  width: 230px;
  height: auto;
  margin: 0 auto 10px;
}
.links-tagline {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 18px;
}
.links-place {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted-on-dark);
}
.links-list {
  display: grid;
  gap: 12px;
}
.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.link-btn:hover {
  transform: translateY(-2px);
  background: rgba(209, 0, 206, 0.18);
  border-color: var(--orchid);
}
/* Botón discreto para compartir la página, arriba a la derecha */
.links-share {
  position: absolute;
  top: 14px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  color: rgba(248, 248, 248, 0.7);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.links-share:hover {
  background: rgba(209, 0, 206, 0.18);
  border-color: var(--orchid);
  color: var(--snow);
}
.links-share[hidden] {
  display: none;
}
.links-share svg {
  width: 19px;
  height: 19px;
}
.links-share-note {
  position: absolute;
  top: 22px;
  right: 70px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(248, 248, 248, 0.12);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--snow);
}
.links-share-note:empty {
  display: none;
}
.link-btn--main {
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(209, 0, 206, 0.35);
}
.link-btn--main:hover {
  background: var(--gradient-brand);
}
.link-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient-brand);
}
.link-btn--main .link-icon {
  background: rgba(248, 248, 248, 0.18);
}
.link-icon svg {
  width: 24px;
  height: 24px;
}
.link-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.link-text strong {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.25;
}
.link-text small {
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.link-btn--main .link-text small {
  color: rgba(248, 248, 248, 0.9);
}
.links-foot {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.links-foot a:hover {
  color: var(--orchid-light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--carbon);
  color: var(--text-muted-on-dark);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-on-dark);
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14.5px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  background: var(--gradient-brand);
  border-color: transparent;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--snow);
}
.footer-col .footer-title {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
  color: var(--snow);
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 14.5px;
  transition: color .2s ease;
}
.footer-col ul li a:hover {
  color: var(--orchid);
}
.footer-col .contact-mini {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-col .contact-mini svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--orchid);
}
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a:hover {
  color: var(--orchid);
}
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  /* deja espacio al botón flotante de WhatsApp */
  margin-right: 76px;
}

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

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

}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(209, 0, 206, 0.45);
  transition: transform .2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  fill: var(--snow);
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--snow);
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--orchid);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.site-footer :focus-visible,
.section--brand :focus-visible {
  outline-color: var(--orchid-light);
}

/* ---------- Páginas legales ---------- */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: 24px;
  margin-top: 2em;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  color: var(--text-muted-on-light);
}
.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.legal li {
  margin-bottom: .5em;
}
.legal a {
  color: var(--purple);
  text-decoration: underline;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-on-light);
}
.legal-table th {
  font-family: var(--font-body);
  color: var(--text-on-light);
}
.legal-updated {
  font-size: 14px;
  color: var(--text-muted-on-light);
}
.form-card p.hint a {
  color: var(--orchid-light);
  font-weight: 700;
  text-decoration: underline;
}
/* Campo de monto: el símbolo va dentro del campo, a la izquierda */
.money-field {
  position: relative;
}
.money-field span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  color: var(--text-muted-on-dark);
  pointer-events: none;
}
.field .money-field input {
  padding-left: 34px;
}
/* Solicitud de propuesta */
.lead-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lead-msg {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(248, 248, 248, 0.08);
  border: 1px solid var(--border-on-dark);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--snow);
}
.lead-msg.ok {
  background: rgba(240, 79, 240, 0.12);
  border-color: rgba(240, 79, 240, 0.45);
}
.lead-msg a {
  color: var(--orchid-light);
  text-decoration: underline;
}
.lead-msg[hidden] {
  display: none;
}
#proceso,
#servicios,
#propuesta {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-legal {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.form-legal a {
  text-decoration: underline;
}
/* Camino rápido junto a cada formulario */
.form-urgent {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted-on-dark);
}
.form-urgent a {
  color: var(--orchid-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 404 ---------- */
.section-head .notfound-code {
  font-family: var(--font-heading);
  font-size: clamp(80px, 16vw, 160px);
  line-height: 1;
  color: var(--orchid);
  margin-bottom: 12px;
}

/* ---------- Corporativo: bloque de redes (corporativo.html) ---------- */
/* Texto a un lado y el panel ilustrativo de la red al otro */
.svc-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.svc-split .section-head {
  margin-bottom: 22px;
}
.svc-art {
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .svc-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

}

/* Desarrollo: el aviso de strenua.app va bajo las tarjetas de productos */
.bento + .cta-banner {
  margin-top: 28px;
}

/* =========================================================
   Movimiento: transiciones entre vistas, entrada de la portada
   y bloques que aparecen al llegar a ellos
   ========================================================= */
:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* La cabecera se oscurece al bajar (main.js le pone .is-scrolled) */
.site-header {
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(18, 15, 19, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: no-preference) {
  /* Al pasar de una página a otra, el menú se queda quieto y el contenido se funde.
     Los navegadores que no lo soportan cambian de página como siempre. */
  @view-transition {
    navigation: auto;
  }
  .site-header {
    view-transition-name: cabecera;
  }
  ::view-transition-old(root) {
    animation: view-out .18s ease-in both;
  }
  ::view-transition-new(root) {
    animation: view-in .45s var(--ease-out) both;
  }

  /* Portada: el texto entra en cascada y el dibujo se acerca */
  .hero h1,
  .hero .lead,
  .hero .hero-actions,
  .hero .hero-note,
  .hero .topic-pills {
    animation: rise .8s var(--ease-out) both;
  }
  .hero .lead {
    animation-delay: .1s;
  }
  .hero .hero-actions {
    animation-delay: .2s;
  }
  .hero .hero-note,
  .hero .topic-pills {
    animation-delay: .28s;
  }
  .hero-art,
  .ide {
    animation: zoom-in 1.1s .15s var(--ease-out) both;
  }
  .store-bar-list {
    animation: rise .8s .3s var(--ease-out) both;
  }
  /* Catálogo: las fichas entran en cascada cada vez que cambia la categoría o la página */
  .catalog-grid .product-card {
    animation: rise .55s var(--ease-out) both;
  }
  .catalog-grid .product-card:nth-child(2) { animation-delay: .05s; }
  .catalog-grid .product-card:nth-child(3) { animation-delay: .1s; }
  .catalog-grid .product-card:nth-child(4) { animation-delay: .15s; }
  .catalog-grid .product-card:nth-child(n+5) { animation-delay: .2s; }

  /* Ficha de producto: la foto grande se funde al cambiarla desde la tira */
  .product-photo img.is-swapped {
    animation: fade .35s ease both;
  }

}
@keyframes view-out {
  to { opacity: 0; }
}
@keyframes view-in {
  from { opacity: 0; translate: 0 14px; }
}
@keyframes rise {
  from { opacity: 0; translate: 0 26px; }
}
@keyframes zoom-in {
  from { opacity: 0; scale: .94; }
}
@keyframes fade {
  from { opacity: 0; }
}

/* Bloques que aparecen al llegar a ellos. main.js les pone .reveal solo a los que
   aún no se ven y la quita al terminar, así que sin JavaScript todo se ve normal. */
.reveal {
  opacity: 0;
  translate: 0 32px;
  transition: opacity .75s var(--ease-out), translate .75s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
.reveal--left {
  translate: -48px 0;
}
.reveal--right {
  translate: 48px 0;
}
.reveal.is-visible {
  opacity: 1;
  translate: none;
}

/* ---------- Tienda: accesos a las secciones, montados sobre el borde de la portada ---------- */
.hero--store {
  padding-bottom: 150px;
}
.store-bar {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  background: linear-gradient(180deg, transparent 64px, #fbf5fb 64px);
}
.store-bar-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--border-on-light);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.store-bar-list li {
  background: #fff;
}
.store-bar-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 22px 20px;
  transition: background .25s ease;
}
.store-bar-list a:hover {
  background: #fbf5fb;
}
.store-bar-list .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  transition: transform .25s var(--ease-out);
}
.store-bar-list .icon-badge svg {
  width: 23px;
  height: 23px;
}
.store-bar-list a:hover .icon-badge {
  transform: translateY(-3px) rotate(-4deg);
}
.store-bar-list strong {
  display: block;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.25;
}
.store-bar-list small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-muted-on-light);
}
.store-bar + .section {
  padding-top: 72px;
}
@media (max-width: 1060px) {
  .store-bar-list {
    grid-template-columns: repeat(6, 1fr);
  }
  .store-bar-list li {
    grid-column: span 2;
  }
  .store-bar-list li:nth-child(n+4) {
    grid-column: span 3;
  }

}
@media (max-width: 860px) {
  .hero--store {
    padding-bottom: 116px;
  }

}
@media (max-width: 620px) {
  .store-bar-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-bar-list li,
  .store-bar-list li:nth-child(n+4) {
    grid-column: auto;
  }
  .store-bar-list li:last-child {
    grid-column: 1 / -1;
  }
  .store-bar-list a {
    gap: 12px;
    padding: 16px 14px;
  }
  .store-bar-list .icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .store-bar-list strong {
    font-size: 14.5px;
  }

}

/* ---------- Desarrollo: cabecera editorial y un editor de código a lo ancho ---------- */
.hero--dev::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(248, 248, 248, 0.09) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.dev-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: end;
}
.hero--dev h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
}
.dev-head .hero-actions {
  margin-top: 24px;
}
.ide {
  margin-top: 56px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #120f13;
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark), 0 40px 90px rgba(209, 0, 206, 0.14);
}
.ide .code-bar {
  align-items: center;
}
.ide-file {
  margin-left: 12px;
  padding: 3px 12px;
  border-radius: 8px;
  background: rgba(248, 248, 248, 0.06);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  color: rgba(248, 248, 248, 0.6);
}
.ide-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.ide-code {
  padding: 22px 24px 26px 0;
  counter-reset: line;
}
.ln {
  display: block;
  white-space: pre;
  counter-increment: line;
}
.ln::before {
  content: counter(line);
  display: inline-block;
  width: 54px;
  padding-right: 20px;
  text-align: right;
  color: rgba(248, 248, 248, 0.24);
}
.ide-caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: -.2em;
  background: var(--orchid-light);
}
.ide-out {
  padding: 22px 26px 26px;
  border-left: 1px solid var(--border-on-dark);
  background: rgba(248, 248, 248, 0.025);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}
.ide-out li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  color: rgba(248, 248, 248, 0.84);
}
.ide-out li::before {
  content: "✓";
  color: var(--orchid-light);
}
.ide-out .ide-out-title {
  padding-top: 0;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(248, 248, 248, 0.52);
}
.ide-out .ide-out-title::before {
  content: none;
}
@media (prefers-reduced-motion: no-preference) {
  /* Las líneas se escriben una tras otra y la consola confirma cada etapa */
  .ide-code .ln {
    animation: type .5s steps(24, end) both;
  }
  .ide-code .ln:nth-child(1) { animation-delay: .6s; }
  .ide-code .ln:nth-child(2) { animation-delay: 1s; }
  .ide-code .ln:nth-child(3) { animation-delay: 1.4s; }
  .ide-code .ln:nth-child(4) { animation-delay: 1.8s; }
  .ide-code .ln:nth-child(5) { animation-delay: 2.2s; }
  .ide-code .ln:nth-child(6) { animation-delay: 2.6s; }
  .ide-code .ln:nth-child(7) { animation-delay: 3s; }
  .ide-out li:not(.ide-out-title) {
    animation: rise .5s var(--ease-out) both;
  }
  .ide-out li:nth-child(2) { animation-delay: 2.3s; }
  .ide-out li:nth-child(3) { animation-delay: 2.7s; }
  .ide-out li:nth-child(4) { animation-delay: 3.1s; }
  .ide-out li:nth-child(5) { animation-delay: 3.5s; }
  .ide-caret {
    animation: blink 1s 3.5s steps(1) infinite;
  }

}
@keyframes type {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes blink {
  50% { opacity: 0; }
}
@media (max-width: 860px) {
  .dev-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ide {
    margin-top: 40px;
  }
  .ide-body {
    grid-template-columns: 1fr;
  }
  .ide-code {
    padding: 18px 16px 20px 0;
    font-size: 12px;
  }
  .ln {
    white-space: pre-wrap;
    padding-left: 34px;
    text-indent: -34px;
  }
  .ln::before {
    width: 34px;
    padding-right: 12px;
    text-indent: 0;
  }
  /* En el teléfono basta con el código */
  .ide-out {
    display: none;
  }

}

/* ---------- Corporativo: el dibujo a la izquierda y las cifras en un panel ---------- */
.hero--corp::before {
  inset: 0;
}
.hero--corp .hero-grid {
  grid-template-columns: .9fr 1.1fr;
}
.hero--corp .hero-art {
  order: -1;
}

/* ---------- Quiénes somos: el año de fundación como protagonista ---------- */
.hero--about .hero-grid {
  grid-template-columns: 1.15fr .85fr;
}

@media (max-width: 860px) {
  .hero--about .hero-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   Inicio: pensado para empresas, con la tienda a la vista
   ========================================================= */
h1,
h2 {
  text-wrap: balance;
}
::selection {
  background: rgba(209, 0, 206, 0.22);
}

/* Portada: la foto real de la tienda en lugar de una ilustración */
.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(18, 15, 19, 0.82);
  color: var(--snow);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 860px) {
  /* En el teléfono la foto va completa bajo los botones, no como marca de agua */
  .hero--home .hero-photo {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
  }
  .hero-photo img {
    aspect-ratio: 16 / 10;
  }

}
@media (max-width: 560px) {
  .hero .hero-actions .btn {
    width: 100%;
  }

}

/* Lo que resolvemos: cada área es una fila, no una tarjeta */
.solve {
  border-top: 1px solid var(--border-on-light);
}
.solve-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px 64px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border-on-light);
}
.solve-lead h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 32px);
}
.solve-lead p {
  max-width: 34ch;
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--text-muted-on-light);
}
.solve-list {
  align-self: center;
}
.solve-row:hover .card-link svg,
.home-store .card-link:hover svg {
  transform: translateX(4px);
}
.home-store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 48px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: #fbf5fb;
  border: 1px solid var(--border-on-light);
}
.home-store > div:first-child {
  flex: 1 1 420px;
}
.home-store h2 {
  margin-bottom: 6px;
  font-size: 22px;
}
.home-store p {
  max-width: 62ch;
  margin: 0;
  color: var(--text-muted-on-light);
}
.home-store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
@media (max-width: 860px) {
  .solve-row {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }
  .home-store {
    padding: 26px 22px;
  }

}

/* Strenua: el software propio, el momento más fuerte de la página */
.strenua-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px 72px;
  align-items: center;
}
.strenua-mark {
  display: flex;
  justify-content: center;
}
.strenua-mark img {
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1;
  padding: 54px;
  object-fit: contain;
  border-radius: 28%;
  background: var(--gradient-brand);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.strenua-band h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}
.strenua-intro {
  max-width: 52ch;
  font-size: 18px;
  color: var(--text-muted-on-dark);
}
.strenua-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  margin: 32px 0 36px;
}
.strenua-products div {
  padding-top: 20px;
  border-top: 1px solid var(--border-on-dark);
}
.strenua-products dt {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--orchid-light);
}
.strenua-products dd {
  margin: 0;
  color: var(--text-muted-on-dark);
}
@media (max-width: 860px) {
  .strenua-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .strenua-mark {
    justify-content: flex-start;
  }
  .strenua-mark img {
    width: 120px;
    padding: 22px;
  }
  .strenua-products {
    grid-template-columns: 1fr;
    gap: 20px;
  }

}

/* Pruebas: una frase con las cifras y las reseñas como citas */
.proof-statement {
  max-width: 920px;
  margin: 0 0 56px;
  font-family: var(--font-heading);
  font-size: clamp(25px, 3.3vw, 40px);
  line-height: 1.32;
  text-wrap: balance;
}
.proof-statement strong {
  color: var(--purple);
}
.quote-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--border-on-light);
}
.quote blockquote {
  flex-grow: 1;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
.quote figcaption strong {
  display: block;
  font-family: var(--font-body);
  font-size: 15.5px;
}
.quote figcaption span {
  font-size: 13px;
  color: var(--text-muted-on-light);
}
@media (max-width: 860px) {
  .quote-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

}

/* Dónde estamos */
.local-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px 72px;
  align-items: start;
}
.local-grid .section-head {
  margin-bottom: 0;
}
.local-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 28px;
}
.local-founder img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.local-founder strong {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
}
.local-founder span {
  font-size: 13.5px;
  color: var(--text-muted-on-light);
}
.local-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  margin: 0;
}
.local-facts div {
  padding: 20px 0;
  border-top: 1px solid var(--border-on-light);
}
.local-facts dt {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--purple);
}
.local-facts dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted-on-light);
}
@media (max-width: 860px) {
  .local-grid {
    grid-template-columns: 1fr;
  }
  .local-facts {
    grid-template-columns: 1fr;
  }

}

/* Cierre con dos salidas: propuesta para empresas y WhatsApp para la tienda */
.cta-banner h2 {
  margin-bottom: 6px;
  font-size: 26px;
}
.cta-alt {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--snow);
  text-decoration: underline;
  text-decoration-color: rgba(248, 248, 248, 0.5);
  text-underline-offset: 4px;
}
.cta-alt:hover {
  text-decoration-color: var(--snow);
}
@media (max-width: 560px) {
  .cta-banner {
    padding: 34px 24px;
  }

}

/* =========================================================
   Conversión de empresas: botón fijo, qué pasa después y formulario
   ========================================================= */
html {
  scrollbar-color: var(--purple) var(--snow-dim);
}

/* Menú: «Contacto» es la acción de la cabecera en todas las vistas y siempre queda a la vista */
.nav-cta {
  position: relative;
  padding: 11px 20px;
  font-size: 14px;
  box-shadow: 0 0 0 1px rgba(248, 248, 248, 0.16) inset, 0 8px 22px rgba(209, 0, 206, 0.38);
}
.nav-cta:hover {
  box-shadow: 0 0 0 1px rgba(248, 248, 248, 0.24) inset, 0 12px 28px rgba(209, 0, 206, 0.5);
}
.nav-cta[aria-current="page"] {
  box-shadow: 0 0 0 2px var(--snow) inset;
}
@media (max-width: 600px) {
  /* En teléfono el botón se ajusta para caber junto al logo y al menú */
  .nav-cta {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13.5px;
  }
}
@media (max-width: 420px) {
  /* Con el botón «Contacto» con texto, el logo se achica para que quepan los tres */
  .brand img {
    height: 40px;
  }
}
@media (max-width: 374px) {
  .brand img {
    height: 30px;
  }
  .nav-cta {
    padding: 8px 10px;
    font-size: 12.5px;
  }
}

/* Qué pasa después de pedir la propuesta (Inicio y Corporativo) */
.next-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}
.next-steps li {
  position: relative;
  padding-left: 52px;
  min-height: 36px;
  line-height: 1.45;
  counter-increment: paso;
}
.next-steps li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: var(--font-body);
  font-size: 16px;
}
.next-steps strong {
  font-family: var(--font-body);
}

/* Inicio: el cierre es una sección propia, no una tarjeta */
.home-close-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px 72px;
  align-items: center;
}
.home-close h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 44px);
}
.home-close p {
  font-size: 18px;
  color: rgba(248, 248, 248, 0.88);
}
.home-close .hero-actions {
  margin: 28px 0 22px;
}
.home-close .next-steps {
  font-size: 16.5px;
}
.home-close .next-steps li::before {
  border-color: rgba(248, 248, 248, 0.7);
}
@media (max-width: 860px) {
  .home-close-grid {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 560px) {
  .home-close .hero-actions .btn {
    width: 100%;
  }

}

/* Áreas táctiles cómodas en los enlaces de texto */
.solve-lead .card-link,
.home-store .card-link,
.local-grid .card-link {
  min-height: 44px;
}
.local-visit {
  margin-left: 20px;
}
@media (max-width: 560px) {
  .local-visit {
    display: flex;
    margin: 12px 0 0;
  }

}
.home-store h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

/* Corporativo: llamado a mitad de página */
.mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 28px 34px;
  border-radius: var(--radius-lg);
  background: #fbf5fb;
  border: 1px solid var(--border-on-light);
}
.mid-cta p {
  flex: 1 1 420px;
  margin: 0;
  font-size: 17px;
  color: var(--text-muted-on-light);
}
.mid-cta strong {
  display: block;
  font-family: var(--font-body);
  font-size: 21px;
  color: var(--text-on-light);
}

/* Corporativo: a quién atendemos, sin íconos en caja ni efecto de tarjeta pulsable */
.aud-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.aud-card,
.aud-card:hover {
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--border-on-light);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
@media (max-width: 860px) {
  .aud-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

}

/* Corporativo: junto al formulario, quién atiende y la alternativa por WhatsApp */
#propuesta .split {
  align-items: start;
}
#propuesta .next-steps {
  margin: 28px 0;
  color: var(--snow);
}
#propuesta .next-steps li::before {
  border-color: var(--orchid-light);
  color: var(--orchid-light);
}
.section--dark .local-founder strong {
  color: var(--snow);
}
.section--dark .local-founder span {
  color: var(--text-muted-on-dark);
}
.propuesta-alt {
  font-size: 15px;
}

/* Formulario: opciones de servicio como fichas y foco visible */
.field-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.field-choices legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted-on-dark);
}
/* Más específico que .field label, que las pondría en bloque */
.field-choices .choice-chip {
  margin: 0;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-on-dark);
  background: rgba(248, 248, 248, 0.06);
  color: var(--snow);
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
/* Sin el estilo de los campos de texto (.field input) */
.field-choices .choice-chip input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--orchid);
}
.choice-chip:has(input:checked) {
  border-color: var(--orchid-light);
  background: rgba(209, 0, 206, 0.22);
}
.choice-chip:has(input:focus-visible) {
  outline: 3px solid var(--orchid-light);
  outline-offset: 2px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--orchid-light);
  outline-offset: 2px;
}
.lead-form[aria-busy="true"] button[type="submit"] {
  opacity: .75;
  cursor: progress;
}

/* =========================================================
   Guías (guias.html y guia-*.html): columna de lectura de .legal
   ========================================================= */
.guide-crumbs {
  margin-bottom: 14px;
  font-size: 14px;
}
.guide-crumbs a {
  color: var(--orchid-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide-answer {
  margin: 0 0 8px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: #fbf5fb;
  border: 1px solid rgba(209, 0, 206, 0.25);
  font-size: 17px;
}
.legal .guide-answer {
  color: var(--text-on-light);
}
.guide h2 {
  margin-top: 1.8em;
}
.guide-cta {
  margin: 56px 0 0;
  padding: 34px 36px;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  color: var(--snow);
}
.guide .guide-cta h2 {
  margin-top: 0;
  color: var(--snow);
}
.legal .guide-cta p {
  color: var(--text-muted-on-dark);
}
.guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 22px;
}
/* .legal a subraya y tiñe los enlaces; los botones y enlaces del cierre llevan su propio color */
.legal .guide-cta .btn {
  text-decoration: none;
  color: var(--snow);
}
.legal .guide-cta .card-link {
  min-height: 44px;
  text-decoration: none;
  color: var(--orchid-light);
}
.guide-more {
  margin-top: 48px;
}
.guide .guide-more h2 {
  margin-top: 0;
  font-size: 20px;
}
.guide-more li {
  margin-bottom: .7em;
}

/* Portada de guías */
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  max-width: 980px;
  margin: 0 auto;
}
.guide-list a {
  display: block;
  height: 100%;
  padding: 28px 0;
  border-top: 1px solid var(--border-on-light);
}
.guide-list h3 {
  margin-bottom: 8px;
  font-size: 22px;
  transition: color .2s ease;
}
.guide-list p {
  margin: 0;
  color: var(--text-muted-on-light);
}
.guide-list a:hover h3 {
  color: var(--purple);
}
@media (max-width: 760px) {
  .guide-list {
    grid-template-columns: 1fr;
  }
  .guide-cta {
    padding: 28px 22px;
  }

}

/* Enlace a la guía relacionada, bajo un servicio */
.svc-guide {
  margin: 16px 0 0;
  font-size: 15px;
}
.svc-guide a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Teléfono: nada se sale de la pantalla ---------- */
@media (max-width: 860px) {
  .hero--corp .hero-grid {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 560px) {
  /* Un rótulo largo parte en dos líneas antes que ensanchar la página */
  .btn {
    white-space: normal;
    text-align: center;
  }
  .legal-table th,
  .legal-table td {
    padding: 10px 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

}
@media (max-width: 400px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat span {
    font-size: 14px;
  }

}
.pay-alert > div {
  min-width: 0;
}
.pay-alert a {
  overflow-wrap: anywhere;
}
.links-main {
  overflow-x: clip;
}

/* ---------- Texto sobre el degradado de marca ----------
   Blanco pleno: el degradado empieza en orquídea y ahí el blanco translúcido
   queda por debajo de 4,5:1 */
.cta-banner p,
.section--brand p,
.section--brand li,
.section--brand .cta-alt,
.section--brand .section-head p,
.section--brand .value-tile,
.link-btn--main .link-text strong,
.link-btn--main .link-text small {
  color: #fff;
}

/* ---------- Foco visible dentro de la barra de la tienda (recorta lo que sobresale) ---------- */
.store-bar-list a:focus-visible {
  outline-offset: -4px;
}

/* ---------- Filas: sin numeración, el orden no significa nada ---------- */
.row-item {
  grid-template-columns: 1fr;
}
.row-item::before {
  content: none;
}
.svc-tech {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--text-muted-on-dark);
}

/* ---------- Tienda: la prueba es la tienda misma ---------- */
.store-proof {
  align-items: center;
}
.store-proof .section-head {
  margin-bottom: 8px;
}
.store-proof .local-facts {
  margin-bottom: 24px;
}
a.duo-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
a.duo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 79, 240, 0.45);
}
a.duo-card .card-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--orchid-light);
}
.bulk-card {
  display: block;
}

/* ---------- Casillas de las fichas: nativas, pero del tema oscuro ---------- */
.form-card .choice-chip input {
  color-scheme: dark;
}

/* ---------- Ajustes de ritmo ---------- */
.bento + .svc-guide {
  margin-top: 28px;
}
#resenas + .section--tight {
  padding-top: 0;
}

.value-tile {
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  overflow-wrap: normal;
  hyphens: manual;
}
.value-tile strong {
  font-size: clamp(19px, 2vw, 23px);
}
.value-tile span {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  opacity: 1;
}
@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.cta-banner > .cta-banner-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
@media (max-width: 760px) {
  .cta-banner > .cta-banner-actions {
    flex: 1 1 100%;
    min-width: 0;
    align-items: flex-start;
  }
}
.cta-banner-alt {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Contacto: camino de empresa y mapa a su medida ---------- */
.contact-biz {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: 15px;
  color: var(--text-muted-on-dark);
}
.contact-biz .text-link {
  color: var(--orchid-light);
}
.visit-grid {
  align-items: start;
}
.visit-grid .map-frame {
  height: 420px;
  min-height: 0;
}
@media (min-width: 861px) {
  .visit-grid .map-frame {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- Inicio: cada área con su propuesta ---------- */
.solve-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

/* ---------- Redes (redes.html) ---------- */
/* Qué es una red estructurada: el recorrido de la conexión, de internet a cada equipo.
   Por el cable corre un destello: el único movimiento propio de la página */
.topo-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 8px 0 56px;
  padding: 0;
  list-style: none;
}
.topo-flow::before,
.topo-flow::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 10%;
  right: 10%;
  height: 2px;
}
.topo-flow::before {
  background: linear-gradient(90deg, var(--orchid), var(--purple));
}
.topo-flow::after {
  height: 4px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--orchid-light), transparent) no-repeat;
  background-size: 22% 100%;
  animation: topo-pulso 3.6s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes topo-pulso {
  from { background-position: -30% 0; }
  to { background-position: 130% 0; }
}
.topo-node {
  position: relative;
  text-align: center;
}
.topo-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: var(--radius-md);
  background: #1e1a20;
  border: 1px solid rgba(240, 79, 240, 0.45);
  color: var(--orchid-light);
}
.topo-icon svg {
  width: 30px;
  height: 30px;
}
.topo-node strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.3;
  color: var(--snow);
}
.topo-node > span:last-child {
  display: block;
  font-size: 14.5px;
  color: var(--text-muted-on-dark);
}
@media (max-width: 860px) {
  .topo-flow {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .topo-flow::before,
  .topo-flow::after {
    top: 32px;
    bottom: 32px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .topo-flow::after {
    width: 4px;
    margin: 0 0 0 -1px;
    background: linear-gradient(180deg, transparent, var(--orchid-light), transparent) no-repeat;
    background-size: 100% 22%;
    animation-name: topo-pulso-v;
  }
  .topo-node {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 18px;
    align-items: start;
    text-align: left;
  }
  .topo-icon {
    grid-row: span 2;
    margin: 0;
  }
  .topo-node strong {
    margin: 8px 0 4px;
  }
}
@keyframes topo-pulso-v {
  from { background-position: 0 -30%; }
  to { background-position: 0 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .topo-flow::after {
    animation: none;
    display: none;
  }
}

/* Red improvisada frente a red estructurada */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.compare-col {
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.03);
  border: 1px solid var(--border-on-dark);
}
.compare-col--yes {
  background: rgba(209, 0, 206, 0.12);
  border-color: rgba(240, 79, 240, 0.45);
}
.compare-col h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--snow);
}
.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.compare-col li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-top: 1px solid var(--border-on-dark);
  font-size: 15px;
  color: var(--text-muted-on-dark);
}
.compare-col li:first-child {
  border-top: 0;
}
.compare-col li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 21px;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: rgba(248, 248, 248, 0.45);
}
.compare-col--yes li {
  color: var(--snow);
}
.compare-col--yes li::before {
  content: none;
}
.compare-col--yes li svg {
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  color: var(--orchid-light);
}
@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
  }
  .compare-col {
    padding: 24px 22px;
  }
}

/* El hardware que recomendamos: un panel por tecnología */
.hw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.hw-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
/* Mismo recuadro para los dos logos, para que los títulos queden alineados */
.hw-head img {
  display: block;
  width: 170px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 22px;
}
.hw-head h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.hw-head p {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: var(--text-muted-on-light);
}
.hw-list {
  margin: 0;
}
.hw-list > div {
  padding: 14px 0;
  border-top: 1px solid var(--border-on-light);
}
.hw-list dt {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--text-on-light);
}
.hw-list dd {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}

@media (max-width: 860px) {
  .hw-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .hw-card {
    padding: 26px 22px;
  }
}

.cid-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--border-on-dark);
}
.cid-item:first-child {
  padding-top: 0;
  border-top: 0;
}
.cid-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.cid-item h3 {
  margin: 4px 0 8px;
  font-size: 22px;
  color: var(--snow);
}
.cid-item p {
  margin: 0;
  color: var(--text-muted-on-dark);
}

@media (max-width: 480px) {
  .cid-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Filas de a tres (beneficios de Corporativo) */
.row-list--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
}
@media (max-width: 860px) {
  .row-list--3 {
    grid-template-columns: 1fr;
  }
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px rgba(26, 4, 27, 0.22);
}
.work-card:hover .card-link svg {
  transform: translateX(4px);
}
.work-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--border-on-light);
}
.work-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
  padding: 26px 30px 30px;
}
.work-body h3 {
  margin: 0;
  font-size: 21px;
}
.work-body p {
  flex-grow: 1;
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}

@media (max-width: 760px) {

  .work-body {
    padding: 22px;
  }
}

/* ---------- Nosotros: las cuatro áreas ---------- */
.bento--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1060px) {
  .bento--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .bento--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Menú móvil abierto: el botón flotante no tapa la acción principal ---------- */
body:has(.nav-links.open) .wa-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .nav-sub-toggle svg {
    transition: none;
  }
}

/* ---------- Tienda: disponibles ahora ---------- */
/* Oculta hasta que el catálogo responde con productos */
#disponibles[hidden] {
  display: none;
}

#tienda-disponibles + .svc-guide {
  margin-top: 28px;
}

/* ---------- Pide tu propuesta (Redes, Desarrollo, Corporativo) ----------
   En escritorio: título y pasos a la izquierda, formulario a la derecha.
   En teléfono: el formulario va justo después del título, y los pasos debajo */
.propuesta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "intro form" "extra form";
  /* El alto que sobra va a la segunda fila: los pasos quedan pegados al título */
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  align-items: start;
}
.propuesta-intro {
  grid-area: intro;
  margin-bottom: 0;
}
.propuesta-grid > .form-card {
  grid-area: form;
}
.propuesta-extra {
  grid-area: extra;
}
.propuesta-proof {
  margin: 18px 0 0;
  font-size: 15.5px;
  color: var(--text-muted-on-dark);
}
.propuesta-proof strong {
  color: var(--snow);
}
@media (max-width: 900px) {
  .propuesta-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "form" "extra";
    grid-template-rows: auto;
    row-gap: 28px;
  }
  .propuesta-extra .next-steps {
    margin-top: 8px;
  }
}

/* ---------- Acción a mitad de página, después del momento más fuerte ---------- */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-on-light);
}
.inline-cta p {
  flex: 1 1 420px;
  margin: 0;
  font-size: 17px;
  color: var(--text-muted-on-light);
}
.inline-cta strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 21px;
  color: var(--text-on-light);
}
.inline-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.section--dark .inline-cta {
  border-top-color: var(--border-on-dark);
}
.section--dark .inline-cta p {
  color: var(--text-muted-on-dark);
}
.section--dark .inline-cta strong {
  color: var(--snow);
}

@media (max-width: 860px) {
  .hero--redes .hero-art {
    display: none;
  }
}

/* ---------- Inicio: el símbolo de la marca en la portada ---------- */
.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark img {
  width: auto;
  height: clamp(260px, 30vw, 380px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
@media (max-width: 860px) {
  .hero-mark {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mark img {
    animation: zoom-in 1.1s .15s var(--ease-out) both;
  }
}
/* Ubicación: «Cómo llegar» y la visita por WhatsApp en una sola fila */
.local-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

/* ---------- Inicio: cada área con su propio dibujo ----------
   Los mismos dibujos de cada página, en miniatura y quietos, sobre una placa oscura
   con el resplandor orquídea de las portadas */
.solve--art .solve-row {
  grid-template-columns: 250px minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 48px;
  align-items: center;
}
.area-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--carbon) 0%, var(--carbon-bg, #120f13) 100%);
  border: 1px solid rgba(26, 26, 26, 0.1);
  isolation: isolate;
}
.area-art::before {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -55%;
  z-index: -1;
  width: 85%;
  height: 120%;
  background: var(--gradient-brand);
  opacity: .3;
  filter: blur(46px);
}
.area-art > .net-panel,
.area-art > .pc-art,
.area-art > .stack {
  flex: none;
  width: 450px;
  margin: 0;
  scale: .5;
}
.area-art > .stack {
  height: 346px;
}
.area-art * ,
.area-art *::after {
  animation: none;
}
.area-code {
  width: 82%;
  border-radius: var(--radius-sm);
  background: #120f13;
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.area-code .code-bar {
  padding: 9px 12px;
}
.area-code .code-bar i {
  width: 8px;
  height: 8px;
}
.area-code .code-body {
  padding: 10px 14px 14px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.8;
  white-space: nowrap;
}
@media (max-width: 1060px) {
  .solve--art .solve-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .solve--art .area-art {
    grid-row: span 2;
    align-self: stretch;
    height: auto;
    min-height: 190px;
  }
}
@media (max-width: 860px) {
  .solve--art .solve-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .solve--art .area-art {
    grid-row: auto;
    height: 170px;
    min-height: 0;
  }
}

/* ---------- Inicio: reseñas con la voz de los títulos ---------- */
#resenas .quote blockquote {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
  color: var(--text-on-light);
}

/* =========================================================
   Catálogo: encabezado corto, destacados, filtros y ahorro en divisas
   ========================================================= */
.hero--compact {
  padding: 48px 0 44px;
}
.hero--compact h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.8vw, 42px);
}
.hero--compact p.lead {
  margin-bottom: 0;
  font-size: 16.5px;
}
.catalog-section {
  padding-top: 48px;
}
.catalog-featured {
  margin-bottom: 56px;
}
.catalog-featured h2,
.catalog-head h2 {
  margin: 0 0 18px;
  font-size: 24px;
}
.catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}
.catalog-head h2 {
  margin-bottom: 14px;
}
.catalog-count {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted-on-light);
  font-variant-numeric: tabular-nums;
}
.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.catalog-tools[hidden],
.catalog-tool[hidden],
.catalog-clear[hidden],
.catalog-off[hidden] {
  display: none;
}
.catalog-tool {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.catalog-tool label,
.catalog-tool legend,
.catalog-tool .catalog-label {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted-on-light);
}
.catalog-tool select,
.catalog-tool input {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-on-light);
  background: #fbf5fb;
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
}
.catalog-tool select {
  min-width: 190px;
  cursor: pointer;
}
.catalog-tool select:focus-visible,
.catalog-tool input:focus-visible {
  outline: 3px solid rgba(209, 0, 206, 0.35);
  outline-offset: 1px;
  border-color: var(--orchid);
}
.catalog-tool--price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
}
.catalog-tool--price legend {
  float: left;
  width: 100%;
}
.catalog-tool--price input {
  width: 104px;
  font-variant-numeric: tabular-nums;
}
.catalog-clear {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-on-light);
  background: transparent;
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color .2s ease, background .2s ease;
}
.catalog-clear:hover {
  border-color: var(--orchid);
  background: #fbf5fb;
}
.catalog-tools .catalog-clear {
  margin-left: auto;
}
#catalog-none .catalog-clear {
  margin-left: 8px;
  background: #fff;
}
.catalog-off {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(209, 0, 206, 0.08);
  border: 1px solid rgba(209, 0, 206, 0.22);
  font-size: 14.5px;
}
.catalog-off svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--orchid-deep);
}
.catalog-off strong {
  color: var(--purple);
}
.catalog-off .text-link {
  margin-left: 4px;
  white-space: nowrap;
}
.catalog-note {
  max-width: 70ch;
  margin: 40px auto 0;
  font-size: 14.5px;
  text-align: center;
  color: var(--text-muted-on-light);
}
/* El ahorro en divisas, junto al precio de cada ficha y de la vista de producto */
.product-price .product-off {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: rgba(209, 0, 206, 0.12);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}
.product-price .product-off[hidden] {
  display: none;
}
.product-info .product-price .product-off {
  font-size: 13.5px;
  padding: 3px 12px;
}
@media (max-width: 620px) {
  .catalog-tools {
    padding: 14px;
  }
  .catalog-tool {
    flex: 1 1 100%;
  }
  .catalog-tool select {
    width: 100%;
    min-width: 0;
  }
  .catalog-tool--price input {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .catalog-tools .catalog-clear {
    margin-left: 0;
  }
  .catalog-off {
    align-items: flex-start;
  }
}

/* =========================================================
   Filas que se desplazan hacia los lados (portafolio y trabajos realizados)
   ========================================================= */
.hscroll-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.hscroll-head .section-head {
  margin-bottom: 0;
}
.hscroll-nav {
  display: flex;
  flex: none;
  gap: 10px;
}
.hscroll-nav[hidden] {
  display: none;
}
.hscroll-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-on-light);
  background: #fff;
  color: var(--text-on-light);
  transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}
.hscroll-btn svg {
  width: 20px;
  height: 20px;
}
.hscroll-btn:hover:not(:disabled) {
  border-color: var(--orchid);
  color: var(--purple);
}
.hscroll-btn:disabled {
  opacity: .35;
  cursor: default;
}
.hscroll-track {
  display: flex;
  gap: 20px;
  margin: 0 -24px;
  padding: 4px 24px 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 0, 129, 0.35) transparent;
  overscroll-behavior-x: contain;
}
.hscroll-track:focus-visible {
  outline: 3px solid var(--orchid-light);
  outline-offset: -3px;
  border-radius: var(--radius-md);
}
.hscroll-item {
  position: relative;
  display: flex;
  flex: 0 0 min(340px, 84%);
  scroll-snap-align: start;
}
.hscroll-item > * {
  flex: 1;
}
.hscroll .work-card {
  box-shadow: 0 12px 28px rgba(26, 4, 27, 0.12);
}
.hscroll .work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(26, 4, 27, 0.18);
}
.hscroll .work-body {
  gap: 8px;
  padding: 20px 22px 22px;
}
.hscroll .work-body h3 {
  font-size: 18px;
}
.hscroll .work-body p {
  font-size: 14.5px;
}
/* Trabajo realizado: foto 4:3, título y una descripción corta */
.job-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: 0 12px 28px rgba(26, 4, 27, 0.12);
}
.job-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--carbon);
}
.job-card figcaption {
  padding: 18px 20px 22px;
}
.job-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.job-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-light);
}
@media (max-width: 620px) {
  .hscroll-nav,
  .hscroll-nav[hidden] {
    display: none;
  }
  .hscroll-head {
    margin-bottom: 28px;
  }
  .hscroll-track {
    gap: 14px;
  }
}

/* =========================================================
   Formularios en dos pasos (Redes, Desarrollo)
   ========================================================= */
.form-progress {
  display: flex;
  gap: 10px;
  margin: -4px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: paso-form;
}
.form-progress[hidden] {
  display: none;
}
.form-progress li {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 3px solid var(--border-on-dark);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted-on-dark);
  counter-increment: paso-form;
  transition: border-color .3s ease, color .3s ease;
}
.form-progress li::before {
  content: counter(paso-form);
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: var(--font-body);
  font-size: 13px;
}
.form-progress li.is-current,
.form-progress li.is-done {
  border-top-color: var(--orchid);
  color: var(--snow);
}
.form-progress li.is-current::before,
.form-progress li.is-done::before {
  border-color: transparent;
  background: var(--gradient-brand);
}
.form-step-actions {
  display: flex;
  gap: 10px;
}
.form-step-actions .btn-primary {
  flex: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .lead-form--steps .form-step:not([hidden]) {
    animation: paso-entra .35s var(--ease-out) both;
  }
}
@keyframes paso-entra {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
}

/* =========================================================
   Tienda
   ========================================================= */
/* ¿Qué encuentras?: las computadoras al frente, el resto al lado */
.find-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 20px;
}
.find-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.find-card h3 {
  margin: 0 0 6px;
  font-size: 18.5px;
}
.find-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.find-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(209, 0, 206, 0.1);
  color: var(--purple);
}
.find-icon svg {
  width: 26px;
  height: 26px;
}
.find-card--main {
  position: relative;
  grid-row: 1 / span 3;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: 32px;
  background: var(--gradient-dark);
  border-color: var(--border-on-dark);
  color: var(--snow);
  isolation: isolate;
}
.find-card--main::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -30%;
  z-index: -1;
  width: 70%;
  height: 80%;
  background: var(--gradient-brand);
  opacity: .3;
  filter: blur(60px);
}
.find-card--main h3 {
  font-size: 24px;
}
.find-card--main p {
  max-width: 44ch;
  color: var(--text-muted-on-dark);
}
.find-art {
  width: 100%;
}
.find-art svg {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0 auto;
}
.store-available {
  margin-top: 56px;
}
.store-available-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}
.store-available-head h3 {
  margin: 0 0 4px;
  font-size: 22px;
}
.store-available-head p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
@media (max-width: 900px) {
  .find-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .find-card--main {
    grid-row: auto;
  }
}
@media (max-width: 560px) {
  .find-card {
    padding: 22px;
  }
}

/* Marcas: dos filas que se desplazan solas; se detienen al pasar el puntero */
.brand-marquee {
  display: grid;
  gap: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.brand-row {
  display: flex;
  width: max-content;
  animation: marcas 52s linear infinite;
}
.brand-row--reverse {
  animation-duration: 58s;
  animation-direction: reverse;
}
.brand-marquee:hover .brand-row {
  animation-play-state: paused;
}
.brand-track {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}
.brand-track li {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 84px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.brand-track img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 34px;
  opacity: .72;
  transition: opacity .2s ease;
}
.brand-track li:hover img {
  opacity: 1;
}
@keyframes marcas {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 560px) {
  .brand-track li {
    width: 140px;
    height: 70px;
    padding: 0 18px;
  }
  .brand-track img {
    max-height: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee {
    padding: 0 24px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .brand-row {
    width: auto;
    justify-content: center;
    animation: none;
  }
  .brand-track {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }
  .brand-track[aria-hidden="true"] {
    display: none;
  }
}

/* Ensamblaje y mantenimiento: cada tarjeta con su dibujo arriba */
.duo--art .duo-card {
  padding: 0 0 34px;
}
.duo--art .duo-card > :not(.duo-art) {
  position: relative;
  margin-left: 34px;
  margin-right: 34px;
}
.duo--art .duo-card h3 {
  margin-top: 26px;
}
.duo-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  border-bottom: 1px solid var(--border-on-dark);
  background-image:
    linear-gradient(rgba(248, 248, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 248, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.duo-art svg {
  width: 78%;
  max-width: 300px;
  height: auto;
}
.duo-points {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.duo-points li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: rgba(248, 248, 248, 0.88);
}
.duo-points svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--orchid-light);
}
.diag-panel {
  width: min(300px, 80%);
  padding: 14px 16px 8px;
  border-radius: 14px;
  background: #120f13;
  border: 1px solid var(--border-on-dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  font-size: 13px;
}
.diag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--snow);
}
.diag-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--orchid-light);
}
.diag-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orchid-light);
}
.diag-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--border-on-dark);
  color: var(--text-muted-on-dark);
}
.diag-ok {
  font-weight: 600;
  color: var(--snow);
}
@media (max-width: 560px) {
  .duo--art .duo-card > :not(.duo-art) {
    margin-left: 24px;
    margin-right: 24px;
  }
  .duo-art {
    height: 220px;
  }
}

/* Métodos de entrega: la foto del mostrador, el delivery y las encomiendas */
.ship-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px 72px;
  align-items: center;
}
.ship-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.ship-tile {
  position: relative;
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.ship-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(209, 0, 206, 0.1);
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.ship-tile--photo {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
}
.ship-tile--photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.ship-tile--photo .ship-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(18, 15, 19, 0.82);
  color: var(--snow);
}
.ship-tile--delivery,
.ship-tile--carriers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* El contenido de cada ficha queda centrado en el espacio bajo su etiqueta */
.ship-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ship-logo {
  display: block;
  width: auto;
  height: 80px;
}
.ship-zone {
  margin: 0;
  font-size: 13.5px;
  text-align: center;
  color: var(--text-muted-on-light);
}
.ship-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ship-logos li {
  display: grid;
  place-items: center;
  width: 140px;
  height: 34px;
}
.ship-logos img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.ship-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ship-stop {
  position: relative;
  padding: 20px 0 20px 34px;
  border-top: 1px solid var(--border-on-light);
}
.ship-stop:first-child {
  padding-top: 4px;
  border-top: 0;
}
.ship-stop::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 27px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
.ship-stop:first-child::before {
  top: 11px;
}
.ship-stop:nth-child(2)::before {
  background: rgba(209, 0, 206, 0.22);
  border: 1.5px solid var(--purple);
}
.ship-stop:nth-child(3)::before {
  background: transparent;
  border: 1.5px dashed var(--purple);
}
.ship-stop h3 {
  margin: 0 0 4px;
  font-size: 19px;
}
.ship-stop p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.ship-stop .ship-note {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-on-light);
}
@media (max-width: 900px) {
  .ship-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ship-board {
    order: 2;
  }
}
@media (max-width: 480px) {
  .ship-board {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tienda: la garantía como certificado con escudo */
.warranty-art svg {
  display: block;
  overflow: visible;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0 auto;
}
.warranty-shield {
  filter: drop-shadow(0 16px 22px rgba(124, 0, 129, 0.35));
  transform-box: fill-box;
  transform-origin: center;
  animation: shield-float 5s ease-in-out infinite;
}
@keyframes shield-float {
  50% {
    transform: translateY(-7px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .warranty-shield {
    animation: none;
  }
}
@media (max-width: 860px) {
  .store-proof .warranty-art {
    order: 2;
  }
  .warranty-art svg {
    max-width: 340px;
  }
}

.store-proof .local-facts dt {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted-on-light);
}
.store-proof .local-facts dd {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.25;
  color: var(--text-on-light);
}

/* Reseñas: una al frente, en grande */
.review-grid--lead {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.review-card--lead {
  grid-row: span 2;
  justify-content: space-between;
  padding: 40px;
  background: var(--gradient-dark);
  border-color: var(--border-on-dark);
  color: var(--snow);
}
.review-mark {
  width: 46px;
  height: 35px;
  color: var(--orchid);
}
.review-card--lead blockquote {
  flex-grow: 0;
  font-family: var(--font-body);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}
.review-card--lead figcaption {
  border-top-color: var(--border-on-dark);
}
.review-card--lead figcaption span {
  color: var(--text-muted-on-dark);
}
.review-grid--lead .review-card:not(.review-card--lead) blockquote {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .review-grid--lead {
    grid-template-columns: minmax(0, 1fr);
  }
  .review-card--lead {
    grid-row: auto;
    padding: 30px;
  }
}

/* Compras al mayor: las tres condiciones en un solo panel, cada una con su icono */
.bulk-cards {
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.04);
  border: 1px solid var(--border-on-dark);
}
.bulk-card {
  display: flex;
  padding: 26px 28px;
  border: 0;
  border-radius: 0;
  background: none;
}
.bulk-card + .bulk-card {
  border-top: 1px solid var(--border-on-dark);
}

/* =========================================================
   Redes
   ========================================================= */
/* Servicios: el cableado estructurado al frente, el resto en filas */
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px 56px;
  align-items: start;
}
.svc-feature {
  position: relative;
  overflow: hidden;
  padding-bottom: 32px;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
  isolation: isolate;
}
.svc-feature::after {
  content: "";
  position: absolute;
  right: -25%;
  bottom: -35%;
  z-index: -1;
  width: 80%;
  height: 70%;
  background: var(--gradient-brand);
  opacity: .28;
  filter: blur(60px);
}
.svc-feature-art {
  margin-bottom: 26px;
  padding: 26px 22px 0;
  border-bottom: 1px solid var(--border-on-dark);
  background-image:
    linear-gradient(rgba(248, 248, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 248, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.svc-feature-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.svc-feature > h3,
.svc-feature > p,
.svc-feature > a {
  margin-left: 32px;
  margin-right: 32px;
}
.svc-feature h3 {
  margin-bottom: 10px;
  font-size: 26px;
}
.svc-feature p {
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--text-muted-on-dark);
}
.svc-feature .card-link {
  display: inline-flex;
  color: var(--orchid-light);
}
.svc-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border-on-light);
}
.svc-row:first-child {
  padding-top: 6px;
  border-top: 0;
}
.svc-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(209, 0, 206, 0.1);
  color: var(--purple);
}
.svc-icon svg {
  width: 24px;
  height: 24px;
}
.svc-row h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.svc-row p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
@media (max-width: 900px) {
  .svc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .svc-feature > h3,
  .svc-feature > p,
  .svc-feature > a {
    margin-left: 24px;
    margin-right: 24px;
  }
}

/* Proceso: cada paso con su plano, sobre cuadrícula de dibujo técnico */
.plan-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: plano;
}
.plan-step {
  counter-increment: plano;
}
.plan-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background-color: var(--carbon);
  background-image:
    linear-gradient(rgba(248, 248, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 248, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: 0 16px 34px rgba(26, 4, 27, 0.16);
}
.plan-art::before {
  content: counter(plano);
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 15px;
}
.plan-art svg {
  width: 80%;
  height: auto;
}
.plan-step h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.plan-step p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
@media (max-width: 960px) {
  .plan-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}
@media (max-width: 560px) {
  .plan-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Equipos recomendados: la foto del equipo arriba de cada tarjeta */
.hw-photo {
  margin: -34px -34px 26px;
  padding: 24px 24px 12px;
  border-bottom: 1px solid var(--border-on-light);
}
.hw-photo img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}
.hw-photo figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  text-align: right;
  color: var(--text-muted-on-light);
}
@media (max-width: 560px) {
  .hw-photo {
    margin: -26px -22px 22px;
    padding: 18px 18px 10px;
  }
  .hw-photo img {
    height: 150px;
  }
}

/* =========================================================
   Desarrollo
   ========================================================= */
/* Lo que desarrollamos: un panel por servicio, con su dibujo */
.dev-svcs {
  display: grid;
  gap: 28px;
}
.dev-svc {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 52px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.dev-svc--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.dev-svc--reverse .dev-svc-art {
  order: 2;
}
.dev-svc-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 300 / 210;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: #120f13;
  background-image:
    linear-gradient(rgba(248, 248, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 248, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  isolation: isolate;
}
.dev-svc-art::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -40%;
  z-index: -1;
  width: 80%;
  height: 80%;
  background: var(--gradient-brand);
  opacity: .3;
  filter: blur(50px);
}
.dev-svc-art svg {
  width: 90%;
  height: auto;
}
.dev-svc-body {
  padding: 8px 12px 8px 0;
}
.dev-svc--reverse .dev-svc-body {
  padding: 8px 0 8px 12px;
}
.dev-svc-body h3 {
  margin: 0 0 10px;
  font-size: 26px;
}
.dev-svc-body > p {
  max-width: 60ch;
  margin: 0 0 16px;
  color: var(--text-muted-on-light);
}
.dev-list--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}
.dev-list--2 li:nth-last-child(2) {
  border-bottom: none;
}
@media (max-width: 900px) {
  .dev-svc,
  .dev-svc--reverse {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }
  .dev-svc--reverse .dev-svc-art {
    order: 0;
  }
  .dev-svc-body,
  .dev-svc--reverse .dev-svc-body {
    padding: 0;
  }
}
@media (max-width: 620px) {
  .dev-list--2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .dev-list--2 li:nth-last-child(2) {
    border-bottom: 1px solid var(--border-on-light);
  }
  .dev-svc-body h3 {
    font-size: 23px;
  }
}

/* ¿Strenua o a la medida?: dos caminos frente a frente */
.choose-vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}
.choose-or {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: center;
  width: 56px;
  height: 56px;
  margin: 0 -16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: 0 8px 20px rgba(26, 4, 27, 0.14);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1;
  color: var(--purple);
}
.choose-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.choose-card h3 {
  margin: 0;
  font-size: 22px;
}
.choose-card p {
  margin: 0;
  color: var(--text-muted-on-light);
}
.choose-card .choose-fit {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-on-light);
}
.choose-list {
  align-self: stretch;
  flex-grow: 1;
  margin-bottom: 10px;
}
.choose-list li {
  font-size: 15px;
}
.choose-card--strenua {
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  border-color: var(--border-on-dark);
  color: var(--snow);
  isolation: isolate;
}
.choose-card--strenua::after {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -40%;
  z-index: -1;
  width: 80%;
  height: 70%;
  background: var(--gradient-brand);
  opacity: .3;
  filter: blur(60px);
}
.choose-card--strenua p {
  color: var(--text-muted-on-dark);
}
.choose-card--strenua .choose-fit {
  color: var(--snow);
}
.choose-card--strenua .check-list li {
  border-color: var(--border-on-dark);
}
.choose-card--strenua .check-list svg {
  color: var(--orchid-light);
}
.choose-logo {
  width: auto;
  height: 48px;
}
.choose-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(209, 0, 206, 0.1);
  color: var(--purple);
}
.choose-mark svg {
  width: 24px;
  height: 24px;
}
.choose-vs + .svc-guide {
  margin-top: 28px;
}
@media (max-width: 760px) {
  .choose-vs {
    grid-template-columns: minmax(0, 1fr);
  }
  .choose-or {
    justify-self: center;
    margin: -16px 0;
  }
  .choose-card {
    padding: 26px 22px;
  }
}

/* =========================================================
   Pasos en línea (Pedidos y apartados, Nosotros)
   En teléfono y tabletas, en columna con la línea vertical; en escritorio,
   en una fila cuando caben todos.
   ========================================================= */
.steps.steps--track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.steps.steps--track .step.step {
  padding: 0 0 30px 64px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.steps.steps--track .step.step:last-child {
  padding-bottom: 0;
}
.steps.steps--track .step::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  font-size: 17px;
}
.steps.steps--track .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  bottom: 8px;
  left: 21px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orchid), rgba(209, 0, 206, 0.12));
}
.steps.steps--track .step h3 {
  margin: 8px 0 6px;
  font-size: 17.5px;
}
.steps.steps--track .step p {
  font-size: 15px;
}
@media (min-width: 901px) {
  .steps.steps--track:not(.steps--5) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }
  .steps.steps--track:not(.steps--5) .step.step {
    padding: 66px 24px 0 0;
  }
  .steps.steps--track:not(.steps--5) .step:not(:last-child)::after {
    top: 21px;
    right: 14px;
    bottom: auto;
    left: 58px;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--orchid), rgba(209, 0, 206, 0.12));
  }
  .steps.steps--track .step h3 {
    margin-top: 0;
  }
}
@media (min-width: 1101px) {
  .steps.steps--track.steps--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: none;
  }
  .steps.steps--track.steps--5 .step.step {
    padding: 66px 20px 0 0;
  }
  .steps.steps--track.steps--5 .step:not(:last-child)::after {
    top: 21px;
    right: 12px;
    bottom: auto;
    left: 58px;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--orchid), rgba(209, 0, 206, 0.12));
  }
}

/* =========================================================
   Pedidos y apartados
   ========================================================= */
.duo-card .duo-title {
  margin: 26px 0 8px;
  font-size: 24px;
  color: var(--snow);
}
/* Condiciones (se editan en /admin): en filas con línea fina, sin tarjetas */
.cond-grid--list {
  gap: 0 48px;
}
.cond-grid--list .cond-card {
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--border-on-light);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.cond-grid--list .cond-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(209, 0, 206, 0.1);
}
.cond-grid--list .cond-card .icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--purple);
}

/* =========================================================
   Métodos de pago
   ========================================================= */
.pay-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 84px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.pay-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 34px;
}
.pay-logo img[src$="bnc.webp"] {
  max-height: 52px;
}
.pay-logo--text {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--text-on-light);
}
.pay-logo--zinli {
  font-size: 26px;
  letter-spacing: -.01em;
  color: #5f2eea;
}
.pay-logo-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
}
.pay-logo-icon svg {
  width: 22px;
  height: 22px;
}
.pay-card {
  box-shadow: 0 16px 36px rgba(26, 4, 27, 0.1);
}
.pay-card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
/* Cómo pagar: tres pasos en una fila */
.pay-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 44px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: pago;
}
.pay-steps li {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid rgba(209, 0, 206, 0.35);
  font-size: 15px;
  color: var(--text-muted-on-light);
  counter-increment: pago;
}
.pay-steps li::before {
  content: counter(pago);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 15px;
}
.pay-steps strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--text-on-light);
}
.pay-alert {
  margin-top: 44px;
}
/* Descuentos en divisas: fichas con el número al frente, sin halo */
.off-badge {
  width: 168px;
  height: 132px;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
  box-shadow: none;
}
.off-badge strong {
  color: var(--orchid-light);
}
.off-badge span {
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--text-muted-on-dark);
}
@media (max-width: 760px) {
  .pay-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
@media (max-width: 420px) {
  .pay-logo {
    height: 72px;
    padding: 0 14px;
  }
  .pay-logo img {
    max-height: 28px;
  }
  .pay-logo--text {
    font-size: 19px;
  }
}

/* =========================================================
   Corporativo
   ========================================================= */
.front-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.front-card {
  display: flex;
  flex-direction: column;
}
.front-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
}
.front-card > p {
  margin: 0 0 14px;
  color: var(--text-muted-on-light);
}
.front-list li {
  font-size: 15px;
}
.plan-art--plain::before {
  content: none;
}
.row-item .svc-icon {
  margin-bottom: 10px;
}
/* Bento con el dibujo de cada área arriba */
.bento--art .bento-card {
  overflow: hidden;
  padding-top: 0;
}
.bento--art .area-art {
  margin: 0 -30px 10px;
  height: 170px;
  border: 0;
  border-bottom: 1px solid var(--border-on-light);
  border-radius: 0;
}
.bento--art .bento-card--dark .area-art {
  border-bottom-color: var(--border-on-dark);
}
@media (max-width: 960px) {
  .front-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }
}

/* Cifras en un solo panel con líneas finas */
.stat-grid--panel {
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-on-dark);
  background: rgba(248, 248, 248, 0.04);
}
.stat-grid--panel .stat {
  padding: 30px 32px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: inset -1px -1px 0 var(--border-on-dark);
}

/* =========================================================
   Ayuda
   ========================================================= */
.help-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
}
.help-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}
.help-card p {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-muted-on-dark);
}
.help-channels {
  display: grid;
  gap: 4px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border-on-dark);
}
.help-channels li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.help-channels a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--snow);
}
.help-channels a:hover {
  color: var(--orchid-light);
}
.help-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(240, 79, 240, 0.14);
  color: var(--orchid-light);
}
.help-icon svg {
  width: 18px;
  height: 18px;
}
.faq-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-group + .faq-group {
  margin-top: 24px;
}
.faq-group h3 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--purple);
}
/* La cruz del acordeón, dibujada */
.faq-question .plus {
  position: relative;
}
.faq-question .plus::before,
.faq-question .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
}
.faq-question .plus::after {
  transform: rotate(90deg);
}

/* Unión entre secciones: la sección que sigue nace de un nodo sobre una línea que se desvanece,
   y su fondo se tiñe de orquídea arriba para que el corte se vea */
.seam-top {
  position: relative;
  padding-top: 120px;
  background: linear-gradient(180deg, #f1dff1 0, #fbf5fb 300px);
}
.seam-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(209, 0, 206, 0.6) 30%, rgba(124, 0, 129, 0.6) 70%, transparent);
}
.seam-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8f8f8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") center / 24px no-repeat,
    var(--gradient-brand);
  box-shadow: 0 0 0 7px rgba(209, 0, 206, 0.13), 0 12px 26px rgba(209, 0, 206, 0.35);
}
.seam-top .section-head.center p {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 560px) {
  .seam-top {
    padding-top: 104px;
  }
}

/* Arma tu PC: los componentes en tres columnas y el progreso sin saltos de línea en teléfono */
@media (min-width: 861px) {
  .build-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .form-progress li:not(.is-current) span {
    display: none;
  }
  .form-progress {
    gap: 8px;
  }
  .form-progress li {
    gap: 6px;
    font-size: 12px;
    white-space: nowrap;
  }
  .form-progress li::before {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

/* Variante para secciones de fondo liso: el tinte baja hasta el color de la página */
.seam-top--plain {
  background: linear-gradient(180deg, #f1dff1 0, var(--snow) 300px);
}

/* Subvistas de Tienda con encabezado pequeño: los botones, si quedan, también más chicos */
.hero--compact .hero-actions {
  margin-top: 20px;
}
.hero--compact .hero-actions .btn {
  padding: 10px 22px;
  font-size: 14px;
}
.hero--compact .topic-pills {
  margin-top: 20px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.mv-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 40px 40px 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--snow);
}
.mv-card--mision {
  background: var(--carbon);
  box-shadow: 0 24px 50px rgba(26, 4, 27, 0.28);
}
.mv-card--mision::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(209, 0, 206, 0.42), transparent);
}
.mv-card--vision {
  background: var(--gradient-brand);
  box-shadow: 0 24px 50px rgba(209, 0, 206, 0.28);
}
.mv-num {
  position: absolute;
  top: 14px;
  right: 28px;
  z-index: -1;
  font-family: var(--font-heading);
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(248, 248, 248, 0.09);
}
.mv-card .svc-icon {
  margin-bottom: 22px;
  background: rgba(248, 248, 248, 0.16);
  color: var(--snow);
}
.mv-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--snow);
}
.mv-text {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--snow);
}
.mv-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(248, 248, 248, 0.2);
}
.mv-keys li {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(248, 248, 248, 0.28);
  background: rgba(248, 248, 248, 0.04);
  font-size: 13.5px;
  font-weight: 600;
}
@media (max-width: 760px) {
  .mv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mv-card {
    padding: 30px 26px 28px;
  }
  .mv-num {
    font-size: 84px;
    right: 18px;
  }
}

/* =========================================================
   Catálogo: categorías y filtros a la izquierda, productos a la derecha
   ========================================================= */
.catalog-side-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted-on-light);
}
.catalog-tools {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 0;
}
.catalog-tools .catalog-side-title {
  margin-bottom: -4px;
}
.catalog-tools .catalog-tool select {
  width: 100%;
  min-width: 0;
}
.catalog-tools .catalog-tool--price {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}
.catalog-tools .catalog-tool--price input {
  flex: none;
  width: 100%;
  min-width: 0;
}
.catalog-tools .catalog-clear {
  justify-content: center;
  margin-left: 0;
}
.catalog-head {
  align-items: flex-end;
  gap: 12px 24px;
}
.catalog-head-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 16px;
}
.catalog-sort {
  margin-bottom: 14px;
}
.catalog-sort .dd-btn {
  min-width: 210px;
}
.catalog-sort .dd-panel {
  left: auto;
  right: 0;
  width: max-content;
  min-width: 100%;
  max-width: 300px;
}
.catalog-main > .catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.catalog-side {
  position: relative;
  z-index: 3;
}
@media (min-width: 861px) {
  .catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .catalog-side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .catalog-main > .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .catalog-side-title {
    display: none;
  }
  .catalog-tools {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 20px;
  }
  .catalog-tools .catalog-tool {
    flex: 1 1 200px;
  }
  .catalog-tools .catalog-tool--price {
    flex-basis: 240px;
  }
  .catalog-tools .catalog-clear {
    flex: 1 1 100%;
  }
}
@media (max-width: 620px) {
  .catalog-tools .catalog-tool,
  .catalog-tools .catalog-tool--price {
    flex-basis: 100%;
  }
}
@media (max-width: 760px) {
  .catalog-main > .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .catalog-sort,
  .catalog-sort select {
    width: 100%;
  }
}

/* =========================================================
   Catálogo: descuento por producto (precio tachado) y entrega
   ========================================================= */
.product-price s {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-on-light);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.product-info .product-price s {
  font-size: 16px;
}
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  width: fit-content;
  margin: 8px 0 0;
  padding: 3px 11px 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}
.product-stock::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.product-stock[hidden] {
  display: none;
}
.product-stock--disponible {
  background: rgba(15, 122, 66, 0.12);
  color: #0b6b39;
}
.product-stock--agotado {
  background: rgba(179, 38, 30, 0.1);
  color: #a3241c;
}
.product-stock--plazo {
  background: rgba(209, 0, 206, 0.12);
  color: var(--purple);
}

/* =========================================================
   Catálogo: listas desplegables (categoría, marca y orden) y destacados en fila
   ========================================================= */
.dd {
  position: relative;
}
.dd-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 14px 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-on-light);
  background: #fbf5fb;
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.dd-btn:hover {
  border-color: var(--orchid);
  background: #fff;
}
.dd-btn:focus-visible {
  outline: 3px solid rgba(209, 0, 206, 0.35);
  outline-offset: 1px;
  border-color: var(--orchid);
}
.dd.is-open .dd-btn {
  border-color: var(--orchid);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(209, 0, 206, 0.14);
}
.dd-value {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.dd-chev {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--purple);
  transition: transform .25s ease;
}
.dd.is-open .dd-chev {
  transform: rotate(180deg);
}
.dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: 100%;
  max-height: 300px;
  padding: 6px;
  overflow-y: auto;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 0, 129, 0.35) transparent;
}
.dd.is-open .dd-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.dd-opt,
.dd-panel .catalog-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.dd-opt:hover,
.dd-panel .catalog-tab:hover {
  background: #fbf5fb;
  color: var(--purple);
}
.dd-opt:focus-visible,
.dd-panel .catalog-tab:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: -2px;
}
.dd-opt[aria-selected="true"],
.dd-panel .catalog-tab.active {
  background: rgba(209, 0, 206, 0.1);
  color: var(--purple);
  font-weight: 700;
}
.dd-opt[aria-selected="true"]::after,
.dd-panel .catalog-tab.active::after {
  content: "";
  flex: none;
  width: 6px;
  height: 11px;
  margin-right: 3px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
}
.catalog-head {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
/* Destacados: una fila que se desplaza hacia los lados */
.catalog-featured .hscroll-head {
  align-items: center;
  margin-bottom: 8px;
}
.catalog-featured .hscroll-head h2 {
  margin: 0;
}
.catalog-featured .hscroll-btn {
  width: 42px;
  height: 42px;
}
.catalog-featured .hscroll-track {
  padding-top: 6px;
  padding-bottom: 18px;
}
.catalog-featured .hscroll-item {
  flex: 0 0 min(264px, 72%);
}

/* Catálogo: la sección es más ancha que el resto del sitio para que quepan cuatro fichas al lado de los filtros */
.catalog-section .container {
  max-width: 1480px;
}
@media (min-width: 1400px) {
  .catalog-main > .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =========================================================
   Compartir: botón redondo en las fichas, botón en la vista de producto y aviso
   ========================================================= */
.product-links {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-links .card-link {
  flex: 1;
  min-width: 0;
}
.card-share {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-on-light);
  background: #fff;
  color: var(--purple);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.card-share svg {
  width: 17px;
  height: 17px;
}
.card-share:hover {
  border-color: var(--orchid);
  background: #fbf5fb;
}
.card-share:focus-visible {
  outline: 3px solid rgba(209, 0, 206, 0.35);
  outline-offset: 2px;
}
.product-actions {
  gap: 12px;
  margin: 0 0 28px;
}
.product-actions .btn {
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 760px) {
  .product-links {
    gap: 6px;
  }
  .product-links .card-link {
    font-size: 12.5px;
    line-height: 1.3;
  }
  .card-share {
    width: 32px;
    height: 32px;
  }
}
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 90;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--carbon);
  color: var(--snow);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.share-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

/* «Consultar por WhatsApp» en una sola línea junto al botón de compartir */
@media (min-width: 761px) {
  .product-links {
    gap: 8px;
  }
  .product-links .card-link {
    font-size: 13px;
    white-space: nowrap;
  }
}
/* Las fichas más angostas (tres o cuatro por fila en pantallas medianas) bajan un poco más la letra */
@media (min-width: 1101px) and (max-width: 1139px) {
  .product-links .card-link {
    font-size: 11px;
  }
}
@media (min-width: 1140px) and (max-width: 1174px),
  (min-width: 1400px) and (max-width: 1449px) {
  .product-links .card-link {
    font-size: 12px;
  }
}

/* Ficha del catálogo: el precio en $ en una línea y el de Bs en otra, siempre, para que todas queden iguales */
.product-body .product-price > span {
  flex: 0 0 100%;
}
/* Bolívares y, al lado, el ahorro pagando en divisas */
.product-price .product-bs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

/* Ficha del catálogo: la entrega va dentro de la foto, abajo a la izquierda, sobre fondo sólido para que se lea */
.product-img {
  position: relative;
}
.product-img .product-stock {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  margin: 0;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(26, 4, 27, 0.28);
}
.product-img .product-stock--disponible {
  background: #e3f5ea;
}
.product-img .product-stock--agotado {
  background: #fbe5e3;
}
.product-img .product-stock--plazo {
  background: #f9dff8;
}

/* Vista de un producto: la entrega también va dentro de la foto, arriba a la izquierda */
.product-photo {
  position: relative;
}
.product-photo .product-stock {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 5px 14px 5px 11px;
  font-size: 13.5px;
  box-shadow: 0 4px 12px rgba(26, 4, 27, 0.28);
}
.product-photo .product-stock--disponible {
  background: #e3f5ea;
}
.product-photo .product-stock--agotado {
  background: #fbe5e3;
}
.product-photo .product-stock--plazo {
  background: #f9dff8;
}

/* Catálogo: franja de marcas entre el encabezado y los productos, sin título */
.brand-strip {
  padding: 34px 0;
}

/* Catálogo: menos aire entre la franja de marcas y los productos */
.brand-strip {
  padding: 26px 0 6px;
}
.brand-strip + .catalog-section {
  padding-top: 22px;
}

/* Vista de un producto: productos similares, una fila que se desplaza con las fichas del catálogo */
.product-similar {
  margin-top: 72px;
  padding-top: 44px;
  border-top: 1px solid var(--border-on-light);
}
.product-similar .hscroll-head {
  align-items: center;
  margin-bottom: 8px;
}
.product-similar .hscroll-head h2 {
  margin: 0;
  font-size: 24px;
}
.product-similar .hscroll-btn {
  width: 42px;
  height: 42px;
}
.product-similar .hscroll-track {
  padding-top: 6px;
  padding-bottom: 18px;
}
.product-similar .hscroll-item {
  flex: 0 0 min(264px, 72%);
}
.product-similar[hidden] {
  display: none;
}

/* Ensamblaje: tarifas en una fila que se desplaza, debajo del título */
.tarifas-ens .hscroll-head {
  margin-bottom: 28px;
}
.price-list--row > li {
  flex: 0 0 min(300px, 84%);
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 28px rgba(26, 4, 27, 0.1);
  scroll-snap-align: start;
}
.price-list--row > li > .price-amount,
.price-list--row .price-box {
  align-self: flex-start;
  align-items: flex-start;
  margin-top: auto;
}
.price-list--row h3 {
  font-size: 18px;
}

/* Formulario de ensamblaje: pregunta apagada porque la persona ya tiene ese equipo */
.field.is-off {
  opacity: .55;
}
.field-note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.field-note[hidden] {
  display: none;
}

/* Ensamblaje: qué comprende un ensamblaje */
.asm-block + .asm-block {
  margin-top: 76px;
}
.asm-block > h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 28px);
  text-align: center;
}
.asm-sub {
  max-width: 62ch;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--text-muted-on-light);
}
.asm-block > h3:not(:has(+ .asm-sub)) {
  margin-bottom: 32px;
}
.asm-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}
.asm-intro p {
  margin: 0 0 16px;
  color: var(--text-muted-on-light);
}
.asm-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: punto;
}
.asm-points li {
  position: relative;
  padding: 18px 22px 18px 72px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
  color: var(--text-muted-on-light);
  font-size: 15px;
  counter-increment: punto;
}
.asm-points li::before {
  content: counter(punto);
  position: absolute;
  top: 18px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 16px;
}
.asm-points strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-on-light);
}
.part-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.part-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: 0 10px 24px rgba(26, 4, 27, 0.07);
}
.part-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: rgba(209, 0, 206, 0.1);
  color: var(--purple);
}
.part-icon svg {
  width: 24px;
  height: 24px;
}
.part-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orchid-deep);
}
.part-card h4 {
  margin: 0;
  font-size: 18px;
}
.part-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-light);
}
.part-card--cta {
  justify-content: center;
  border-color: transparent;
  background: var(--gradient-brand);
  box-shadow: 0 16px 34px rgba(209, 0, 206, 0.28);
  color: var(--snow);
}
.part-card--cta p {
  color: var(--snow);
}
.part-card--cta .btn {
  align-self: flex-start;
  margin-top: 8px;
}
.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.vs-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-on-light);
}
.vs-card--main {
  border-color: rgba(209, 0, 206, 0.45);
  box-shadow: 0 16px 34px rgba(209, 0, 206, 0.14);
}
.vs-card h4 {
  margin: 0;
  font-size: 21px;
}
.vs-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.vs-card li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.vs-card li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
.vs-card li::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--snow);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.vs-verdict {
  max-width: 70ch;
  margin: 30px auto 0;
  text-align: center;
  color: var(--text-muted-on-light);
}
.asm-faq {
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .part-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .asm-intro,
  .vs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .part-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .asm-block + .asm-block {
    margin-top: 60px;
  }
  .asm-points li {
    padding-left: 66px;
  }
}

/* Ensamblaje, tarifas: el título y las flechas en una fila; la frase y el enlace debajo, a todo lo ancho */
.tarifas-ens .hscroll-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 24px;
  margin-bottom: 30px;
}
.tarifas-ens .hscroll-head .section-head {
  display: contents;
}
.tarifas-ens .hscroll-head h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  text-wrap: wrap;
}
.tarifas-ens .hscroll-head .hscroll-nav {
  grid-column: 2;
  grid-row: 1;
}
.tarifas-ens .hscroll-head .section-head p {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 68ch;
  margin: 8px 0 4px;
}
.tarifas-ens .hscroll-head .card-link {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
}

/* Alcance y propósito: el texto y los tres pasos miden lo mismo, uno al lado del otro */
.asm-intro {
  align-items: stretch;
}
.asm-intro > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(209, 0, 206, 0.06);
  border: 1px solid rgba(209, 0, 206, 0.2);
}
.asm-intro > div p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
}
.asm-points {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}
.asm-points li {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 860px) {
  .asm-intro > div {
    padding: 26px;
  }
  .asm-points {
    grid-template-rows: none;
  }
}

/* Taller: tarifas de hardware y de software, cada una en su fila que se desplaza */
.price-list--row > li {
  color: var(--text-on-light);
}
.price-list--row h4 {
  font-size: 18px;
}
.tarifa-row + .tarifa-row {
  margin-top: 44px;
}
.tarifa-row .hscroll-head {
  align-items: flex-end;
  margin-bottom: 18px;
}
.tarifa-row-head h3 {
  margin: 0 0 6px;
  font-size: 26px;
}
.tarifa-row-head .price-intro {
  max-width: 70ch;
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted-on-dark);
}
.tarifa-row .hscroll-track {
  padding-bottom: 20px;
}

/* Taller: condiciones del servicio, con la línea de enlaces debajo */
.cond-more {
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}

/* Portada con foto de fondo (Redes): la foto llena la sección, con una sombra de marca que se
   oscurece hacia el texto, alineado a la derecha */
.hero--photo {
  isolation: isolate;
}
.hero--photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 50%;
}
.hero--photo::before {
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  opacity: 1;
  filter: none;
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 100%);
}
.hero--photo .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
}
.hero--photo .hero-grid > div {
  max-width: 600px;
  text-align: right;
}
.hero--photo h1 .accent {
  color: var(--orchid-light);
}
.hero--photo p.lead {
  margin-left: auto;
}
.hero--photo .hero-actions {
  justify-content: flex-end;
}
@media (max-width: 860px) {
  .hero--photo::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.9) 100%);
  }
}

/* Desarrollo con foto de fondo: el título, la frase y los botones en una sola columna a la derecha */
.hero--dev.hero--photo::after {
  display: none;
}
.hero--photo .dev-head {
  display: block;
  max-width: 620px;
  margin-left: auto;
  text-align: right;
}
.hero--photo .dev-head h1 {
  margin: 0 0 18px;
}

/* Corporativo: la foto es vertical, así que llena la mitad izquierda (casi a su tamaño real) y se
   difumina hacia el texto, a la derecha */
.hero--corp.hero--photo .hero-bg {
  width: 62%;
  object-position: 50% 32%;
}
.hero--corp.hero--photo::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.94) 58%, rgba(0, 0, 0, 0.98) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 100%);
}
@media (max-width: 860px) {
  .hero--corp.hero--photo .hero-bg {
    width: 100%;
  }
  .hero--corp.hero--photo::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.9) 100%);
  }
}

/* Tienda: se ve el mostrador y las vitrinas; la parte baja de la portada queda bajo la barra de accesos */
.hero--store.hero--photo .hero-bg {
  object-position: 50% 42%;
}

/* Tienda: con el taller inactivo, la tarjeta de ensamblaje queda sola en su sección */
.duo--solo {
  grid-template-columns: minmax(0, 560px);
}

/* Tienda: el texto va a la izquierda, así que la sombra de marca se oscurece por ese lado */
.hero--store.hero--photo .hero-grid {
  justify-items: start;
}
.hero--store.hero--photo .hero-grid > div {
  text-align: left;
}
.hero--store.hero--photo p.lead {
  margin-left: 0;
}
.hero--store.hero--photo .hero-actions {
  justify-content: flex-start;
}
.hero--store.hero--photo::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 100%);
}
@media (max-width: 860px) {
  .hero--store.hero--photo::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.9) 100%);
  }
}

/* Desarrollo: el texto va a la izquierda, así que la sombra de marca se oscurece por ese lado */
.hero--dev.hero--photo .dev-head {
  margin-left: 0;
  text-align: left;
}
.hero--dev.hero--photo p.lead {
  margin-left: 0;
}
.hero--dev.hero--photo .hero-actions {
  justify-content: flex-start;
}
.hero--dev.hero--photo::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 100%);
}
@media (max-width: 860px) {
  .hero--dev.hero--photo::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.9) 100%);
  }
}

/* Portadas con foto: el título en 3 líneas, la frase en 4 y la nota en 1 (en pantallas medianas y grandes) */
.hero--photo h1 {
  margin-left: auto;
  font-size: clamp(34px, 3.4vw, 50px);
  max-width: 9em;
  text-wrap: balance;
}
.hero--store.hero--photo h1,
.hero--dev.hero--photo h1 {
  margin-left: 0;
}
.hero--photo .dev-head {
  max-width: 700px;
}
.hero--photo p.lead {
  text-wrap: balance;
}
@media (min-width: 861px) {
  .hero--photo .hero-note {
    white-space: nowrap;
  }
}

/* ---------- Servicios destacados (redes.html y corporativo.html) ---------- */
#lista-servicios,
#servicios-empresas {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
/* Familias de soporte técnico (corporativo.html): los títulos arrancan a la misma altura */
#soporte .row-item {
  align-content: start;
}
.srv-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.srv-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--snow);
  /* La tarjeta es clara aunque la sección sea oscura */
  color: var(--text-on-light);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-dark);
}
.srv-card-tag {
  margin: 0 0 12px;
}
.srv-card h3 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.3;
}
.srv-unit {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-on-light);
}
.srv-card-desc {
  margin: 12px 0 18px;
  font-size: 14.5px;
  color: var(--text-muted-on-light);
}
.srv-card-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-on-light);
}
.srv-card-foot .price-box {
  align-items: center;
}
/* Icono de WhatsApp, centrado al pie de la tarjeta */
.srv-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  box-shadow: 0 8px 18px rgba(209, 0, 206, 0.3);
  transition: transform .2s, box-shadow .2s;
}
.srv-wa svg {
  width: 26px;
  height: 26px;
}
.srv-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(209, 0, 206, 0.4);
}
.srv-wa:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 3px;
}
.srv-foot {
  margin: 30px 0 0;
  font-size: 15px;
  color: var(--text-muted-on-dark);
}
@media (max-width: 960px) {
  .srv-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  /* En teléfono, las tarjetas van en una fila que se desplaza con el dedo */
  .srv-featured {
    display: flex;
    gap: 14px;
    margin: 0 -16px;
    padding: 4px 16px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
  }
  .srv-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .srv-wa {
    transition: none;
  }
}

/* Portada de guías: filtros por área */
.guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto 28px;
}
.guide-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-on-light);
  background: #fff;
  color: var(--text-on-light);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s;
}
.guide-chip:hover {
  border-color: var(--orchid);
}
.guide-chip[aria-pressed="true"] {
  border-color: transparent;
  background: var(--gradient-brand);
  color: var(--snow);
}
.guide-chip:focus-visible {
  outline: 2px solid var(--orchid);
  outline-offset: 2px;
}
.guide-chip-n {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.7;
}
.guide-chip[aria-pressed="true"] .guide-chip-n {
  opacity: 1;
}
.guide-list li[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .guide-chip {
    transition: none;
  }
}

/* Guías para decidir mejor (páginas de área) y enlace a guías en la portada */
.area-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.area-guides a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 26px 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
  transition: border-color .2s ease, transform .2s ease;
}
.area-guides a:hover {
  border-color: var(--orchid);
  transform: translateY(-2px);
}
.area-guides h3 {
  margin-bottom: 8px;
  font-size: 18px;
}
.area-guides p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.area-guide-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
}
.area-guide-go svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}
.area-guides a:hover .area-guide-go svg {
  transform: translateX(4px);
}
.area-guides-all {
  margin: 22px 0 0;
}
.area-guides-all .card-link {
  min-height: 44px;
}
.solve-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
}
.solve-guides {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted-on-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.solve-guides:hover {
  color: var(--purple);
}
@media (max-width: 860px) {
  .area-guides {
    grid-template-columns: 1fr;
  }
  .area-guides a {
    padding: 22px 22px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .area-guides a,
  .area-guide-go svg {
    transition: none;
  }
  .area-guides a:hover {
    transform: none;
  }
}

/* El bloque de guías es una franja propia: nace de la unión con nodo de arriba (seam-top) y se
   cierra abajo con la misma línea de orquídea y un tinte, para que no se lea como parte de la
   sección anterior ni de la siguiente */
.area-guides-band {
  padding-bottom: 104px;
  background:
    linear-gradient(90deg, transparent, rgba(209, 0, 206, 0.6) 30%, rgba(124, 0, 129, 0.6) 70%, transparent) bottom / 100% 2px no-repeat,
    linear-gradient(180deg, #f1dff1 0, #fbf5fb 300px, #fbf5fb calc(100% - 200px), #f1dff1 100%);
}
@media (max-width: 560px) {
  .area-guides-band {
    padding-bottom: 88px;
  }
}

/* Fecha de revisión bajo el título de cada guía */
.guide-updated {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted-on-dark);
}

/* Tabla de contenidos desplegable de las guías largas */
.guide h2[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.guide-toc {
  margin: 14px 0 0;
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-md);
  background: #fff;
}
.guide-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.guide-toc summary::-webkit-details-marker {
  display: none;
}
.guide-toc summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}
.guide-toc[open] summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}
.guide-toc summary:focus-visible {
  outline: 3px solid var(--orchid);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}
.guide-toc nav {
  display: grid;
  padding: 0 22px 14px;
}
.legal .guide-toc nav a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--border-on-light);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-on-light);
}
.legal .guide-toc nav a:hover {
  color: var(--purple);
}
@media (prefers-reduced-motion: reduce) {
  .guide-toc summary::after {
    transition: none;
  }
}

/* Errores de formulario en línea */
.field-error {
  margin: 6px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffb3c1;
}
.field [aria-invalid="true"],
fieldset [aria-invalid="true"] {
  border-color: #ff8fa5;
}
fieldset > .field-error {
  grid-column: 1 / -1;
}

/* Icono del área y ruta completa en la cabecera de cada guía */
.guide-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(209, 0, 206, 0.16);
  border: 1px solid rgba(240, 79, 240, 0.4);
  color: var(--orchid-light);
}
.guide-icon svg {
  width: 26px;
  height: 26px;
}
.guide-crumbs span {
  margin: 0 8px;
  color: var(--text-muted-on-dark);
}

/* ---------- Temporada navideña: luces de fondo en la barra superior y el pie ----------
   Para volver al fondo liso, borra este bloque entero y los archivos fondo-navidad-*.webp.
   Una capa oscura va sobre la foto para que el texto conserve más de 4,5:1 de contraste.
   La foto va en pseudo-elementos para poder desvanecerla hacia la sección vecina:
   la barra baja su foto 56 px sobre la primera sección y el pie sube la suya 88 px sobre la última. */
.site-header {
  background: var(--carbon);
  border-bottom-color: transparent;
}
.site-header.is-scrolled {
  background: var(--carbon);
  border-bottom-color: rgba(248, 248, 248, 0.08);
}
.site-header::before,
.site-header::after,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.site-header::before,
.site-header::after {
  top: 0;
  z-index: -1;
  transition: opacity .3s ease;
}
/* Arriba del todo: la foto se desvanece sobre la primera sección */
.site-header::before {
  bottom: -56px;
  background:
    linear-gradient(rgba(14, 12, 16, 0.58), rgba(14, 12, 16, 0.58)),
    url("../img/fondo-navidad-1600w.webp") center 30% / cover no-repeat,
    var(--carbon);
  -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 56px), rgba(0, 0, 0, 0.7) calc(100% - 38px), rgba(0, 0, 0, 0.3) calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(#000 0, #000 calc(100% - 56px), rgba(0, 0, 0, 0.7) calc(100% - 38px), rgba(0, 0, 0, 0.3) calc(100% - 18px), transparent 100%);
}
/* Al desplazar: la barra queda con su borde y un poco más oscura, sobre el contenido */
.site-header::after {
  bottom: 0;
  opacity: 0;
  background:
    linear-gradient(rgba(14, 12, 16, 0.7), rgba(14, 12, 16, 0.7)),
    url("../img/fondo-navidad-1600w.webp") center 30% / cover no-repeat,
    var(--carbon);
}
.site-header.is-scrolled::before {
  opacity: 0;
}
.site-header.is-scrolled::after {
  opacity: 1;
}
.site-footer {
  position: relative;
  background: var(--carbon);
  color: rgba(248, 248, 248, 0.9);
}
.site-footer::before {
  top: -88px;
  bottom: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(14, 12, 16, 0.6), rgba(14, 12, 16, 0.6)),
    url("../img/fondo-navidad-1600w.webp") center / cover no-repeat,
    var(--carbon);
  -webkit-mask-image: linear-gradient(transparent 0, rgba(0, 0, 0, 0.18) 22px, rgba(0, 0, 0, 0.5) 48px, rgba(0, 0, 0, 0.85) 70px, #000 88px);
  mask-image: linear-gradient(transparent 0, rgba(0, 0, 0, 0.18) 22px, rgba(0, 0, 0, 0.5) 48px, rgba(0, 0, 0, 0.85) 70px, #000 88px);
}
.site-footer > .container {
  position: relative;
  z-index: 1;
}
/* Aire bajo la última sección para que el desvanecido del pie no cubra su contenido */
main > section:last-of-type {
  padding-bottom: 104px;
}
.site-header .nav-links a,
.footer-brand p,
.footer-col ul li a,
.footer-col .contact-mini,
.footer-bottom {
  color: rgba(248, 248, 248, 0.92);
}
.site-header .nav-links a:hover,
.footer-col ul li a:hover,
.footer-bottom a:hover {
  color: var(--orchid-light);
}
.site-header .nav-links a.active {
  color: var(--snow);
}
.site-header .nav-links a,
.site-footer {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.site-header .nav-cta,
.site-footer .footer-social svg {
  text-shadow: none;
}
/* En teléfono el pie es muy alto y estrecho: una versión vertical de la foto evita estirarla */
@media (max-width: 760px) {
  .site-footer::before {
    background-image:
      linear-gradient(rgba(14, 12, 16, 0.6), rgba(14, 12, 16, 0.6)),
      url("../img/fondo-navidad-vertical.webp");
    background-size: auto, cover;
    background-position: 0 0, center top;
  }
}

/* Nieve de la temporada navideña (se dibuja desde main.js): bajo la barra superior y el botón de
   WhatsApp, sobre el contenido, y sin recibir clics */
#nieve {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 80;
  pointer-events: none;
}
@media print {
  #nieve {
    display: none;
  }
}

/* ---------- Dos sitios: tienda (gatewaytech.com.ve) y empresas (hub.gatewaytech.com.ve) ---------- */
/* Enlace de la barra hacia el otro sitio: se distingue de las secciones con un filo */
.nav-links a.nav-cross {
  margin-left: 8px;
  border: 1px solid rgba(248, 248, 248, 0.28);
}
/* La barra de la tienda lleva nueve enlaces: se compacta un poco hasta que cabe con holgura */
@media (min-width: 1221px) and (max-width: 1480px) {
  .nav-links:has(a.nav-cross[href^="https://hub."]) a {
    padding: 9px 7px;
    font-size: 13px;
  }
  .nav-links:has(a.nav-cross[href^="https://hub."]) a.nav-cross {
    margin-left: 4px;
  }
}
@media (max-width: 1220px) {
  .nav-links a.nav-cross {
    margin: 8px 0 0;
    text-align: center;
  }
}
/* Nosotros del hub: tres áreas */
.bento--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .bento--3 {
    grid-template-columns: 1fr;
  }
}
/* Los filtros de guías se ocultan cuando solo hay un área (la tienda) */
.guide-filters[hidden] {
  display: none;
}
