* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }
body {
    font-family: sans-serif;
    background-color: #ffffff; 
}

@font-face {
    font-family: 'gothambook';
    src: url('gotham-book_0-webfont.woff2') format('woff2'),
         url('gotham-book_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gothambook_italic';
    src: url('gotham-bookita_0-webfont.woff2') format('woff2'),
         url('gotham-bookita_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gothammedium';
    src: url('gotham-medium_0-webfont.woff2') format('woff2'),
         url('gotham-medium_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gothammedium_italic';
    src: url('gotham-mediumita_0-webfont.woff2') format('woff2'),
         url('gotham-mediumita_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.textocapitulo{
    font-family: 'gothambook_italic';
    font-size: 17px;
    color: white
}
 .textocgrande{
    font-family: 'gothambook_italic';
    font-size: 22px;
    color: white
}
.titulocapitulo{
     font-family: 'gothammedium';
     font-size: 30px;
     color: white;
     font-weight: 300;
     line-height: 34px;
}
 .titulocapitulo2{
     font-family: 'gothammedium';
     font-size: 28px;
     color: white;
     font-weight: 300;
     line-height: 34px;
}
.botoncito{
    margin-top: 40px;
}

.botonreporte:hover{
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-bg-opacity: 1;
    background-color: rgb(234 88 12 / var(--tw-bg-opacity));

}

.botonreporte{
    margin-top: 20px;
    padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
    background-color: #ED6C22;
    color:#ffffff;
    border-radius: 40px;
    border: none;
     font-family: 'gothammedium';
     font-size: 20px;
     font-weight: 300;
     text-decoration: none;
}


.main-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding-left: 100px;
    padding-right: 100px;
}
.logo { padding-left: 40px; }
.logo img { height: 40px; width: auto; display: block; }
.main-nav ul { list-style: none; display: flex; gap: 30px; }
.main-nav a { font-family: 'gothammedium';text-decoration: none; color: #333; font-weight: 300; font-size: 16px; position: relative; padding-bottom: 5px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: #3498db; transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }
.hamburger { display: none; border: none; background: transparent; cursor: pointer; z-index: 1001; padding: 15px 40px; }
.hamburger-box { width: 30px; height: 24px; display: inline-block; position: relative; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { width: 100%; height: 3px; background-color: #333; position: absolute; border-radius: 4px; transition: transform 0.3s ease; }
.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before, .hamburger-inner::after { content: ''; display: block; }
.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { bottom: -10px; }
.hamburger.is-active .hamburger-inner { transform: rotate(45deg); }
.hamburger.is-active .hamburger-inner::before { top: 0; opacity: 0; }
.hamburger.is-active .hamburger-inner::after { bottom: 0; transform: rotate(-90deg); }
.hero { position: relative; width: 100%; overflow: hidden; background-color: #002244; margin-top: 80px; height: calc(80vh - 80px); }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); z-index: 1; opacity: 0.7; }
.hero-content { position: relative; z-index: 2; padding: 40px; padding-left: 100px; padding-bottom: 40px;}
.hero-gif { width: 380px; height: auto; }


.intro-section {
    background-color: #ffffff;
    padding: 20px 40px 80px 40px;
    text-align: center;
}
.intro-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}
.pill-box {
    display: inline-block;
    background-color: #ffffff;
    padding: 25px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    margin-top: -60px;
    position: relative;
}
.pill-box p {
    font-family: 'gothambook';
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 650px;
}
.texto_intro {
    margin-top: 40px;
    font-family: 'gothammedium';
    font-size: 20px;
    line-height: 24px;
    color: #1C5EAA;
}


.content-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    row-gap: 20px;
    padding: 20px 0; 
}

.image-container { 
    height: 345px; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer;
}
.image-container .bg-image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color, rgba(52, 152, 219, 0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.hover-content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.overlay-gif { 
    width: 60px; 
    height: auto; 
}
.image-title {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.text-container { height: 345px; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; padding: 40px; color: white; text-align: center; cursor: pointer; }
.text-content { transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.text-content h3 { font-size: 1.8rem; margin: 0; text-align: left; }
.text-content p { font-size: 0.9rem; line-height: 1.5; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.4s ease-out, max-height 0.4s ease-out, margin-top 0.4s ease-out; text-align: left; }

.grid-item-inner.is-active .image-container .bg-image { 
    transform: scale(1.05); 
}
.grid-item-inner.is-active .image-container::before {
    opacity: 1;
}
.grid-item-inner.is-active .hover-content {
    opacity: 1;
    transform: translateY(0);
}
.grid-item-inner.is-active .text-container .text-content {
    transform: translateY(-20px); 
}
.grid-item-inner.is-active .text-container .text-content p { 
    opacity: 1; 
    max-height: 150px; 
    margin-top: 15px; 
}

.color-1 { background-color: #1C5EAA; } .color-2 { background-color: #1F315B; } .color-3 { background-color: #ED6927; } .color-4 { background-color: #FAB529; } .color-5 { background-color: #1EBAEE; } .color-6 { background-color: #C71D50; } .color-7 { background-color: #9E4292; } .color-8 { background-color: #77C043; }
.grid-item-inner:nth-child(1) .image-container { --overlay-color: rgba(28, 94, 170, 0.7); } .grid-item-inner:nth-child(3) .image-container { --overlay-color: rgba(31, 49, 91, 0.7); } .grid-item-inner:nth-child(6) .image-container { --overlay-color: rgba(237, 105, 39, 0.7); } .grid-item-inner:nth-child(8) .image-container { --overlay-color: rgba(250, 181, 41, 0.7); } .grid-item-inner:nth-child(9) .image-container { --overlay-color: rgba(30, 186, 238, 0.7); } .grid-item-inner:nth-child(11) .image-container { --overlay-color: rgba(199, 29, 80, 0.7); } .grid-item-inner:nth-child(14) .image-container { --overlay-color: rgba(158, 66, 146, 0.7); } .grid-item-inner:nth-child(16) .image-container { --overlay-color: rgba(119, 192, 67, 0.7); }


.reportes_historicos {
    display: flex;
    background-color: #1C5EAA;
    color: white;
    flex-wrap: wrap; 
}
.info_historico {
    flex-basis: 50%;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info_historico h2 {
    font-family: 'gothammedium';
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.info_historico p {
    font-family: 'gothambook';
    font-size: 18px;
    line-height: 1.6;
}
.reporte_interactivo {
    flex-basis: 50%;
    display: flex;
    min-height: 350px;
}
.lista_ano {
    background-color: #1F315B;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}
.item_ano {
    font-family: 'gothammedium';
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease;
}
.item_ano::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.item_ano.active {
    color: #62c2ec;
}
.item_ano.active::before {
    opacity: 1;
}
.reporte_imagen {
    flex-grow: 1;
    position: relative;
}
.report-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.report-image.active {
    opacity: 1;
    visibility: visible;
}




@media (max-width: 992px) {
    .main-header { position: static; height: auto; flex-wrap: wrap; padding: 0; }
    .logo { padding: 20px 40px; }
    .hamburger { padding: 20px 40px; margin-left: auto; }
    .main-nav { width: 100%; order: 3; background-color: white; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s cubic-bezier(0.7, 0, 0.2, 1); }
    .main-nav.is-active { grid-template-rows: 1fr; }
    .menu-wrapper { overflow: hidden; }
    .main-nav ul { flex-direction: column; align-items: flex-start; padding: 20px 40px; gap: 25px; }
    .main-nav a { font-size: 1.2rem; }
    .hamburger { display: block; }
    .hero { margin-top: 0; }
    .content-grid { grid-template-columns: repeat(2, 1fr); }
    .text-container, .image-container { height: 250px; }
    .pill-box { margin-top: -60px; padding: 20px 30px; }
    .texto_intro { font-size: 16px; }

   
    .info_historico,
    .reporte_interactivo {
        flex-basis: 100%; 
    }
     .info_historico {
        padding: 40px;
        text-align: center;
     }
    
    .reporte_interactivo {
        flex-direction: column;
    }
    .lista_ano {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
    }
    .reporte_imagen {
        width: 100%;
        height: 280px;
    }
}


@media (max-width: 768px) {

    .botonreporte {
    margin-top: 20px;
    padding: 10px;
    padding-left: 10px!important;
    padding-right: 10px!important;
    background-color: #ED6C22;
    color: #ffffff;
    border-radius: 40px;
    border: none;
    font-family: 'gothammedium';
    font-size: 17px!important;
    font-weight: 300;
    text-decoration: none;
}
    .content-grid {
        display: flex;
        flex-direction: column;
    }
    .text-container, .image-container {
        height: 300px;
    }
    .grid-item-inner:nth-child(1) { order: 1; }
    .grid-item-inner:nth-child(2) { order: 2; }
    .grid-item-inner:nth-child(3) { order: 3; }
    .grid-item-inner:nth-child(4) { order: 4; }
    .grid-item-inner:nth-child(5) { order: 6; } 
    .grid-item-inner:nth-child(6) { order: 5; } 
    .grid-item-inner:nth-child(7) { order: 8; } 
    .grid-item-inner:nth-child(8) { order: 7; } 
    .grid-item-inner:nth-child(9) { order: 9; }
    .grid-item-inner:nth-child(10) { order: 10; }
    .grid-item-inner:nth-child(11) { order: 11; }
    .grid-item-inner:nth-child(12) { order: 12; }
    .grid-item-inner:nth-child(13) { order: 14; } 
    .grid-item-inner:nth-child(14) { order: 13; } 
    .grid-item-inner:nth-child(15) { order: 16; }
    .grid-item-inner:nth-child(16) { order: 15; }

    .image-container::before {
        opacity: 1;
    }
    .hover-content {
        opacity: 1;
        transform: translateY(0);
    }
    .text-content {
        transform: translateY(-20px);
    }
    .text-content p {
        opacity: 1;
        max-height: 200px;
        margin-top: 15px;
    }
    .pill-box p {
        font-size: 14px;
        line-height: 1.3;
    }
    .hero-content {
        width: 100%;
        height: 100%;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;  
    }
    .hero-gif {
        max-width: 90%; 
        height: auto;
        width: auto; 
    }
}



.site-footer {
    background-color: #ffffff;
    color: #000000;
    padding-top: 20px; 
    font-family: 'gothambook', sans-serif;
}
.footer-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 40px; 
}
.footer-left, .footer-right {
    flex: 1; 
    min-width: 280px; 
}
.footer-logo {
    max-width: 104px; 
    margin-bottom: 25px;
}
.footer-left p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0px;
}
.footer-right {
    text-align: right;
}
.footer-right p {
    font-size: 14px;
    font-family: 'gothammedium', sans-serif;
    margin-bottom: 20px;
}
.footer-bottom {
    text-align: center;
    padding: 20px 40px;
    margin-top: 40px;
    border-top: 1px solid #3a4a6d;
    font-size: 13px;
    color: #a0a8b9; 
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }
    .footer-left, .footer-right {
        text-align: center;
    }
}


.animate-on-scroll {
    opacity: 0;
   
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}


.fade-in-up,
.fade-in-left,
.fade-in-right {
    transform: scale(0.5);
}


.animate-on-scroll.is-visible {
    opacity: 1;
    transform: scale(1); 
}


.content-grid .grid-item-inner:nth-child(2),
.content-grid .grid-item-inner:nth-child(6),
.content-grid .grid-item-inner:nth-child(10),
.content-grid .grid-item-inner:nth-child(14) {
    transition-delay: 0.1s;
}
.content-grid .grid-item-inner:nth-child(3),
.content-grid .grid-item-inner:nth-child(7),
.content-grid .grid-item-inner:nth-child(11),
.content-grid .grid-item-inner:nth-child(15) {
    transition-delay: 0.2s;
}
.content-grid .grid-item-inner:nth-child(4),
.content-grid .grid-item-inner:nth-child(8),
.content-grid .grid-item-inner:nth-child(12),
.content-grid .grid-item-inner:nth-child(16) {
    transition-delay: 0.3s;
}

