/* Páginas internas compartidas */

body:not(.page-inicio) {
  background: #eef2f6;
}

body.page-nosotros,
body.page-servicios,
body.page-contacto,
body.page-legal,
body.page-blog,
body.page-computo,
body.page-terminales,
body.page-electronica,
body.page-licenciamiento,
body.page-perifericos,
body.page-consumibles,
body.page-impresion,
body.page-productos,
body.page-detalle,
body.page-demo,
body.page-directorio,
body.page-soporte-tecnico,
body.page-consultoria-hardware,
body.page-infraestructura-computo,
body.page-redes,
body.page-sistemas-seguridad,
body.page-data-center,
body.page-cableado-estructurado {
  background: #fff;
}

body.page-computo .page-hero,
body.page-terminales .page-hero,
body.page-electronica .page-hero,
body.page-licenciamiento .page-hero,
body.page-perifericos .page-hero,
body.page-consumibles .page-hero,
body.page-impresion .page-hero,
body.page-productos .page-hero,
body.page-nosotros .page-hero,
body.page-servicios .page-hero,
body.page-contacto .page-hero,
body.page-legal .page-hero,
body.page-blog .page-hero,
body.page-directorio .page-hero,
body.page-detalle .page-hero,
body.page-demo .page-hero,
body.page-soporte-tecnico .page-hero,
body.page-consultoria-hardware .page-hero,
body.page-infraestructura-computo .page-hero,
body.page-redes .page-hero,
body.page-sistemas-seguridad .page-hero,
body.page-data-center .page-hero,
body.page-cableado-estructurado .page-hero {
  margin: calc(var(--header-height) + 0.85rem) 0.85rem 1.65rem;
}

/* —— Hero de página (alineado a la izquierda, estilo home) —— */
.page-hero {
  position: relative;
  min-height: calc(56vh - var(--header-height) - 1.2rem);
  display: flex;
  align-items: flex-end;
  margin: calc(var(--header-height) + 0.85rem) 0.85rem 1.25rem;
  padding: clamp(2.75rem, 5vw, 3.75rem) 0 clamp(2.85rem, 5vw, 3.85rem);
  background:
    linear-gradient(105deg, rgba(6, 14, 28, 0.94) 0%, rgba(6, 14, 28, 0.72) 48%, rgba(1, 112, 185, 0.38) 100%),
    url("../img/home/slider/slider_img2.jpg") center / cover no-repeat;
  color: var(--color-white);
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(8, 17, 31, 0.14);
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  right: -10%;
  bottom: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 112, 185, 0.4) 0%, transparent 68%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--container));
}

.page-hero__content {
  max-width: 640px;
  animation: page-hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes page-hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.page-hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.page-hero .eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-on-dark);
}

.page-hero h1 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: var(--heading-weight);
  margin: 0;
  max-width: 16ch;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.page-hero .intro {
  margin: 1rem 0 0;
  max-width: 46ch;
  color: #d5dee8;
  font-size: var(--lead-size);
  line-height: 1.7;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.page-hero__actions .btn {
  min-height: 48px;
  min-width: 158px;
  gap: 0.5rem;
}

.page-hero__actions .btn-primary {
  box-shadow: 0 10px 26px rgba(1, 112, 185, 0.32);
}

.page-hero__actions .btn-ghost {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
}

.page-hero__actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.page-hero--legal .page-hero__actions {
  display: none;
}

/* —— Grid de marcas —— */
.brands-section {
  padding: clamp(3.75rem, 7vw, 5rem) 0;
  background: var(--color-surface);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.brand-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  padding: 1.85rem 1.5rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(1, 112, 185, 0.1);
  box-shadow: 0 14px 36px rgba(8, 17, 31, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.brand-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #64b7e5);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(8, 17, 31, 0.12);
  border-color: rgba(1, 112, 185, 0.22);
}

.brand-card:hover::before {
  opacity: 1;
}

.brand-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 1.35rem;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(1, 112, 185, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(8, 17, 31, 0.06);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.brand-card:hover .brand-card__logo {
  border-color: rgba(1, 112, 185, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 28px rgba(1, 112, 185, 0.14);
  transform: translateY(-2px);
}

.brand-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: 10%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 50%;
  margin: 0;
  border: 0;
  display: block;
}

.brand-card img[src$=".svg"] {
  padding: 12%;
  background: #00b8fc;
}

.brand-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  color: var(--color-heading);
}

.brand-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  line-height: 1.65;
}

.brands-grid.dense {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.brands-grid.dense .brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 198px;
  padding: 1.55rem 1.1rem 1.45rem;
}

.brands-grid.dense .brand-card__logo {
  width: 92px;
  height: 92px;
  margin-bottom: 1.05rem;
  padding: 0;
  border-radius: 50%;
}

.brands-grid.dense .brand-card img {
  max-width: none;
  max-height: none;
  padding: 8%;
}

.brands-grid.dense .brand-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brands-grid.dense .brand-card p {
  display: none;
}

/* —— CTA band (panel inmersivo, base home) —— */
.cta-band {
  position: relative;
  background: var(--color-white);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  overflow: hidden;
}

.cta-band::before {
  display: none;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(340px, 42vw, 460px);
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.18);
  isolation: isolate;
}

.cta-panel__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transform-origin: center center;
  animation: cta-kenburns 14s ease-out forwards;
}

@keyframes cta-kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-panel__media img {
    animation: none;
    transform: scale(1);
  }
}

.cta-panel__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 14, 28, 0.72) 0%, rgba(6, 14, 28, 0.82) 45%, rgba(6, 14, 28, 0.9) 100%),
    linear-gradient(105deg, rgba(1, 112, 185, 0.22) 0%, transparent 55%);
}

.cta-panel__glow {
  position: absolute;
  z-index: 1;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  right: -8%;
  bottom: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 112, 185, 0.45) 0%, transparent 68%);
  pointer-events: none;
  animation: cta-glow 6s ease-in-out infinite alternate;
}

@keyframes cta-glow {
  from { opacity: 0.55; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1.08); }
}

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

.cta-panel__body {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 640px);
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 3.75rem) 1rem;
  text-align: center;
  animation: cta-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cta-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.cta-panel__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.cta-panel__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(159, 208, 240, 0.72);
}

.cta-panel__title {
  margin: 0 auto 1rem;
  max-width: 18ch;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.cta-panel__lead {
  margin: 0 auto 1.85rem;
  max-width: 42ch;
  color: #d5dee8;
  font-size: var(--lead-size);
  line-height: 1.7;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.cta-panel__actions .btn {
  min-height: 48px;
  min-width: 168px;
  gap: 0.55rem;
}

.cta-panel__actions .btn-primary {
  box-shadow: 0 12px 28px rgba(1, 112, 185, 0.35);
}

.cta-panel__actions .btn-ghost {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
}

.cta-panel__actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cta-panel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.45rem 0 0;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(200, 212, 224, 0.78);
}

.cta-panel__meta a {
  color: var(--color-on-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta-panel__meta a:hover {
  color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  border-color: rgba(13, 27, 42, 0.16);
  color: var(--color-heading);
}

.btn-ghost-dark:hover {
  background: rgba(13, 27, 42, 0.04);
  border-color: rgba(13, 27, 42, 0.3);
  color: var(--color-heading);
  transform: translateY(-1px);
}

.btn-ghost-dark:focus-visible {
  color: var(--color-heading);
}

@media (max-width: 700px) {
  .cta-panel {
    min-height: 380px;
    border-radius: 20px;
  }

  .cta-panel__body {
    width: min(100% - 1.6rem, 640px);
    padding: 2rem 0.75rem;
  }

  .cta-panel__title {
    max-width: none;
  }

  .cta-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-panel__actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .cta-panel__meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem 0.65rem;
  }
}

/* —— Nosotros —— */
.page-nosotros {
  background: #fff;
}

.page-nosotros .page-hero {
  margin-bottom: 1.65rem;
}

.page-hero--nosotros {
  background:
    linear-gradient(115deg, rgba(8, 17, 31, 0.92) 0%, rgba(8, 17, 31, 0.55) 48%, rgba(1, 112, 185, 0.38) 100%),
    url("../img/home/slider/slider_img2.jpg") center / cover no-repeat;
}

.about-intro {
  background: var(--color-surface);
  margin-top: 0.15rem;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.about-split__media {
  overflow: hidden;
  border-radius: 22px;
  background: #e4ebf2;
  box-shadow: 0 18px 44px rgba(8, 17, 31, 0.08);
}

.about-split__media img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.about-split__copy h2 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-size: var(--title-size);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: 1.15;
  text-align: left;
}

.about-split__copy > p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: var(--lead-size);
  line-height: 1.7;
  max-width: 48ch;
}

.about-split__copy > p:last-of-type {
  margin-bottom: 0;
}

.about-sellos-block {
  margin-top: 1.85rem;
  padding-top: 1.65rem;
  border-top: 2px solid rgba(13, 27, 42, 0.18);
}

.about-sellos-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  padding: 0.95rem 1.05rem;
  background: linear-gradient(135deg, rgba(1, 112, 185, 0.08) 0%, rgba(1, 112, 185, 0.02) 100%);
  border: 1px solid rgba(1, 112, 185, 0.14);
  border-radius: 14px;
}

.about-sellos-head__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(1, 112, 185, 0.12);
  color: var(--color-primary);
}

.about-sellos-head__icon svg {
  width: 18px;
  height: 18px;
}

.about-sellos-head__copy {
  min-width: 0;
}

.about-sellos-head__title {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-heading);
  line-height: 1.3;
}

.about-sellos-head__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.about-sellos {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.about-sello {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 78px;
  padding: 0.65rem 0.7rem;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(8, 17, 31, 0.04);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-sello:hover,
.about-sello:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(1, 112, 185, 0.22);
  box-shadow: 0 12px 28px rgba(8, 17, 31, 0.09);
  outline: none;
}

.about-sello:focus-visible {
  box-shadow: var(--focus-ring), 0 12px 28px rgba(8, 17, 31, 0.09);
}

.about-sello img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* —— Modal de distintivos —— */
body.sello-modal-open {
  overflow: hidden;
}

.sello-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.sello-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sello-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 31, 0.58);
  backdrop-filter: blur(3px);
}

.sello-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: clamp(1.6rem, 4vw, 2.15rem);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 24px 60px rgba(8, 17, 31, 0.28);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.3s ease;
}

.sello-modal.is-open .sello-modal__dialog {
  transform: translateY(0) scale(1);
}

.sello-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 27, 42, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--color-heading);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sello-modal__close:hover,
.sello-modal__close:focus-visible {
  background: rgba(1, 112, 185, 0.08);
  border-color: rgba(1, 112, 185, 0.22);
  color: var(--color-primary);
  outline: none;
}

.sello-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 96px;
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(160deg, #f7fafc 0%, #eef4f9 100%);
  border: 1px solid rgba(1, 112, 185, 0.1);
  border-radius: 16px;
}

.sello-modal__media img {
  max-width: 160px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sello-modal .eyebrow {
  margin-bottom: 0.55rem;
}

.sello-modal h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  padding-right: 2rem;
}

.sello-modal__lead {
  margin: 0 0 0.85rem;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.sello-modal__body {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-pillars {
  background: #fff;
}

.about-split .eyebrow,
.section .eyebrow {
  margin-bottom: 0.85rem;
}

.values-section {
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.value-card {
  position: relative;
  overflow: hidden;
  background: #f7fafc;
  border: 1px solid rgba(1, 112, 185, 0.12);
  border-radius: 22px;
  padding: 1.75rem 1.6rem 1.7rem;
  box-shadow: 0 14px 34px rgba(8, 17, 31, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #64b7e5);
}

.value-card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: rgba(1, 112, 185, 0.22);
  box-shadow: 0 22px 48px rgba(8, 17, 31, 0.12);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.05rem;
  border-radius: 14px;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(1, 112, 185, 0.16), rgba(1, 112, 185, 0.04));
  box-shadow: inset 0 0 0 1px rgba(1, 112, 185, 0.1);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.value-icon svg {
  width: 23px;
  height: 23px;
}

.value-card:hover .value-icon {
  color: #fff;
  background: var(--color-primary);
  transform: scale(1.05);
}

.value-card h3 {
  margin: 0 0 0.7rem;
  color: var(--color-heading);
  font-size: 1.22rem;
}

.value-card p,
.value-card ul {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.value-card--list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.85rem;
  padding: 0;
  list-style: none;
}

.value-card--list li {
  position: relative;
  margin: 0;
  padding: 0.45rem 0.55rem 0.45rem 1.55rem;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--color-text-soft);
}

.value-card--list li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(1, 112, 185, 0.12);
}

.value-card--list li:last-child {
  grid-column: 1 / -1;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid rgba(1, 112, 185, 0.13);
  box-shadow: 0 15px 38px rgba(8, 17, 31, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary), #64b7e5);
  transition: width 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(1, 112, 185, 0.25);
  box-shadow: 0 24px 52px rgba(8, 17, 31, 0.14);
}

.pillar-card:hover::before {
  width: 6px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(1, 112, 185, 0.16), rgba(1, 112, 185, 0.04));
  box-shadow: inset 0 0 0 1px rgba(1, 112, 185, 0.1);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.pillar-icon svg {
  width: 25px;
  height: 25px;
}

.pillar-card:hover .pillar-icon {
  color: #fff;
  background: var(--color-primary);
  transform: scale(1.05);
}

.pillar-num {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

.pillar-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.pillar-card p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.65;
}

/* —— Distribución / Alcance (mismo diseño que home) —— */
.distribucion {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 8% 10%, rgba(1, 112, 185, 0.16), transparent 52%),
    radial-gradient(ellipse 60% 50% at 95% 90%, rgba(1, 112, 185, 0.1), transparent 48%),
    var(--color-surface);
  margin-top: 0;
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
  overflow: hidden;
}

.distribucion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(1, 112, 185, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 112, 185, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.distribucion-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.07);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 12px rgba(8, 17, 31, 0.04),
    0 24px 56px rgba(8, 17, 31, 0.1);
}

.distribucion-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, var(--color-primary) 0%, #4aa3d8 45%, transparent 100%);
}

.distribucion-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.4rem, 3vw, 2.1rem);
  background: linear-gradient(150deg, #ffffff 0%, #f5f9fc 55%, #eef5fb 100%);
}

.distribucion-copy::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 112, 185, 0.08), transparent 68%);
  pointer-events: none;
}

.distribucion-copy::after {
  content: "";
  position: absolute;
  top: 14%;
  right: 0;
  width: 1px;
  height: 72%;
  background: linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.1), transparent);
}

.distribucion-badge {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(1, 112, 185, 0.22), rgba(1, 112, 185, 0.06));
  color: var(--color-primary);
  box-shadow:
    inset 0 0 0 1px rgba(1, 112, 185, 0.16),
    0 10px 22px rgba(1, 112, 185, 0.14);
}

.distribucion-badge svg {
  width: 18px;
  height: 18px;
}

.distribucion-copy .eyebrow {
  margin-bottom: 0.35rem;
  letter-spacing: 0.16em;
}

.distribucion-copy h2 {
  margin: 0 0 0.65rem;
  color: var(--color-heading);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-transform: none;
  max-width: 14ch;
  text-align: left;
}

.distribucion-copy > p:not(.eyebrow) {
  margin: 0;
  max-width: 42ch;
  color: #556274;
  font-size: 0.95rem;
  line-height: 1.6;
}

.distribucion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.distribucion-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 0%, #f0f6fb 100%);
  border: 1px solid rgba(1, 112, 185, 0.16);
  color: #2c3d4f;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(8, 17, 31, 0.05);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.distribucion-points span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1, 112, 185, 0.14);
}

.distribucion-points span:hover {
  transform: translateY(-2px);
  background: rgba(1, 112, 185, 0.1);
  border-color: rgba(1, 112, 185, 0.32);
  color: var(--color-primary-dark);
  box-shadow: 0 10px 20px rgba(1, 112, 185, 0.12);
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(1, 112, 185, 0.42), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(74, 163, 216, 0.22), transparent 42%),
    linear-gradient(155deg, #050b16 0%, #0a1628 48%, #123554 100%);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  pointer-events: none;
}

.stat-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem 0.7rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: left;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-on-dark), var(--color-primary));
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -40%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 208, 240, 0.12), transparent 70%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 208, 240, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.stat-card .num {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  text-shadow: 0 6px 16px rgba(1, 112, 185, 0.3);
}

.stat-card .label {
  color: #c2d0de;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
  max-width: 12ch;
}

.kanban-section {
  background: var(--color-surface);
}

.kanban-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.kanban-cycle {
  display: flex;
  justify-content: center;
}

.kanban-cycle__ring {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
}

.kanban-cycle__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kanban-cycle__arc {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: kanbanDraw 1.4s ease forwards;
}

.kanban-cycle__arc:nth-of-type(2) {
  animation-delay: 0.2s;
}

.kanban-cycle__arc:nth-of-type(3) {
  animation-delay: 0.4s;
}

@keyframes kanbanDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.kanban-cycle__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), transparent 55%),
    linear-gradient(145deg, #0d1b2a, #16324f);
  color: #fff;
  box-shadow:
    0 16px 40px rgba(8, 17, 31, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%);
  text-align: center;
}

.kanban-cycle__hub strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kanban-cycle__hub span {
  margin-top: 0.25rem;
  color: var(--color-on-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.kanban-node {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(1, 112, 185, 0.18);
  box-shadow: 0 14px 32px rgba(8, 17, 31, 0.1);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.kanban-node:hover {
  transform: scale(1.06);
  border-color: rgba(1, 112, 185, 0.4);
  box-shadow: 0 18px 40px rgba(1, 112, 185, 0.16);
}

.kanban-node__num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.kanban-node__label {
  margin-top: 0.2rem;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.15;
}

.kanban-node--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.kanban-node--1:hover {
  transform: translateX(-50%) scale(1.06);
}

.kanban-node--2 {
  right: 0;
  bottom: 12%;
}

.kanban-node--3 {
  left: 0;
  bottom: 12%;
}

.kanban-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.07);
  border-radius: 18px;
  padding: 1.55rem 1.45rem;
  box-shadow: 0 12px 30px rgba(8, 17, 31, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kanban-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #4aa3d8);
  opacity: 0.85;
}

.kanban-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8, 17, 31, 0.1);
}

/* —— Certificados —— */
.certs-section {
  background: var(--color-surface);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.cert-card {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(1, 112, 185, 0.07), transparent 60%),
    #f7fafc;
  border: 1px solid rgba(1, 112, 185, 0.12);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(8, 17, 31, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #64b7e5);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(1, 112, 185, 0.25);
  box-shadow: 0 26px 54px rgba(8, 17, 31, 0.12);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-card img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.35);
  opacity: 0.9;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.cert-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.certs-note {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 1.75rem;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.certs-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 60px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), #64b7e5);
  transform: translateX(-50%);
}

/* legacy flex row kept for safety */
.certs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.certs-row img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

/* —— Servicios —— */
.page-hero--servicios {
  background:
    linear-gradient(115deg, rgba(8, 17, 31, 0.92) 0%, rgba(8, 17, 31, 0.6) 48%, rgba(1, 112, 185, 0.38) 100%),
    url("../img/home/slider/slider_img3.jpg") center / cover no-repeat;
}

.page-servicios {
  background: #fff;
}

.page-servicios .page-hero {
  margin-bottom: 1.65rem;
}

.why-tecnoha {
  background: var(--color-surface);
  margin-top: 0;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-feature {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  padding: 1.85rem 1.7rem;
  border: 1px solid rgba(1, 112, 185, 0.12);
  box-shadow: 0 14px 36px rgba(8, 17, 31, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-feature::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary), #64b7e5);
  transition: width 0.3s ease;
}

.service-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(1, 112, 185, 0.24);
  box-shadow: 0 22px 48px rgba(8, 17, 31, 0.12);
}

.service-feature:hover::before {
  width: 6px;
}

.service-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(1, 112, 185, 0.16), rgba(1, 112, 185, 0.04));
  box-shadow: inset 0 0 0 1px rgba(1, 112, 185, 0.1);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.service-feature__icon svg {
  width: 24px;
  height: 24px;
}

.service-feature:hover .service-feature__icon {
  color: #fff;
  background: var(--color-primary);
  transform: scale(1.05);
}

.service-feature .num {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

.service-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-feature p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.service-card,
.service-detail,
#soporte-tecnico {
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 220px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 14px 36px rgba(8, 17, 31, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(1, 112, 185, 0.22);
  box-shadow: 0 24px 52px rgba(8, 17, 31, 0.12);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card .body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.55rem 1.5rem;
  border-left: 3px solid transparent;
  transition: border-color 0.35s ease;
}

.service-card:hover .body {
  border-left-color: var(--color-primary);
}

.service-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-card--link:hover {
  color: inherit;
}

.service-card__cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
  line-height: 1.3;
}

.service-card p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* —— Proceso —— */
.process-section {
  background:
    radial-gradient(circle at 75% 10%, rgba(1, 112, 185, 0.2), transparent 28%),
    linear-gradient(135deg, #08111f 0%, #0d1b2a 100%);
  color: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.process-section .eyebrow {
  color: var(--color-on-dark);
}

.process-section .section-title {
  color: #fff;
}

.process-section .section-lead {
  color: var(--color-on-dark-muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-step {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.85rem 1.7rem;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-on-dark), rgba(1, 112, 185, 0.5));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 208, 240, 0.35);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.process-step:hover::before {
  opacity: 1;
}

.process-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  color: var(--color-on-dark);
  background: rgba(159, 208, 240, 0.12);
  border: 1px solid rgba(159, 208, 240, 0.22);
  box-shadow: none;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.process-step__icon svg {
  width: 24px;
  height: 24px;
}

.process-step:hover .process-step__icon {
  color: #fff;
  background: rgba(1, 112, 185, 0.95);
  border-color: transparent;
  transform: scale(1.05);
}

.process-num {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-on-dark);
}

.process-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--color-on-dark);
}

.process-step p {
  margin: 0;
  color: var(--color-on-dark-muted);
  line-height: 1.65;
}

/* —— Contacto —— */
.contacto-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(13, 27, 42, 0.07);
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.1);
  background: #fff;
}

.contacto-info {
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(1, 112, 185, 0.18), transparent 42%),
    linear-gradient(160deg, #0a1628 0%, #10233d 100%);
  color: #fff;
}

.contacto-info .eyebrow {
  color: var(--color-on-dark);
}

.contacto-info h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: var(--title-size);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: 1.15;
}

.contacto-lead {
  margin: 0 0 2rem;
  color: var(--color-on-dark-muted);
  font-size: var(--lead-size);
  line-height: 1.7;
}

.contacto-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contacto-list li {
  display: grid;
  gap: 0.2rem;
}

.contacto-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ea8c8;
}

.contacto-list a,
.contacto-list span:not(.contacto-label) {
  color: #e8eef5;
  font-weight: 600;
  line-height: 1.5;
}

.contacto-list a:hover {
  color: var(--color-on-dark);
}

.contact-form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: #fff;
}

.contact-form__head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-heading);
}

.contact-form__head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-heading);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--color-heading);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.field-phone {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.field-phone:hover {
  border-color: #c0cad8;
  background: #fff;
}

.field-phone:focus-within {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 112, 185, 0.12);
}

.field-phone__prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 3.35rem;
  padding: 0 0.8rem;
  border-right: 1px solid #d7dee8;
  background: #eef3f8;
  color: #3d4654;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
}

.field-phone input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.field.field--error .field-phone {
  border-color: #d64545;
  background: #fff8f8;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #93a0b2;
}

.field input:hover,
.field textarea:hover {
  border-color: #c0cad8;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 112, 185, 0.12);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.contact-form__foot .btn {
  border: 0;
  min-width: 180px;
  padding: 0.9rem 1.6rem;
}

.form-note {
  margin: 0;
  color: #7a8798;
  font-size: 0.82rem;
}

.form-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-underline-offset: 2px;
}

.form-note a:hover {
  text-decoration: underline;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(1, 112, 185, 0.16);
}

.contact-map {
  margin-top: 2rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 16px 42px rgba(8, 17, 31, 0.07);
  min-height: 320px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* —— Legal —— */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(8, 17, 31, 0.06);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-heading);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.soft-section {
  background: var(--color-surface);
}

/* —— Nosotros extras —— */
.distribucion-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 16px 42px rgba(8, 17, 31, 0.06);
}

.stats-inline {
  display: grid;
  gap: 1rem;
}

.stats-inline div {
  background: var(--color-surface-alt);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}

.stats-inline strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-primary);
  line-height: 1.1;
}

.stats-inline span {
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.kanban-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.kanban-tag {
  display: inline-flex;
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.kanban-card h3 {
  margin: 0 0 0.55rem;
}

.kanban-card p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.65;
}

#servicios {
  background: #fff;
}

.gestion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.gestion-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  box-shadow: 0 18px 40px rgba(8, 17, 31, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gestion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(8, 17, 31, 0.18);
}

.gestion-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gestion-card:hover img {
  transform: scale(1.06);
}

.gestion-card .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 14, 28, 0.96) 0%, rgba(6, 14, 28, 0.45) 48%, rgba(6, 14, 28, 0.12) 100%);
}

.gestion-card .body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  padding: 1.55rem 1.45rem 1.6rem;
}

.gestion-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 42px;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(1, 112, 185, 0.85);
  border: 1px solid rgba(159, 208, 240, 0.35);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 18px rgba(1, 112, 185, 0.28);
}

.gestion-card h3 {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 1.3rem;
}

.gestion-card p {
  margin: 0;
  color: #c9d5e3;
  font-size: 0.92rem;
  line-height: 1.55;
}

.financiamiento-page {
  background:
    radial-gradient(circle at 75% 10%, rgba(1, 112, 185, 0.2), transparent 28%),
    linear-gradient(135deg, #08111f 0%, #0d1b2a 100%);
  color: #fff;
}

.financiamiento-page .section-title,
.financiamiento-page .section-lead {
  color: #fff;
}

.financiamiento-page .section-lead {
  opacity: 0.85;
}

.finance-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.finance-card-page {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.85rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.finance-card-page:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 208, 240, 0.35);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.finance-card-page__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.finance-icon-page {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(159, 208, 240, 0.12);
  color: var(--color-on-dark);
  border: 1px solid rgba(159, 208, 240, 0.22);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.finance-icon-page svg {
  width: 23px;
  height: 23px;
}

.finance-card-page:hover .finance-icon-page {
  background: rgba(1, 112, 185, 0.95);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

.finance-card-page h3 {
  margin: 0;
  color: var(--color-on-dark);
  font-size: 1.18rem;
  line-height: 1.25;
}

.finance-card-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-on-dark-muted);
}

.finance-card-page li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.15rem;
  line-height: 1.55;
  font-size: 0.94rem;
}

.finance-card-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-on-dark);
  box-shadow: 0 0 0 3px rgba(159, 208, 240, 0.15);
}

.finance-card-page li:last-child {
  margin-bottom: 0;
}

/* —— Servicios extras —— */
.card-kicker {
  margin: 0 0 0.35rem !important;
  color: var(--color-primary) !important;
  font-family: var(--font-heading);
  font-size: 0.68rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail-list {
  display: grid;
  gap: 1.75rem;
}

.ti-services-section {
  background: var(--color-surface);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(1, 112, 185, 0.1);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 18px 48px rgba(8, 17, 31, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-detail:hover {
  transform: translateY(-5px);
  border-color: rgba(1, 112, 185, 0.22);
  box-shadow: 0 28px 60px rgba(8, 17, 31, 0.12);
}

.service-detail.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.service-detail.reverse .service-detail__media {
  order: 2;
}

.service-detail__media {
  overflow: hidden;
  align-self: stretch;
  min-height: 300px;
}

.service-detail__media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.service-detail:hover .service-detail__media img {
  transform: scale(1.05);
}

.service-detail__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  border-left: 4px solid transparent;
  transition: border-color 0.35s ease;
}

.service-detail:hover .service-detail__body {
  border-left-color: var(--color-primary);
}

.service-detail.reverse .service-detail__body {
  border-left: 0;
  border-right: 4px solid transparent;
}

.service-detail.reverse:hover .service-detail__body {
  border-left-color: transparent;
  border-right-color: var(--color-primary);
}

.service-detail__body h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-heading);
}

.service-detail__body > p {
  margin: 0 0 1.1rem;
  color: var(--color-text-muted);
  font-size: var(--lead-size);
  line-height: 1.7;
}

.service-detail__body h4 {
  display: inline-flex;
  align-items: center;
  margin: 1.35rem 0 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(1, 112, 185, 0.08);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.service-detail__body li {
  position: relative;
  margin: 0;
  padding: 0.75rem 0.85rem 0.75rem 2.35rem;
  background: #f7fafc;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 12px;
  color: var(--color-text-soft);
  line-height: 1.6;
  font-size: 0.93rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.service-detail__body li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1, 112, 185, 0.12);
}

.service-detail:hover .service-detail__body li {
  border-color: rgba(1, 112, 185, 0.12);
}

.service-detail__body li strong {
  color: var(--color-heading);
}

@media (max-width: 1000px) {
  .distribucion-block,
  .kanban-grid,
  .gestion-grid,
  .finance-grid-page {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse .service-detail__media {
    order: 0;
  }

  .gestion-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .distribucion-block,
  .kanban-grid,
  .gestion-grid,
  .finance-grid-page {
    grid-template-columns: 1fr;
  }

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse .service-detail__media {
    order: 0;
  }

  .service-detail__body,
  .service-detail.reverse .service-detail__body {
    border-left: 0;
    border-right: 0;
    border-top: 4px solid transparent;
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .service-detail:hover .service-detail__body,
  .service-detail.reverse:hover .service-detail__body {
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: var(--color-primary);
  }

  .service-detail__media,
  .service-detail__media img {
    min-height: 220px;
  }
}

@media (max-width: 1100px) {
  .kanban-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .kanban-cycle__ring {
    width: min(100%, 400px);
    margin: 0 auto;
  }
}

@media (max-width: 1000px) {
  .brands-grid,
  .values-grid,
  .pillars-grid,
  .process-grid,
  .service-features,
  .about-split,
  .contacto-shell {
    grid-template-columns: 1fr;
  }

  .brands-grid.dense {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 200px;
  }

  .service-card img {
    min-height: 200px;
  }

  .distribucion-grid {
    grid-template-columns: 1fr;
  }

  .distribucion-copy::after {
    display: none;
  }

  .distribucion-copy {
    padding: clamp(1.25rem, 4vw, 1.6rem);
  }

  .distribucion-copy h2 {
    font-size: clamp(1.45rem, 4vw, 1.75rem);
  }

  .stats {
    padding: 0.85rem;
  }

  .certs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-split__media img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .brands-grid,
  .values-grid,
  .pillars-grid,
  .process-grid,
  .service-features,
  .service-cards,
  .about-split,
  .contact-form__grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid.dense {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .brands-grid.dense .brand-card {
    min-height: 168px;
    padding: 1.15rem 0.75rem 1.1rem;
  }

  .brands-grid.dense .brand-card__logo {
    width: 76px;
    height: 76px;
    padding: 0;
    border-radius: 50%;
  }

  .service-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-card img {
    min-height: 180px;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .service-card .body {
    border-left: 0;
    border-top: 3px solid transparent;
  }

  .service-card:hover .body {
    border-left-color: transparent;
    border-top-color: var(--color-primary);
  }

  .page-hero {
    min-height: calc(42vh - var(--header-height));
    align-items: flex-end;
    margin: calc(var(--header-height) + 0.55rem) 0.55rem 1rem;
    padding: 2.4rem 0 2.55rem;
    border-radius: 18px;
  }

  .page-hero h1 {
    max-width: none;
  }

  .page-hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero__actions .btn {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  body.page-computo .page-hero,
  body.page-terminales .page-hero,
  body.page-electronica .page-hero,
  body.page-licenciamiento .page-hero,
  body.page-perifericos .page-hero,
  body.page-consumibles .page-hero,
  body.page-impresion .page-hero,
  body.page-productos .page-hero,
  body.page-nosotros .page-hero,
  body.page-servicios .page-hero,
  body.page-contacto .page-hero,
  body.page-legal .page-hero,
  body.page-blog .page-hero,
  body.page-directorio .page-hero,
  body.page-detalle .page-hero,
  body.page-demo .page-hero,
  body.page-soporte-tecnico .page-hero,
  body.page-consultoria-hardware .page-hero,
  body.page-infraestructura-computo .page-hero,
  body.page-redes .page-hero,
  body.page-sistemas-seguridad .page-hero,
  body.page-data-center .page-hero,
  body.page-cableado-estructurado .page-hero {
    margin: calc(var(--header-height) + 0.55rem) 0.55rem 1.45rem;
  }

  .page-hero h1 {
    max-width: none;
  }

  .value-card--list ul {
    grid-template-columns: 1fr;
  }

  .detail-feature__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-feature__actions .btn {
    width: 100%;
  }

  .about-sellos {
    flex-wrap: wrap;
  }

  .about-sello {
    flex: 1 1 calc(50% - 0.4rem);
    min-height: 84px;
  }

  .about-sello:last-child {
    flex: 1 1 100%;
    max-width: 200px;
    margin-inline: auto;
  }

  .kanban-node {
    width: 96px;
    height: 96px;
  }

  .kanban-cycle__hub {
    width: 118px;
    height: 118px;
  }

  .kanban-node__label {
    font-size: 0.78rem;
  }

  .gestion-card,
  .gestion-card .body {
    min-height: 320px;
  }

  .distribucion {
    padding-top: clamp(1.75rem, 5vw, 2.5rem);
    padding-bottom: clamp(1.75rem, 5vw, 2.5rem);
  }

  .distribucion-grid {
    border-radius: 18px;
  }

  .distribucion-copy h2 {
    max-width: none;
  }

  .stat-card {
    flex-direction: row;
    align-items: center;
  }

  .stat-card .label {
    text-align: right;
    max-width: none;
  }

  .stat-card .num {
    font-size: 1.4rem;
  }

  .contact-form__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Páginas de detalle (producto / servicio) —— */
body.page-detalle,
body.page-demo {
  background: #fff;
}

body.page-detalle .page-hero,
body.page-demo .page-hero {
  margin: calc(var(--header-height) + 0.85rem) 0.85rem 1.65rem;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.page-breadcrumb a:hover {
  color: #fff;
}

.page-breadcrumb__sep {
  opacity: 0.45;
}

.page-breadcrumb__current {
  color: #fff;
}

.demo-banner {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 1.25rem;
  background: #0d1b2a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.demo-banner__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.demo-banner__text strong {
  color: #fff;
  font-weight: 700;
}

.demo-banner__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo-banner__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.demo-banner__nav a:hover,
.demo-banner__nav a.is-active {
  background: rgba(1, 112, 185, 0.35);
  border-color: rgba(1, 112, 185, 0.55);
  color: #fff;
}

/* —— Páginas de detalle (producto / servicio) —— */
.detail-page .section-head--detail {
  max-width: 680px;
  margin: 0 auto clamp(2.25rem, 4vw, 3rem);
  text-align: center;
}

.detail-page .section-head--detail .section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.detail-page .section-head--detail .section-lead {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.detail-section {
  padding: clamp(3rem, 5.5vw, 4.25rem) 0;
}

.brands-section--detail {
  padding: clamp(3rem, 5.5vw, 4.25rem) 0;
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef2f6 100%);
}

.detail-benefits {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(1, 112, 185, 0.05), transparent 60%),
    #fff;
}

.detail-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border: 0;
}

.detail-benefit {
  padding: 1.65rem 1.5rem 1.7rem;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 17, 31, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.detail-benefit:hover {
  border-color: rgba(1, 112, 185, 0.22);
  box-shadow: 0 16px 36px rgba(8, 17, 31, 0.08);
  transform: translateY(-3px);
}

.detail-benefit__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 1.7rem;
  margin-bottom: 0.95rem;
  padding: 0 0.55rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(1, 112, 185, 0.1);
}

.detail-benefit h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  color: var(--color-heading);
}

.detail-benefit p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.detail-feature {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(1, 112, 185, 0.08), transparent 55%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
  overflow: hidden;
}

.detail-feature__panel {
  display: grid;
  grid-template-columns: minmax(260px, 442px) minmax(0, 1fr);
  gap: 1.75rem 2.75rem;
  align-items: center;
}

.detail-feature__media {
  position: relative;
  width: 100%;
  max-width: 442px;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(13, 27, 42, 0.04);
}

.detail-feature__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

.detail-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  min-width: 0;
}

.detail-feature__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.detail-feature__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-heading);
}

.detail-feature__text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 36rem;
}

.detail-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.detail-feature__actions .btn {
  min-height: 46px;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
}

.detail-feature__actions .btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 27, 42, 0.12);
  color: var(--color-heading);
}

.detail-feature__actions .btn-ghost:hover {
  border-color: rgba(1, 112, 185, 0.35);
  color: var(--color-primary);
  background: #fff;
}

.detail-usecases {
  background: #fff;
}

.detail-usecases__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.detail-usecase {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1.15rem;
  align-items: center;
  padding: 0.85rem;
  background: var(--color-surface);
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.detail-usecase img {
  width: 128px;
  height: 108px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

.detail-usecase h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.detail-usecase p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.detail-related {
  background: var(--color-surface);
}

.detail-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.detail-related__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.3rem 1.25rem;
  border: 1px solid rgba(13, 27, 42, 0.07);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.detail-related__card:hover {
  border-color: rgba(1, 112, 185, 0.28);
  color: inherit;
  transform: translateY(-2px);
}

.detail-related__card span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.detail-related__card strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
}

.detail-related__card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.detail-includes {
  background: #fff;
}

.detail-includes__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.detail-includes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.detail-includes__list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.05rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 16px;
}

.detail-includes__list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  color: var(--color-primary);
}

.detail-includes__list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-heading);
}

.detail-includes__list p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.detail-process {
  display: grid;
  gap: 0.7rem;
}

.detail-process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  background: #0d1b2a;
  color: #fff;
  border-radius: 16px;
}

.detail-process__step span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #7ec4ea;
}

.detail-process__step h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  color: #fff;
}

.detail-process__step p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(200, 212, 224, 0.78);
  line-height: 1.45;
}

.detail-audience {
  background: var(--color-surface);
}

.detail-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.detail-audience__card {
  padding: 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 16px;
}

.detail-audience__card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.detail-audience__card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .detail-feature__panel {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.35rem;
  }

  .detail-feature__media {
    max-width: 340px;
    margin-inline: auto;
    border-radius: 20px;
  }

  .detail-feature__copy {
    align-items: center;
  }

  .detail-feature__text {
    max-width: none;
  }

  .detail-feature__actions {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .detail-feature__actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
    justify-content: center;
  }

  .detail-benefits__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .detail-benefit {
    border-right: 1px solid rgba(13, 27, 42, 0.08);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    padding: 1.45rem 1.35rem;
  }

  .detail-benefit:last-child {
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  }

  .detail-benefit:hover {
    transform: none;
  }
}

.demo-hub {
  padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.demo-hub__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.demo-hub__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(8, 17, 31, 0.05);
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.demo-hub__card:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 112, 185, 0.28);
  color: inherit;
}

.demo-hub__card span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.demo-hub__card h2 {
  margin: 0;
  font-size: 1.45rem;
}

.demo-hub__card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.demo-hub__card em {
  margin-top: auto;
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .detail-benefits__grid,
  .detail-related__grid,
  .detail-audience__grid,
  .demo-hub__grid {
    grid-template-columns: 1fr;
  }

  .detail-usecases__grid,
  .detail-includes__layout {
    grid-template-columns: 1fr;
  }

  .detail-usecase {
    grid-template-columns: 1fr;
  }

  .detail-usecase img {
    width: 100%;
    height: 160px;
  }
}
