/* =========================================================
                        MERCADOLOVE
                    assets/css/style.css
========================================================= */


/* =========================================================
                        VARIABLES
========================================================= */

:root {

    --rosa: #E51C73;
    --rosa-claro: #F44392;
    --rosa-oscuro: #C6125C;

    --negro: #171717;
    --negro-suave: #242424;

    --blanco: #FFFFFF;

    --gris-fondo: #F7F7F7;
    --gris-claro: #EEEEEE;
    --gris: #777777;
    --gris-texto: #555555;

    --sombra:
        0 10px 35px rgba(0, 0, 0, 0.08);

    --sombra-hover:
        0 18px 45px rgba(0, 0, 0, 0.14);

    --radio:
        18px;

    --container:
        1200px;

}


/* =========================================================
                        RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        var(--blanco);

    color:
        var(--negro);

    line-height:
        1.6;

    overflow-x:
        hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button {
    font-family: inherit;
}


ul {
    list-style: none;
}


/* =========================================================
                        CONTENEDOR
========================================================= */

.container {

    width:
        min(92%, var(--container));

    margin:
        0 auto;

}


/* =========================================================
                          HEADER
========================================================= */

.header {

    width: 100%;

    height: 92px;

    background:
        rgba(255, 255, 255, 0.97);

    display:
        flex;

    align-items:
        center;

    position:
        sticky;

    top: 0;

    z-index:
        1000;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.05);

    box-shadow:
        0 3px 18px rgba(0, 0, 0, 0.04);

    backdrop-filter:
        blur(10px);

}


.header-container {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    height:
        100%;

}


/* =========================================================
                          LOGO
========================================================= */

.logo {

    display:
        flex;

    align-items:
        center;

    flex-shrink:
        0;

}


.logo img {

    width:
        210px;

    max-height:
        72px;

    object-fit:
        contain;

}


/* =========================================================
                       NAVEGACIÓN
========================================================= */

.nav {

    display:
        flex;

    align-items:
        center;

    gap:
        38px;

}


.nav a {

    color:
        var(--negro);

    font-size:
        15px;

    font-weight:
        700;

    position:
        relative;

    padding:
        12px 0;

    transition:
        0.3s ease;

}


.nav a::after {

    content: "";

    position:
        absolute;

    left: 0;

    bottom: 4px;

    width:
        0;

    height:
        3px;

    background:
        var(--rosa);

    border-radius:
        10px;

    transition:
        width 0.3s ease;

}


.nav a:hover {

    color:
        var(--rosa);

}


.nav a:hover::after,
.nav a.active::after {

    width:
        100%;

}


.nav a.active {

    color:
        var(--rosa);

}


/* =========================================================
                      BOTÓN MOBILE
========================================================= */

.menu-toggle {

    width:
        42px;

    height:
        42px;

    background:
        transparent;

    border:
        none;

    cursor:
        pointer;

    display:
        none;

    flex-direction:
        column;

    justify-content:
        center;

    align-items:
        center;

    gap:
        6px;

}


.menu-toggle span {

    width:
        27px;

    height:
        3px;

    background:
        var(--negro);

    border-radius:
        10px;

    transition:
        0.3s ease;

}


.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(9px) rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity:
        0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-9px) rotate(-45deg);

}


/* =========================================================
                           HERO
========================================================= */

.hero {

    min-height: calc(100vh - 92px);

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            100deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.72) 45%,
            rgba(0, 0, 0, 0.30) 100%
        ),
        url("../img/hero.webp")
        center center / cover
        no-repeat;
}


/* Si todavía no tienes hero.jpg,
   el fondo negro se seguirá viendo correctamente. */


.hero::before {

    content: "";

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    border-radius:
        50%;

    background:
        rgba(229, 28, 115, 0.18);

    filter:
        blur(70px);

    right:
        -120px;

    bottom:
        -180px;

}


.hero-overlay {

    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.04),
            rgba(0, 0, 0, 0.12)
        );

}


.hero-content {

    position:
        relative;

    z-index:
        2;

    color:
        var(--blanco);

    padding-top:
        45px;

    padding-bottom:
        45px;

}


.hero-label {

    display:
        inline-block;

    color:
        var(--rosa-claro);

    font-size:
        14px;

    font-weight:
        800;

    letter-spacing:
        4px;

    margin-bottom:
        15px;

}


.hero h1 {

    font-size:
        clamp(58px, 8vw, 110px);

    line-height:
        0.95;

    font-weight:
        900;

    letter-spacing:
        -4px;

    max-width:
        850px;

    margin-bottom:
        28px;

}


.hero h1 span {

    color:
        var(--rosa);

}


.hero p {

    max-width:
        620px;

    font-size:
        21px;

    color:
        rgba(255, 255, 255, 0.88);

    margin-bottom:
        38px;

}


/* =========================================================
                         BOTONES
========================================================= */

.hero-buttons,
.cta-buttons {

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        15px;

}


.btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        52px;

    padding:
        0 30px;

    border-radius:
        50px;

    font-size:
        15px;

    font-weight:
        800;

    transition:
        all 0.3s ease;

    border:
        2px solid transparent;

}


.btn-primary {

    background:
        var(--rosa);

    color:
        var(--blanco);

    box-shadow:
        0 10px 28px rgba(229, 28, 115, 0.30);

}


.btn-primary:hover {

    background:
        var(--rosa-oscuro);

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 32px rgba(229, 28, 115, 0.38);

}


.btn-outline {

    border-color:
        rgba(255, 255, 255, 0.75);

    color:
        var(--blanco);

    background:
        rgba(255, 255, 255, 0.06);

}


.btn-outline:hover {

    background:
        var(--blanco);

    color:
        var(--negro);

    transform:
        translateY(-3px);

}


/* =========================================================
                    TÍTULOS DE SECCIÓN
========================================================= */

.section-heading {

    text-align:
        center;

    max-width:
        760px;

    margin:
        0 auto 55px;

}


.section-heading > span,
.section-label {

    display:
        inline-block;

    color:
        var(--rosa);

    font-size:
        13px;

    font-weight:
        900;

    letter-spacing:
        3px;

    margin-bottom:
        12px;

}


.section-heading h2 {

    font-size:
        clamp(34px, 5vw, 52px);

    line-height:
        1.1;

    margin-bottom:
        18px;

    letter-spacing:
        -1.5px;

}


.section-heading p {

    color:
        var(--gris-texto);

    font-size:
        17px;

}


/* =========================================================
                       SOBRE NOSOTROS
========================================================= */

.about-preview {

    padding:
        110px 0;

    background:
        var(--blanco);

}


.about-grid {

    display:
        grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items:
        center;

    gap:
        75px;

}


.about-image {

    position:
        relative;

}


.about-image::before {

    content: "";

    position:
        absolute;

    width:
        75%;

    height:
        75%;

    background:
        var(--rosa);

    border-radius:
        var(--radio);

    left:
        -20px;

    bottom:
        -20px;

    z-index:
        0;

}


.about-image img {

    width:
        100%;

    height:
        520px;

    object-fit:
        cover;

    border-radius:
        var(--radio);

    position:
        relative;

    z-index:
        1;

    box-shadow:
        var(--sombra);

}


.about-content {

    padding:
        20px 0;

}


.about-content h2 {

    font-size:
        clamp(36px, 4.5vw, 54px);

    line-height:
        1.07;

    letter-spacing:
        -1.7px;

    margin-bottom:
        24px;

}


.about-content p {

    color:
        var(--gris-texto);

    font-size:
        17px;

    margin-bottom:
        17px;

}


.text-link {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        12px;

    color:
        var(--rosa);

    font-weight:
        800;

    transition:
        0.3s ease;

}


.text-link span {

    transition:
        transform 0.3s ease;

}


.text-link:hover span {

    transform:
        translateX(7px);

}


/* =========================================================
                        BENEFICIOS
========================================================= */

.benefits {

    padding:
        90px 0;

    background:
        var(--gris-fondo);

}


.benefits-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        28px;

}


.benefit-card {

    background:
        var(--blanco);

    padding:
        45px 35px;

    border-radius:
        var(--radio);

    text-align:
        center;

    box-shadow:
        var(--sombra);

    border:
        1px solid rgba(0, 0, 0, 0.04);

    transition:
        0.3s ease;

}


.benefit-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--sombra-hover);

}


.benefit-icon {

    width:
        72px;

    height:
        72px;

    border-radius:
        50%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin:
        0 auto 22px;

    background:
        rgba(229, 28, 115, 0.10);

    color:
        var(--rosa);

    font-size:
        30px;

    font-weight:
        900;

}


.benefit-card h3 {

    font-size:
        23px;

    margin-bottom:
        12px;

}


.benefit-card p {

    color:
        var(--gris-texto);

    font-size:
        15.5px;

}


/* =========================================================
                         SUCURSALES
========================================================= */

.stores-preview {

    padding:
        110px 0;

    background:
        var(--blanco);

}


.stores-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        35px;

    align-items:
        stretch;

}


.store-card {

    display:
        flex;

    flex-direction:
        column;

    background:
        var(--blanco);

    border-radius:
        var(--radio);

    overflow:
        hidden;

    box-shadow:
        var(--sombra);

    border:
        1px solid rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.store-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--sombra-hover);

}


/* IMAGEN 1200 × 820 */

.store-image {

    width:
        100%;

    aspect-ratio:
        1200 / 820;

    overflow:
        hidden;

    background:
        #f5f5f5;

}


.store-image img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        contain;

    object-position:
        center;

    transition:
        transform 0.5s ease;

}


.store-card:hover .store-image img {

    transform:
        scale(1.02);

}


.store-content {

    display:
        flex;

    flex-direction:
        column;

    flex-grow:
        1;

    padding:
        32px;

}


.store-tag {

    display:
        inline-block;

    color:
        var(--rosa);

    font-size:
        12px;

    letter-spacing:
        2px;

    font-weight:
        900;

    margin-bottom:
        9px;

}


.store-content h3 {

    font-size:
        28px;

    margin-bottom:
        10px;

}


.store-content p {

    color:
        var(--gris-texto);

    margin-bottom:
        20px;

}


.store-link {

    margin-top:
        auto;

    color:
        var(--rosa);

    font-weight:
        800;

    transition:
        color 0.3s ease;

}


.store-link:hover {

    color:
        var(--rosa-oscuro);

}


/* =========================================================
                    DISEÑO RESPONSIVO
========================================================= */

@media (max-width: 768px) {

    .stores-preview {

        padding:
            70px 0;

    }


    .stores-grid {

        grid-template-columns:
            1fr;

        gap:
            25px;

    }


    .store-content {

        padding:
            25px;

    }


    .store-content h3 {

        font-size:
            24px;

    }

}

/* =========================================================
                    LLAMADA A LA ACCIÓN
========================================================= */

.cta {

    padding:
        80px 0;

    background:

        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.10),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            var(--rosa-oscuro),
            var(--rosa)
        );

    color:
        var(--blanco);

}


.cta-container {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        50px;

}


.cta span {

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        3px;

    opacity:
        0.85;

}


.cta h2 {

    font-size:
        clamp(36px, 5vw, 54px);

    line-height:
        1.1;

    margin:
        10px 0;

}


.cta p {

    color:
        rgba(255, 255, 255, 0.86);

    font-size:
        17px;

}


.btn-light {

    background:
        var(--blanco);

    color:
        var(--rosa);

}


.btn-light:hover {

    background:
        var(--negro);

    color:
        var(--blanco);

    transform:
        translateY(-3px);

}


.btn-outline-light {

    border-color:
        rgba(255, 255, 255, 0.75);

    color:
        var(--blanco);

}


.btn-outline-light:hover {

    background:
        var(--blanco);

    color:
        var(--rosa);

    transform:
        translateY(-3px);

}


/* =========================================================
                          FOOTER
========================================================= */

.footer {

    background:
        var(--negro);

    color:
        var(--blanco);

    padding:
        75px 0 0;

}


.footer-grid {

    display:
        grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap:
        55px;

    padding-bottom:
        55px;

}


.footer-brand img {

    width:
        200px;

    margin-bottom:
        20px;

    /*
    Si el logo tiene fondo transparente funciona perfecto.
    Si el logo rosa/negro pierde contraste con el footer negro,
    puedes poner el fondo blanco así:

    background: #fff;
    padding: 10px;
    border-radius: 10px;
    */

}


.footer-brand p {

    color:
        rgba(255, 255, 255, 0.60);

    max-width:
        310px;

    font-size:
        15px;

}


.footer-column {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    gap:
        11px;

}


.footer-column h4 {

    color:
        var(--blanco);

    font-size:
        16px;

    margin-bottom:
        10px;

}


.footer-column a {

    color:
        rgba(255, 255, 255, 0.62);

    font-size:
        14px;

    transition:
        0.3s ease;

}


.footer-column a:hover {

    color:
        var(--rosa);

    transform:
        translateX(4px);

}


.social-links {

    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;

}


.footer-bottom {

    border-top:
        1px solid rgba(255, 255, 255, 0.09);

    min-height:
        78px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

}


.footer-bottom p {

    color:
        rgba(255, 255, 255, 0.47);

    font-size:
        13px;

}
.ntegrax-link {
    color: #0A5DCC;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.ntegrax-link:hover {
    color: #1677FF;
}


/* =========================================================
                    TABLET - 1024 PX
========================================================= */

@media (max-width: 1024px) {

    .header {

        height:
            85px;

    }


    .logo img {

        width:
            185px;

        max-height:
            65px;

    }


    .nav {

        gap:
            25px;

    }


    .hero {

        min-height:
            720px;

    }


    .hero h1 {

        font-size:
            clamp(55px, 9vw, 82px);

    }


    .about-grid {

        gap:
            45px;

    }


    .about-image img {

        height:
            460px;

    }


    .footer-grid {

        grid-template-columns:
            1.4fr 1fr 1fr;

    }


    .footer-column:last-child {

        grid-column:
            2 / 4;

    }

}


/* =========================================================
                    TABLET - 850 PX
========================================================= */

@media (max-width: 850px) {

    .header {

        height:
            80px;

    }


    .header-container {

        position:
            relative;

    }


    .menu-toggle {

        display:
            flex;

    }


    .logo img {

        width:
            170px;

    }


    .nav {

        position:
            absolute;

        top:
            80px;

        left:
            0;

        right:
            0;

        width:
            100%;

        background:
            var(--blanco);

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        padding:
            15px 22px 25px;

        border-radius:
            0 0 18px 18px;

        box-shadow:
            0 20px 35px rgba(0, 0, 0, 0.12);

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateY(-15px);

        pointer-events:
            none;

        transition:
            0.3s ease;

    }


    .nav.active {

        opacity:
            1;

        visibility:
            visible;

        transform:
            translateY(0);

        pointer-events:
            auto;

    }


    .nav a {

        width:
            100%;

        padding:
            16px 5px;

        border-bottom:
            1px solid var(--gris-claro);

    }


    .nav a::after {

        display:
            none;

    }


    .hero {

        min-height:
            680px;

        background-position:
            center;

    }


    .hero-content {

        text-align:
            center;

    }


    .hero h1 {

        margin-left:
            auto;

        margin-right:
            auto;

    }


    .hero p {

        margin-left:
            auto;

        margin-right:
            auto;

    }


    .hero-buttons {

        justify-content:
            center;

    }


    .about-preview,
    .stores-preview {

        padding:
            85px 0;

    }


    .about-grid {

        grid-template-columns:
            1fr;

        gap:
            55px;

    }


    .about-image {

        max-width:
            650px;

        margin:
            0 auto;

    }


    .about-image img {

        height:
            470px;

    }


    .about-content {

        text-align:
            center;

    }


    .benefits-grid {

        grid-template-columns:
            1fr;

        max-width:
            600px;

        margin:
            0 auto;

    }


    .stores-grid {

        grid-template-columns:
            1fr;

        max-width:
            700px;

        margin:
            0 auto;

    }


    .cta-container {

        flex-direction:
            column;

        text-align:
            center;

    }


    .cta-buttons {

        justify-content:
            center;

    }


    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .footer-column:last-child {

        grid-column:
            auto;

    }

}


/* =========================================================
                    MÓVIL - 600 PX
========================================================= */

@media (max-width: 600px) {

    .container {

        width:
            min(90%, var(--container));

    }


    .header {

        height:
            74px;

    }


    .logo img {

        width:
            145px;

        max-height:
            58px;

    }


    .nav {

        top:
            74px;

    }


    .hero {

        min-height:
            calc(100vh - 74px);

        padding:
            65px 0;

    }


    .hero-label {

        font-size:
            11px;

        letter-spacing:
            3px;

    }


    .hero h1 {

        font-size:
            clamp(47px, 16vw, 68px);

        letter-spacing:
            -3px;

    }


    .hero p {

        font-size:
            17px;

        max-width:
            95%;

    }


    .hero-buttons {

        flex-direction:
            column;

        width:
            100%;

    }


    .hero-buttons .btn {

        width:
            100%;

        max-width:
            360px;

    }


    .section-heading {

        margin-bottom:
            38px;

    }


    .section-heading h2 {

        font-size:
            34px;

    }


    .section-heading p {

        font-size:
            15.5px;

    }


    .about-preview {

        padding:
            70px 0;

    }


    .about-grid {

        gap:
            45px;

    }


    .about-image::before {

        left:
            -10px;

        bottom:
            -10px;

    }


    .about-image img {

        height:
            360px;

    }


    .about-content h2 {

        font-size:
            35px;

    }


    .about-content p {

        font-size:
            15.5px;

    }


    .benefits {

        padding:
            65px 0;

    }


    .benefit-card {

        padding:
            35px 25px;

    }


    .stores-preview {

        padding:
            70px 0;

    }


    .store-image {

        height:
            260px;

    }


    .store-content {

        padding:
            25px;

    }


    .store-content h3 {

        font-size:
            24px;

    }


    .cta {

        padding:
            65px 0;

    }


    .cta h2 {

        font-size:
            38px;

    }


    .cta-buttons {

        width:
            100%;

        flex-direction:
            column;

    }


    .cta-buttons .btn {

        width:
            100%;

        max-width:
            350px;

    }


    .footer {

        padding-top:
            55px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap:
            35px;

    }


    .footer-brand img {

        width:
            170px;

    }


    .footer-bottom {

        flex-direction:
            column;

        justify-content:
            center;

        text-align:
            center;

        padding:
            22px 0;

        gap:
            6px;

    }

}
@media (max-width: 520px) {

    .hero h1 {
        font-size: 58px;
        line-height: 0.95;
        letter-spacing: -2px;
        max-width: 100%;
        margin: 0 auto 18px;
        text-align: center;
    }

    .hero h1 span {
        display: block;
    }

    .hero p {
        font-size: 17px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

}

/* =========================================================
                   MÓVIL PEQUEÑO - 390 PX
========================================================= */

@media (max-width: 390px) {

    .logo img {

        width:
            135px;

    }


   .hero h1 {
        font-size: 45px;
        line-height: 0.95;
        letter-spacing: -1px;
    }

    .hero h1 span {
        display: block;
    }

    .hero p {
        font-size: 16px;
    }


    .btn {

        padding:
            0 22px;

    }


    .about-image img {

        height:
            310px;

    }


    .section-heading h2,
    .about-content h2 {

        font-size:
            31px;

    }


    .store-image {

        height:
            225px;

    }

}