/* ===== FUENTES LOCALES (Fallback) ===== */
@font-face {
    font-family: 'Lato-Local';
    src: url('../../assets/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Local';
    src: url('../../assets/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Definición adicional para asegurar carga */
@font-face {
    font-family: 'Lato-Bold-Test';
    src: url('../../assets/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Forzar el uso de la fuente local para las comillas */
@font-face {
    font-family: 'Lato-Local';
    src: local('Lato Bold'), url('../../assets/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+201C, U+201D; /* Comillas tipográficas " y " */
}

/* Lato Regular 400 para comillas tipográficas */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400&display=swap');

@font-face {
    font-family: 'Lato-Local';
    src: url('../../assets/fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Local';
    src: url('../../assets/fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Local';
    src: url('../../assets/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES CSS ===== */
:root {
    --unnamed-color-fbf9ef: #FBF9EF;
    --unnamed-color-026751: #026751;
    --unnamed-color-e0f3ab: #E0F3AB;
    --unnamed-color-313131: #313131;
    --unnamed-color-8bc372: #8BC372;
    --header-bg: #FBF9EF;
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --title-color: #026751;
    --bg-color: #f8f9fa;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    overflow-x: clip; /* Evita scroll horizontal sin romper position: sticky */
}

body {
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    /* UI Properties */
    background: var(--unnamed-color-fbf9ef) 0% 0% no-repeat padding-box;
    background: #FBF9EF 0% 0% no-repeat padding-box;
    opacity: 1;
    overflow-x: clip; /* Evita scroll horizontal sin romper position: sticky */
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ===== LAYOUT PRINCIPAL ===== */
.main-content {
    min-height: calc(100vh - 140px);
    padding: 0 0 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== SECCIONES ===== */
section {
    padding: 0rem 0;
    
}

section:first-of-type {
    padding-top: 0;
}

.hero {
    position: relative;
    height: 579px;
    /* UI Properties */
    background: rgba(238, 233, 217, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    box-shadow: none;
    border: none;
    z-index: 5; /* Consistente con móvil para mantener la relación */
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    opacity: 1;
}

.hero-image {
    width: 704px;
    height: 582px;
    /* UI Properties */
    background: transparent url('../../assets/images/Collage-3-banner.png') 0% 0% no-repeat padding-box;
    background-size: cover;
    opacity: 1;
    position: absolute;
    right: -50px; /* Permite que la imagen se extienda más hacia la derecha */
    top: 0;
    z-index: 10; /* Se superpone sobre premio-section */
}

.hero-text {
    position: relative;
    z-index: 20; /* Mayor que la imagen hero para estar al frente */
    text-align: left;
    color: white;
    padding: 3rem;
    border-radius: 8px;
    opacity: 1;
    max-width: 50%;
    flex-shrink: 0;
}

.banner-title {
    height: 144px;
    /* UI Properties */
    color: var(--unnamed-color-026751);
    text-align: left;
    font: normal normal 900 40px/48px Lato;
    letter-spacing: 0px;
    color: #026751;
    opacity: 1;
    margin-bottom: 1rem;
    font-weight: 900 !important;
    font-size: 40px !important;
    line-height: 48px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

.banner-description {
    /* UI Properties */
    color: var(--unnamed-color-313131);
    text-align: left;
    font: normal normal normal 20px/24px Lato;
    letter-spacing: 0px;
    color: #313131;
    opacity: 1;
    margin-bottom: 1.5rem;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 24px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

.hero h2:not(.banner-title) {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.cta-button {
    width: 300px;
    height: 40px;
    /* UI Properties */
    background: var(--unnamed-color-8bc372) 0% 0% no-repeat padding-box;
    background: #8BC372 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 23px;
    opacity: 1;
    color: #026751;
    border: none;
    position: relative;
    z-index: 25; /* Al frente de todo el contenido hero */
    cursor: pointer;
    transition: background 0.3s ease;
    -webkit-transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button span {
    width: 350px;
    height: auto;
    /* UI Properties */
    color: var(--unnamed-color-026751);
    text-align: center;
    font: normal normal bold 15px/18px Lato;
    letter-spacing: 0px;
    color: #026751;
    opacity: 1;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 18px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button {
    text-decoration: none;
}

.cta-button:hover {
    background: #7bb062;
    text-decoration: none;
}

.discover-button {
    text-decoration: none;
}

.discover-button:hover {
    text-decoration: none;
}

.premio-section,
.versiones-section,
.postulacion-section,
.blog-section,
.sala-prensa-section {
    padding: 1.5rem 3rem;
    border-radius: 8px;
    
}

.postulacion-section {
    padding-top: 3rem;
    padding-bottom: 10rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* ===== CARRUSEL DE TESTIMONIOS ===== */
.testimonials-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10rem;
    padding: 2rem 1rem;
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-group {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    -webkit-scroll-snap-align: start;
    min-width: 600px; /* Reducido para permitir superposición */
}

.testimonial-image-card {
    width: 350px;
    height: 327px;
    border-radius: 14px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.testimonial-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-text-card {
    width: 408px;
    height: 289px;
    background: #EFEFEF;
    border-radius: 14px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    margin-left: 337px; /* Superposición hacia la derecha */
}


/* Estilos para el contenido de testimonios */
.testimonial-quote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


.quote-text {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
}

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

.author-title {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

/* Indicadores del carrusel - OCULTOS */
.carousel-indicators {
    display: none !important;
}

.carousel-indicator {
    display: none !important;
}

.card-left {
    width: 350px;
    height: 327px;
    /* UI Properties */
    background: transparent url('../../assets/images/fotografias/home/Adriana Martínez.jpg') 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 14px;
    opacity: 1;
    left: 10%;
    top: 50px;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.card-center {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 408px;
    height: 289px;
    /* UI Properties */
    background: #EFEFEF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 14px;
    opacity: 1;
    z-index: 3;
    padding: 1.2rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.card-right {
    width: 350px;
    height: 327px;
    /* UI Properties */
    background: transparent url('../../assets/images/fotografias/home/Sandra Suescún.jpg') 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 14px;
    opacity: 1;
    right: 0%;
    top: 50px;
    z-index: 1;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-quote {
    text-align: left;
    max-width: 100%;
}

.testimonial-text-card .quote-marks,
.testimonial-group .testimonial-text-card .quote-marks,
div.quote-marks {
    /* UI Properties */
    color: var(--unnamed-color-313131);
    text-align: left;
    font: normal normal bold 56px/67px Lato;
    letter-spacing: 0px;
    color: #313131;
    opacity: 1;
}

.quote-text {
    width: 339px;
    height: 133px;
    /* UI Properties */
    color: var(--unnamed-color-313131);
    text-align: left;
    font: normal normal medium 16px/19px Lato;
    letter-spacing: 0px;
    color: #313131;
    opacity: 1;
    margin-top: -0.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 19px !important;
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
   
    padding-top: 0.8rem;
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
}

.author-title {
    /* UI Properties */
    text-align: left;
    font: normal normal normal 13px/16px Lato;
    letter-spacing: 0px;
    color: #707070;
    opacity: 1;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
}

.ganadores-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ganadores-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ganadores-title h2 {
    /* UI Properties */
    color: var(--unnamed-color-313131);
    text-align: center;
    font: normal normal 900 40px/48px Lato;
    letter-spacing: 4px;
    color: #313131;
    opacity: 1;
    margin-bottom: -1rem;
    font-weight: 900 !important;
    font-size: 40px !important;
    line-height: 48px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

.year-star {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.star {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.year {
    /* UI Properties */
    color: var(--unnamed-color-313131);
    text-align: left;
    font: normal normal normal 59px/71px Lato;
    letter-spacing: 5.9px;
    color: #313131;
    opacity: 1;
    font-weight: 400 !important;
    font-size: 59px !important;
    line-height: 71px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

.ganadores-description {
    flex: 1;
    max-width: 400px;
}

.ganadores-description p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== TARJETAS DE GANADORES - ESCRITORIO ===== */
.winner-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.winner-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

/* Estilos para enlaces winner-item */
a.winner-item {
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
}

a.winner-item:hover,
a.winner-item:focus,
a.winner-item:visited,
a.winner-item:active {
    text-decoration: none !important;
    color: inherit !important;
}

.winner-card {
    width: 323px;
    height: 418px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 14px;
    opacity: 1;
}

.card-1 {
    background: transparent url('/es-co/Bibliotecas-en-Red/premio/paginas/assets/images/fotografias/home/Biblioteca Publica  Municipal de Leticia.jpg') center center no-repeat;
    background-size: cover;
}

.card-2 {
    background: transparent url('/es-co/Bibliotecas-en-Red/premio/paginas/assets/images/fotografias/01. Selección collage/02. Diversidad, tejido y organización comunitaria/Inzá_2017.JPG') center center no-repeat;
    background-size: cover;
}

.card-3 {
    background: transparent url('/es-co/Bibliotecas-en-Red/premio/paginas/assets/images/fotografias/01. Selección collage/03. Experiencias de innovación bibliotecaria/03.jpg') center center no-repeat;
    background-size: cover;
}

.card-content {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    max-width: 323px;
}

.card-category {
    /* UI Properties */
    color: var(--unnamed-color-026751);
    text-align: left;
    font: normal normal 900 11px/13px Lato;
    letter-spacing: 0px;
    color: #026751;
    text-transform: uppercase;
    opacity: 1;
    margin-bottom: 0.5rem;
    font-weight: 900 !important;
    font-size: 11px !important;
    line-height: 13px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

.card-subtitle {
    width: 220px;
    height: 22px;
    text-align: left;
    font: normal normal normal 18px/22px Lato;
    letter-spacing: 0px;
    color: #707070;
    opacity: 1;
    margin-bottom: 0.5rem;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 22px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

.card-title {
    width: 315px;
    height: 60px;
    /* UI Properties */
    color: var(--unnamed-color-313131);
    text-align: left;
    font: normal normal bold 25px/30px Lato;
    letter-spacing: 0px;
    color: #313131;
    opacity: 1;
    margin-bottom: 0.5rem;
    font-weight: 700 !important;
    font-size: 24px !important;
    line-height: 30px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

.card-location {
    color: #026751;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-top: 0.75rem;
}

/* ===== BANNER DE DESCUBRIMIENTO ===== */
.discover-banner {
    height: 183px;
    /* UI Properties */
    
    opacity: 1;
    border-radius: 0;
    padding: 3rem 0rem 0rem 1rem;
    
    position: relative;
    overflow: visible;
    
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    z-index: 1;
    display: block;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    height: 100%;
    padding: 0 2rem 0 6rem;
    gap: 0rem;
}

.banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
    position: relative;
    width: auto;
    height: 100%;
    margin-right: 0;
    z-index: 100;
}

.banner-text {
    flex: 0 0 auto;
    margin-right: 0;
    margin-left: 0;
}

.banner-text p {
    margin: 0;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #026751;
    line-height: 1.3;
}

.banner-text p:first-child {
    margin-bottom: 0.5rem;
}

/* Estilos base para escritorio */
@media (min-width: 769px) {
    .question-line-1 {
        width: 397px !important;
        height: 42px !important;
        /* UI Properties */
        color: var(--unnamed-color-026751) !important;
        text-align: left !important;
        font: normal normal normal 35px/42px Lato !important;
        letter-spacing: 0px !important;
        color: #026751 !important;
        opacity: 1 !important;
        margin-bottom: 0.5rem !important;
        font-weight: 400 !important;
        font-size: 35px !important;
        line-height: 42px !important;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
    }
}

@media (min-width: 769px) {
    .question-line-2 {
        width: 406px !important;
        height: 42px !important;
        /* UI Properties */
        color: var(--unnamed-color-026751) !important;
        text-align: left !important;
        font: normal normal 900 35px/42px Lato !important;
        letter-spacing: 0px !important;
        color: #026751 !important;
        opacity: 1 !important;
        margin-bottom: 0 !important;
        font-weight: 900 !important;
    }
}

.discover-button {
    width: 345px;
    height: 57px;
    /* UI Properties */
    background: #F7BDF7 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 33px;
    opacity: 1;
    color: #026751;
    border: none;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.discover-button:hover {
    background: #F0A8F0;
    box-shadow: 0px 4px 8px #00000040;
}

/* Estilos específicos para escritorio */
@media (min-width: 769px) {
    .hero {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
    }
    
    .discover-banner {
        height: 183px !important;
        background: #E7E033 0% 0% no-repeat padding-box !important;
        background-image: none !important;
        background-color: #E7E033 !important;
        padding: 3rem 4rem 3rem 6rem !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        display: block !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        box-shadow: 0 4px 15px rgba(231, 224, 51, 0.3) !important;
    }
    
    /* Restaurar estilos originales del texto en escritorio */
    .discover-banner .banner-text {
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    }
    
    /* Restaurar estilos originales del botón en escritorio */
    .discover-button {
        box-shadow: 0px 3px 6px #00000029 !important;
        border: none !important;
    }
    
    /* Ocultar pseudo-elemento de móvil en escritorio */
    .discover-banner::before {
        display: none !important;
    }
    
    .banner-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        gap: 2rem !important;
        z-index: 100 !important;
        padding: 0 2rem !important;
        height: 100% !important;
        background: none !important;
        border-radius: 0 !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }
    
    .banner-text {
        margin-right: 0 !important;
        flex: 0 0 auto !important;
        text-align: left !important;
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }
    
    .discover-button {
        transform: none !important;
        width: 345px !important;
        height: 57px !important;
        font-size: 1.1rem !important;
        flex-shrink: 0 !important;
        position: relative !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #F7BDF7 !important;
        border-radius: 33px !important;
        box-shadow: 0px 3px 6px #00000029 !important;
        color: #026751 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }
    
    .discover-button:hover {
        background: #F0A8F0 !important;
        box-shadow: 0px 4px 8px #00000040 !important;
    }
    
    .button-text {
        text-align: center !important;
        font-size: 30px !important;
        line-height: 36px !important;
        font-weight: 900 !important;
        color: #026751 !important;
    }
    
    .banner-right {
        z-index: 100 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        align-self: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
        width: 323px !important;
        max-width: 323px !important;
        margin-top: 1rem !important;
    }
    
    .collage-image {
        display: block !important;
    }
    
    .collage-5-image {
        display: block !important;
    }
    
    /* Espaciado para la sección ediciones en escritorio */
    .ediciones-section {
        margin-top: 4rem !important;
        margin-bottom: 4rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

.button-text {
    width: 244px;
    height: 36px;
    /* UI Properties */
    color: var(--unnamed-color-026751);
    text-align: center;
    font: normal normal 900 30px/36px Lato;
    letter-spacing: 0px;
    color: #026751;
    opacity: 1;
    font-weight: 900 !important;
    font-size: 30px !important;
    line-height: 36px !important;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
}

    .versiones-section {
        position: relative;
        overflow: visible;
        margin: 0;
        padding: 0.5rem 0;
        min-height: 150px;
        height: auto;
    }

    /* Reducir espacio en móvil para sección versiones */
    @media (max-width: 768px) {
        .versiones-section {
            padding: 0.25rem 0 !important;
            min-height: 100px !important;
        }
        
        .premio-section,
        .versiones-section,
        .postulacion-section,
        .blog-section,
        .sala-prensa-section {
            padding: 0.5rem 1rem !important;
        }

        /* Ajustar texto de testimonial-quote en móvil */
        .testimonial-quote {
            font-size: 16px !important;
            line-height: 1.5 !important;
            padding: 1rem 0.75rem !important;
            margin: 0 !important;
            text-align: left !important;
            max-width: 100% !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            font-weight: 400 !important;
            color: #333 !important;
            letter-spacing: 0.02em !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
    -moz-hyphens: auto !important;
        }

        /* Mejorar las comillas en móvil */
        .quote-marks {
            font-size: 24px !important;
            line-height: 1 !important;
            margin-bottom: 0.5rem !important;
            display: block !important;
            font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
            font-weight: 700 !important;
            color: #313131 !important;
        }

        /* Ajustar el contenedor del testimonio en móvil */
        .testimonial-card {
            padding: 1rem !important;
        }

        .testimonial-card .testimonial-content {
            padding: 0.5rem !important;
        }
    }

.collage-image {
    width: 400px;
    height: 400px;
    /* UI Properties */
    background: transparent url('../../assets/images/Collage-1.png') 0% 0% no-repeat padding-box;
    background-size: contain;
    opacity: 1;
    position: absolute;
    right: -50px;
    top: -100px;
    z-index: 1;
    pointer-events: none;
}

.collage-5-image {
    width: 200px;
    height: 300px;
    /* UI Properties */
    background: transparent url('../../assets/images/collage_5.png') 0% 0% no-repeat padding-box;
    background-size: contain;
    background-position: center;
    opacity: 1;
    position: absolute;
    left: -50px;
    top: 10px;
    z-index: 1;
    pointer-events: none;
}

.hero {
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 50px !important;
    outline: none !important;
}

section.hero {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ===== GRID DE BIBLIOTECAS ===== */
.bibliotecas-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 2rem;
    /* Fallback para navegadores que no soportan gap */
    margin-left: -1rem;
    margin-right: -1rem;
}

.bibliotecas-grid > * {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 300px;
    -ms-flex: 1 1 300px;
    flex: 1 1 300px;
    margin: 1rem;
}

/* CSS Grid para navegadores modernos */
@supports (display: grid) {
    .bibliotecas-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .bibliotecas-grid > * {
        margin: 0;
    }
}

.biblioteca-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.biblioteca-card:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
}

.biblioteca-card:hover .card-image img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.card-logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-content .ubicacion {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.card-content .descripcion {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    -webkit-transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #5a6fd8;
}

/* ===== CARRUSEL - ESCRITORIO ===== */
/* En escritorio, las tarjetas se muestran en grid horizontal */

/* Asegurar que en escritorio las tarjetas mantengan el diseño horizontal */
@media (min-width: 769px) {
    .winner-cards {
        display: flex !important;
        justify-content: center !important;
        gap: 2rem !important;
        margin-top: 3rem !important;
        flex-wrap: nowrap !important;
        position: relative !important;
        z-index: 10 !important;
        overflow: visible !important;
        -webkit-overflow-scrolling: auto !important;
        scrollbar-width: auto !important;
        -ms-overflow-style: auto !important;
    }
    
    .winner-cards::-webkit-scrollbar {
        display: auto !important;
    }
    
    .winner-cards-container {
        display: flex !important;
        gap: 2rem !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }
    
    .winner-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        flex: 0 0 323px !important;
        margin-right: 0 !important;
    }
    
    .winner-card {
        width: 323px !important;
        height: 418px !important;
        margin-bottom: 0 !important;
    }
    
    .card-content {
        padding: 0 !important;
        text-align: left !important;
        max-width: none !important;
    }
    
    .card-category {
        font-size: 11px !important;
        line-height: 13px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .card-subtitle {
        font-size: 18px !important;
        line-height: 22px !important;
        margin-bottom: 2rem !important;
    }
    
    .card-title {
        font-size: 25px !important;
        line-height: 30px !important;
        margin-bottom: 1rem !important;
    }
    
    .card-location {
        font-size: 16px !important;
        line-height: 20px !important;
        color: #026751 !important;
        font-weight: normal !important;
        margin-top: 1.5rem !important;
        display: block;
    }
}

/* ===== RESPONSIVE ===== */
/* Estilos específicos para tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        overflow: hidden !important; /* Corta la imagen que se sale */
    }
}

@media (max-width: 768px) {
    /* ===== BANNER RESPONSIVE ===== */
    .hero {
        width: 100%;
        height: 514px;
        background: rgba(238, 233, 217, 0.62);
        padding: 2rem 0;
        margin-bottom: 4rem;
        position: relative;
        z-index: 5; /* Mayor que la imagen para mantener la relación */
        overflow: visible; /* Permite la superposición como en desktop */
    }
    
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0 1rem;
    }
    
    .hero-text {
        max-width: 100%;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero h2 {
        width: 357px;
        height: 108px;
        color: #026751 !important;
        text-align: left !important;
        font: normal normal 900 30px/36px Lato !important;
        letter-spacing: 0px !important;
        opacity: 1 !important;
        margin-top: -9rem;
        margin-bottom: 1rem;
        transform: translateY(3.5rem);
    }
    
    .hero p {
        line-height: 20px !important;
        margin-bottom: 1.5rem;
        max-width: 60%;
        padding-right: 2rem;
        transform: translateY(3.5rem);
    }
    
    .cta-button {
        width: 280px;
        height: 36px;
        font-size: 14px;
        margin-top: 4rem;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(8rem);
    }
    
    .cta-button span {
        width: auto !important;
        font-size: 14px !important;
        line-height: 16px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .hero-image {
        position: absolute;
        width: 555px;
        height: 459px;
        background: transparent url('../../assets/images/Collage-3-banner.png') 0% 0% no-repeat padding-box;
        opacity: 1;
        right: -313px;
        bottom: -236px;
        top: auto;
        z-index: 10; /* Se superpone sobre premio-section */
        background-size: contain;
        background-position: center;
    }
    
    .hero-text {
        position: relative;
        z-index: 20; /* Mayor que la imagen hero para estar al frente */
    }
    
    .premio-section,
    .bibliotecas-section,
    .contacto-section {
        padding: 2rem 1rem;
    }
    
    .bibliotecas-grid {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .bibliotecas-grid > * {
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }
    
    @supports (display: grid) {
        .bibliotecas-grid {
            grid-template-columns: 1fr;
        }
        
        .bibliotecas-grid > * {
            margin: 0;
        }
    }
    
    .ganadores-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        margin-top: 4rem;
    }
    
    .ganadores-title {
        align-items: center;
    }
    
    .ganadores-title h2 {
        font-size: 32px !important;
        line-height: 40px !important;
        letter-spacing: 3px !important;
    }
    
    /* ===== CARRUSEL DE GANADORES EN MÓVIL ===== */
    .winner-cards {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 2rem 0;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
        scroll-behavior: smooth;
        -webkit-scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-scroll-snap-type: x mandatory;
    }
    
    .winner-cards:active {
        cursor: grabbing;
    }
    
    .winner-cards::-webkit-scrollbar {
        display: none;
    }
    
    .winner-cards-container {
        display: flex;
        gap: 0;
        padding: 0 1rem;
        width: calc(300px * 3 + 1rem * 2 + 2rem);
        min-width: 100%;
        transition: transform 0.1s ease-out;
    }
    
    .winner-item {
        flex: 0 0 300px !important;
        scroll-snap-align: start !important;
        -webkit-scroll-snap-align: start !important;
        margin-right: 1rem !important;
    }
    
    .winner-card {
        width: 100%;
        height: 350px;
        margin: 0 auto 1rem auto;
    }
    
    .card-content {
        padding: 0;
        text-align: left;
        max-width: none;
        margin: 0;
    }
    
    .card-category {
        font-size: 11px !important;
        line-height: 13px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .card-subtitle {
        font-size: 18px !important;
        line-height: 22px !important;
        margin-bottom: 1rem !important;
    }
    
    .card-title {
        font-size: 22px !important;
        line-height: 26px !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        height: auto !important;
        text-align: left !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .card-location {
        font-size: 15px !important;
        line-height: 19px !important;
        color: #026751 !important;
        font-weight: normal !important;
        margin-top: 1.5rem !important;
        display: block;
    }
}

/* Media query adicional para móviles muy pequeños */
@media (max-width: 480px) {
    .card-title {
        font-size: 18px !important;
        line-height: 22px !important;
        margin-bottom: 0.75rem !important;
        width: 100% !important;
        height: auto !important;
        text-align: left !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .card-subtitle {
        font-size: 16px !important;
        line-height: 20px !important;
        margin-bottom: 1.55rem !important;
    }
    
    .card-location {
        font-size: 14px !important;
        line-height: 18px !important;
        margin-top: 1rem !important;
    }
    
    /* Los indicadores han sido removidos - solo arrastre */
    
    .star {
        font-size: 2rem;
    }
    
    .year {
        font-size: 48px !important;
        line-height: 58px !important;
        letter-spacing: 4.8px !important;
    }
    
    /* Las tarjetas en móvil ya están definidas arriba en el carrusel */
    }
    
    .discover-banner {
        height: 874px;
        background-size: cover;
        background-position: center;
        
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: left;
        padding: 0;
        align-items: flex-start;
        justify-content: space-between;
        height: 100%;
        position: relative;
        z-index: 10;
        background: none;
        border-radius: 0;
        max-width: none;
        width: 100%;
    }
    
    .discover-banner .banner-text {
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
        width: 60% !important;
        margin-top: 1rem !important;
        padding-left: 0.2rem !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        display: block !important;
        flex: none !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .banner-text p {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .discover-banner .question-line-1 {
        width: 100% !important;
        font-size: 35px !important;
        line-height: 28px !important;
        margin-bottom: 0.1rem !important;
        color: #026751 !important;
        text-align: left !important;
        font-weight: normal !important;
    }
    
    .discover-banner .question-line-2 {
        width: 100% !important;
        font-size: 35px !important;
        line-height: 28px !important;
        font-weight: 900 !important;
        margin-bottom: 0 !important;
        color: #026751 !important;
        text-align: left !important;
    }
    
    .banner-right {
        align-self: center !important;
        margin-right: 0 !important;
        margin-top: auto !important;
        margin-bottom: 2rem !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
    
    .discover-button {
        width: 250px !important;
        height: 50px !important;
        font-size: 0.9rem !important;
        transform: none !important;
        margin: 0 auto !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    .collage-image {
        display: none;
    }
    
    .collage-5-image {
        display: none;
    }
    
    /* Imagen completa para móvil usando pseudo-elemento */
    .discover-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../../assets/images/Collage-1.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        pointer-events: none;
    }
    
    /* Asegurar que el banner tenga posición relativa */
    .discover-banner {
        position: relative !important;
    }
    
    
    /* Mejorar legibilidad del texto sobre la imagen */
    .discover-banner .banner-text {
        
        padding: 1rem !important;
        border-radius: 8px !important;
        backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    }
    
    /* Mejorar contraste del botón sobre la imagen */
    .discover-button {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    .button-text {
        width: 100%;
        font-size: 24px !important;
        line-height: 30px !important;
    }
    
    .collage-image {
        width: 778px;
        height: 778px;
        right: -100px;
        top: -339px;
    }
    
    .collage-5-image {
        width: 300px;
        height: 300px;
        left: -146px;
        bottom: -50px;
    }

@media (max-width: 480px) {
    .collage-image {
        width: 300px;
        height: 300px;
        right: -50px;
        top: -80px;
    }
    
    .collage-5-image {
        width: 150px;
        height: 150px;
        left: -30px;
        bottom: -30px;
    }
    
    .discover-button {
        transform: none !important;
    }
    
    .testimonials-container {
        height: auto;
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 0.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .testimonial-group {
        flex-direction: column;
        gap: 1rem;
        min-width: 90%;
        width: 90%;
        align-items: center;
        justify-content: flex-start;
    }
    
    .testimonial-image-card {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
        order: 1;
        position: relative;
        z-index: 1;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .testimonial-image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .testimonial-text-card {
        width: 100%;
        height: auto;
        min-height: 200px;
        order: 2;
        padding: 1.5rem;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-left: 0;
        z-index: 2;
    }
    
    .quote-marks {
        font-size: 32px !important;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
        font-weight: 700 !important;
        color: #313131 !important;
        line-height: 1 !important;
    }
    
    .quote-text {
        font-size: 12px;
        line-height: 1.3;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
        font-weight: 500 !important;
        color: #313131 !important;
    }
    
    .author-name {
        font-size: 12px;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
        font-weight: 700 !important;
        color: #313131 !important;
    }
    
    .author-title {
        font-size: 10px;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
        font-weight: 400 !important;
        color: #666 !important;
    }
    
    /* Estilos para arrastre con mouse en móvil */
    .testimonials-container.active {
        cursor: grabbing;
        user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    }
    
    .testimonials-container:active {
        cursor: grabbing;
    }
    
    .card-left {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 250px !important;
        flex: 0 0 100% !important;
    }
    
    .card-center {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 250px !important;
        flex: 0 0 100% !important;
        margin-left: -80px; /* Mover hacia la izquierda */
    }
    
    .card-right {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 250px !important;
        flex: 0 0 100% !important;
    }

    /* Indicadores del carrusel */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .carousel-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #ccc;
        cursor: pointer;
        transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    }

    .carousel-indicator.active {
        background-color: #E7E033;
    }

    /* Estilos para escritorio - carrusel horizontal */
    @media (min-width: 769px) {
        .testimonials-container {
            display: flex;
            flex-direction: row;
            gap: 2rem;
            padding: 2rem 1rem;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            justify-content: flex-start;
            align-items: flex-start;
        }

        .testimonial-group {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            min-width: 600px;
        }

        .testimonial-image-card {
            width: 350px;
            height: 327px;
            position: relative;
            z-index: 1;
        }

        .testimonial-text-card {
            width: 408px;
            height: 289px;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            margin-left: 50px;
        }

        .card-left {
            position: relative !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
            width: 350px !important;
            height: 327px !important;
            flex: 0 0 auto !important;
        }

        .card-center {
            position: relative !important;
            left: auto !important;
            top: auto !important;
            transform: none !important;
            width: 350px !important;
            height: 327px !important;
            flex: 0 0 auto !important;
        }

        .card-right {
            position: relative !important;
            right: auto !important;
            top: auto !important;
            transform: none !important;
            width: 350px !important;
            height: 327px !important;
            flex: 0 0 auto !important;
        }

        /* Ocultar indicadores en escritorio */
        .carousel-indicators {
            display: none !important;
        }
    }
    
    .testimonial-card {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }
    
    .card-left {
        width: 100%;
        max-width: 350px;
        height: 280px;
    }
    
    .card-right {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
    
    .card-center {
        width: 100%;
        max-width: 408px;
        height: auto;
        padding: 1.5rem;
    }
    
    .quote-marks {
        font-size: 3rem !important;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
        font-weight: 700 !important;
        color: #313131 !important;
        line-height: 1 !important;
    }
    
    .quote-text {
        width: 100%;
        height: auto;
        font-size: 14px;
        line-height: 17px;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif !important;
        font-weight: 500 !important;
        color: #313131 !important;
    }
}

/* ===== CONTENEDOR FOOTER COMPLETO ===== */
.footer-wrapper {
    position: relative;
    overflow: hidden;
}

/* ===== BARRA SUPERIOR AL FOOTER ===== */
.footer-bar {
    height: 95px;
    /* UI Properties */
    background: #F7BDF7 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
    overflow: visible;
}


.footer-bar-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    gap: 2rem;
}

.footer-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.footer-bar-text {
    width: 579px;
    height: 48px;
    /* UI Properties */
    color: var(--unnamed-color-026751);
    text-align: left;
    font: normal normal normal 20px/24px Lato;
    letter-spacing: 0px;
    color: #026751;
    opacity: 1;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    margin: 0;
}

.footer-bar-button {
    width: 234px;
    height: 45px;
    /* UI Properties */
    border: 2px solid var(--unnamed-color-026751);
    box-shadow: 0px 3px 6px #00000029;
    border: 2px solid #026751;
    border-radius: 23px;
    opacity: 1;
    background: transparent;
    color: #026751;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-bar-button:hover {
    background: #026751;
    color: white;
    text-decoration: none;
}

/* Alineación del footer con las tarjetas */
@media (min-width: 769px) {
    .footer-bar-content {
        justify-content: center !important;
        gap: 2rem !important;
        width: calc(323px * 3 + 2rem * 2) !important;
        max-width: calc(323px * 3 + 2rem * 2) !important;
        margin: 0 auto !important;
    }
    
    .footer-bar-left {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .footer-bar-right {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }
}

/* Estilos para móvil - footer-bar como en la imagen */
@media (max-width: 768px) {
    .footer-bar {
        height: auto;
        padding: 2rem 1rem;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bar-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
    }
    
    .footer-bar-left {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bar-text {
        width: 100%;
        max-width: 300px;
        height: auto;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }
    
    .footer-bar-button {
        width: 200px;
        height: 40px;
        font-size: 14px;
        margin: 0 auto;
    }
}

/* ===== FOOTER ===== */
.footer {
    min-height: 157px;
    background: var(--unnamed-color-026751) 0% 0% no-repeat padding-box;
    background: #026751 0% 0% no-repeat padding-box;
    opacity: 1;
    color: white;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    padding: 2rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Flor decorativa a la izquierda del footer-wrapper */
.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 4px;
    left: -120px;
    width: 300px;
    height: 250px;
    background: url('../../assets/images/Collage_33.png') no-repeat center;
    background-size: contain;
    opacity: 0.8;
    z-index: 20;
    transform: rotate(-15deg);
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    transition: all 0.3s ease;
}

/* Ajustes responsivos para la flor decorativa */
@media (max-width: 1200px) {
    .footer-wrapper::before {
        left: -140px;
        width: 280px;
        height: 230px;
    }
}

@media (max-width: 992px) {
    .footer-wrapper::before {
        left: -160px;
        width: 260px;
        height: 210px;
        top: 8px;
    }
}

@media (max-width: 768px) {
    .footer-wrapper::before {
        top: 25px;
        left: -200px;
        width: 240px;
        height: 190px;
        transform: rotate(-12deg);
    }
}

@media (max-width: 576px) {
    .footer-wrapper::before {
        top: 35px;
        left: -180px;
        width: 220px;
        height: 170px;
        transform: rotate(-10deg);
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    .footer-wrapper::before {
        top: 40px;
        left: -160px;
        width: 200px;
        height: 150px;
        transform: rotate(-8deg);
        opacity: 0.5;
    }
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 1rem 0;
}

.logo-culturas,
.logo-biblioteca,
.logo-rnbp,
.logo-pnbp {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-width: 0;
    height: 120px !important; /* Altura uniforme para todos los contenedores */
    min-height: 120px !important;
    max-height: 120px !important;
    overflow: hidden !important;
}

/* Asegurar que el logo PNBP esté alineado horizontalmente */
.logo-pnbp {
    align-items: center;
    justify-content: center;
}

/* Ocultar texto y líneas debajo del logo de culturas en escritorio */
@media (min-width: 769px) {
    .logo-culturas .logo-text,
    .logo-culturas .flag-lines,
    .logo-biblioteca .logo-text,
    .logo-rnbp .logo-text,
    .logo-pnbp .logo-text {
        display: none !important;
    }
}

/* Eliminar duplicado - ya definido arriba */

.logo-shield {
    width: 100px !important;
    height: 100px !important;
    background-image: url('../../assets/images/logos/MC.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Ajustar el logo de biblioteca */
.logo-biblioteca .logo-book {
    width: 105px !important;
    height: 105px !important;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

/* Ajustar el logo RNBP */
.logo-rnbp .logo-rnbp-image {
    width: 110px !important;
    height: 110px !important;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

/* Ajustar el logo PNBP */
.logo-pnbp .logo-text {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.logo-shield::after {
    display: none;
}

/* Eliminar duplicado - ya definido arriba */

.logo-text {
    color: white;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.logo-pnbp-image {
    width: 115px !important;
    height: 115px !important;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

/* Mejoras de ubicación para móvil */
@media (max-width: 768px) {
    .footer-logos {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        flex-wrap: nowrap;
    }
    
    .logo-culturas,
    .logo-biblioteca,
    .logo-rnbp,
    .logo-pnbp {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        flex: 0 0 auto;
        min-width: 0;
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
    }
    
    .logo-shield {
        width: 80px !important;
        height: 80px !important;
        background-size: contain;
        flex-shrink: 0;
    }
    
    .logo-biblioteca .logo-book {
        width: 80px !important;
        height: 80px !important;
        flex-shrink: 0;
    }
    
    .logo-rnbp .logo-rnbp-image {
        width: 80px !important;
        height: 80px !important;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    .logo-pnbp-image {
        width: 80px !important;
        height: 80px !important;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    /* Ajustar el texto de los logos para móvil */
    .logo-culturas .logo-text,
    .logo-biblioteca .logo-text {
        font-size: 10px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-pnbp .logo-text {
        font-size: 8px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
}

/* Estilos específicos para altura uniforme en escritorio */
@media (min-width: 769px) {
    .logo-culturas,
    .logo-biblioteca,
    .logo-rnbp,
    .logo-pnbp {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Tamaños máximos y ultra unidos */
    .logo-shield {
        width: 100px !important;
        height: 100px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    .logo-biblioteca .logo-book {
        width: 105px !important;
        height: 105px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    .logo-rnbp .logo-rnbp-image {
        width: 110px !important;
        height: 110px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    .logo-pnbp-image {
        width: 115px !important;
        height: 115px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    /* Texto ya ocultado en media query anterior */
}

.flag-lines {
    display: flex;
    gap: 2px;
}

.flag-line {
    width: 20px;
    height: 3px;
}

.flag-line.yellow { background: #FFD700; }
.flag-line.blue { background: #0033A0; }
.flag-line.red { background: #CE1126; }

.footer-divider {
    width: 1px;
    height: 120px;
    background: white;
    margin: 0 2rem;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-title {
    color: white;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    margin: 0 0 1rem 0;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
}

.contact-icon {
    color: white;
    font-size: 18px;
    width: 24px;
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    vertical-align: middle;
}

.contact-item img.contact-icon {
    width: 11px !important;
    height: 11px !important;
    opacity: 1 !important;
    filter: brightness(0) invert(1) !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.contact-text {
    color: white;
    font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
}

/* Estilos responsivos para footer */
@media (max-width: 1024px) {
    .footer-content {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .footer-logos {
        gap: 1.5rem;
    }
    
    .footer-divider {
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .footer {
        width: 100%;
        min-height: 600px;
        /* UI Properties */
        background: #005047 0% 0% no-repeat padding-box;
        background: #005047 0% 0% no-repeat padding-box;
        opacity: 1;
        padding: 3rem 2rem;
        position: relative;
        z-index: 10;
        margin: 0 auto;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Elementos decorativos de flores como en la imagen */
    /* Sin flor decorativa por ahora - enfocarse en organización */
    .footer::before {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        position: relative;
        z-index: 11;
        height: 100%;
        justify-content: flex-start;
        align-items: stretch;
        max-width: 1200px;
        margin: 0 auto;
        min-height: 400px;
    }
    
    .footer-left {
        width: 100%;
        justify-content: center;
        display: flex;
    }
    
    .footer-logos {
        gap: 0.75rem;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .footer-divider {
        width: 100%;
        height: 1px;
        background: white;
        margin: 0.75rem 0 1rem 0;
    }
    
    .footer-right {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        display: flex;
        flex-direction: column;
        padding-left: 0;
        justify-content: flex-start;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 1rem;
        text-align: left;
        line-height: 1.4;
        color: white;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
        font-weight: normal;
    }
    
    .contact-info {
        gap: 0.75rem;
        align-items: flex-start;
        display: flex !important;
        flex-direction: column;
        margin-top: 0.75rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Mostrar todos los contactos como en la imagen */
    .contact-item:nth-child(2),
    .contact-item:nth-child(3) {
        display: flex !important;
    }
    
    .contact-item {
        gap: 0.75rem;
        justify-content: flex-start;
        display: flex !important;
        align-items: center;
        flex-direction: row;
        width: 100%;
    }
    
    .contact-icon {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 18px !important;
        width: 24px !important;
        height: 24px !important;
        min-height: 24px !important;
        max-height: 24px !important;
        text-align: center !important;
        color: white !important;
        flex-shrink: 0;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        vertical-align: middle !important;
    }
    
    .contact-text {
        font-size: 13px;
        display: inline-block !important;
        visibility: visible !important;
        line-height: 1.4;
        text-align: left;
        flex: 1;
        color: white;
        font-family: 'Lato', 'Lato-Local', Arial, sans-serif;
        vertical-align: middle;
    }
    
    /* Asegurar que el footer-bar no tape el footer */
    .footer-bar {
        position: relative;
        z-index: 5;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 1rem;
        min-height: 500px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        padding: 0;
    }
    
    .footer-logos {
        
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }
    
    .footer-divider {
        width: 100%;
        height: 1px;
        margin: 1.5rem 0;
    }
    
    .footer-right {
        padding-left: 0;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-title {
        text-align: left;
        font-size: 13px;
    }
    
    .contact-info {
        align-items: flex-start;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .contact-text {
        font-size: 12px;
        text-align: left;
    }
}
