@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================
   BASE
========================================================== */
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #111012;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

p {
  font-size: 1.05rem;
  opacity: 0.95;
  font-weight: 300;
}

a {
  text-decoration: none;
}

section {
  padding: 70px 0;
}


/* ==========================================================
   HERO - CORREGIDO: FONDO RECUPERADO Y SIN BORDES REDONDEADOS
========================================================== */
.hero-iregua {
  position: relative;
  /* CORRECCIÓN: Fondo recuperado (fondo-iregua.jpg) */
  background: url("../img/fondo-iregua.jpg") center/cover no-repeat;
  padding: 100px 0;
  min-height: 80vh;
  overflow: hidden;
}

/* Mantenemos el overlay oscuro para mejorar el contraste */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.40) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
}

/* El recuadro blanco que simula el póster */
.hero-poster-box {
  background-color: #fff;
  padding: 50px 40px;
  /* CORRECCIÓN: Bordes no redondeados */
  border-radius: 0; 
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
  max-width: 650px;
  width: 100%;
}

/* Subtítulo de municipios */
.hero-poster-subtitle {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #e52520; /* Color rojo */
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 900 !important;
}

/* Título de fecha */
.hero-poster-title {
  color: #324e90; /* Color azul oscuro */
  font-family: 'DM Sans', sans-serif;
  font-weight: 900; /* Peso extra-bold */
  font-size: 3rem; /* Tamaño grande */
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-poster-logo-container {
  margin-bottom: 35px;
}

.hero-poster-logo {
  max-width: 500px;
  width: 100%;
}

/* Texto de modalidades */
.hero-poster-modalidades {
  color: #324e90; /* Color azul */
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 40px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 900 !important;
}

.hero-poster-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}


/* ==========================================================
   BOTONES
========================================================== */
.btn {
  border-radius: 999px !important;
  padding: 14px 30px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all 0.25s ease !important;
}

.btn:hover {
  transform: translateY(-3px) !important;
}

/* Botón Principal (Rojo Solido) */
.btn-iregua {
  color: #fff !important; /* Texto blanco */
  background-color: #e52520 !important; /* Fondo rojo */
  border: 2px solid #e52520 !important;
  box-shadow: 0 10px 20px rgba(229, 37, 32, 0.2);
}

.btn-iregua:hover {
  background-color: #c9201a !important; /* Rojo más oscuro */
  border-color: #c9201a !important;
  box-shadow: 0 15px 30px rgba(229, 37, 32, 0.35) !important;
}

/* Botón Secundario de Contorno Rojo (Para el calendario) */
.btn-outline-red-iregua {
  color: #e52520 !important; /* Texto rojo */
  border: 2px solid #e52520 !important; /* Contorno rojo */
  background: rgba(255, 255, 255, 0.8) !important; /* Fondo blanco semi-transparente */
}

.btn-outline-red-iregua:hover {
  background: rgba(229, 37, 32, 0.1) !important; /* Tinte rojo suave */
  border-color: #e52520 !important;
  box-shadow: 0 15px 30px rgba(229, 37, 32, 0.15) !important;
}

/* Clase antigua por si se usa en otras secciones */
.btn-outline-iregua {
  color: white !important;
  border: 2px solid rgba(255,255,255,0.75) !important;
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(8px);
}

.btn-outline-iregua:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: white !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25) !important;
}


/* ==========================================================
   BANDA SCROLL
========================================================== */
.banda-scroll {
  padding: 0;
}

@keyframes animatedBackground {
  from { background-position: 0px 0; }
  to { background-position: -562px 0; }
}

.banner2 {
  height: 72px;
  width: 100%;
  background-image: url('../img/banda-valleiregua.png');
  background-repeat: repeat-x;
  animation: animatedBackground 6s linear infinite;
  line-height: 72px;
}


/* ==========================================================
   INFO + MAPA
========================================================== */
.section-info {
  background: #fff;
  padding-top: 90px;
  padding-bottom: 90px;
}

.info-highlight {
  font-size: 1.2rem;
  line-height: 1.55;
  margin-bottom: 20px;
  color: #111012;
  font-weight: 600;
}

.info-text {
  color: #111012;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
}

.info-cta {
  margin-top: 25px;
}

.map-title {
  margin-bottom: 20px;
}

.map-iframe iframe {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}


/* ==========================================================
   INSCRIPCIONES
========================================================== */
.pricing-section {
  background: #e52520 ;
  padding: 110px 0;
}

.section-header {
  max-width: 850px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: white;
  margin-bottom: 10px;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  margin: 0;
  font-weight: 300;
}

.inscripcion-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 34px;
  padding: 40px 36px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  height: 100%;
  transition: all 0.25s ease;
}

.inscripcion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
}

.inscripcion-head {
  margin-bottom: 20px;
}

.inscripcion-title {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: #324e90;
}

.inscripcion-desc {
  margin: 0;
  font-size: 1rem;
  opacity: 0.85;
  font-weight: 400;
}

.inscripcion-price {
  text-align: center;
  padding: 22px 15px;
  border-radius: 24px;
  background: rgba(44, 100, 71, 0.10);
  margin-bottom: 22px;
}

.price-number {
  display: block;
  font-size: 3.4rem;
  font-weight: 700;
  color: #324e90;
  line-height: 1;
}

.price-label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.75;
  font-weight: 400;
}

.inscripcion-dual-prices {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.dual-price {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 18px 16px;
  border-radius: 22px;
  background: rgba(44, 100, 71, 0.10);
}

.dual-label {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.75;
  font-weight: 600;
}

.dual-number {
  margin: 8px 0 6px 0;
  font-size: 2.6rem;
  font-weight: 700;
  color: #324e90;
  line-height: 1;
}

.dual-note {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
  font-weight: 300;
}

.inscripcion-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
}

.inscripcion-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 1.05rem;
  opacity: 0.9;
  font-weight: 400;
}

.inscripcion-list i {
  color: #c9201a;
  font-size: 1rem;
}

.inscripcion-footer {
  margin-top: auto;
}


/* ==========================================================
   PATROCINADORES
========================================================== */
.logotipos {
  padding: 90px 0;
  background-color: white;
}

.patros-block {
  margin-bottom: 55px;
}

.patros-title {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #111012;
  font-size: 0.95rem;
}

.patros-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.patros-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 80px;
}

.patros-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.patros-logo:hover img {
  transform: scale(1.05);
}


/* ==========================================================
   FOOTER
========================================================== */
.footer {
  background-color: #111;
  color: #fff;
  padding: 2.5rem 1rem;
  font-family: futura-pt, sans-serif;
  text-align: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer a:hover {
  opacity: 0.8;
}

.footer .voc-footer-logo img {
  max-width: 160px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer .footer-info {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

.footer .footer-info address {
  font-style: normal;
  display: block;
}

.footer ul.list-inline {
  padding-left: 0;
  margin-bottom: 1rem;
  list-style: none;
}

.footer ul.list-inline li {
  display: inline-block;
  margin: 0 0.75rem;
}

.footer .social-icon i {
  font-size: 1.3rem;
  vertical-align: middle;
  color: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer .social-icon i:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

.footer .legal-link {
  font-size: 0.9rem;
  margin: 0 0.5rem;
  display: inline-block;
  color: rgba(255,255,255,0.9);
}

.footer .legal-link:hover {
  opacity: 0.75;
}


/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 991px) {
  .hero-iregua {
    padding: 80px 0;
  }

  .hero-poster-box {
    padding: 40px 30px;
  }

  .hero-poster-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero-poster-box {
    padding: 30px 20px;
  }

  .hero-poster-subtitle {
    font-size: 0.85rem;
  }

  .hero-poster-title {
    font-size: 1.8rem;
  }

  .hero-poster-logo {
    max-width: 95%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .price-number {
    font-size: 3rem;
  }

  .dual-number {
    font-size: 2.2rem;
  }

  .patros-logo {
    width: 130px;
    height: 70px;
  }
}