/* =========================================================
   POWERED BY BO
   ========================================================= */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        "Google Sans Flex",
        "Google Sans",
        Arial,
        Helvetica,
        sans-serif;

    background: #ffffff;
    color: #111111;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}



/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */


.container {
    width: min(1120px, calc(100% - 80px));
    margin: 0 auto;
}



/* =========================================================
   HERO
   ========================================================= */


.hero {
    min-height: 600px;
    background: #ff0038;
}


.hero-content {
    padding-top: 48px;
}


/* LOGO SUPERIOR MÁS GRANDE */

.logo {
    width: 120px;
    height: auto;

    margin-bottom: 72px;
}


.hero h1 {
    max-width: 900px;

    font-size: clamp(55px, 6vw, 92px);

    line-height: 0.93;

    letter-spacing: -4.5px;

    font-weight: 350;

    color: #ffffff;
}


.hero h1 strong {
    font-weight: 750;
}



/* =========================================================
   INTRO
   ========================================================= */


.intro {
    min-height: 610px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    background: #000000;
}


.intro-text {
    background: #000000;

    color: #ffffff;

    display: flex;

    align-items: center;
}


.intro-inner {
    width: min(480px, calc(100% - 80px));

    margin-left: auto;
    margin-right: 80px;
}


.year {
    font-size: 29px;

    line-height: 1;

    font-weight: 600;

    margin-bottom: 5px;
}


.brand-small {
    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.3px;

    margin-bottom: 48px;

    opacity: 0.8;
}


.intro h2 {
    font-size: 20px;

    margin-bottom: 10px;

    font-weight: 700;
}


.intro p {
    max-width: 410px;

    font-size: 14px;

    line-height: 1.55;

    color: #d3d3d3;
}



/* =========================================================
   BOTONES
   ========================================================= */


.buttons {
    display: flex;

    gap: 8px;

    margin-top: 26px;
}


.btn {
    min-height: 38px;

    padding: 0 18px;

    display: inline-flex;

    justify-content: center;

    align-items: center;

    font-size: 12px;

    font-weight: 650;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.btn-red {
    background: #ff0038;
    color: #ffffff;
}


.btn-red:hover {
    background: #ff2857;
}


.btn-white {
    background: #ffffff;
    color: #000000;
}


.btn-white:hover {
    background: #e8e8e8;
}



/* =========================================================
   MOCKUP
   ========================================================= */


.intro-image {
    position: relative;

    overflow: hidden;

    min-height: 610px;
}


.intro-image img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.8s
        cubic-bezier(.2,.8,.2,1);
}


.intro-image:hover img {
    transform: scale(1.025);
}



/* =========================================================
   SOLUCIONES
   ========================================================= */


.solutions {
    background: #ffffff;

    padding: 65px 0 45px;
}



/* =========================================================
   CARRUSEL
   ========================================================= */


.carousel {
    width: 100%;
}


.carousel-viewport {
    width: 100%;

    overflow: hidden;
}


.carousel-track {
    display: flex;

    transform: translateX(0);

    transition:
        transform 1.15s
        cubic-bezier(.22,.61,.36,1);

    will-change: transform;
}



/* =========================================================
   APLICACIONES
   ========================================================= */


.solution {
    flex: 0 0 25%;

    min-width: 0;

    padding: 0 28px;

    display: grid;

    grid-template-columns:
        78px minmax(0, 1fr);

    gap: 18px;

    align-items: start;
}


.solution-icon {
    width: 78px;
    height: 78px;

    border-radius: 17px;

    overflow: hidden;

    background: #f1f1f1;
}


.solution-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.solution-content {
    min-width: 0;
}


.solution h3 {
    font-size: 15px;

    line-height: 1.2;

    margin-bottom: 7px;

    font-weight: 750;
}


.solution h4 {
    font-size: 12px;

    line-height: 1.35;

    margin-bottom: 5px;

    font-weight: 500;
}


.solution p {
    font-size: 11px;

    line-height: 1.45;

    color: #777777;

    margin-bottom: 11px;
}


.solution a {
    display: inline-block;

    font-size: 11px;

    font-weight: 700;

    border-bottom: 1px solid transparent;

    transition:
        border-color 0.2s ease;
}


.solution a:hover {
    border-color: #000000;
}



/* =========================================================
   BULLETS
   ========================================================= */


.carousel-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    margin-top: 38px;
}


.carousel-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #c9c9c9;

    cursor: pointer;

    transition:
        width 0.3s ease,
        border-radius 0.3s ease,
        background 0.3s ease;
}


.carousel-dot.active {
    width: 24px;

    border-radius: 10px;

    background: #111111;
}



/* =========================================================
   BANNER DE CONTACTO
   ========================================================= */


.contact {
    min-height: 420px;

    background: #ff0038;

    color: #ffffff;

    display: flex;

    align-items: center;
}


/*
   Usa exactamente el mismo .container que el HERO.
   Por eso ambos textos empiezan en el mismo eje.
*/

.contact-inner {
    width: min(1120px, calc(100% - 80px));

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;
}


.contact span {
    display: block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 20px;

    color: #ffffff;
}


.contact h2 {
    font-size:
        clamp(42px, 5vw, 78px);

    line-height: 0.95;

    letter-spacing: -3px;

    font-weight: 700;

    color: #ffffff;
}


.contact-button {
    border: 0;

    background: #000000;

    color: #ffffff;

    padding: 17px 25px;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.contact-button:hover {
    background: #ffffff;

    color: #000000;
}



/* =========================================================
   FOOTER
   ========================================================= */


footer {
    min-height: 180px;

    background: #f2f2f2;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 18px;
}


footer img {
    width: 65px;
    height: auto;
}


footer p {
    font-size: 10px;

    color: #777777;
}



/* =========================================================
   WHATSAPP
   ========================================================= */


.whatsapp-widget {
    position: fixed;

    right: 28px;

    bottom: 28px;

    z-index: 9999;
}


.whatsapp-floating {
    width: 62px;
    height: 62px;

    margin-left: auto;

    border: 0;

    border-radius: 50%;

    background: #25d366;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.whatsapp-floating:hover {
    transform: scale(1.06);

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.28);
}


.whatsapp-floating svg {
    width: 34px;
    height: 34px;

    fill: currentColor;
}



/* =========================================================
   PANEL WHATSAPP
   ========================================================= */


.whatsapp-panel {
    position: absolute;

    right: 0;

    bottom: 78px;

    width: 350px;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 18px 60px
        rgba(0, 0, 0, 0.22);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px)
        scale(0.97);

    transform-origin: bottom right;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


.whatsapp-panel.open {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}



/* =========================================================
   HEADER WHATSAPP
   ========================================================= */


.whatsapp-header {
    min-height: 86px;

    background: #111111;

    color: #ffffff;

    padding: 17px 18px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


.whatsapp-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}


.whatsapp-brand-logo {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ff0038;

    display: flex;

    align-items: center;

    justify-content: center;
}


.whatsapp-brand-logo img {
    width: 25px;

    height: auto;
}


.whatsapp-brand strong {
    display: block;

    font-size: 14px;

    line-height: 1.2;

    margin-bottom: 4px;
}


.whatsapp-brand span {
    display: block;

    font-size: 10px;

    color: #bdbdbd;

    line-height: 1.3;
}


.whatsapp-close {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 27px;

    font-weight: 300;

    cursor: pointer;

    line-height: 1;
}



/* =========================================================
   CUERPO WHATSAPP
   ========================================================= */


.whatsapp-body {
    min-height: 205px;

    padding: 28px 20px;

    background: #f5f3f0;
}


.whatsapp-message {
    width: 90%;

    background: #ffffff;

    padding: 15px 16px;

    border-radius:
        4px 14px 14px 14px;

    box-shadow:
        0 2px 7px
        rgba(0, 0, 0, 0.07);
}


.message-brand {
    display: block;

    color: #ff0038;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 8px;
}


.whatsapp-message p {
    font-size: 13px;

    line-height: 1.45;

    margin-bottom: 7px;
}


.whatsapp-message p:last-child {
    margin-bottom: 0;
}



/* =========================================================
   BOTÓN WHATSAPP
   ========================================================= */


.whatsapp-footer {
    padding: 16px;

    background: #ffffff;
}


.whatsapp-start {
    min-height: 48px;

    width: 100%;

    border-radius: 9px;

    background: #25d366;

    color: #ffffff;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    font-size: 13px;

    font-weight: 700;

    transition:
        background 0.2s ease;
}


.whatsapp-start:hover {
    background: #20bd5a;
}


.whatsapp-start svg {
    width: 21px;
    height: 21px;

    fill: currentColor;
}



/* =========================================================
   TABLET
   ========================================================= */


@media (max-width: 1100px) {

    .intro-inner {
        margin-left: 40px;
        margin-right: 40px;
    }


    .solution {
        flex-basis: 50%;

        padding-left: 35px;
        padding-right: 35px;
    }

}



/* =========================================================
   MÓVIL
   ========================================================= */


@media (max-width: 720px) {


    .container {
        width: calc(100% - 40px);
    }



    /* HERO */


    .hero {
        min-height: 500px;
    }


    .hero-content {
        padding-top: 30px;
    }


    .logo {
        width: 95px;

        margin-bottom: 85px;
    }


    .hero h1 {
        font-size:
            clamp(45px, 14vw, 65px);

        letter-spacing: -3px;

        line-height: 0.94;
    }



    /* INTRO */


    .intro {
        display: flex;

        flex-direction: column;
    }


    .intro-text {
        min-height: 470px;

        padding:
            60px 25px;
    }


    .intro-inner {
        width: 100%;

        margin: 0;
    }


    .intro-image {
        min-height: 420px;
    }



    /* CARRUSEL */


    .solutions {
        padding:
            55px 0 38px;
    }


    .solution {
        flex-basis: 100%;

        padding:
            0 28px;

        grid-template-columns:
            72px minmax(0, 1fr);

        gap: 18px;
    }


    .solution-icon {
        width: 72px;
        height: 72px;
    }


    .carousel-dots {
        margin-top: 32px;
    }



    /* CONTACTO */


    .contact {
        min-height: 430px;
    }


    .contact-inner {
        width: calc(100% - 40px);

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 45px;
    }


    .contact h2 {
        letter-spacing: -2px;
    }



    /* FOOTER */


    footer {
        min-height: 150px;
    }



    /* WHATSAPP */


    .whatsapp-widget {
        right: 18px;

        bottom: 18px;
    }


    .whatsapp-floating {
        width: 58px;
        height: 58px;
    }


    .whatsapp-floating svg {
        width: 31px;
        height: 31px;
    }


    .whatsapp-panel {
        width:
            min(
                340px,
                calc(100vw - 36px)
            );

        bottom: 72px;
    }

}



/* =========================================================
   ACCESIBILIDAD
   ========================================================= */


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    .carousel-track,
    .intro-image img,
    .whatsapp-panel,
    .whatsapp-floating {
        transition: none;
    }

}