.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    font-family: 'Gilroy';
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: transparent;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 30%,
        rgba(0, 0, 0, 0.25) 65%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 700px;
    position: relative;
    z-index: 3;
}

.hero-service {
    z-index: 3;
}

.hero-badges img {
    width: 160px;
    height: auto;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    max-width: 700px;
    color: #fff;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-title span {
    color: #f5a623;
}

p.hero-top {
    font-size: 12px;
    color: #FBA31B;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-badges {
    display: flex;
    gap: 10px;
}

.hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary-hero {
    background: #f5a623;
    padding: 15px 40px;
    color: #000 !important;
    text-decoration: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-secondary-hero {
    border: 1px solid #FAA71B;
    padding: 15px 40px;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
}

.hero-tech {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: clamp(520px, 70vw, 700px) !important;
    z-index: 2;
    pointer-events: none;
    object-fit: contain;
}

.hero-clients {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.client-avatars {
    display: flex;
}

.client-avatars img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #f5a623;
    margin-left: -10px;
    object-fit: cover;
    background: #1F1F1F;
}

.client-text {
    font-size: 18px;
}

.hero-service {
    position: absolute;
    right: 28%;
    top: 20%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    padding: 16px 24px;
    border-radius: 10px;
    border: 3px solid #f5a623;
    z-index: 3;
}

.service-icon {
    width: 48px;
}

.service-text {
    font-size: 16px;
    color: #000;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

.service-text strong {
    color: #f5a623;
}

/* =========================
   LAPTOP PEQUEÑO
   1025px - 1300px
   ========================= */

@media (max-width: 1300px) and (min-width: 1025px) {

    .hero-inner {
        max-width: 1180px;
        padding: 90px 40px;
        min-height: 600px;
    }

    .hero-content {
        max-width: 640px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.12;
    }

    .hero-badges img {
        width: 145px;
    }

    .hero-service {
        right: 22%;
        top: 20%;
        padding: 14px 18px;
    }

    .service-icon {
        width: 40px;
    }

    .service-text {
        font-size: 14px;
    }

}

/* =========================
   TABLET
   769px - 1024px
   ========================= */

@media (max-width: 1024px) and (min-width: 769px) {

    .hero-inner {
        max-width: 100%;
        padding: 70px 40px;
        min-height: 520px;
    }

    .hero-content {
        max-width: 560px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    p.hero-top {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .hero-badges img {
        width: 135px;
    }

    .hero-bottom {
        gap: 20px;
    }

    .hero-buttons {
        gap: 14px;
    }

    .hero-buttons a {
        padding: 13px 24px;
        font-size: 14px;
    }

    .client-avatars img {
        width: 48px;
        height: 48px;
    }

    .client-text {
        font-size: 15px;
    }

    .hero-service {
        right: 8%;
        top: 18%;
        padding: 12px 16px;
        gap: 8px;
    }

    .service-icon {
        width: 36px;
    }

    .service-text {
        font-size: 13px;
        line-height: 1.2;
    }

    .hero-tech {
        height: clamp(420px, 45vw, 580px) !important;
        right: 2%;
    }

}

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

@media (max-width: 768px) {

    .hero {
        min-height: 600px;
        background-image: var(--hero-bg-mobile);
    }

    .hero-inner {
        padding: 40px 20px;
        min-height: 600px;
    }

    .hero-title {
        font-size: 38px;
        text-align: left;
    }

    .hero-badges img {
        width: 120px;
        margin-top: 80px;
    }

    .hero-bg {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center top;
        height: 600px !important;
    }

    .hero-bottom {
        margin-top: auto;
        width: 100%;
    }

    .hero-clients {
        justify-content: space-between;
    }

    .client-avatars img {
        width: 45px;
        height: 45px;
    }

    .client-text {
        font-size: 16px;
        margin-right: 60px;
    }

    .hero-buttons {
        display: flex;
        gap: 10px;
    }

    .hero-buttons a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
        font-size: 14px;
        padding: 10px;
    }

    .hero-tech {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 300px !important;
        right: auto;
        z-index: 1;
    }

    .hero-service {
        display: none;
    }

}

@media (max-width: 767px) {

    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.20) 20%,
            rgba(0, 0, 0, 0.25) 100%
        );
    }

}
