/* Sección Agente Telvoice — tema claro landing (section-bg-sky) */

.tv-agent-section {
  position: relative;
  color: inherit;
}

.tv-agent-section .lab-section-inner {
  position: relative;
  z-index: 1;
}

.tv-agent-section .lab-eyebrow {
  color: #0052cc;
}

.tv-agent-section .lab-section-title {
  color: #131b2e;
}

.tv-agent-section .lab-section-intro {
  color: #525f7a;
}

.tv-agent-section .lab-glass-card {
  background: #ffffff;
  border: 1px solid rgba(0, 82, 204, 0.1);
  box-shadow: 0 4px 24px rgba(0, 82, 204, 0.06);
  backdrop-filter: none;
}

.tv-agent-section .lab-glass-card:hover {
  border-color: rgba(0, 82, 204, 0.22);
  box-shadow: 0 8px 32px rgba(0, 82, 204, 0.1);
  transform: none;
}

.tv-agent-section .lab-glass-card--glow {
  box-shadow:
    0 4px 24px rgba(0, 82, 204, 0.08),
    0 0 0 1px rgba(0, 82, 204, 0.06) inset;
  border-color: rgba(0, 82, 204, 0.18);
}

.tv-agent-section .lab-agent-carousel-track .lab-glass-card h3 {
  color: #131b2e;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  margin-top: 0.75rem;
}

.tv-agent-section .lab-agent-carousel-track .lab-glass-card p {
  color: #525f7a;
}

.tv-agent-section .lab-icon-wrap {
  background: rgba(0, 82, 204, 0.1);
  border-color: rgba(0, 82, 204, 0.14);
  color: #0052cc;
}

.tv-agent-section .lab-agent-section-showcase__img {
  filter: drop-shadow(0 14px 32px rgba(0, 82, 204, 0.18));
}

.tv-agent-section .lab-btn-primary {
  text-decoration: none;
}

/* Carrusel móvil de capacidades */
.tv-agent-section .lab-agent-carousel {
  width: 100%;
  min-width: 0;
}

.tv-agent-section .lab-agent-carousel-viewport {
  container-type: inline-size;
  container-name: agent-carousel;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}

.tv-agent-section .lab-agent-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.tv-agent-section .lab-agent-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
}

.tv-agent-section .lab-agent-carousel-track .lab-glass-card {
  flex: 0 0 100cqw;
  width: 100cqw;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto;
  padding: 1.25rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.tv-agent-section .lab-agent-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
}

.tv-agent-section .lab-agent-carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(0, 82, 204, 0.22);
  cursor: pointer;
  transition:
    width 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.tv-agent-section .lab-agent-carousel-dot.is-active {
  width: 1.35rem;
  background: linear-gradient(90deg, #0052cc, #0ea5e9);
  box-shadow: 0 0 10px rgba(0, 82, 204, 0.24);
}

.tv-agent-section .lab-agent-carousel-dot:focus-visible {
  outline: 2px solid #0052cc;
  outline-offset: 2px;
}

/* Showcase móvil */
.tv-agent-section .lab-agent-section-showcase--mobile {
  margin: 0 auto;
  max-width: 18rem;
  line-height: 0;
}

.tv-agent-section .lab-agent-cta-mobile {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .tv-agent-section .lab-agent-carousel-viewport {
    overflow: visible;
    scroll-snap-type: none;
  }

  .tv-agent-section .lab-agent-carousel-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--lab-gap-grid, 1.125rem);
    width: 100%;
  }

  .tv-agent-section .lab-agent-carousel-track .lab-glass-card {
    flex: initial;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 1.375rem;
  }

  .tv-agent-section .lab-agent-carousel-dots {
    display: none;
  }
}

@media (max-width: 1023px) {
  .tv-agent-section .lab-agent-layout--landing {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .tv-agent-section .lab-agent-copy {
    order: 1;
    max-width: none;
    text-align: center;
  }

  .tv-agent-section .lab-agent-copy .lab-eyebrow,
  .tv-agent-section .lab-agent-copy .lab-section-title,
  .tv-agent-section .lab-agent-copy .lab-section-intro {
    text-align: center;
  }

  .tv-agent-section .lab-agent-copy .lab-section-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .tv-agent-section .lab-agent-carousel {
    order: 2;
  }

  .tv-agent-section .lab-agent-showcase-mobile {
    order: 3;
    margin-top: 0.25rem;
  }

  .tv-agent-section .lab-agent-carousel-track {
    display: flex !important;
    grid-template-columns: none !important;
  }

  .tv-agent-section .lab-agent-carousel-track .lab-glass-card {
    text-align: center;
  }

  .tv-agent-section .lab-agent-carousel-track .lab-icon-wrap {
    margin-inline: auto;
  }

  .tv-agent-section .lab-agent-carousel-track .lab-glass-card h3,
  .tv-agent-section .lab-agent-carousel-track .lab-glass-card p {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-agent-section .lab-agent-carousel-viewport {
    scroll-behavior: auto;
  }
}
