/* ========================================
   FUENTES HELVETICA NOW TEXT
======================================== */
@font-face {
    font-family: 'HelveticaNowText';
    src: url('../fonts/HelveticaNowText-Light.woff2') format('woff2'),
         url('../fonts/HelveticaNowText-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNowText';
    src: url('../fonts/HelveticaNowText-Regular.woff2') format('woff2'),
         url('../fonts/HelveticaNowText-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNowText';
    src: url('../fonts/HelveticaNowText-Medium.woff2') format('woff2'),
         url('../fonts/HelveticaNowText-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   ESTILOS GENERALES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow-x: hidden;
    font-family: 'HelveticaNowText', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   SECCIÓN HERO
======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    background-image: url('../img/fondo-nino-estudiando.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

/* Overlay con gradiente - DESKTOP HORIZONTAL */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #A76747 0%, rgba(243, 156, 90, 0) 100%);
    z-index: 1;
}

/* Container con z-index para estar sobre el overlay */
.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Row alineado desde abajo */
.hero-section .row {
    align-items: flex-end;
    margin-bottom: 14rem;
}

/* ========================================
   CONTENEDOR DE CONTENIDO
======================================== */
.content-wrapper {
    color: white;
    max-width: 100%;
    width: 100%;
}

/* ========================================
   LOGO DESKTOP - Alineado con el texto
======================================== */
.logo-wrapper {
    max-width: 280px;
    padding-right: 2rem;
}

.logo-desktop {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

/* ========================================
   LOGO MOBILE - Abajo a la izquierda
======================================== */
.logo-mobile {
    position: absolute;
    bottom: 5rem;
    left: 2rem;
    z-index: 3;
    max-width: 200px;
}

.logo-mobile img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

/* ========================================
   GRUPO DE TÍTULO
======================================== */
.title-group {
    margin-bottom: 2.5rem;
    position: relative;
}

/* ========================================
   TIPOGRAFÍA - TÍTULO PRINCIPAL
======================================== */
.main-title {
    font-family: 'HelveticaNowText', sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 0;
    position: relative;
}

/* Desktop: título en una línea */
.title-line-desktop {
    display: none;
}

/* Mobile: título en dos líneas */
.title-line-mobile {
    display: block;
}

/* ========================================
   SVG FUTURO - ESTILOS BASE
======================================== */

/* Desktop version - oculto por defecto */
.futuro-svg-wrapper.futuro-desktop {
    display: none;
}

/* Mobile version - visible por defecto */
.futuro-svg-wrapper.futuro-mobile {
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 2rem;
}

.futuro-svg-large {
    width: auto;
    filter: brightness(0) invert(1);
}

.futuro-mobile .futuro-svg-large {
    height: 12rem;
    opacity: 0.5;
}

.futuro-desktop .futuro-svg-large {
    height: 16rem;
    opacity: 0.35;
}

/* ========================================
   TIPOGRAFÍA - SUBTÍTULO Y DESCRIPCIÓN
======================================== */
.subtitle {
    font-family: 'HelveticaNowText', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.description {
    font-family: 'HelveticaNowText', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.description-long {
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ========================================
   FOOTER TEXT
======================================== */
.footer-text {
    margin-top: 3rem;
}

.coming-soon {
    font-family: 'HelveticaNowText', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.2rem;
    margin-bottom: 0.3rem;
}

.under-construction {
    font-family: 'HelveticaNowText', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.15rem;
}

/* ========================================
   RESPONSIVE - LARGE DESKTOP
======================================== */
@media (min-width: 1400px) {
    .logo-wrapper {
        max-width: 320px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .title-line-desktop {
        display: block;
    }
    
    .title-line-mobile {
        display: none;
    }
    
    /* Mostrar desktop, ocultar mobile */
    .futuro-svg-wrapper.futuro-desktop {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }
    
    .futuro-svg-wrapper.futuro-mobile {
        display: none;
    }
    
    .futuro-desktop .futuro-svg-large {
        height: 18rem;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP
======================================== */
@media (min-width: 992px) {
    .title-line-desktop {
        display: block;
    }
    
    .title-line-mobile {
        display: none;
    }
    
    /* Mostrar desktop, ocultar mobile */
    .futuro-svg-wrapper.futuro-desktop {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }
    
    .futuro-svg-wrapper.futuro-mobile {
        display: none;
    }
    
    .hero-section .row {
        margin-bottom: 14rem;
    }
    
    .hero-section .col-lg-9 {
        align-self: flex-end;
    }
    
    /* Columna del logo alineada al TOP */
    .hero-section .col-lg-3 {
        align-self: flex-start;
    }
    
    .logo-wrapper {
        max-width: 240px;
        padding-right: 1.5rem;
    }
    
    .main-title {
        font-size: 1.7rem;
        letter-spacing: 0.4rem;
    }
    
    .futuro-desktop .futuro-svg-large {
        height: 14rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-top: 9rem;
    }
    
    .description {
        font-size: 1rem;
    }
}
/* ========================================
   RESPONSIVE - TABLET Y MÓVIL
======================================== */
@media (max-width: 991px) {
    /* Overlay con gradiente - MOBILE VERTICAL (de abajo hacia arriba) */
    .overlay {
        background: linear-gradient(to top, #A76747 20%, rgba(243, 156, 90, 0) 100%);
    }
    
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        max-height: 80vh;
        background-position: top center;
        background-size: cover;
        display: flex;
        align-items: flex-end;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .hero-section .container {
        width: 100%;
        display: flex;
        align-items: flex-end;
        padding-bottom: 0;
    }
    
    .hero-section .row {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
    }
    
    .hero-section .col-12 {
        width: 100%;
        padding-bottom: 10rem;
    }
    
    .content-wrapper {
        padding: 0 2rem;
        text-align: left;
        margin: 0;
    }
    
    .title-group {
        margin-bottom: 0;
    }

    .main-title {
        font-size: 1.6rem;
        letter-spacing: 0.3rem;
        margin-bottom: 0;
    }
    
    .title-line-desktop {
        display: none;
    }
    
    .title-line-mobile {
        display: block;
    }
    
    /* Ocultar desktop, mostrar mobile */
    .futuro-svg-wrapper.futuro-desktop {
        display: none !important;
    }
    
    .futuro-svg-wrapper.futuro-mobile {
        display: flex !important;
        justify-content: flex-start;
        margin-top: -1rem;
        margin-bottom: 1.5rem;
        margin-left: 0.5rem;
    }
    
    .futuro-mobile .futuro-svg-large {
        height: 8rem;
        opacity: 0.4;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 1rem;
    }
    
    .footer-text {
        margin-top: 2.5rem;
    }
    
    .logo-mobile {
        bottom: 5rem;
        left: 2rem;
        max-width: 180px;
    }
}

/* ========================================
   RESPONSIVE - MÓVIL PEQUEÑO
======================================== */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 10rem;
    }

    .main-title {
        font-size: 1.4rem;
        letter-spacing: 0.25rem;
    }
    
    .futuro-svg-wrapper.futuro-mobile {
        margin-top: -5rem;
        margin-bottom: 4rem;
        margin-left: 0;
    }

    .futuro-mobile .futuro-svg-large {
        height: 6.5rem;
        opacity: 0.35;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 0.95rem;
    }
    
    .coming-soon {
        font-size: 0.85rem;
    }

    .under-construction {
        font-size: 0.8rem;
    }
    
    .logo-mobile {
        bottom: 5rem;
        left: 2.5rem;
        max-width: 150px;
    }
}
/* ========================================
   ANIMACIONES
======================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones Desktop */
@media (min-width: 992px) {
    .content-wrapper {
        animation: fadeInLeft 1s ease-out;
    }
    
    .logo-wrapper {
        animation: fadeInRight 1.2s ease-out;
    }
}

/* Animaciones Mobile */
@media (max-width: 991px) {
    .content-wrapper {
        animation: fadeInLeft 1s ease-out;
    }
    
    .logo-mobile {
        animation: fadeInUp 1.2s ease-out;
    }
}