:root {
    --primary-red: #e3003d;  
    --text-dark: #1f1f1f; 
    --text-medium: #555555; 
    --bg-light: #f0f0f0;
    --bg-lights: #e4e4e4;
	--bg-negro: #000000;
	--tx-rojo: #d8141f;
	
}

body {
    margin: 0;
	padding-top: 60px;
    font-family_: 'Arial Black', 'Impact', 'Arial', sans-serif; 
	font-family: Arial, sans-serif;     
    overflow-x: hidden; 
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight_: 500 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTn89ddpQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.montserrat { font-family:'Montserrat';}
.header {
  background-color_: var(--bg-light);
  padding: 0px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family:'Montserrat';font-weight: 500;
  /* Permite que el encabezado se mantenga arriba */
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 50; 
}

.logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
}

/* Menú horizontal en escritorio */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; 
}

.nav-list li {
  margin-left: 20px;
}

.nav-list a {
  color_: #000;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s;
}

#main-nav ul:hover a {
  opacity: 0.5;
  color: #999;
}
#main-nav_ ul:hover a:hover {
  opacity: 5;
  color: #000;#007bff;
  background-color_: #f0f0f0;
  box-shadow_: 0 0 10px rgba(0, 123, 255, 0.5);
}
#main-nav  ul.Abl:hover a:hover {
  opacity: 1;
  color: #fff;
  
}
#main-nav   ul.Ane:hover a:hover {
  opacity: 1;
  color: #000
}


/* Indicador de página actual */
.nav-list a.current-page {
    border-bottom: 2px solid white; 
}

/* Ocultar elementos de menú móvil en escritorio */
.menu-toggle,
.menu-icon {
  display: none;
}

/* ==================================== */
/* 📱 RESPONSIVE MÓVIL (<= 768px) */
/* ==================================== */

@media (max-width: 768px) {

.header{ padding: 0px 20px; }  
  /* Ocultar el menú de navegación por defecto */
  .nav {
    /* Menú Flotante (Overlay) */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Cubre toda la altura visible */
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 100; /* Flota encima de todo */
    overflow-y: auto; 
    padding-top: 80px; 
    
    /* Ocultar el menú fuera de la vista (a la derecha) */
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
  }
  
  .nav-list {
    flex-direction: column; /* Apilar enlaces verticalmente */
    text-align: center;
  }
  
  .nav-list li {
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid #333;
  }
  
  .nav-list a { color:#fff;
    font-size: 1.5em;
    padding: 10px 0;
  }

  /* ------------------------------------- */
  /* 🍔 Iconos (Hamburguesa y Cerrar 'X') */
  /* ------------------------------------- */
  .menu-icon {
    display: block;
    cursor: pointer;
    font-size: 2em;
    padding: 0 10px;
    z-index: 101; 
    line-height: 1;
    position: relative; /* Para posicionar la 'X' */
  }

  .icon-close {
    display: none; /* Ocultar la 'X' por defecto */
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1em; color:#fff;
  }
  
  .icon-bar {
    display: block; /* Mostrar la hamburguesa por defecto */
  }

  /* ------------------------------------- */
  /* ✅ EL CHECKBOX HACK (La magia sin JS) */
  /* ------------------------------------- */

  /* 1. Muestra el menú flotante al marcar el checkbox */
  .menu-toggle:checked ~ .nav {
    transform: translateX(0); /* Mueve el menú a la posición visible */
  }

  /* 2. Oculta la hamburguesa y muestra la 'X' al marcar el checkbox */
  .menu-toggle:checked ~ .menu-icon .icon-bar {
    display: none; 
  }

  .menu-toggle:checked ~ .menu-icon .icon-close {
    display: block; /* Muestra la 'X' */
  }
}