/* -------------------- GENERAL -------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fuentes/Montserrat-Regular.woff2') format('woff2'),
         url('./fuentes/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.banner {
    display: block;
    width: 90%;
    height: auto;
    margin: 40px auto;
    object-fit: cover;
    margin-top: 4%;
    border: 4px solid transparent;
    border-radius: 20px;
    border-image: linear-gradient(to right, #0075a8, #2fa496, #0075a8);
    border-image-slice: 1;
}


/* -------------------- ENCABEZADOS -------------------- */
.content-container h1 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 2.5em;
    background: linear-gradient(to right, #0075a8, #2fa496, #0075a8);
    background-size: 200% auto;
    background-repeat: no-repeat;
    background-position: left center;
    text-align: center;
    margin-top: 90px;
    padding: 10px;
    margin-bottom: 0;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite;
}

.container .subtitulo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: center;
}

.container p {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

h2 {
    font-size: 1.8em;
    color: #555;
    margin-top: 0;
}

/* -------------------- ANIMACIÓN -------------------- */
@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* -------------------- LAYOUT GENERAL -------------------- */
.main-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5%;
    width: 90%;
    margin: auto;
    box-sizing: border-box;
}

/* -------------------- LISTADO (Columna Izquierda) -------------------- */
.content-container {
    flex: 1.7;
    padding: 10px;
    border-radius: 5px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

li {
    font-size: 0.95em;
    color: #333;
    font-weight: 300;
    margin: 6px 0;
    padding: 10px 15px;
    border-left: 4px solid #2fa496;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

li:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

li strong {
    color: #0075a8;
    font-weight: 500;
}

/* -------------------- INFO-EXPANDIBLE (Columna Derecha) -------------------- */
.right-column {
    flex: 1.3;
    padding-left: 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-column h1{
    font-family: 'Century Gothic', sans-serif;
    font-size: 2.5em;
    background: linear-gradient(to right, #0075a8, #2fa496, #0075a8);
    background-size: 200% auto;
    background-repeat: no-repeat;
    background-position: left center;
    text-align: center;
    margin-top: 40px;
    padding: 10px;
    margin-bottom: 0;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite;
}

.right-column .subtitulo{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-top: 0;
    margin-bottom: 5%;
}

.subtitulo a{
    text-decoration: none;
    color: white;
    background: linear-gradient(to right, #0075a8, #2fa496, #0075a8);
    padding: 15px;
    border-radius: 5px;
}

.info-expandible {
    display: grid;
    grid-template-columns: repeat(2, 45%); /* más estrechos */
    justify-content: center; /* centra el grid horizontalmente */
    gap: 20px 30px;
    padding: 40px 20px;
    border-radius: 20px;
    margin: auto;
    background: linear-gradient(to right, #0075a8, #2fa496, #0075a8);
}


.column {
    width: 85%;
    min-height: 160px; /* ✅ altura mínima en lugar de fija */
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.column h3 {
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 10px 0;
    background: linear-gradient(to right, #0075a8, #2fa496, #0075a8);
    background-size: 200% auto;
    background-position: left center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite;
    text-align: center;
}

.column .content {
    display: none;
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
    max-width: 90%;
    text-align: center;
}

.column.expanded {
    width: 88%;
    min-height: auto;
    grid-column: 1 / -1; /* ✅ ocupa toda la fila en el grid */
    background-color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    padding: 30px;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.column.expanded .content {
    display: block;
}

.info-expandible ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    text-align: left;
}

.info-expandible li {
    background: none;
    border: none;
    padding: 6px 10px;
    font-size: 0.95em;
    color: #444;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: none;
    box-shadow: none;
}

.info-expandible li:hover {
    transform: none;
    box-shadow: none;
}

.info-expandible li strong {
    color: #444;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
    .main-columns {
        flex-direction: column;
    }

    .content-container, .right-column {
        width: 100%;
    }

    .column {
        flex: 1 1 100%;
    }
}
