/* =========================================================
   INICIO.CSS
   Sección Hero / Inicio
   Desktop grande corregido sin tocar móvil
========================================================= */

/* HERO */
.hero {
    min-height: calc(100vh - 102px);
    padding: 70px 0 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    overflow: hidden;
}

.hero__inner {    
    position: relative;
    width: min(1120px, 88vw);
    height: 536px;
}

/* CONTENIDO IZQUIERDO */
.hero__content {
    position: absolute;
    left: 0;
    top: 15%;

    width: 520px;
    z-index: 6;
}

/* LABEL */
.hero__label {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 26px;

    color: #f4f4f5;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    line-height: 14.4px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero__label span {
    color: #ff1f2d;
    font-size: 13px;
}

/* TITULO */
.hero h1 {
    margin-bottom: 8px;

    color: #f5f5f7;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 48px;
    line-height: 57.6px;
    font-weight: 700;
    letter-spacing: -0.96px;
}

.hero h1 span {
    color: #f71924;
    font-weight: 700;
}

/* PARRAFO */
.hero p {
    width: 520px;
    max-width: 520px;

    margin-bottom: 12px;

    color: #c8c8cf;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    line-height: 28.8px;
    font-weight: 400;
}

/* BOTONES */
.hero__buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    height: 46px;
    border-radius: 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    line-height: 14.4px;
    font-weight: 600;

    transition: 0.25s ease;
}

.btn--primary {
    width: 198.7px;
    background-color: #ffffff;
    color: #f71924;
}

.btn--secondary {
    width: 229px;
    color: #ffffff;
    border: 1px solid #44474d;
    background-color: transparent;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.45);
}

.btn--secondary:hover {
    border-color: #f71924;
    color: #f71924;
}

/* IMAGEN DERECHA */
.hero__visual {
    position: absolute;
    top: 0;
    left: 465px;

    width: 608px;
    height: 536px;
}

.hero__main-img {
    width: 608px;
    height: 536px;

    display: block;
    object-fit: cover;
    border-radius: 32px;
}

/* CARDS FLOTANTES */
.hero__card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 24px;

    background: rgba(0, 0, 0, 0.42);
    border: 1px solid #cd1d1f;
    border-radius: 12px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(255, 255, 255, 0.03);

    pointer-events: none;
}

.hero__card img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero__card strong,
.hero__card span {
    display: block;
}

.hero__card strong {
    margin-bottom: 4px;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}

.hero__card span {
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

/* CARD SEGURIDAD */
.hero__card--security {
    width: 235px;
    height: 90px;
    padding: 0 24px;

    top: 125px;
    left: 10px;
}

/* CARD RENDIMIENTO */
.hero__card--performance {
    width: 191px;
    height: 90px;
    padding: 0 24px;

    right: -37px;
    bottom: 108px;
}

/* =========================================================
   ESCRITORIO GRANDE
   Solo afecta pantallas grandes.
   No toca tablet ni móvil.
========================================================= */

/* =========================================================
   ESCRITORIO GRANDE
   Desde 1600px
========================================================= */

/* =========================================================
   HERO - ESCRITORIO GRANDE
   1600px en adelante
========================================================= */

@media (min-width: 1600px) {

    .hero {
        /*min-height: calc(100svh - 82px);*/
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .hero__inner {
        width: min(94vw, 1700px);
        height: min(72vh, 720px);
        min-height: 620px;

        display: grid;
        grid-template-columns: minmax(520px, 0.82fr) minmax(760px, 1.18fr);
        align-items: center;
        gap: clamp(70px, 4vw, 110px);

        position: relative;
    }

    .hero__content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;

        width: 100%;
        max-width: 680px;
        z-index: 6;
    }

    .hero__label {
        font-size: 13px;
        line-height: 1.2;
        margin-bottom: 28px;
    }

    .hero__label span {
        font-size: 14px;
    }

    .hero h1 {
        font-size: clamp(62px, 3.6vw, 78px);
        line-height: 1.04;
        letter-spacing: -1.6px;
        margin-bottom: 14px;
    }

    .hero p {
        width: 100%;
        max-width: 680px;

        font-size: clamp(18px, 1vw, 22px);
        line-height: 1.58;
        margin-bottom: 24px;
    }

    .hero__buttons {
        gap: 18px;
    }

    .btn {
        height: 52px;
        font-size: 13px;
        border-radius: 9px;
    }

    .btn--primary {
        width: 225px;
    }

    .btn--secondary {
        width: 250px;
    }

    .hero__visual {
        position: relative;
        top: auto;
        left: auto;

        width: 100%;
        max-width: none;
        height: auto;

        justify-self: stretch;
        align-self: center;
    }

    .hero__main-img {
        width: 100%;
        height: auto;

        display: block;
        object-fit: contain;
        border-radius: 34px;
    }

    .hero__card {
        gap: 20px;
        border-radius: 13px;
    }

    .hero__card img {
        width: 42px;
        height: 42px;
    }

    .hero__card strong {
        font-size: 15px;
        line-height: 19px;
    }

    .hero__card span {
        font-size: 14px;
        line-height: 18px;
    }

    .hero__card--security {
        width: 255px;
        height: 96px;
        padding: 0 24px;

        top: 18%;
        left: 2%;
    }

    .hero__card--performance {
        width: 210px;
        height: 96px;
        padding: 0 24px;

        right: -28px;
        bottom: 17%;
    }
}


/* =========================================================
   HERO - ESCRITORIO EXTRA GRANDE
   2100px en adelante / 2560x1440
========================================================= */

@media (min-width: 2100px) {

    .hero {
        padding: 0;
    }

    .hero__inner {
        width: min(94vw, 2200px);
        height: auto;
        min-height: 760px;

        grid-template-columns: minmax(720px, 0.82fr) minmax(1050px, 1.18fr);
        gap: clamp(100px, 4.5vw, 150px);
    }

    .hero__visual {
        height: auto;
    }

    .hero__main-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 42px;
    }

    .hero__content {
        max-width: 820px;
    }

    .hero__label {
        font-size: 15px;
        margin-bottom: 34px;
    }

    .hero__label span {
        font-size: 16px;
    }

    .hero h1 {
        font-size: clamp(88px, 3.8vw, 112px);
        line-height: 1.02;
        letter-spacing: -2.4px;
        margin-bottom: 20px;
    }

    .hero p {
        max-width: 820px;

        font-size: clamp(24px, 1.05vw, 30px);
        line-height: 1.55;
        margin-bottom: 34px;
    }

    .btn {
        height: 62px;
        font-size: 16px;
        border-radius: 11px;
    }

    .btn--primary {
        width: 285px;
    }

    .btn--secondary {
        width: 310px;
    }

    .hero__main-img {
        border-radius: 42px;
    }

    .hero__card {
        gap: 24px;
        border-radius: 16px;
    }

    .hero__card img {
        width: 50px;
        height: 50px;
    }

    .hero__card strong {
        font-size: 18px;
        line-height: 22px;
    }

    .hero__card span {
        font-size: 17px;
        line-height: 21px;
    }

    .hero__card--security {
        width: 310px;
        height: 116px;
        padding: 0 30px;

        top: 18%;
        left: 2%;
    }

    .hero__card--performance {
        width: 260px;
        height: 116px;
        padding: 0 30px;

        right: -38px;
        bottom: 17%;
    }
}

/* =========================================================
   RESPONSIVE ORIGINAL
   No tocar: se mantiene tu comportamiento móvil/tablet.
========================================================= */

@media (max-width: 1200px) {

    .hero__inner {
        width: 95%;
    }

    .hero__content {
        width: 460px;
    }

    .hero p {
        width: 100%;
        max-width: 460px;
    }

    .hero__visual {
        left: 430px;
        width: 520px;
        height: 460px;
    }

    .hero__main-img {
        width: 100%;
        height: 100%;
    }

}

@media (max-width: 992px) {

    .hero {

        min-height: auto;

        padding: 60px 25px;

    }

    .hero__inner {

        position: static;

        width: 100%;
        height: auto;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 50px;

    }

    .hero__content {

        position: static;

        width: 100%;

        text-align: center;

    }

    .hero p {

        width: 100%;
        max-width: 650px;

        margin: 20px auto;

    }

    .hero__buttons {

        justify-content: center;

        flex-wrap: wrap;

    }

    .hero__visual {

        position: relative;

        left: auto;
        top: auto;

        width: 100%;
        max-width: 600px;
        height: auto;

    }

    .hero__main-img {

        width: 100%;
        height: auto;

    }

}

@media (max-width:768px) {

    .hero {

        padding: 40px 20px;

    }

    .hero h1 {

        font-size: 38px;

        line-height: 1.2;

    }

    .hero p {

        font-size: 16px;

        line-height: 1.7;

    }

    .hero__buttons {

        flex-direction: column;

        gap: 12px;

    }

    .btn {

        width: 100%;

        max-width: 320px;

    }

    .btn--primary,
    .btn--secondary {

        width: 100%;

    }

    .hero__card {

        transform: scale(.8);

    }

    .hero__card--security {

        top: 10%;

        left: 2%;

    }

    .hero__card--performance {

        right: 2%;

        bottom: 8%;

    }

}

@media (max-width:480px) {

    .hero {

        padding: 35px 15px;

    }

    .hero h1 {

        font-size: 30px;

    }

    .hero p {

        font-size: 15px;

        line-height: 1.6;

    }

    .hero__label {

        justify-content: center;

    }

    .hero__card {

        display: none;

    }

}