/* Ícono del toggler en navbars oscuras (líneas blancas visibles) */
.navbar-dark .navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ===== Reset mínimo ===== */
*{ margin:0; padding:0; box-sizing:border-box; }

/* ===== NAVBAR - DISEÑO MODERNO Y PROFESIONAL ===== */
.navbar {
  background: linear-gradient(to right, #ff8c00 0%, #ff9f1a 50%, #ff8c00 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  padding: 0.75rem 0;
  border-bottom: 3px solid #ffffff;
}

.navbar-brand {
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.titulo-logo {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Estilos de enlaces de navegación */
.navbar .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
  border-radius: 4px;
  margin: 0 2px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffff00 !important;
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  font-weight: 700;
}

.navbar .nav-link.active {
  color: #ff8c00 !important;
  background-color: rgba(255, 255, 255, 0.2);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
  width: 80%;
}

/* Menú desplegable moderno - DESKTOP */
.dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
  padding: 0.5rem 0;
  animation: slideDown 0.3s ease;
  min-width: 200px;
  margin-top: 0.5rem;
}

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

.dropdown-menu .dropdown-item {
  color: #333333;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #fff3e0;
  color: #ff8c00 !important;
  border-left-color: #ff8c00;
  padding-left: 1.75rem;
}

.dropdown-menu .dropdown-item.active {
  background-color: #ffe0b2;
  color: #ff8c00 !important;
  border-left-color: #ff8c00;
}

/* Dropdown toggle en desktop */
.navbar .dropdown-toggle::after {
  border-top-color: #ffffff;
  transition: transform 0.3s ease;
}

.navbar .dropdown-toggle:hover::after {
  border-top-color: #ff8c00;
}

/* Menú desplegable en MOBILE (dentro del navbar colapsado) */
@media (max-width: 991px) {
  .navbar-collapse.show .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    animation: none !important;
    min-width: auto !important;
    display: none !important;
    visibility: hidden !important;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  /* Mostrar dropdown cuando está activo */
  .navbar-collapse.show .dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    max-height: 500px;
  }
  
  .navbar-collapse.show .dropdown-menu .dropdown-item {
    color: #ffffff !important;
    padding: 0.75rem 2.5rem !important;
    background-color: transparent !important;
    border-left: none !important;
    white-space: normal !important;
    display: block !important;
    cursor: pointer;
  }
  
  .navbar-collapse.show .dropdown-menu .dropdown-item:hover,
  .navbar-collapse.show .dropdown-menu .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-left: none !important;
    padding-left: 2.5rem !important;
    color: #ffff00 !important;
  }
  
  .navbar-collapse.show .dropdown-menu .dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-left: none !important;
  }
  
  /* Dropdown toggle en mobile */
  .navbar-collapse.show .dropdown-toggle::after {
    border-top-color: #ffffff !important;
  }
  
  .navbar-collapse.show .dropdown-toggle:hover::after {
    border-top-color: #ffffff !important;
  }
}

/* Menú colapsado (móvil) */
@media (max-width: 991px) {
  .navbar-collapse.show {
    position: relative;
    z-index: 1110;
    background-color: rgba(255, 140, 0, 0.95);
    padding: 1rem 0;
    border-radius: 0 0 8px 8px;
    backdrop-filter: blur(10px);
  }
  
  .navbar-collapse.show .nav-link {
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px;
    margin: 0.25rem 0.5rem;
  }
  
  .navbar-collapse.show .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
}
/* Botón hamburguesa mejorado */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.75rem;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
  outline: none;
}

.navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Asegurar que el toggle sea visible en mobile */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block !important;
    visibility: visible !important;
  }
}

/* ===== NAV (clases personalizadas no-Bootstrap: por si existieran) ===== */
.nav-menu{ list-style:none; display:flex; gap:15px; }
.nav-menu li a{
  text-decoration:none; color:rgb(23,8,109); padding:10px 15px;
}
.menu-toggle{
  display:none; background:none; color:#053f18; font-size:24px; border:none;
}
@media (max-width:768px){
  .menu-toggle{ display:block; }
  .nav-menu{
    display:none; flex-direction:column; background-color:#023a06;
    width:100%; position:absolute; top:50px; left:0;
  }
  .nav-menu.active{ display:flex; }
}

/* ===== SLIDER ===== */
#container-slider{ position:relative; display:block; width:100%; }

/* Tamaño principal del slider */
#slider{
  position:relative; display:block; width:100%;
  height:80vh; min-height:500px;
}
#slider li{
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  position:absolute !important;
  top:0 !important; left:0 !important;
  width:100%; height:100%; display:block;
  transition:opacity 1s;
  z-index:-1; opacity:0;
}

/* Flechas */
#container-slider .arrowPrev, #container-slider .arrowNext{
  font-size:30pt; color:rgba(204,204,204,.65);
  cursor:pointer; position:absolute; top:50%;
  left:50px; z-index:2;
}
#container-slider .arrowNext{ left:initial; right:50px !important; }

/* Puntos (bullets) */
.listslider{
  position:absolute; display:flex; justify-content:space-between; align-items:center;
  left:50%; bottom:5%; list-style:none; z-index:2; transform:translateX(-50%);
}
.listslider li{ border-radius:50%; width:10px; height:10px; cursor:pointer; margin:0 5px; }
.listslider li a{ background:#012708; border-radius:50%; width:100%; height:100%; display:block; }
.item-select-slid{ background:#012008 !important; }

/* Botón genérico del slider */
.btnSlider{
  color:#FFF; font-size:15pt; letter-spacing:1px;
  padding:10px 50px; border:1px solid #CCC; background:rgba(13,13,13,.55);
  border-radius:31px; text-decoration:none; transition:.5s all;
}
.btnSlider:hover{ background:#111; border:1px solid #111; }

/* Slider responsive */
@media screen and (max-width:460px){
  #container-slider .arrowPrev, #container-slider .arrowNext{ font-size:20pt; }
  #container-slider .arrowPrev{ left:15px; }
  #container-slider .arrowNext{ right:15px !important; }
  #slider{ height:400px; min-height:400px; } /* ajustado para móviles */
}

/* ===== SECCIÓN NG-MAKERS (tu bloque animado) ===== */
.ng-makers-section{
  padding:80px 20px;
  background:linear-gradient(135deg,#a05907,#f4f8f4);
  color:#0d0b86; display:flex; align-items:center; justify-content:center;
  animation:fadeIn 2s ease-in;
}
.ng-makers-container{
  display:flex; flex-direction:row; max-width:1200px; gap:40px;
  align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.ng-makers-text{ flex:1; animation:slideInLeft 1.2s ease forwards; }
.ng-makers-text h2{ font-size:2.8rem; color:#02444d; margin-bottom:20px; }
.ng-makers-text p{ font-size:1.1rem; line-height:1.6; }
.ng-makers-media{ flex:1; text-align:center; animation:slideInRight 1.2s ease forwards; }
.ng-makers-media img, .ng-makers-media video{
  max-width:100%; height:auto; border-radius:12px; box-shadow:0 8px 20px rgba(0,0,0,.3);
}

/* Animaciones clave */
@keyframes fadeIn{ from{opacity:0; transform:translateY(50px);} to{opacity:1; transform:translateY(0);} }
@keyframes slideInLeft{ from{opacity:0; transform:translateX(-50px);} to{opacity:1; transform:translateX(0);} }
@keyframes slideInRight{ from{opacity:0; transform:translateX(50px);} to{opacity:1; transform:translateX(0);} }

/* ===== CARDS / IMÁGENES ===== */
.service-img-hover{ transition:transform .4s ease, filter .4s ease; }
.service-img-hover:hover{ transform:scale(1.05); filter:brightness(1.1); }
.card:hover .card-title{ color:#0d6efd; transition:color .3s ease; }
.card-img-top{ height:200px; object-fit:cover; width:100%; }

/* ===== FOOTER ===== */
footer{
  background:linear-gradient(to right,
    #5a2d00,#7a3e00,#a64b00,#d65a00,#ff7a00,#ffa54d,#ffe0b2,#ffa54d,#ff7a00,#d65a00,#a64b00,#7a3e00,#5a2d00
  );
  color:#032e18;
  box-shadow:0 -4px 12px rgba(0,0,0,.4);
  padding:20px 0; text-align:center; font-weight:500;
}
footer a{ color:#033305; text-decoration:none; transition:color .3s ease; }
footer a:hover{ color:#022903; }

/* ==== Utilidades de animación por scroll ==== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: transform .7s ease, opacity .7s ease;
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: none; }

/* direcciones */
.reveal.up    { transform: translateY(24px); }
.reveal.down  { transform: translateY(-24px); }
.reveal.left  { transform: translateX(-28px); }
.reveal.right { transform: translateX(28px); }
.reveal.zoom  { transform: scale(.96); }

/* “float” sutil (p.ej. para logos o iconos) */
.float-soft { animation: floatSoft 5s ease-in-out infinite; }
@keyframes floatSoft {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* efecto hover elegante para tarjetas/imágenes */
.hover-lift { transition: transform .35s ease, box-shadow .35s ease; }
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(0,0,0,.15);
}

/* parallax suave para elementos con data-parallax */
[data-parallax] { will-change: transform; }



/* ===== BOTONES FLOTANTES DE REDES SOCIALES ===== */
.social-float-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.social-float-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.social-float-btn.youtube {
  background-color: #FF0000;
}

.social-float-btn.youtube:hover {
  background-color: #CC0000;
}

.social-float-btn.facebook {
  background-color: #1877F2;
}

.social-float-btn.facebook:hover {
  background-color: #0A66C2;
}

.social-float-btn.tiktok {
  background: linear-gradient(135deg, #000000 0%, #25F4EE 100%);
}

.social-float-btn.tiktok:hover {
  transform: scale(1.15) rotate(5deg);
}

.social-float-btn.whatsapp {
  background-color: #25D366;
}

.social-float-btn.whatsapp:hover {
  background-color: #1EA952;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .social-float-buttons {
    right: 15px;
    bottom: 15px;
    gap: 8px;
  }
  
  .social-float-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}


/* ===== SECCIÓN DE ACCESOS A EN VIVOS ===== */
.live-access-section {
  background: linear-gradient(135deg, #ff8c00 0%, #ff7a00 50%, #ff6b00 100%);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.live-access-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}

.live-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.live-pulse {
  width: 12px;
  height: 12px;
  background-color: #ff0000;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.live-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.live-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.live-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin: 0;
}

.live-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.live-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: 0;
}

.live-card:hover::before {
  left: 100%;
}

.live-card-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.live-card:hover .live-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.live-card-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.live-card-content h5 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.live-card-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  opacity: 0.95;
}

.live-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.live-card:hover .live-badge {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Estilos específicos por red social */
.youtube-card {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: #ffffff;
}

.youtube-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(255, 0, 0, 0.3);
}

.facebook-card {
  background: linear-gradient(135deg, #1877F2 0%, #0A66C2 100%);
  color: #ffffff;
}

.facebook-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(24, 119, 242, 0.3);
}

.tiktok-card {
  background: linear-gradient(135deg, #000000 0%, #25F4EE 100%);
  color: #ffffff;
}

.tiktok-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(37, 244, 238, 0.3);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .live-title {
    font-size: 1.5rem;
  }
  
  .live-subtitle {
    font-size: 1rem;
  }
  
  .live-card {
    min-height: 240px;
    padding: 20px 15px;
  }
  
  .live-card-icon {
    font-size: 3rem;
  }
  
  .live-access-section {
    padding: 40px 15px;
  }
}

@media (max-width: 576px) {
  .live-title {
    font-size: 1.3rem;
  }
  
  .live-card-icon {
    font-size: 2.5rem;
  }
  
  .live-card-content h5 {
    font-size: 1.2rem;
  }
}
