
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Quita el fondo gris por defecto que Materialize le da al li.active */
nav ul li.active {
  background-color: transparent !important;
}

/* Opcional: Si quieres que la opción activa solo cambie el color del texto o sea un botón elegante */

:root {
  --primary-color: #333;
  --secondary-color: #444;
  --alt-color: #3381da;
  --overlay: rgba(0,0,0,0.8);
  --container-width: 90vw;
}
/* Eliminar cualquier divisor o línea en la sección de proyectos */
.our-drummers .divider {
  display: none !important;
}

/* Asegurar que la transición entre el SVG y el bloque negro sea continua sin líneas */
svg.skew {
  display: block;
  margin-bottom: -5px; /* Superpone ligeramente para ocultar cualquier línea de separación */
}

.our-drummers {
  border-top: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px; /* Desplaza la pantalla dejando margen para el header fijo */
}

body {
  overflow-y: auto !important; /* Garantiza el scroll vertical */
}

body {
  font-family: 'Catamaran', sans-serif;
  line-height: 1.6;
  font-size: 18px;
}

/* Configuración del Nav Blanco Moderno */
/* Transición suave para ocultar/mostrar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.3s ease-in-out;
}

/* Clase que oculta el nav desplazándolo hacia arriba */
.nav--hidden {
  transform: translateY(-100%);
}

/* Logo */
.nav .brand-logo {
  color: #2196F3 !important; /* Azul Tecnolic */
  font-weight: 700;
  font-size: 1.8rem;
}

/* Menú de Enlaces */
.nav ul li a {
  color: #333333 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0 18px;
  position: relative;
  transition: color 0.3s ease;
}

/* Línea animada amarilla al pasar el cursor (Hover) */
.nav ul li a:not(.nav-btn-contact)::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #FFD600; /* Amarillo Tecnolic */
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav ul li a:not(.nav-btn-contact):hover::after {
  width: 60%;
}

.nav ul li a:hover {
  color: #2196F3 !important;
  background-color: transparent !important;
}

/* Botón Destacado de Contacto */
.nav .nav-btn-contact {
  background-color: #2196F3 !important;
  color: #ffffff !important;
  border-radius: 6px;
  height: 40px;
  line-height: 40px;
  margin-top: 15px;
  padding: 0 20px !important;
  font-weight: 600;
  transition: all 0.3s ease !important;
}

.nav .nav-btn-contact:hover {
  background-color: #1976D2 !important;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  transform: translateY(-2px);
}

/* Ícono Menú Móvil */
.nav .sidenav-trigger i {
  color: #333333 !important;
}
.material-icons {
  color: #000;
  margin-left: -.9em;
}

.container {
  margin: 0 auto;
  overflow: hidden;
  padding: 0 2rem;
  width: var(--container-width);
}

.container .brand {
  color: var(--alt-color);
  font-weight: lighter;
}

.menu a {
  color: var(--primary-color);
}

.menu a:hover {
  background-color: var(--alt-color);
  color: #fff;
}

.main-info .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 100vh;
  width: var(--container-width);
  align-items: center;
}

.absolute-title {
  width: 100%;
  display: flex;
  justify-content: center;
}
.absolute-title h3 {
  font-size: 7em;
  font-weight: bold;
  position: absolute;
  color: rgba(0,0,0,0.1);
}

.main-info img {
  max-width: 80%;
  margin-left: 2rem;
}

h1 {
  font-weight: bold;
}

.main-info span {
  color: var(--alt-color);
}

.main-info p {
  margin-bottom: 1em;
}

.btn-info {
  background-color: var(--primary-color);
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
}

.btn-info:hover {
  background-color: var(--alt-color);
}

.overlay-section {
  background-image: url(../img/banner.jpg);
  background-size: cover;
  background-attachment: fixed;
}

.overlay {
  height: 107vh;
  background-color: var(--overlay);
}

.overlay .container {
  color: #fff;
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.overlay .container h3 {
  font-weight: lighter;
}
 .diferenciadores-section {
    padding: 4rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .diferenciadores-container {
    max-width: 1100px;
    margin: 0 auto;
  }

  .diferenciadores-titulo {
    text-align: center;
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }

.diferenciadores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fuerza exactamente 3 columnas en una sola fila */
  gap: 1.5rem;
}

  /* Fondo de tarjeta translúcido tipo cristal para resaltar sobre la imagen */
  .diferenciador-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  }

  .diferenciador-icon {
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(56, 189, 248, 0.4);
  }

  .diferenciador-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 600;
  }

  .diferenciador-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
  }
.overlay .container h2 {
  font-size: 5rem;
  text-align: center;
}

.overlay .container p {
  text-align: center;
  font-weight: lighter;
  font-size: 1.2rem;
}

.products {
  height: 80vh;
  width: 100vw;
}

.product-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1em;
  padding-top: 5em;
}

.divider {
  margin: 0 auto;
}
.carousel {
  height: 100vh;
  margin: 0 auto;
}

/* Ajuste de posición para los indicadores del carrusel */
.carousel .indicators {
  margin-bottom: 16rem;
  background-color: transparent; /* Mantiene la barra invisible */
}

/* Aplica el color, tamaño y separación a los puntos individuales */
.carousel .indicators .indicator-item {
  background-color: rgba(7, 6, 6, 0.5); 
  margin: 0 8px !important; /* Espacio horizontal entre cada punto */
  width: 10px;  
  height: 10px; 
}

.carousel .indicators .indicator-item.active {
  background-color: #38bdf8; /* Cyan brillante solo en el punto activo */
  transform: scale(1.2);
}

/* Ancho fijo necesario para que Materialize permita deslizar con el mouse */
.carousel .carousel-item {
  width: 450px !important;
}

.carousel .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 400px;
  margin-top: -10em; 
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease-in-out; /* Suaviza la animación del zoom */
}

/* Efecto al hacer clic (agrandar la imagen) */
.carousel .carousel-item img.zoomed {
  transform: scale(1.3) translateY(-10px); /* Ajusta el 1.3 según qué tan grande la quieras */
  z-index: 99;
  position: relative;
}

.carousel .carousel-item h5 {
  text-align: center;
}


/* Responsive: Ocultar indicadores en pantallas menores a 1024px */
@media screen and (max-width: 1023px) {
  .carousel .indicators {
    display: none !important;
  }
}
/* Ajuste de posición para los indicadores del carrusel */
.carousel .indicators {
  margin-bottom: 16rem;
  background-color: transparent; /* Mantiene la barra invisible */
}

/* Aplica el color, tamaño y separación a los puntos individuales */
.carousel .indicators .indicator-item {
  background-color: rgba(7, 6, 6, 0.5); 
  margin: 0 8px !important; /* Espacio horizontal entre cada punto */
  width: 10px;  /* Opcional: si quieres ajustar su ancho */
  height: 10px; /* Opcional: si quieres ajustar su alto */
}

.carousel .indicators .indicator-item.active {
  background-color: #38bdf8; /* Cyan brillante solo en el punto activo */
  transform: scale(1.2);
}
.carousel .carousel-item {
  width: 500px;
}

.carousel .carousel-item img {
  width: 500px;
  height: 400px;
  margin-top: -15em;
}

.carousel .carousel-item h5 {
  text-align: center;
}

.skew {
  margin-top: 15rem;
}

.our-drummers {
  background-color: #000;
}

.our-drummers h2 {
  text-align: center;
  color: #fff;
  margin-top: -.2em;
}

.gallery {
  margin-top: 7em;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.gallery a:first-child {
  grid-row: 1/3;
  grid-column: 1/3;
}

.gallery a:nth-child(2) {
  grid-column: 3/5;
}

.gallery a, 
.gallery img {
  width: 100%;
  height: 100%;
}


.contact {
  background-image: url(../img/contact-banner.png);
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
}

.container-form {
  padding: 5em 3em;
  width: 40%; 
  display: flex;
  flex-direction: column;
}

.container-form textarea {
  height: 15em;
  color: #fff;
  padding: 1em;
}

.container-form button {
  margin-top: 2em;
}


/* Estilos Base del Footer */
.footer {
  background-color: #0d0d0d;
  color: #e0e0e0;
  padding: 50px 20px 20px;
  border-top: 1px solid #222;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Columna Marca */
.brand-title {
  color: #2196F3; /* Azul Tecnolic */
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.brand-text {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Redes Sociales */
.social-media {
  display: flex;
  gap: 12px;
}

.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.social-media a:hover {
  background-color: #2196F3;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(33, 150, 243, 0.4);
}

/* Columnas de Enlaces */
.footer-col h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 35px;
  height: 3px;
  background-color: #FFD600; /* Amarillo Tecnolic */
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: #2196F3;
  padding-left: 6px;
}

/* Sub-footer Copyright */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
  color: #777;
  font-size: 0.85rem;
}


@media screen and (max-width: 1020px) {
  h1 {
    font-size: 3rem;
  }
  
  .absolute-title h3 {
    font-size: 6rem;
  }

  .overlay-section .overlay h2 {
    font-size: 2.5rem;
  }
  
  /* Ajuste para el carrusel en móviles/tablets */
  .carousel .carousel-item img {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 300px;
  }

  /* FUERZA A QUE LOS BLOQUES BAJEN HACIA ABAJO EN UNA SOLA COLUMNA */
  .diferenciadores-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .container-form {
    padding: 5em 3em;
    width: 55%; 
    display: flex;
    flex-direction: column;
  }
  
  .container-form textarea {
    height: 15em;
    color: #fff;
    padding: 1em;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container-form {
    width: 55% !important; /* Amplía un poco el ancho para que respire mejor */

  }
  
  .container-form textarea {
    height: 12em;
    color: #fff;
    padding: 1em;
  }
}
@media screen and (max-width: 768px) {

  /* 1. Contenedor principal con espacio vertical para los indicadores */
  article.products .carousel {
    height: 480px !important;
    position: relative !important;
    margin-bottom: 70px !important; /* Espacio de separación con la siguiente sección */
    margin-top: -7rem;
  }
.fontProduct{
  font-size: 24px !important;
}
  /* 2. Item centrado */
  article.products .carousel .carousel-item {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
  }

  /* 3. Escalar imagen */
article.products .carousel .carousel-item img {
  transform: scale(0.75) !important;
  transform-origin: center top !important;
  max-height: 340px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  transition: transform 0.3s ease-in-out !important; /* Añade suavidad al efecto */
  cursor: pointer !important;
}

/* Cuando la imagen tenga la clase 'zoomed' al hacerle clic */
article.products .carousel .carousel-item img.zoomed {
  transform: scale(1.05) !important; /* Súbela a 1 o más según qué tan grande la quieras */
  z-index: 10;
}
 .product-title{
  margin-top: -9rem;
 }
  /* 4. Texto debajo de la imagen */
  article.products .carousel .carousel-item h5 {
    margin-top: -30px !important;
    font-size: 0.95rem !important;
    text-align: center !important;
  }

  /* 5. PUNTOS EN LA PARTE INFERIOR LIBRE */
  article.products .carousel .indicators {
    bottom: 210px !important; /* Bajados al máximo */
    z-index: 10 !important;
  }

  article.products .carousel .indicators .indicator-item {
    margin: 0 6px !important;
  }
}
@media screen and (max-width: 768px) {

  /* 1. Reducir título y fondo negro sobrante */
  .our-drummers {
    padding: 20px 10px !important;
    text-align: center !important;
  }

  .our-drummers h2 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
  }

  .our-drummers .divider {
    margin: 0 auto 15px auto !important;
  }

  /* 2. Convertir la galería en un carrusel horizontal con scroll táctil */
  .our-drummers .gallery {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    gap: 15px !important;
    padding: 10px 15px 20px 15px !important;
  }

  /* Ocultar la barra de scroll para un acabado limpio */
  .our-drummers .gallery::-webkit-scrollbar {
    display: none;
  }

  /* 3. Tarjetas/enlaces del proyecto */
  .our-drummers .gallery a {
    flex: 0 0 85% !important; /* Muestra el 85% de la tarjeta para asomar la siguiente */
    max-width: 85% !important;
    scroll-snap-align: center !important;
    display: block !important;
    text-decoration: none !important;
  }

  /* 4. Imágenes escaladas e integradas */
  .our-drummers .gallery a img {
    width: 100% !important;
    height: auto !important;
    max-height: 240px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
    margin: 0 auto !important;
  }
}
@media screen and (max-width: 768px) {

  /* 1. Contenedor del formulario más compacto */
  .contact {
    padding: 10px 15px !important;
    margin-top: -5rem;
  }

  .contact .container-form {
    max-width: 85% !important;
    margin: 0 auto !important;
  }

  /* 2. Reducir el título "Escríbenos" */
  .contact h2 {
    font-size: 1.6rem !important;
    margin-bottom: 15px !important;
    text-align: center !important;
  }

  /* 3. Ajustar tamaño de los campos de texto */
  .contact input[type="text"],
  .contact input[type="email"] {
    font-size: 0.9rem !important;
    height: 2rem !important;
    margin-bottom: 12px !important;
  }

  /* 4. Reducir la caja de mensaje (textarea) */
  .contact textarea {
    height: 80px !important; /* Disminuye la altura enorme del cuadro */
    min-height: 80px !important;
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
    padding: 8px !important;
  }

  /* 5. Botón más compacto */
  .contact .btn-info {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
    display: block !important;
    margin: 0 auto !important;
  }
}
@media screen and (max-width: 1023px) {
  .carousel .indicators {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {

  /* 1. Contenedor padre: activa el scroll horizontal suave */
  .diferenciadores-section {
    display: flex !important;
    flex-direction: row !important; /* Disposición en fila */
    flex-wrap: nowrap !important; /* Impide que se bajen las tarjetas */
    overflow-x: auto !important; /* Habilita el desplazamiento horizontal */
    scroll-snap-type: x mandatory !important; /* Efecto imán al deslizar */
    -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
    margin: 5rem;
    padding: 3rem 1.5rem !important; /* Espacio para respirar arriba/abajo */
    gap: 1.2rem !important; /* Distancia entre tarjetas */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ocultar la barra de scroll si prefieres que se vea más limpio */
  .diferenciadores-section::-webkit-scrollbar {
    display: none;
  }

  /* 2. Tarjetas individuales: tamaño fijo y centrado al deslizar */
  .diferenciadores-section .card,
  .diferenciadores-section [class*="card"],
  .diferenciadores-section .diferenciador-item {
    flex: 0 0 82% !important; /* Muestra una tarjeta y deja asomar un borde de la siguiente */
    max-width: 300px !important;
    scroll-snap-align: center !important; /* Centra la tarjeta cuando el usuario suelta el dedo */
    
    height: auto !important;
    margin: 0 !important;
    padding: 1.5rem 1.2rem !important;
    box-sizing: border-box !important;
  }

  /* 3. Ajuste de textos dentro de la tarjeta */
  .diferenciadores-section h3 {
    font-size: 1.2rem !important;
    margin: 0.8rem 0 0.5rem !important;
  }

  .diferenciadores-section p {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
  }
}

@media screen and (max-width: 920px) {
  .absolute-title h3 {
    display: none;
  }

  .main-info .container {
    grid-template-columns: repeat(1, 1fr);
    height: auto;
    padding-bottom: 3em;
    margin-top: 3em;
  }

}

@media screen and (max-width: 700px) {
  .main-info .container {
    display: flex;
    flex-direction: column-reverse;
  }
  .footer h3,
  .info h3,
  .blog h3 {
    font-size: 1.5em;
  }

}


@media screen and (max-width: 600px) {
  .drummers .gallery {
    display: flex;
    flex-direction: column;
  }
  
  .container-form {
    width: 80%; 
  }

  .social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-media .fab {
    font-size: 1.2em;
    margin-top: .5em;
  } 

@media screen and (max-width: 768px) {

  /* Centrar o alinear la sección en móvil */
  .footer-brand {
    text-align: center !important; /* Cambia a left si prefieres todo alineado a la izquierda */
  }

  /* Organizar los iconos en una sola fila horizontal */
  .footer-brand .social-media {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important; /* Centrados horizontalmente (o flex-start para la izquierda) */
    align-items: center !important;
    gap: 15px !important; /* Espacio horizontal uniforme entre iconos */
    margin-top: 15px !important;
  }

  /* Fijar el tamaño circular y centrar los iconos dentro */
  .footer-brand .social-media a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    margin: 0 !important; /* Elimina cualquier margen vertical que los apilaba */
  }

}
@media screen and (max-width: 768px) {

  /* 1. Centrar las columnas del footer */
  .footer-col {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 25px !important;
  }

  /* 2. Centrar títulos h3 */
  .footer-col h3 {
    text-align: center !important;
    margin: 0 auto 10px auto !important;
  }

  /* 3. Limpiar la lista (quitar padding lateral por defecto) */
  .footer-col ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  /* 4. Centrar los elementos de la lista */
  .footer-col ul li {
    text-align: center !important;
    margin-bottom: 8px !important;
  }

  .footer-col ul li a {
    display: inline-block !important;
    text-align: center !important;
  }
}
@media screen and (max-width: 768px) {

  /* 1. Espaciado del contenedor principal */
  .main-info {
    padding: 35px 20px !important;
  }

  .main-info .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* 2. Logo posicionado arriba y con tamaño controlado */
  .main-info .container img {
    order: -1 !important; /* Manda la imagen arriba */
    max-width: 130px !important; /* Tamaño estilizado para móvil */
    height: auto !important;
    margin: 0 auto 40px auto !important;
    filter: drop-shadow(0 4px 12px #00000014);
  }

  /* 3. Contenedor de texto posicionado debajo */
  .main-info .container > div {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* 4. Título controlado y estilizado */
  .main-info h2 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 16px !important;
    margin-top: -3rem;
  }

  /* 5. Texto de descripción legible sin huecos raros */
  .main-info p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    text-align: center !important;
    max-width: 480px !important;
    margin: 0 auto 24px auto !important;
  }

  /* 6. Botón de cotizar estilizado */
  .main-info .btn-info {
    display: inline-block !important;
    padding: 12px 28px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
  }

}
/* Pantallas pequeñas (Celulares: hasta 600px) */
@media only screen and (max-width: 600px) {
  nav .brand-logo {
    font-size: 1.2rem; /* Reduce el tamaño del logo */
  }
  nav {
    background-color: #1e88e5 !important; /* Cambia el tono de azul */
  }
}

/* Pantallas medianas (Tablets: de 601px a 991px) */
@media only screen and (min-width: 601px) and (max-width: 991px) {
  nav .brand-logo {
    font-size: 1.5rem;
  }
}

/* Pantallas grandes (Escritorio: de 992px en adelante) */
@media only screen and (min-width: 992px) {
  nav .brand-logo {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 991px) {

  /* Menú flotante base */
  .sidenav {
    height: auto !important;
    max-height: calc(100vh - 40px);
    top: 20px !important;
    bottom: auto !important;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    padding: 12px 8px !important;
    background-color: #ffffff !important;
  }

  .sidenav li {
    margin: 4px 0 !important;
  }

  /* Estilo base de cada opción */
  .sidenav li > a {
    display: flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #333333 !important;
    padding: 0 16px !important;
    height: 48px !important;
    line-height: 48px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease-in-out !important;
  }

  /* 1. ESTADO HOVER (Pasar el cursor) */
  .sidenav li > a:hover,
  .sidenav li:hover > a {
    background-color: #0d6efd !important; /* Azul llamativo */
    color: #ffffff !important;           /* Texto blanco */
    padding-left: 22px !important;       /* Desplazamiento visual a la derecha */
  }

  /* 2. ESTADO ACTIVE (Al hacer clic / presionar) */
  .sidenav li > a:active,
  .sidenav li:active > a {
    background-color: #0b5ed7 !important; /* Azul más oscuro al presionar */
    color: #ffffff !important;
    transform: scale(0.97);               /* Efecto de pulsación */
  }

  /* 3. OPCIÓN SELECCIONADA (Si usas class="active" en el <li>) */
  .sidenav li.active > a {

    color: #080000 !important;
    font-weight: 700 !important;
  }
}

}


