/* ================================
   DANAM - BASE STYLE.CSS
   Estructura general y variables
================================== */

/* ================================
    1. Reset básico 
=================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #1E1E1E;
    background-color: #FFFFFF;
    line-height: 1.4;
  }

  
  /* =============================
      2. Variables base 
  ================================ */

  :root {

    /* Colores de marca */
    --verde-lima: #516b05;
    --verde-turquesa: #1e9626;
    --verde-bosque: #003E2F;
    --gris-claro: #F2F6F5;
    --gris-texto: #2A2A2A;
  
    /* Tipografía */
    --font-base: 'Manrope', sans-serif;
  
    /* Espaciado */
    --padding-seccion: 80px;
    --padding-seccion-mobile: 56px;
    --ancho-maximo: 1280px;
  }
  

  /* ================================
      3. Layout general 
  ================================== */

  .container {
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    padding: 0 80px;
  }
  

  /* ===================================
      4. Títulos 
  ====================================== */

  h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
  }
  
  h1 {
    font-size: 56px;
  }
  
  h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }
  
  h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  

  /* ============================
      5. Botones 
  =============================== */

  .btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
  }
  
  .btn-primary {
    background-color: var(--verde-lima);
    color: white;
    border: none;
  }
  
  .btn-primary:hover {
    background-color: #5A9E0E;
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--verde-bosque);
    border: 2px solid var(--verde-bosque);
  }
  
  .btn-secondary:hover {
    background-color: var(--verde-bosque);
    color: white;
  }
  

  /* ====================================
      6. Secciones 
  ======================================= */

  section {
    padding: var(--padding-seccion) 0;
  }
  
  @media (max-width: 768px) {
    section {
      padding: var(--padding-seccion-mobile) 0;
    }
  
    h1 {
      font-size: 40px;
    }
  
    h2 {
      font-size: 32px;
    }
  }
  

  /* =========================================
      7. Imágenes 
  ============================================ */

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  

  /* =======================================
      8. Modales (estructura base) 
  ========================================== */

  /* ===========================================
   ESTILOS GENÉRICOS PARA MODALES
=========================================== */

/* Overlay genérico */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Contenedor genérico del modal */
.modal-container {
  background: #fff;
  width: 100%;
  max-width: 70vw; /* Un buen tamaño para el CTA */
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 60px;
  position: relative;
  animation: modalFadeIn 0.4s ease;
  text-align: center;
}

/* Botón de cierre genérico */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f0f0f0;
  color: #333;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  background-color: #e0e0e0;
  transform: scale(1.1);
}

/* Animación de entrada */
@keyframes modalFadeIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}




  /* ================================
   9. SECCIONES DEL SITIO (HEADER, HERO, SERVICIOS...)
================================== */

/* ================================
   SECCIÓN: HEADER (Corregido)
================================== */

/* NAVBAR BASE */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding-block: 20px;
  /* padding-inline: 120px; */ /* <-- ELIMINAMOS ESTA LÍNEA */
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.navbar-container {
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: 40px; /* Este padding controla el espacio en escritorio */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.navbar-logo svg {
  height: 50px;
  width: auto;
}

/* Agrupa menú + botón */
.navbar-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* MENÚ */
.navbar-menu ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-menu a {
  color: #065f46;
}

/* CTA */
.navbar-cta {
  padding: 10px 20px;
  background-color: white;
  color: var(--verde-bosque);
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar.scrolled .navbar-cta {
  background-color: #d1fab3;
  color: #065f46;
}

/* SVG LOGO COLOR */
.navbar.scrolled .logo-fill {
  fill: var(--verde-lima);
}

/* Ocultar elementos móviles en escritorio */
.navbar-toggle,
.mobile-menu {
  display: none;
}


/* ===========================================
   ESTILOS RESPONSIVE (MÓVIL)
=========================================== */

@media (max-width: 768px) {

  /* --- BARRA DE NAVEGACIÓN MÓVIL --- */

  .navbar-container {
    padding-inline: 24px; /* <-- AJUSTAMOS ESTE PADDING PARA MÓVIL */
  }

  .navbar-desktop {
    display: none;
  }

  .navbar-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  .navbar.scrolled .navbar-toggle {
    color: var(--verde-bosque);
  }
  
  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 24px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
  }

  .mobile-menu nav a {
    color: var(--verde-bosque);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
  }

  .mobile-menu .navbar-cta {
    display: block;
    text-align: center;
    background-color: #d1fab3;
    color: #065f46;
  }
}

/* ================================
   SECCIÓN: HERO
================================== */

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  background-image: url('../img/hero/Ingeniero-trabajando-automatizacion-industrial-hero-section.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
  backdrop-filter: blur(0px);
  transition: all 0.4s ease;
  z-index: 2;
}


.hero__contenido {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 30vh;
  color: white;
}


.hero__contenido h1 {
  font-size: 56px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 35px;
}

.resaltado {
  color: var(--verde-turquesa); /* o var(--verde-lima) si prefieres */
}

.typed-text {
  background: linear-gradient(90deg, #9fbc51, #31d344);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: bold;
  transition: all 0.3s ease;
}


.cursor {
  display: inline-block;
  font-weight: bold;
  color: var(--verde-lima);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Botón de borde blanco transparente */
.btn.btn-outline {
  border: 2px solid white;
  color: white;
  background-color: transparent;
  padding: 12px 50px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.btn-outline:hover {
  background-color: white;
  color: var(--verde-bosque);
}

@media (max-width: 768px) {

  .hero__contenido h1 {
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 35px;
}

.btn.btn-outline {
padding: 12px 40px;
  }

  }


/* ================================
   SECCIÓN: BENEFICIOS CLAVE
================================== */

.benefits {
  background-color: #fff;
  padding: 120px 0;
  position: relative;
  z-index: 2;
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
}

.benefits h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--verde-bosque);
}

.benefits__sub {
  text-align: center;
  color: var(--verde-turquesa);
  font-weight: 600;
  margin-bottom: 60px;
  font-size: 16px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 40px;
  text-align: center;
}

.benefits__icon {
  margin-bottom: 16px;
}

.icon-beneficio {
  width: 56px;
  height: 56px;
 
}


.benefits__item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gris-texto);
  margin-bottom: 8px;
}

.benefits__item p {
  font-size: 15px;
  color: #444;
}


/* ================================
   SECCIÓN: SERVICIOS
================================== */

.services {
  background-color: #f2f2f2;
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 5;
}

.services h2 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--verde-bosque);
}

.services__sub {
  color: var(--verde-turquesa);
  font-weight: 600;
  margin-bottom: 60px;
  font-size: 16px;
}

.services__carousel-container {
  overflow: visible;
  margin: 0;
}

/* Carrusel */
.services__carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px 100px;
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}

.services__carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Cards */
.service-card {
  position: relative;
  min-width: 280px;
  height: 450px;
  border-radius: 20px;
  flex: 0 0 auto;
  overflow: hidden;
  transition: transform 0.4s ease;
  cursor: pointer;
  z-index: 1;
}

/* Efecto hover de la card */
.service-card:hover {
  transform: scale(1.03);
  z-index: 2;
}

/* Espaciador visual al final */
.service-card--spacer {
  background: transparent;
  pointer-events: none;
}

/* Fondo blanco temporal o futura imagen */
.card-bg {
  background-color: white;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
}

.card-1 .card-bg {
  background-image: url('../img/servicios/operador-manejando-controlador-plc.jpg');
}

.card-2 .card-bg {
  background-image: url('../img/servicios/operador-visualizando-tablet.jpg');
}

.card-3 .card-bg {
  background-image: url('../img/servicios/industria-4.0.jpg');
}

.card-4 .card-bg {
  background-image: url('../img/servicios/cobot-industria-colaborativa.jpg');
}

.card-5 .card-bg {
  background-image: url('../img/servicios/cobot-trabajando-mantenimiento-cobot.jpg');
}

.card-6 .card-bg {
  background-image: url('../img/servicios/ingeniero-revisando-sistema-de-dosificacion.jpg');
}

.card-7 .card-bg {
  background-image: url('../img/servicios/plano-electrico.jpg');
}

.card-8 .card-bg {
  background-image: url('../img/servicios/Mesa-tecnica-con-sensores-plc-y-refacciones-electricas-1.jpg');
}


/* Degradado para contraste del texto */
 .card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,     /* más oscuro arriba */
    rgba(0, 0, 0, 0.5) 30%,    /* se va difuminando */
    rgba(0, 0, 0, 0) 60%,      /* completamente transparente en el centro */
    rgba(0, 0, 0, 0.2) 90%     /* ligero oscurecimiento al final */
  );
  z-index: 1;
}


/* Título arriba */
.service-card h3 {
  position: absolute;
  top: 35px;
  left: 25px;
  right: 25px;
  z-index: 2;
  color: white;
  font-size: 24px;
  font-weight: 700;
  text-align: left;
}

/* Botón "+" abajo derecha */
.card-plus {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  background-color: var(--verde-turquesa);
  color: white;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Icono "+" fontawesome */
.card-plus i {
  font-size: 18px;
  color: white;
}

/* Flechas de navegación centradas abajo */
.services__controls {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.arrow {
  background-color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 18px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.arrow i {
  font-size: 18px;
  transition: color 0.3s ease;
}

.arrow:hover {
  background-color: #e0e0e0;
}

.arrow:disabled {
  opacity: 0.9;
  cursor: default;
  pointer-events: none;
}


/* ===========================================
   ESTILOS PARA LOS MODALES DE SERVICIOS (Corregido)
=========================================== */

/* Fondo del modal (Overlay) */
.modal-services-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 60px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-services-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Contenedor principal del modal */
.modal-services {
  background: #fff;
  width: 100%;
  max-width: 85vw;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  padding: 80px 80px;
  position: relative; /* Contexto para el botón de cierre */
  animation: modalServicesFadeIn 0.4s ease;
}


.modal-services-close {
  position: absolute; /* Usamos 'absolute' para clavarlo en la esquina del contenedor */
  top: 24px;
  right: 24px;
  z-index: 10;
  background-color: #f0f0f0;
  color: #333;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-services-close:hover {
  background-color: #e0e0e0;
  transform: scale(1.1);
}

.modal-services-close i {
  pointer-events: none;
}

/* Contenido dinámico del modal */
.modal-services-content {
  text-align: left;
}

/* Etiqueta verde superior */
.modal__service-tag {
  display: inline-block;
  background-color: #eaf8e2;
  color: var(--verde-bosque);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* Título principal del modal */
.modal__title {
  font-size: 50px;
  color: var(--verde-bosque);
  font-weight: 800;
  width: 90%;
  line-height: 1.15;
  margin-bottom: 60px;
}

/* Contenedor de los bloques grises */
.modal__content-blocks {
  display: grid;
  gap: 24px;
}


.modal__content-card {
  background-color: var(--gris-claro);
  border-radius: 20px;
  padding: 0; /* Quitamos el padding de aquí... */
  overflow: hidden; /* ¡Muy importante! Recorta la imagen a los bordes redondeados */
  color: var(--gris-texto);
}

.modal__content-card p {
  padding: 60px 100px 40px 100px; /* Padding solo en el texto */
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}

.modal__card-img {
  width: 100%;
  height: auto;
  display: block; /* Evita espacios extra debajo de la imagen */
}

/* ===========================================
  Bloque de Aplicaciones y CTA del Modal
=========================================== */

.modal__apps-block {
  text-align: center;
  margin-top: 20px;
  padding-top: 48px;
 
}

.modal__subtitle {
  font-size: 26px;
  font-weight: 700;
  color: var(--verde-bosque);
  margin-bottom: 35px;
}

.modal__apps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 80px 0;
}

.modal__app-item {
  border: 1px solid #bbf7d0; /* Borde verde claro */
  color: var(--gris-texto);
  background-color: #f0fdf4; /* Fondo verde muy sutil */
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.modal__cta-question {
  font-size: 36px;
  color: var(--verde-lima);
  font-weight: 800;
  margin-bottom: 40px;
  max-width: 80%;
  margin-inline: auto; /* Centra el texto si es más corto que el max-width */
  line-height: 1.4;
}

.modal__cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Para que se adapte en pantallas pequeñas */
}

.modal__cta-button.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #d1fab3; /* Verde lima claro */
  color: var(--verde-bosque);
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
  line-height: 1.3;
  text-align: left;
}

.modal__cta-button.whatsapp-btn:hover {
  transform: scale(1.05);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: var(--verde-bosque); /* Controla el color del ícono */
  flex-shrink: 0;           /* Evita que el ícono se encoja */
}

.modal__cta-button.whatsapp-btn strong {
  font-weight: 700;
}

.modal__cta-separator {
  font-size: 16px;
  font-weight: 600;
  color: #9ca3af; /* Gris */
}

.modal__qr-code figure {
  margin: 0; /* Quitamos el margen por defecto de la etiqueta figure */
}

.modal__qr-code img {
  display: block;
  width: 130px; /* Tamaño del QR */
  height: auto;
  margin-inline: auto; /* Centra la imagen */
}

.modal__qr-code figcaption {
  text-align: center;
  margin-top: 8px; /* Espacio entre el QR y el texto */
  font-size: 16px;
  font-weight: 600;
  color: var(--verde-bosque); /* Usamos tu variable de color de texto */
}


/* --- (El resto del código sigue igual) --- */

@keyframes modalServicesFadeIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .modal-services {
    padding: 40px 24px;
  }

  .modal__title {
    font-size: 32px;
  }
  
  .modal__content-card p {
    padding: 24px; /* Ajuste para móviles */
  }
}



/* ===========================================
   SECCIÓN: Clientes
=========================================== */

.clients-section {
  background-color: var(--verde-bosque); /* Usamos tu variable de color oscuro */
  padding: var(--padding-seccion) 0;
  position: relative; 
  z-index: 2;
}

.clients-title {
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 80px;
}

.clients-grid {
  display: grid;
  /* La clave de la magia responsiva: */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px 32px; /* Espacio vertical y horizontal */
  align-items: center; /* Centra los logos verticalmente */
}

.client-logo img {
  max-width: 90px;
  height: auto;
  margin: 0 auto; /* Centra el logo dentro de su celda */
  display: block;
}


/* ===========================================
   FOOTER
=========================================== */

.site-footer {
  background-color: #1a202c; /* Un color oscuro, casi negro */
  color: #a0aec0; /* Texto gris claro */
  padding: 48px 0;
  font-size: 14px;
  position: relative; 
  z-index: 2;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Para que se adapte en pantallas pequeñas */
  gap: 24px;
}

.footer-copyright p {
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.footer-nav a {
  color: #e2e8f0; /* Un gris un poco más claro para los enlaces */
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #e2e8f0;
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* Responsive para el footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column; /* Apila los elementos verticalmente */
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 24px;
  }
}


@media (max-width: 768px) {
  

  /* --- BARRA DE NAVEGACIÓN MÓVIL --- */
  /* ... tus estilos de navbar móvil ... */
  .container {
    padding: 0 40px;
  }

  .container h2 {
    font-size: 30px;
  }
  /* 👇 AQUÍ AGREGAS LOS NUEVOS ESTILOS PARA LOS MODALES 👇 */
  /* --- MODALES EN MÓVIL --- */
  .modal-container,
  .modal-services {
    padding: 32px 24px;
  }
  .modal__title {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .modal__content-card p {
    padding: 24px;
    font-size: 16px;
  }
  .modal__cta-question {
    font-size: 20px;
  }
  .modal__cta-separator,
  .modal__qr-code {
    display: none;
  }
  .modal__cta-container {
    justify-content: center;
  }

   .services__carousel {
    padding: 20px 24px;
  }
  .service-card {
    min-width: 250px;
    height: 400px;
  }
  .service-card h3 {
    font-size: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  /* --- SECCIÓN CLIENTES MÓVIL --- */

/* Reduce el espacio entre los logos en móvil */
.clients-grid {
  gap: 45px 45px;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}

/* Reduce el tamaño máximo de los logos para darles más aire */
.client-logo img {
  max-width: 120px;
}


} /* <-- Fin del bloque @media */