/* ==========================================================================
   ARCHIVO DE ESTILOS PRINCIPAL (styles.css)
   Proyecto: Sitio Web Informativo - Bishop Soluciones Industriales
   Autor: Víctor Andrés Lima Vásquez
   Fecha: 01 de julio de 2024

   DESCRIPCIÓN GENERAL:
   Este archivo contiene todos los estilos visuales aplicados al sitio web.
   Se organiza por secciones numeradas y comentadas para facilitar su lectura,
   mantenimiento y escalabilidad.

   ESTRUCTURA DEL ARCHIVO:
   1. Variables globales y espaciado general entre secciones
   2. Tipografía personalizada (Orbitron y Montserrat)
   3. Estilos globales (reset y base)
   4. Encabezado con animación tipo "ajedrez"
   5. Banda de texto animado con scroll horizontal
   6. Títulos animados con barrido y cambio de color
   7. Secciones generales: intro, quiénes somos, CTA
   8. Productos principales (industriales)
   9. Carrusel de productos electrónicos (scroll/flechas)
   10. Flechas del carrusel con posicionamiento dinámico
   11. Sección de servicios en grid
   12. Botones CTA animados y destacados
   13. Contenedor de botones CTA con variaciones visuales
   14. Botones flotantes (correo y WhatsApp) y scroll-top
   15. Mensaje de ayuda tipo tooltip flotante
   16. Animaciones globales y transiciones visuales
   17. Efecto de profundidad en tarjetas (hover/sombra)
   18. Estilos del modal de Términos y Condiciones
   19. Pie de página responsive y accesible
   20. Media queries y ajustes responsive para móviles/tableta
========================================================================== */

/* ==========================================================================
   1. VARIABLES GLOBALES Y ESPACIADO ENTRE SECCIONES
   ========================================================================== */
:root {
  --seccion-spacing: 2.5rem;
  --seccion-spacing-sm: 1.5rem;
}

/* Espaciado uniforme entre secciones */
.seccion {
  margin-top: var(--seccion-spacing);
  margin-bottom: var(--seccion-spacing);
}

@media (max-width: 768px) {
  .seccion {
    margin-top: var(--seccion-spacing-sm);
    margin-bottom: var(--seccion-spacing-sm);
  }
}


/* ==========================================================================
   2. TIPOGRAFÍA PERSONALIZADA
   ========================================================================== */

@font-face {
  font-family: 'Orbitron';
  src: url('assets/font/static/Orbitron-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Orbitron';
  src: url('assets/font/static/Orbitron-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Orbitron';
  src: url('assets/font/static/Orbitron-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/font/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/font/static/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('assets/font/static/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}


/* ==========================================================================
   3. ESTILO GLOBAL
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #1f273a;
  color: #333;
}

/* ==========================================================================
   4. ENCABEZADO CON FONDO ANIMADO
   ========================================================================== */

header.encabezado-tarjeta {
  background-color: white;
  position: relative;
  color: white;
  padding: 4vw 4vw;
  text-align: center;
  overflow: hidden;
  max-width: 1200px;
  width: 90vw;
  margin: var(--seccion-spacing) auto;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);

  background-image: 
    linear-gradient(45deg, rgba(0, 14, 190, 0.2) 25%, transparent 25%),
    linear-gradient(135deg, rgba(218, 0, 0, 0.15) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 14, 190, 0.2) 75%),
    linear-gradient(135deg, transparent 75%, rgba(218, 0, 0, 0.15) 75%);
  background-size: 100px 100px;
  background-repeat: repeat;
  animation: moverAjedrezDiagonal 20s linear infinite;
}

/* Animación de fondo en diagonal */
@keyframes moverAjedrezDiagonal {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 400px 400px, 400px 400px, 400px 400px, 400px 400px;
  }
}

.logo-tarjeta {
  width: 80vw;
  max-width: 600px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   5. BANDA DE TEXTO ANIMADO
   ========================================================================== */

.banda-texto {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  border: 2px solid rgba(255 255 255 / 1);
  border-radius: 8px;
  background-color: #242b39;
  margin: 0 auto 1rem auto;
  padding: 0.5rem 0;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 8px rgba(255 255 255 / 0.3);
  user-select: none;
}

.texto-wrapper {
  display: flex;
  width: max-content;
  animation: moverTexto 10s linear infinite;
}

.texto-animado {
  white-space: nowrap;
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  margin-right: 3rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

@keyframes moverTexto {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ==========================================================================
   6. TÍTULOS ANIMADOS Y EFECTOS VISUALES
   ========================================================================== */

.titulo-animado {
  position: relative;
  overflow: hidden;
  background-color: #fff4d1;
  font-size: 1.6rem;
}

.titulo-animado span {
  position: relative;
  color: #10dff3;
  z-index: 2;
  transition: color 0.2s linear;
}

/* Capa negra que barre de izquierda a derecha */
.titulo-animado::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1;
}

/* Activación de animación y cambio temporal de color */
.titulo-animado.animado::before {
  animation: barrido 1s ease forwards;
}

.titulo-animado.animado span {
  animation: colorTemporal 3s ease forwards;
}

@keyframes barrido {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

@keyframes colorTemporal {
  0%   { color: white; }
  100% { color: #10dff3; }
}


/* Efecto de brillo en imágenes */
.brillo-img {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.brillo-img img {
  display: block;
  width: 100%;
  height: auto;
}

.brillo-img::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 160%;
  height: 160%;
  background: linear-gradient(
    130deg,
    transparent 45%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

/* Activación del brillo */
.brillo-img.brillo-activo::before {
  animation: brilloDiagonal 1s ease-in-out forwards;
  opacity: 1;
}

@keyframes brilloDiagonal {
  0% {
    transform: translate(-60%, -60%) rotate(25deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(0%, 0%) rotate(25deg);
    opacity: 0.6;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(60%, 60%) rotate(25deg);
    opacity: 0;
  }
}


/* ==========================================================================
   7. SECCIONES GENERALES: INTRO / QUIÉNES SOMOS / CTA
   ========================================================================== */

.intro,
.quienes-somos,
.cta {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background-color: #242b39;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 2rem;
  width: 90vw;
  max-width: 1200px;
  text-align: center;
  margin: var(--seccion-spacing) auto;
  line-height: 1.6;
  box-sizing: border-box;
}

.intro h2,
.quienes-somos h2 {
  color: #10dff3;
}

/* Animación de aparición para .intro */
.intro {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.intro.animado {
  opacity: 1;
  transform: scale(1);
}

/* Animación de aparición para .cta */
.cta {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.cta.animado {
  opacity: 1;
  transform: scale(1);
}


/* ==========================================================================
   8. PRODUCTOS PRINCIPALES 
   ========================================================================== */

.productos h2,
.productos-principales-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  color: #10dff3;
  text-align: center;
  margin-top: var(--seccion-spacing);
  margin-bottom: var(--seccion-spacing);
  background-color: #242b39;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.productos-principales-section {
  margin: var(--seccion-spacing) auto;
  max-width: 1200px;
}

.productos-principales-section .grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.productos-principales-section .producto-principal {
  background-color: #B0CCFF; 
  border-radius: 8px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.productos-principales-section .producto-principal img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
}

.productos-principales-section .producto-principal p {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  margin: 0;
}

.productos-principales-section .producto-principal:hover {
  transform: translateY(-5px);
}
/* ==========================================================================
   9. CARRUSEL DE COMPONENTES ELECTRÓNICOS
   ========================================================================== */

.productos-carrusel {
  max-width: 100%;
  width: min(100%, 800px);
  margin: var(--seccion-spacing) auto;
  position: relative;
}

.productos-carrusel-track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  padding: 1rem 0 5px 0;
  margin: 0 auto;
  scroll-behavior: smooth;
  transition: opacity 0.3s ease;
}

.productos-carrusel-track.fade {
  opacity: 0.4;
}

/* Tarjetas individuales del carrusel */
.producto-electronico {
  scroll-snap-align: center;
  flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
  height: 320px;
  width: calc((100% - 2 * 1.5rem) / 3);
  padding: 1.5rem;
  border-radius: 12px;
  background: #B0CCFF;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.producto-electronico:hover {
  transform: translateY(-5px);
}

.producto-electronico img {
  height: 180px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
}

.producto-electronico p {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
  line-height: 1.2;
  text-align: center;
}


/* ==========================================================================
   10. FLECHAS DEL CARRUSEL
   ========================================================================== */

.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  border-radius: 50%;
  z-index: 10;
  background: #0010be;
  color: white;
  border: none;
  cursor: pointer;
}

.flecha:hover {
  background-color: #0020e0;
}

.flecha:disabled {
  background-color: #aaa;
  color: #eee;
  cursor: not-allowed;
}

.flecha.izquierda {
  left: 50%;
  transform: translate(-500px, -50%);
}

.flecha.derecha {
  right: 50%;
  transform: translate(500px, -50%);
}


/* ==========================================================================
   11. SECCIÓN SERVICIOS
   ========================================================================== */

.servicios {
  font-family: 'Montserrat', sans-serif;
  margin: var(--seccion-spacing) auto;
  max-width: 1200px;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Distribución en columnas */
.info-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem auto;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1200px;
}

/* Tarjetas de servicios */
.que-ofrecemos,
.reparacion-especializada {
  color: #fff;
  background-color: #242b39;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  line-height: 1.6;
  font-size: 1rem;
}

.servicios h2 {
  font-family: 'Montserrat', sans-serif;
  color: #10dff3;
  text-align: center;
  margin-top: 2rem;
}


/* ==========================================================================
   12. CTA: LLAMADO A LA ACCIÓN (BOTONES DESTACADOS)
   ========================================================================== */

.cta h2 {
  color: #10dff3;
  margin-bottom: 0.5rem;
}

.cta p {
  font-size: 1rem;
  color: #fff;
}

/* Enlace principal */
.cta a {
  color: #10dff3;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: color 0.3s ease;
  box-shadow: 0 0 6px rgba(16, 223, 243, 0.5);
  animation: glowCTA 4s ease-in-out infinite;
}

/* Hover para enlace */
.cta a:hover {
  color: #003080;
  text-decoration: underline;
}

/* Animación de pulsación suave */
@keyframes glowCTA {
  0%, 100% {
    box-shadow: 0 0 6px rgba(16, 223, 243, 0.4);
  }
  50% {
    box-shadow: 0 0 14px 6px rgba(16, 223, 243, 0.7);
  }
}

/* Subrayado animado */
.cta a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background-color: #10dff3;
  transition: width 0.4s ease;
}

.cta a:hover::after {
  width: 100%;
  animation: textGlowCTA 2.5s ease-in-out infinite;
}

@keyframes textGlowCTA {
  0%, 100% {
    box-shadow: 0 0 6px #10dff3;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 12px #10dff3;
    opacity: 0.7;
  }
}

/* Íconos dentro del enlace */
.cta a .icon {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 0.5em;
}

.cta a:hover .icon {
  transform: scale(1.05);
}

/* ==========================================================================
   13. CONTENEDOR DE BOTONES CTA (CTA-BOTONES)
   ========================================================================== */

.cta-botones {
  display: flex;
  gap: 10rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Estilos de los botones dentro del contenedor */
.cta-botones a {
  width: 300px;
  font-size: 1.1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  background-color: transparent;
  border: 1px solid #10dff3;
  box-shadow: 0 0 6px rgba(16, 223, 243, 0.5);
  color: #10dff3;
  position: relative;
  display: inline-block;
}

/* Hover para los botones CTA */
.cta-botones a:hover {
  color: #003080;
  background-color: rgba(16, 223, 243, 0.05);
  text-decoration: underline;
}

/* Subrayado animado */
.cta-botones a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background-color: #10dff3;
  transition: width 0.4s ease;
}

.cta-botones a:hover::after {
  width: 100%;
  animation: textGlowCTA 2.5s ease-in-out infinite;
}

/* Íconos dentro del botón */
.cta-botones a .icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-botones a:hover .icon {
  transform: scale(1.05);
}


/* ==========================================================================
   14. BOTONES FLOTANTES Y SCROLL HACIA ARRIBA
   ========================================================================== */

.boton-flotante {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 20px;
  z-index: 100;
  cursor: pointer;
}

.boton-flotante img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.boton-flotante:hover {
  transform: scale(1.1);
}

.correo-float {
  bottom: 100px;
}

.whatsapp-float {
  bottom: 20px;
}

/* Botón de scroll hacia arriba */
#scrollToTop {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(0, 14, 190);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#scrollToTop:hover {
  background-color: rgb(20, 40, 220);
}

/* ==========================================================================
   15. MENSAJE DE AYUDA (FLOATING TOOLTIP)
   ========================================================================== */
.ayuda-msg {

  font-family: 'Montserrat', sans-serif;
  position: fixed;
  bottom: 110px;
  right: 90px;
  background-color: white;
  color: #000;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 98;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.ayuda-msg.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ayuda-msg.invisible {
  opacity: 0;
  transform: translateY(0);
  pointer-events: auto;
}


/* ==========================================================================
   16. ANIMACIONES GLOBALES / EFECTOS DE ENTRADA
   ========================================================================== */

@keyframes slideFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inicialmente ocultas */
.quienes-somos,
.que-ofrecemos,
.reparacion-especializada {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

/* Animaciones activadas */
.quienes-somos.animado {
  animation: slideFadeUp 0.6s forwards;
}
.que-ofrecemos.animado {
  animation: slideFadeUp 0.6s forwards 0.2s;
}
.reparacion-especializada.animado {
  animation: slideFadeUp 0.6s forwards 0.4s;
}

/* ==========================================================================
   17. EFECTO DE PROFUNDIDAD EN TARJETAS DE SERVICIO
   ========================================================================== */

/* Estilo base de tarjetas */
.que-ofrecemos,
.reparacion-especializada {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Desktop: elevación al hacer hover */
@media (hover: hover) {
  .que-ofrecemos:hover,
  .reparacion-especializada:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
}

/* Móvil: sombra constante sin hover */
@media (hover: none) {
  .que-ofrecemos,
  .reparacion-especializada {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }
}

/* Separador decorativo SVG entre secciones */
.conector-svg {
  width: 100%;
  height: 40px;
  margin: -10px 0 10px;
  display: block;
}

/* ==========================================================================
   18. TÉRMINOS Y CONDICIONES
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background-color: #fff;
  color: #000;
  width: 90%;
  max-width: 600px;
  padding: 1.5rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Título centrado sin sangría */
.modal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  padding-left: 0;
}

/* Contenedor scroll con sangría a la izquierda */
.modal-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding-left: 1.25rem; /* sangría general */
  padding-right: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

/* Párrafos dentro del scroll */
.modal-scroll p {
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: justify;
  margin: 0 0 0.5rem 0;
}

/* Listas con sangría extra para bullets */
.modal-scroll ul {
  list-style-type: disc;
  padding-left: 2rem; /* más espacio para bullets */
  margin-bottom: 0.5rem;
}

/* Ítems de lista */
.modal-scroll li {
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  padding-left: 0;
  text-align: justify;
}

/* Negritas dentro del modal */
.modal-content strong {
  font-weight: 700;
}

/* Cursivas */
.modal-content em {
  font-style: italic;
}

.modal-content button {
  align-self: flex-end;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  cursor: not-allowed;
  opacity: 0.6;
}

.modal-content button.enabled {
  cursor: pointer;
  opacity: 1;
}

/* ==========================================================================
   19. PIE DE PÁGINA
   ========================================================================== */

.footer {
  font-family: 'Montserrat', sans-serif;
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
}

.footer a {
  color: #B0CCFF; /* Puedes ajustar a tu azul neón si quieres */
  text-decoration: none;
  margin-left: 1rem;
}

.footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   20. MEDIA QUERIES Y RESPONSIVE DESIGN
   ========================================================================== */

/* === MÓVILES: hasta 768px === */
@media (max-width: 768px) {
  .contenedor-svg {
    display: none;
  }

  .cta-botones {
    gap: 4rem;
  }

  .cta-botones a {
    width: 100%;
    max-width: 180px;
  }

  .correo-float,
  .whatsapp-float,
  .ayuda-msg {
    display: none;
  }

  #scrollToTop {
    bottom: 80px;
    left: 50%;
    font-size: 22px;
  }

  .producto-electronico {
    flex: 0 0 90vw;
    max-width: 90vw;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 1rem;
  }

  .que-ofrecemos,
  .reparacion-especializada {
    width: 90vw;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* === Intermedio: entre 769px y 880px === */
@media (min-width: 769px) and (max-width: 880px) {
  .cta-botones {
    gap: 4rem;
  }

  .cta-botones a {
    width: 100%;
    max-width: 180px;
  }
}

/* === Pantallas hasta 1024px (tabletas) === */
@media (max-width: 1024px) {
  /* Carrusel táctil */
  .productos-carrusel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.3s ease;
    gap: 1rem;
    padding: 1rem 0 5px 0;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .productos-carrusel {
    width: 90vw;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
  }

  /* Flechas más pequeñas centradas */
  .flecha {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .flecha.izquierda {
    left: 2rem;
    transform: translateY(-50%);
  }

  .flecha.derecha {
    right: 2rem;
    transform: translateY(-50%);
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .servicios {
    padding: 0 0.5rem;
  }

  .productos h2,
  .productos-principales-section h2 {
    width: 90vw;
    max-width: 100%;
    margin-top: var(--seccion-spacing-sm);
    margin-bottom: var(--seccion-spacing-sm);
  }

  .intro,
  .quienes-somos,
  .cta {
    width: 90vw;
    max-width: 100%;
    padding: 1rem;
    margin: var(--seccion-spacing-sm) auto;
  }

  .correo-float,
  .whatsapp-float,
  .ayuda-msg {
    display: none;
  }

  #scrollToTop {
    bottom: 80px;
    left: 50%;
    font-size: 22px;
  }

  .producto-electronico {
    flex: 0 0 90vw;
    max-width: 90vw;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 1rem;
  }

  .que-ofrecemos,
  .reparacion-especializada {
    width: 90vw;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}
