:root {
    --verde: #2c6b47;
    --azul: #1f3c56;
    --naranja: #ff8c00;
    --gris: #d1d1d1;
    --azul-cielo: #a7c7e7;
    --blanco: #ffffff;
  }
  
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--blanco);
    color: var(--azul);
    overflow-x: hidden;
  }
  
  /* ===== HEADER Y MENÚ ===== */
  .header-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    position: relative;
  }
  
  /* Estilo para las columnas */
  .header-col {
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  /* Centro alineado */
  .header-col.center {
    justify-content: center;
  }
  
  /* Izquierda y derecha pegadas a los lados */
  .header-col.left {
    justify-content: flex-start;
  }
  
  .header-col.right {
    justify-content: flex-end;
  }
  
  /* Logo 50x50 */
  .logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
  }
  
  /* Menú */
  nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  header.solid nav ul li a {
    color: #222;
  }
  
  /* Botón hamburguesa (oculto en escritorio) */
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
  }
/* Header sticky y con transición */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px 30px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

header.transparent {
  background-color: transparent;
  box-shadow: none;
}

header.solid {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

  /* Para cuando pasas el mouse sobre el header */
  header:hover {
   opacity: 1; /* Vuelve a la opacidad original cuando se hace hover */
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Mayor sombra en hover */
  }
  
  .header-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0rem;
  }
  
  nav {
    flex-grow: 1;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding-left: 0;
  }
  
  nav li {
    position: relative;
  }
  
  nav a {
    color: var(--verde);
    text-decoration: none;
    font-weight: bold;
  }
  
  nav a:hover {
    color: var(--naranja);
  }
  
  nav ul li a.active {
    color: var(--naranja);
    font-weight: bold;
  }
  
  .submenu {
    display: none;
    position: absolute;
    background-color: var(--azul);
    padding: 1rem;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
  }
  
  li:hover .submenu {
    display: block;
  }
  
  .submenu a {
    display: block;
    padding: 0.3rem 0;
    color: var(--blanco);
  }
  
  /* Logo alineado a la derecha */
  .logo {
    margin-left: 0rem;
  }
  
  .logo img {
    max-width: 250px;
    height: auto;
    display: block;
  }
  
  /* ===== CONTENIDO ===== */
  
  main {
    padding: 2rem;
  }
  
  footer {
    background-color: var(--azul);
    color: var(--blanco);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
  }
  
  /* ===== FRASE ===== */
  
  .contenedor-frase {
    position: relative;
    width: 100%;
    margin-top: 0rem;
    z-index: 1;
  }
  
  .imagen-fondo {
    width: 100%;
    height: 530px;
    display: block;
    object-fit: cover;
  }
  
  .frase-superpuesta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5vw;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 90%;
    pointer-events: none;
  }
  /* FRASE 2*/

  .frase-superpuesta2 {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5vw;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: left;
    width: 90%;
    pointer-events: none;
  }
  .imagen-fondo2 {
    width: 100%;
    height: 330px;
    display: block;
    object-fit: cover;
  }
  /* ===== RESPONSIVE  DESACTIVADOOOO===== */
  
 @media (max-width: 768px) {
  .imagen-fondo {
    height: 350px;
  }

  .frase-superpuesta {
    font-size: 6vw;
  }

  /* Menú off- */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%; /* fuera de pantalla */
    height: 100vh;
    width: 80%; /* puedes usar 100% si quieres cubrir todo */
    background-color: var(--azul);
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    transition: right 0.4s ease-in-out;
    z-index: 999;
  }

  nav ul.activo {
    right: 0; /* entra desde la derecha */
  }

  .submenu {
    position: static;
    padding: 0.5rem 0;
    width: 100%;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--naranja);
    cursor: pointer;
    margin: 0.5rem 1rem;
    z-index: 1000; /* siempre visible */
  }

  .header-contenido {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo {
    margin: 0.5rem 1rem;
  }
}
  /* Ajusta el color de los links para que contrasten 
  #main-header nav a {
    color: var(--naranja); 
  }
*/
  
  /* ===== LOADER ===== */
  
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--blanco);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
  }
  
  #loader img {
    width: 150px;
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.7;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  body.loaded #loader {
    opacity: 0;
    visibility: hidden;
  }
/* Aplica el color azul a todos los enlaces */
a {
  color: #d1d1d1; /* Azul de tu página */
  text-decoration: none; /* quita el subrayado del enlace */
}

/* Cambiar el color del enlace cuando el usuario pase el ratón sobre él */
a:hover {
  color: #ff8c00; /* Cambia a otro color en el hover si deseas */
}
/* construccion page */
.seccion-construccion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blanco), var(--blanco));
  text-align: center;
  padding: 60px 20px;
}

.mensaje-construccion {
  font-size: 3.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--verde), var(--verde));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s infinite;
}

.contador {
  margin-top: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: var(--azul);
  background: #d1d1d1;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

/* SERVICIOS */
.services-section {
  padding: 60px 20px;
  background: var(--blanco);
  text-align: center;
}
.services-title {
  font-size: 90px;
  margin-bottom: 24px;
  color: var(--verde);
}

/* contenedor base */
.services-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* tarjeta */
.service-box {
  background: var(--blanco);
  border-radius: 12px;
  padding: 30px;
  width: 270px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.service-box:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.service-icon { font-size: 40px; color: var(--verde); margin-bottom: 20px; transition: transform 0.6s ease; }
.service-box:hover .service-icon { color: var(--naranja); transform: rotate(360deg); }
.service-title { font-size: 20px; font-weight: bold; margin-bottom: 10px; color: var(--azul); }
.service-desc { font-size: 15px; color: var(--azul); text-align: justify; }
.service-box {
  background-color: #fff; /* color de fondo inicial */
  border: 2px solid transparent; /* borde inicial */
  border-radius: 12px; /* bordes redondeados */
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* sombra suave */
  transition: all 0.3s ease; /* transición suave */
}

.service-box:hover {
  border-color: #ff6600; /* borde naranja al pasar */
  box-shadow: 0 8px 20px rgba(255,102,0,0.5); /* sombra naranja brillante */
  transform: translateY(-5px); /* efecto de levantamiento */
  cursor: pointer; /* cambia el cursor */
}
/* carrusel en móvil */
@media (max-width: 768px) {
  .services-title { font-size: 36px; }

  .services-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    justify-content: flex-start;
    padding: 6px 0 16px;
  }
  .services-container::-webkit-scrollbar { display: none; }

  .service-box {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 360px;
    min-width: 280px;
    scroll-snap-align: center;
  }

  /* puntos */
  .services-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .services-dots .dot {
    width: 10px; height: 10px;
    background: #ccc;
    border-radius: 50%;
    transition: background .3s;
  }
  .services-dots .dot.active {
    background: var(--naranja);
  }
}
/* POR QUE GENOMAMADAS */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
  padding: 20px;
  background-color: var(--blanco);
  
}

.content {
  flex: 1 1 400px;
  max-width: 600px;
  text-align: left;
  opacity: 0;
  transform: scale(0.5);
  animation: slideIn 1s ease-out forwards;
  z-index: 1;
}

.image-container {
  flex: 1 1 400px;
  max-width: 600px;
  text-align: center;
  opacity: 0;
  animation: slideImage 1s ease-out forwards;
  z-index: 0;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideImage {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive: apilado solo en móvil */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    gap: 24px;
    padding: 14px;
  }
  .content,
  .image-container {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
/* BOTONES */

.boton a {
  display: inline-block;
  margin-top: 10px;
  background-color: var(--azul);
  color: var(--blanco);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.boton a:hover {
  background-color: #a7c7e7;
}
.boton p {
  font-size: 1em;
  color: var(--blanco);
}
.boton2 a {
  display: inline-block;
  margin-top: 10px;
  background-color: var(--verde);
  color: var(--blanco);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  
  transition: background-color 0.3s ease;
}
.boton2 a:hover {
  background-color: #ff8c00;
}
.boton2 p {
  font-size: 1em;
  color: var(--blanco);
}

/* seccion cantancto web principal */
.container2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 400px;
  margin-top: 50px;
  flex-wrap: wrap;
  padding: 20px;
  background-color: var(--gris);
  
}

.content2 {
  flex: 1 1 400px;
  max-width: 600px;
  text-align: left;
  opacity: 0;
  transform: scale(0.5);
  animation: slideIn 1s ease-out forwards;
  z-index: 1;
}

.image-container2 {
  flex: 1 1 400px;
  max-width: 600px;
  text-align: center;
  opacity: 0;
  animation: slideImage 1s ease-out forwards;
  z-index: 0;
}

.image-container2 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.container3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 400px;
  margin-top: 50px;
  flex-wrap: wrap;
  padding: 20px;
  background-color: var(--naranja);
  
}

.content3 {
  flex: 1 1 400px;
  max-width: 600px;
  text-align: left;
  opacity: 0;
  transform: scale(0.5);
  animation: slideIn 1s ease-out forwards;
  z-index: 1;
}

.image-container3 {
  flex: 1 1 400px;
  max-width: 600px;
  text-align: center;
  opacity: 0;
  animation: slideImage 1s ease-out forwards;
  z-index: 0;
}

.image-container3 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideImage {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 1100px) {
  .container2,
  .container3 {
    gap: 60px;
    padding: 14px;
  }
}
@media (max-width: 900px) {
  .container2,
  .container3 {
    flex-direction: column;
    gap: 24px;
    padding: 10px;
    margin-top: 30px;
  }
  .content2,
  .image-container2,
  .content3,
  .image-container3 {
    max-width: 100%;
    flex: 1 1 100%;
    padding: 0;
  }
  .content2,
  .content3 {
    text-align: center;
  }
  .image-container2 img,
  .image-container3 img {
    border-radius: 8px;
  }
}
@media (max-width: 600px) {
  .container2,
  .container3 {
    gap: 10px;
    padding: 4px;
    margin-top: 16px;
  }
  .content2,
  .content3 {
    font-size: 1rem;
  }
}
/* dasdasd  */
.sobre-nosotros {
  background-color: var(--bg-light);
  padding: 4rem 2rem;
}

.centrado {
  text-align: center;
}

.ancho-md {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.subtitulo {
  font-size: 1.8rem;
  margin-top: 2rem;
  color: var(--color-acento);
}

.grid-info {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.info-box {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--sombra-suave);
  transition: transform 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
}

.icono {
  font-size: 3rem;
  color: var(--color-acento);
  margin-bottom: 1rem;
}

.info-box h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-acento);
}

/*botones acerca de */
.botones-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.acercadeboton {
  background-color: #2c6b47;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.acercadeboton:hover {
  background-color: #ff8c00;
  color: white;
}

.acercadeboton.activo {
  background-color: #ff8c00;
  color: white;
}
@media (max-width: 600px) {
  .botones-nav {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
  }
  .acercadeboton {
    width: 90%;
    font-size: 1.1rem;
    padding: 14px 0;
    text-align: center;
  }
}
/* vision */
.lavision {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: white;
}

.contenido-vision {
  display: flex;
  flex-direction: row; /* imagen a la derecha */
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.texto-vision {
  flex: 1;
  max-width: 600px;
}

.texto-vision h2 {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
  color: #0d0e19;
  position: relative;
  margin-bottom: 16px;
}

.texto-vision h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 4px;
  background-color: #ff8c00;
}

.texto-vision p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.imagen-vision {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imagen-vision img {
  max-width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
}

/*vision2*/
.lavision2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: white;
}

.contenido-vision2 {
  display: flex;
  flex-direction: row; /* imagen a la izquierda */
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.imagen-vision2 {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imagen-vision2 img {
  max-width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
}

.texto-vision2 {
  flex: 1;
  max-width: 600px;
}

.texto-vision2 h2 {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
  color: #0d0e19;
  position: relative;
  margin-bottom: 16px;
}

.texto-vision2 h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 4px;
  background-color: #2c6b47;
}

.texto-vision2 p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
/*MARCA GRAFICA*/
.marca-grafica {
  padding: 60px 20px;
  background-color: #fff;
}

.contenedor-marca {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.descripcion-marca {
  flex: 1;
  min-width: 300px;
}

.descripcion-marca h2 {
  font-size: 32px;
  font-weight: 900;
  color: #0d0e19;
  position: relative;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.descripcion-marca h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 50px;
  height: 4px;
  background-color: #ff8c00;
}

.descripcion-marca h3 {
  margin-top: 20px;
  font-weight: bold;
  color: #2c6b47;
}
.descripcion-marca {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.colores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.color {
  padding: 10px;
  color: white;
  font-family: monospace;
  border-radius: 6px;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.color[style*="#ffffff"] {
  border: 1px solid #aaa;
  color: #000 !important;
}

.logos-marca {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.logos-marca img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.logos-marca img:hover {
  transform: scale(1.05);
}
.marca-grafica {
  background: url('media/logos/asd.png') center/cover no-repeat;
}
.descripcion-marca {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border: 1px solid #e5e5e5;
}
.logos-marca img {
  max-width: 120px;
  height: auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.seccion-activa {
  animation: resaltar 1.5s ease;
  outline: 3px solid #ff8c00; 
  outline-offset: 5px;
  border-radius: 10px;
}

@keyframes resaltar {
  0% { background-color: rgba(255, 140, 0, 0.2); }
  100% { background-color: transparent; }
}

.equipo {
  background-color: #ffffff;
  padding: 60px 20px;
}

.contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

.titulo-seccion {
  color: #1f3c56;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  border-left: 5px solid #ff8c00;
  padding-left: 15px;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.miembro {
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.miembro:hover {
  transform: translateY(-5px);
}

.miembro img {
  width: 100%;
  height: 300px; /* Tamaño fijo uniforme */
  object-fit: cover; /* Recorta sin deformar */
  border-radius: 12px;
  margin-bottom: 15px;
}

.miembro h3 {
  font-size: 1.2rem;
  color: #2c6b47;
  margin: 5px 0;
}

.miembro p {
  font-size: 0.95rem;
  color: #1f3c56;
}

/* Estado inicial oculto */
.lavision, .lavision2, .marca-grafica {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* Cuando entra en pantalla */
.lavision.visible, .lavision2.visible, .marca-grafica.visible {
  opacity: 1;
  transform: translateY(0);
}


/* +------------------------------------------------------------------+ */
/* |                                                                  | */
/* |      H E A D E R   C A M B I A N T E    - -   N O   T O C A R    | */
/* |                                                                  | */
/* +------------------------------------------------------------------+ */

/*submenu header*/
/* Estado inicial: fondo transparente como el header */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.1); /* casi transparente */
  backdrop-filter: blur(10px); /* para efecto de vidrio si quieres */
  padding: 10px 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 200px;
  transition: background-color 0.3s ease;
}

/* Submenú visible al hacer hover */
.menu-item.has-submenu:hover .submenu {
  display: block;
}

/* Fondo sólido cuando el header se vuelve blanco al hacer scroll */
.header.scrolled .submenu {
  background-color: #0d0e19 ;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Enlaces del submenú */
.submenu li a {
  display: block;
  padding: 10px 20px;
  color: #e5e5e5;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.submenu li a:hover {
  background-color: #e67c00;
}

