/* ══════════════════════════════════════════
   AmpConnect — Custom Styles
   Empresa hija de Servitronic Austral
   Distribución de conectores Amphenol
   ══════════════════════════════════════════ */

/* ── Tokens ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --blue: #0057ff;
  --blue-d: #0041cc;
  --cyan: #00c8ff;
  --dark: #060a10;
  --dark2: #080c12;
  --dark3: #0d1520;
  --muted: rgba(255, 255, 255, 0.5);
  --white: #ffffff;
  --radius: 12px;
  --font: "Barlow", sans-serif;
  --font-h: "Barlow Condensed", sans-serif;
}

html {
  font-size: 16px;
}

body {
  font-size: 15px;
}

/* ══════════════════════════════════════════
   SLIDES FRAMEWORK — LAYOUT OVERRIDES
   ══════════════════════════════════════════ */
.slide {
  font-family: var(--font);
}

/* Expande los contenedores internos del framework */
.slide .content {
  width: 100% !important;
  max-width: none !important;
}

.slide .container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full width real */
.slide .wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 60px !important;
  padding-right: 60px !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .slide .wrap {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}

@media (max-width: 600px) {
  .slide .wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ══════════════════════════════════════════
   TOP PANEL
   ══════════════════════════════════════════ */
.panel.top {
  background: rgba(4, 8, 16, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 87, 255, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  /* background: var(--blue);  */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  display: block;
}

.brand-name {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--cyan);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.top-nav a:hover {
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* El framework decide dinámicamente (midiendo el ancho real del
   nav en JS) si .sections.desktop entra o no, y alterna la clase
   .hidden entre .sections.desktop / .sections.compact. No hay que
   forzar esto con un breakpoint fijo en CSS: eso pisa la medición
   real que hace slides.min.js y deja el navbar sin ningún bloque
   visible en ciertos anchos. Solo necesitamos que el hamburger se
   vea cuando el bloque compact sea el que el framework muestre. */
.sections.compact .hamburger {
  display: flex;
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  font-family: var(--font);
}

.btn-cta:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.07);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 87, 255, 0.5);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline-sm:hover {
  border-color: var(--cyan);
  background: rgba(0, 200, 255, 0.07);
}

/* ══════════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════════ */
.section-header {
  text-align: center;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 87, 255, 0.2);
  border: 1px solid rgba(0, 87, 255, 0.4);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  font-family: var(--font-h);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin: 0 0 12px;
  letter-spacing: -1px;
  text-align: center;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ══════════════════════════════════════════
   SLIDE 1 — HERO
   ══════════════════════════════════════════ */
#hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 87, 255, 0.12);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--font-h);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin: 0;
  letter-spacing: -2px;
}

.hero-title em {
  color: var(--cyan);
  font-style: normal;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-num span {
  color: var(--cyan);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   SLIDE 2 — NOSOTROS
   ══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.about-desc strong {
  color: white;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
}

.mv-card:hover {
  background: rgba(255, 255, 255, 0.055);
}

.mv-card--accent {
  border-color: rgba(0, 87, 255, 0.3);
  background: rgba(0, 87, 255, 0.05);
}

.mv-icon {
  font-size: 1.4rem;
}

.mv-card h4 {
  margin: 0;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.mv-card p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   SLIDE 3 — PRODUCTOS
   ══════════════════════════════════════════ */
#products .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.product-card:hover {
  border-color: rgba(0, 87, 255, 0.4);
  transform: translateY(-4px);
}

.product-card--soon {
  opacity: 0.65;
}

.product-card--soon:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.07);
}

.product-img-wrap {
  width: 100%;
  height: 180px;
  background: rgba(0, 87, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px;
  box-sizing: border-box;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  padding: 16px;
  box-sizing: border-box;
}

.product-placeholder {
  font-size: 2.8rem;
  z-index: 1;
}

.product-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 16px;
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: var(--font-h);
}

.badge--ip {
  background: rgba(0, 87, 255, 0.2);
  color: var(--cyan);
  border: 1px solid rgba(0, 200, 255, 0.3);
}

.badge--pins {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge--new {
  background: rgba(0, 200, 100, 0.15);
  color: #4dffaa;
  border: 1px solid rgba(0, 200, 100, 0.3);
}

.badge--soon {
  background: rgba(255, 160, 0, 0.1);
  color: #ffb347;
  border: 1px solid rgba(255, 160, 0, 0.3);
}

.product-name {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin: 0;
  padding: 0 16px;
}

.product-spec {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  padding: 0 16px;
  line-height: 1.5;
}

.btn-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px 16px 0;
  background: var(--blue);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
  font-family: var(--font);
}

.btn-product:hover {
  background: var(--blue-d);
}

.btn-product--disabled {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: default;
}

.btn-product--disabled:hover {
  background: rgba(255, 255, 255, 0.06);
}

/*
==============================================
  SLIDE 4 - TESTIMONIALS
==============================================
*/
.testimonial-strip-label {
  width: 100%;
  text-align: center;
  border: none;
  padding: 25px;
  margin-bottom: 20px;
  font-size: 48px;
  font-family: var(--font-h);
}

.testimonial-strip-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.testimonial-card {
  width: min(900px, 90vw);
  margin: 0 auto;
}

#testimonials .background {
  background: rgba(0, 87, 255, 0.05);
  border-top: 1px solid rgba(0, 87, 255, 0.2);
  border-bottom: 1px solid rgba(0, 87, 255, 0.2);
  z-index: -10;
}

/* Contenedor principal del Slider */
.testimonials-slider-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 60px; /* Espacio para las flechas laterales */
  box-sizing: border-box;
}

/* Wrapper que oculta el desbordamiento */
.testimonials-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* El track que se mueve horizontalmente */
.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Cada tarjeta pasa a comportarse como un slide */
.testimonials-track .testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Slide activo destaca visualmente */
.testimonials-track .testimonial-card.active {
  opacity: 1;
  transform: scale(1);
}

/* Ajustes de contenido */
.testimonial-logo {
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.testimonial-logo:hover {
  transform: scale(1.05);
}

.testimonial-slider {
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  color: #e2e8f0; /* Color agradable de lectura en modo oscuro. Cambiar a #4a5568 para fondos claros */
  margin-bottom: 24px;
  max-width: 700px;
}

.testimonial-author {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #94a3b8;
}

.testimonial-author strong {
  color: #f1f5f9;
  font-size: 1.05rem;
}

/* Botones de Navegación */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prev-btn {
  left: 0px;
}

.next-btn {
  right: 0px;
}

/* Puntos indicadores */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #38bdf8; /* Azul cyan premium, o tu color corporativo */
  transform: scale(1.2);
  width: 24px; /* Efecto expandido tipo píldora */
  border-radius: 5px;
}

/* Adaptación responsive */
@media (max-width: 768px) {
  .testimonials-slider-container {
    padding: 0 20px;
  }
  .slider-btn {
    display: none; /* Oculta flechas en móviles y deja deslizar o usar dots */
  }
  .testimonials-track .testimonial-card {
    padding: 30px 15px;
  }
  .testimonial-slider {
    font-size: 1rem;
  }
}

/* ══════════════════════════════════════════
   SLIDE 4 — QUE HACÉMOS
   ══════════════════════════════════════════ */
#what .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.app-card {
  background: rgba(4, 8, 16, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 87, 255, 0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.app-card:hover {
  background: rgba(0, 87, 255, 0.08);
  border-color: rgba(0, 200, 255, 0.35);
  transform: translateY(-4px);
}

.app-icon {
  font-size: 2rem;
}

.app-card h3 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.app-card p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  #what {
    min-height: 155vh;
    height: auto !important;
  }

  #what .content {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #what .wrap {
    gap: 28px;
  }

  #what .why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #what .why-item {
    padding: 20px;
  }
}
/* ══════════════════════════════════════════
   SLIDE 5 — SERVICIOS
   ══════════════════════════════════════════ */
#services .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.service-card:hover {
  background: rgba(0, 87, 255, 0.07);
  border-color: rgba(0, 87, 255, 0.35);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 87, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-name {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   SLIDE 6 — POR QUÉ NOSOTROS
   ══════════════════════════════════════════ */
#why .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 700px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(4, 8, 16, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 87, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  transition: background 0.2s, border-color 0.2s;
}

.why-item:hover {
  background: rgba(0, 87, 255, 0.08);
  border-color: rgba(0, 200, 255, 0.3);
}

.why-num {
  min-width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
}

.why-text h3 {
  margin: 0 0 6px;
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.why-text p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   SLIDE 7 — PROCESO
   ══════════════════════════════════════════ */
#process .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.steps-row {
  display: flex;
  gap: 0;
  align-items: stretch;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  position: relative;
  padding: 28px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.step:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.step:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.step + .step {
  border-left: none;
}

.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
}

.step-title {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.step-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 0.7rem;
  color: white;
}

.step:last-child .step-arrow {
  display: none;
}

/* ══════════════════════════════════════════
   SLIDE 8 — CLIENTES (FRANJA DE LOGOS, CSS puro)
   ══════════════════════════════════════════ */
#clients {
  min-height: 0 !important;
  height: 800px !important;
}

#clients {
  min-height: 0 !important;
  height: auto !important;
}

.clients-strip-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 40px;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.clients-strip-label {
  flex: 0 0 auto;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 32px;
}

@media (max-width: 700px) {
  .clients-strip-wrap {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 10px;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .clients-strip-label {
    border-right: none;
    padding-right: 0;
  }
  .clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 56px;
    animation: clients-scroll 1000s linear infinite;
  }
}

.clients-marquee {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 56px;
  animation: clients-scroll 360s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

.client-logo-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  min-width: 150px;
}

.client-logo-card img {
  display: block;
  max-height: 150px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* filter: grayscale(1) opacity(0.55); */
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.client-logo-card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.25);
}

.client-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.client-logo-card:hover .client-logo-fallback {
  color: var(--white);
  border-color: rgba(0, 200, 255, 0.4);
}

.client-review-card {
  width: 340px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.client-review-card img {
  max-width: 180px;
  margin-bottom: 20px;
}

.review-slider {
  position: relative;
  width: 100%;
  height: 210px;
}

.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.45s;
  pointer-events: none;

  display: flex;
  flex-direction: column;
  justify-content: center;

  font-size: 14px;
  line-height: 1.6;
  color: #dbeafe;
  text-align: center;
}

.review-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.review-slide strong {
  color: #fff;
  font-size: 15px;
}

.review-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;

  display: flex;
  justify-content: center;
  gap: 8px;
}

.review-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5f7ea8;
  cursor: pointer;
  transition: 0.3s;
}

.review-dots span.active {
  background: #fff;
}

@keyframes clients-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .clients-track {
    gap: 10px;
    animation-duration: 360s;
  }

  .client-logo-card img {
    max-height: 80px;
    max-width: 120px;
  }
}
@media (max-width: 700px) {
  .clients-strip-wrap {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 5px;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .clients-strip-label {
    border-right: none;
    padding-right: 0;
  }
}

.testimonial-card {
  width: min(900px, 90vw);

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 50px 60px;

  text-align: center;
}

.testimonial-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  margin-bottom: 30px;
}

.testimonial-slider {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: 230px;
  margin: 25px auto;
}

.testimonial-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.4s ease;

  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: #e7eefb;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 30px;
}

.testimonial-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots span:hover {
  background: rgba(255, 255, 255, 0.7);
}

.testimonial-dots span.active {
  background: #fff;
  transform: scale(1.2);
}

/* ══════════════════════════════════════════
   SLIDE 9 — CONTACTO
   ══════════════════════════════════════════ */
#contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 700px) {
  #contact .wrap {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h2 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin: 0;
  letter-spacing: -1px;
}

.contact-info p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.contact-item-icon {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  color: white;
  font-size: 0.83rem;
}

.contact-item-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: var(--font-h);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 11px 14px;
  color: white;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group select option {
  background: #0a0f1a;
  color: white;
}

.btn-submit {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 7px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font);
}

.btn-submit:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.form-note strong {
  color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════
   SLIDE 10 — FOOTER
   ══════════════════════════════════════════ */
#footer-slide {
  position: relative; /* asegura que sea el contenedor de referencia */
}

#footer-slide .background {
  top: 0;
  bottom: 0;
  height: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 14px;
}

.footer-about {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
  margin: 10px 0 0;
}

.footer-parent {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.footer-parent a {
  color: var(--cyan);
  text-decoration: none;
}

.footer-parent a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.social-btn:hover {
  background: var(--blue);
  color: white;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

.footer-dev-badge {
  font-size: 0.7rem;
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid rgba(0, 200, 255, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-h);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════
   PARALLAX CUSTOM
   ══════════════════════════════════════════ */
#products.parallax {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  height: auto;
}

#products.parallax .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  height: auto;

  background-size: 240%;
  background-position: center;
  background-repeat: no-repeat;

  transform: translateY(0);
  z-index: 0;
}

#products.parallax .content {
  position: relative;
  z-index: 1;
}

#what.parallax {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

#what.parallax .background {
  position: absolute;
  top: -25%;
  /* 👈 clave: debe ser <= -(speed * 100%) para no dejar hueco arriba */
  left: 0;
  width: 100%;
  height: 150%;
  /* 👈 debe ser >= 100% * (1 + 2*speed) para cubrir abajo tambien */

  background-size: 240%;
  background-position: left -450px center;
  background-repeat: no-repeat;

  transform: translateY(0);
  z-index: 0;
}

#services.parallax .content {
  position: relative;
  z-index: 1;
}
#services.parallax .background {
  position: absolute;
  top: -120%;
  /* 👈 clave */
  left: 0;
  width: 100%;
  height: 280%;
  /* 👈 más alto para cubrir desplazamiento */

  background-size: 240%;
  background-position: center;
  background-repeat: no-repeat;

  transform: translateY(0);
  z-index: 0;
}

#services.parallax .content {
  position: relative;
  z-index: 1;
}
#why.parallax .content {
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .sections.compact .right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px;
  }

  .sections.compact .btn-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hamburger {
    flex: 0 0 34px;
    width: 34px;
    max-width: 34px;
    height: 30px;
  }

  .brand-name {
    font-size: 1rem;
  }

  #hero .wrap {
    gap: 18px;
  }

  .hero-badge {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .hero-sub {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 18px 12px;
    padding-top: 18px;
  }

  .stat-num {
    font-size: 1.55rem;
  }

  .stat-label {
    font-size: 0.62rem;
  }
}

@media (max-width: 420px) {
  .sections.compact .btn-cta {
    display: none;
  }
}
#why.parallax .background {
  position: absolute;
  top: -120%;
  /* 👈 clave */
  left: 0;
  width: 100%;
  height: 280%;
  /* 👈 más alto para cubrir desplazamiento */

  background-size: 240%;
  background-position: center;
  background-repeat: no-repeat;

  transform: translateY(0);
  z-index: 0;
}

#why.parallax .content {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════
   ICONOS SVG — estilos y color por contenedor
   ══════════════════════════════════════════ */
.mv-icon,
.service-icon,
.why-num,
.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-icon svg,
.service-icon svg,
.why-num svg,
.contact-item-icon svg {
  display: block;
  flex-shrink: 0;
}

/* Iconos sobre fondo tenue (celda dentro de tarjeta oscura) */
.mv-icon svg {
  color: var(--cyan);
}

.mv-card--accent .mv-icon svg {
  color: var(--white);
}

/* Iconos sobre fondo tenue azul (caja de servicio) */
.service-icon svg {
  color: var(--blue);
}

/* Iconos sobre fondo azul solido (contraste blanco) */
.why-num svg,
.contact-item-icon svg {
  color: var(--white);
}

.quote-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: "Barlow", sans-serif;
}
.quote-modal-overlay.is-open {
  display: flex;
}
.quote-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #0a1420;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  color: #f2f5f7;
}
.quote-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #f2f5f7;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.quote-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}
.quote-modal-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4db1aa;
  margin-bottom: 6px;
  font-weight: 600;
}
.quote-modal h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
}
.quote-modal-product {
  font-size: 14px;
  color: #9fb0bb;
  margin: 0 0 20px;
}
.quote-field {
  margin-bottom: 16px;
}
.quote-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #cfd9de;
}
.quote-field input,
.quote-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 11px 13px;
  color: #f2f5f7;
  font-family: "Barlow", sans-serif;
  font-size: 14px;
}
.quote-field textarea {
  min-height: 90px;
  resize: vertical;
}
.quote-field input:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: #4db1aa;
}
.quote-modal-submit {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 13px 16px;
  background: #4db1aa;
  color: #04121a;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
}
.quote-modal-submit:hover {
  background: #5fc4bd;
}
.quote-modal-note {
  font-size: 12px;
  color: #7f9099;
  margin-top: 12px;
  text-align: center;
}

.clients-strip-label {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
}
