/* =========================
   DESIGN SYSTEM
========================= */

:root {
    --bg: #070c14;
    --surface: #0d1522;
    --surface-light: #121d2d;

    --text: #f5f7fa;
    --text-muted: #a5b0c0;

    --primary: #3fa9f5;
    --secondary: #55d6d0;

    --border: rgba(255, 255, 255, 0.08);

    --max-width: 1120px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;

    background: var(--bg);
    color: var(--text);

    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    max-width: 100%;
    display: block;
}


/* =========================
   GLOBAL
========================= */

.container {
    width: min(var(--max-width), 90%);
    margin: 0 auto;
}


.section {
    padding: 110px 0;
}


.section-dark {
    background: var(--surface);
}


.section-muted {
    background: #0a1422;
}


.eyebrow {
    color: var(--secondary);

    text-transform: uppercase;

    letter-spacing: 0.14em;

    font-size: 0.78rem;
    font-weight: 700;

    margin-bottom: 18px;
}


h1,
h2,
h3 {
    line-height: 1.15;
}


h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);

    letter-spacing: -0.05em;
}


h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);

    letter-spacing: -0.035em;
}


h3 {
    font-size: 1.25rem;
}


p {
    color: var(--text-muted);
}


.gradient-text {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(7, 12, 20, 0.88);

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid var(--border);
}


.navbar {
    min-height: 76px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


.logo {
    display: inline-flex;

    align-items: center;
}


.logo img {
    width: 180px;
    height: auto;
}


.nav-links {
    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 0.9rem;

    color: #c2ccda;
}


.nav-links a {
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.nav-links a:hover {
    color: #ffffff;
}


.nav-cta {
    padding: 10px 18px;

    border:
        1px solid rgba(63, 169, 245, 0.3);

    border-radius: var(--radius-sm);
}


.nav-cta:hover {
    border-color:
        rgba(85, 214, 208, 0.65);
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    background: transparent;

    border: 0;

    cursor: pointer;
}


.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--text);

    border-radius: 999px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}


.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================
   HERO
========================= */

.hero {
    min-height:
        calc(100vh - 76px);

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;
}


.hero-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8),
            transparent 90%
        );

    pointer-events: none;
}


.hero::before {
    content: "";

    position: absolute;

    width: 750px;
    height: 750px;

    right: -220px;
    top: -220px;

    background:
        radial-gradient(
            circle,
            rgba(63, 169, 245, 0.14),
            rgba(85, 214, 208, 0.05) 40%,
            transparent 70%
        );

    pointer-events: none;
}


.hero-content {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    gap: 55px;

    align-items: center;

    padding-top: 90px;
    padding-bottom: 90px;
}


.hero-text {
    max-width: 720px;
}


.hero-description {
    max-width: 650px;

    margin-top: 28px;

    font-size: 1.1rem;

    line-height: 1.8;
}


.hero-actions {
    margin-top: 38px;

    display: flex;

    gap: 16px;

    flex-wrap: wrap;
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    display: flex;

    justify-content: center;
    align-items: center;
}


.hero-orbit {
    position: relative;

    width: min(520px, 100%);

    aspect-ratio: 1;

    display: flex;

    align-items: center;
    justify-content: center;
}


.hero-orbit::before {
    content: "";

    position: absolute;

    width: 82%;
    height: 82%;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: 50%;

    border:
        1px solid
        rgba(63, 169, 245, 0.12);
}


.hero-orbit::after {
    content: "";

    position: absolute;

    width: 58%;
    height: 58%;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: 50%;

    border:
        1px solid
        rgba(85, 214, 208, 0.08);
}


.hero-logo {
    width: 95%;

    position: relative;

    z-index: 3;

    filter:
        drop-shadow(
            0 0 22px
            rgba(63, 169, 245, 0.13)
        );

    animation:
        logoFloat
        6s
        ease-in-out
        infinite;
}


/* =========================
   ORBIT NODES
========================= */

.orbit-node {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--node-color);

    box-shadow:
        0 0 10px var(--node-color);

    z-index: 3;

    opacity: 0.4;

    animation:
        nodeActivate 8s linear infinite;
}


.node-1 {
    --node-color: #55d6d0;

    top: 9%;
    left: 50%;

    translate: -50% -50%;

    /* Signal reaches top at 6 seconds */
    animation-delay: 6s;
}


.node-2 {
    --node-color: #3fa9f5;

    top: 50%;
    right: 9%;

    translate: 50% -50%;

    /* Starting position */
    animation-delay: 0s;
}


.node-3 {
    --node-color: #758cff;

    bottom: 9%;
    left: 50%;

    translate: -50% 50%;

    /* Signal reaches bottom at 2 seconds */
    animation-delay: 2s;
}


.node-4 {
    --node-color: #43e0bc;

    top: 50%;
    left: 9%;

    translate: -50% -50%;

    /* Signal reaches left at 4 seconds */
    animation-delay: 4s;
}

.signal-orbit {
    position: absolute;

    width: 82%;
    height: 82%;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    pointer-events: none;

    animation:
        signalRotate 8s linear infinite;
}


.orbit-signal {
    position: absolute;

    width: 9px;
    height: 9px;

    top: 50%;
    right: -4.5px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #3fa9f5;

    box-shadow:
        0 0 6px currentColor,
        0 0 14px currentColor,
        0 0 28px currentColor;

    color: #3fa9f5;

    animation:
        signalColor 8s linear infinite;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes logoFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-8px);
    }
}


@keyframes nodePulse {

    0%,
    100% {
        opacity: 0.4;

        transform:
            scale(0.8);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.3);
    }
}

@keyframes signalRotate {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}

@keyframes nodeActivate {

    0%,
    100% {
        opacity: 1;

        transform: scale(1.8);

        box-shadow:
            0 0 8px var(--node-color),
            0 0 20px var(--node-color),
            0 0 36px var(--node-color);
    }

    8%,
    92% {
        opacity: 0.4;

        transform: scale(0.9);

        box-shadow:
            0 0 8px var(--node-color);
    }
}

@keyframes signalColor {

    /* RIGHT */
    0%,
    100% {
        color: #3fa9f5;
        background: #3fa9f5;
    }

    /* BOTTOM */
    25% {
        color: #758cff;
        background: #758cff;
    }

    /* LEFT */
    50% {
        color: #43e0bc;
        background: #43e0bc;
    }

    /* TOP */
    75% {
        color: #55d6d0;
        background: #55d6d0;
    }
}


/* =========================
   BUTTONS
========================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        14px 24px;

    border-radius:
        var(--radius-sm);

    font-weight: 700;

    font-size: 0.92rem;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.button:hover {
    transform:
        translateY(-2px);
}


.button-primary {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: #06101b;
}


.button-secondary {
    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    color: #ffffff;
}


.button-secondary:hover {
    border-color:
        rgba(255, 255, 255, 0.4);

    background:
        rgba(255, 255, 255, 0.04);
}


/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
    max-width: 720px;

    margin-bottom: 55px;
}


.section-heading > p:last-child {
    margin-top: 20px;

    font-size: 1.05rem;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.service-card {
    min-height: 300px;

    padding: 34px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-md);

    background:
        rgba(255, 255, 255, 0.025);

    display: flex;

    flex-direction: column;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.service-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(85, 214, 208, 0.35);

    background:
        rgba(255, 255, 255, 0.04);
}


.service-number {
    color:
        var(--secondary);

    font-size: 0.8rem;

    font-weight: 700;

    margin-bottom: 55px;
}


.service-card h3 {
    margin-bottom: 16px;
}


.service-card p {
    margin-bottom: 30px;
}


.service-card a {
    margin-top: auto;

    color: #ffffff;

    font-size: 0.9rem;

    font-weight: 700;
}


/* =========================
   WHY OMNEXITY
========================= */

.split-section {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: start;
}


.large-text {
    color: #ffffff;

    font-size: 1.35rem;

    line-height: 1.6;

    margin-bottom: 24px;
}


/* =========================
   PROCESS
========================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}


.process-step {
    padding:
        30px 28px;

    border-left:
        1px solid
        var(--border);
}


.process-step span {
    display: block;

    color:
        var(--secondary);

    font-size: 0.75rem;

    font-weight: 700;

    margin-bottom: 45px;
}


.process-step h3 {
    margin-bottom: 14px;
}


/* =========================
   PROJECTS
========================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.project-card {
    min-height: 250px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 32px;

    border-radius:
        var(--radius-md);

    border:
        1px solid
        var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(63, 169, 245, 0.06),
            rgba(255, 255, 255, 0.015)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.project-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(85, 214, 208, 0.3);
}


.project-category {
    color:
        var(--secondary);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    margin-bottom: 12px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    text-align: center;
}


.contact-content {
    max-width: 800px;
}


.contact-content h2 {
    margin-bottom: 24px;
}


.contact-content >
p:not(.eyebrow) {
    max-width: 600px;

    margin:
        0 auto 35px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    padding:
        60px 0;

    border-top:
        1px solid
        var(--border);

    background:
        #060d17;
}


.footer-content {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    gap: 50px;

    align-items: center;
}


.site-footer .logo img {
    width: 200px;
}


.footer-content >
div:last-child {
    text-align: right;
}


.footer-links {
    display: flex;

    gap: 24px;

    color:
        var(--text-muted);

    font-size: 0.85rem;
}


.site-footer p {
    margin-top: 10px;

    font-size: 0.8rem;
}


/* =========================
   INTERNAL PAGE HERO
========================= */

.page-hero {
    min-height: 580px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--border);
}


.page-hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -250px;
    top: -300px;

    background:
        radial-gradient(
            circle,
            rgba(63, 169, 245, 0.14),
            rgba(85, 214, 208, 0.04) 45%,
            transparent 70%
        );

    pointer-events: none;
}


.page-hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.022) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75),
            transparent
        );

    pointer-events: none;
}


.page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;

    padding-top: 100px;
    padding-bottom: 100px;
}


.page-hero h1 {
    max-width: 900px;
}


.page-hero-description {
    max-width: 720px;

    margin-top: 30px;

    font-size: 1.15rem;
    line-height: 1.8;
}


/* =========================
   SERVICES OVERVIEW
========================= */

.service-overview-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 24px;
}


.service-overview-card {
    min-height: 530px;

    padding: 38px;

    display: flex;
    flex-direction: column;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.service-overview-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(85, 214, 208, 0.32);

    background:
        linear-gradient(
            145deg,
            rgba(63, 169, 245, 0.055),
            rgba(85, 214, 208, 0.018)
        );
}


.service-card-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 65px;
}


.service-card-top .service-number {
    margin: 0;
}


.service-tag {
    padding: 7px 11px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    color: var(--text-muted);

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.service-overview-card h2 {
    font-size:
        clamp(1.65rem, 3vw, 2.4rem);

    margin-bottom: 18px;
}


.service-overview-card > p {
    margin-bottom: 28px;
}


.service-list {
    list-style: none;

    margin-bottom: 38px;
}


.service-list li {
    position: relative;

    padding:
        10px 0
        10px 22px;

    color: var(--text-muted);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.05);
}


.service-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 6px;
    height: 6px;

    transform:
        translateY(-50%);

    border-radius: 50%;

    background:
        var(--secondary);

    box-shadow:
        0 0 8px
        rgba(85, 214, 208, 0.45);
}


.service-link {
    margin-top: auto;

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding-top: 22px;

    border-top:
        1px solid var(--border);

    color: var(--text);

    font-size: 0.9rem;
    font-weight: 700;
}


.service-link span {
    color: var(--secondary);

    font-size: 1.2rem;

    transition:
        transform 0.2s ease;
}


.service-overview-card:hover
.service-link span {
    transform:
        translateX(4px);
}


/* =========================
   SERVICE DETAIL PAGES
========================= */

.service-detail-hero .page-hero-content {
    max-width: 980px;
}


.back-link {
    display: inline-block;

    margin-bottom: 36px;

    color: var(--text-muted);

    font-size: 0.82rem;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.back-link:hover {
    color: var(--secondary);

    transform: translateX(-3px);
}


/* CAPABILITIES */

.capability-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.capability-card {
    min-height: 280px;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        rgba(255, 255, 255, 0.018);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.capability-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(85, 214, 208, 0.3);

    background:
        rgba(63, 169, 245, 0.035);
}


.capability-number {
    display: block;

    margin-bottom: 48px;

    color: var(--secondary);

    font-size: 0.75rem;
    font-weight: 700;
}


.capability-card h3 {
    margin-bottom: 14px;
}


/* PROBLEM CARDS */

.problem-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.problem-card {
    padding: 32px;

    border-top:
        1px solid var(--border);
}


.problem-card > span {
    display: block;

    margin-bottom: 45px;

    color: var(--secondary);

    font-size: 0.72rem;
    font-weight: 700;
}


.problem-card h3 {
    margin-bottom: 14px;
}


/* DELIVERABLES */

.deliverables {
    display: flex;

    flex-direction: column;
}


.deliverable {
    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 24px;

    padding:
        26px 0;

    border-bottom:
        1px solid var(--border);
}


.deliverable:first-child {
    border-top:
        1px solid var(--border);
}


.deliverable > span {
    color: var(--secondary);

    font-size: 0.75rem;
    font-weight: 700;

    padding-top: 4px;
}


.deliverable h3 {
    margin-bottom: 8px;
}

.inline-service-link {
    margin-top: 32px;
}


/* =========================
   ABOUT
========================= */

.about-paragraph {
    margin-top: 20px;
}


.values-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.value-card {
    min-height: 250px;

    padding: 32px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    background:
        rgba(255, 255, 255, 0.02);
}


.value-card > span {
    display: block;

    margin-bottom: 50px;

    color: var(--secondary);

    font-size: 0.75rem;
    font-weight: 700;
}


.value-card h3 {
    margin-bottom: 14px;
}


.about-service-list {
    display: flex;

    flex-direction: column;
}


.about-service-list a {
    display: grid;

    grid-template-columns:
        45px 1fr auto;

    align-items: center;

    gap: 20px;

    padding:
        24px 0;

    border-bottom:
        1px solid var(--border);

    font-weight: 600;

    transition:
        color 0.2s ease;
}


.about-service-list a:first-child {
    border-top:
        1px solid var(--border);
}


.about-service-list span {
    color: var(--secondary);

    font-size: 0.72rem;
}


.about-service-list strong {
    color: var(--secondary);

    transition:
        transform 0.2s ease;
}


.about-service-list a:hover {
    color: var(--secondary);
}


.about-service-list a:hover strong {
    transform:
        translateX(4px);
}


/* =========================
   PROJECT SHOWCASE
========================= */

.project-showcase-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 24px;
}


.project-showcase-card {
    min-height: 440px;

    padding: 36px;

    display: flex;

    flex-direction: column;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(63, 169, 245, 0.04),
            rgba(255, 255, 255, 0.015)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.project-showcase-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(85, 214, 208, 0.3);
}


.project-showcase-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 70px;
}


.project-type {
    padding:
        7px 11px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    color: var(--text-muted);

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.07em;
}


.project-number {
    color: var(--secondary);

    font-size: 0.75rem;

    font-weight: 700;
}


.project-showcase-card h2 {
    font-size:
        clamp(1.5rem, 3vw, 2.3rem);

    margin-bottom: 18px;
}


.project-tech {
    margin-top: auto;

    padding-top: 30px;

    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}


.project-tech span {
    padding:
        6px 10px;

    border:
        1px solid var(--border);

    border-radius: 999px;

    color: var(--text-muted);

    font-size: 0.7rem;
}


/* =========================
   CONTACT FORM
========================= */

.contact-layout {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 100px;

    align-items: start;
}


.contact-intro h2 {
    margin-bottom: 28px;
}


.contact-intro > p:last-of-type {
    margin-top: 20px;
}


.contact-service-list {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 38px;
}


.contact-service-list span {
    padding:
        10px 0;

    border-bottom:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 0.85rem;
}


.contact-form {
    padding: 38px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        rgba(255, 255, 255, 0.025);
}


.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.form-group {
    margin-bottom: 22px;
}


.form-group label {
    display: block;

    margin-bottom: 9px;

    color: var(--text);

    font-size: 0.82rem;

    font-weight: 600;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding:
        13px 14px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-sm);

    background:
        var(--bg);

    color: var(--text);

    font: inherit;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group textarea {
    resize: vertical;

    min-height: 170px;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color:
        var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(63, 169, 245, 0.08);
}


.form-submit {
    border: 0;

    cursor: pointer;
}


.form-note {
    margin-top: 18px;

    font-size: 0.72rem;

    line-height: 1.6;
}

/* =========================
   TURNSTILE / FORM STATUS
========================= */

.turnstile-wrapper {
    margin-bottom: 24px;
}


.form-submit:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


.form-status {
    min-height: 24px;

    margin-top: 18px;

    font-size: 0.82rem;

    font-weight: 500;
}


.form-status.success {
    color: var(--secondary);
}


.form-status.error {
    color: #ff8080;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .menu-toggle {
        display: block;

        position: relative;

        z-index: 1100;
    }


    .navbar {
        position: relative;
    }


    .nav-links {
        position: absolute;

        top:
            calc(100% + 1px);

        left: 0;

        width: 100%;

        padding: 24px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 8px;

        background:
            rgba(7, 12, 20, 0.97);

        border:
            1px solid var(--border);

        border-top: 0;

        border-radius:
            0 0
            var(--radius-md)
            var(--radius-md);

        backdrop-filter:
            blur(18px);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }


    .nav-links.open {
        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }


    .nav-links a {
        width: 100%;

        padding:
            13px 12px;

        border-radius:
            var(--radius-sm);
    }


    .nav-links a:hover {
        background:
            rgba(255, 255, 255, 0.04);
    }


    .nav-cta {
        margin-top: 8px;

        text-align: center;
    }


    .hero {
        min-height: auto;
    }


    .hero-content {
        grid-template-columns: 1fr;
    }


    .hero-visual {
        margin-top: 25px;
    }


    .hero-orbit {
        width:
            min(430px, 90vw);
    }


    .split-section {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-content {
        grid-template-columns: 1fr;

        text-align: left;
    }


    .footer-content >
    div:last-child {
        text-align: left;
    }

    .service-overview-grid {
    grid-template-columns: 1fr;
}

    .page-hero {
        min-height: 480px;
    }

    .capability-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .project-showcase-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }


    .contact-layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .section {
        padding:
            80px 0;
    }


    .logo img {
        width: 145px;
    }


    .hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }


    h1 {
        font-size: 3rem;
    }


    .hero-description {
        font-size: 1rem;
    }


    .hero-orbit {
        width:
            min(340px, 90vw);
    }


    .hero-logo {
        width: 100%;
    }


    .services-grid,
    .projects-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: auto;
    }


    .service-number {
        margin-bottom: 30px;
    }


    .process-step {
        border-left: none;

        border-top:
            1px solid
            var(--border);
    }


    .footer-links {
        flex-wrap: wrap;
    }


    .page-hero {
        min-height: auto;
    }

    .page-hero-content {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .page-hero-description {
        font-size: 1rem;
    }

    .service-overview-card {
        min-height: auto;

        padding: 28px;
    }

    .service-card-top {
        margin-bottom: 40px;
    }

    .capability-grid,
    .problem-grid {
        grid-template-columns: 1fr;
    }


    .capability-card {
        min-height: auto;
    }


    .capability-number {
        margin-bottom: 32px;
    }


    .deliverable {
        grid-template-columns:
            42px 1fr;

        gap: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }


    .contact-form {
        padding: 26px;
    }


    .project-showcase-card {
        min-height: auto;

        padding: 28px;
    }


    .project-showcase-top {
        margin-bottom: 45px;
    }

    
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    .hero-logo,
    .orbit-node,
    .signal-orbit {
        animation: none;
    }
}