@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-guinda-principal: #991547;
  --color-guinda-oscuro:    #771139;
  --color-dorado-oficial:   #C49955;
  --color-beige-oficial:    #DDC9A3;
  --color-gris-oscuro:      #3C3C3B;
  --color-gris-medio:       #707070; 
  --color-negro: 			#000000;
  --color-blanco: 			#ffffff;
  --color-azul-logo 		#1D3354;

   --fuente-montserrat: 'Montserrat', sans-serif;

  --tamano-h1: clamp(1.35rem, 4vw, 2.2rem);
  --tamano-h2: clamp(1.15rem, 3vw, 1.65rem);
  --tamano-h3: clamp(0.85rem, 1.5vw, 0.95rem);
  --tamano-p:  clamp(0.85rem, 1.2vw, 0.92rem);
  --tamano-btn: clamp(0.75rem, 1vw, 0.8rem);
}

 html, body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--fuente-montserrat) !important;
  color: var(--color-gris-oscuro);
  /*background-color: #f8f9fa; */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
}

/* Jerarquía Tipográfica */
h1, .titulo-principal {
  font-size: var(--tamano-h1);
  font-weight: 800;
  line-height: 1.2;
}

h2, .titulo-seccion {
  font-size: var(--tamano-h2);
  font-weight: 700;
  line-height: 1.3;
  /* border-bottom: 4px solid var(--color-guinda-principal); 
  padding-bottom: 10px;
  margin-bottom: 25px;  */
}

h3, .nombre-enlace {
  color: var(--color-negro);
  font-size: var(--tamano-h3);
  font-weight: 700;
  line-height: 1.4;
}
 

p, td, th {
  font-size: var(--tamano-p);
  font-weight: 400;
  line-height: 1.6;
}

/* ==== ENCABEZADO Y LOGO ===== */
.logo-seed {
  max-width: 210px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/*
.top-header-seed {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 15px 0;
} */

.top-header-seed {
  background-color: transparent !important;
  border-bottom: none !important;
  padding: 15px 0;
}

/* Ajustes del menú */
header {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: normal !important; 
}

header object {
  height: 165px !important; 
  display: block !important;
  vertical-align: bottom !important;
}

.slider-master-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

 /* MENU */ 
 
/*  Logo + Transparencia  */
.top-header-seed {
  background: linear-gradient(135deg, #771139 0%, #8a1443 50%, #9e1b4e 100%) !important;
  padding: 20px 40px !important;
  border-bottom: none !important;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-seed {
  max-width: 190px !important;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}

/* BOTÓN DE TRANSPARENCIA */
.btn-transparencia-custom {
  background: #ffffff !important;
  border: 1.5px solid #C49955 !important;
  color: #771139 !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 1.5px;
  border-radius: 25px !important;
  padding: 9px 26px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease-in-out;
  text-transform: uppercase;
}

.btn-transparencia-custom:hover {
  background: #fdfaf7 !important;
  color: #550C28 !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
 
.seed-immersive-header {
  position: relative;
  width: 100%;
  margin: 0 !important;
   
  background-color: #f4f6fa !important;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2)), 
    url('/images/menu/textprub2.png') !important;
    
  background-size: 100% 185% !important;      
  background-position: center top !important;
  background-repeat: no-repeat !important;
  
  padding: 12px 0 12px 0 !important;
  box-sizing: border-box;
  border-bottom: 3px solid #C49955 !important;
  
}

 
.navbar-seed {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: 2300px;
  margin: 0 auto !important;
  padding: 0.4rem 1rem !important;
  position: relative;
  z-index: 20;
}

.navbar-seed .navbar-nav {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap !important; 
  gap: 5px;
}

.navbar-seed .nav-item {
  margin: 4px 2px;
  white-space: nowrap;
}
 
.navbar-seed .nav-link {
  color: #555555 !important;
  font-weight: 600 !important;
  font-size: 0.77rem !important;
  padding: 0.55rem 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: #FFFFFF !important;
  border: 1px solid #E2D5C3 !important;
  transition: all 0.25s ease;
  position: relative;
  display: block;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.navbar-seed .nav-link:hover {
  color: #771139 !important;
  border-color: #771139 !important;
  background: #FCFAF7 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(119, 17, 57, 0.12);
}

/* PESTAÑA ACTIVA  */
.navbar-seed .nav-item.active .nav-link,
.navbar-seed .nav-link.active {
  background: #FFFFFF !important;
  color: #771139 !important;
  font-weight: 700 !important;
  border: 1.5px solid #771139 !important;
  box-shadow: 0 4px 12px rgba(119, 17, 57, 0.15) !important;
  transform: translateY(-1px);
}

.navbar-seed .nav-link::after {
  display: none !important;
}

 
 
 
 

/*
.navbar-seed {
  background: linear-gradient(135deg, #6b1432 0%, #8c1b3f 100%) !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.navbar-seed .navbar-nav {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 4px; 
}

.navbar-seed .nav-item {
  margin: 0;
  white-space: nowrap;
}

.navbar-seed .nav-link {
  font-family: var(--fuente-montserrat) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 700;
  font-size: 0.88rem !important; /* Aumentado de 0.78rem a 0.88rem  
  padding: 1rem 0.95rem !important; /* Más alto y ancho  
  text-transform: uppercase;
  letter-spacing: 0.5px; /* Ligera separación entre letras  
  transition: all 0.2s ease;
  position: relative;
  display: block;
}

.navbar-seed .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.15);
}

.navbar-seed .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--color-dorado-oficial);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-seed .nav-link:hover::after,
.navbar-seed .nav-item.active .nav-link::after {
  width: 100%;
}

.navbar-seed .nav-item.active .nav-link {
  color: #ffffff !important;
  background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .navbar-seed .navbar-nav {
    flex-wrap: wrap !important;
    flex-direction: column;
    gap: 0;
  }
  .navbar-seed .nav-link {
    font-size: 0.9rem !important;
    padding: 0.85rem 1rem !important;
    text-align: center;
  }
}
*/

 
/* ======= FOOTER ======= */
#footer-container, 
.site-footer {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  position: relative; 
  background-color: #f4f6fa !important;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)), 
    url('/images/menu/textprub2.png') !important; 
  background-size: 100% 100% !important;     
  background-repeat: no-repeat !important;  
  background-position: center top !important;
  
  color: #334155 !important;
  border-top: none !important;
  font-size: 0.88rem;
  line-height: 1.6;
  
  
  border-top: 1px solid #C49955 !important;
   
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto !important;
  padding: 35px 20px 50px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
  box-sizing: border-box;
}

/* Tarjetas  */
.site-footer .footer-col {
  background: rgba(255, 255, 255, 0.94) !important; 
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1.5px solid #C49955 !important;
  border-radius: 18px !important;
  padding: 28px 15px !important;
  box-shadow: 0 10px 25px rgba(119, 17, 57, 0.08);
  transition: all 0.3s ease;
}

.site-footer .footer-col:hover {
  border-color: #771139 !important;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(119, 17, 57, 0.15);
}

/* Títulos limpios  */
.footer-col-title {
  color: #771139 !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
 
.site-footer .footer-col p, 
.site-footer .footer-col span,
.site-footer .footer-col li {
  color: #000000 !important;
  font-size: 0.86rem !important;
  opacity: 1 !important;
}

.footer-info-list, .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info-item {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
    color: var(--color-guinda-principal) !important;

}

.footer-links li {
  margin-bottom: 5px;
  
}

.footer-links li [class^="icon-"], 
.footer-links li [class*=" icon-"] {
   
  color: var(--color-guinda-principal) !important;
}

.footer-links a {
  color: #000000 !important;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #771139 !important;
  font-weight: 600;
  transform: translateX(4px);
}

.footer-map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #C49955;
  height: 210px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.footer-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* BARRA INFERIOR   */
.footer-bottom {
  width: 100%;
  background: #771139 !important;
  padding: 20px 0;
  border-top: 2px solid #C49955;
  font-size: 0.82rem;
  color: #ffffff !important;
}

.footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-sizing: border-box;
}

.footer-bottom-container div,
.footer-bottom-links a {
  color: #ffffff !important;
  text-decoration: none;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a:hover {
  color: #C49955 !important;
}

@media (max-width: 768px) {
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ===  CONTACTO DEL FOOTER  ==== */
.footer-info-list li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.footer-info-list li [class^="icon-"], 
.footer-info-list li [class*=" icon-"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 1rem !important;
  color: var(--color-guinda-principal) !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.footer-info-list li span.text,
.footer-info-list li span:not([class^="icon-"]) {
  line-height: 1.4 !important;
  display: inline-block !important;
}



 
  
/* ======= Estructura general ======= */
.hero-portada-seed {
    position: relative;
    min-height: 380px;
    padding: 70px 0;
    background: rgba(30, 10, 18, 0.45) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-decor-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}
.hero-decor-shape.shape-1 { width: 280px; height: 280px; background: #D4B595; top: -60px; left: -60px; }
.hero-decor-shape.shape-2 { width: 320px; height: 320px; background: #6B3A46; bottom: -80px; right: -60px; }

/* Caja Guinda */
.hero-content-box {
    position: relative;
    z-index: 2;
    background: rgba(92, 29, 51, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
}
.hero-content-box h1 { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }

/* caja Beige*/
.hero-content-box.hero-beige {
    background: rgba(238, 226, 212, 0.60);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: #1a1a1a;
}

.hero-content-box.hero-beige h1 { 
    color: #000000; 
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6); 
}

/* =======CARRUSEL SPLIT VERTICAL ======= */
.slider-master-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}

.custom-split-slider {
  position: relative !important;
  width: 100% !important;
  height: clamp(420px, 40vh, 520px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.custom-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1 !important;
  transition: opacity 0.5s ease-in-out !important;
}

.custom-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3 !important;
}

.custom-slide .custom-side {
  position: absolute !important; 
  top: 0 !important;
  width: 50% !important; 
  height: 100% !important;
  background-size: cover !important; 
  background-repeat: no-repeat !important;
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.custom-slide .left-side {
  left: 0 !important;
  background-position: center left !important;
  transform: translateY(-100%) !important;
}

.custom-slide .right-side {
  right: 0 !important;
  background-position: center right !important;
  transform: translateY(100%) !important;
}

.custom-slide.active .left-side,
.custom-slide.active .right-side {
  transform: translateY(0) !important;
}

.custom-slide.exit-animation .left-side { transform: translateY(100%) !important; }
.custom-slide.exit-animation .right-side { transform: translateY(-100%) !important; }

.custom-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  z-index: 2 !important;
}

.custom-slide-content {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important; 
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 5 !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease-in-out !important;
  transition-delay: 0.2s !important; 
}

.custom-slide.active .custom-slide-content {
  opacity: 1 !important;
}

.custom-slider-text {
  font-size: var(--tamano-h2) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: center !important;
  line-height: 1.4 !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8) !important;
  margin-bottom: 20px !important;
}

.custom-slider-btn {
  display: inline-block !important;
  padding: 5px 22px !important;
  background-color: var(--color-guinda-principal) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3) !important;
  transition: background-color 0.2s !important;
  font-size: var(--tamano-btn) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.custom-slider-btn:hover { 
  background-color: var(--color-guinda-oscuro) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .custom-slide .custom-side { width: 100% !important; height: 50% !important; }
  .custom-slide .left-side { left: 0 !important; top: 0 !important; transform: translateX(-100%) !important; }
  .custom-slide .right-side { left: 0 !important; top: 50% !important; transform: translateX(100%) !important; }
  .custom-slide.active .left-side, .custom-slide.active .right-side { transform: translateX(0) !important; }
}

/* vFLUIDEZ Y PUNTOS DE NAVEGACIÓN  */

/* vFLUIDEZ Y PUNTOS DE NAVEGACIÓN  */

.custom-split-slider {
  position: relative !important;
  background-color: #1a1a1a !important; 
}

.custom-slide.active {
  z-index: 3 !important;
}

.custom-slide.exit-animation {
  z-index: 4 !important;
}

.custom-slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.custom-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background-color: var(--color-blanco) !important;
  border: none !important;
  opacity: 0.85 !important;
  transition: all 0.3s ease !important;
  outline: none !important; 
  -webkit-tap-highlight-color: transparent; 
  cursor: pointer;
}

.custom-dot:hover {
  opacity: 1 !important;
}

.custom-dot:focus,
.custom-dot:active {
  outline: none !important;
  box-shadow: none !important;
}

.custom-dot.active {
  background-color: var(--color-gris-medio) !important;
  opacity: 1 !important;
  transform: scale(1.2) !important; 
  border: none !important;
}



/* ==== Sección de resultados historicos */
.historical-section-light {
  position: relative;
  background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 100%);
  padding: 50px 25px 25px 25px; /* contenedor */
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
  border-bottom 1px solid #e5e7eb;
}

.relative-index {
  position: relative;
  z-index: 2;
}

/* Orbes de luz difuminada pra al fondo */
.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.orb-guinda {
  width: 450px;
  height: 450px;
  background: rgba(119, 17, 57, 0.07);
  top: -100px;
  left: -50px;
}

.orb-dorado {
  width: 400px;
  height: 400px;
  background: rgba(184, 151, 90, 0.12);
  bottom: -80px;
  right: -50px;
}

/* Header neutro y limpio */
.historical-header .section-title {
  color: var(--color-guinda-principal) !important;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 35px;
  border-bottom: none !important;
}

.historical-header .section-subtitle {
  color: var(--color-negro);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 35px;
}

/* Tarjeta Principal (Año Actual) */
.featured-result-card {
  background: linear-gradient(135deg, #771139 0%, #991547 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 25px 35px;
  max-width: 520px;
  margin: 0 auto 40px auto;
  box-shadow: 0 10px 25px rgba(119, 17, 57, 0.25);
  text-align: center;
}

.year-badge {
  background-color: var(--color-dorado-oficial);
  color: #000000;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 8px 22px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
}
 
.featured-data {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 15px;
}

.data-box {
  flex: 1 1 50%;
  width: 50%;
  text-align: center;
  padding: 0 10px;
}

.data-box .label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  opacity: 0.9;
  text-align: center;
  margin-bottom: 6px;
}

.giant-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  text-align: center;
}

.vertical-divider {
  width: 1px;
  height: 55px;
  background-color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

/* Carrusel blanco*/
.historical-carousel-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px;
  /* backdrop-filter: blur(10px); */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  max-width: 1150px;
  width: 100%;
  margin: 0 auto; 
}

.historical-scroll-grid {
  display: flex;
  gap: 15px;
  overflow-x: hidden;
  padding: 10px 5px;
  white-space: nowrap;
}

/* Tarjetas resaltado*/
.historical-item {
  min-width: 135px; /* ancho*/
  background: #f8f9fa; /* fondo*/
  border 1px solid #e5e7eb; /* borde */
  border-radius: 12px; /* borde redondeado*/
  padding: 18px 14px; /* relleno interno*/
  text-align: center; /* alineación*/
  transition: all 0.3s ease; /* animación */
  flex-shrink: 0;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); */
}

.historical-item:hover {
  background: #ffffff;
  border-color: var(--color-guinda-principal);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(119, 17, 57, 0.12);
}

.historical-item .year {
  font-weight: 800;
  color: var(--color-guinda-principal);
  font-size: 1.15rem;
  border-bottom: 2px solid var(--color-dorado-oficial);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.historical-item .rank-value, 
.historical-item .progress-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-negro);
  margin-bottom: 4px;
}

.historical-item small {
  display: block;
  font-size: 0.78rem; /* Tamaño de letra */
  font-weight: 600;
  color: var(--color-negro);
  margin-bottom: 6px;
}

/* ====== Tarjetas para PE ===== */

.compact-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 25px;
  padding: 35px;
  margin-bottom: 35px;
  text-align: center;
  box-shadow: 0 3px 30px rgba(0, 0, 0, 0.19); 
	/* 40px extiende el degradado de forma suave y amplia
	   0 sombra centrada a los lados
	   10 prpyecta la sombra hacia abajo */
  /*  transition: box-shadow 0.3 ease, transform 0.3 ease; 
  box-sizing: border-box;*/
}

/* Cursor sobre el bloque */
.compact-section:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 4px 20px rgba(0, 0, 0, 0,.06);
}

.compact-title {
  color: #991547;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-beige-oficial);
}

.compact-subtitle {
  color: var(--color-negro);
  font-size: 1rem;
  max-width: 970px;
  margin: 0 auto 28px auto;
  line-height: 1.5;
  
}

/* Acomodo de trjetas automaitco */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  max-width: 1050px;
  margin: 0 auto;
}

/* tarjeta/botón para texto corto */
.action-card {
  background-color: #f8f9fa;
  border: 1px solid #DDC9A3;
  border-left: 4px solid var(--color-guinda-principal);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.action-card:hover {
  background-color: #ffffff;
  border-left-color: var(--color-dorado-oficial);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(119, 17, 57, 0.1);
}

.action-card-text {
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--color-negro);
  text-align: left;
  line-height: 1.3;
}

.action-card-icon {
  font-size: 1rem;
  color: var(--color-guinda-principal);
  flex-shrink: 0;
  background-color: rgba(153, 21, 71, 0.08);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.action-card:hover .action-card-icon {
  background-color: var(--color-guinda-principal);
  color: #ffffff;
}


/* ===== SECCIÓN DE DOCUMENTOS / TARJETAS DE DESCARGA ====== */
.contenedor-principal {
  max-width: 1200px;
  margin: 25px auto 50px auto;
  padding: 0 20px;
}  

/* espaciado uniforme y limpio para la sección interna / avances*/
.ftco-section.ftco-counter {
    padding: 30px 0 50px 0 !important;
}

/* Separador estético unificado  */
.separador-seccion {
    width: 100%;
    height: 1px;
    background-color: transparent;
    margin: 35px 0;
}

/* ===== ESTILOS EXCLUSIVOS PARA LA VISTA DE INDICADORES ===== */
.seccion-indicadores-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 20px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.tarjeta-indicador-anio {
  background-color: #f8f9fa !important;
  border: 1px solid var(--color-beige-oficial) !important;
  border-left: 4px solid var(--color-guinda-principal) !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.tarjeta-indicador-anio:hover {
  background-color: #ffffff !important;
  border-left-color: var(--color-dorado-oficial) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(119, 17, 57, 0.12) !important;
}

.tarjeta-indicador-texto {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--color-guinda-principal) !important;
}

.tarjeta-indicador-icono {
  font-size: 1.2rem !important;
  color: var(--color-guinda-principal) !important;
  background-color: rgba(153, 21, 71, 0.08) !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}




/* Tarjeta contenedora   */
.seccion-documentos {
  background: #ffffff;
  
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

 .titulo-seccion-doc {
  color: var(--color-guinda-principal);
  align-items: center;
  text-align: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-beige-oficial);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Grid de las tarjetas de descarga */
.grid-tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* Tarjeta individual de descarga */
.tarjeta-documento {
  background: #f8f9fa;
  border: 1px solid #DDC9A3;
  border-left: 4px solid var(--color-guinda-principal);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: all 0.3s ease;
}

.tarjeta-documento:hover {
  background: #ffffff;
  border-left-color: var(--color-dorado-oficial);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(119, 17, 57, 0.08);
}

.doc-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.doc-icon {
  font-size: 1.8rem;
  color: var(--color-guinda-principal);
  flex-shrink: 0;
  line-height: 1;
}

.nombre-enlace {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-gris-oscuro);
  line-height: 1.4;
}

/* Botón de la tarjeta */
.boton-consultar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-end;
  background-color: var(--color-guinda-principal);
  color: #ffffff !important;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.boton-consultar:hover {
  background-color: var(--color-guinda-oscuro);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(153, 21, 71, 0.3);
}






/* ======== DIRECTORIO ========== */

.directory-main-section {
    background-color: #f8f9fa;
    padding: 70px 0 30px 0;
}

.directory-subtitle {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #9b2242;
    display: block;
    margin-bottom: 12px;
}

.directory-title {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 2.2rem;
}

.directory-description {
    color: #666;
    font-size: 1.1rem;
}
 
.modern-dir-card {
    background: #ffffff;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modern-dir-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}
 
.card-header-box {
    padding: 35px;
    color: white;
    position: relative;
}

.card-tinto {
    background: linear-gradient(135deg, #9b2242 0%, #70152e 100%);
}

.card-dark {
    background: linear-gradient(135deg, #3C3C3B 0%, #252524 100%);
}

.card-bg-icon {
    position: absolute;
    right: 25px;
    top: 25px;
    opacity: 0.15;
    font-size: 5.5rem;
    line-height: 1;
}

.card-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-heading {
    color: white;
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.4;
}

 
.card-body-box {
    background: #ffffff;
    padding: 35px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.card-text-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}
 
.directory-contact-section {
    background-color: #f8f9fa;
    padding-top: 10px;
    padding-bottom: 80px;
}

.central-contact-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    padding: 45px 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-header-badge {
    display: inline-block;
    background: #fdf2f4;
    color: #9b2242;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-header-desc {
    color: #777;
    font-size: 0.95rem;
    margin: 0;
}

.contact-card-item {
    transition: transform 0.3s ease;
}

.contact-card-item:hover {
    transform: translateY(-3px);
}

.contact-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
	font-size: 3rem;
}

.icon-red {
    background: #fdf2f4;
    color: #9b2242;
}

.icon-gradient {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #9b2242 0%, #70152e 100%);
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(155, 34, 66, 0.2);
}

.icon-green {
    background: #eef9f2;
    color: #27ae60;
}

.contact-item-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-item-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.phone-link-main {
    color: #9b2242;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-block;
}

.phone-link-main:hover,
.email-link-main:hover {
    opacity: 0.8;
}

.phone-extensions {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-top: 4px;
    font-weight: 700;
}

.email-link-main {
    color: #9b2242;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    word-break: break-all;
}

.contact-divider {
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

@media (max-width: 768px) {
    .contact-card-item {
        border: none !important;
        margin-bottom: 25px;
    }
}

/* ===== CONÓCENOS ====== */

.conocenos-hero {
  background: linear-gradient(135deg, #771139 0%, #991547 50%, #550C28 100%);
  color: #ffffff;
  padding: 55px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--color-dorado-oficial);
}

.conocenos-hero-title {
  font-size: var(--tamano-h1);
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.conocenos-hero-subtitle {
  font-size: var(--tamano-h3);
  color: var(--color-beige-oficial);
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
}

/* Grids de Atribuciones y Fases */
.conocenos-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.conocenos-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

/* Tarjeta de Fase de Implementación */
.fase-step-card {
  background: #f8f9fa;
  border: 1px solid var(--color-beige-oficial);
  border-left: 4px solid var(--color-guinda-principal);
  border-radius: 16px;
  padding: 25px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.fase-step-card:hover {
  background: #ffffff;
  border-left-color: var(--color-dorado-oficial);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(119, 17, 57, 0.12);
}

.fase-badge-num {
  display: inline-block;
  background-color: var(--color-dorado-oficial);
  color: #000000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.8px;
}

.fase-step-title {
  color: var(--color-guinda-principal);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.fase-step-desc {
  color: var(--color-gris-oscuro);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Lista decorada para el CEE */
.cee-member-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  margin-bottom: 10px;
}

.cee-member-icon {
  color: var(--color-guinda-principal);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.atribuciones-lista-completa {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-height: 520px;
        overflow-y: auto;
        padding-right: 5px;
      }
      .atribucion-fila-moderna {
        background-color: #f8f9fa;
        border: 1px solid var(--color-beige-oficial);
        border-left: 3px solid var(--color-dorado-oficial);
        border-radius: 8px;
        padding: 10px 14px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        transition: all 0.2s ease;
      }
      .atribucion-fila-moderna:hover {
        background-color: #ffffff;
        border-left-color: var(--color-guinda-principal);
        transform: translateX(3px);
        box-shadow: 0 3px 10px rgba(119, 17, 57, 0.08);
      } 
	  
.conocenos-stack-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-top: 25px;
      }

      /* Grid interno para acomodar los 3 miembros del CEE ordenadamente en la tarjeta superior */
      .miembros-grid-3 {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
      }

      /* Grid para las atribuciones en dos columnas dentro de su tarjeta ancha */
      .atribuciones-grid-amplio {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 15px;
      }
	  
	  
	  
/* ========================================================== */
/* ESTILOS PARA LA SECCIÓN DE MIEMBROS DEL CEE (CONÓCENOS) */
/* ========================================================== */
.miembros-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

@media (max-width: 991px) {
  .miembros-grid-3 {
    grid-template-columns: 1fr;
  }
} 
 

.miembro-card-visual {
  background: #f8f9fa;
  border: 1px solid var(--color-beige-oficial);
  border-radius: 14px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.miembro-card-visual:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(119, 17, 57, 0.1);
  border-color: var(--color-guinda-principal);
}

.miembro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.miembro-titulo {
  color: var(--color-guinda-principal);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.miembro-icono-wrap {
  width: 50px;
  height: 50px;
  background: rgba(153, 21, 71, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.miembro-icono-wrap.dorado {
  background: rgba(196, 153, 85, 0.15);
}

.miembro-icono-wrap.dorado span {
  color: var(--color-dorado-oficial) !important;
}

.miembro-icono-wrap span {
  font-size: 1.6rem;
  color: var(--color-guinda-principal);
}

.miembro-texto-desc {
  font-size: 0.88rem;
  color: var(--color-gris-oscuro);
  text-align: justify;
  line-height: 1.6;
  margin: 0;
}