* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    background: #090b08;
    color: #fff
}

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

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

.topbar {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    background: rgba(9, 11, 8, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em
}

.brand img {
    width: 171px;
    height: 67px;
    object-fit: contain;
    background: rgba(254, 254, 254);
    border-radius: 18px;
    padding: 6px 10px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .28), 0 0 0 1px rgba(190, 242, 100, .18);
    transition: .3s
}

.brand:hover img {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(190, 242, 100, .16), 0 0 0 1px rgba(190, 242, 100, .42)
}

.brand strong {
    color: #bef264
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 800;
    color: #ddd
}

.nav a {
    position: relative
}

.nav a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: #bef264;
    border-radius: 20px;
    transition: .3s
}

.nav a:hover:after {
    width: 100%
}

.menu-btn {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    flex-direction: column;
    gap: 6px;
    justify-content: center
}

.menu-btn span {
    height: 3px;
    background: #fff;
    border-radius: 20px;
    transition: .3s
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 5vw 70px;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    animation: zoom 16s ease-in-out infinite alternate
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #090b08 0%, rgba(9, 11, 8, .86) 42%, rgba(9, 11, 8, .28));
}

.hero-content {
    position: relative;
    max-width: 850px
}

.eyebrow {
    display: inline-flex;
    color: #d9ff99;
    background: rgba(190, 242, 100, .13);
    border: 1px solid rgba(190, 242, 100, .35);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: .92;
    margin: 22px 0 24px;
    font-weight: 1000;
    letter-spacing: -.07em
}

h1 span {
    display: block;
    color: #bef264
}

h2 {
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    line-height: 1;
    margin-bottom: 18px;
    font-weight: 1000;
    letter-spacing: -.05em
}

.hero-content>p:not(.eyebrow),
.section-head p,
.card p,
.contact-box p {
    color: #d5d5d5;
    font-size: 1.08rem;
    line-height: 1.8
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 34px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 25px;
    border-radius: 999px;
    font-weight: 1000;
    transition: .28s
}

.btn:hover {
    transform: translateY(-5px)
}

.btn:focus {
    outline: 2px solid #bef264;
    outline-offset: 2px
}

.primary {
    background: #bef264;
    color: #10140d;
    box-shadow: 0 20px 55px rgba(190, 242, 100, .22)
}

.primary:focus {
    box-shadow: 0 20px 55px rgba(190, 242, 100, .22), 0 0 0 4px rgba(190, 242, 100, .3)
}

.secondary {
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    background: rgba(255, 255, 255, .06)
}

.section {
    padding: 105px 5vw
}

.dark {
    background: #11150f
}

.section-head {
    max-width: 850px;
    margin-bottom: 44px
}

.cards,
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .045));
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 34px;
    padding: 30px;
    min-height: 285px;
    transition: .35s
}

.card:hover {
    transform: translateY(-9px);
    border-color: rgba(190, 242, 100, .55);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .35)
}

.icon {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    background: #bef264;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px
}

.card h3 {
    font-size: 1.6rem
}

.photo {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1)
}

.photo img {
    height: 270px;
    width: 100%;
    object-fit: cover;
    transition: .7s
}

.photo:hover img {
    transform: scale(1.09)
}

.photo div {
    padding: 24px
}

.photo p {
    color: #cfcfcf
}

.contact {
    position: relative;
    background: radial-gradient(circle at center, rgba(190, 242, 100, .13), transparent 48%)
}

.contact-box {
    max-width: 980px;
    margin: auto;
    text-align: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(16px);
    border-radius: 38px;
    padding: 50px
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0
}

.contact-grid a,
.contact-grid span {
    padding: 20px;
    border-radius: 22px;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .1);
    font-weight: 800
}

.whatsapp {
    margin-top: 8px
}

footer {
    text-align: center;
    padding: 34px 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #aaa
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease, transform .8s ease
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

@keyframes zoom {
    from {
        transform: scale(1.04)
    }

    to {
        transform: scale(1.12)
    }
}

@media(max-width:850px) {
    .menu-btn {
        display: flex
    }

    .nav {
        position: fixed;
        top: 82px;
        right: -100%;
        height: calc(100vh - 82px);
        width: min(340px, 88vw);
        background: #090b08;
        flex-direction: column;
        align-items: flex-start;
        padding: 35px;
        border-left: 1px solid rgba(255, 255, 255, .1);
        transition: .42s cubic-bezier(.22, 1, .36, 1)
    }

    .nav.open {
        right: 0
    }

    .cards,
    .gallery,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .hero {
        padding-top: 120px
    }

    .brand span {
        font-size: .92rem
    }

    .brand img {
        width: 127px;
        height: 44px
    }

    .eyebrow {
        
        color: #d9ff99;
        background: rgba(190, 242, 100, .13);
        border: 1px solid rgba(190, 242, 100, .35);
        border-radius: 999px;
        font-weight: 900;
        text-transform: uppercase;
        font-size: 0.9rem;
        padding: 8px 14px;
        letter-spacing: .12em;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: fit-content;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    background: #25d366;
    color: #07140b;
    padding: 15px 20px;
    border-radius: 999px;
    font-weight: 1000;
    box-shadow: 0 18px 55px rgba(37, 211, 102, .28);
    transition: .28s
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.03)
}

/* Optimización de renderizado */
.section {
    content-visibility: auto;
    contain-intrinsic-size: 900px
}

.photo img {
    aspect-ratio: 16/10
}