/* === Utilidades básicas y accesibilidad === */
/* Oculta visualmente, pero accesible para lectores de pantalla (skip link) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* === Layout general del hero (fondo oscuro WOW) === */
.hero--wow {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 8rem) 0;
  overflow: hidden;
  background: #0b0c10; /* fondo base */
  color: #eaf2ff; /* texto legible sobre fondo oscuro */
}
.hero--wow .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-content {
  text-align: center;
}

/* === Decoración de fondo del hero (blobs + grilla con blur) === */
.hero-bg .blob {
  position: absolute;
  inset: auto;
  filter: blur(60px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.blob--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, #6ee7ff, transparent 60%);
  top: -60px;
  left: -80px;
  animation: float1 10s ease-in-out infinite;
}
.blob--2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 70% 70%, #a78bfa, transparent 60%);
  right: -120px;
  bottom: -120px;
  animation: float2 12s ease-in-out infinite;
}
.grid-overlay {
  position: absolute;
  inset: -20% -10%;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0
      0/40px 40px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0
      0/40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%);
  opacity: 0.25;
}

/* === Tipografía y elementos del hero (eyebrow, títulos, subtítulos) === */
.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #b7c6ff;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: clamp(2rem, 3.6vw + 1rem, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

/* Texto con gradiente animado usado en H1 y secciones */
.gradient-text {
  background: linear-gradient(90deg, #6ee7ff, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shine 8s linear infinite;
}
.hero-subtitle {
  color: #cdd7ff;
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);
  max-width: 720px;
  margin: 0.5rem auto 1.25rem;
}

/* === Botones CTA reutilizables (primario y ghost) === */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
}
.cta-button--primary {
  background: #ffffff;
  color: #0b0c10;
}
.cta-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}
.cta-button--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #eaf2ff;
}
.cta-button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* === Grupo de CTAs, badges y métricas del hero === */
.hero-ctas {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0 1rem;
}
.hero-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.25rem 0 1rem;
  padding: 0;
  list-style: none;
}
.badge {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 720px;
  margin: 1rem auto 0;
}
.metric {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.25s ease;
}
.metric:hover {
  transform: translateY(-3px);
}
.metric-number {
  font-size: 1.6rem;
  font-weight: 800;
}
.metric-label {
  font-size: 0.95rem;
  color: #cdd7ff;
}

/* === Secciones WOW (espaciados y colores base) === */
.wow-section {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0;
  background: #0b0c10;
  color: #eaf2ff;
}
.section-title {
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(1.6rem, 1.4rem + 2vw, 2.6rem);
}

/* Fondo "glow" reutilizable (servicios / CTA final) */
.glow-bg,
.cta-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background:
    radial-gradient(
      600px 300px at 20% 20%,
      rgba(110, 231, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      600px 300px at 80% 80%,
      rgba(167, 139, 250, 0.18),
      transparent 60%
    );
  filter: blur(30px);
  pointer-events: none;
}

/* === Grid de servicios (tarjetas) === */
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}
.service-card {
  grid-column: span 12;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(167, 139, 250, 0.12),
    0 10px 24px rgba(110, 231, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
.service-icon {
  margin-bottom: 0.5rem;
}
.icon-circle {
  display: inline-grid;
  place-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.25),
    rgba(167, 139, 250, 0.25)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}
.service-card h3 {
  margin: 0.25rem 0 0.25rem;
  font-size: 1.2rem;
  color: #eaf2ff;
  font-weight: 700;
}
.service-card p {
  color: #cdd7ff;
  margin: 0 0 0.8rem;
}
.chip-link {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: #eaf2ff;
  font-weight: 700;
  font-size: 0.95rem;
}
.chip-link:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (min-width: 700px) {
  .service-card {
    grid-column: span 4;
  }
}

/* === Timeline del proceso (línea central + pasos alternados) === */
.timeline {
  position: relative;
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 900px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(110, 231, 255, 0.35),
    rgba(167, 139, 250, 0.35)
  );
  transform: translateX(-50%);
}
.timeline-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
  align-items: start;
}
.timeline-step:nth-child(odd) .card {
  grid-column: 1;
}
.timeline-step:nth-child(odd) .dot {
  grid-column: 2;
  justify-self: center;
}
.timeline-step:nth-child(even) .card {
  grid-column: 2;
}
.timeline-step:nth-child(even) .dot {
  grid-column: 1;
  justify-self: center;
}
.timeline .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6ee7ff, #a78bfa);
  box-shadow:
    0 0 0 6px rgba(167, 139, 250, 0.15),
    0 0 30px rgba(110, 231, 255, 0.35);
  margin-top: 0.6rem;
}
.timeline .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(6px);
}
.timeline .step {
  font-weight: 800;
  opacity: 0.8;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.timeline h3 {
  margin: 0.25rem 0;
}
.timeline p {
  color: #cdd7ff;
  margin: 0;
}

/* Layout responsive para timeline */
@media (max-width: 800px) {
  .timeline {
    padding-left: 10px;
  }
  .timeline::before {
    left: 10px;
    transform: none;
  }
  .timeline-step {
    grid-template-columns: 1fr;
  }
  .timeline-step .dot {
    grid-column: 1;
    justify-self: flex-start;
  }
}

/* === Grid de beneficios (tarjetas) === */
.benefits-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  transition: 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

/* === Slider de testimonios (contenedor, slides y controles) === */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.slides {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial {
  min-width: 100%;
  padding: 1.6rem;
}
.testimonial blockquote {
  font-size: clamp(1rem, 0.8rem + 0.8vw, 1.25rem);
  line-height: 1.5;
  margin: 0 0 0.6rem;
  color: #eaf2ff;
}
.testimonial figcaption {
  color: #b7c6ff;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.slider-nav button {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.2rem;
  color: #eaf2ff;
  display: grid;
  place-content: center;
  margin: 0 0.5rem;
}
.slider-nav button:hover {
  background: rgba(255, 255, 255, 0.12);
}
.dots {
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
}
.dots button[aria-current="true"] {
  background: linear-gradient(135deg, #6ee7ff, #a78bfa);
}

/* === CTA final (títulos y subtítulo) === */
.cta-container {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  margin: 0 0 0.4rem;
}
.cta-subtitle {
  color: #cdd7ff;
  margin: 0 0 1rem;
}

/* === Footer WOW (fondo, links y columnas) === */
.wow-footer {
  background: #07080b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #cdd7ff;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.wow-footer .brand {
  font-weight: 900;
  font-size: 1.2rem;
  color: #eaf2ff;
  text-decoration: none;
}
.wow-footer h4 {
  margin: 0.25rem 0 0.6rem;
  color: #eaf2ff;
}
.wow-footer p,
.wow-footer li,
.wow-footer a {
  color: #cdd7ff;
}
.wow-footer a:hover {
  color: #ffffff;
}
.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

/* === Ajustes tipográficos de secciones (legibilidad) === */
.section-title {
  color: #eaf2ff;
  font-weight: 800;
}
.section-title.gradient-text {
  /* variante animada tipo hero */
  background: linear-gradient(90deg, #6ee7ff, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shine 8s linear infinite;
}

/* === Animaciones globales (gradiente y blobs) === */
@keyframes shine {
  to {
    background-position: 200% 0;
  }
}
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 10px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, -10px);
  }
}

/* === Responsive puntual (métricas en mobile) === */
@media (max-width: 640px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

/* =========================
   HEADER + NAV (responsive)
   ========================= */

/* Contenedor principal del header (barra superior) */
.header {
  position: sticky; /* se mantiene arriba al hacer scroll */
  top: 0;
  z-index: 1000;
  background: rgba(
    11,
    12,
    16,
    0.85
  ); /* mismo tono que el sitio, con transparencia */
  backdrop-filter: blur(8px); /* efecto vidrio */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Distribución interna del header (logo, nav, CTA, toggle) */
.header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-content {
  display: grid;
  grid-template-columns: auto 1fr auto auto; /* logo | nav | CTA | toggle */
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
}

/* Logo (texto/imagen) */
.logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  color: #eaf2ff;
}

/* Navegación principal */
.nav {
  justify-self: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-link {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  color: #cdd7ff;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}
.nav-link.active,
.nav-link[aria-current="page"] {
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.18),
    rgba(167, 139, 250, 0.18)
  );
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* CTA del header (hereda estilos base de .cta-button) */
.header .cta-button {
  white-space: nowrap;
}

/* Botón de menú móvil (hamburger) */
.mobile-menu-toggle {
  display: none; /* se muestra en mobile */
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #eaf2ff;
  place-content: center;
  gap: 4px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* Animación del ícono (hamburger -> X) cuando aria-expanded="true" */
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ====== Responsive: menú colapsable en móvil ====== */
@media (max-width: 980px) {
  /* Reordenamos: logo | toggle | CTA salta abajo, nav ocupa ancho completo */
  .header-content {
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "logo toggle cta"
      "nav  nav    nav";
    row-gap: 0.5rem;
  }
  .logo {
    grid-area: logo;
  }
  .mobile-menu-toggle {
    grid-area: toggle;
    justify-self: end;
    display: grid;
  }
  .header .cta-button {
    grid-area: cta;
    justify-self: end;
  }
  .nav {
    grid-area: nav;
    width: 100%;
    display: none; /* oculto por defecto en móvil */
    background: rgba(11, 12, 16, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.7rem 0.8rem;
  }

  /* Mostrar el menú cuando el botón esté expandido (CSS :has para no depender de clases extras) */
  .header:has(.mobile-menu-toggle[aria-expanded="true"]) .nav {
    display: block;
  }
}

/* Accesibilidad: enfoque visible en enlaces del header */
.header a:focus-visible,
.header button:focus-visible {
  outline: 2px solid #6ee7ff;
  outline-offset: 2px;
}

/* Skip link visible al enfocar (salta al contenido) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #ffffff;
  color: #0b0c10;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
  z-index: 1100;
}
.skip-link:focus {
  top: 12px;
}
/* =========================
   BREADCRUMB (migas de pan)
   ========================= */
.breadcrumb {
  background: #0b0c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}
.breadcrumb-list li {
  color: #cdd7ff;
}
.breadcrumb-list a {
  color: #6ee7ff;
  text-decoration: none;
}
.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* =========================
   PAGE HEADER (encabezado)
   ========================= */
.page-header {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.12),
    rgba(167, 139, 250, 0.12)
  );
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  margin: 0 0 0.5rem;
  color: #eaf2ff;
}
.page-subtitle {
  color: #cdd7ff;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   ABOUT CONTENT (historia)
   ========================= */
.about-content {
  background: #0b0c10;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #eaf2ff;
}
.about-text p {
  color: #cdd7ff;
  line-height: 1.6;
}
.about-image img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   MISIÓN / VALORES / ENFOQUE
   ========================= */
.mission-values {
  background: #07080b;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.mission-values-grid {
  display: grid;
  gap: 1.5rem;
}
.mission-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
}
.mission-item h3 {
  margin-top: 0;
  color: #eaf2ff;
}
.mission-item p,
.mission-item li {
  color: #cdd7ff;
  line-height: 1.5;
}
.mission-item ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
@media (min-width: 800px) {
  .mission-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   TOOLS & EXPERIENCE
   ========================= */
.tools-experience {
  background: #0b0c10;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.tools-grid {
  display: grid;
  gap: 1.5rem;
}
.tool-category {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
}
.tool-category h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #eaf2ff;
}
.tool-category li {
  color: #cdd7ff;
  line-height: 1.5;
}
@media (min-width: 900px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   TESTIMONIOS (versión grid)
   ========================= */
.testimonials {
  background: #07080b;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}
.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
}
.testimonial p {
  color: #eaf2ff;
  font-size: 1.05rem;
  line-height: 1.6;
}
.testimonial-author {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #cdd7ff;
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   CTA SECTION (Nosotros)
   ========================= */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.15),
    rgba(110, 231, 255, 0.15)
  );
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  color: #eaf2ff;
  margin: 0 0 0.75rem;
}
.cta-section p {
  color: #cdd7ff;
  max-width: 680px;
  margin: 0 auto 1rem;
}
.cta-button--large {
  font-size: 1.1rem;
  padding: 1.1rem 1.6rem;
  border-radius: 14px;
}
/* =========================================================
   BREADCRUMB (migas de pan) — mismo estilo que en "Nosotros"
   ========================================================= */
.breadcrumb {
  background: #0b0c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}
.breadcrumb-list li {
  color: #cdd7ff;
}
.breadcrumb-list a {
  color: #6ee7ff;
  text-decoration: none;
}
.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* =========================================================
   PAGE HEADER (encabezado de la página Servicios)
   ========================================================= */
.page-header {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: linear-gradient(
    135deg,
    rgba(110, 231, 255, 0.12),
    rgba(167, 139, 250, 0.12)
  );
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  margin: 0 0 0.5rem;
  color: #eaf2ff;
}
.page-subtitle {
  color: #cdd7ff;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================================
   SERVICE DETAIL (bloques de cada servicio)
   - .service-detail: bloque base
   - .service-detail--alt: invierte imagen/texto en desktop
   ========================================================= */
.service-detail {
  background: #0b0c10;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.service-detail--alt {
  background: #07080b; /* leve alternancia de fondo para separar secciones */
}

.service-content {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 980px) {
  .service-content {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .service-detail--alt .service-content {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

/* Texto de servicio (títulos, listas, separaciones) */
.service-text h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  color: #eaf2ff;
}
.service-text h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #eaf2ff;
}
.service-text p {
  color: #cdd7ff;
  line-height: 1.65;
}

/* Imagen de servicio */
.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}

/* Listas de características / entregables / plataformas */
.service-features,
.service-deliverables,
.service-platforms {
  margin: 0.25rem 0 0.5rem;
  padding-left: 1.25rem;
}
.service-features li,
.service-deliverables li,
.service-platforms li {
  color: #cdd7ff;
  line-height: 1.55;
  margin: 0.2rem 0;
}
.service-features li::marker,
.service-deliverables li::marker,
.service-platforms li::marker {
  color: #a78bfa; /* marcador con leve color */
}

/* En layout alterno, ordenamos imagen primero en desktop */
@media (min-width: 980px) {
  .service-detail--alt .service-image {
    order: 1;
  }
  .service-detail--alt .service-text {
    order: 2;
  }
}

/* =========================================================
   CTA BUTTONS — variantes usadas aquí
   ========================================================= */
/* Versión grande para secciones de CTA */
.cta-button--large {
  font-size: 1.1rem;
  padding: 1.05rem 1.5rem;
  border-radius: 14px;
}

/* Variante "outline" para contraste en fondos con gradiente u oscuros */
.cta-button--outline {
  background: transparent;
  color: #eaf2ff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-button--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Botonera de CTA (dos botones alineados y responsivos) */
.cta-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   CTA FINAL DE SERVICIOS
   ========================================================= */
#cta-servicios.cta-section {
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.15),
    rgba(110, 231, 255, 0.15)
  );
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
#cta-servicios h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  color: #eaf2ff;
  margin: 0 0 0.75rem;
}
#cta-servicios p {
  color: #cdd7ff;
  max-width: 720px;
  margin: 0 auto 1rem;
}

/* =========================================================
   AJUSTES DE ACCESIBILIDAD / DETALLES
   ========================================================= */
/* Foco visible para enlaces dentro de bloques de servicios */
.service-detail a:focus-visible {
  outline: 2px solid #6ee7ff;
  outline-offset: 2px;
}

/* Micro-ajustes verticales entre secciones para evitar "pegado" visual */
.service-detail + .service-detail {
  margin-top: -1px;
} /* oculta doble borde */
