/* ==========================================================
   FUENTES
========================================================== */
@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
========================================================== */
.hero-iregua {
  position: relative;
  background: url("../img/fondo-iregua.jpg") center/cover no-repeat;
  padding: 150px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 2px;
  opacity: 0.95;
  margin-bottom: 12px;
  color: white;
}

.hero-title {
  margin-bottom: 30px;
}

.hero-logo {
  max-width: 650px;
  width: 100%;
}

.hero-date {
  color: #F8CC2D;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-coming {
  color: white;
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 25px;
  font-weight: 400;
}

.hero-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;
}

.btn-iregua {
  color: #000 !important;
  background-color: #F8CC2D !important;
  border: 2px solid #F8CC2D !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.btn-iregua:hover {
  background-color: #ebbd05 !important;
  border-color: #ebbd05 !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.30) !important;
}

.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;
}

.btn.disabled,
.btn:disabled {
  pointer-events: none;
  opacity: 0.7;
  cursor: not-allowed;
}

/* ==========================================================
   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;
}

/* ==========================================================
   HISTORY BLOCK (TU SECCIÓN REAL)
========================================================== */

.history-block {
  background: #f5f7f6;
  padding: 90px 0;
}

.history-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.history-subtitle {
  color: #555;
  margin: 0;
}

/* ===== CARD ===== */

.history-item {
  height: 100%;
}

.history-item > a {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.history-item > a:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
}

/* ===== IMAGEN (CLAVE) ===== */

.history-thumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 62.5%;
  overflow: hidden;
  background: #e9ecef;
  margin: 0;
}

.history-thumb img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  display: block !important;
  transition: transform .5s ease;
}

.history-item > a:hover .history-thumb img {
  transform: scale(1.05);
}

/* ===== TEXTO ===== */

.history-info {
  padding: 18px 16px 22px;
  text-align: center;
}

.history-year {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2C6447;
  line-height: 1;
  margin-bottom: 6px;
}

.history-cta {
  display: block;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6c757d;
  font-weight: 600;
}

/* ==========================================================
   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;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991px) {
  .hero-iregua {
    padding: 120px 0;
  }
}

@media (max-width: 576px) {
  .hero-logo {
    max-width: 95%;
  }

  .hero-date {
    font-size: 1.6rem;
  }

  .hero-coming {
    font-size: 1rem;
    padding: 0 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .history-block {
    padding: 70px 0;
  }

  .history-year {
    font-size: 1.7rem;
  }
}