:root {
    --dark: #0f141c;
    --darker: #080b10;
    --panel: #141b25;
    --text: #f5f7fb;
    --muted: #a8b0bd;
    --orange: #f6a400;
    --orange2: #ff7a00;
    --blue: #12a7d8;
    --line: rgba(255, 255, 255, .12);
    --shadow: 0 25px 60px rgba(0, 0, 0, .35);
    --font-title: 'Kanit', sans-serif;
    --font-body: 'Roboto', sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--dark);
    font-family: var(--font-body);
    color: var(--text);
    overflow-x: hidden
}

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

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

.container {
    width: min(1180px, 92%);
    margin: auto
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: .35s
}

.site-header.hide {
    transform: translateY(-110%)
}

.nav-wrap {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand img {
    width: 160px
}

.main-nav {
    display: flex;
    gap: 36px;
    text-transform: uppercase;
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: .8px;
    font-size: .95rem
}

.main-nav a {
    position: relative;
    color: #333;
}

.main-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    transition: .3s
}

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

.menu-toggle {
    display: none;
    background: var(--orange);
    border: 0;
    color: #111;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    font-size: 1.2rem
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111
}

.hero-video,
.hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-fallback {
    background: url('../img/servicio-04.webp') center/cover no-repeat;
    filter: saturate(1.1);
    z-index: 0
}

.hero-video {
    z-index: 1
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 10, 15, .92) 0%, rgba(7, 10, 15, .72) 42%, rgba(7, 10, 15, .35) 100%);
    z-index: 2
}

.hero:after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -180px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 164, 0, .32), transparent 65%);
    z-index: 2
}

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: end;
    gap: 30px;
    padding-top: 120px
}

.hero-copy {
    padding: 90px 0 110px
}

.hero h1 {
    font-family: var(--font-title);
    font-size: clamp(3rem, 7vw, 7.5rem);
    line-height: .88;
    margin: 26px 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    max-width: 830px
}

.hero p {
    font-size: 1.18rem;
    line-height: 1.8;
    color: #dfe5ee;
    max-width: 690px;
    margin-top: 28px
}

.hero-worker {
    align-self: end
}

.hero-worker img {
    margin-left: auto;
    max-height: 78vh;
    object-fit: contain;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45))
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 2px;
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: .3s
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    color: #101010;
    box-shadow: 0 12px 28px rgba(246, 164, 0, .3)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(246, 164, 0, .42)
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, .8);
    color: #fff
}

.btn-outline:hover {
    background: #fff;
    color: #111
}

.section {
    padding: 110px 0
}

.services {
    background: #101720
}

.section-kicker {
    display: inline-block;
    color: var(--orange);
    font-family: var(--font-title);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px
}

.section-title,
.expert-copy h2,
.about-copy h2,
.contact h2 {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    line-height: .95;
    margin: 0 0 42px;
    text-transform: uppercase
}

.services-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px
}

.service-card {
    background: #fff;
    color: #111;
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 330px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative
}

.service-card:nth-child(2),
.service-card:nth-child(4),
.service-card:nth-child(6) {
    background: #f2a500
}

.service-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 7px;
    height: 100%;
    background: var(--orange2)
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.service-content {
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.service-content span {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0, 0, 0, .3)
}

.service-content h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    line-height: 1.08;
    margin: 10px 0 16px;
    text-transform: uppercase
}

.service-content p {
    line-height: 1.7;
    margin: 0;
    color: #2b2b2b
}

.expert-block {
    padding: 115px 0;
    background: linear-gradient(135deg, #0b0f16 0%, #141d28 70%);
    position: relative
}

.expert-grid,
.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 62px;
    align-items: center
}

.expert-copy p,
.about-copy p,
.contact-info p {
    color: #c7ced9;
    line-height: 1.8;
    font-size: 1.05rem
}

.mini-title {
    display: block;
    color: #fff;
    font-family: var(--font-title);
    font-weight: 700;
    margin: 28px 0 12px;
    text-transform: uppercase
}

.expert-image {
    position: relative
}

.expert-image img,
.about-image img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    box-shadow: var(--shadow)
}

.years-card {
    position: absolute;
    left: -35px;
    bottom: 35px;
    background: #fff;
    color: #111;
    padding: 32px;
    width: 250px;
    box-shadow: var(--shadow)
}

.years-card strong {
    font-family: var(--font-title);
    font-size: 5rem;
    line-height: 1;
    color: var(--orange)
}

.years-card span {
    display: block;
    font-family: var(--font-title);
    font-weight: 800;
    text-transform: uppercase
}

.years-card p {
    font-size: .95rem;
    color: #333;
    line-height: 1.55
}

.about {
    background: #fff;
    color: #101010
}

.about-copy p {
    color: #333
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px
}

.tab-btn {
    border: 0;
    background: #111923;
    color: #fff;
    padding: 12px 22px;
    font-family: var(--font-title);
    text-transform: uppercase;
    cursor: pointer
}

.tab-btn.active {
    background: var(--orange);
    color: #111
}

.tab-panel {
    display: none;
    padding: 24px;
    border-left: 5px solid var(--orange);
    background: #f3f3f3;
    line-height: 1.75;
    margin-top: 18px
}

.tab-panel.active {
    display: block
}

.contact {
    background: #101720
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 18px 0;
    color: #dce3ec
}

.contact-list i {
    color: var(--orange);
    width: 22px;
    margin-top: 3px
}

.contact-form {
    background: #fff;
    padding: 34px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d5dae2;
    padding: 15px 16px;
    font: inherit;
    color: #111;
    outline: none
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(246, 164, 0, .18)
}

.form-response {
    color: #111;
    font-weight: 700;
    min-height: 22px
}

.site-footer {
    background: #07090d;
    color: #c7ced9;
    padding: 70px 0 0;
    border-top: 1px solid var(--line)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr .75fr;
    gap: 42px
}

.footer-brand img {
    width: 170px;
    margin-bottom: 24px
}

.footer-brand h5 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: #fff;
    line-height: 1.2
}

.site-footer h6 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.site-footer li {
    margin: 12px 0
}

.site-footer a:hover {
    color: var(--orange)
}

.socials {
    display: flex;
    gap: 12px
}

.socials a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: #fff;
    background: #111923;
    transition: .3s
}

.socials a:hover {
    background: var(--orange);
    color: #111
}

.privacy {
    display: inline-block;
    margin-top: 24px;
    color: #fff
}

.copy {
    text-align: center;
    padding: 22px;
    margin-top: 52px;
    border-top: 1px solid var(--line);
    font-size: .9rem
}

.whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
    animation: pulse 2s infinite
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .55)
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0)
    }
}

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

.reveal.from-left {
    transform: translateX(-70px)
}

.reveal.from-right {
    transform: translateX(70px)
}

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0)
}

@media(max-width:980px) {
    .menu-toggle {
        display: grid;
        place-items: center
    }

    .main-nav {
        position: absolute;
        top: 86px;
        left: 0;
        width: 100%;
        background: #080b10;
        display: none;
        flex-direction: column;
        padding: 24px 6%;
        gap: 18px
    }

    .main-nav.open {
        display: flex
    }

    .hero-grid,
    .expert-grid,
    .about-grid,
    .contact-grid,
    .services-layout {
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding: 90px 0 20px
    }

    .hero-worker img {
        margin: auto;
        max-height: 52vh
    }

    .service-card {
        grid-template-columns: 1fr
    }

    .service-img {
        height: 250px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .years-card {
        left: 20px
    }

    .expert-image img,
    .about-image img {
        height: 420px
    }
}

@media(max-width:620px) {
    .nav-wrap {
        height: 76px
    }

    .main-nav {
        top: 76px
    }

    .brand img {
        width: 132px
    }

    .hero h1 {
        font-size: 3.15rem
    }

    .section {
        padding: 78px 0
    }

    .service-content {
        padding: 28px 22px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .contact-form {
        padding: 24px
    }

    .years-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: -60px;
        width: 90%
    }
}
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #050505;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.62) 42%,
            rgba(0,0,0,.35) 100%
        );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 760px;
    color: #ffffff;
    padding-top: 120px;
    padding-bottom: 90px;
}

.hero-content .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #d5a642;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.02;
    font-weight: 800;
}

.hero-content p {
    max-width: 620px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 26px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.btn-primary {
    background: #d5a642;
    color: #111111;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.45);
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero {
        min-height: 92vh;
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: 42px;
    }
}