html {
  scroll-behavior: smooth;
}

.custom-navbar {
  background-color: rgba(195, 219, 157, 0.263);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  margin: 8px auto;
  width: 60%;
  padding: 0.3rem 1rem;
  box-shadow: 0 30px 60px 0 rgba(27, 31, 10, 0.08);
  transition: background-color 0.3s ease, width 0.3s ease;
  z-index: 1000;
}

/* Navbar en tablets */
@media (max-width: 991px) {
  .custom-navbar {
    width: 90%;
    border-radius: 20px;
  }
}

/* Navbar en mobile */
@media (max-width: 576px) {
  .custom-navbar {
    width: 95%;
    border-radius: 16px;
    padding: 0.4rem 0.8rem;
  }
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 12px;
  transition: color 0.3s;
  border-radius: 10px;

}

.navbar-nav .nav-link:hover {
  background-color: rgba(202, 183, 130, 0.222); /* fondo suave dorado */
  color: #cbb883; /* texto dorado */
  text-decoration: none;
}


.btn-dark {
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 50px;
  background-color: #212121;
  color: #fff;
  border: none;
  transition: all 0.3s ease;

}

.btn-dark:hover {
  background-color: #00000075;
  text-decoration: none;
  color: #ffffff;
}
/*----------------------- PORTADA-------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url('img/portada.png');
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding-top: 100px; /* compensa la navbar fija */
  padding-bottom: 40px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-section {
    background-attachment: fixed;
  }
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-section h1 {
  font-size: 3.5rem;
  color: #efb810;
  text-shadow: 1px 1px 2px #000;
}

.hero-section h2 {
  font-size: 1.2rem;
  color: #efb810;
  text-shadow: 1px 1px 2px #000;
}

.hero-section p {
  font-size: 1.2rem;
  color: #f8f9fa;
  text-shadow: 1px 1px 2px #000;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 75vh;
    background-position: center center;
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .hero-section h1 {
    font-size: 1.9rem;
    text-align: center;
  }

  .hero-section h2 {
    font-size: 0.88rem;
    text-align: center;
    margin-bottom: 0.6rem !important;
  }

  .hero-section p {
    font-size: 0.88rem;
    text-align: center;
    padding: 0 8px;
    margin-bottom: 0.8rem !important;
  }

  .hero-section .btn {
    display: block;
    margin: 0 auto;
    font-size: 0.95rem;
    padding: 10px 22px;
  }

  .hero-section .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-section .col-12 {
    text-align: center;
  }
}
/*---------------------MI HISTORIA-----------------------------------------------------*/
.historia-section {
  background-color: #111;
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.historia-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 184, 16, 0.25);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.historia-card:hover {
  box-shadow: 0 12px 50px rgba(239, 184, 16, 0.15);
}

@media (max-width: 767px) {
  .historia-card {
    padding: 28px 20px;
    border-radius: 16px;
  }
}

.titulo-historia {
  font-size: 2.8rem;
  font-weight: 700;
  color: #efb810;
  text-shadow: 1px 1px 2px #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.historia-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  text-shadow: 1px 1px 2px #000;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .historia-section p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    padding: 0 4px;
  }

  .historia-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 767px) {
  .titulo-historia {
    font-size: 2rem;
    text-align: center;
  }

  .historia-section p {
    font-size: 1rem;
    text-align: justify;
  }

  .historia-section img {
    max-width: 90%;
    margin-top: 1rem;
  }
}
/*---------------SECCION LOGROS------------*/
.bloque-logros {
  position: relative;
  min-height: 70vh;
  background-image: url('img/29MIN.png');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}

@media (min-width: 992px) {
  .bloque-logros {
    background-attachment: fixed;
  }
}

.overlay-logros {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.bloque-logros .container {
  position: relative;
  z-index: 2;
}

.titulo-logros {
  font-size: 2.8rem;
  color: #efb810;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 1px 1px 2px #000;
}

.bloque-logros ul {
  padding-left: 0;
  margin-bottom: 0;
}

.bloque-logros ul li {
  font-size: 1.2rem;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-shadow: 1px 1px 2px #000;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  position: relative;
}

@media (max-width: 991px) {
  .bloque-logros .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 767px) {
  .titulo-logros {
    font-size: 2rem;
    text-align: center;
  }

  .bloque-logros ul li {
    font-size: 0.95rem;
    text-align: left;
    padding-left: 0.2rem;
  }

  .bloque-logros .row {
    justify-content: center !important;
  }
}
/*---------------SECCION SIGUE MI CAMINO------------*/
.bloque-camino {
  background-color: #111;
  background-image: radial-gradient(ellipse at bottom, #1f1a00 0%, #111 60%);
  padding-top: 30px;
  padding-bottom: 30px;
}

.camino-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 184, 16, 0.25);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.camino-card:hover {
  box-shadow: 0 12px 50px rgba(239, 184, 16, 0.15);
}

.camino-subtitulo {
  font-size: 1rem;
  color: #aaa;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.camino-red-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.camino-red-link:hover {
  transform: translateY(-6px);
}

.camino-red-label {
  font-size: 0.85rem;
  color: #aaa;
  margin: 0;
  transition: color 0.3s ease;
}

.camino-red-link:hover .camino-red-label {
  color: #efb810;
}

@media (max-width: 576px) {
  .camino-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .camino-subtitulo {
    font-size: 0.9rem;
  }

  .titulo-camino {
    font-size: 2rem;
  }
}

.icono-red {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

@media (max-width: 576px) {
  .titulo-camino {
    font-size: 2rem;
  }

  .iconos-redes {
    gap: 3rem !important;
  }

  .icono-red {
    width: 52px;
    height: 52px;
  }
}
.titulo-camino {
  font-size: 2.8rem;
  color: #efb810;
  text-shadow: 1px 1px 2px #000;
  font-weight: 700;
  text-transform: uppercase;
}

.icono-red:hover {
  transform: scale(1.2);
}
/*---------------GALERIA------------*/
.bloque-galeria {
  background-color: #111;
  padding-top: 20px;
  padding-bottom: 20px;
}

.titulo-galeria {
  font-size: 3rem;
  color: #efb810;
  text-shadow: 1px 1px 2px #000;
  font-weight: 700;
  text-transform: uppercase;
}

.galeria-scroll {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  margin-left: 0;
  margin-right: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.galeria-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.img-galeria {
  height: 320px;
  width: 280px;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center top;
}

.img-galeria:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(239,184,16,0.3);
}

@media (max-width: 768px) {
  .img-galeria {
    height: 200px;
    width: 200px;
    border-radius: 16px;
  }
}

@media (max-width: 576px) {
  .img-galeria {
    height: 155px;
    width: 155px;
    border-radius: 12px;
  }
}
/* Botones de galería */
.bloque-galeria .position-relative .btn {
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0.85;
}

/* Responsive galería */
@media (max-width: 768px) {
  .img-galeria {
    height: 200px;
    border-radius: 16px;
  }

  .bloque-galeria .position-relative .btn {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .img-galeria {
    height: 160px;
    border-radius: 12px;
  }

  .modal-dialog {
    max-width: 95%;
    margin: auto;
  }

  .modal-content img {
    border-radius: 12px;
  }
}

/*---------------------- ENTREVISTAS---------------------- */
.bloque-entrevistas {
  position: relative;
  min-height: 80vh;
  background-image: url('img/galeria/99.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
}

@media (min-width: 992px) {
  .bloque-entrevistas {
    background-attachment: scroll;
  }
}

.overlay-entrevistas {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.bloque-entrevistas .container-fluid {
  position: relative;
  z-index: 2;
}

.titulo-entrevistas {
  font-size: 2.8rem;
  color: #efb810;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
}

.card-title {
  font-size: 1.6rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px #000;
}

.card-text {
  font-size: 1.2rem;
  font-family: 'Franklin Gothic Small', 'Arial Narrow', Arial, sans-serif;
  text-shadow: 1px 1px 2px #000;
}

.btn-ver {
  background-color: #efb810;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-size: 1.1rem;
  transition: all 0.8s ease;
}

.btn-ver:hover {
  background-color: #fff;
  color: #111;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .btn-ver {
    display: block;       /* hace que ocupe toda la línea */
    margin: 0 auto;       /* centra horizontalmente */
    text-align: center;   /* asegura que el texto quede centrado */
  }
}
@media (max-width: 991px) {
  .bloque-entrevistas {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .titulo-entrevistas {
    font-size: 2rem;
  }

  #entrevistasCarousel {
    padding: 0 2rem;
  }

  #entrevistasCarousel .card-title {
    font-size: 1.2rem;
  }

  #entrevistasCarousel .card-text {
    font-size: 0.95rem;
  }
}

/* Carrusel solo en móviles/tablets */
@media (max-width: 991px) {
  #entrevistasCarousel {
    padding: 0 2rem;
  }

#entrevistasCarousel .carousel-inner {
  min-height: 480px;
}


  #entrevistasCarousel .carousel-item {
    padding: 0 1rem;
  }

#entrevistasCarousel .card {
  height: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

  #entrevistasCarousel .card-img-top {
    border-radius: 1rem;
    height: 220px;
    object-fit: cover;
    width: 100%;
  }

  #entrevistasCarousel .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #entrevistasCarousel .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  #entrevistasCarousel .card-text {
    font-size: 0.9rem;
    flex: 1;
  }

  #entrevistasCarousel .btn-ver {
    margin-top: auto;
    align-self: center;
    width: fit-content;
  }

  #entrevistasCarousel .carousel-control-prev-icon,
  #entrevistasCarousel .carousel-control-next-icon {
    background-color: #000000;
    border-radius: 50%;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  #entrevistasCarousel .carousel-inner {
    min-height: 500px;
  }

  #entrevistasCarousel .card {
    min-height: 480px;
  }

  #entrevistasCarousel .card-img-top {
    height: 180px;
  }
}

/*---------------------- PATROCINIO -------------------- */
.patrocinio-banner {
  background-color: #f24b04;
  padding: 12px 0;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

@media (max-width: 767px) {
  .patrocinio-banner {
    padding: 10px 0;
  }

  .patrocinio-banner .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mensaje-patrocinio {
    font-size: 0.88rem;
    text-align: center;
    padding: 0;
    margin-bottom: 8px !important;
  }

  .btn-patrocinio-banner {
    font-size: 0.85rem;
    padding: 7px 18px;
  }
}
  .btn-patrocinio-banner {
    font-size: 1rem;
    padding: 10px 24px;
    display: block;
    margin: 0 auto;
    width: fit-content;
  }

.btn-patrocinio-banner {
  background-color: #000;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-patrocinio-banner:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

/*---------------------- CONTACTA CONMIGO -------------------- */
.bloque-contacto {
  background-image: url('img/galeria/24.jpg'); /* reemplazá con tu imagen */
  background-size: cover;
  background-position: center 50;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 80vh;
  overflow: hidden;
}

@media (min-width: 992px) {
  .bloque-contacto {
    background-attachment: fixed;
  }
}

.overlay-contacto {
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.bloque-contacto .row.justify-content-center > div {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 184, 16, 0.25);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
  .bloque-contacto .row.justify-content-center > div {
    padding: 28px 18px;
    border-radius: 16px;
  }
}

.titulo-contacto {
  font-size: 2.8rem;
  font-weight: 700;
  color: #efb810;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
}

.btn-enviar {
  background-color: #efb810;
  color: #000;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn-enviar:hover {
  background-color: #ffffff93;
  color: #000;
  transform: scale(1.05);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.39);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  border-radius: 10px;
}

.form-control::placeholder {
  color: #000000da;
  font-family: 'Courier New', Courier, monospace;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
}

/*---------------------- CONTACTO DIRECTO -------------------- */
.contacto-directo {
  background-color: #111;
  background-image: radial-gradient(ellipse at top, #1f1a00 0%, #111 60%);
}

.titulo-contacto-directo {
  font-size: 2.5rem;
  font-weight: 700;
  color: #efb810;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
}

.dato-contacto-directo {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 184, 16, 0.2);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-shadow: 1px 1px 2px #000;
  height: 100%;
}

@media (max-width: 576px) {
  .dato-contacto-directo {
    padding: 18px 12px;
    border-radius: 12px;
  }

  .etiqueta-contacto {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .valor-contacto {
    font-size: 0.85rem;
  }
}

.dato-contacto-directo:hover {
  transform: translateY(-6px);
  border-color: #efb810;
  box-shadow: 0 12px 40px rgba(239, 184, 16, 0.15);
}

@media (min-width: 992px) {
  .contacto-directo .row {
    max-width: 1000px;
    margin: 0 auto;
  }
}

.etiqueta-contacto {
  font-size: 1.2rem;
  font-weight: 600;
  color: #efb810;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.valor-contacto {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  word-break: break-all;
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  .titulo-contacto-directo {
    font-size: 2rem;
  }

  .valor-contacto {
    font-size: 1rem;
  }
}
/*---------------------- FOOTER -------------------- */
.footer-principal {
  background-color: #1a1a1a;
  font-size: 0.95rem;
  border-top: 2px solid #efb810;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.footer-nombre {
  font-size: 1.1rem;
}

.footer-sub {
  font-size: 0.8rem;
}

.footer-copy {
  font-size: 0.75rem;
}

.footer-links a {
  font-size: 0.85rem;
}

.footer-red img {
  width: 28px;
  height: 28px;
}

@media (max-width: 767px) {
  .footer-principal {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .footer-links {
    gap: 0.8rem;
  }
}

.footer-nombre {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.footer-nombre span {
  color: #efb810;
}

.footer-sub {
  font-size: 0.85rem;
  color: #aaa;
}

.footer-copy {
  font-size: 0.8rem;
  color: #666;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #efb810;
}

.footer-red {
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-red:hover {
  opacity: 1;
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .footer-principal {
    text-align: center;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .footer-links li {
    margin-bottom: 0;
  }
}
/* =============================================
   ANIMACIONES AL SCROLL
   ============================================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay para que los elementos aparezcan en cadena */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Navbar scrolleada */
.custom-navbar.scrolled {
  background-color: rgba(20, 20, 20, 0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
/* =============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================= */
.btn-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

@media (max-width: 576px) {
  .btn-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

/* =============================================
   LOADER DE ENTRADA
   ============================================= */
.loader-pantalla {
  position: fixed;
  inset: 0;
  background-color: #111;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-pantalla.oculto {
  opacity: 0;
  visibility: hidden;
}

.loader-contenido {
  text-align: center;
  color: #fff;
}

.loader-nombre {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  animation: fadeInDown 0.8s ease forwards;
}

.loader-nombre span {
  color: #efb810;
}

.loader-subtitulo {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease 0.2s forwards;
  opacity: 0;
}

.loader-barra {
  width: 220px;
  height: 4px;
  background-color: #333;
  border-radius: 10px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-progreso {
  height: 100%;
  width: 0%;
  background-color: #efb810;
  border-radius: 10px;
  animation: progreso 1.6s ease forwards;
}

@keyframes progreso {
  0%   { width: 0%; }
  100% { width: 100%; }
}

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

@media (max-width: 576px) {
  .loader-nombre {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .loader-subtitulo {
    font-size: 0.95rem;
  }

  .loader-barra {
    width: 160px;
  }
}
/* =============================================
   CONTADORES ANIMADOS
   ============================================= */
.bloque-contadores {
  background-color: #1a1a1a;
  border-top: 2px solid #efb810;
  border-bottom: 2px solid #efb810;
}

.contador-item {
  padding: 20px 10px;
  transition: transform 0.3s ease;
}

.contador-item:hover {
  transform: translateY(-6px);
}

.contador-numero {
  font-size: 4rem;
  font-weight: 700;
  color: #efb810;
  text-shadow: 0 0 20px rgba(239,184,16,0.4);
  line-height: 1;
}

.contador-sufijo {
  font-size: 2rem;
  margin-left: 4px;
}

.contador-label {
  font-size: 1rem;
  color: #ccc;
  margin-top: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 576px) {
  .contador-numero {
    font-size: 2.8rem;
  }

  .contador-sufijo {
    font-size: 1.5rem;
  }

  .contador-label {
    font-size: 0.85rem;
  }
}
/* =============================================
   SECCIÓN SPONSORS
   ============================================= */
.bloque-sponsors {
  background-color: #161616;
}

.titulo-sponsors {
  font-size: 2.8rem;
  font-weight: 700;
  color: #efb810;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #000;
}

.subtitulo-sponsors {
  font-size: 1.1rem;
  color: #aaa;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Track con scroll infinito */
.sponsors-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.sponsors-track-wrapper::before,
.sponsors-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.sponsors-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #161616, transparent);
}

.sponsors-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #161616, transparent);
}

.sponsors-track {
  display: flex;
  gap: 2rem;
  animation: scrollSponsors 18s linear infinite;
  width: max-content;
}

.sponsors-track:hover {
  animation-play-state: paused;
}

@keyframes scrollSponsors {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sponsor-slot {
  flex: 0 0 auto;
  width: 180px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2a2a2a;
  border-radius: 12px;
  border: 1px solid #333;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.sponsor-slot:hover {
  border-color: #efb810;
  transform: scale(1.05);
}

/* Placeholder cuando no hay logo */
.sponsor-placeholder {
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* Cuando hay imagen real */
.sponsor-slot img {
  max-width: 130px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
}

.sponsor-slot:hover img {
  filter: grayscale(0%) brightness(1);
}

/* CTA sponsors */
.cta-sponsors-texto {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.btn-sponsor-cta {
  background-color: #efb810;
  color: #000;
  font-weight: 700;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-sponsor-cta:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .titulo-sponsors {
    font-size: 2rem;
  }

  .sponsor-slot {
    width: 140px;
    height: 70px;
  }

  .cta-sponsors-texto {
    font-size: 1rem;
  }
}

/* =============================================
   PARTÍCULAS PORTADA
   ============================================= */
.particulas-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* no interfiere con clicks */
}

/* =============================================
   HISTORIA — LEER MÁS
   ============================================= */
.historia-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.historia-extra.abierto {
  max-height: 2000px; /* suficiente para todo el texto */
}

.btn-leer-mas {
  background: transparent;
  border: 1px solid #efb810;
  color: #efb810;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-leer-mas:hover {
  background-color: #efb810;
  color: #111;
}

#iconoLeerMas {
  display: inline-block;
  transition: transform 0.3s ease;
}

#iconoLeerMas.rotado {
  transform: rotate(180deg);
}