/* #region ---------- Hero Section ---------------------------- */
#heroSection {
    background-image: url(/images/home/hero.png);
    min-height: 92vh;
    background-size: cover;
    background-position: center;
    padding: 80px 0;

    select, input{
        font-size: 16px;
    }
}

 .cardCustom {    
    box-shadow: 0 10px 40px var(--shadow-secondary);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 90%;
    max-width: 650px;
    height: auto;
}

@media (max-width: 1000px) {
    #heroSection {
        background-image: url(/images/home/heroMobile.png);
    }
}

@media (max-width: 450px) {
    #heroSection {
        min-height: 85vh;

        select, input{
            font-size: 14px;
        }
    }
}
/* #endregion */

/* #region ---------- Steps Section --------------------------- */
#barrita{
    background:  var(--color-primary);
    height: 7vh;
}
.stepImg{
    width: 36px; 
    height: 36px;
}

.paso{
    color: var(--color-white);
    font-size: 20px;
}

@media (max-width: 768px) {
    .paso{ font-size: 12px; }
    
    .comboPaso{
        margin: 0 5vw;

        span{ display: none; }
    } 
}
/* #endregion */

/* #region ---------- Mobile App Section ---------------------- */
#sectionMobileApp {
    background-color: var(--color-light-gray);
    padding: 4rem 1rem;
    padding-right: 0;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.contenedorMobileApp {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.contenedorTexto {
    display: flex;
    flex-direction: column;
    max-width: 45%;
    gap: 1.5rem;
}

.textoGrupo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.textAppSection {
    font-size: clamp(32px, 3vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.subtextAppSection {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    color: var(--color-text-soft);
    line-height: 1.6;
}

.btn-container {
    justify-content: flex-start;
}

.btn-container .btn-primary {
    padding: 10px 35px;
    font-size: 1.1rem;
}

.mockup-container {
    width: 40%;
}

.mockup-img {
    max-width: 700px;    
}

@media (max-width: 600px) {
    #sectionMobileApp {
        padding: 3rem 1.5rem;
    }

    .contenedorMobileApp {
        flex-direction: column;
        gap: 0;
    }

    .contenedorTexto {
        display: contents;
    }

    .textoGrupo {
        text-align: center;
    }

    .mockup-container {
        order: 2;
        width: 100%;
        margin-top: 0;
    }

    .btn-container {
        order: 3;
        justify-content: center;
        margin-top: 3rem;
    }

    .mockup-img {
        max-width: 85vw;    
    }
}
/* #endregion */

/* #region ---------- ToPlayer & ToPredio Section ------------- */
#sectionToPlayer {
    background-color: var(--color-secondary); 
}

.landing-section {
    color: var(--color-white);
    width: 100%;
    height: 20vh;          
    min-height: 500px;
    display: flex;         
    align-items: center;   
    justify-content: center;
    overflow: hidden;     
}

.landing-container {
    display: flex;
    width: 100%;
    max-width: 100%; 
    height: 100%;           
    align-items: stretch;  
    margin: 0; 
    padding: 0; 
}   

.landing-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(67, 85, 240, 0.4);
}

#sectionToPredio {
    background-color: var(--color-primary); 
}

.landing-image {
    width: 50%;
    height: 100%;           
    display: block;        
    margin: 0;
    padding: 0;
    overflow: hidden;

    img {
        width: 100%; 
        height: 100%;
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
    }
}

.landing-content {
    width: 50%;
    padding: 30px 50px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;

    h2 {
        font-size: clamp(28px, 2.5vw, 45px);
        font-weight: 400;
        margin: 0 0 50px 0;
        line-height: 1.2;
    }
}

.landing-icon {
    height: 65px;
    margin-bottom: 15px;
}

.landing-subtitle {
    font-size: clamp(22px, 2vw, 35px);
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.landing-description {
    font-size: clamp(16px, 1.2vw, 22px);
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 550px;
}

@media (max-width: 992px) {
    .landing-container {
        flex-direction: column;
        padding: 0;
    }

    .landing-image {
        display: none;
    }

    .landing-content {
        width: 100%;
        padding: 50px 25px;
        align-items: center; 
        text-align: center;
        min-height: 500px; 
        justify-content: center;
        position: relative;
        z-index: 2;
    }

    .landing-description {
        max-width: 100%;
    }

    .landing-icon {
        height: 55px;
    }

    .landing-btn {
        width: 100%;
        max-width: 320px;
    }
    
    #sectionToPlayer {
        background-image: linear-gradient(rgba(27, 54, 93, 0.75), rgba(27, 54, 93, 0.75)), 
                          url("/images/home/backParaJugadores.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    #sectionToPredio {
        background-image: linear-gradient(rgba(67, 67, 240, 0.75), rgba(67, 67, 240, 0.75)), 
                          url("/images/home/backParaPredios.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
/* #endregion  */

/* #region ---------- Details Steps Section -------------------- */
#sectionStepsDetail {
    background-color: var(--color-white);
    padding: 60px 20px;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: stretch; 
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    flex: 1; 
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;

    &:hover {
        background: var(--color-white);
        transform: translateY(-6px);
        box-shadow: 0 8px 24px var(--shadow-secondary);
    }
}

.step-icon-wrapper {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.step-title {
    color: var(--color-text-main);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;

    &::after {
        background: var(--gradient-bar);
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%; 
        height: 3px;
        border-radius: 2px;
    }
}


.step-description {
    color: var(--color-text-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 992px) {
    .steps-container {
        flex-direction: column; 
        align-items: center;
        gap: 50px;
    }

    .step-card {
        max-width: 100%; 
        width: 100%;
        padding: 0 20px;
        max-width: 500px; 
    }

    .step-description {
        font-size: 15px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    #sectionStepsDetail {
        padding: 40px 10px;
    }

    .step-icon {
        height: 40px;
        width: 40px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
    }
}
/* #endregion */

/* #region   -------- Map Section ----------------------------- */
 #mapSection {
    background-image: url(/images/home/backSumate.png);
    min-height: 80vh; 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.communityBox {
    background: rgba(255, 255, 255, 0.40);    
    border-radius: 15px; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 4px var(--color-shadow);    
    width: 100%;
    max-width: 550px; 
    padding: 40px 30px; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
}

.mapSectionTitle {
    font-size: clamp(26px, 4vw, 40px);   
}

.mapSectionInfo {
    color: var(--color-text-soft);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    max-width: 400px;
}

 .communityBox .btn-primary {
    width: 100%;
    max-width: 280px;
    box-shadow: 0 4px 15px rgba(67, 85, 240, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.communityBox .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(67, 85, 240, 0.5);
}

@media (max-width: 768px) {
    #mapSection {
        min-height: 70vh;
        padding: 30px 15px;
    }

    .communityBox {
        max-width: 100%; 
        padding: 35px 20px;
        border-radius: 12px;
    }
}
/* #endregion */

/* #region   -------- Footer Section ----------------------------- */
.main-footer {
     background: linear-gradient(
        90deg,
        var(--color-secondary) 0%,
        var(--color-secondary) 12%,
        var(--color-navbar-bg) 12%,
        var(--color-navbar-bg) 24%,
        var(--color-secondary) 24%,
        var(--color-secondary) 45%,
        var(--color-secondary-dark) 45%,
        var(--color-secondary-dark) 65%,
        var(--color-secondary) 65%,
        var(--color-secondary) 88%,
        var(--color-navbar-bg) 88%,
        var(--color-navbar-bg) 100%
    );
    color: var(--color-white);
    padding: 50px 0 30px;
    border-top: 4px solid var(--color-primary); 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logoFooter {
    height: 75px;
    width: 75px;
    object-fit: contain;
    margin-bottom: 10px;
}

.nombreFooter {
    color: var(--color-white);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: var(--color-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-col-title {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;

    &::after {
        background: var(--gradient-bar);
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 3px;
        border-radius: 2px;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;

   &:hover {
        color: var(--color-accent);
        padding-left: 8px; 
    }
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;

    &:hover {
        color: var(--color-white);
    }
}

.footer-icon {
    height: 22px;
    width: 22px;
    filter: brightness(0) invert(1); 
}

@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-col {
        width: 100%;
        max-width: 350px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand-wrapper {
        align-items: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%); 
    }

    .footer-links a {
        padding: 5px 0;
    }

    .footer-contact-link {
        justify-content: center;
    }
}
/* #endregion */
