/* 
  Piano Sojo - Sistema de Diseño CSS (Premium 2026)
  ================================================
  Este archivo define los tokens de diseño, tipografía ejecutiva, layouts responsivos
  y animaciones interactivas del sitio web de Piano Sojo.
*/

/* ----------------------------------------------------
   1. Variables de Diseño y Tipografía
   ---------------------------------------------------- */
:root {
  /* Paleta de Colores de Lujo */
  --primary-color: #121921;     /* Azul Carbón Oscuro (Elegancia institucional) */
  --secondary-color: #801515;   /* Rojo de la marca de Sojo */
  --accent-color: #801515;      /* Rojo de la marca de Sojo */
  --bg-light: #ffffff;          /* Fondo Claro Blanco Puro */
  --bg-white: #ffffff;          /* Blanco Puro */
  --bg-dark: #000000;           /* Negro Puro */
  --text-primary: #000000;      /* Negro Puro */
  --text-muted: #555555;        /* Gris Oscuro para lectura */
  --border-light: rgba(128, 21, 21, 0.2); /* Borde rojo translúcido */

  /* Tipografías (Modern Corporate) */
  --font-title: 'Montserrat', sans-serif;       /* Títulos principales (Corporativo y Moderno) */
  --font-subtitle: 'Montserrat', sans-serif;    /* Subtítulos */
  --font-body: 'Montserrat', sans-serif;             /* Cuerpo de texto (Montserrat) */

  /* Sombras y Efectos */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 30px rgba(18, 25, 33, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.8s ease;
}

/* Reset y Caja Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.7;
}

/* Tipografía Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
}

p {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 15px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilidades de Diseño */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-white);
}

.text-center {
  text-align: center;
}

.title-large {
  font-family: var(--font-title);
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.title-large::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--secondary-color);
}

.subtitle-large {
  font-family: var(--font-subtitle);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ----------------------------------------------------
   2. Cabecera y Navegación Overlay
   ---------------------------------------------------- */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  position: fixed;
  background-color: #000000;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
  height: 75px;
}

.logo img {
  height: 55px;
  width: auto;
  transition: var(--transition-normal);
}

.main-header.scrolled .logo img {
  height: 48px;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-link {
  color: var(--bg-white);
  font-family: var(--font-title);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Contenedor de acciones a la derecha de la cabecera */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 110;
  flex-shrink: 0;
}

/* Botón WhatsApp y Audio Cabecera */
.header-social {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header-social a {
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.header-social a:hover {
  transform: scale(1.1);
}

.header-social img {
  height: 32px;
  width: auto;
}

.audio-toggle-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  padding: 0;
  flex-shrink: 0; /* Asegurar que nunca se comprima */
}

/* Redes sociales en el menú desplegable móvil */
.nav-mobile-socials {
  display: none;
}

.audio-toggle-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: scale(1.1);
}

.audio-toggle-btn svg {
  fill: currentColor;
}

/* Hamburguesa Móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--bg-white);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------
   3. Hero Slideshow Fullscreen
   ---------------------------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 550px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 20, 26, 0.4) 0%, rgba(15, 20, 26, 0.1) 100%);
  z-index: 2;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.slide-content {
  position: relative;
  z-index: 4;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide-title {
  font-family: var(--font-title);
  color: rgba(255, 255, 255, 0.85); /* 15% transparente */
  font-size: 3.5rem;
  font-weight: 800; /* Tipo bold / grueso */
  line-height: 1.25;
  margin-bottom: 25px;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

.slide-desc {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700; /* Tipo bold / grueso */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8); /* 80% opacidad */
  max-width: 700px;
  margin-bottom: 35px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.btn-slider {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  padding: 12px 36px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(20px);
}

.btn-slider:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(128, 21, 21, 0.4);
}

/* Animaciones del Slideshow */
.slide.active .slide-title {
  animation: slideFadeInUp 1s ease forwards 0.3s;
}

.slide.active .slide-desc {
  animation: slideFadeInUp 1s ease forwards 0.6s;
}

.slide.active .btn-slider {
  animation: slideFadeInUp 1s ease forwards 0.9s;
}

.slide-title, .slide-desc {
  opacity: 0;
  transform: translateY(30px);
}

@keyframes slideFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Controles de diapositiva */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  font-size: 1.8rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  backdrop-filter: blur(5px);
}

.slider-arrow:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

.arrow-prev {
  left: 30px;
}

.arrow-next {
  right: 30px;
}

/* ----------------------------------------------------
   4. Audio Player Integrado
   ---------------------------------------------------- */
.audio-player-container {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.player-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.player-info span {
  font-family: var(--font-title);
  letter-spacing: 1px;
}

.player-control-btn {
  background-color: var(--primary-color);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.player-control-btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

.player-control-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ----------------------------------------------------
   5. Sección Nuestras Razones
   ---------------------------------------------------- */
.panel-reasons {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 50px 40px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  position: relative;
  margin-top: -30px;
  z-index: 15;
}

.panel-reasons h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.panel-reasons h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.panel-reasons p {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: justify;
}

/* ----------------------------------------------------
   6. Servicios Alternados (Afinación, Restauración, etc.)
   ---------------------------------------------------- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.service-card {
  display: flex;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card.reverse {
  flex-direction: row-reverse;
}

.service-image-side {
  flex: 1;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.service-image-side .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-content-side {
  flex: 1;
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content-side h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.25;
}

.service-content-side p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}

.service-content-side p::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* ----------------------------------------------------
   7. Sección Biografía
   ---------------------------------------------------- */
.bio-section {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 60px 45px;
  box-shadow: var(--shadow-sm);
}

.bio-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 35px;
  overflow: hidden;
  border-radius: 6px;
}

.bio-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--shadow-sm);
}

.bio-content p {
  font-size: 1.02rem;
  text-align: justify;
  margin-bottom: 20px;
}

.bio-quote {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.5px;
}

/* ----------------------------------------------------
   8. Royal Artist Service (Switcher)
   ---------------------------------------------------- */
.switcher-container {
  margin-top: 40px;
}

.switcher-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.switcher-tab-btn {
  display: block;
  position: relative;
  height: 300px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
}

.switcher-tab-btn .artist-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 1;
}

.switcher-tab-btn .artist-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color); /* Rojo de la marca */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  z-index: 2;
  transition: opacity var(--transition-normal);
}

.switcher-tab-btn .artist-overlay h4 {
  color: var(--bg-white);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.3;
}

/* Por defecto: Mostrar foto B&N en todos */
.switcher-tab-btn .artist-img {
  opacity: 1;
}
.switcher-tab-btn .artist-overlay {
  opacity: 0;
}

/* Al pasar el mouse (hover) o al estar activo: Mostrar fondo rojo de la marca */
.switcher-tab-btn:hover .artist-img,
.switcher-tab-btn.active .artist-img {
  opacity: 0;
}
.switcher-tab-btn:hover .artist-overlay,
.switcher-tab-btn.active .artist-overlay {
  opacity: 1;
}

/* Borde de selección activa en rojo de la marca */
.switcher-tab-btn.active {
  border: 2px solid var(--secondary-color);
  box-shadow: var(--shadow-md);
}

/* Detalle del artista activo */
.switcher-content {
  position: relative;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 6px;
  text-align: center;
}

.artist-panel {
  display: none;
}

.artist-panel.active {
  display: block;
  animation: fadeIn 0.6s ease forwards;
}

.artist-panel h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------
   9. Nuestros Clientes
   ---------------------------------------------------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.client-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  transition: var(--transition-fast);
}

.client-item img {
  max-height: 130px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: var(--transition-fast);
}

.client-item:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.client-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ----------------------------------------------------
   10. Certificados Por
   ---------------------------------------------------- */
.cert-section {
  background-color: var(--bg-dark);
  color: var(--bg-white);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-section h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 35px;
  text-transform: uppercase;
}

.cert-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.cert-grid img {
  max-height: 155px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: var(--transition-fast);
}

.cert-grid img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ----------------------------------------------------
   11. Footer
   ---------------------------------------------------- */
.main-footer {
  background-image: linear-gradient(rgba(15, 20, 26, 0.88), rgba(15, 20, 26, 0.88)), url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 45px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-section-footer {
  margin-bottom: 55px;
}

.cert-section-footer h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.footer-info {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--bg-white);
  letter-spacing: 0.5px;
}

.footer-info a {
  color: var(--secondary-color);
  border-bottom: 1px dashed rgba(128, 21, 21, 0.4);
}

.footer-info a:hover {
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.footer-wa {
  margin-bottom: 15px;
  display: inline-block;
}

.footer-wa img {
  height: 40px;
  width: auto;
  transition: var(--transition-fast);
}

.footer-wa img:hover {
  transform: scale(1.1);
}

.footer-totop-container {
  margin: 15px 0 25px 0;
}

.totop-btn {
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.totop-btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.totop-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
}

.footer-bottom p {
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 0;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: underline;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Floating WhatsApp Widget */
.whatsapp-float-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.whatsapp-float-widget img {
  width: 55px;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
}

.whatsapp-float-widget:hover {
  transform: scale(1.08);
}

/* ----------------------------------------------------
   12. Media Queries (Responsividad Completa)
   ---------------------------------------------------- */
@media (max-width: 992px) {
  .hero-slider {
    height: 75vh;
  }
  
  .slide-title {
    font-size: 2.5rem;
  }
  
  .slide-desc {
    font-size: 1.15rem;
  }

  .service-card,
  .service-card.reverse {
    flex-direction: column;
  }

  .service-image-side {
    min-height: 280px;
  }


  .switcher-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .switcher-tab-btn {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }

  .logo img {
    height: 38px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .header-social {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  .header-social a {
    display: flex;
    align-items: center;
  }

  .header-social svg,
  .header-social img {
    width: 20px;
    height: 20px;
  }

  .audio-toggle-btn {
    width: 28px;
    height: 28px;
  }

  .audio-toggle-btn svg {
    width: 16px;
    height: 16px;
  }

  .menu-toggle {
    display: block;
    z-index: 110;
    padding: 5px;
  }

  /* Menú desplegable móvil */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px 30px;
    gap: 25px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .slider-arrow {
    display: none; /* Ocultar controles de flechas en móviles */
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: auto;
    min-height: 480px;
    padding: 100px 0 60px 0;
  }

  .slide-content {
    padding: 0 15px;
  }

  .slide-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .slide-desc {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .btn-slider {
    padding: 10px 28px;
    font-size: 0.8rem;
  }

  .title-large {
    font-size: 1.75rem;
  }

  .scroll-indicator {
    display: none !important;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    gap: 25px;
  }
}

/* Scroll Indicator UX/UI Animation */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  display: block;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #ffffff;
  border-radius: 12px;
  display: block;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 22px;
    opacity: 0;
  }
}


