:root{
  --primary: #135464;
  --secondary: #0d6efd;
  --accent: #f4d58d;
  --dark: #0b1d26;
  --text: #444;
  --bg-light: #f8f9fa;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

.hero-legado{
  position: relative;
  width: 100%;
  height: calc(100vh - 70px); /* 🔥 clave */
  display: flex;
  align-items: center; /* ✅ centra vertical */
  overflow: hidden;
  margin-top: 70px;
}
.hero-img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.35) contrast(1.1) !important;
  z-index: 1;
}

.hero-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.542) !important;
  z-index: 2;
}

.hero-content{
  position: relative;
  z-index: 3;
}

.hero-legado::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0) !important;
  z-index: 2;
}

.btn-hero{
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* ✨ EFECTO HOVER GENERAL */
.btn-hero:hover{
  transform: translateY(-5px) scale(1.03); /* se levanta */
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* 👇 EFECTO AL HACER CLICK */
.btn-hero:active{
  transform: scale(0.97);
}

/* ✨ BRILLO QUE PASA */
.btn-hero::before{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transition: 0.5s;
}

.btn-hero:hover::before{
  left: 100%;
}

/* CONTENIDO */
.hero-content{
  position: relative;
  z-index: 2;
  color: white;
  max-width: 1200px;

  padding-left: 135px;  /* 👈 mueve todo a la izquierda */
  padding-right: 20px;

  margin-left: 0;      /* 👈 importante */
  transform: translateY(50px);
}

/* BADGE */
.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(181, 161, 60, 0.686);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* TITULO */
.hero-title{
  font-size: 70px;
  font-weight: 800;
  line-height: 1.1;
  color: white;
}

.hero-title span{
  display: block;
  font-size: 35px;
  font-weight: 400;
  color: #f4d58d;
}

/* DESCRIPCIÓN */
.hero-desc{
  margin-top: 15px;
  max-width: 600px;
  font-size: 19px;
  opacity: 0.9;
}

/* INFO CARDS */
.hero-info{
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.hero-card{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;

  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);

  /* ✨ ANIMACIÓN */
  transition: all 0.35s ease;
  transform: translateY(0) scale(1);
}

/* ✨ HOVER PROFESIONAL */
.hero-card:hover{
  transform: translateY(-6px) scale(1.04); /* sube + zoom leve */
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-card i{
  font-size: 22px;
  color: #f4d58d;
}

.hero-card strong{
  font-size: 14px;
}

.hero-card p{
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

/* BOTONES */
.hero-buttons{
  margin-top: 25px;
  display: flex;
  gap: 15px;
}


.btn-hero{
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.btn-hero.primary{
  background: #f4d58d;
  color: #000;
}

.btn-hero.secondary{
  border: 2px solid #fff;
  color: #fff;
}

.evento-detalle-section{
  padding: 70px 0;
  background: #ffffff;
}

.evento-title-box{
  margin-bottom: 45px;
}

.evento-tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef6f7;
  color: #135464;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
}

.evento-title{
  font-size: 38px;
  font-weight: 800;
  color: #135464;
  margin-bottom: 10px;
}

.evento-subtitle{
  font-size: 20px;
  color: #555;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}

.evento-info-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.evento-info-card{
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  transition: 0.3s ease;
}

.evento-info-card:hover{
  transform: translateY(-6px);
  box-shadow: 0px 10px 25px rgba(0,0,0,0.08);
}

.evento-info-card i{
  font-size: 28px;
  color: #135464;
  margin-bottom: 10px;
}

.evento-info-card h5{
  font-size: 16px;
  font-weight: 700;
  color: #135464;
  margin-bottom: 6px;
}

.evento-info-card p{
  margin: 0;
  font-size: 14px;
  color: #444;
}

.evento-section-title{
  font-size: 22px;
  font-weight: 800;
  color: #135464;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.evento-section-title i{
  font-size: 22px;
  color: #0d6efd;
}

.evento-text{
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  color: #444;
}

.evento-highlight{
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: #135464;
  display: flex;
  align-items: center;
  gap: 10px;
}

.evento-highlight i{
  color: #e63946;
}

.evento-buttons{
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.btn-evento{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-principal{
  background: #135464;
  color: white;
}

.btn-principal:hover{
  background: #0d6efd;
  transform: scale(1.05);
}

.btn-secundario{
  background: transparent;
  border: 2px solid #135464;
  color: #135464;
}

.btn-secundario:hover{
  background: #135464;
  color: white;
  transform: scale(1.05);
}

.evento-img-box{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  box-shadow: 0px 15px 40px rgba(0,0,0,0.10);
}

.evento-img-box img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.evento-card{
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.06);
}

.evento-programa{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.evento-programa-item{
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid #eaeaea;
}

.evento-fecha{
  min-width: 80px;
  text-align: center;
  background: #135464;
  color: white;
  font-weight: 800;
  padding: 12px 10px;
  border-radius: 14px;
  font-size: 14px;
}

.evento-programa-item h5{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #135464;
}

.evento-programa-item p{
  margin: 4px 0 0 0;
  font-size: 14px;
  color: #444;
}

.evento-actividades-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 15px;
}

.evento-actividad{
  text-align: center;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e6e6e6;
  transition: 0.3s ease;
}

.evento-actividad:hover{
  transform: translateY(-6px);
  box-shadow: 0px 10px 20px rgba(0,0,0,0.08);
}

.evento-actividad i{
  font-size: 28px;
  color: #0d6efd;
  margin-bottom: 10px;
}

.evento-actividad h6{
  font-weight: 800;
  color: #135464;
  margin-bottom: 6px;
}

.evento-actividad p{
  font-size: 14px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

.evento-consejos{
  list-style: none;
  padding: 0;
  margin: 0;
}

.evento-consejos li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.6;
}

.evento-consejos li i{
  color: #198754;
  font-size: 18px;
  margin-top: 3px;
}


.evento-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #0d6efd;
  margin-top: 10px;
  font-size: 16px;
}

.evento-details summary:hover {
  text-decoration: underline;
}

.evento-details {
  margin-top: 10px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
}


/* ===============================
   ESCALA GLOBAL (COMO 90% ZOOM)
   =============================== */

body{
  zoom: 0.9;
}

/* En celulares mejor no reducir tanto */
@media (max-width: 768px){
  body{
    zoom: 1;
  }
}



.historia-pro{
  padding: 100px 0;
  background: #f8f9fa;
}

.titulo-pro{
  font-size: 38px;
  font-weight: 800;
  color: #135464;
}

.subtitulo-pro{
  color: #666;
  font-size: 18px;
}

.historia-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.historia-card{
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.historia-card:hover{
  transform: translateY(-8px);
}

.historia-card i{
  font-size: 30px;
  color: #0d6efd;
  margin-bottom: 10px;
}

.historia-card h4{
  font-weight: 700;
  margin-bottom: 10px;
}

.historia-card p{
  font-size: 14px;
  color: #555;
}

/* BOTON */
.btn-ver-mas{
  background: #135464;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
}

/* TEXTO OCULTO */
.historia-completa{
  max-width: 800px;
  margin: auto;
  margin-top: 20px;
  display: none;
  color: #444;
  line-height: 1.8;
}



/* NOTICIA DESTACADA */
.news-featured{
  max-width: 1500px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0px 20px 55px rgba(0,0,0,0.18);
  background: white;
  margin-bottom: 70px;
}

.news-featured img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-content{
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-tag{
  display: inline-block;
  background: rgba(44,80,99,0.12);
  color: #0d4350;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.news-date{
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
}

.news-featured-content h3{
  font-size: 28px;
  margin-top: 12px;
  font-weight: 800;
 color: #135464;
}

.news-featured-content p{
  margin-top: 12px;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}



.news-card.activo .news-extra,
.news-featured.activo .news-extra{
  display: block;
}


/* OCULTAR INFO EXTRA */
.news-extra{
  display: none;
  margin-top: 15px;
}

/* MOSTRAR AL DAR CLICK */
.news-featured.activo .news-extra{
  display: block;
}

/* LISTA BONITA DENTRO DE LA INFO EXTRA */
.extra-contenido ul{
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}

.extra-contenido ul li{

  align-items: center;
  margin-top: 12px;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

/* ICONITO BONITO EN CADA LI */
.extra-contenido ul li::before{
  content: "✔";
  color: #696f6f;
  font-weight: bold;
}

/* IMAGEN NORMAL */
.news-featured img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* CUANDO SE ABRE LA NOTICIA */
.news-featured.activo img{
  transform: scale(0.85); /* se encoge */
  border-radius: 20px;
}

/* TEXTO DE NOTICIAS JUSTIFICADO */
.news-card-body p,
.news-featured-content p,
.extra-contenido p{
  text-align: justify;
}

/* LISTAS (ubicación, hora, etc) TAMBIÉN JUSTIFICADAS */
.extra-contenido ul{
  text-align: justify;
  padding-left: 18px;
}

/* LISTA MÁS ESTÉTICA */
.extra-contenido ul li{
  margin-bottom: 8px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}


.mini-calendario{
  width: 80px;
  height: 90px;
  background: #135464;
  color: white;
  border-radius: 14px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* MES (arriba) */
.mini-calendario .mes{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* NÚMERO GRANDE (centro) */
.mini-calendario .dia{
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

/* GRID RESPONSIVO PRO */
.historia-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

/* TARJETA */
.historia-card{
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  position: relative;
  transition: 0.3s;
}

.historia-card:hover{
  transform: translateY(-10px);
}

/* IMAGEN */
.card-img img{
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CALENDARIO */
.mini-calendario{
  position: absolute;
  top: 140px;
  left: 15px;

  width: 60px;
  height: 70px;
  background: #135464;
  color: white;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* TEXTO */
.card-body{
  padding: 20px;
  padding-top: 30px;
}

.card-body h4{
  font-weight: 800;
  color: #135464;
}

.card-body p{
  font-size: 14px;
  color: #555;
}


/* CONTENEDOR GENERAL */
.tabla-box{
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

/* ITEM */
.tabla-item{
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  border-radius: 14px;
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  transition: 0.3s;
}

/* HOVER */
.tabla-item:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* ICONOS */
.tabla-item i{
  font-size: 22px;
  color: #135464;
  margin-top: 3px;
}

/* TITULOS */
.tabla-item h6{
  margin: 0;
  font-weight: 800;
  color: #135464;
}

/* TEXTO */
.tabla-item p{
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* CONSEJOS (más minimalista) */
.tabla-box.consejos .tabla-item{
  background: #ffffff;
  border-left: 4px solid #135464;
}

/* ================= CTA PRO BONITA ================= */

.cta-wrapper {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.cta-box {
  width: 100%;
  max-width: 1200px;

  /* 🔥 degradado más elegante */
  background: linear-gradient(135deg, #757374, #707272);

  color: #ffffff !important;

  padding: 70px 50px;
  border-radius: 60px;

  text-align: center;

  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* 🔥 TÍTULO (BLANCO Y FUERTE) */
.cta-box h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff !important;
}

/* 🔥 TEXTO */
.cta-box p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

/* 🔥 BOTONES */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* 🔥 BOTÓN PRINCIPAL (más bonito) */
.btn-primary {
  background: #ffffff;
  color: #1f2a44;
  padding: 15px 34px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  border: none;

  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #949494;
}

/* 🔥 BOTÓN BORDE */
.btn-outline {
  border: 2px solid rgba(255,255,255,0.8);
  color: white;
  padding: 15px 34px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: #1f2a44;
  transform: translateY(-3px);
}



/* ✨ EFECTO SUAVE COMO TU IMAGEN */
.btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 25px rgba(255,255,255,0.35),
    0 0 50px rgba(255,255,255,0.25),
    0 0 80px rgba(255,255,255,0.15);

  background: #ffffff; /* 🔥 mantiene el color */
}

/* 🔥 cuando haces click */
.btn-primary:active {
  box-shadow:
    0 0 35px rgba(255,255,255,0.5),
    0 0 70px rgba(255,255,255,0.3);
}


/* 🔥 TEXTO GRIS OSCURO AL PASAR EL MOUSE */
.btn-primary:hover {
  color: #333333 !important; /* gris oscuro elegante */
}

/* 🔥 TAMBIÉN CUANDO HACES CLICK */
.btn-primary:active {
  color: #333333 !important;
}


.gallery-item{

    width:100%;
    height:320px;

    overflow:hidden;

    border-radius:18px;

    position:relative;

}

.gallery-item img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.5s;

    display:block;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.swiper-slide{

    height:auto;

    display:flex;

}

.swiper-slide .gallery-item{

    width:100%;

}




/*=============================
      AGRADECIMIENTOS
==============================*/

.cta-creditos{
    margin-top:35px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.18);
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    max-width:850px;
    margin-inline:auto;
    color:rgba(255,255,255,.85);
    font-size:.92rem;
    line-height:1.6;
}



.cta-creditos strong{
    color:#fff;
    font-weight:600;
}

@media (max-width:768px){
    .cta-creditos{
        flex-direction:column;
        text-align:center;
        font-size:.85rem;
        gap:8px;
    }
}