.elementor-1114 .elementor-element.elementor-element-f174f74{--display:flex;}.elementor-1114 .elementor-element.elementor-element-69ad432{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS *//* =============================================
   INSTALACIONES — CSS ESPECÍFICO DE PÁGINA
   Pegar en: Elementor → Ajustes avanzados →
   CSS personalizado (en la sección raíz)

   Depende de: huelgas-master-styles-v2.css
   (section-spacing, container-wide, bg-light,
   contact-box, section-subtitle,
   btn-primary, btn-secondary)
   ============================================= */

/* -----------------------------------------
   VARIABLES LOCALES
   ----------------------------------------- */
.elementor-section,
.e-con {
    --inst-azul:  #17345A;
    --inst-rojo:  #D1143E;
    --inst-crema: #FDF8F4;
    --inst-radio: 0 20px 0 20px;
}

/* -----------------------------------------
   HERO — FOTO ANCHO COMPLETO CON OVERLAY
   Usado en sección monasterio y Monteclaro
   ----------------------------------------- */
.inst-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.inst-hero__imagen {
    position: relative;
    width: 100%;
    height: 520px;
}

.inst-hero__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay oscuro semitransparente sobre la foto */
.inst-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 52, 90, 0.55);
}

/* Texto superpuesto centrado sobre la imagen */
.inst-hero__contenido {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    z-index: 2;
}

.inst-hero__subtitulo {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--inst-rojo);
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 18px;
    border-radius: 0 20px 0 20px;
    margin-bottom: 18px;
    display: inline-block;
}

.inst-hero__contenido h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.15;
    max-width: 800px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.inst-hero__desc {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin: 14px 0 0 0;
}

/* Variante Monteclaro: overlay más cálido/verde */
.inst-hero--monteclaro .inst-hero__overlay {
    background: rgba(20, 45, 25, 0.52);
}

/* -----------------------------------------
   TEXTO INTRODUCTORIO (debajo de cada hero)
   ----------------------------------------- */
.inst-texto-intro {
    max-width: 820px;
    margin: 0 auto;
}

.inst-texto-intro p {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: #444;
    margin-bottom: 20px;
    text-align: center;
}

.inst-texto-intro p:last-child {
    margin-bottom: 0;
}

/* -----------------------------------------
   BLOQUE VISITA 360
   ----------------------------------------- */
.inst-360-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.inst-360-contenido h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--inst-azul);
    margin: 8px 0 18px 0;
}

.inst-360-contenido p {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 28px;
}

.inst-360-imagen img {
    width: 100%;
    height: auto;
    border-radius: var(--inst-radio);
    display: block;
}

/* Botón descarga APK */
.inst-360-acciones {
    margin-top: 8px;
}

.inst-360-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--inst-azul);
    border-radius: var(--inst-radio);
    padding: 18px 28px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.inst-360-btn:hover {
    background: var(--inst-rojo);
    transform: translateY(-2px);
}

.inst-360-btn__icono {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.inst-360-btn__texto {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.inst-360-btn__texto strong {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.inst-360-btn__texto small {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

/* -----------------------------------------
   INTRO TEXTO CENTRADO (espacios)
   ----------------------------------------- */
.inst-intro-text {
    max-width: 720px;
    margin: 0 auto 48px auto;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

/* -----------------------------------------
   GRID DE ESPACIOS DEL COLEGIO — 4 columnas
   ----------------------------------------- */
.inst-espacios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.inst-espacio-card {
    background: var(--inst-crema);
    border-radius: var(--inst-radio);
    padding: 28px 22px;
    border-top: 3px solid var(--inst-rojo);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.inst-espacio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23, 52, 90, 0.12);
}

.inst-espacio-card__icono {
    font-size: 36px;
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}

.inst-espacio-card__titulo {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--inst-azul);
    margin: 0 0 10px 0;
}

.inst-espacio-card__texto {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* -----------------------------------------
   VÍDEO MONTECLARO
   ----------------------------------------- */
.inst-video-wrapper {
    margin-bottom: 50px;
    border-radius: var(--inst-radio);
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(23, 52, 90, 0.12);
    position: relative;
    aspect-ratio: 16 / 9;
}

.inst-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* -----------------------------------------
   TÍTULO SECCIÓN MONTECLARO
   ----------------------------------------- */
.inst-monteclaro-titulo {
    margin-bottom: 36px;
}

/* -----------------------------------------
   GRID ESPACIOS MONTECLARO — 6 items
   ----------------------------------------- */
.inst-monteclaro-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.inst-monteclaro-item {
    background: #ffffff;
    border-radius: var(--inst-radio);
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 14px rgba(23, 52, 90, 0.07);
    border-bottom: 3px solid var(--inst-rojo);
    transition: transform 0.22s ease;
}

.inst-monteclaro-item:hover {
    transform: translateY(-3px);
}

.inst-monteclaro-item__icono {
    font-size: 36px;
    line-height: 1;
}

.inst-monteclaro-item__nombre {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--inst-azul);
    line-height: 1.3;
}

/* -----------------------------------------
   BOTONES CTA DOBLES
   ----------------------------------------- */
.inst-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

/* -----------------------------------------
   RESPONSIVE — TABLET (max 1024px)
   ----------------------------------------- */
@media (max-width: 1024px) {

    .inst-hero__imagen {
        height: 420px;
    }

    .inst-hero__contenido h2 {
        font-size: 36px;
    }

    .inst-360-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .inst-360-imagen {
        order: -1;
    }

    .inst-espacios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inst-monteclaro-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* -----------------------------------------
   RESPONSIVE — MÓVIL (max 768px)
   ----------------------------------------- */
@media (max-width: 768px) {

    .inst-hero__imagen {
        height: 320px;
    }

    .inst-hero__contenido {
        padding: 0 24px;
    }

    .inst-hero__contenido h2 {
        font-size: 26px;
    }

    .inst-hero__desc {
        font-size: 15px;
    }

    .inst-360-btn {
        padding: 16px 20px;
        gap: 12px;
    }

    .inst-360-btn__icono {
        font-size: 26px;
    }

    .inst-espacios-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .inst-espacio-card {
        padding: 20px 16px;
    }

    .inst-monteclaro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inst-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .inst-cta-buttons .btn-primary,
    .inst-cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* -----------------------------------------
   RESPONSIVE — MÓVIL PEQUEÑO (max 480px)
   ----------------------------------------- */
@media (max-width: 480px) {

    .inst-hero__imagen {
        height: 260px;
    }

    .inst-hero__contenido h2 {
        font-size: 22px;
    }

    .inst-espacios-grid {
        grid-template-columns: 1fr;
    }

    .inst-monteclaro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}/* End custom CSS */