/* ========================================= */
/* BASE */
/* ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    background-color: #f0f4f8;
    line-height: 1.6;
    min-height: 100vh;
}


.menu-toggle {
    position: fixed;
    top: 35px;
    transform: translateY(-50%);
    left: 20px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 122, 180, 0.4);
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 56px;
    width: 56px;
}

.menu-toggle:hover {
    background: #005a8a;
    transform: translateY(-50%) scale(1.05);
}

.menu-toggle .toggle-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    display: none;
}


.offcanvas {
    position: fixed;
    left: 0;
    top: 0;
    width: 320px;
    height: 100vh;
    background-color: #1a2634;
    color: white;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
}

.offcanvas.open {
    transform: translateX(0);
}

.offcanvas-header {
    padding: 20px 20px 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.offcanvas-header .logo-icon {
    font-size: 32px;
}

.offcanvas-header .logo-text {
    display: flex;
    flex-direction: column;
}

.offcanvas-header .logo-name {
    font-size: 18px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.offcanvas-header .logo-name span {
    color: #007AB4;
}

.offcanvas-header .logo-sub {
    font-size: 9px;
    color: #a0aec0;
    font-weight: 400;
    line-height: 1.3;
}

.close-menu {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}


.offcanvas-body {
    flex: 1;
    padding: 10px 0 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-menu {
    list-style: none;
    padding: 0 15px;
    margin: 0;
}

.nav-menu > li {
    margin-bottom: 2px;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #cbd5e0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.nav-menu>li>a:hover {
    background-color: rgba(0, 122, 180, 0.3);
    color: white;
}

.nav-menu>li>a.active {
    background-color: #007AB4;
    color: white;
}

.nav-menu .menu-icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.nav-menu .arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #718096;
    flex-shrink: 0;
}

.nav-menu .arrow.open {
    transform: rotate(180deg);
}


.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-left: 0;
}

.submenu.open {
    max-height: 600px;
    padding: 4px 0 8px 0;
}

.submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 52px;
    border-radius: 6px;
    color: #a0aec0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu li a:hover {
    background-color: rgba(0, 122, 180, 0.2);
    color: white;
}

.submenu li a.active {
    background-color: rgba(0, 122, 180, 0.3);
    color: white;
}

.submenu .sub-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.offcanvas-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 9px;
    color: #718096;
    text-align: center;
    flex-shrink: 0;
}


.offcanvas-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.offcanvas-overlay.show {
    display: block;
}


.main-content {
    margin-left: 0;
    flex: 1;
    min-height: 100vh;
    position: relative;
}


.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    padding: 12px 30px;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 70px;
    min-height: 70px;
}

.header.scrolled {
    background-color: #007AB4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 75px;
    height: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-text-header {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name-header {
    font-size: 20px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.logo-name-header span {
    color: #ffd700;
}

.logo-sub-header {
    font-size: 9px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    height: 100%;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    transition: background 0.3s ease;
    height: 38px;
}

.header-search:hover {
    background: rgba(255, 255, 255, 0.25);
}

.header-search input {
    background: transparent;
    border: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding: 4px 0;
    width: 140px;
    outline: none;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search .icon {
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header-search .icon:hover {
    transform: scale(1.1);
}


@media (max-width: 992px) {
    .logo-sub-header {
        display: none;
    }

    .header-search input {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    .header-left {
        margin-left: 70px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-name-header {
        font-size: 16px;
    }

    .logo-sub-header {
        display: none;
    }

    .header-search input {
        width: 100px;
        font-size: 10px;
    }

    .header-search {
        padding: 4px 12px;
    }

    .menu-toggle {
        top: 35px !important;
        transform: translateY(-50%) !important;
        left: 15px;
        padding: 12px 14px;
        font-size: 24px;
        height: 50px;
        width: 50px;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 10px 12px;
    }

    .header-left {
        margin-left: 60px;
        gap: 8px;
    }

    .logo-img {
        height: 28px;
    }

    .logo-name-header {
        font-size: 13px;
    }

    .logo-sub-header {
        display: none;
    }

    .header-search {
        padding: 4px 10px;
    }

    .header-search input {
        width: 70px;
        font-size: 10px;
    }

    .menu-toggle {
        top: 35px !important;
        transform: translateY(-50%) !important;
        left: 12px;
        padding: 10px 12px;
        font-size: 22px;
        height: 46px;
        width: 46px;
        border-radius: 10px;
    }
}

@media (max-width: 400px) {
    .header-left {
        margin-left: 55px;
    }

    .logo-img {
        height: 24px;
    }

    .logo-name-header {
        font-size: 11px;
    }

    .header-search input {
        width: 60px;
        font-size: 9px;
    }

    .header-search {
        padding: 3px 8px;
    }

    .header-search .icon {
        font-size: 13px;
    }

    .menu-toggle {
        top: 35px !important;
        transform: translateY(-50%) !important;
        padding: 8px 10px;
        font-size: 18px;
        height: 40px;
        width: 40px;
        border-radius: 8px;
        left: 12px;
    }
}

@media (max-width: 360px) {
    .header-left {
        margin-left: 50px;
        gap: 4px;
    }

    .logo-img {
        height: 20px;
    }

    .logo-name-header {
        font-size: 10px;
    }

    .header-search input {
        width: 50px;
        font-size: 9px;
    }

    .header-search {
        margin-left: 0;
        padding: 3px 6px;
    }

    .menu-toggle {
        top: 35px !important;
        transform: translateY(-50%) !important;
        padding: 6px 8px;
        font-size: 16px;
        height: 36px;
        width: 36px;
        border-radius: 8px;
        left: 10px;
    }
}


.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    margin-bottom: 0;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 50, 80, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.slide-content {
    max-width: 750px;
    text-align: center;
    color: #e9e6e6;
    padding: 20px;
    margin-top: 60px;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.slide-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-title span {
    color: #ffd700;
}

.slide-description {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.8;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: #ffd700;
    transform: scale(1.2);
    border-color: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}


.species-section {
    position: relative;
    z-index: 15;
    padding: 0 40px;
    max-width: 1200px;
    margin: -60px auto 0 auto;
    width: 100%;
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.species-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 122, 180, 0.92) 0%, rgba(0, 50, 80, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    min-height: 210px;
    isolation: isolate;
}

.species-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.species-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border: 4px solid transparent;
    border-image: linear-gradient(90deg, #007AB4, #ffd700);
    border-image-slice: 1;
    border-radius: 7px;
    background: #2d3748;
}

.species-card:hover .species-image {
    transform: scale(1.05);
}

.species-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 122, 180, 0.92) 0%, rgba(0, 50, 80, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
    color: rgb(255, 255, 255);
    z-index: 10;
    pointer-events: none;
}

.species-card:hover .species-overlay {
    opacity: 1;
}

.species-overlay .nombre-cientifico {
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    font-weight: 700;
    font-style: normal;
    margin-bottom: 1px;
    margin-top: 1px;
    color: #ffd700;
    line-height: 1.2;
}

.species-overlay .nombre-comun {
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.species-overlay .orden {
    font-size: clamp(0.5rem, 0.6vw, 0.55rem);
    opacity: 0.8;
    margin-bottom: 1px;
}

.species-overlay .familia {
    font-size: clamp(0.65rem, 0.9vw, 0.75rem);
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.species-overlay .descripcion {
    font-size: clamp(0.6rem, 0.85vw, 0.7rem);
    line-height: 1.6;
    opacity: 0.9;
    max-width: 90%;
    margin: 0 auto;
    overflow: visible;
    max-height: none;
}

.species-overlay .caracteristicas {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.species-overlay .caracteristica {
    font-size: clamp(0.55rem, 0.8vw, 0.65rem);
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}


/* Badge base */
.species-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffd700;
    color: #1a2634;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.species-badge.en-peligro {
    background: #e74c3c;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
    animation: pulse-en 2s infinite;
}

.species-badge.casi-amenazada {
    background: #f39c12;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.4);
}

.species-badge.preocupacion-menor {
    background: #27ae60;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(39, 174, 96, 0.4);
}

@keyframes pulse-en {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}


.about-section {
    padding: 40px 0 40px 0;
    background: transparent;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-title-modern {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.about-title-modern span {
    color: #007AB4;
}

.about-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007AB4, #ffd700);
    margin: 0 auto;
    border-radius: 4px;
}

.about-body {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 45px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #007AB4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-body:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 122, 180, 0.15);
}

.about-text-modern {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.6vw, 16px);
    color: #2d3748;
    line-height: 1.9;
    text-align: justify;
    margin: 0;
}

.about-text-modern strong {
    color: #007AB4;
    font-weight: 700;
}


/* Pantallas ≤ 992px */
@media (max-width: 992px) {
    .species-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .species-card {
        min-height: 180px;
    }
    .species-section {
        margin: 20px auto 0 auto !important;
        padding: 0 25px !important;
    }
}

/* Pantallas ≤ 768px */
@media (max-width: 768px) {
    .offcanvas {
        width: 300px;
    }
    .menu-toggle {
        top: 15px;
        left: 15px;
        padding: 12px 16px;
        font-size: 24px;
    }

    .banner-wrapper {
        height: auto !important;
        min-height: 350px !important;
        max-height: 500px !important;
    }
    .banner-slider {
        height: 500px !important;
        min-height: 350px !important;
    }
    .slide-content {
        margin-top: 40px;
        padding: 15px;
    }
    .slide-title {
        font-size: 1.8rem;
    }

    .species-section {
        margin: 15px auto 0 auto !important;
        padding: 0 15px !important;
        width: 100% !important;
    }
    .species-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .species-card {
        min-height: 200px !important;
        max-width: 100% !important;
        aspect-ratio: 16/9 !important;
        border-radius: 12px !important;
    }
    .species-overlay .descripcion {
        display: none;
    }
    .species-overlay .caracteristicas {
        gap: 8px;
    }
    .species-badge {
        font-size: 7px;
        padding: 2px 8px;
        top: 8px;
        right: 8px;
    }

    .about-section {
        padding: 25px 0 30px 0 !important;
    }
    .about-body {
        padding: 20px 18px !important;
        border-left-width: 3px !important;
        border-radius: 12px !important;
    }
    .about-title-modern {
        font-size: 1.6rem !important;
    }
    .about-text-modern {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
}

/* Móviles ≤ 600px */
@media (max-width: 600px) {
    .offcanvas {
        width: 280px;
    }
    .menu-toggle {
        top: 12px;
        left: 12px;
        padding: 10px 14px;
        font-size: 22px;
    }

    .banner-wrapper {
        min-height: 300px !important;
        max-height: 450px !important;
    }
    .banner-slider {
        height: 450px !important;
        min-height: 300px !important;
    }
    .slide-title {
        font-size: 1.4rem;
    }
    .slide-badge {
        font-size: 9px;
        padding: 3px 12px;
    }

    .species-section {
        margin: 10px auto 0 auto !important;
        padding: 0 15px !important;
        width: 100% !important;
    }
    .species-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .species-card {
        min-height: 200px !important;
        aspect-ratio: 16/9 !important;
        border-radius: 12px !important;
    }
    .species-card .species-overlay {
        padding: 20px 15px !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important;
    }
    .species-card:hover .species-overlay {
        opacity: 1 !important;
    }
    .species-overlay .descripcion {
        display: block !important;
        font-size: clamp(0.6rem, 0.85vw, 0.7rem) !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin: 5px 0 !important;
    }
    .species-overlay .nombre-cientifico {
        font-size: clamp(0.75rem, 1.2vw, 0.9rem) !important;
    }
    .species-overlay .nombre-comun {
        font-size: clamp(0.7rem, 1vw, 0.85rem) !important;
    }
    .species-overlay .caracteristicas {
        display: flex !important;
        gap: 8px !important;
        margin-top: 8px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .species-overlay .caracteristica {
        font-size: clamp(0.5rem, 0.7vw, 0.55rem) !important;
        padding: 3px 10px !important;
    }
    .species-badge {
        font-size: 7px !important;
        padding: 2px 10px !important;
        top: 8px !important;
        right: 8px !important;
    }

    .about-section {
        padding: 15px 0 25px 0 !important;
    }
    .about-body {
        padding: 20px 18px !important;
    }
    .about-title-modern {
        font-size: 1.3rem !important;
    }
    .about-text-modern {
        font-size: 13px !important;
        line-height: 1.7 !important;
    }
    .about-divider {
        width: 60px !important;
        height: 3px !important;
    }
}

/* Móviles muy pequeños */
@media (max-width: 400px) {
    .species-section {
        margin: 8px auto 0 auto !important;
        padding: 0 10px !important;
    }
    .species-card {
        min-height: 180px !important;
        aspect-ratio: 16/10 !important;
    }
    .species-overlay .descripcion {
        font-size: 0.55rem !important;
        line-height: 1.4 !important;
        max-height: 50px !important;
        overflow: hidden !important;
    }
    .species-overlay .nombre-cientifico {
        font-size: 0.65rem !important;
    }
    .species-overlay .nombre-comun {
        font-size: 0.6rem !important;
    }
    .species-overlay .caracteristica {
        font-size: 0.45rem !important;
        padding: 2px 8px !important;
    }
    .about-section {
        padding: 30px 0 20px 0 !important;
    }
}


.eventos-section {
    padding: 50px 0 30px 0;
    background: transparent;
}

.eventos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.eventos-header {
    text-align: center;
    margin-bottom: 40px;
}

.eventos-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.eventos-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007AB4, #ffd700);
    margin: 0 auto 15px auto;
    border-radius: 4px;
}

.eventos-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #4a5568;
    font-weight: 400;
}

.eventos-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.eventos-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.evento-card-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: 280px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #2d3748;
}

.evento-card-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 122, 180, 0.2);
}

.evento-card-slide .evento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: #4a5568;
}

.evento-card-slide:hover .evento-img {
    transform: scale(1.05);
}

.evento-card-slide .evento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 50, 80, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: white;
    transition: background 0.3s ease;
}

.evento-card-slide:hover .evento-overlay {
    background: linear-gradient(135deg, rgba(0, 122, 180, 0.85) 0%, rgba(0, 50, 80, 0.95) 100%);
}

.evento-card-slide .evento-categoria {
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 215, 0, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    margin-bottom: 10px;
}

.evento-card-slide .evento-hr {
    width: 50px;
    border: none;
    border-top: 2px solid #ffd700;
    margin: 10px auto;
    opacity: 0.8;
}

.evento-card-slide .evento-titulo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.evento-card-slide .evento-fecha {
    font-size: clamp(12px, 1vw, 14px);
    opacity: 0.9;
    margin-bottom: 15px;
    font-weight: 400;
}

.evento-card-slide .evento-btn {
    display: inline-block;
    background: #ffd700;
    color: #1a2634;
    font-weight: 700;
    font-size: clamp(11px, 0.9vw, 13px);
    padding: 8px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evento-card-slide .evento-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.eventos-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    color: #007AB4;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.eventos-carousel-btn:hover {
    background: #007AB4;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 122, 180, 0.4);
}

.eventos-carousel-btn-prev {
    left: -20px;
}

.eventos-carousel-btn-next {
    right: -20px;
}

.eventos-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.eventos-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.eventos-carousel-dot.active {
    background: #007AB4;
    transform: scale(1.2);
    border-color: #ffd700;
}

.eventos-carousel-dot:hover {
    background: #007AB4;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .evento-card-slide {
        flex: 0 0 calc(50% - 10px);
        aspect-ratio: 16/10;
    }
    .eventos-carousel-btn-prev {
        left: -10px;
    }
    .eventos-carousel-btn-next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .eventos-section {
        padding: 30px 0 20px 0;
    }
    .evento-card-slide {
        flex: 0 0 100%;
        aspect-ratio: 16/9;
    }
    .eventos-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .eventos-carousel-btn-prev {
        left: 5px;
    }
    .eventos-carousel-btn-next {
        right: 5px;
    }
    .evento-card-slide .evento-overlay {
        padding: 20px;
    }
    .evento-card-slide .evento-titulo {
        font-size: 1.2rem;
    }
    .evento-card-slide .evento-btn {
        padding: 6px 18px;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .eventos-section {
        padding: 20px 0 15px 0;
    }
    .evento-card-slide .evento-overlay {
        padding: 15px;
    }
    .evento-card-slide .evento-titulo {
        font-size: 1rem;
    }
    .evento-card-slide .evento-categoria {
        font-size: 10px;
        padding: 3px 12px;
    }
    .evento-card-slide .evento-btn {
        padding: 5px 15px;
        font-size: 10px;
    }
    .eventos-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .eventos-carousel-btn-prev {
        left: 2px;
    }
    .eventos-carousel-btn-next {
        right: 2px;
    }
    .eventos-carousel-dot {
        width: 10px;
        height: 10px;
    }
}


.noticias-section {
    padding: 50px 0 40px 0;
    background: #f8f9fa;
    margin: 30px 0 0 0;
    border-radius: 16px;
}

.noticias-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.noticias-header {
    text-align: center;
    margin-bottom: 40px;
}

.noticias-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.noticias-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007AB4, #ffd700);
    margin: 0 auto 15px auto;
    border-radius: 4px;
}

.noticias-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #4a5568;
    font-weight: 400;
}

.noticias-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 0 10px;
}

.noticias-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
    will-change: transform;
}

.noticia-card {
    flex: 0 0 auto;
    width: calc(33.333% - 14px);
    min-width: 250px;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 122, 180, 0.2);
}

.noticia-card-inner {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #4a5568;
}

.noticia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: #718096;
}

.noticia-card:hover .noticia-img {
    transform: scale(1.05);
}

.noticia-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 50, 80, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    color: white;
    transition: background 0.3s ease;
}

.noticia-card:hover .noticia-overlay {
    background: linear-gradient(135deg, rgba(0, 122, 180, 0.85) 0%, rgba(0, 50, 80, 0.95) 100%);
}

.noticia-top {
    display: flex;
    justify-content: flex-end;
}

.noticia-favorito {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 10px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.noticia-favorito:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.1);
}

.noticia-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.noticia-meta {
    display: flex;
    justify-content: space-between;
    font-size: clamp(10px, 0.8vw, 12px);
    opacity: 0.85;
}

.noticia-share {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.noticia-share:hover {
    opacity: 1;
}

.noticia-fecha {
    font-weight: 400;
}

.noticia-titulo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.1vw, 18px);
    font-weight: 700;
    margin: 2px 0;
    line-height: 1.3;
}

.noticia-autor {
    font-size: clamp(11px, 0.9vw, 13px);
    opacity: 0.8;
    margin: 0;
}

.noticias-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    color: #007AB4;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.noticias-btn:hover {
    background: #007AB4;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 122, 180, 0.4);
}

.noticias-btn-prev {
    left: -20px;
}

.noticias-btn-next {
    right: -20px;
}

.noticias-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.noticias-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.noticias-dot.active {
    background: #007AB4;
    transform: scale(1.2);
    border-color: #ffd700;
}

.noticias-dot:hover {
    background: #007AB4;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .noticia-card {
        width: calc(50% - 10px);
        min-width: 200px;
    }
    .noticias-btn-prev {
        left: -10px;
    }
    .noticias-btn-next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .noticias-section {
        padding: 30px 0 25px 0;
        margin: 20px 0 0 0;
        border-radius: 12px;
    }
    .noticias-carousel {
        padding: 0 5px;
    }
    .noticia-card {
        width: calc(100% - 0px);
        min-width: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    .noticias-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .noticias-btn-prev {
        left: 5px;
    }
    .noticias-btn-next {
        right: 5px;
    }
    .noticia-titulo {
        font-size: 16px;
    }
    .noticia-meta {
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .noticias-section {
        padding: 20px 0 15px 0;
        border-radius: 10px;
        margin: 15px 0 0 0;
    }
    .noticias-container {
        padding: 0 10px;
    }
    .noticias-carousel {
        padding: 0 2px;
    }
    .noticia-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .noticias-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
        opacity: 0.8;
    }
    .noticias-btn-prev {
        left: 2px;
    }
    .noticias-btn-next {
        right: 2px;
    }
    .noticia-titulo {
        font-size: 14px;
    }
    .noticia-meta {
        font-size: 9px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .noticias-dot {
        width: 10px;
        height: 10px;
    }
}
/* =========================================
   BOTÓN VER MÁS EN CADA TARJETA DE NOTICIA
   ========================================= */

.noticia-btn-ver-mas-card {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 5px 16px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 6px;
    align-self: flex-start;
    letter-spacing: 0.3px;
}

.noticia-btn-ver-mas-card i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.noticia-btn-ver-mas-card:hover {
    background: #ffd700;
    color: #1a2634;
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.noticia-btn-ver-mas-card:hover i {
    transform: translateX(4px);
}

/* Asegurar que el botón se alinee correctamente */
.noticia-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Ajustar el orden de los elementos en noticia-bottom */
.noticia-bottom .noticia-meta {
    order: 1;
}

.noticia-bottom .noticia-titulo {
    order: 2;
}

.noticia-bottom .noticia-autor {
    order: 3;
}

.noticia-bottom .noticia-btn-ver-mas-card {
    order: 4;
}

@media (max-width: 768px) {
    .noticia-btn-ver-mas-card {
        font-size: 10px;
        padding: 4px 14px;
    }
}

@media (max-width: 600px) {
    .noticia-btn-ver-mas-card {
        font-size: 10px;
        padding: 4px 12px;
        width: 100%;
        justify-content: center;
    }
}

.agenda-section {
    padding: 50px 0 30px 0;
    background: transparent;
}

.agenda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.agenda-header {
    text-align: center;
    margin-bottom: 40px;
}

.agenda-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.agenda-title span {
    color: #007AB4;
}

.agenda-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007AB4, #ffd700);
    margin: 0 auto 15px auto;
    border-radius: 4px;
}

.agenda-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #4a5568;
    font-weight: 400;
}

.agenda-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.agenda-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.agenda-card-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: 280px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #2d3748;
}

.agenda-card-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 122, 180, 0.2);
}

.agenda-card-slide .agenda-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: #4a5568;
}

.agenda-card-slide:hover .agenda-img {
    transform: scale(1.05);
}

.agenda-card-slide .agenda-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 50, 80, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: white;
    transition: background 0.3s ease;
}

.agenda-card-slide:hover .agenda-overlay {
    background: linear-gradient(135deg, rgba(0, 122, 180, 0.85) 0%, rgba(0, 50, 80, 0.95) 100%);
}

.agenda-card-slide .agenda-categoria {
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 215, 0, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    margin-bottom: 10px;
}

.agenda-card-slide .agenda-hr {
    width: 50px;
    border: none;
    border-top: 2px solid #ffd700;
    margin: 10px auto;
    opacity: 0.8;
}

.agenda-card-slide .agenda-titulo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.agenda-card-slide .agenda-fecha {
    font-size: clamp(12px, 1vw, 14px);
    opacity: 0.9;
    margin-bottom: 15px;
    font-weight: 400;
}

.agenda-card-slide .agenda-btn {
    display: inline-block;
    background: #ffd700;
    color: #1a2634;
    font-weight: 700;
    font-size: clamp(11px, 0.9vw, 13px);
    padding: 8px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-card-slide .agenda-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.agenda-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    color: #007AB4;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.agenda-carousel-btn:hover {
    background: #007AB4;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 122, 180, 0.4);
}

.agenda-carousel-btn-prev {
    left: -20px;
}

.agenda-carousel-btn-next {
    right: -20px;
}

.agenda-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.agenda-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.agenda-carousel-dot.active {
    background: #007AB4;
    transform: scale(1.2);
    border-color: #ffd700;
}

.agenda-carousel-dot:hover {
    background: #007AB4;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .agenda-card-slide {
        flex: 0 0 calc(50% - 10px);
        aspect-ratio: 16/10;
    }
    .agenda-carousel-btn-prev {
        left: -10px;
    }
    .agenda-carousel-btn-next {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .agenda-section {
        padding: 30px 0 20px 0;
    }
    .agenda-card-slide {
        flex: 0 0 100%;
        aspect-ratio: 16/9;
    }
    .agenda-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .agenda-carousel-btn-prev {
        left: 5px;
    }
    .agenda-carousel-btn-next {
        right: 5px;
    }
    .agenda-card-slide .agenda-overlay {
        padding: 20px;
    }
    .agenda-card-slide .agenda-titulo {
        font-size: 1.2rem;
    }
    .agenda-card-slide .agenda-btn {
        padding: 6px 18px;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .agenda-section {
        padding: 20px 0 15px 0;
    }
    .agenda-card-slide .agenda-overlay {
        padding: 15px;
    }
    .agenda-card-slide .agenda-titulo {
        font-size: 1rem;
    }
    .agenda-card-slide .agenda-categoria {
        font-size: 10px;
        padding: 3px 12px;
    }
    .agenda-card-slide .agenda-btn {
        padding: 5px 15px;
        font-size: 10px;
    }
    .agenda-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .agenda-carousel-btn-prev {
        left: 2px;
    }
    .agenda-carousel-btn-next {
        right: 2px;
    }
    .agenda-carousel-dot {
        width: 10px;
        height: 10px;
    }
}


.colaboradores-section {
    padding: 50px 0 30px 0;
    background: transparent;
}

.colaboradores-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.colaboradores-header {
    text-align: center;
    margin-bottom: 35px;
}

.colaboradores-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1a2634;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.colaboradores-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007AB4, #ffd700);
    margin: 0 auto 15px auto;
    border-radius: 4px;
}

.colaboradores-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    color: #4a5568;
    font-weight: 400;
}

.colaboradores-table-wrapper {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

.colaboradores-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 10px 15px;
    table-layout: fixed;
}

.colaboradores-table td {
    padding: 10px 5px;
    text-align: center;
    vertical-align: middle;
    min-width: 60px;
}

.colaboradores-table a {
    display: inline-block;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #f8f9fa;
    width: 100%;
    max-width: 120px;
}

.colaboradores-table a:hover {
    background: #e8f4f8;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 122, 180, 0.15);
}

.colab-logo {
    width: 100%;
    max-width: 100px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    filter: grayscale(0%);
}

.colaboradores-table a:hover .colab-logo {
    transform: scale(1.05);
}

.colab-mas {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #007AB4;
    padding: 15px 25px;
    display: inline-block;
    background: #f0f7fa;
    border-radius: 12px;
    border: 2px dashed #007AB4;
    opacity: 0.7;
    text-align: center;
}

@media (max-width: 992px) {
    .colaboradores-table td {
        padding: 8px 4px;
        min-width: 50px;
    }
    .colab-logo {
        max-width: 80px;
        max-height: 50px;
    }
    .colaboradores-table a {
        padding: 8px;
        max-width: 100px;
    }
    .colaboradores-table-wrapper {
        padding: 20px 15px;
    }
    .colaboradores-table {
        border-spacing: 8px 10px;
    }
}

@media (max-width: 768px) {
    .colaboradores-section {
        padding: 30px 0 20px 0;
    }
    .colaboradores-table {
        border-spacing: 6px 8px;
    }
    .colaboradores-table td {
        padding: 5px 3px;
        min-width: 40px;
    }
    .colab-logo {
        max-width: 60px;
        max-height: 40px;
    }
    .colaboradores-table a {
        padding: 6px;
        max-width: 80px;
        border-radius: 8px;
    }
    .colaboradores-table-wrapper {
        padding: 15px 10px;
        border-radius: 12px;
    }
    .colab-mas {
        font-size: 12px;
        padding: 10px 18px;
    }
}

@media (max-width: 600px) {
    .colaboradores-table {
        border-spacing: 4px 6px;
    }
    .colaboradores-table td {
        padding: 4px 2px;
        min-width: 35px;
    }
    .colab-logo {
        max-width: 45px;
        max-height: 30px;
    }
    .colaboradores-table a {
        padding: 4px;
        max-width: 60px;
        border-radius: 6px;
    }
    .colaboradores-table-wrapper {
        padding: 10px 5px;
        border-radius: 10px;
    }
    .colab-mas {
        font-size: 10px;
        padding: 8px 12px;
    }
}


.footer-cira {
    background: linear-gradient(135deg, #1a2634 0%, #0f1a24 100%);
    color: #cbd5e0;
    padding: 40px 0 20px 0;
    margin-top: 30px;
    border-top: 4px solid #007AB4;
}

.footer-cira-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-cira-header {
    text-align: center;
    margin-bottom: 25px;
}

.footer-cira-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-cira-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0;
    letter-spacing: 1px;
}

.footer-cira-title span {
    color: #ffd700;
}

.footer-cira-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #a0aec0;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-cira-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e0;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.footer-social-link:hover {
    background: #007AB4;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 122, 180, 0.3);
    border-color: #007AB4;
}

.footer-social-link svg {
    flex-shrink: 0;
}

.footer-social-link span {
    display: inline;
}

.footer-cira-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 0 20px 0;
}

.footer-cira-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-cira-info {
    text-align: left;
}

.footer-cira-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #a0aec0;
    margin: 6px 0;
    line-height: 1.6;
}

.footer-cira-info p strong {
    color: white;
    font-weight: 600;
}

.footer-link {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-cira-copyright {
    text-align: right;
}

.footer-cira-copyright p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #718096;
    margin: 4px 0;
}

.footer-cira-copyright .footer-link {
    color: #cbd5e0;
}

.footer-cira-copyright .footer-link:hover {
    color: #ffd700;
}

.footer-cira-credit {
    font-size: 11px !important;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-cira-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .footer-cira-info {
        text-align: center;
    }
    .footer-cira-copyright {
        text-align: center;
    }
    .footer-cira-social {
        gap: 10px;
    }
    .footer-social-link {
        padding: 8px 16px;
        font-size: 12px;
    }
    .footer-social-link span {
        display: none;
    }
    .footer-social-link {
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .footer-cira {
        padding: 30px 0 15px 0;
        margin-top: 20px;
    }
    .footer-cira-title {
        font-size: 22px;
    }
    .footer-logo-img {
        height: 40px;
    }
    .footer-cira-subtitle {
        font-size: 11px;
    }
    .footer-cira-info p {
        font-size: 12px;
    }
    .footer-cira-copyright p {
        font-size: 11px;
    }
    .footer-social-link {
        padding: 8px 10px;
    }
    .footer-social-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 600px) {
    .footer-cira {
        padding: 25px 0 12px 0;
        margin-top: 15px;
    }
    .footer-cira-title {
        font-size: 18px;
    }
    .footer-logo-img {
        height: 32px;
    }
    .footer-cira-subtitle {
        font-size: 10px;
    }
    .footer-cira-social {
        gap: 8px;
    }
    .footer-social-link {
        padding: 6px 8px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        justify-content: center;
    }
    .footer-social-link span {
        display: none;
    }
    .footer-cira-info p {
        font-size: 11px;
    }
    .footer-cira-copyright p {
        font-size: 10px;
    }
}

.scroll-to-top-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AB4, #005a8a);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 122, 180, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
}

.scroll-to-top-icon.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top-icon:hover {
    background: linear-gradient(135deg, #ffd700, #f5a623);
    color: #1a2634;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

@media (max-width: 600px) {
    .scroll-to-top-icon {
        width: 42px;
        height: 42px;
        bottom: 15px;
        right: 15px;
    }
    .scroll-to-top-icon svg {
        width: 22px;
        height: 22px;
    }

}