@import "./libs/all.min.css";

/***
====================================================================
  Fonts
====================================================================
***/

@font-face {
    font-family: Corra-Montserra-Bold;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Regular;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-SemiBold;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Semibold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Medium;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Medium.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Black;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Black.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Light;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Light.ttf);
    font-display: swap;
}

/* Fuente Gilroy */
@font-face {
    font-family: Gilroy-Black;
    src: url(./fuentes/Gilroy/Gilroy-Black.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-BlackItalic;
    src: url(./fuentes/Gilroy/Gilroy-BlackItalic.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Bold;
    src: url(./fuentes/Gilroy/Gilroy-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-BoldItalic;
    src: url(./fuentes/Gilroy/Gilroy-BoldItalic.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-ExtraBold;
    src: url(./fuentes/Gilroy/Gilroy-ExtraBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Light;
    src: url(./fuentes/Gilroy/Gilroy-Light.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Medium;
    src: url(./fuentes/Gilroy/Gilroy-Medium.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Regular;
    src: url(./fuentes/Gilroy/Gilroy-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Thin;
    src: url(./fuentes/Gilroy/Gilroy-Thin.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-SemiBold;
    src: url(./fuentes/Gilroy/Gilroy-SemiBold.ttf);
    font-display: swap;
}

/***
====================================================================
  Reset
====================================================================
***/

/* ********** Custom Properties ********** */
:root {
    --color-1: #5f1b2d;
    --color-2: #ececec;
    --color-3: #b2b2b1;
    --color-4: #070719;
    --color-5: #55555b;
    --color-6: #8e91a2;
    --color-7: #E9BC90;
    --claro: #dfebe9;
    --rojo: #a8123e;
    --arena: #f1f1f1;
    --color1: #5f1b2d;
    --color2: #861e34;
    --color3: #af1731;
    --color4: #c79b66;
    --color5: #0c312d;
    --color6: #246257;
    --color7: #609b84;
    --color8: #484747;
    --color-1: #5f1b2d;
    --color-2: #ececec;
    --color-3: #b2b2b1;
    --color-4: #070719;
    --color-5: #55555b;
    --color-6: #8e91a2;
    --color-7: #E9BC90;
    --claro: #dfebe9;
    --colorGris: #999999;
    --menu-text: #a7a7be;
    --color-white: #f8fafc;
    --colorBlanco: #ffffff;
    --font: Corra-Montserra-Light;
    --font-title: Corra-Montserra-Bold;
    --font-size: 1rem;
    --bg-body: white;
    --bg-header: rgba(231, 226, 218, 0.4);
    --bg-content: #f5f5f6;
    --bg-separator: #ffffff;
    --text-color: #333;
    --menu-active-bg: #212d3a;
    --menu-bg: #263544;
    /* Estilos para la navegación */
    --light-gray: #f4f4f4;
    --border-color: #eaeaea;
    --shadow-nav: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.1);
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-4);
}

a {
    text-decoration: none;
    color: var(--color4);
}

a:hover {
    text-decoration: none;
    outline: none;
}

body {
    color: var(--text-color);
    font-family: var(--font);
    font-size: var(--font-size);
    /* line-height: 20px; */
    margin: 0;
    overflow-x: hidden;
    background-color: var(--bg-content);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    margin: 0;
    font-family: 'Gilroy-Bold', sans-serif;
}


figure {
    margin: 0;
}

img,
canvas {
    max-width: 100%;
    height: auto;
}

input,
button,
select,
textarea {
    font-weight: 400;
    font-size: 0.9375rem;
}

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

button:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

p {
    position: relative;
    color: #696b7e;
    font-weight: 400;
    margin: 0;
    font-family: 'Corra-Montserra-Regular', sans-serif;
}

.nav-link:focus-visible,
.accordion-button:focus {
    box-shadow: none;
}

.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    /* Fondo semi-transparente */
    padding: 20px;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Aplica un efecto de desenfoque al fondo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.popup-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.enterado-btn {
    padding: 10px 20px;
    background-color: black;
    /* Azul */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.enterado-btn:hover {
    background-color: var(--color-5);
    /* Cambia el color al pasar el ratón sobre el botón */
}

/***
====================================================================
  Componentes
====================================================================
***/

.btn-ir {
    display: block;
    width: 120px;
    margin: 0 auto 3rem;
    background-color: var(--color-1);
    color: white;
}

@media (min-width: 768px) {
    .btn-ir {
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
    }

    .btn-ir:hover {
        background-color: transparent;
        border: 1px solid var(--color-1);
        color: var(--color-1);
    }
}

/* .card-image */
.card-image {
    border: 1px solid #e6e6ea;
    position: relative;
    background-color: var(--color-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 450px;
    perspective: 1000px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-image img {
    transition: scale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-image:hover {
    transform: scale(1.05);
    z-index: 1;
}

.card-image .card__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--color-1);
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-image:hover .card__content {
    transform: rotateX(0deg);
}

.card-image .card__title {
    margin: 0;
    font-size: 20px;
    color: white;
    font-weight: 700;
}

.card-image:hover img {
    scale: 0;
}

.card-image .card__description {
    margin: 10px 0 10px;
    font-size: 1rem;
    color: white;
    line-height: 1.4;
    text-align: justify;
}

.card-image .card__description p {
    margin: 10px 0 10px;
    font-size: 1rem;
    color: white;
    line-height: 1.4;
    text-align: justify;
}

.card-image .card__description ul {
    color: white;
    font-size: 12px;
    color: white;
    line-height: 1.4;
}

.card-image .card__button {
    display: inline-block;
    width: fit-content;
    padding: 0.375rem 0.75rem;
    border-radius: 5px;
    background: var(--color-3);
    border: none;
    color: white;
    font-size: 0.8rem;
}

/* loader */

.loader-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: var(--color-4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-wrap.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid rgba(106, 26, 50, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 150px;
    font-family: sans-serif;
    font-size: 16px;
    color: var(--color-6);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--color-6);
    box-shadow: 0 0 20px rgb(106, 27, 50, 0.15);
}

.loader::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--color-6);
    border-right: 3px solid var(--color-6);
    border-radius: 50%;
    animation: animateC 2s linear infinite;
}

.loader span {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate 2s linear infinite;
}

.loader span::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-1);
    top: -8px;
    right: -4px;
    box-shadow: 0 0 20px 5px rgb(106, 27, 50, 0.8);
}

@keyframes animateC {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}

/* funciones accesibilidad */
.btn-accesible {
    left: 30px;
    bottom: 30px;
    z-index: 1200 !important;
}

.btn-accesible.gray-scale {
    background-color: #2d2d2d;
}

.btn-accesible svg {
    fill: white;
}

.container-accesible {
    position: fixed;
    left: 30px;
    bottom: 30px;
    background-color: var(--color-1);
    color: white;
    text-align: center;
    z-index: 1199;
    border-radius: 8px;
    border-bottom-left-radius: 28px;
    padding: 8px 8px 60px;
    transform: scale(0);
    transform-origin: 15% 100%;
    transition: transform 0.3s;
}

.container-accesible .fs-5 {
    color: white;
    font-size: 20px;
}

.container-accesible.gray-scale {
    background-color: #2d2d2d;
}

.btn-accesible:hover~.container-accesible,
.container-accesible:hover {
    transform: scale(1);
}

.container-accesible .options {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.container-accesible .options button {
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 8px;
    padding: 8px;
    font-size: 13px;
    color: white;
}

.container-accesible .options button:focus-visible {
    outline: none;
}

.container-accesible .options button svg {
    fill: white;
    font-size: 24px;
    margin-bottom: 8px;
}

/* .scroll-top */
.scroll-top {
    right: 30px;
    bottom: 0;
    z-index: 1200 !important;
    transform: translateY(120px);
    transition: transform 0.5s ease-in-out;
}

.scroll-top.scroll {
    transform: translateY(-105px);
}

@media (min-width: 992px) {
    .scroll-top.scroll {
        transform: translateY(-30px);
    }
}

/* darkmode */

.btn-darkmode {
    overflow: hidden;
    position: relative;
}

.btn-darkmode span {
    position: absolute;
    bottom: 8px;
}

.btn-darkmode .svg-sun,
.btn-darkmode .svg-moon {
    position: absolute;
    transition: transform 0.3s;
}

.btn-darkmode .svg-sun {
    transform: translate(0, calc(0px - 8px));
}

.btn-darkmode .svg-moon {
    transform: translate(0, calc(500% - 8px));
}

.btn-darkmode.active .svg-sun {
    transform: translate(0, calc(500% - 8px));
}

.btn-darkmode.active .svg-moon {
    transform: translate(0, calc(0px - 8px));
}

/* card-download */

.card-download {
    border: 1px solid #e6e6ea;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    background: var(--color-white);
}

.card-download {
    margin-bottom: 1.5rem;
}

.card-download a i {
    display: inline-block;
    width: 20px;
}

.card-download ul {
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 5%);
    padding: 15px 20px;
    border-radius: 0 0 5px 5px;
}

.card-download ul li {
    display: flex;
    margin-bottom: 0.5rem;
}

.card-download ul i {
    color: var(--color-1);
    width: 2rem;
    text-align: center;
}

.card-download span {
    background-color: var(--color-1);
    border-radius: 5px;
    color: white;
    display: block;
    font-weight: 300;
    padding: 0.3rem 0.6rem;
    text-align: center;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
}

.card-download .date {
    background: #f2f2f2;
    color: var(--color-4);
    padding: 12px 20px 8px 30px;
    font-size: 2.8125rem;
    line-height: 1.3;
    border-radius: 5px 5px 0 0;
    font-family: var(--font-title);
    text-align: center;
}

.card-download .head {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}

/* .card-sesion */
.card-sesion {
    margin-bottom: 1.5rem;
    background-color: white;
    /* padding: 1rem; */
}

.card-sesion .date {
    display: inline-block;
    width: 100%;
    background-color: var(--bg-body);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    border-radius: 5px;
    border-left: 5px solid var(--color-1);
    margin-bottom: 14px;
    padding: 7px 20px;
    font-size: 1.125rem;
    line-height: 26px;
}

.card-sesion .date i {
    color: var(--color-1);
}

.card-sesion .resources {
    padding: 1rem;
}

.card-sesion .resources h5 {
    margin-bottom: 0.5rem;
}

.card-sesion .resources ul {
    display: flex;
}

.card-sesion .resources ul li:first-child {
    width: 150px;
}

.card-sesion .resources ul a {
    color: var(--text-color);
}

.card-sesion .resources ul i {
    color: var(--color-1);
}

/* .header-component */

/* ==========================================================================
   2. HEADER: NIVEL SUPERIOR (LOGOS)
   ========================================================================== */
.site-header {
    position: relative;
    background-color: var(--colorBlanco);
    z-index: 1000;
}

.header-logos-container {
    background-color: white;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-logos-container .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logos-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.logos-group.left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.logos-group.left img {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.logos-group.right {
    flex-shrink: 0;
}

.logos-group.right img {
    height: 70px;
    width: auto;
    display: block;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger-menu.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-menu.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* ==========================================================================
   3. NAVEGACIÓN PRINCIPAL (STICKY & DESKTOP)
   ========================================================================== */
.main-nav {
    background-color: var(--colorBlanco);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}

.main-nav.is-sticky {
    box-shadow: var(--shadow-nav);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;

    a {
        text-decoration: none;
        color: inherit;
    }
}

.mini-brand {
    display: none;
}

.nav-links {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;

}

.nav-links>li>a {
    display: block;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links>li>a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--color2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
    color: var(--color2);
}

.nav-links>li>a:hover::after,
.nav-links>li>a.active::after {
    width: 70%;
}

/* ==========================================================================
   4. MENÚS DESPLEGABLES (DROPDOWNS) - DESKTOP
   ========================================================================== */
.dropdown {
    position: relative;
}

.dropdown-content li {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: white;
    box-shadow: var(--shadow-dropdown);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 12px 20px;
    font-size: 0.9em;
    font-weight: 500;
    display: block;
    color: var(--text-color);
    border-bottom: 1px solid #f9f9f9;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--color2);
}

.dropdown-content-nested {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background-color: white;
    box-shadow: var(--shadow-dropdown);
    border-radius: 0 8px 8px 8px;
    padding: 10px 0;
    z-index: 101;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.dropdown-nested:hover .dropdown-content-nested {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.arrow-right {
    float: right;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}


/* ==========================================================================
   5. RESPONSIVE / MÓVIL (max-width: 991px)
   ========================================================================== */
@media (max-width: 991px) {

    .header-logos-container {
        padding: 8px 0;
    }

    .logos-wrapper {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        width: calc(100% - 40px);
    }

    .logos-group.left img {
        height: 32px;
    }

    .logos-group.right img {
        height: 32px;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding-top: 80px;
        display: block;
    }

    .main-nav.active {
        transform: translateX(0);
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-container {
        display: block;
        padding-bottom: 40px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links>li>a {
        padding: 15px 25px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.05rem;
    }

    .nav-links>li>a::after {
        content: none;
    }

    .dropdown-content,
    .dropdown-content-nested {
        display: none;
        position: static;
        float: none;
        box-shadow: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    /* En móvil táctil, el "hover" funciona al hacer tap */
    /* .dropdown:hover .dropdown-content,
        .dropdown-nested:hover .dropdown-content-nested {
            display: block;
        } */

    .dropdown-content a {
        padding-left: 40px;
        color: #555;
        font-weight: 500;
    }

    .dropdown-content-nested {
        background-color: #f0f0f0;
        border-top: 1px solid #ddd;
    }

    .dropdown-content-nested li a {
        padding-left: 60px;
        font-size: 0.9em;
    }

    .arrow-right {
        transform: rotate(90deg);
    }

    .dropdown:hover>.dropdown-content,
    .dropdown-nested:hover>.dropdown-content-nested {
        display: none !important;
    }

    .dropdown.active>.dropdown-content {
        display: block !important;
    }

    .dropdown-nested.active>.dropdown-content-nested {
        display: block !important;
    }
}

/* ==========================================================================
   6. MÓVIL PEQUEÑO (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {

    .logos-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .logos-group.left img {
        height: auto;
        max-height: 40px;
        max-width: 220px;
    }

    .logos-group.right {
        margin-left: 0;
    }
}

/* Terminan estilos de Header w/logos */

/* Estilos de Sección About en Página de Inicio */
.hero-sei {
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.75)),
        url('../images/background/back-about.webp');
    background-size: cover;
    background-position: center center;
    padding: 7rem 0;
    color: #ffffff;
    min-height: calc(100vh - 90px);
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    background-attachment: fixed;
}

/* Estilo del "badge" o etiqueta pequeña */
.hero-sei .hero-badge {
    font-family: 'Gilroy-SemiBold', sans-serif;
    display: inline-block;
    color: var(--claro);
    padding: 0.3rem 1.1rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Estilo del título principal */
.hero-sei .hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-7);
}

/* Estilo del texto de párrafo */
.hero-sei .hero-text {
    font-size: 1.2rem;
    color: var(--claro);
    margin-bottom: 2rem;
    max-width: 500px;
    font-family: 'Gilroy-Medium', sans-serif;
}

/* Estilo del botón personalizado */
.hero-sei .btn-sei {
    background-color: var(--color4);
    color: var(--color-5);
    font-weight: 600;
    padding: 0.75rem 5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    font-size: 1.1rem;
    font-family: 'Gilroy-SemiBold', sans-serif;
}

.hero-sei .btn-sei:hover {
    background-color: #dcb085;
    color: #000;
    transform: translateY(-2px);
}

/* Estilo del logo */
.hero-sei .hero-logo {
    max-width: 550px;
}

/*--------------------------------------------------------------
# Responsividad (Móvil)
--------------------------------------------------------------*/
@media (max-width: 767.98px) {

    /* Breakpoint 'md' de Bootstrap */
    .hero-sei {
        padding: 4rem 0;
        text-align: center;
    }

    .hero-sei .hero-title {
        font-size: 2.2rem;
    }

    .hero-sei .hero-text {
        max-width: 100%;
    }

    .hero-sei .hero-logo {
        margin-top: 2.5rem;
        max-width: 250px;
    }
}

/* Termina sección de About en Página de Inicio */

/*--------------------------------------------------------------
# Sección Información Estadística
--------------------------------------------------------------*/

/* Estilo para el fondo de la sección (gris claro) */
.info-estadistica {
    background-color: #f9f9fa;
    padding: 5rem 0;
}

/* Estilo del "badge" gris */
.info-estadistica .info-badge {
    font-family: 'Gilroy-SemiBold', sans-serif;
    display: inline-block;
    color: var(--color-4);
    padding: 0.3rem 1.1rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(54, 52, 52, 0.5);
}

/* Título principal (color magenta/vino) */
.info-estadistica .info-title {
    font-family: 'Gilroy-Bold', sans-serif;
    color: var(--color3);
    font-weight: 700;
    font-size: 3rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

/* La tarjeta blanca */
.info-estadistica .info-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Título de cada tarjeta (color naranja/café) */
.info-estadistica .info-card .card-title {
    color: var(--color-7);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Párrafo de la tarjeta */
.info-estadistica .info-card p {
    color: #555;
    font-family: 'Gilroy-Regular', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    min-height: 200px;
}

/* Botón (Tarjeta 1) */
.info-estadistica .info-card .btn-card-portal {
    background-color: var(--color4);
    padding: 0.6rem 4rem;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    color: var(--color-5);
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Gilroy-SemiBold', sans-serif;
}

.info-estadistica .info-card .btn-card-portal:hover {
    background-color: #dcb085;
    transform: translateY(-2px);
}

/* Lista de enlaces (Tarjetas 2 y 3) */
.info-estadistica .info-links {
    list-style: none;
    padding-left: 0;
    margin-top: auto;
}

.info-estadistica .info-links li {
    margin-bottom: 0.8rem;

}

.info-estadistica .info-links a {
    display: flex;
    font-family: 'Gilroy-SemiBold', sans-serif;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
}

.info-estadistica .info-links a:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    color: #c77e4a;
}

/* Icono de descarga */
.info-estadistica .info-links i {
    color: #c77e4a;
    font-size: 1.25rem;
}

/*--------------------------------------------------------------
# Responsividad (Móvil)
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
    .info-estadistica {
        padding: 3rem 0;
    }

    .info-estadistica .info-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Termina sección de estadística en inicio */

/*--------------------------------------------------------------
# Sección Cifras Geográficas
--------------------------------------------------------------*/
.cifras-geograficas {
    background-image:
        linear-gradient(rgba(10, 25, 15, 0.85), rgba(10, 25, 15, 0.85)),
        url('../images/background/back-geo.webp');
    background-size: cover;
    background-position: center center;
    padding: 5rem 0;
    color: #ffffff;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    background-attachment: fixed;
}

.cifras-geograficas .info-badge {
    font-family: 'Gilroy-SemiBold', sans-serif;
    display: inline-block;
    color: var(--color-white);
    padding: 0.3rem 1.1rem;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(232, 229, 229, 0.5);
}

/* Título de la sección (blanco) */
.cifras-geograficas .geo-title {
    font-weight: 700;
    font-size: 3rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    color: var(--color-7);
}

/* EL CONTENEDOR DE LA TARJETA
*/
.cifras-geograficas .geo-card {
    position: relative;
    min-height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
}

/* ESTILO DE AMBAS CARAS (frontal y trasera)
*/
.cifras-geograficas .geo-card-front,
.cifras-geograficas .geo-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CARA FRONTAL (Las cifras) - ESTADO DEFAULT
*/
.cifras-geograficas .geo-card-front {
    opacity: 1;
    transform: translateY(0);
    align-items: center;
}

.cifras-geograficas .geo-number {
    font-family: 'Gilroy-ExtraBold', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.cifras-geograficas .geo-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color4);
}

/* CARA TRASERA (La info) - ESTADO DEFAULT
*/
.cifras-geograficas .geo-card-back {
    opacity: 0;
    transform: translateY(30px);
    justify-content: flex-start;
}

/* EL EFECTO HOVER
*/
.cifras-geograficas .geo-card:hover .geo-card-front {
    opacity: 0;
    transform: translateY(-30px);
}

.cifras-geograficas .geo-card:hover .geo-card-back {
    opacity: 1;
    transform: translateY(0);
}


/* ESTILOS DEL CONTENIDO DE LA CARA TRASERA
*/
.cifras-geograficas .geo-card-back .card-title {
    color: var(--color4);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.cifras-geograficas .geo-card-back p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cifras-geograficas .geo-card-back .geo-list {
    padding-left: 0;
    list-style: none;
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.cifras-geograficas .geo-card-back .btn-geo {
    background-color: var(--color4);
    color: var(--color-5);
    font-size: 1.1rem;
    font-family: 'Gilroy-SemiBold', sans-serif;
    padding: 0.6rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
}

.cifras-geograficas .geo-card-back .btn-geo:hover {
    background-color: #dcb085;
    transform: translateY(-2px);
}

/* Termina sección de Info Geográficas en Inicio */

/*--------------------------------------------------------------
# Sección Publicaciones
--------------------------------------------------------------*/
.publicaciones {
    background-color: #f9f9fa;
    padding: 5rem 0;
}

/* Reutilizamos el badge gris de la sección 2 */
.publicaciones .info-badge {
    font-family: 'Gilroy-SemiBold', sans-serif;
    display: inline-block;
    color: var(--color-4);
    padding: 0.3rem 1.1rem;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(54, 52, 52, 0.5);
}

/* Tarjeta contenedora blanca para los tabs */
.tabs-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Título (Infografías, Boletines) */
.section-title-alt {
    color: var(--color3);
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Gilroy-Black', sans-serif;
}

/* Contenido del panel (imagen + botón) */
.tab-content .tab-pane {
    text-align: center;
}

.tab-content img {
    border-radius: 8px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2);
}

/* Botón "Ver más" */
.btn-publicacion {
    font-family: 'Gilroy-SemiBold', sans-serif;
    background-color: var(--color4);
    color: var(--color-5);
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1.5rem;
}

.btn-publicacion:hover {
    background-color: #dcb085;
    transform: translateY(-2px);
}

.btn-publicacion:hover {
    background-color: #dcb085;
    transform: translateY(-2px);
}


/*--------------------------------------------------------------
# Estilos de Tabs Horizontales (Infografías)
--------------------------------------------------------------*/
.nav-tabs-horizontal {
    border-bottom: none;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.nav-tabs-horizontal .nav-item {
    margin-right: 0.5rem;
}

.nav-tabs-horizontal .nav-link {
    border: none;
    background: transparent;
    color: #555;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
}

/* ESTADO ACTIVO (Horizontal) */
.nav-tabs-horizontal .nav-link.active {
    background-color: #343a40;
    /* Color gris oscuro/negro */
    color: #fff;
}

.nav-tabs-horizontal .nav-link:hover:not(.active) {
    color: #000;
}


/*--------------------------------------------------------------
# Estilos de Tabs Verticales (Boletines)
--------------------------------------------------------------*/

/* Etiqueta del año "2025" */
.year-label {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color4);
    margin-bottom: 2rem;
}

/* Hacemos que la nav sea vertical */
.nav-tabs-vertical {
    border-left: none;
    display: flex;
    flex-direction: column;
}

.nav-tabs-vertical .nav-item {
    width: 100%;
}

.nav-tabs-vertical .nav-link {
    border: none;
    background: transparent;
    color: #555;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    margin-bottom: 0.25rem;
}

/* ESTADO ACTIVO (Vertical) */
.nav-tabs-vertical .nav-link.active {
    background-color: #343a40;
    color: #fff;
}

.nav-tabs-vertical .nav-link:hover:not(.active) {
    color: #000;
}

/*--------------------------------------------------------------
# Responsividad (Móvil)
--------------------------------------------------------------*/
@media (max-width: 991.98px) {

    .nav-tabs-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }

    .year-label {
        text-align: center;
    }

    .publicaciones .col-md-8 {
        width: 100%;
    }
}

/* Termina sección de publicaciones */

/* Inician estilos de Otros Sistemas */
/*--------------------------------------------------------------
# Sección Sistemas de Información
--------------------------------------------------------------*/
.sistemas-info {
    background-image:
        linear-gradient(rgba(74, 18, 41, 0.9), rgba(74, 18, 41, 0.9)),
        url('../images/background/back-sistemas.webp');
    background-size: cover;
    background-position: center center;
    padding: 5rem 0;
    color: #ffffff;
    background-attachment: fixed;
}

.sistemas-info .info-badge {
    font-family: 'Gilroy-SemiBold', sans-serif;
    display: inline-block;
    color: var(--color-white);
    padding: 0.3rem 1.1rem;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(232, 229, 229, 0.5);
}

/* Título de la sección (blanco) */
.sistemas-info .sistemas-title {
    font-weight: 700;
    font-size: 3rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    color: var(--color4);
}

/* Logo de la izquierda */
.sistemas-info .ceigep-logo {
    max-width: 350px;
    margin-bottom: 1.5rem;
}

/* Texto de la izquierda */
.sistemas-info .sistemas-text {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;

}

/* Reutilizamos el botón .btn-sei de la primera sección para "Ver más" */
.sistemas-info .btn-sei {
    background-color: var(--color4);
    color: var(--color-5);
    font-weight: 600;
    padding: 0.75rem 5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    font-size: 1.1rem;
    font-family: 'Gilroy-SemiBold', sans-serif;
}

.sistemas-info .btn-sei:hover {
    background-color: #dcb085;
    color: #000;
    transform: translateY(-2px);
}


/*--------------------------------------------------------------
# Columna Derecha - Lista de Botones
--------------------------------------------------------------*/

/* Subtítulo "OTROS SISTEMAS..." */
.sistemas-info .sistemas-subtitle {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    /* Un poco de espacio entre letras */
    margin-bottom: 1.5rem;
}

/* El contenedor de la lista de botones */
.sistemas-info .sistemas-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Espacio entre cada botón */
}

/* Estilo del botón personalizado */
.sistemas-info .btn-sistema {
    display: flex;
    justify-content: space-between;
    /* Texto a la izq, icono a la der. */
    align-items: center;

    background-color: rgba(0, 0, 0, 0.25);
    /* Fondo oscuro semitransparente */
    border: 2px solid var(--color4);
    /* Borde beige (el mismo color del botón "Ver más") */
    color: #fff;

    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    /* Píldora */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sistemas-info .btn-sistema span {
    flex-grow: 1;
    /* Asegura que el texto ocupe el espacio */
}

.sistemas-info .btn-sistema i {
    font-size: 1rem;
    /* Tamaño del icono */
    margin-left: 1rem;
}

/* Efecto Hover */
.sistemas-info .btn-sistema:hover {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: #fff;
    /* Borde cambia a blanco */
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Responsividad (Móvil)
--------------------------------------------------------------*/
@media (max-width: 991.98px) {

    /* Breakpoint 'lg' de Bootstrap */
    /* En móvil, la columna izquierda (logo/texto) debe centrarse */
    .sistemas-info .col-lg-6:first-child {
        text-align: center;
    }

    .sistemas-info .ceigep-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .sistemas-info .sistemas-text {
        max-width: 100%;
    }
}

/* Termina sección de Otros Sistemas */

.header-component {
    background-image: var(--hero-image);
    position: relative;
    width: 100%;
    padding: 5rem 1rem 1.4rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header-component:before {
    position: absolute;
    content: "";
    background: -webkit-linear-gradient(90deg,
            rgba(37, 38, 56, 0.8) 15%,
            rgba(0, 0, 0, 0.3) 100%);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.header-component .title {
    position: relative;
    margin-bottom: 50px;
    font-family: var(--font-title);
    font-size: 2.5rem;
    line-height: 48px;
    text-align: center;
    color: white;
}

.header-component .breadcrumb .breadcrumb-item {
    color: white;
    z-index: 1;
}

.header-component .breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: white;
    content: var(--bs-breadcrumb-divider, ">");
}

@media (min-width: 768px) {
    .descargar-programas {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .header-component {
        padding-top: 10rem;
    }

    .header-component .title {
        margin-bottom: 100px;
    }

    .descargar-programas {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* item-download */

.item-download {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    background-color: #f8fafc;
    border: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

.item-download>div:first-child {
    display: flex;
    align-items: center;
    width: 100%;
}

.item-download .image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    line-height: 60px;
    background: #f2f2f2;
    text-align: center;
    border-radius: 50%;
}

.item-download .image img {
    width: 34px;
}

.item-download .text {
    flex: 1 1 auto;
    padding: 0.5rem;
}

.item-download .icon {
    position: relative;
    line-height: 60px;
    min-width: 60px;
    text-align: center;
    height: 60px;
    width: 60px;
}

.item-download .icon::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 40px;
    top: 10px;
    left: 0;
    background-color: var(--color-6);
}

.item-download .icon a {
    font-size: 1.5625rem;
    color: var(--color-6);
}

/* .sec-title */

.sec-title {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

.sec-title.text-center .title-shape {
    margin: 0 auto;
}

.sec-title h1,
.sec-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    max-width: 80%;
}

.sec-title .subtitle-shape {
    color: var(--color-1);
    font-size: var(--font-size);
    font-weight: 700;
    text-transform: uppercase;
    margin: 14px auto;
}

.sec-title .title-shape {
    position: relative;
    background-color: var(--color-1);
    width: 50px;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
}

.sec-title .title-shape:before {
    position: absolute;
    content: "";
    background-color: var(--color-1);
    width: 4px;
    height: 4px;
    left: -8px;
    top: 0;
}

.sec-title .title-shape:after {
    position: absolute;
    content: "";
    background-color: var(--color-1);
    width: 4px;
    height: 4px;
    right: -8px;
    top: 0;
}

@media (min-width: 768px) {
    .sec-title {
        text-align: left;
    }

    .sec-title .title-shape {
        margin-left: 12px;
    }

    .sec-title:not(.text-center) .title-shape:after {
        position: relative;
    }
}

/***
====================================================================
  Utilidades
====================================================================
***/

.evaluation-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.5s ease-in-out;

    h5 {
        color: var(--color8);
    }

    p {
        color: var(--color8);
    }
}

.emoji-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.emoji-wrapper {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.emoji-wrapper:hover {
    transform: scale(1.15);
}

.emoji {
    font-size: 3rem;
    filter: grayscale(50%);
    transition: filter 0.2s ease;
}

.emoji-wrapper:hover .emoji {
    filter: grayscale(0%);
}

.emoji-label {
    font-size: 0.8rem;
    color: #495057;
    margin-top: 5px;
}

.evaluation-container.thank-you {
    background-color: #28a745;
    border-color: #218838;
}

.evaluation-container.thank-you p {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
}

.no-min-h {
    min-height: inherit !important;
}

.versalita {
    font-variant: small-caps;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-outline-azul {
    color: #3b5998 !important;
    border-color: #3b5998 !important;

    &:hover {
        color: var(--color-white) !important;
        background-color: #3b5998 !important;
        border-color: #3b5998 !important;
    }
}

.texto-color-4 {
    color: var(--color-4);

    &:hover {
        color: var(--color6);

    }
}

.w-20px {
    width: 20px;
}

.bg-1 {
    background-color: var(--color-1) !important;
    color: white !important;
}

.btn-option {
    position: fixed;
    display: grid;
    justify-content: center;
    align-content: center;
    background-color: var(--color-1);
    border: none;
    border-radius: 50%;
    padding: 16px;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 20px;
    line-height: 1;
    z-index: 1202;
}

.card {
    background-color: white !important;
}

/* .container {
    max-width: 1200px;
} */

.ls-none {
    list-style: none !important;
    margin-left: -1rem !important;
}

.none {
    display: none;
}

.error {
    border: 1px solid var(--bs-form-invalid-border-color);
    padding-right: calc(1.6em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.4em + 0.1875rem) center;
    background-size: calc(0.8em + 0.375rem) calc(0.8em + 0.375rem);
}

/***
====================================================================
  Estilos Generales
====================================================================
***/



/* ***** Menu ***** */

/* --- Estilos para el Menú Sticky --- */

/* Estilo que se aplica al <nav> cuando haces scroll */
.nav-sticky {
    position: fixed;
    /* La propiedad clave para que quede fijo en la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Asegura que esté por encima de otro contenido */

    /* Pequeña sombra para darle profundidad */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    /* Animación suave para la transición */
    animation: slideDown 0.5s ease-out;
}

/* Estilo opcional para el <header> principal para ajustar el padding */
.site-header.header-scrolled {
    /* Puedes usar esto para reducir el padding del header cuando se hace scroll, si lo necesitas */
    padding-top: 0;
    padding-bottom: 0;
}

/* Evita que el contenido de la página "salte" bruscamente 
   cuando el menú se vuelve sticky y sale del flujo normal. 
   Ajusta este valor a la altura de tu menú. */
.site-header {
    /* Altura mínima para que el espacio no colapse */
    min-height: 80px;
    /* Ajusta este valor a la altura de tu header */
    transition: padding 0.3s ease-in-out;
}


/* Animación para que el menú aparezca deslizando desde arriba */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* .footer */
.footer {
    background-color: var(--color-4);
}

.footer-bottom {
    width: 100%;
    background: var(--color-5);
    padding: 22px 0;
    color: white;
    text-align: center;
}

.footer-top {
    display: block;
    padding: 2.8rem 0 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .footer-logo {
    margin-bottom: 1rem;
}

.footer-top .footer-logo img {
    max-width: 170px;
    width: 100%;
    filter: brightness(0) invert(1);
}

.footer-top .top-inner {
    font-size: 0.8rem;
}

.footer-top .top-inner__text h3 {
    font-family: var(--font-title);
    font-size: 1.125rem;
}

.footer-top .top-inner__text ul {
    margin-left: 1.5rem;
}

.footer-top .top-inner__text.mapa-sitio {
    text-align: left;
}

.footer-top .top-inner__text.mapa-sitio details ul {
    margin-left: 2rem;
}

.footer-top .top-inner__text.mapa-sitio li {
    list-style: initial;
    margin: initial;
    padding: initial;
}

.footer-top .top-inner>div {
    position: relative;
    color: white;
    margin-bottom: 1rem;
}

.footer-top .top-inner__text a {
    color: white;
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    .footer .top-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .footer .top-inner>div:first-child {
        grid-column: span 4;
    }
}

@media screen and (min-width: 992px) {
    .footer .top-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer .top-inner>div:first-child {
        grid-column: span 1;
    }
}

/***
====================================================================
  Inicio
====================================================================
***/

/* section carousel-principal */
.carousel-principal img {
    /* animation: myAnim 5s ease 0s 1 normal forwards; */
    height: 100%;
    object-fit: contain;
}

.carousel-principal .carousel-item {
    height: 250px;
}

.carousel-principal .carousel-item:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--color-4);
    top: 0;
    right: 0;
    opacity: 0.3;
    z-index: 1;
}

.carousel-principal button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    /* border: 2px solid #ffffff; */
    border-radius: 5px;
}

.carousel-principal button.carousel-control-prev {
    left: 35px;
}

.carousel-principal button.carousel-control-next {
    right: 35px;
}

@keyframes myAnim {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

@media (min-width: 768px) {
    .carousel-principal .carousel-item {
        height: 656px;
    }
}

@media (min-width: 992px) {
    .carousel-principal button {
        width: 60px;
        height: 60px;
        transition: border-color 0.3s, background-color 0.3s;
    }

    .carousel-principal button:hover {
        border-color: var(--color-1);
        background-color: var(--color-1);
    }

    .carousel-principal button.carousel-control-prev {
        left: 50px;
    }

    .carousel-principal button.carousel-control-next {
        right: 50px;
    }

    .carousel-principal .carousel-item img {
        height: 100%;
        object-fit: cover;
    }
}

/* section-indicators */
.section-indicators {
    position: relative;
    z-index: 2;
    margin-top: -50px;
    padding: 0 1.5rem;
}

.section-indicators .auto-container {
    background-color: var(--bg-body);
    border-radius: 8px;
    box-shadow: 0 10px 15px 0 rgb(0 0 0 / 30%);
    overflow: hidden;
}

.section-indicators .sec-title {
    margin-top: 2rem;
}

.section-indicators .single-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.section-indicators .single-item:nth-child(1n + 2) {
    padding: 1rem;
}

.section-indicators .single-item:last-child {
    margin-bottom: 2rem;
}

.section-indicators .single-item .img-informe {
    display: block;
    margin: 0 auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transform: translateY(120%);
}

.section-indicators .single-item .img-informe img {
    width: 100%;
    border-radius: 8px;
}

.section-indicators .single-item h3 {
    font-family: var(--font-title);
    margin-top: 1rem;
}

.section-indicators .single-item h3::after {
    content: "";
    display: block;
    height: 3px;
    width: 30%;
    margin: 0.5rem auto 1rem;
    background-color: var(--color-1);
}

.section-indicators .single-item p {
    font-size: 0.8rem;
    text-align: justify;
    text-align-last: center;
    max-width: 80%;
    margin: 0 auto;
    letter-spacing: 1px;
}

.section-indicators .single-item .btn {
    background-color: var(--color-1);
    color: white;
    display: block;
    width: 80%;
    margin: 1rem auto 0;
}

@media (min-width: 576px) {
    .section-indicators .auto-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: -125px;
    }

    .section-indicators .single-item:first-child {
        grid-column: span 2;
    }

    .section-indicators .single-item .img-informe {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 0;
    }

    .section-indicators .single-item p {
        text-align-last: left;
    }
}

@media (min-width: 768px) {
    .section-indicators .auto-container {
        grid-template-columns: 0.8fr 0.6fr 0.6fr;
    }

    .section-indicators .single-item:first-child {
        grid-column: span 3;
    }

    .section-indicators .single-item .img-informe {
        margin: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 0;
        height: 100%;
        width: 100%;
    }

    .section-indicators .single-item .btn {
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
    }

    .section-indicators .single-item .btn:hover {
        background-color: transparent;
        border: 1px solid var(--color-1);
        color: var(--color-1);
    }
}

/* .section-estadisica */
.section-estadisica {
    background-image: url('../images/background/back-maizes.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* background-attachment: fixed; */
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    /* margin-top: 5rem; */
}

.section-estadisica .section-documents {
    background-image: none;
    margin: 0 auto;
}

.section-estadisica .section-documents::before {
    background-color: transparent;
}

.section-documents .card-image {
    grid-column: span 2;
    margin-bottom: 3rem;
}

.section-estadisica .section-documents .introduction h3 {
    text-align: center;
}

.section-estadisica .section-documents .introduction p {
    text-align: justify;
    text-align-last: center;
}

.section-estadisica .section-documents .downloads>div {
    margin-bottom: 0;
    padding: 0.5rem;
}

.section-estadisica .section-documents .censos .downloads>div {
    box-shadow: none;
}

.section-estadisica .censos .card {
    margin-bottom: 2rem;
}

.section-estadisica .censos .card .card-header {
    background-color: var(--color-1);
    color: white;
    text-align: center;
}

.section-estadisica .censos .card .card-body {
    padding: 0;
}

.section-documents .downloads .text {
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .section-estadisica .section-documents .censos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

@media (min-width: 992px) {
    .section-estadisica .section-documents {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section-estadisica .section-documents .downloads {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .section-estadisica .section-documents .censos {
        grid-template-columns: repeat(3, 1fr);
        grid-column: span 2;
        margin: 3rem auto;
    }
}

/* .section-geografia */
.section-geografia {
    position: relative;
    padding-top: 4rem;
}

.section-geografia .bg-layer {
    background-image: var(--bg-layer-var);
    position: absolute;
    left: 0;
    bottom: 110px;
    width: 100%;
    height: 570px;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-geografia .geografia-cards {
    position: relative;
    margin-bottom: -110px;
    z-index: 1;
}

.section-geografia .geografia-numeros {
    position: relative;
}

.section-geografia .geografia-numeros .inner-box {
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-geografia .geografia-numeros .inner-box .count-number {
    font-size: 3rem;
    line-height: 60px;
    color: var(--color-4);
    font-weight: 700;
    margin-bottom: 5px;
}

.section-geografia .geografia-numeros .inner-box .text {
    font-size: var(--font-size);
    line-height: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-1);
}

@media (min-width: 576px) {
    .section-geografia .geografia-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .section-geografia .geografia-numeros .content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
    }
}

@media (min-width: 768px) {
    .section-geografia {
        padding-top: 3rem;
    }

    .section-geografia .geografia-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* .section-infografias */
.section-infografias {
    position: relative;
    padding-top: 220px;
}

.section-infografias .bg-layer {
    position: absolute;
    background-color: var(--claro);
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 513px;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section-infografias .bg-layer:before {
    position: absolute;
    content: "";
    /* background: var(--color8); */
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    opacity: 0.94;
}

.tabs-infografias {
    position: relative;
    margin-top: 3rem;
}

.tabs-infografias .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tabs-infografias .nav .nav-link.active {
    background-color: var(--bg-body);
    color: var(--color-4);
}

.tabs-infografias .nav .nav-link {
    width: 100%;
    padding: 1.5rem 1rem;
    border-radius: 0;
    background: var(--color-5);
    color: var(--color-white);
}

.tabs-infografias .tab-content>.active {
    padding: 2rem 0;
}

.tabs-infografias .inner-box {
    padding: 10px 10px;
    border-radius: 5px;
    border: 1px solid #e0e0ea;
}

.tabs-infografias .inner-box .image-box {
    position: relative;
    overflow: hidden;
    background: var(--color-4);
    border-radius: 5px 5px 0 0;
}

.tabs-infografias .inner-box .image-box:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(0,
            rgba(8, 8, 23, 0.8) 10%,
            rgba(8, 8, 23, 0) 50%);
    left: 0;
    bottom: 0;
    z-index: 1;
}

.tabs-infografias .inner-box .image-box .content-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    right: 0;
    z-index: 2;
}

.tabs-infografias .inner-box .image-box .content-box .post-date {
    position: absolute;
    top: 0;
    right: 0;
}

.tabs-infografias .inner-box .image-box .content-box .post-date h3 {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
    background-color: #f5f5f6;
    color: var(--color-1);
    text-align: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 23px;
    padding: 26px 0 20px 0;
    top: -15px;
    right: -15px;
}

.tabs-infografias .inner-box .image-box .content-box .post-date h3:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 100px;
    left: -5px;
    top: -5px;
    border: 1px solid #f5f5f6;
    border-radius: 50%;
}

.tabs-infografias .inner-box .image-box .content-box .post-date h3 span {
    display: block;
    font-size: var(--font-size);
    text-transform: uppercase;
    font-weight: 500;
}

.tabs-infografias .inner-box .image-box .content-box .text {
    position: absolute;
    left: 0;
    bottom: 20px;
    padding: 0 20px;
}

.tabs-infografias .inner-box .image-box .content-box .text .category {
    display: inline-block;
    background-color: var(--color-1);
    color: white;
    padding: 2px 7px;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.tabs-infografias .inner-box .image-box .content-box .text h4 {
    font-size: 1.25rem;
    line-height: 30px;
    font-weight: 700;
}

.tabs-infografias .inner-box .image-box .content-box .text h4 a {
    color: var(--color-white);
}

.tabs-infografias .inner-box .lower-content {
    background-color: var(--bg-body);
    padding: 19px 20px 16px 20px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 10px 30px 0 rgb(0 0 0 / 5%);
}

.tabs-infografias .inner-box .lower-content ul {
    display: flex;
    justify-content: space-between;
}

.section-infografias .items-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-infografias .items-container .element-item {
    margin: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .tabs-infografias .nav {
        display: flex;
        flex-direction: row;
        column-gap: 5px;
    }

    .tabs-infografias .nav .nav-item {
        flex: 1 1 auto;
    }

    .tabs-infografias .tab-content>.active {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .section-infografias .items-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .section-infografias {
        padding-top: 220px;
    }

    .tabs-infografias .inner-box .image-box:before {
        transition: height 0.3s ease-in-out;
    }

    .tabs-infografias .inner-box:hover .image-box:before {
        height: 800%;
    }

    .tabs-infografias .nav .nav-link {
        border-radius: 5px 5px 0 0;
    }

    .section-infografias .items-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* .section-logos */
.section-logos {
    position: relative;
    padding: 63px 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.section-logos:before {
    position: absolute;
    content: "";
    background: var(--bg-content);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.9;
}

.section-logos .splide__slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/***
====================================================================
  Histórico del Anuario Estadístico
====================================================================
***/
.historico_anuario .container-cards-historics {
    margin: 3rem auto;
}

@media (min-width: 576px) {
    .historico_anuario .container-cards-historics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .historico_anuario .container-cards-historics {
        grid-template-columns: repeat(3, 1fr);
    }
}

/***
====================================================================
  Formatos México en Cifras
====================================================================
***/
.section-documents {
    background-image: var(--bg-image);
    position: relative;
    width: 100%;
    padding: 2rem 1rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 3rem 0;
}

.section-documents::before {
    position: absolute;
    content: "";
    background: #f2f2f2;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.9;
}

.section-documents .introduction {
    background-image: var(--bg-introduction);
    position: relative;
    padding: 1rem;
    width: 100%;
    background-size: auto;
    text-align: justify;
    /* background-repeat: no-repeat; */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.section-documents .introduction::before {
    position: absolute;
    content: "";
    background: var(--color-1);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.9;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.section-documents .introduction h3,
.section-documents .introduction p {
    color: white;
    position: relative;
}

.section-documents .introduction h3 {
    margin-bottom: 1rem;
}

.section-documents .downloads {
    position: relative;
}

.section-documents .downloads>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 1.6rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    margin-bottom: 0.9rem;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.section-documents .downloads>div:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.section-documents>.downloads>div {
    &:hover {
        background-color: var(--color-3);
        color: white;
    }
}

/* .section-documents>.downloads>div:last-child .icon a {
    color: white;
} */

.section-documents .downloads .image,
.mexico_cifras .formatos .list-group-item .image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    line-height: 60px;
    background: #f2f2f2;
    text-align: center;
    border-radius: 50%;
}

.section-documents .downloads .image img,
.mexico_cifras .formatos .list-group-item .image img {
    width: 34px;
}

.mexico_cifras .formatos .list-group-item .text {
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-documents .downloads .icon,
.mexico_cifras .formatos .list-group-item .icon {
    position: relative;
    line-height: 60px;
    min-width: 60px;
    text-align: center;
    height: 60px;
    width: 60px;
}

.section-documents .downloads .icon a,
.mexico_cifras .formatos .list-group-item .icon a {
    font-size: 1.5625rem;
    color: var(--color-6);
}

.section-documents .downloads .icon::before,
.mexico_cifras .formatos .list-group-item .icon::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 60px;
    left: 0;
    background-color: var(--color-6);
}

.mexico_cifras .formatos {
    margin-bottom: 3rem;
}

.mexico_cifras .formatos .nav-pills .nav-link.active {
    background-color: var(--color-1);
}

.mexico_cifras .formatos .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.mexico_cifras .formatos .list-group-item:first-child {
    grid-column: span 2;
    margin: auto;
    max-width: 460px;
}

.mexico_cifras .formatos .list-group-item>div:first-child {
    display: flex;
    align-items: center;
}

.mexico_cifras .formatos .list-group-item .icon::before {
    height: 40px;
    top: 10px;
}

@media (min-width: 576px) {
    .mexico_cifras .formatos .list-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        row-gap: 1rem;
    }
}

@media (min-width: 992px) {
    .section-documents {
        position: relative;
        gap: 2rem;
        margin: 6rem auto;
    }

    .section-documents .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }

    .section-documents .introduction {
        padding: 2rem;
        border-radius: 8px;
    }

    .section-documents .introduction::before {
        border-radius: 8px;
    }

    .section-documents .introduction>div {
        position: relative;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        padding: 2rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* .section-documents .downloads>div {
        i {
            &:hover {
                background-color: var(--color-3);
                color: white;
            }
        }

        &:hover {
            background-color: var(--color-3);
            color: white;
        }
    } */

    .section-documents .downloads>div:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .section-documents .downloads {
        padding: 3rem 1rem;
    }

    .section-documents .downloads .text {
        flex: 1 1 auto;
        margin: auto 1rem;

        /* p {
            &:hover {
                color: white;
            }
        } */
    }
}

/***
====================================================================
  Censos Nacionales de Gobierno
====================================================================
***/
.censos_nacionales .accordion-button:not(.collapsed) {
    background-color: var(--color-1);
    color: white;
}

.censos_nacionales .accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.censos_nacionales .nav-link {
    color: var(--color-4);
}

.censos_nacionales .nav-tabs .nav-link.active,
.censos_nacionales .tab-content>.active {
    background-color: var(--color-white);
}

.censos_nacionales .tab-content>.active {
    padding: 2rem 1rem;
}

.censos_nacionales .tab-content h3 {
    text-align: center;
}

.censos_nacionales .tab-content h3::after {
    background-color: var(--color-1);
    content: "";
    display: block;
    height: 2px;
    width: 70%;
    margin: 0.5rem auto;
}

.censos_nacionales .tab-content hr,
.censos_nacionales .accordion-item hr {
    border-top: var(--color-1) solid;
    opacity: 1;
}

.censos_nacionales .tab-content object,
.censos_nacionales .accordion-item object {
    margin: 2rem auto 0.5rem;
}

.censos_nacionales .tab-content .cuestionarios,
.censos_nacionales .accordion-item .cuestionarios-2 {
    margin-top: 2rem;
}

.censos_nacionales .tab-content .cuestionarios>div,
.censos_nacionales .accordion-item .cuestionarios-2>div {
    margin: 0 auto 2rem;
    width: 60%;
}

.censos_nacionales .tab-content .cuestionarios img,
.censos_nacionales .accordion-item .cuestionarios-2 img {
    display: block;
    margin: 0 auto 1rem;
}

.censos_nacionales .tab-content .cuestionarios h4,
.censos_nacionales .accordion-item .cuestionarios-2 h4 {
    font-size: var(--font-size);
    text-align: center;
}

@media (min-width: 576px) {

    .censos_nacionales .tab-content .cuestionarios,
    .censos_nacionales .accordion-item .cuestionarios-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .censos_nacionales .tab-content .cuestionarios {
        grid-template-columns: repeat(3, 1fr);
    }

    .censos_nacionales .content-columns-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .censos_nacionales .content-columns-2 h3::after {
        background-color: var(--color-1);
        content: "";
        display: block;
        height: 2px;
        width: 70%;
        margin: 0.5rem auto;
    }

    .censos_nacionales .content-columns-2 hr {
        display: none;
    }

    .censos_nacionales .content-columns-2 object {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .censos_nacionales .tab-content .cuestionarios {
        grid-template-columns: repeat(4, 1fr);
    }
}

/***
====================================================================
  Censos Puebla
====================================================================
***/
.censos .accordion-button:not(.collapsed) {
    background-color: var(--color-1);
    color: white;
}

.censos .accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.censos hr {
    border-top: var(--color-1) solid;
    opacity: 1;
}

/***
====================================================================
  Boletines
====================================================================
***/
.boletines .filters-button-group {
    text-align: center;
    margin-bottom: 2rem;
}

.boletines .btn.is-checked {
    background-color: var(--color-1);
    color: white;
}

.items-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    column-gap: 1rem;
    row-gap: 2rem;
}

.items-container .element-item {
    position: relative;
    /* width: calc(50% - 0.5rem); */
    /* margin-bottom: 2.5rem; */
    min-height: 200px;
    transition: all 0.3s ease-out;
}

/* .items-container .element-item:not(:nth-child(2n + 2)) {
    margin-right: 1rem;
} */

.items-container .element-item.filter {
    transform: scale(0);
    visibility: hidden;
    opacity: 0;
    order: 1;
}

.items-container .element-item .image-box {
    position: relative;
    overflow: hidden;
    background: var(--color-4);
    border-radius: 5px;
}

.items-container .element-item .image-box img {
    border-radius: 5px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.items-container .element-item:hover .image-box img {
    opacity: 0.1;
    transform: scale(1.05);
}

.items-container .element-item .overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1;
}

.items-container .element-item .overlay-content .link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    bottom: -35px;
}

.items-container .element-item .overlay-content .link a {
    position: relative;
    display: inline-block;
    background-color: var(--color-1);
    font-size: 1rem;
    color: white;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    transform: scale(0, 0);
    transition: transform 0.3s ease;
}

.items-container .element-item:hover .overlay-content .link a {
    transform: scale(1, 1);
}

.items-container .element-item:hover .overlay-content .link a:before {
    position: absolute;
    content: "";
    width: 90px;
    height: 90px;
    left: -10px;
    top: -10px;
    background: rgba(105, 26, 50, 0.5);
    border-radius: 50%;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 50%, 0% 0%);
}

.items-container .element-item .overlay-content .text {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: white;
    padding: 0 15px;
    opacity: 0;
    visibility: hidden;
    transition: top all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.items-container .element-item .overlay-content .text a {
    color: var(--color-white);
}

.items-container .element-item:hover .overlay-content .text {
    top: 50%;
    opacity: 1;
    visibility: visible;
}

@media (min-width: 576px) {
    .items-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* .items-container .element-item {
        width: calc(33.33% - 1rem);
        margin-right: 0;
    } */

    /* .items-container .element-item:not(:nth-child(2n + 2)) {
        margin-right: 0;
    } */

    /* .items-container .element-item:not(:nth-child(3n + 3)) {
        margin-right: 1rem;
    } */
}

@media (min-width: 768px) {
    /* .items-container .element-item {
        width: calc(25% - 1.5rem);
        margin-right: 0;
    }

    .items-container .element-item:not(:nth-child(3n + 3)) {
        margin-right: 0;
    }

    .items-container .element-item:not(:nth-child(4n + 4)) {
        margin-right: 1.5rem;
    } */
}

/***
====================================================================
  Infografías
====================================================================
***/
.infografias .gallery a p {
    text-align: center;
    margin: 0.5rem auto 1rem;
}

@media (min-width: 576px) {
    .infografias .gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .infografias .gallery img {
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
        transition-delay: unset;
        transition-duration: 0.3s;
        transition-property: box-shadow;
    }

    .infografias .gallery a:hover img {
        box-shadow: 7px 7px 8px rgba(0, 0, 0, 0.6);
    }

    .infografias .gallery p {
        transition-delay: unset;
        transition-duration: 0.3s;
        transition-property: text-shadow;
    }

    /* .infografias .gallery a:hover p {
        text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
    } */
}

@media (min-width: 992px) {
    .infografias .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/***
====================================================================
  Acerca del CEIGEP
====================================================================
***/
.acerca .img-logo-ceigep {
    display: block;
    margin: auto;
    max-height: 150px;
}

.acerca .paragraph-acerca {
    margin-top: 2rem;
    text-align: justify;
    text-align-last: center;
}

.acerca .mision-objetivos {
    margin: 2.5rem auto;
}

.acerca .mision-objetivos>div {
    margin-bottom: 2rem;
}

.acerca .mision-objetivos>div h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.acerca .mision-objetivos>div h4::after {
    content: "";
    background-color: var(--color-1);
    display: block;
    height: 5px;
    width: 50%;
    margin: 0.5rem auto 1rem;
}

.acerca .mision-objetivos>div p {
    text-align: justify;
    margin-bottom: 0.5rem;
}

.acerca .table-responsive {
    height: 600px;
    overflow-y: auto;
}

.acerca .table caption {
    background-color: var(--color-5);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.7rem;
}

.acerca .table>thead>tr>th {
    background-color: var(--color-1);
    color: white;
    font-weight: 400;
    position: sticky;
    top: 0;
}

@media (min-width: 768px) {
    .acerca .paragraph-acerca {
        max-width: 80%;
        margin: 2rem auto 0;
    }

    .acerca .mision-objetivos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .acerca .mision-objetivos {
        grid-template-columns: repeat(3, 1fr);
    }
}

/***
====================================================================
  Normatividad
====================================================================
***/
.normatividad h3 {
    margin-top: 2rem;
    text-align: center;
}

.normatividad h3::after {
    content: "";
    background-color: var(--color-1);
    display: block;
    height: 2px;
    width: 70%;
    margin: 0.5rem auto;
}

.normatividad .item-download {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {

    .normatividad .container-grid-2,
    .normatividad .container-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

/***
====================================================================
  Marco Jurídico
====================================================================
***/
@media (min-width: 768px) {
    .marco-juridico .container-grid-3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .marco-juridico .container-grid-3 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 2rem;
    }
}

/***
====================================================================
  Sesiones
====================================================================
***/
.sesiones h3 {
    margin-top: 2rem;
    text-align: center;
}

.sesiones h3::after {
    content: "";
    background-color: var(--color-1);
    display: block;
    height: 2px;
    width: 70%;
    margin: 0.5rem auto;
}

@media (min-width: 992px) {
    .sesiones .container-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

/***
====================================================================
  Informes de Gestión
====================================================================
***/

.informes_gestion .card-download {
    margin-bottom: 2rem;
}

.informes_gestion .card-download .date {
    background-color: var(--color-1);
    color: white;
    font-size: 100%;
    padding: 0.5rem 1rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.informes_gestion .card-download.ejes ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.informes_gestion .card-download.especial {
    background-color: var(--color-1);
    color: white;
}

.informes_gestion .card-download.especial a,
.informes_gestion .card-download.especial p,
.informes_gestion .card-download.especial ul i {
    color: white;
}

.informes_gestion .card-download.especial ul {
    border: 1px solid white;
}

.informes_gestion .card-download.especial .date {
    background-color: white;
    color: var(--color-1);
    font-size: 100%;
    justify-content: center;
}

.informes_gestion .section-documents {
    margin: 0 auto 3rem;
}

.informes_gestion .container {
    padding: 0;
}

.informes_gestion .container:first-child {
    margin-bottom: 1.5rem;
}

.informes_gestion .section-documents .downloads>div {
    padding: 0.5rem;
}

.informes_gestion .section-documents .downloads h5 {
    font-size: 1rem;
}

.informes_gestion .section-documents .downloads .image,
.informes_gestion .section-documents .downloads .icon {
    line-height: 40px;
    height: 40px;
    min-width: 40px;
    width: 40px;
}

.informes_gestion .section-documents .downloads .icon::before {
    height: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.informes_gestion .section-documents .downloads .image img {
    width: 25px;
}

.informes_gestion .section-documents .introduction>div {
    position: relative;
}

.informes_gestion .section-documents .introduction h2 {
    text-align: center;
}

.informes_gestion .section-documents .content-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.informes_gestion .section-documents .card-download {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.informes_gestion .section-documents .card-download .date {
    background-color: white;
    color: var(--color-1);
    font-size: 1.1rem;
    min-height: auto;
    padding: 0.5rem;
}

.informes_gestion .section-documents .card-download ul {
    font-size: 0.8rem;
    padding: 0.5rem;
}

.informes_gestion .section-documents .card-download ul li {
    margin-bottom: 0;
}

.informes_gestion .section-documents .card-download ul a,
.informes_gestion .section-documents .card-download ul i {
    color: white;
}

@media (min-width: 576px) {
    .informes_gestion .container-informes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .informes_gestion .card-download {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .informes_gestion .section-documents .content-card {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .informes_gestion .container-informes {
        grid-template-columns: repeat(3, 1fr);
    }

    .informes_gestion .section-documents .introduction,
    .informes_gestion .section-documents .introduction>div {
        padding: 1rem;
    }

    .informes_gestion .section-documents .card-download ul {
        padding: 15px;
    }
}

/***
====================================================================
  Login
====================================================================
***/
.h100vh {
    height: 100vh;
}

.auth-main::before {
    background: rgba(23, 25, 28, 0.9);
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 350px;
    height: calc(100% - 40px);
    z-index: -1;
    margin: 20px;
}

@media (max-width: 575.98px) {
    .auth-main::before {
        width: 100%;
        height: 100%;
        margin: 0;
    }
}

.auth-main:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url(../../images/resource/imagen-3.jpg) no-repeat center fixed;
}

.auth-main h3 {
    color: var(--text-color);
    font-family: var(--font-title);
    font-size: 1.75rem;
}

.auth-box {
    height: auto;
    width: 380px;
    margin-left: 130px;
}

.auth-box img {
    height: 95px !important;
    display: block;
}

@media (max-width: 767.98px) {
    .auth-box {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .auth-box {
        width: 90%;
    }
}

/***
====================================================================
  app_admin
====================================================================
***/

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background-color: var(--menu-bg);
    z-index: 1054;
    transition: 0.3s ease;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar-thumb {
    background: transparent;
}

.sidebar.show {
    width: 250px;
    border-radius: 0;
}

.sidebar.hide .brand {
    margin-left: 0.5rem;
}

.sidebar .brand {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: var(--claro);
    background-color: var(--menu-active-bg);
    padding: 1rem;
}

.sidebar .brand img {
    min-width: 40px;
}

.sidebar .brand .text {
    margin-left: 1rem;
    font-size: 1.1rem;
    font-weight: bolder;
}

.sidebar .side-menu {
    width: 100%;
    margin-top: 2rem;
}

.sidebar .side-menu li {
    height: 48px;
    background: transparent;
}

.sidebar .side-menu li.active {
    background-color: var(--menu-active-bg);
    border-left: 6px solid var(--color-1);
    color: inherit;
    position: relative;
}

.sidebar .side-menu li.header {
    border-bottom: 3px solid;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    margin-top: 1rem;
}

.sidebar .side-menu li.header.active {
    background-color: var(--menu-active-bg);
    border-left: none;
}

.sidebar .side-menu li a,
.sidebar .side-menu li button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 25px;
    color: var(--menu-text);
    padding-left: 6px;
    white-space: nowrap;
    overflow-x: hidden;
}

.sidebar.hide .side-menu li a {
    width: 48px;
    transition: width 0.3s ease;
}

.sidebar .side-menu.top li a:hover,
.sidebar .side-menu.top li a:hover i {
    color: var(--rojo);
}

.sidebar .side-menu li a i {
    min-width: calc(75px - ((4px + 6px) * 2));
    display: flex;
    justify-content: center;
}

.sidebar .side-menu li a svg {
    width: calc(38px - ((4px + 6px) * 2));
    min-width: calc(38px - ((4px + 6px) * 2));
    fill: white;
    margin: auto 0.65rem;
}

.sidebar .side-menu li a:hover svg {
    fill: var(--color-1);
}

@media screen and (min-width: 992px) {
    .sidebar {
        width: 250px;
    }
}

/* CONTENT */
.content {
    position: relative;
    width: calc(100% - 60px);
    left: 60px;
    transition: 0.3s ease;
}

.sidebar.show~.content {
    width: calc(100% - 250px);
    left: 250px;
}

/* NAVBAR */
.bar-menu {
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    margin-bottom: 2rem;
    min-height: 76px;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.bar-menu .bx-menu {
    cursor: pointer;
    color: var(--color-5);
}

@media screen and (min-width: 992px) {
    .bar-menu .bx-menu {
        display: none;
    }
}

/* MAIN */
.content main {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px;
}

.content .head-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 16px;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.content .head-title .left h1 {
    font-size: 36px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-5);
}

.content .head-title .left .breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.content .head-title .left .breadcrumb i {
    margin-right: 0.25rem;
}

.content .head-title .left .breadcrumb li {
    color: var(--color-5);
    margin-right: 0.25rem;
}

.content .head-title .left .breadcrumb li a {
    color: var(--color-5);
}

.content .head-title .left .breadcrumb li a.active {
    color: var(--color-1);
    pointer-events: unset;
}

.nav-tabs .nav-link.active {
    background-color: var(--color-7) !important;
    /* color: white; */
}

@media screen and (min-width: 992px) {
    .content {
        width: calc(100% - 250px);
        left: 250px;
    }

    .content nav .nav-link {
        display: none;
    }
}

/* Dashboard */
.dash-admin .card .card-header {
    clip-path: polygon(0 0,
            100% 0,
            100% calc(100% - 60px),
            50% 80%,
            0 calc(100% - 60px));
    height: 90px;
    /* background: linear-gradient(60deg, #568abd, var(--menu-active-bg)); */
    text-align: center;
    color: #fff;
    padding: 0;
    padding-top: 1.3rem;
    font-size: 1rem;
}

.dash-admin .card .card-body {
    text-align: center;
    padding-top: 0.5rem;
}

.dash-admin .card .card-body h3 {
    font-family: var(--font-title);
    font-size: 2.2rem;
}

.dash-admin .card .card-footer {
    text-align: center;
    font-size: 0.8rem;
    background-color: #f8f8f8;
    z-index: 2;
    /* background: linear-gradient(40deg, #82b0ff, #4780e2); */
}

/* Estilos footer */

footer {
    .container-fluid {
        .row {
            .col-lg-3 {
                .navbar-brand {
                    h2 {
                        color: var(--color2);
                    }
                }
            }
        }
    }
}

.footer-1 a {
    text-decoration: none !important;
}

.footer-1 a:hover {
    text-decoration: underline !important;
}

.btn-outline-primary {
    color: var(--mainColor) !important;
    border-color: var(--mainColor) !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: var(--mainColor) !important;
}

.footer-2 a {
    color: var(--colorBlanco);
    text-decoration: none;
}

.footer-2 a:hover {
    color: var(--colorBlanco);
    text-decoration: underline;
}

/* Estilos de dia de la estadística */
.hero-dia-estadistica {
    position: relative;
    background: url('../images/dia-estadistica-2025/Fondo.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 60px 0;
}

.hero-dia-estadistica__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(95, 27, 45, 0.6);
    z-index: 1;
}

.hero-dia-estadistica__contenedor {
    position: relative;
    z-index: 2;
}

.hero-dia-estadistica__izquierdo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.hero-dia-estadistica__logo-wrapper img {
    max-width: 250px;
    height: auto;
}

.hero-dia-estadistica__descripcion {
    color: var(--colorBlanco);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
}

.hero-dia-estadistica__derecho {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.hero-dia-estadistica__collage {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {

    .hero-dia-estadistica {
        min-height: calc(100vh - 190px);
        padding: 0;
    }

    .hero-dia-estadistica__izquierdo {
        align-items: flex-start;
        text-align: left;
        margin-bottom: 0;
        padding-right: 30px;
    }

    .hero-dia-estadistica__logo-wrapper img {
        max-width: 100%;
        width: auto;
    }

    .hero-dia-estadistica__descripcion {
        font-size: 1.2rem;
    }

    .hero-dia-estadistica__collage {
        max-width: 90%;
    }
}

.galeria {
    background-color: var(--color-2);
    padding: 60px 0;
    overflow: hidden;
}

.galeria__contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 25px;
}

.galeria__fila {
    width: 100%;
    height: 600px;
    padding: 20px 0;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    width: 300px;
    height: auto;
    transition: all 0.5s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.galeria__img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    height: 300px;
    aspect-ratio: 1/1;
    opacity: 0.5;
    transform: scale(0.9);
    filter: grayscale(70%);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-slide-active .galeria__img {
    height: 500px;
    aspect-ratio: 9/16;
    opacity: 1;
    transform: scale(1.05);
    border-radius: 15px;
    filter: grayscale(0%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.galeria__item {
    transition: transform 0.3s ease;
}

.concurso {
    position: relative;
    background: url('../images/dia-estadistica-2025/fondos/7.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0 0 0;
    min-height: 80vh;
}

.concurso__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(199, 155, 102, 0.8);
    z-index: 1;
}

.concurso__contenedor {
    position: relative;
    z-index: 2;
    color: var(--colorBlanco);
}

/* Header */
.concurso__badge {
    font-family: 'Gilroy-SemiBold', sans-serif;
    display: inline-block;
    color: var(--color-white);
    padding: 0.3rem 1.1rem;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--colorBlanco);
}

.concurso__titulo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;

}

.concurso__fila {
    padding: 60px 0;

}

.concurso__fila:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Etiqueta Lateral */
.concurso__categoria {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: start;
    height: 250px;
    min-height: 250px;

}

/* Tarjeta del Participante */
.concurso__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 1rem;
}

/* La Medalla (Círculo Vino) */
.concurso__medalla {
    width: 110px;
    height: 110px;
    background-color: var(--color-1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.concurso__lugar-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.concurso__lugar-txt {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Textos */
.concurso__nombres {
    font-size: 1.2rem;
    font-weight: 600;
    min-height: 3rem;
    color: var(--colorBlanco);
}

.concurso__proyecto {
    font-size: 1.1rem;
    color: var(--colorBlanco);
    margin-bottom: 1rem;
    font-weight: 600;
}

.concurso__divisor {
    width: 60%;
    height: 2px;
    background-color: var(--colorBlanco);
    margin: 15px auto;
}

.concurso__contenedor-btn-descarga {
    display: flex;
    justify-content: center;
    align-items: center;
}

.concurso__btn-descarga {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--colorBlanco);
    border-radius: 50%;
    color: var(--colorBlanco);
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--arena);
}

.concurso__btn-descarga:hover {
    background-color: var(--colorBlanco);
    color: var(--color-1);
}

@media (max-width: 768px) {
    .concurso__categoria {
        height: inherit;
        min-height: inherit;
        text-align: center;
    }
}

/* Tema Claro */
.concurso__contenedor--tema-claro {
    background-color: var(--color-white);
    padding: 60px 0;
}

.concurso__contenedor--tema-claro .concurso__categoria {
    color: var(--color-7);
}

.concurso__contenedor--tema-claro .concurso__nombres,
.concurso__contenedor--tema-claro .concurso__proyecto {
    color: var(--text-color);
}

.concurso__contenedor--tema-claro .concurso__divisor {
    background-color: var(--color-7);
}

.concurso__contenedor--tema-claro .concurso__btn-descarga {
    border-color: var(--color-7);
    color: var(--color-7);
}

.concurso__contenedor--tema-claro .concurso__btn-descarga:hover {
    background-color: var(--color-7);
    color: var(--colorBlanco);
}

.concurso-videos .concurso__medalla {
    background-color: var(--color-7);
}

/* O si prefieres ser más específico con BEM y modificadores */
.concurso-videos .concurso__lugar-num,
.concurso-videos .concurso__lugar-txt {
    color: var(--colorBlanco);
    /* Aseguras contraste */
}

.concurso-videos {
    position: relative;
    background: url('../images/dia-estadistica-2025/fondos/6.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    min-height: 80vh;
}

.concurso-videos__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(95, 27, 45, 0.75);
    z-index: 1;
}

.concurso-videos__contenedor {
    position: relative;
    z-index: 2;
    color: var(--colorBlanco);
}

.frase-cierre {
    position: relative;
    /* Usamos el color institucional fuerte para dar cierre */
    background-color: var(--color-vino, #691C32);
    padding: 100px 0;
    overflow: hidden;
    /* Para animaciones que vienen de fuera */
}

/* Opcional: una textura sutil o imagen de fondo */
.frase-cierre__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.frase-cierre__contenedor {
    position: relative;
    z-index: 2;
    color: var(--colorBlanco, #fff);
}

.frase-cierre__icono {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.frase-cierre__texto {
    font-size: 2rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
}

.frase-cierre__nombre {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-2);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.frase-cierre__cargo {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
    color: var(--color-2);
}

.frase-cierre__divisor {
    width: 80px;
    height: 3px;
    background-color: var(--color-7, #C79B66);
    /* Tu color dorado/beige */
    margin: 50px auto;
    /* Centrado */
}

.frase-cierre__despedida {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Gilroy-Bold', sans-serif;
    /* Tu fuente de títulos */
    letter-spacing: -1px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .frase-cierre__texto {
        font-size: 1.5rem;
    }

    .frase-cierre__despedida {
        font-size: 2rem;
    }
}


/* Modal */
.modal-detalle {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-detalle__header {
    padding: 20px 30px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.modal-detalle__titulo {
    font-family: 'Gilroy-Bold', sans-serif;
    color: var(--color-vino, #691C32);
    font-size: 1.5rem;
    margin: 0;
}

.modal-detalle__body {
    padding: 30px;
    background-color: #fff;
}

.modal-detalle__visual-container {
    background-color: #f2f2f2;
    border-radius: 10px;
    min-height: 400px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.modal-detalle__visual-container img,
.modal-detalle__visual-container video,
.modal-detalle__visual-container iframe {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.modal-detalle__ficha {
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modal-detalle__ficha-titulo {
    font-family: 'Gilroy-Bold', sans-serif;
    color: var(--color-7, #C79B66);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-7, #C79B66);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.modal-detalle__dato-grupo {
    margin-bottom: 15px;
}

.modal-detalle__label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3px;
}

.modal-detalle__valor {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color, #333);
    font-weight: 500;
    line-height: 1.3;
}

.modal-detalle__footer-ficha {
    margin-top: auto;
    padding-top: 20px;
}

.modal-detalle__btn-descarga {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    background-color: var(--color-vino, #691C32);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--color-vino, #691C32);
}

.modal-detalle__btn-descarga:hover {
    background-color: transparent;
    color: var(--color-vino, #691C32);
}