/* ===================================
    Modelica font
====================================== */
@font-face {
    font-family: "bw_modelica_lgc_ss01_2bold";
    src:
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-bold-webfont.woff2") format("woff2"),
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-bold-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "bw_modelica_lgc_ss01_2regular";
    src:
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-regular-webfont.woff2") format("woff2"),
        url("https://mkt.urbanitae.com/rs/178-PWS-136/images/bwmodelicalgcss01-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*================DEFAULTS================*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    color: #212121;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: #ffffff;
}

a {
    color: #30b767;
    text-decoration: none;
}

h1 {
    font-optical-sizing: auto;
    font-weight: 600;
    color: #ffffff;
}

h2 {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
}

h1 strong,
h2 strong {
    font-family: "bw_modelica_lgc_ss01_2bold", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
}

h3,
h4,
h5,
h6 {
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
}

h2 {
    font-size: calc(1.2rem + 0.9vw);
}

section {
    padding: 5rem 0;
}

p {
    font-family: "Outfit", sans-serif;
}

.gar {
    font-family: "Cormorant Garamond", serif;
}

/*================NAVBAR================*/
.navbar {
    display: flex;
    top: 0;
    left: 0;
    height: 90px;
    width: 100%;
    padding: 0 50px;
    font-size: 20px;
    z-index: 1;
    align-items: center;
    background-color: #ffffff;
}

.navbar .container-fluid {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    font-size: 1.5rem;
}

.navbar .navbar-collapse {
    flex-direction: row-reverse;
}

.navbar-brand {
    padding-top: 0;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.logo {
    display: inline-block;
    max-width: 260px;
    height: auto;
    width: 210px;
}

.navbar .nav-link {
    font-size: 1.1rem;
    color: #002360;
    font-weight: 600;
    padding-left: 14px !important;}

/*================MAIN SECTION================*/
.background-container {
    background-image: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/academy-v4-hero-bg.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
}

.main {
    width: 100%;
    height: 100vh;
    color: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.main .container {
    flex-grow: 1;
    align-items: center;
}

.main p {
    font-size: 1.25rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.nav-link:hover {
    color: #5dfaae;
}

.glass-bar {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
}

.stat-divider {
    border-bottom: 1px solid rgba(4, 32, 81, 0.15);
}

.v4 {
    color: #5dfaae;
}

.kwantic {
    width: 100px;
}
@media (min-width: 768px) {
    .stat-divider {
        border-bottom: none;
        border-right: 1px solid rgba(4, 32, 81, 0.15);
    }
}

/* ===================================
   QUE VER - CONTENIDO
====================================== */
.que-ver {
    color: #002360;
    padding: 0;
    padding-bottom: 2rem;
}

.que-ver .container-fluid {
    background-color: #002360;
    color: #ffffff;
}

.que-ver h2 {
    font-family: "Cormorant Garamond", serif;
}

.contenedor-scroll-horizontal {
        overflow-x: scroll!important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1.5rem; 
        scrollbar-width: thin;
        scrollbar-color: #6c757d #e2e8f0;
    }

    .contenedor-scroll-horizontal::-webkit-scrollbar {
        height: 8px; 
        display: block !important; 
    }
    
    .contenedor-scroll-horizontal::-webkit-scrollbar-track {
        background: #e2e8f0; 
        border-radius: 10px;
    }
    
    .contenedor-scroll-horizontal::-webkit-scrollbar-thumb {
        background: #5dfaae; 
        border-radius: 10px;
    }

    .contenedor-scroll-horizontal::-webkit-scrollbar-thumb:hover {
        background: #495057; 
    }
    .card-curso {
        width: 85vw; 
        max-width: 320px; 
        height: 220px;
        border-radius: 12px;
        flex-shrink: 0; 
        background-size: cover;
        background-position: center;
        transition: transform 0.3s ease;
    }

    /* CURSOS INTRODUCTORIOS: Degradado morado + la foto variable */
    .bg-curso-intro {
        background-image: 
            linear-gradient(135deg, rgba(88, 93, 148, 0.9), rgba(126, 104, 184, 0.60)), 
            var(--bg-foto);
    }
    
    /* CURSOS AVANZADOS: Degradado verde + la foto variable */
    .bg-curso-avanzado {
        background-image: 
            linear-gradient(135deg, rgba(62, 113, 152, 0.9), rgba(95, 171, 146, 0.60)), 
            var(--bg-foto);
    }

/* ===================================
   DESCUBRE
====================================== */
.descubre-mod {
    background-image: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/academy-fondo-descubre.webp);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===================================
   que es
====================================== */
.que_es {
    color: #002360;
    padding: 0;
}

.que_es h2 {
    color: #002360;
}

.que_es .col:first-of-type {
    padding: 3rem 0;
}

.que_es .imagen {
    background-image: url(https://mkt.urbanitae.com/rs/178-PWS-136/images/academy-student-boy.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.que_es p {
    text-align: justify;
}

/* ===================================
   CÓMO
====================================== */
.como {
    padding: 0;
}

/* 1. EL FONDO DIVIDIDO (Desktop) */
@media (min-width: 992px) {
    .seccion-split {
        background: linear-gradient(to right, #042051 0%, #042051 60%, #f4f6f9 55%, #f4f6f9 100%);
    }
}

@media (max-width: 991px) {
    .como {
        padding-top: 4rem;
    }

    .seccion-split {
        background-color: #042051;
        padding-bottom: 2rem;
    }
}

/* 2. CARRUSEL HORIZONTAL PARA MÓVIL (Las tarjetas no se apilan hacia abajo) */
@media (max-width: 991px) {
    .grid-tarjetas {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto; /* Permite scroll horizontal */
        gap: 1rem;
        padding-bottom: 1rem;
        /* Oculta la barra de scroll para que quede más limpio */
        scrollbar-width: none;
    }
    .grid-tarjetas::-webkit-scrollbar {
        display: none;
    }
    .col-tarjeta {
        /* Fija un ancho para las tarjetas en móvil para que no se aplasten */
        flex: 0 0 260px;
    }
}

.caja-check {
    width: 60px;
    flex-shrink: 0;
}
.caja-texto {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ===================================
   POR QUÉ
====================================== */
.porque {
    background-color: #eef1f6;
    color: #002360;
}

.porque h2 {
    color: #002360;
}

.porque .card-glass {
    border-radius: 0;
    box-shadow: 0 2px 12px 2px rgba(0, 0, 0, 0.09);
    border: none;
    border-bottom: 1px solid #853fe8;
}
.porque h5,
.porque .fa-light,
.porque .fa-solid,
.porque .fa-regular {
    color: #853fe8;
    text-align: center;
    font-size: 2rem;
    margin: auto!important;
    padding-bottom: 1rem;
}

/* ===================================
   FAQS
====================================== */
.faqs {
    background-color: #ffffff;
    color: #002360;
}

.faqs .accordion-item {
    margin-bottom: 1.2rem;
    border: solid 1px #002360 !important;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    padding: 0.1rem;
}

.faqs .accordion-button {
    color: #002360 !important;
    font-weight: bolder;
}

.faqs h2 {
    text-align: center;
}

.faqs h4 {
    font-family: "Outfit", sans-serif;
    color: #853fe8 !important;
}

.faqs .accordion-button:not(.collapsed) {
    color: #853fe8 !important;
    box-shadow: none !important;
}

.faqs .accordion-body {
    color: #853fe8 !important;
}

.sticky-cta {
    display: none;
}

/* FLECHA SCROLL */

.scroll-top-arrow {
    background-color: #853fe8;
    text-align: center;
}

.scroll-top-arrow {
    font-size: 25px;
    line-height: 45px;
    color: #fff !important;
    display: none;
    height: 45px;
    width: 45px;
    padding: 0;
    position: fixed;
    bottom: 20px;
    right: 50%;
    text-decoration: none;
    z-index: 99;
    border-radius: 100%;
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.5);
}

/* ===================================
   PROPIOS URBANITAE
====================================== */

.btn-urbanitae {
    color: #fff;
    background-color: #30b767 !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.academy-btn {
    color: #fff;
    background-color: #002360 !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 14px 36px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.academy-btn-wh {
    color: #002360;
    background-color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 14px 36px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-rev {
    color: #30b767;
    background-color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh {
    color: #30b767;
    background-color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh-tr {
    color: #fff;
    border: 4px solid #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    padding: 12px 24px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 20px;
    letter-spacing: 1px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae-wh-tr-sticky {
    color: #fff;
    border: 4px solid #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 42px;
    padding: 12px 33px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    line-height: 18px;
    letter-spacing: 1px;
    appearance: initial;
}

btn-urbanitae-wh-tr-sticky:hover {
    border-color: #5dfaae !important;
}

.btn-urbanitae-wh-gr {
    color: #30b767;
    background-color: #ffffff;
    border: 4px solid #5dfaae;
    font-weight: 600;
    font-size: 15px;
    border-radius: 30px;
    padding: 14px 36px;
    margin: 0 auto;
    display: inline-block;
    max-width: fit-content;
    font-family: "bw_modelica_lgc_ss01_2bold", sans-serif;
    letter-spacing: 2px;
    appearance: initial;
    transition: all 0.5s ease !important;
}

.btn-urbanitae:hover {
    /* background-color: #5dfaae !important; */
    color: #ffffff;
    transform: scale(1.04);
}

.btn-urbanitae-rev:hover {
    transform: scale(1.04);
}

.btn-urbanitae-wh-tr:hover {
    transform: scale(1.04);
    color: #ffffff;
}

.btn-urbanitae-wh-gr:hover {
    transform: scale(1.04);
    color: #30b767;
}

.trust {
    padding: 2.5rem 0 !important;
    background-color: #ffffff;
}

.urba-link {
    color: #30b767;
    text-decoration: underline;
}

.urba-link:hover {
    color: #5dfaae;
    text-decoration: underline;
}

.urba-link-white {
    color: #ffffff;
    text-decoration: underline;
}

.urba-link-white:hover {
    font-weight: 600;
    color: #ffffff;
    text-decoration: underline;
}

.urba-link-black {
    color: #000000;
    text-decoration: underline;
}

.urba-link-black:hover {
    color: #000000;
    font-weight: 600;
}

.negro-urb {
    color: #212121;
}

/******** MEDIA QURIES**********/

@media (max-width: 992px) {
    .background-container {
        background-position: right;
    }

    .faqs h2,
    .faqs p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .background-container {
        background-position: left;
    }

    h1 {
        text-align: center;
    }

    .logo {
        margin: auto;
        width: 176px;
    }

    .main {
        height: auto;
    }

    .navbar {
        padding: 0;
    }

    .navbar .container-fluid {
        /* background-color: rgba(0, 0, 0, 0.75);*/
        font-weight: 800;
        padding-left: 25px;
        padding-right: 25px;
    }

    .main .container .row {
        margin-top: 1.5rem;
    }

    .que_es .col:first-of-type {
        padding: 1.5rem 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 1rem;
    }

    h1 {
        text-align: center;
    }

    .main p {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 350px) {
}
