/* =========================================
   TIPOGRAFÍA DE TÍTULOS
   Fuente: Cherry Cream Soda
========================================= */

.mundo-banner__titulo {
    font-family: 'Cherry Cream Soda', cursive;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    margin: 0 0 24px;
}

/* Aplicar la misma fuente a otros títulos */
h1,
h2,
h3,
.titulo-seccion {
    font-family: 'Cherry Cream Soda', cursive;
    font-weight: 400;
    line-height: 1.3;
}

/* ========================================
   BANNER PRINCIPAL
======================================== */

.mundo-banner {
    --color-azul: #0875d1;
    --color-azul-oscuro: #123b75;
    --color-rosa: #ed168b;
    --color-verde: #40b82b;
    --color-amarillo: #ffd42a;

    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 35px;

    width: 100%;
    min-height: 540px;
    padding: 55px 5%;

    box-sizing: border-box;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 10%,
            #dff5ff 0,
            transparent 27%
        ),
        linear-gradient(135deg, #ffffff, #fffdf4);
}

.mundo-banner *,
.mundo-banner *::before,
.mundo-banner *::after {
    box-sizing: border-box;
}


/* LOGO DEL COLEGIO EN EL BANNER */
.mundo-banner__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.mundo-banner__logo-img {
    display: block;
    width: 150px;
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* ========================================
   CONTENIDO Y TEXTO
======================================== */

.mundo-banner__contenido {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.mundo-banner__etiqueta {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    color: var(--color-azul-oscuro);
    background: #e5f5ff;
    border-radius: 30px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mundo-banner__titulo {
    margin: 0 0 22px;
    color: var(--color-azul-oscuro);
    font-family: 'Cherry Cream Soda', cursive;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.mundo-banner__titulo .azul {
    color: var(--color-azul);
}

.mundo-banner__titulo .rosa {
    color: var(--color-rosa);
}

.mundo-banner__titulo .verde {
    color: var(--color-verde);
}

.mundo-banner__descripcion {
    max-width: 520px;
    margin: 0 0 25px;
    color: #35445d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

.mundo-banner__frase {
    margin: 0 0 28px;
    padding: 15px 18px;
    color: var(--color-azul-oscuro);
    background: #fff2b8;
    border-left: 5px solid var(--color-amarillo);
    border-radius: 12px;
    font-family: 'Cherry Cream Soda', cursive;
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 700;
    line-height: 1.5;
}

/* ========================================
   BOTÓN — degradado moderno
======================================== */

.mundo-banner__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 25px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-rosa), #7b2ff7);
    border: 0;
    border-radius: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(123, 47, 247, 0.24);
    transition:
        filter 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.mundo-banner__boton:hover {
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(123, 47, 247, 0.32);
}

.mundo-banner__boton:active {
    transform: translateY(0);
}

.mundo-banner__boton:focus-visible {
    outline: 3px solid var(--color-azul);
    outline-offset: 4px;
}

/* ========================================
   COLLAGE DE IMÁGENES
======================================== */

.mundo-banner__collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 190px;
    gap: 18px;

    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}

.mundo-banner__foto {
    position: relative;
    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: #eaf3fa;
    border: 5px solid #ffffff;
    border-radius: 25px;

    box-shadow: 0 10px 28px rgba(19, 56, 92, 0.14);

    /*
     * Transición suave al pasar el cursor.
     */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/*
 * EFECTO SOLICITADO:
 * X = -3px: hacia la izquierda.
 * Y = -3px: hacia arriba.
 */
.mundo-banner__foto:hover {
    transform: translate(-3px, -3px);

    box-shadow: 0 16px 32px rgba(19, 56, 92, 0.23);

    z-index: 3;
}

.mundo-banner__foto--principal {
    grid-column: 1 / 3;
    grid-row: 1;

    border-color: #ffffff;
    border-radius: 32px 32px 18px 32px;
}

.mundo-banner__foto--secundaria {
    grid-column: 1;
    grid-row: 2;

    border-radius: 18px 25px 25px 32px;
}

.mundo-banner__foto--terciaria {
    grid-column: 2;
    grid-row: 2;

    border-radius: 25px 18px 32px 25px;
}

.mundo-banner__foto img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s ease;
}

.mundo-banner__foto:hover img {
    transform: scale(1.025);
}

/* ========================================
   ELEMENTOS DECORATIVOS
======================================== */

.mundo-banner__decoracion {
    position: absolute;
    z-index: 1;

    width: 65px;
    height: 65px;

    border-radius: 50%;
    pointer-events: none;
}

.mundo-banner__decoracion--amarilla {
    top: 7%;
    left: 46%;

    background: var(--color-amarillo);
    opacity: 0.8;
}

.mundo-banner__decoracion--azul {
    right: 3%;
    bottom: 5%;

    width: 85px;
    height: 85px;

    background: #48b9f5;
    opacity: 0.3;
}


/* =========================================
   BARRA SUPERIOR DE REDES SOCIALES
========================================= */

.mundo-redes {
    width: 100%;
    background: #ffee8c;
    border-bottom: 1px solid #e9e9e9;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 100;
    letter-spacing: 1px;
}

.mundo-redes__contenedor {
    width: min(1200px, 92%);
    min-height: 60px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mundo-redes__texto {
    color: #ff0000;
    font-size: 16px;
    font-weight: 600;
}

.mundo-redes__botones {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mundo-redes__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    text-decoration: none;

    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mundo-redes__boton:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.24);
}

.mundo-redes__boton:focus-visible {
    outline: 3px solid var(--color-azul);
    outline-offset: 4px;
}

.mundo-redes__boton--facebook {
    background: #1877f2;
}

.mundo-redes__boton--instagram {
    background: linear-gradient(45deg, #ffb600, #ff0069, #7638fa);
}

.mundo-redes__boton--whatsapp {
    background: #25d366;
}

/* =========================================
   NUESTROS COLABORADORES
========================================= */

.colaboradores {
    --colores-azul: #0b1a40;
    --colores-turquesa: #269ea3;
    --colores-naranja: #ff7400;
    --colores-verde: #277400;

    padding: 85px 0;
    background: #f7f8fc;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.colaboradores__contenedor {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* ENCABEZADO */

.colaboradores__encabezado {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.colaboradores__etiqueta {
    display: inline-block;
    padding: 9px 18px;
    margin-bottom: 15px;
    color: var(--colores-verde);
    background: #e7f5df;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.colaboradores__titulo {
    margin: 0 0 18px;
    color: var(--colores-azul);
    font-family: 'Cherry Cream Soda', cursive;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.35;
}

.colaboradores__descripcion {
    max-width: 650px;
    margin: 0 auto;
    color: #60697a;
    font-size: 15px;
    line-height: 1.9;
}

/* CARRUSEL */

.colaboradores__carrusel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.colaboradores__ventana {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 12px 4px 20px;
}

.colaboradores__pista {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* TARJETAS */

.colaborador {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e9edf5;
    box-shadow: 0 8px 25px rgba(11, 26, 64, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.colaborador:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 26, 64, 0.13);
}

/* FOTOGRAFÍAS */

.colaborador__foto {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #e6eef7;
}

.colaborador__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.colaborador:hover .colaborador__foto img {
    transform: scale(1.04);
}

.colaborador__numero {
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--colores-azul);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* INFORMACIÓN */

.colaborador__informacion {
    padding: 25px 24px 28px;
}

.colaborador__cargo {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--colores-turquesa);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.colaborador__nombre {
    margin: 0 0 13px;
    color: var(--colores-azul);
    font-family: 'Cherry Cream Soda', cursive;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.colaborador__descripcion {
    margin: 0;
    color: #687184;
    font-size: 13px;
    line-height: 1.9;
}

/* FLECHAS */

.colaboradores__flecha {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--colores-azul);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.colaboradores__flecha:hover {
    background: var(--colores-turquesa);
    transform: scale(1.08);
}

.colaboradores__flecha:focus-visible,
.colaboradores__indicador:focus-visible {
    outline: 3px solid var(--colores-naranja);
    outline-offset: 4px;
}

/* INDICADORES */

.colaboradores__indicadores {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
}

.colaboradores__indicador {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #cbd2df;
    cursor: pointer;
    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.colaboradores__indicador.activo {
    width: 28px;
    background: var(--colores-turquesa);
}

/* =========================================
   FOOTER - COLEGIO MUNDO DE NIÑOS
========================================= */

.mundo-footer {
    --footer-fondo: #0b1a40;
    --footer-acento: #269ea3;
    --footer-texto: #ffffff;
    --footer-texto-secundario: #d9e1f2;

    background: var(--footer-fondo);
    color: var(--footer-texto);
    font-family: 'Montserrat', sans-serif;
    margin-top: 60px;
}

/* CONTENEDOR PRINCIPAL */

.mundo-footer__contenedor {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 55px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 45px;
    align-items: start;
    box-sizing: border-box;
}

/* COLUMNAS */

.mundo-footer__columna {
    min-width: 0;
}

/* =========================================
   COLUMNA 1: IDENTIDAD
========================================= */

.mundo-footer__identidad {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mundo-footer__logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 22px;
}

.mundo-footer__logo img {
    display: block;
    width: 100%;
    max-width: 190px;
    max-height: 120px;
    object-fit: contain;
}

.mundo-footer__descripcion {
    max-width: 320px;
    margin: 0;
    color: var(--footer-texto-secundario);
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================
   TÍTULOS
========================================= */

.mundo-footer__titulo {
    font-family: 'Cherry Cream Soda', cursive;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 0 28px;
    padding-bottom: 12px;
    position: relative;
}

.mundo-footer__titulo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 4px;
    border-radius: 10px;
    background: var(--footer-acento);
}

/* =========================================
   COLUMNA 2: CONTACTO
========================================= */

.mundo-footer__dato {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 23px;
}

.mundo-footer__icono {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--footer-acento);
    color: #ffffff;
    border-radius: 12px;
    font-size: 17px;
}

.mundo-footer__dato h3 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px;
}

.mundo-footer__dato p,
.mundo-footer__dato a {
    color: var(--footer-texto-secundario);
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    margin: 0;
    text-decoration: none;
}

.mundo-footer__dato a {
    transition: color 0.2s ease;
}

.mundo-footer__dato a:hover {
    color: #70e1df;
}

/* =========================================
   COLUMNA 3: GOOGLE MAPS
========================================= */

.mundo-footer__mapa-marco {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
    background: #ffffff;
}

.mundo-footer__mapa-marco iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.mundo-footer__enlace-mapa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 16px;
    background: var(--footer-acento);
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.mundo-footer__enlace-mapa:hover {
    background: #1e8589;
    transform: translateY(-2px);
}

/* =========================================
   FRANJA INFERIOR
========================================= */

.mundo-footer__inferior {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.mundo-footer__inferior p {
    margin: 0;
    color: var(--footer-texto-secundario);
    font-size: 12px;
    line-height: 1.8;
}
    
.mundo-footer__inferior a {
    margin: 0;
    color: var(--footer-texto-secundario);
    font-size: 12px;
    line-height: 1.8;
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {
    .mundo-banner {
        grid-template-columns: 1fr;
        gap: 38px;

        padding: 45px 5%;
    }

    .mundo-banner__contenido {
        max-width: 750px;
        margin-inline: auto;
        text-align: center;
    }

    .mundo-banner__descripcion {
        margin-inline: auto;
    }

    .mundo-banner__frase {
        text-align: left;
    }

    .mundo-banner__collage {
        max-width: 700px;
        grid-template-rows: 280px 210px;
    }
    
    .colaboradores__carrusel {
        gap: 12px;
    }

    .colaboradores__pista {
        gap: 18px;
    }

    .colaborador {
        flex-basis: calc((100% - 18px) / 2);
    }

    .colaborador__foto {
        height: 260px;
    }
    
    .mundo-footer__contenedor {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 30px;
    }

    .mundo-footer__mapa {
        grid-column: 1 / -1;
    }

    .mundo-footer__mapa-marco {
        height: 280px;
    }
    
    
}

/* ========================================
   MÓVILES
======================================== */

@media (max-width: 600px) {
    .mundo-banner {
        gap: 28px;
        padding: 35px 18px;
    }

    .mundo-banner__titulo {
        font-size: clamp(32px, 9vw, 44px);
        letter-spacing: -0.8px;
    }

    .mundo-banner__descripcion {
        font-size: 15px;
        line-height: 1.65;
    }

    .mundo-banner__collage {
        grid-template-rows: 210px 145px;
        gap: 10px;
    }

    .mundo-banner__foto {
        border-width: 3px;
        border-radius: 17px;
    }

    .mundo-banner__boton {
        width: 100%;
        max-width: 320px;
    }
    
    .mundo-footer {
        margin-top: 40px;
    }

    .mundo-footer__contenedor {
        width: 90%;
        padding: 40px 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .mundo-footer__identidad {
        align-items: center;
    }

    .mundo-footer__logo img {
        max-width: 160px;
    }

    .mundo-footer__titulo {
        font-size: 21px;
        margin-bottom: 24px;
    }

    .mundo-footer__mapa {
        grid-column: auto;
    }

    .mundo-footer__mapa-marco {
        height: 230px;
    }

    .mundo-footer__inferior {
        padding: 18px 5%;
    }
    
    .colaboradores__carrusel {
        display: block;
    }

    .colaboradores__ventana {
        overflow: visible;
        padding: 8px 2px;
    }

    .colaboradores__pista {
        display: flex;
        flex-direction: column;
        gap: 20px;
        transform: none !important;
    }

    .colaborador {
        flex: 0 0 auto;
        width: 100%;
    }

    .colaboradores__flecha,
    .colaboradores__indicadores {
        display: none;
    }

    .colaborador__foto {
        height: 240px;
    }
}

/* RESPETAR PREFERENCIAS DE MOVIMIENTO */

@media (prefers-reduced-motion: reduce) {
    .colaboradores *,
    .colaboradores *::before,
    .colaboradores *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Accesibilidad: reducir movimiento si está configurado */
@media (prefers-reduced-motion: reduce) {
    .mundo-banner__foto,
    .mundo-banner__foto img,
    .mundo-banner__boton {
        transition: none;
    }

    .mundo-banner__foto:hover,
    .mundo-banner__foto:hover img,
    .mundo-banner__boton:hover {
        transform: none;
    }
    
    .mundo-redes__contenedor {
        width: 94%;
        min-height: 52px;
        gap: 8px;
    }

    .mundo-redes__texto {
        font-size: 11px;
    }

    .mundo-redes__botones {
        gap: 6px;
    }

    .mundo-redes__boton {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        box-sizing: border-box;
    }

    .mundo-redes__boton i {
        width: 20px;
        height: 20px;
    }

    .mundo-redes__boton span {
        display: none;
    }
    
     .mundo-banner__logo {
        justify-content: center;
        margin-bottom: 16px;
    }

    .mundo-banner__logo-img {
        max-width: 220px;
    }
}