﻿.webapp-page {
    background: #000;
    color: #fff;
}

/* HERO */

.webapp-hero {
    position: relative;
    min-height: calc(100vh - 92px);
    background-image: url('/assets/images/WebApp/webapp2_2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .webapp-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.10);
        z-index: 1;
    }

.webapp-hero-content {
    position: relative;
    z-index: 2;
    width: 68%;
    margin-left: auto;
    margin-right: 4rem;
    text-align: right;
}

    .webapp-hero-content p {
        font-size: clamp(1.2rem, 2.2vw, 2.3rem);
        font-weight: 300;
        font-style: italic;
        letter-spacing: 5px;
        margin-bottom: 1.2rem;
    }

    .webapp-hero-content h1 {
        font-size: clamp(2.4rem, 4.4vw, 5rem);
        font-weight: 400;
        letter-spacing: 6px;
        line-height: 1.18;
    }

/* BENEFICIOS */

.webapp-benefits {
    position: relative;
    background-image: url('/assets/images/WebApp/Rectangulo14.png');
    background-size: cover;
    background-position: center top;
    background-repeat: repeat-y;
    padding: 5rem 0 7rem;
    overflow: hidden;
}

.webapp-linea {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    opacity: .45;
    pointer-events: none;
    z-index: 1;
}

.webapp-benefits .container {
    position: relative;
    z-index: 2;
    max-width: 1500px;
}

.webapp-benefits h2 {
    font-size: clamp(1.3rem, 2.3vw, 2.6rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.35;
    margin-bottom: 4rem;
}

.webapp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 4rem;
    margin-bottom: 5rem;
}

.webapp-benefit-card {
    min-height: 220px;
    border-radius: 40px;
    background: linear-gradient(to bottom, rgba(132, 100, 43, .58), rgba(166, 128, 58, .72));
    box-shadow: inset 0 -7px 0 rgba(70, 48, 18, .30);
    display: flex;
    align-items: center;
    gap: 2.2rem;
    padding: 2rem 2.5rem;
}

    .webapp-benefit-card img {
        width: 115px;
        height: 115px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .webapp-benefit-card h3 {
        font-size: clamp(1.15rem, 1.6vw, 1.8rem);
        font-weight: 800;
        line-height: 1.25;
        margin: 0;
    }

    .webapp-benefit-card span {
        display: block;
        font-size: clamp(.9rem, 1.2vw, 1.25rem);
        font-weight: 300;
        margin-top: .25rem;
    }

.webapp-phrase {
    text-align: center;
    font-size: clamp(1.2rem, 2vw, 2.3rem);
    font-weight: 300;
    letter-spacing: 1.5px;
    line-height: 1.35;
    margin: 4rem 0;
}

.webapp-qr-title {
    width: fit-content;
    margin: 0 auto 4rem;
    background: rgba(146, 122, 67, .90);
    border-radius: 999px;
    padding: 1.1rem 3rem;
    font-size: clamp(1rem, 1.6vw, 1.7rem);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-align: center;
}

.webapp-qr-box {
    width: 460px;
    max-width: 90%;
    margin: 0 auto;
    background: rgba(95, 73, 32, .8);
    border-radius: 40px;
    padding: 2.2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

    .webapp-qr-box img {
        width: 100%;
        display: block;
    }

/* RESPONSIVE TABLET / LAPTOP PEQUEÑA */

@media (max-width: 1200px) {
    .webapp-benefits .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .webapp-benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .webapp-benefit-card {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        min-height: 160px;
        padding: 1.6rem 1.8rem;
    }

        .webapp-benefit-card img {
            width: 85px;
            height: 85px;
        }

        .webapp-benefit-card h3 {
            font-size: clamp(1.1rem, 2.4vw, 1.6rem);
        }
}

/* RESPONSIVE TABLET */

@media (max-width: 991px) {
    .webapp-hero {
        min-height: 80vh;
        background-position: center left;
    }

        .webapp-hero::after {
            background: rgba(0,0,0,.45);
        }

    .webapp-hero-content {
        width: 100%;
        margin: 0;
        padding: 2rem;
        text-align: center;
    }

    .webapp-benefits {
        padding: 3.5rem 1rem 5rem;
    }

        .webapp-benefits h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

    .webapp-benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .webapp-benefit-card {
        width: 100%;
        min-height: 160px;
        padding: 1.6rem;
        gap: 1.4rem;
        border-radius: 32px;
    }

        .webapp-benefit-card img {
            width: 85px;
            height: 85px;
        }

        .webapp-benefit-card h3 {
            font-size: clamp(1.1rem, 3vw, 1.6rem);
            line-height: 1.25;
        }
}

/* RESPONSIVE CELULAR */

@media (max-width: 575px) {
    .webapp-hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .webapp-hero-content p {
        font-size: 1.25rem;
        letter-spacing: 2px;
    }

    .webapp-benefits h2 {
        font-size: 1.3rem;
    }

    .webapp-benefits-grid {
        gap: 1.5rem;
    }

    .webapp-benefit-card {
        max-width: 100%;
        min-height: 130px;
        flex-direction: row;
        text-align: left;
        padding: 1.2rem;
        gap: 1rem;
    }

        .webapp-benefit-card img {
            width: 60px;
            height: 60px;
        }

        .webapp-benefit-card h3 {
            font-size: 1rem;
        }

        .webapp-benefit-card span {
            font-size: .85rem;
        }

    .webapp-phrase {
        font-size: 1.1rem;
        margin: 3rem 0;
    }

    .webapp-qr-title {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .webapp-qr-box {
        padding: 1.5rem;
        border-radius: 30px;
    }
}
