/* =========================================================
   1. THEME — change brand colors here only
   ========================================================= */
:root {
    --primary: #0a1f3c;
    --primary-2: #123a66;
    --primary-3: #071428;
    --accent: #f5a524;
    --accent-2: #ffcb6b;
    --cyan: #38bdf8;
    --bg: #ffffff;
    --bg-alt: #f3f6fb;
    --card: #ffffff;
    --text: #1c2733;
    --muted: #5f6f82;
    --border: #e3e9f1;
    --shadow: 0 10px 30px rgba(10, 31, 60, 0.09);
    --shadow-lg: 0 24px 60px rgba(10, 31, 60, 0.2);
    --radius: 20px;
    --header-h: 80px;
    --font-body: "Inter", system-ui, sans-serif;
    --font-head: "Poppins", "Inter", sans-serif;
}
[data-theme="dark"] {
    --bg: #08111f;
    --bg-alt: #0d1a2e;
    --card: #122038;
    --text: #e8eef7;
    --muted: #9fb0c7;
    --border: #1d2f4d;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    transition:
        background 0.3s,
        color 0.3s;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}
.container {
    width: min(1240px, 92%);
    margin-inline: auto;
}
section {
    padding: 110px 0;
    position: relative;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.18;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 700;
}
[data-theme="dark"] .section-title {
    color: #fff;
}
.section-title span {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-sub {
    color: var(--muted);
    max-width: 660px;
}
.section-head {
    margin-bottom: 56px;
}
.section-head.center {
    text-align: center;
}
.section-head.center .section-sub {
    margin-inline: auto;
}
.section-head.center .eyebrow::after {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.alt {
    background: var(--bg-alt);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.5),
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 0.7s;
    z-index: -1;
}
.btn:hover::before {
    transform: translateX(120%);
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1b1300;
    box-shadow: 0 10px 24px rgba(245, 165, 36, 0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(245, 165, 36, 0.5);
}
.btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    backdrop-filter: blur(6px);
}
.btn-ghost:hover {
    background: #fff;
    color: var(--primary);
}
.btn-dark {
    background: var(--primary);
    color: #fff;
}
.btn-dark:hover {
    background: var(--primary-2);
    transform: translateY(-3px);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal.d1 {
    transition-delay: 0.1s;
}
.reveal.d2 {
    transition-delay: 0.2s;
}
.reveal.d3 {
    transition-delay: 0.3s;
}
.reveal.d4 {
    transition-delay: 0.4s;
}

/* preloader + progress */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--primary-3);
    z-index: 3000;
    display: grid;
    place-items: center;
    transition:
        opacity 0.6s,
        visibility 0.6s;
}
.preloader.hide {
    opacity: 0;
    visibility: hidden;
}
.loader-mark {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #1b1300;
    animation: pulse 1.1s ease-in-out infinite;
}
@keyframes pulse {
    50% {
        transform: scale(1.18) rotate(8deg);
        box-shadow: 0 0 0 22px rgba(245, 165, 36, 0);
    }
    0% {
        box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.5);
    }
}
#scrollBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    z-index: 2500;
}

/* =========================================================
   2. TOPBAR + HEADER
   ========================================================= */
.topbar {
    background: var(--primary-3);
    color: #b9cbe3;
    font-size: 0.84rem;
    padding: 10px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar a:hover {
    color: var(--accent);
}
.topbar .left,
.topbar .right {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
header.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header-h);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}
header.site-header.scrolled {
    box-shadow: var(--shadow);
    border-color: var(--border);
}
.nav-wrap {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
}
[data-theme="dark"] .logo {
    color: #fff;
}
.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    color: #1b1300;
    font-size: 1.15rem;
    box-shadow: 0 8px 18px rgba(245, 165, 36, 0.4);
    transition: 0.4s;
}
.logo:hover .logo-mark {
    transform: rotate(-10deg) scale(1.08);
}
.logo small {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: -4px;
}
.menu {
    display: flex;
    align-items: center;
    gap: 2px;
}
.menu > li {
    position: relative;
}
.menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 11px;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    transition: 0.25s;
    position: relative;
}
.menu > li > a::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s;
    border-radius: 2px;
}
.menu > li > a:hover,
.menu > li > a.active {
    color: var(--accent);
}
.menu > li > a:hover::after,
.menu > li > a.active::after {
    transform: scaleX(1);
}
.caret {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: 0.25s;
}
.menu > li:hover > a .caret {
    transform: rotate(-135deg) translateY(-2px);
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: 0.28s;
}
.menu > li:hover > .dropdown,
.menu > li:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.dropdown li {
    position: relative;
}
.dropdown a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: 0.2s;
}
.dropdown a:hover {
    background: var(--bg-alt);
    color: var(--accent);
    padding-left: 19px;
}
.dropdown .sub {
    position: absolute;
    left: 100%;
    top: -10px;
    min-width: 230px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(14px);
    transition: 0.28s;
}
.dropdown li:hover > .sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.dropdown li.has-sub > a::after {
    content: "›";
    font-size: 1.15rem;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-alt);
    transition: 0.3s;
    font-size: 1.05rem;
}
.icon-btn:hover {
    background: var(--accent);
    color: #1b1300;
    transform: rotate(18deg);
}
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-alt);
    position: relative;
}
.burger span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}
.burger span:nth-child(1) {
    top: 14px;
}
.burger span:nth-child(2) {
    top: 21px;
}
.burger span:nth-child(3) {
    top: 28px;
}
.burger.open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* =========================================================
   3. HERO (slider + particles + animated elevator)
   ========================================================= */
.hero {
    padding: 0;
    height: min(92vh, 800px);
    min-height: 620px;
    overflow: hidden;
    color: #fff;
    background: var(--primary-3);
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1.2s ease,
        visibility 1.2s;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}
.slide-bg {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-2);
    transform: scale(1.15);
    transition: transform 9s ease-out;
}
.slide.active .slide-bg {
    transform: scale(1);
}
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(7, 20, 40, 0.94) 0%,
        rgba(7, 20, 40, 0.78) 42%,
        rgba(7, 20, 40, 0.35) 100%
    );
}
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(56, 189, 248, 0.18),
            transparent 45%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(245, 165, 36, 0.16),
            transparent 40%
        );
}
#particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
.slide-content {
    max-width: 700px;
}
.slide-content > * {
    opacity: 0;
    transform: translateY(36px);
    transition: 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.slide.active .slide-content > * {
    opacity: 1;
    transform: none;
}
.slide.active .slide-content > *:nth-child(2) {
    transition-delay: 0.2s;
}
.slide.active .slide-content > *:nth-child(3) {
    transition-delay: 0.4s;
}
.slide.active .slide-content > *:nth-child(4) {
    transition-delay: 0.6s;
}
.slide h1 {
    font-family: var(--font-head);
    font-size: clamp(2.3rem, 5.4vw, 4.3rem);
    line-height: 1.08;
    margin-bottom: 20px;
    font-weight: 700;
}
.slide h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.slide p {
    font-size: 1.1rem;
    color: #cbdcf1;
    margin-bottom: 34px;
    max-width: 560px;
}
.btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-side {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lift-widget {
    position: relative;
    width: 250px;
    height: 420px;
}
.shaft {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.03)
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.shaft::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.35) 0 8px,
        transparent 8px 20px
    );
    transform: translateX(-50%);
    opacity: 0.5;
}
.cab {
    position: absolute;
    left: 50%;
    width: 96px;
    height: 120px;
    margin-left: -48px;
    border-radius: 14px;
    background: linear-gradient(160deg, #fff, #cfd9e6);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.45),
        0 0 0 4px rgba(245, 165, 36, 0.5);
    bottom: 14px;
    animation: ride 11s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    overflow: hidden;
}
.cab::before,
.cab::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    width: calc(50% - 14px);
    background: linear-gradient(180deg, #8aa0bb, #5f7a99);
    transition: 0.6s;
    animation: doors 11s infinite;
}
.cab::before {
    left: 12px;
    transform-origin: left;
}
.cab::after {
    right: 12px;
    transform-origin: right;
}
@keyframes ride {
    0%,
    6% {
        bottom: 14px;
    }
    44%,
    56% {
        bottom: calc(100% - 134px);
    }
    94%,
    100% {
        bottom: 14px;
    }
}
@keyframes doors {
    0%,
    3% {
        width: calc(50% - 14px);
    }
    5%,
    8% {
        width: 6px;
    }
    10%,
    40% {
        width: calc(50% - 14px);
    }
    46%,
    52% {
        width: 6px;
    }
    54%,
    90% {
        width: calc(50% - 14px);
    }
    95%,
    97% {
        width: 6px;
    }
    99%,
    100% {
        width: calc(50% - 14px);
    }
}
.floor-display {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: #06101f;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-family: "Poppins", monospace;
    font-weight: 700;
    font-size: 1.6rem;
    min-width: 84px;
    text-align: center;
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(245, 165, 36, 0.5);
    z-index: 4;
}
.float-card {
    position: absolute;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floaty 5s ease-in-out infinite;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.float-card b {
    display: block;
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--accent);
    line-height: 1.1;
}
.float-card.c1 {
    left: -70px;
    top: 60px;
}
.float-card.c2 {
    right: -60px;
    bottom: 50px;
    animation-delay: -2.5s;
}
@keyframes floaty {
    50% {
        transform: translateY(-14px);
    }
}
.hero-arrows {
    position: absolute;
    z-index: 6;
    right: 4%;
    bottom: 44px;
    display: flex;
    gap: 10px;
}
.hero-arrows button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}
.hero-arrows button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #1b1300;
}
.hero-dots {
    position: absolute;
    z-index: 6;
    left: 4%;
    bottom: 56px;
    display: flex;
    gap: 10px;
}
.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: 0.4s;
}
.hero-dots button.active {
    background: var(--accent);
    width: 40px;
    border-radius: 8px;
}
.hero-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    z-index: 7;
    width: 0;
}
.scroll-hint {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
}
.scroll-hint::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--accent);
    animation: wheel 1.6s infinite;
}
@keyframes wheel {
    60% {
        transform: translateY(14px);
        opacity: 0;
    }
}

/* ticker */
.ticker {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #1b1300;
    overflow: hidden;
    padding: 16px 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: rotate(0);
}
.ticker .tr {
    display: flex;
    gap: 46px;
    width: max-content;
    animation: scroll 28s linear infinite;
}
.ticker span::before {
    content: "✦";
    margin-right: 46px;
    opacity: 0.6;
}
@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   4. ABOUT
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
}
.about-media {
    position: relative;
    padding: 0 40px 40px 0;
}
.about-media .img-main {
    height: 480px;
    border-radius: var(--radius);
    background: #123a66
        url("")
        Top/cover;
    box-shadow: var(--shadow-lg);
}
.about-media .img-sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    height: 210px;
    border-radius: var(--radius);
    border: 8px solid var(--bg);
    background: #123a66
        url("https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=600&q=70")
        center/cover;
    box-shadow: var(--shadow-lg);
}
.about-media .badge {
    position: absolute;
    left: -18px;
    top: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1b1300;
    border-radius: var(--radius);
    padding: 22px 26px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: floaty 6s ease-in-out infinite;
}
.about-media .badge b {
    display: block;
    font-family: var(--font-head);
    font-size: 2.6rem;
    line-height: 1;
}
.about-text p {
    color: var(--muted);
    margin-bottom: 16px;
}
.bars {
    display: grid;
    gap: 18px;
    margin: 26px 0 34px;
}
.bar-top {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 7px;
}
.bar {
    height: 8px;
    border-radius: 8px;
    background: var(--bg-alt);
    overflow: hidden;
    border: 1px solid var(--border);
}
.bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* =========================================================
   5. PRODUCTS (filter + 3D tilt)
   ========================================================= */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}
.filters button {
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    background: var(--card);
    border: 1.5px solid var(--border);
    transition: 0.3s;
}
.filters button:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.filters button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(10, 31, 60, 0.3);
}
[data-theme="dark"] .filters button.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #1b1300;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.item {
    transition:
        opacity 0.4s,
        transform 0.4s;
}
.item.hide {
    display: none;
}
.tilt {
    transform-style: preserve-3d;
    transition:
        transform 0.25s ease,
        box-shadow 0.4s;
    will-change: transform;
}
.p-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.p-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        135deg,
        var(--accent),
        transparent 50%,
        var(--cyan)
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
    z-index: 3;
}
.p-card:hover::before {
    opacity: 1;
}
.p-card:hover {
    box-shadow: var(--shadow-lg);
}
.p-img {
    height: 230px;
    overflow: hidden;
    position: relative;
}
.p-img div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-2);
    transition: transform 0.9s;
}
.p-card:hover .p-img div {
    transform: scale(1.14) rotate(1deg);
}
.p-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 60, 0.7), transparent 60%);
}
.tag {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.p-icon {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: -28px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 22px rgba(245, 165, 36, 0.45);
    transform: translateZ(40px);
}
.p-body {
    padding: 44px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.p-body h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}
[data-theme="dark"] .p-body h3 {
    color: #fff;
}
.p-body p {
    color: var(--muted);
    font-size: 0.93rem;
    margin-bottom: 18px;
    flex: 1;
}
.more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.more span {
    transition: transform 0.3s;
}
.p-card:hover .more span {
    transform: translateX(8px);
}

/* =========================================================
   6. PROCESS TIMELINE
   ========================================================= */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0 10px,
        transparent 10px 20px
    );
    opacity: 0.6;
}
.step {
    text-align: center;
    position: relative;
}
.step .num {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    font-size: 2rem;
    box-shadow:
        var(--shadow),
        0 0 0 8px rgba(245, 165, 36, 0.12);
    position: relative;
    z-index: 1;
    transition: 0.4s;
}
.step:hover .num {
    background: var(--accent);
    transform: scale(1.1) rotate(8deg);
}
.step small {
    display: block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    margin-bottom: 4px;
}
.step h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 6px;
}
[data-theme="dark"] .step h3 {
    color: #fff;
}
.step p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* =========================================================
   7. STATS (parallax)
   ========================================================= */
.stats {
    color: #fff;
    padding: 90px 0;
    background:
        linear-gradient(120deg, rgba(7, 20, 40, 0.95), rgba(18, 58, 102, 0.9)),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=60")
            center/cover fixed #0a1f3c;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -120px;
    top: -160px;
    background: radial-gradient(
        circle,
        rgba(245, 165, 36, 0.28),
        transparent 70%
    );
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
}
.stat {
    padding: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.stat:last-child {
    border: 0;
}
.stat .si {
    font-size: 1.8rem;
    margin-bottom: 6px;
}
.stat b {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    color: var(--accent);
    line-height: 1.1;
}
.stat span {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #cfe0f5;
}

/* =========================================================
   8. WHY CHOOSE US
   ========================================================= */
.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.why-list {
    display: grid;
    gap: 20px;
}
.why-item {
    display: flex;
    gap: 20px;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.why-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(var(--accent), var(--accent-2));
    transform: scaleY(0);
    transition: 0.4s;
    transform-origin: top;
}
.why-item:hover::before {
    transform: scaleY(1);
}
.why-item:hover {
    transform: translateX(10px);
}
.why-ico {
    flex: none;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}
.why-item h3 {
    font-family: var(--font-head);
    font-size: 1.12rem;
    color: var(--primary);
    margin-bottom: 4px;
}
[data-theme="dark"] .why-item h3 {
    color: #fff;
}
.why-item p {
    color: var(--muted);
    font-size: 0.92rem;
}
.why-img {
    height: 560px;
    border-radius: var(--radius);
    background: #123a66
        url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1000&q=70")
        center/cover;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.why-img::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: calc(var(--radius) - 6px);
}
.why-img .play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    margin: -42px;
    border-radius: 50%;
    background: var(--accent);
    color: #1b1300;
    font-size: 1.6rem;
    display: grid;
    place-items: center;
    animation: ring 2s infinite;
}
@keyframes ring {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 165, 36, 0.6);
    }
    100% {
        box-shadow: 0 0 0 30px rgba(245, 165, 36, 0);
    }
}

/* =========================================================
   9. MANAGEMENT
   ========================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}
.t-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px 22px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.t-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    transition: 0.4s;
}
.t-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.t-card:hover::before {
    height: 120px;
}
.avatar {
    position: relative;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1b1300;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.9rem;
    border: 5px solid var(--card);
    box-shadow: var(--shadow);
}
.t-card h3 {
    position: relative;
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--primary);
}
[data-theme="dark"] .t-card h3 {
    color: #fff;
}
.t-card span.role {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 2px 0 10px;
}
.t-card p {
    position: relative;
    color: var(--muted);
    font-size: 0.88rem;
}
.t-soc {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.t-soc a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: 0.3s;
}
.t-soc a:hover {
    background: var(--accent);
    color: #1b1300;
    transform: translateY(-4px);
}

/* spare parts */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.part {
    display: flex;
    gap: 18px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 24px;
    transition: 0.35s;
}
.part:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.part i {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(245, 165, 36, 0.15);
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 1.5rem;
    transition: 0.4s;
}
.part:hover i {
    background: var(--accent);
    transform: rotate(-8deg) scale(1.08);
}
.part b {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--primary);
}
[data-theme="dark"] .part b {
    color: #fff;
}
.part small {
    color: var(--muted);
}

/* projects / gallery */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gal {
    height: 250px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-2);
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: 0.5s;
}
.gal.wide {
    grid-column: span 2;
}
.gal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 20, 40, 0.85), transparent 60%);
    opacity: 0;
    transition: 0.4s;
}
.gal:hover::after {
    opacity: 1;
}
.gal .cap {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 16px;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.4s;
}
.gal .cap b {
    display: block;
    font-family: var(--font-head);
}
.gal .cap small {
    color: var(--accent-2);
}
.gal:hover .cap {
    transform: none;
    opacity: 1;
}
.gal:hover {
    transform: scale(1.02);
}

/* testimonials */
.tm-wrap {
    max-width: 860px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
}
.tm-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tm {
    flex: 0 0 100%;
    padding: 46px 50px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    position: relative;
}
.tm::before {
    content: "“";
    position: absolute;
    left: 30px;
    top: 6px;
    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.25;
}
.tm p {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 22px;
}
.stars {
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 12px;
}
.tm b {
    font-family: var(--font-head);
    display: block;
}
.tm small {
    color: var(--muted);
}
.tm-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}
.tm-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    transition: 0.4s;
}
.tm-nav button.active {
    background: var(--accent);
    width: 36px;
    border-radius: 8px;
}

/* clients */
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );
}
.track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: scroll 32s linear infinite;
}
.marquee:hover .track {
    animation-play-state: paused;
}
.client {
    width: 200px;
    height: 100px;
    flex: none;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    transition: 0.3s;
    filter: grayscale(1);
}
.client:hover {
    filter: none;
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* FAQ */
.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}
.faq {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}
.faq.open {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.faq button {
    width: 100%;
    text-align: left;
    padding: 22px 26px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq button::after {
    content: "+";
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    transition: 0.4s;
}
.faq.open button::after {
    content: "−";
    background: var(--accent);
    color: #1b1300;
    transform: rotate(180deg);
}
.faq .ans {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.faq .ans p {
    padding: 0 26px 22px;
    color: var(--muted);
}

/* CTA + contact */
.cta {
    background: linear-gradient(120deg, var(--primary), var(--primary-2));
    color: #fff;
    padding: 70px 0;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    left: -150px;
    top: -250px;
    background: radial-gradient(
        circle,
        rgba(245, 165, 36, 0.3),
        transparent 70%
    );
}
.cta .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.cta h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    max-width: 660px;
    line-height: 1.25;
}
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
}
.info-cards {
    display: grid;
    gap: 18px;
}
.info {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: 0.3s;
}
.info:hover {
    transform: translateX(8px);
    border-color: var(--accent);
}
.info i {
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 1.4rem;
}
.info b {
    display: block;
    font-family: var(--font-head);
}
.info span {
    color: var(--muted);
    font-size: 0.93rem;
}
.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: var(--shadow-lg);
}
.form-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}
[data-theme="dark"] .form-card h3 {
    color: #fff;
}
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* footer */
footer {
    background: var(--primary-3);
    color: #b0c3dc;
    padding-top: 84px;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    right: -160px;
    top: -200px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.14),
        transparent 70%
    );
}
.foot-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1.3fr;
    gap: 44px;
    padding-bottom: 58px;
}
footer h4 {
    font-family: var(--font-head);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}
footer p,
footer li {
    font-size: 0.92rem;
}
footer li {
    margin-bottom: 10px;
}
footer li a {
    transition: 0.25s;
    display: inline-block;
}
footer li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}
.socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    transition: 0.3s;
    font-size: 0.85rem;
    font-weight: 700;
}
.socials a:hover {
    background: var(--accent);
    color: #1b1300;
    transform: translateY(-5px);
}
.contact-li {
    display: flex;
    gap: 12px;
}
.map {
    margin-top: 14px;
    border-radius: 14px;
    height: 130px;
    border: 0;
    width: 100%;
    filter: grayscale(0.5) contrast(1.1);
}
.copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    font-size: 0.86rem;
    position: relative;
}
.copy .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* floating buttons */

/* Back to Top Button */
#toTop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--accent);
    color: #1b1300;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 8px 22px rgba(245, 165, 36, 0.4);
    z-index: 800;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Show on scroll */
#toTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover */
#toTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(245, 165, 36, 0.5);
}

/* Mobile */
@media (max-width: 576px) {
    #toTop {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}

#wa,
#wc {
    position: fixed;
    right: 24px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 800;
    color: #fff;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

/* WhatsApp */
#wa {
    bottom: 90px;
    background: #25d366;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
    animation: whatsapp-ring 2.4s infinite;
}

/* WeChat */
#wc {
    bottom: 156px;
    background: #07c160;
    box-shadow: 0 8px 22px rgba(7, 193, 96, 0.4);
    animation: wechat-ring 2.4s infinite;
}

/* Center both SVG icons */
#wa .chaty-icon,
#wa .chaty-svg,
#wc .chaty-icon,
#wc .chaty-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 0;
}

/* Consistent icon sizing */
#wa svg,
#wc svg {
    display: block;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
}

/* Hover */
#wa:hover,
#wc:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

/* WhatsApp pulse */
@keyframes whatsapp-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WeChat pulse */
@keyframes wechat-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(7, 193, 96, 0.5);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(7, 193, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(7, 193, 96, 0);
    }
}

/* Mobile adjustment */
@media (max-width: 576px) {
    #wa,
    #wc {
        right: 16px;
        width: 48px;
        height: 48px;
    }

    #wa {
        bottom: 82px;
    }

    #wc {
        bottom: 142px;
    }

    #wa svg,
    #wc svg {
        width: 36px;
        height: 36px;
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    #wa,
    #wc {
        animation: none;
        transition: none;
    }
}

/* modal + lightbox */
.modal,
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(4, 12, 26, 0.78);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.modal.open,
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    width: min(540px, 100%);
    background: var(--card);
    border-radius: 24px;
    padding: 38px;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px) scale(0.96);
    transition: 0.35s;
    position: relative;
    max-height: 92vh;
    overflow: auto;
}
.modal.open .modal-box {
    transform: none;
}
.modal-box h3 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 6px;
}
[data-theme="dark"] .modal-box h3 {
    color: #fff;
}
.modal-box > div > p {
    color: var(--muted);
    margin-bottom: 22px;
    font-size: 0.93rem;
}
.close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    font-size: 1.2rem;
    z-index: 3;
}
.close:hover {
    background: var(--accent);
    color: #1b1300;
}
.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 84vh;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: 0.35s;
}
.lightbox.open img {
    transform: none;
}
.lightbox .lc {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-weight: 600;
}
.lightbox .close {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.field {
    margin-bottom: 14px;
}
.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    transition: 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.2);
}
.field .err {
    color: #e5484d;
    font-size: 0.78rem;
    margin-top: 4px;
    display: none;
}
.field.invalid input {
    border-color: #e5484d;
}
.field.invalid .err {
    display: block;
}
.form-ok {
    display: none;
    text-align: center;
    padding: 24px 0;
}
.form-ok .tick {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #1fb26b;
    color: #fff;
    font-size: 2.2rem;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    animation: pop 0.5s;
}
@keyframes pop {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.15);
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-side {
        display: none;
    }
    .nav-actions .btn {
        display: none;
    }
}
@media (max-width: 1024px) {
    .grid-3,
    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stat:nth-child(3) {
        border: 0;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }
    .steps::before {
        display: none;
    }
}
@media (max-width: 900px) {
    .burger {
        display: block;
    }
    nav.main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        padding: 20px 5% 40px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s;
        z-index: 850;
    }
    nav.main-nav.open {
        transform: none;
    }
    .menu {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0 !important;
    }
    .menu > li > a {
        padding: 16px 6px;
        border-bottom: 1px solid var(--border);
        justify-content: space-between;
        border-radius: 0;
    }
    .menu > li > a::after {
        display: none;
    }
    .dropdown,
    .dropdown .sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 0 0 14px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s;
    }
    li.open > .dropdown,
    li.open > .sub {
        max-height: 900px;
    }
    .topbar .right {
        display: none;
    }
    .hero-arrows,
    .scroll-hint {
        display: none;
    }
    .slide::before {
        background: linear-gradient(
            180deg,
            rgba(7, 20, 40, 0.88),
            rgba(7, 20, 40, 0.72)
        );
    }
}
@media (max-width: 640px) {
    section {
        padding: 76px 0;
    }
    .grid-3,
    .parts-grid,
    .team-grid,
    .row2 {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat {
        border: 0;
    }
    .foot-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        grid-template-columns: 1fr;
    }
    .gal-grid {
        grid-template-columns: 1fr;
    }
    .gal.wide {
        grid-column: auto;
    }
    .about-media .img-main {
        height: 340px;
    }
    .about-media {
        padding: 0 14px 40px 0;
    }
    .about-media .badge {
        left: 6px;
    }
    .why-img {
        height: 340px;
    }
    .tm {
        padding: 38px 22px;
    }
    .form-card {
        padding: 26px;
    }
    .hero-dots {
        left: 50%;
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
