﻿/* ==========================================================
   Engineering VR — Smart Use Solutions
   Dark architectural theme (standalone, no Bootstrap needed)
   ========================================================== */
:root {
    --bg: #08080b;
    --bg-2: #0d0d12;
    --surface: #131319;
    --surface-2: #1a1a22;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #eceaf3;
    --muted: #9a97a9;
    --accent: #b39ae0; /* brand lavender */
    --accent-deep: #8c6fa6; /* original brand purple */
    --warm: #d9b88a; /* brass, picks up the wood tones in the renders */
    --grad: linear-gradient(135deg, #c3abee 0%, #8c6fa6 55%, #d9b88a 120%);
    --radius: 20px;
    --radius-lg: 28px;
    --wrap: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: 'Outfit', 'Cairo', system-ui, sans-serif;
    --font-ar: 'Cairo', 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body.evr {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html[lang="ar"] body.evr {
    font-family: var(--font-ar);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    margin: 0;
    color: #fff;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.02em;
}

html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 {
    letter-spacing: 0;
    line-height: 1.35;
    font-weight: 700;
}

p {
    margin: 0;
    color: var(--muted);
}

figure {
    margin: 0;
}

::selection {
    background: rgba(179, 154, 224, .35);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #2a2833;
    border-radius: 99px;
    border: 2px solid var(--bg);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.evr-wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 24px;
}

.evr-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.evr-progress {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 1001;
    height: 2px;
    width: var(--evr-progress, 0%);
    background: var(--grad);
}

/* ---------- Header ---------- */
.evr-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
}

    .evr-header.is-solid {
        background: rgba(8, 8, 11, .78);
        backdrop-filter: blur(16px) saturate(1.2);
        -webkit-backdrop-filter: blur(16px) saturate(1.2);
        border-bottom-color: var(--line);
    }

.evr-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 76px;
}

.evr-brand img {
    height: 46px;
    width: auto;
}

.evr-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
}

    .evr-nav a {
        position: relative;
        padding: 8px 14px;
        border-radius: 99px;
        font-size: 15px;
        color: rgba(236, 234, 243, .78);
        transition: color .25s ease, background .25s ease;
    }

        .evr-nav a:hover {
            color: #fff;
            background: rgba(255, 255, 255, .06);
        }

        .evr-nav a.is-active {
            color: #fff;
        }

            .evr-nav a.is-active::after {
                content: "";
                position: absolute;
                inset-inline: 14px;
                bottom: 2px;
                height: 2px;
                border-radius: 2px;
                background: var(--grad);
            }

    .evr-nav .evr-nav__cta {
        margin-inline-start: 8px;
        color: #120f18;
        background: #fff;
        font-weight: 600;
    }

        .evr-nav .evr-nav__cta:hover {
            background: var(--accent);
            color: #120f18;
        }

.evr-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.evr-lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-2);
    color: var(--text);
    font: 500 14px var(--font-ar);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
}

    .evr-lang:hover {
        border-color: var(--accent);
        background: rgba(179, 154, 224, .1);
    }

.evr-burger {
    display: none;
    width: 44px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-2);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

    .evr-burger span {
        width: 18px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .3s var(--ease);
    }

body.menu-open .evr-burger span:first-child {
    transform: translateY(4px) rotate(45deg);
}

body.menu-open .evr-burger span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.evr-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 140px 0 40px;
    overflow: hidden;
    isolation: isolate;
}

.evr-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.04);
}

.evr-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 8, 11, .55) 0%, rgba(8, 8, 11, .15) 35%, rgba(8, 8, 11, .7) 75%, var(--bg) 100%), linear-gradient(90deg, rgba(8, 8, 11, .85) 0%, rgba(8, 8, 11, .2) 65%);
}

html[dir="rtl"] .evr-hero__shade {
    background: linear-gradient(180deg, rgba(8, 8, 11, .55) 0%, rgba(8, 8, 11, .15) 35%, rgba(8, 8, 11, .7) 75%, var(--bg) 100%), linear-gradient(270deg, rgba(8, 8, 11, .85) 0%, rgba(8, 8, 11, .2) 65%);
}

.evr-hero__content {
    max-width: var(--wrap);
}

.evr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 22px;
}

    .evr-eyebrow::before {
        content: "";
        width: 32px;
        height: 1px;
        background: currentColor;
    }

html[lang="ar"] .evr-eyebrow {
    letter-spacing: 0;
    font-size: 15px;
}

.evr-hero__title {
    font-size: clamp(3rem, 8.5vw, 7.2rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.045em;
    max-width: 12ch;
    background: linear-gradient(180deg, #fff 30%, #cfc4e6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[lang="ar"] .evr-hero__title {
    font-size: clamp(2.6rem, 7vw, 5.6rem);
    line-height: 1.2;
    letter-spacing: 0;
    max-width: 16ch;
}

.evr-hero__sub {
    max-width: 560px;
    margin-top: 24px;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: rgba(236, 234, 243, .78);
    font-weight: 300;
}

html[lang="ar"] .evr-hero__sub {
    font-weight: 400;
}

.evr-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.evr-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 72px;
    padding-top: 22px;
    background: linear-gradient(var(--line-2), var(--line-2)) center top / calc(100% - 48px) 1px no-repeat;
}

    .evr-hero__chips span {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding-inline-end: 36px;
        color: rgba(236, 234, 243, .85);
        font-size: 15px;
    }

    .evr-hero__chips b {
        font-weight: 500;
    }

    .evr-hero__chips i {
        color: var(--accent);
        font-size: 14px;
    }

.evr-anim {
    opacity: 0;
    transform: translateY(18px);
    animation: evr-up .9s var(--ease) forwards;
}

    .evr-anim:nth-child(2) {
        animation-delay: .1s;
    }

    .evr-anim:nth-child(3) {
        animation-delay: .2s;
    }

    .evr-anim:nth-child(4) {
        animation-delay: .3s;
    }

.evr-hero__chips.evr-anim {
    animation-delay: .45s;
}

@keyframes evr-up {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Buttons ---------- */
.evr-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 26px;
    border-radius: 99px;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    transition: transform .3s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
}

    .evr-btn i {
        font-size: 12px;
        transition: transform .3s var(--ease);
    }

html[dir="rtl"] .evr-btn i {
    transform: scaleX(-1);
}

.evr-btn--primary {
    background: #fff;
    color: #120f18;
}

    .evr-btn--primary:hover {
        background: var(--accent);
        transform: translateY(-2px);
    }

        .evr-btn--primary:hover i {
            transform: translateX(3px);
        }

html[dir="rtl"] .evr-btn--primary:hover i {
    transform: scaleX(-1) translateX(3px);
}

.evr-btn--ghost {
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(8px);
}

    .evr-btn--ghost:hover {
        border-color: #fff;
        transform: translateY(-2px);
    }

/* ---------- Sections ---------- */
.evr-section {
    position: relative;
    padding: clamp(80px, 11vw, 140px) 0;
}

.evr-section--tint {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}

.evr-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

    .evr-kicker::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--warm);
    }

html[lang="ar"] .evr-kicker {
    letter-spacing: 0;
    font-size: 15px;
}

.evr-h2 {
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    max-width: 18ch;
}

.evr-lead {
    margin-top: 24px;
    font-size: 1.12rem;
    color: rgba(236, 234, 243, .82);
}

.evr-split__text p + p {
    margin-top: 16px;
}

.evr-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(48px, 6vw, 72px);
}

    .evr-head .evr-h2 {
        margin-inline: auto;
    }

.evr-head__sub {
    margin-top: 18px;
    font-size: 1.08rem;
}

/* Split layout */
.evr-split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.evr-split--reverse .evr-split__media {
    order: -1;
}

.evr-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    background: var(--surface);
}

    .evr-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s var(--ease);
    }

    .evr-media:hover img {
        transform: scale(1.04);
    }

.evr-media--tall {
    aspect-ratio: 4 / 4.4;
}

.evr-media--figure {
    aspect-ratio: 1 / 1;
    overflow: visible;
    border: 0;
    background: radial-gradient(closest-side, rgba(179, 154, 224, .28), rgba(179, 154, 224, .06) 60%, transparent 72%);
}

    .evr-media--figure::before {
        content: "";
        position: absolute;
        inset: 8%;
        border-radius: 50%;
        border: 1px dashed rgba(179, 154, 224, .25);
        animation: evr-spin 40s linear infinite;
    }

    .evr-media--figure img {
        object-fit: contain;
        position: relative;
        filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
    }

    .evr-media--figure:hover img {
        transform: translateY(-6px);
    }

@keyframes evr-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Icon chip */
.evr-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(179, 154, 224, .18), rgba(179, 154, 224, .06));
    border: 1px solid rgba(179, 154, 224, .25);
    color: var(--accent);
    font-size: 19px;
}

/* Steps (Our System) */
.evr-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: s;
}

.evr-step {
    position: relative;
    padding: 36px 30px 34px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color .3s ease, transform .4s var(--ease), background .3s ease;
}

    .evr-step:hover {
        border-color: rgba(179, 154, 224, .4);
        transform: translateY(-4px);
        background: var(--surface-2);
    }

.evr-step__num {
    position: absolute;
    inset-block-start: 26px;
    inset-inline-end: 28px;
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}

.evr-step h3, .evr-card h3 {
    font-size: 1.3rem;
    margin: 26px 0 10px;
}

/* Cards (Why VR / Applications) */
.evr-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.evr-card {
    position: relative;
    padding: 34px 30px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line);
    transition: border-color .3s ease, transform .4s var(--ease);
}

    .evr-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(179, 154, 224, .6), transparent);
        opacity: 0;
        transition: opacity .35s ease;
    }

    .evr-card:hover {
        border-color: var(--line-2);
        transform: translateY(-4px);
    }

        .evr-card:hover::before {
            opacity: 1;
        }

.evr-card--row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

    .evr-card--row h3 {
        margin: 4px 0 8px;
        font-size: 1.2rem;
    }

/* Stat-like benefits */
.evr-grid3--lined {
    gap: 0;
    border-block: 1px solid var(--line);
}

.evr-stat {
    padding: 44px 36px;
}

    .evr-stat + .evr-stat {
        border-inline-start: 1px solid var(--line);
    }

    .evr-stat i {
        font-size: 26px;
        background: var(--grad);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .evr-stat h3 {
        font-size: 1.45rem;
        margin: 22px 0 10px;
    }

/* Checklist */
.evr-checks {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}

    .evr-checks li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        color: rgba(236, 234, 243, .86);
        font-size: 15px;
        line-height: 1.55;
    }

    .evr-checks i {
        flex: none;
        display: grid;
        place-items: center;
        width: 22px;
        height: 22px;
        margin-top: 1px;
        border-radius: 50%;
        font-size: 10px;
        color: #120f18;
        background: var(--accent);
    }

/* Mini cards (Studio) */
.evr-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

    .evr-mini > div {
        padding: 22px;
        border-radius: 16px;
        background: var(--surface);
        border: 1px solid var(--line);
    }

    .evr-mini i {
        color: var(--warm);
        font-size: 18px;
    }

    .evr-mini h4 {
        font-size: 1.05rem;
        margin: 14px 0 6px;
    }

    .evr-mini p {
        font-size: 14px;
        line-height: 1.6;
    }

/* ---------- Portfolio bento ---------- */
.evr-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 16px;
    grid-auto-flow: dense;
}

.evr-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    isolation: isolate;
}

.evr-tile--big {
    grid-column: span 2;
    grid-row: span 2;
}

.evr-tile--wide {
    grid-column: span 2;
}

.evr-tile--tall {
    grid-row: span 2;
}

.evr-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease), filter .5s ease;
}

.evr-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(8, 8, 11, .88) 100%);
    transition: opacity .4s ease;
}

.evr-tile__cap {
    position: absolute;
    inset-inline: 20px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

    .evr-tile__cap h4 {
        font-size: 1.1rem;
        font-weight: 500;
    }

.evr-tile--big .evr-tile__cap h4 {
    font-size: 1.5rem;
}

.evr-tile__cap small {
    display: block;
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--warm);
    margin-bottom: 4px;
}

.evr-tile__cap i {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s ease, transform .35s var(--ease);
}

.evr-tile:hover img {
    transform: scale(1.06);
}

.evr-tile:hover .evr-tile__cap i {
    opacity: 1;
    transform: none;
}

/* ---------- Contact ---------- */
.evr-contact {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: radial-gradient(600px circle at 0% 0%, rgba(179, 154, 224, .14), transparent 60%), var(--surface);
}

.evr-contact__info {
    padding: clamp(32px, 5vw, 64px);
}

.evr-contact__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 40px;
}

.evr-contact__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    transition: border-color .3s ease, background .3s ease;
    min-width: 0;
}

a.evr-contact__item:hover {
    border-color: rgba(179, 154, 224, .45);
    background: rgba(179, 154, 224, .06);
}

.evr-contact__item .evr-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border-radius: 12px;
}

.evr-contact__item > span:last-child {
    min-width: 0;
}

.evr-contact__item small {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.evr-contact__item b {
    font-weight: 500;
    color: #fff;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.evr-contact__media {
    position: relative;
    min-height: 360px;
}

    .evr-contact__media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .evr-contact__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--surface) 0%, transparent 30%);
    }

html[dir="rtl"] .evr-contact__media::after {
    background: linear-gradient(270deg, var(--surface) 0%, transparent 30%);
}

/* ---------- Footer ---------- */
.evr-footer {
    border-top: 1px solid var(--line);
    background: #060608;
    padding-top: 72px;
}

.evr-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .9fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}

.evr-footer__brand img {
    height: 56px;
    width: auto;
}

.evr-footer__brand p {
    margin-top: 20px;
    max-width: 34ch;
    font-size: 15px;
}

.evr-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

    .evr-social a {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--line-2);
        color: var(--text);
        font-size: 14px;
        transition: background .25s ease, color .25s ease, border-color .25s ease;
    }

        .evr-social a:hover {
            background: #fff;
            color: #120f18;
            border-color: #fff;
        }

.evr-footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .evr-footer__col h4 {
        font-size: 13px;
        font-weight: 500;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--warm);
        margin-bottom: 8px;
    }

html[lang="ar"] .evr-footer__col h4 {
    letter-spacing: 0;
    font-size: 15px;
}

.evr-footer__col a, .evr-footer__col span {
    color: var(--muted);
    font-size: 15px;
    transition: color .25s ease;
}

    .evr-footer__col a:hover {
        color: #fff;
    }

.evr-footer__media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
}

    .evr-footer__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.evr-footer__bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 22px;
    border-top: 1px solid var(--line);
}

    .evr-footer__bar p {
        font-size: 14px;
    }

/* ---------- Lightbox ---------- */
.evr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 5, 7, .92);
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}

    .evr-lightbox[hidden] {
        display: none;
    }

    .evr-lightbox img {
        max-width: min(1400px, 100%);
        max-height: 88vh;
        border-radius: 14px;
        box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
    }

    .evr-lightbox button {
        position: absolute;
        inset-block-start: 20px;
        inset-inline-end: 20px;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid var(--line-2);
        background: rgba(255, 255, 255, .06);
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }

body.evr-locked {
    overflow: hidden;
}

/* ---------- Reveal ---------- */
.evr-js .evr-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms);
}

    .evr-js .evr-reveal.is-in {
        opacity: 1;
        transform: none;
    }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .evr-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .evr-bento {
        grid-template-columns: repeat(3, 1fr);
    }

    .evr-tile--big {
        grid-column: span 2;
    }
}

@media (max-width: 991.98px) {
    .evr-burger {
        display: inline-flex;
    }

    .evr-nav {
        position: fixed;
        inset: 76px 0 auto 0;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 16px 24px 24px;
        background: rgba(8, 8, 11, .97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .3s ease, transform .3s var(--ease), visibility 0s linear .3s;
    }

    body.menu-open .evr-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }

    body.menu-open .evr-header {
        background: rgba(8, 8, 11, .97);
    }

    .evr-nav a {
        padding: 14px 8px;
        border-radius: 10px;
        font-size: 17px;
    }

        .evr-nav a.is-active::after {
            display: none;
        }

    .evr-nav .evr-nav__cta {
        margin: 10px 0 0;
        text-align: center;
    }

    .evr-header__actions {
        margin-inline-start: auto;
    }

    .evr-split, .evr-contact {
        grid-template-columns: 1fr;
    }

    .evr-split--reverse .evr-split__media {
        order: 0;
    }

    .evr-split__media {
        max-width: 620px;
        width: 100%;
        margin-inline: auto;
    }

    .evr-steps, .evr-grid3 {
        grid-template-columns: 1fr;
    }

    .evr-stat + .evr-stat {
        border-inline-start: 0;
        border-top: 1px solid var(--line);
    }

    .evr-contact__media {
        min-height: 280px;
        order: -1;
    }

        .evr-contact__media::after {
            background: linear-gradient(0deg, var(--surface) 0%, transparent 40%) !important;
        }
}

@media (max-width: 640px) {
    .evr-wrap {
        padding-inline: 16px;
    }

    .evr-hero__chips {
        background-size: calc(100% - 32px) 1px;
    }

    .evr-brand img {
        height: 38px;
    }

    .evr-lang span {
        display: none;
    }

    .evr-lang {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .evr-hero {
        padding-bottom: 28px;
    }

    .evr-hero__actions .evr-btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .evr-hero__chips {
        margin-top: 48px;
        gap: 12px;
    }

        .evr-hero__chips span {
            padding-inline-end: 18px;
            font-size: 14px;
        }

    .evr-checks, .evr-mini, .evr-contact__list {
        grid-template-columns: 1fr;
    }

    .evr-bento {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
        gap: 10px;
    }

    .evr-tile--big, .evr-tile--wide {
        grid-column: span 2;
    }

    .evr-tile__cap {
        inset-inline: 14px;
        bottom: 12px;
    }

        .evr-tile__cap h4 {
            font-size: .98rem;
        }

        .evr-tile__cap i {
            display: none;
        }

    .evr-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .evr-footer__media {
        display: none;
    }

    .evr-stat {
        padding: 32px 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .evr-anim {
        opacity: 1;
        transform: none;
    }
}
