
:root {
    --bg: #0b0b0b;
    --surface: #141414;
    --surface-light: #1c1c1c;
    --accent: #c5ff38;
    --text: #f5f5f5;
    --muted: #a1a1a1;
    --border: #292929;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

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

button {
    font: inherit;
    cursor: pointer;
}

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

[hidden] {
    display: none !important;
}

::selection {
    background: var(--accent);
    color: #0b0b0b;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

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

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 11, 11, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--accent);
    margin-left: 4px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}

.navigation a {
    transition: color 0.2s;
}

.navigation a:hover {
    color: var(--accent);
}

.nav-button {
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.menu-toggle {
    display: none;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    padding: 130px 0 80px;
    background:
        radial-gradient(
            ellipse at 85% 15%,
            rgba(197, 255, 56, 0.09),
            transparent 45%
        ),
        var(--bg);
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 30px;
}

.status-dot {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(197,255,56,.6);
}

.hero h1 {
    max-width: 1150px;
    font-size: clamp(48px, 7.8vw, 112px);
    line-height: 1.02;
    letter-spacing: -0.065em;
    font-weight: 800;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 620px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 19px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 26px;
    min-height: 54px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s, background .2s;
}

.button:hover {
    transform: translateY(-3px);
}

.primary {
    background: var(--accent);
    color: #0b0b0b;
}

.primary:hover {
    background: #d7ff75;
}

.secondary {
    border: 1px solid #454545;
    color: var(--text);
}

.secondary:hover {
    background: var(--surface-light);
}

/* STATS */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 850px;
    gap: 30px;
    padding-top: 35px;
    margin-top: 75px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat strong {
    font-size: 43px;
    letter-spacing: -2px;
    line-height: 1.2;
}

.stat:nth-child(2) strong {
    color: var(--accent);
}

.stat span {
    font-size: 13px;
    color: var(--muted);
}

/* SECTIONS */

.section {
    padding: 110px 0;
    border-top: 1px solid var(--border);
}

.section-label {
    color: var(--accent);
    letter-spacing: 2.5px;
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 23px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}

.section-heading h2,
.contact-box h2 {
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.section-heading h2 span,
.contact-box h2 span {
    color: var(--accent);
}

.section-heading p {
    max-width: 380px;
    color: var(--muted);
}

/* PROJECT FILTERS */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}

.filter {
    background: transparent;
    color: var(--muted);
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    transition: all .2s;
}

.filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #0b0b0b;
    font-weight: 700;
}

/* PROJECT CARDS */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, border-color .25s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #717171;
}

.project-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--surface-light);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .45s;
}

.project-card:hover img {
    transform: scale(1.035);
}

.project-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    padding: 30px;
    color: var(--accent);
    background: linear-gradient(145deg, #20291a, #111);
    font-size: clamp(25px, 4vw, 48px);
    font-weight: 800;
    text-align: center;
    letter-spacing: -2px;
}

.project-info {
    padding: 25px;
}

.project-category {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-info h3 {
    font-size: 26px;
    margin: 8px 0;
    letter-spacing: -1px;
}

.project-info p {
    color: var(--muted);
    font-size: 14px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 10px 0;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.project-link:hover {
    text-decoration: underline;
}

.portfolio-note {
    margin-top: 26px;
    color: var(--muted);
    font-size: 12px;
}

/* SERVICES */

.services {
    background: #101010;
}

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

.service-card {
    background: var(--surface);
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .2s;
}

.service-card:hover {
    border-color: var(--accent);
}

.service-number {
    display: block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 35px;
}

.service-card h3 {
    font-size: 23px;
    letter-spacing: -0.6px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
}

/* PROCESS */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.process-card {
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.process-card > span {
    display: block;
    color: var(--accent);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 24px;
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 14px;
    color: var(--muted);
}

/* CONTACT */

.contact-box {
    padding: clamp(30px, 7vw, 85px);
    border-radius: 24px;
    border: 1px solid #343b28;
    background:
        radial-gradient(
            ellipse at top right,
            rgba(197,255,56,.1),
            transparent 55%
        ),
        var(--surface);
}

.contact-box > p {
    color: var(--muted);
    max-width: 560px;
    margin-top: 24px;
    margin-bottom: 28px;
}

#contact-note {
    font-size: 13px;
}

/* FOOTER */

.footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer p,
.footer-inner > a:last-child {
    color: var(--muted);
    font-size: 13px;
}

/* TABLET */

@media (max-width: 900px) {

    .navigation {
        gap: 17px;
    }

    .hero {
        padding-top: 95px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .service-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 700px) {

    html {
        scroll-padding-top: 85px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        min-height: 68px;
    }

    .logo {
        font-size: 22px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 8px;
    }

    .menu-toggle span {
        width: 21px;
        height: 2px;
        background: var(--text);
    }

    .navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .navigation.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .navigation a {
        padding: 12px;
    }

    .hero {
        padding: 65px 0 45px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 1.6px;
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: clamp(39px, 10.4vw, 65px);
        letter-spacing: -0.055em;
    }

    .hero-description {
        font-size: 16px;
        margin-top: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        margin-top: 25px;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .stats {
        gap: 14px;
        margin-top: 45px;
        padding-top: 25px;
    }

    .stat strong {
        font-size: 30px;
    }

    .stat span {
        font-size: 11px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 39px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .filters {
        gap: 8px;
    }

    .filter {
        font-size: 12px;
        padding: 9px 15px;
    }

    .project-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-info {
        padding: 22px;
    }

    .service-card {
        padding: 26px;
    }

    .service-number {
        margin-bottom: 20px;
    }

    .process-grid {
        gap: 20px;
    }

    .process-card h3 {
        font-size: 18px;
    }

    .contact-box h2 {
        font-size: 36px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
