:root {
    --bg: #07090d;
    --panel: #111821;
    --text: #f6f8fb;
    --muted: #aab3bf;
    --brand: #3f6980;
    --line: rgba(255, 255, 255, .12);
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6
}

.topbar {
    position: fixed;
    top: 0;
    z-index: 50;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 4vw, 54px);
    background: rgba(4, 6, 9, .72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.logo {
    width: 350px;
    padding: 30px
}

.brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

.brand span {
    color: var(--brand)
}

nav {
    display: flex;
    gap: 28px;
    align-items: center
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .9
}

nav a:hover, .lang {
    color: var(--brand)
}

.menu {
    display: none;
    background: none;
    color: #fff;
    border: 0;
    font-size: 2rem
}

.hero-slider {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #02050a
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.45s ease, visibility 1.45s ease;
    z-index: 1
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .25)), var(--hero-bg);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    will-change: transform
}

.hero-slide.active .hero-slide__bg {
    animation: kenburnsHero 8s ease-in-out forwards
}

.hero-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .48));
    z-index: 1
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 45%, rgba(0, 166, 255, .3), transparent 35%);
    z-index: 2
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: var(--max);
    width: 100%;
    padding: 120px 24px 80px
}

.hero-arrow {
    position: absolute;
    
}

.hero-arrow:hover {
    border-color: var(--brand);
    color: var(--brand)
}

.hero-arrow--prev {
    left: 22px
}

.hero-arrow--next {
    right: 22px
}

.hero-dots {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px
}

.hero-dots button {
    width: 36px;
    height: 4px;
    border: 0;
    background: rgba(255, 255, 255, .42);
    cursor: pointer
}

.hero-dots button.active {
    background: var(--brand)
}

@keyframes kenburnsHero {
    from {
        transform: scale(1.02)
    }

    to {
        transform: scale(1.12)
    }
}

.section {
    max-width: var(--max);
    margin: auto;
    padding: 92px 24px
}

.sectionOtros {
    width: 100%;
    margin: auto;
    padding: 92px 24px
}

.intro {
    text-align: center
}

.intro .line {
    display: block;
    width: 72px;
    height: 3px;
    background: var(--brand);
    margin: 0 auto 20px
}

.intro h2, .section h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 20px
}

.intro p {
    max-width: 820px;
    margin: auto;
    color: var(--muted);
    font-size: 1.1rem
}

.two-columns{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.three-columns{
    display: flex;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.columns{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.column{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

.lazy {
    margin-top: 50px;
    height: 70px;
    width: auto;
}

.lazy2 {
    margin-top: 20px;
    height: auto;
    width: 120px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.87);
}

.dark {
    max-width: none;
    background: #0b1016
}

.dark>.section__head, .dark>.cards {
    max-width: var(--max);
    margin: auto
}

.section__head {
    margin-bottom: 32px
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.card__image {
    height: 240px;
    background-size: cover;
    background-position: center;
    filter: saturate(.92)
}

.card__body {
    padding: 28px
}

.card h3, .panel h3 {
    font-size: 1.55rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 12px
}

.card p, .panel p, .about p, .contact p {
    color: var(--muted)
}

ul {
    padding-left: 20px;
    color: #d8e1ea
}

.card a {
    color: var(--brand);
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none
}

.split {
    display: grid;
    background-image: url("/assets/acceso.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    align-items: start;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.815);
}

.split p{
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.815);
}

.panel {
    background: linear-gradient(145deg, #111821, #091019);
    border: 1px solid var(--line);
    padding: 34px
}

.about .content {
    columns: 2;
    column-gap: 44px
}

.about h3 {
    break-after: avoid;
    color: #fff
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: start
}

.contact form {
    display: grid;
    gap: 14px;
    background: #101720;
    border: 1px solid var(--line);
    padding: 28px
}

input, textarea {
    width: 100%;
    background: #080d13;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    padding: 14px 15px;
    font: inherit
}

textarea {
    min-height: 140px
}

footer {
    border-top: 1px solid var(--line);
    padding: 30px 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--muted)
}

footer a {
    color: var(--brand)
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: .7s ease
}

.reveal.show {
    opacity: 1;
    transform: none
}

@media(max-width:850px) {
    .hero-arrow {
        display: none
    }

    .hero-dots {
        bottom: 18px
    }

    .menu {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #06090d;
        padding: 22px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--line)
    }

    nav.open {
        display: flex
    }

    .hero__content {
        padding-top: 130px
    }

    .cards, .split, .contact {
        grid-template-columns: 1fr
    }

    .about .content {
        columns: 1
    }

    .section {
        padding: 70px 18px
    }

    .card {
        min-height: auto
    }

    .hero h1 {
        letter-spacing: -.04em
    }
}

/* Hero media: permite slides con video MP4/WebM como fondo */
.hero-slide__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    will-change: transform;
    z-index: 0;
}

.hero-slide.active .hero-slide__video {
    animation: kenburnsHero 8s ease-in-out forwards;
}

.hero-slide__bg {
    z-index: 0;
}

.hero-slide:after {
    pointer-events: none;
}

.hero__overlay {
    pointer-events: none;
}


/* Hero content fixed styles: typography, buttons and media layering */
.hero-slide__bg, .hero-slide__video {
    z-index: 0;
}

.hero-slide__video {
    background: #02050a;
}

.hero-slide:after {
    pointer-events: none;
    z-index: 1;
}

.hero__overlay {
    pointer-events: none;
    z-index: 2;
}

.hero__content {
    z-index: 3;
    text-align: left;
}

.eyebrow {
    color: var(--brand);
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .78rem;
    margin: 0 0 14px;
}

.hero__content h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: .92;
    font-weight: 900;
    letter-spacing: -.06em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 16px 44px rgba(0, 0, 0, .48);
}

.hero__content h2 {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: clamp(1.25rem, 3vw, 2.6rem);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand);
    text-shadow: 0 2px 4px rgba(0, 0, 0, .90);
}

.hero__content>p:not(.eyebrow) {
    max-width: 650px;
    margin: 24px 0 0;
    color: #dbe4ee;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    background: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: .82rem;
    cursor: pointer;
    transition: .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: #fff;
    color: #05070b;
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: #05070b;
}

@media(max-width:850px) {
    .hero__content {
        padding: 130px 20px 80px
    }

    .hero__content h1 {
        letter-spacing: -.04em;
        font-size: clamp(2.45rem, 13vw, 4.2rem)
    }

    .hero__content h2 {
        font-size: clamp(1.1rem, 6vw, 1.8rem)
    }

    .actions {
        gap: 10px
    }

    .btn {
        width: 100%;
        min-height: 50px
    }
}
/* === XPROtect v9: consulta de garantía en inicio === */
.warranty-check {
    padding-top: 40px;
    padding-bottom: 40px;
}

.warranty-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: center;
    background: linear-gradient(145deg, #111821, #080d13);
    border: 1px solid var(--line);
    padding: clamp(26px, 4vw, 44px);
}

.warranty-card h2 {
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    line-height: 1;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.warranty-card p:not(.eyebrow) {
    color: var(--muted);
    margin: 0;
}

.warranty-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.warranty-form input {
    min-height: 54px;
    text-transform: uppercase;
}

/* Refuerzo visual para botones si el CSS base fue editado */
.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    background: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: .82rem;
    cursor: pointer;
    transition: .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: #fff;
    color: #05070b;
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,.55);
    color: #fff;
}

.btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: #05070b;
}

.hero-slide__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

@media(max-width:850px) {
    .warranty-card {
        grid-template-columns: 1fr;
    }

    .warranty-form {
        flex-direction: column;
    }
}
