/* =====================================================
   GTS KYBER - LUXURY MONOCHROME + KINETIC INTRO SYSTEM
   Dark Mode (#050505 - Stars) & Light Mode (#FFFFFF - Silk Waves)
   Full Responsive (Desktop, Tablet, Mobile) + RTL/LTR
===================================================== */

:root {
    --bg: #050505;
    --bg-elevated: #0a0a0c;
    --surface: #101014;
    --surface-hover: #16161c;
    --glass: rgba(10, 10, 12, 0.78);

    --text: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --btn-bg: #ffffff;
    --btn-text: #050505;
    --btn-hover: #e4e4e7;

    --shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

html[data-theme="light"] {
    --bg: #ffffff;
    --bg-elevated: #f8f8fa;
    --surface: #ffffff;
    --surface-hover: #f4f4f5;
    --glass: rgba(255, 255, 255, 0.85);

    --text: #09090b;
    --text-secondary: #3f3f46;
    --text-muted: #71717a;

    --border: rgba(9, 9, 11, 0.09);
    --border-strong: rgba(9, 9, 11, 0.18);

    --btn-bg: #09090b;
    --btn-text: #ffffff;
    --btn-hover: #27272a;

    --shadow: 0 20px 50px rgba(9, 9, 11, 0.07);
}

/* =========================
   RESET & BASE
========================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

section[id] {
    scroll-margin-top: 96px;
}

body {
    font-family: "Plus Jakarta Sans", "Cairo", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

body.arabic {
    font-family: "Cairo", "Plus Jakarta Sans", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

img, svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

/* Scroll Progress Line */
.scroll-progress {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    height: 2px;
    width: 0%;
    background: var(--text);
    z-index: 2000;
}

/* =========================
   NAVBAR & LOGO
========================= */
.navbar {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.brand-logo:hover {
    opacity: 0.85;
}

.brand-logo svg {
    height: 54px;
    width: auto;
    color: var(--text);
}

.footer .brand-logo svg {
    height: 66px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    position: relative;
    color: var(--text-muted);
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: -6px;
    width: 0;
    height: 1.5px;
    background: var(--text);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon-button {
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border-strong);
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-icon-button:hover {
    background: var(--surface-hover);
    border-color: var(--text);
}

.theme-button {
    width: 40px;
    padding: 0;
}

.language-wrapper {
    position: relative;
}

.language-menu {
    position: absolute;
    top: 48px;
    inset-inline-end: 0;
    width: 132px;
    display: none;
    padding: 6px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.language-menu.open {
    display: block;
}

.language-menu button {
    width: 100%;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    border-radius: 8px;
    text-align: start;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.language-menu button:hover {
    background: var(--surface-hover);
}

.nav-project-button {
    height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--btn-bg);
    color: var(--btn-text);
    font-size: 13.5px;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-project-button:hover {
    background: var(--btn-hover);
    transform: translateY(-1px);
}

.menu-button {
    width: 40px;
    height: 40px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border-strong);
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.menu-button span {
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: 0.25s ease;
}

.menu-button.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.menu-button.open span:nth-child(2) {
    opacity: 0;
}
.menu-button.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================
   PURE KINETIC INTRO STAGE (100vh)
========================= */
.kinetic-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 580px;
    background: var(--bg);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

#kineticCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.kinetic-center {
    position: relative;
    z-index: 2;
    width: min(460px, 78vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    will-change: transform, opacity;
}

.kinetic-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    pointer-events: none;
}

.kinetic-orbit-ring.ring-outer {
    inset: 0;
    border-style: dashed;
    animation: orbitSpin 42s linear infinite;
}

.kinetic-orbit-ring.ring-inner {
    inset: 14%;
    border-color: var(--border);
    animation: orbitSpin 28s linear infinite reverse;
}

html[data-theme="light"] .kinetic-orbit-ring.ring-outer {
    border-color: rgba(184, 137, 61, 0.34);
}

html[data-theme="light"] .kinetic-orbit-ring.ring-inner {
    border-color: rgba(184, 137, 61, 0.22);
}

@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

.kinetic-emblem {
    position: relative;
    z-index: 2;
    width: 68%;
    color: var(--text);
    animation: emblemReveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.kinetic-emblem svg {
    width: 100%;
    height: auto;
    color: var(--text);
}

@keyframes emblemReveal {
    0% {
        opacity: 0;
        transform: scale(0.92);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 28px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.scroll-cue-line {
    width: 1.5px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--text), transparent);
    animation: cueDrop 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes cueDrop {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0%); }
    100% { transform: translateY(100%); }
}

/* =========================
   BUTTONS & HEADINGS
========================= */
.primary-button,
.secondary-button {
    min-height: 52px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: 1px solid var(--btn-bg);
}

.primary-button:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.secondary-button:hover {
    background: var(--surface-hover);
    border-color: var(--text);
    transform: translateY(-2px);
}

html[dir="ltr"] .dir-arrow {
    transform: scaleX(-1);
    display: inline-block;
}

.section-kicker {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.section-header {
    max-width: 720px;
    margin-bottom: 56px;
}

.section-header.center {
    margin-inline: auto;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: clamp(15px, 1.5vw, 17px);
}

/* =========================
   OVERVIEW SECTION
========================= */
.hero {
    position: relative;
    padding: 128px 0 110px;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 780px;
}

.hero-content h1 {
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

.hero-content h1 .muted-line {
    display: block;
    color: var(--text-muted);
}

.hero-lead {
    color: var(--text-secondary);
    font-size: clamp(16px, 1.4vw, 18px);
    max-width: 640px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.hero-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* =========================
   SCROLLYTELLING (DESKTOP & MOBILE)
========================= */
.scrolly-section {
    padding: 110px 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.scrolly-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.scrolly-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.scrolly-step {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    opacity: 0.45;
    transition: opacity 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    cursor: pointer;
}

.scrolly-step.active {
    opacity: 1;
    border-color: var(--text);
}

.step-index {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.scrolly-step h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.scrolly-step p {
    color: var(--text-secondary);
    font-size: 15px;
}

.scrolly-stage-col {
    position: sticky;
    top: 106px;
}

.scrolly-stage {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stage-header {
    height: 44px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.stage-body {
    min-height: 330px;
    padding: 32px;
    display: grid;
    place-items: center;
}

.stage-panel {
    display: none;
    width: 100%;
    animation: stageEnter 0.4s ease;
}

.stage-panel.active {
    display: block;
}

@keyframes stageEnter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.wireframe-box {
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 20px;
    background: var(--bg-elevated);
}

.wf-line {
    height: 10px;
    border-radius: 4px;
    background: var(--border-strong);
    margin-bottom: 12px;
}

.wf-line.w-40 { width: 40%; }
.wf-line.w-70 { width: 70%; }

.wf-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.wf-block {
    height: 92px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.code-preview {
    padding: 22px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    font-family: monospace;
    font-size: 13px;
    line-height: 1.85;
    direction: ltr;
    text-align: left;
    color: var(--text-secondary);
}

.code-preview strong {
    color: var(--text);
}

.erp-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.erp-node {
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
}

.erp-node strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.erp-node span {
    font-size: 12.5px;
    color: var(--text-muted);
}

.deploy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deploy-row {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 600;
}

.deploy-status {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.stage-bar-track {
    height: 3px;
    background: var(--bg);
}

.stage-bar-fill {
    height: 100%;
    width: 25%;
    background: var(--text);
    transition: width 0.35s ease;
}

/* =========================
   SERVICES SECTION
========================= */
.services-section {
    padding: 110px 0;
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
    border-color: var(--text);
    transform: translateY(-4px);
}

.service-num {
    font-family: monospace;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: block;
}

.service-card h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 22px;
}

.service-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-specs span {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

/* =========================
   ABOUT SECTION
========================= */
.about-section {
    padding: 110px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.about-copy h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 18px;
}

.about-copy p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 28px;
}

.audience-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.audience-item {
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.audience-item strong {
    display: block;
    font-size: 14.5px;
    margin-bottom: 6px;
}

.audience-item span {
    font-size: 13px;
    color: var(--text-muted);
}

.about-cta-panel {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface);
}

.about-cta-panel h3 {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.about-cta-panel p {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin-bottom: 26px;
}

.cta-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =========================
   WORK / PORTFOLIO PAGE
========================= */
.page-header {
    padding: 156px 0 64px;
    border-bottom: 1px solid var(--border);
}

.page-header-inner {
    max-width: 720px;
}

.page-header h1 {
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

.portfolio-section {
    padding: 72px 0 110px;
}

.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 56px;
}

.work-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.work-preview-pane {
    padding: 32px;
    background: var(--bg-elevated);
    border-inline-end: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-media-frame {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info-pane {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.work-info-pane h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.work-info-pane p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 22px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.work-tags span {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.work-footer-banner {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.work-footer-banner h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin-bottom: 6px;
}

.work-footer-banner p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* =========================
   PROJECT / CONTACT PAGE
========================= */
.project-page {
    padding: 156px 0 110px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: start;
}

.contact-card,
.form-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--surface);
}

.contact-card h2,
.form-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-card > p,
.form-card > p {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin-bottom: 26px;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.channel-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.channel-link:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

.channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.channel-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.channel-info {
    flex: 1;
    min-width: 0;
}

.channel-info strong {
    display: block;
    font-size: 14.5px;
}

.channel-info span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-details-foot {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-details-foot small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.contact-details-foot strong {
    font-size: 13.5px;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.service-option {
    cursor: pointer;
}

.service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.service-option input:checked + span {
    background: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
}

.form-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-group.full {
    grid-column: 1 / -1;
}

.field-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-secondary);
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    font-size: 14.5px;
    transition: border-color 0.2s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--text);
}

.submit-btn {
    width: 100%;
}

.form-status {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* =========================
   ENTERPRISE FOOTER
========================= */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 76px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 310px;
    margin-top: 16px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    display: grid;
    place-items: center;
    color: var(--text);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
    background: var(--btn-bg);
    color: var(--btn-text);
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    padding-top: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================
   RESPONSIVE (TABLET & MOBILE)
========================= */
@media (max-width: 1024px) {
    .scrolly-grid,
    .about-container,
    .work-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .scrolly-stage-col {
        position: sticky;
        top: 86px;
        z-index: 10;
    }

    .stage-body {
        min-height: 240px;
        padding: 20px;
    }

    .work-preview-pane {
        border-inline-end: 0;
        border-bottom: 1px solid var(--border);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        inset-inline-start: 0;
        width: 100%;
        background: var(--surface);
        border-bottom: 1px solid var(--border-strong);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 18px;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-button {
        display: flex;
    }

    .nav-project-button {
        display: none;
    }

    .hero {
        padding: 96px 0 76px;
    }

    .services-grid,
    .audience-list,
    .form-fields,
    .service-options,
    .erp-modules {
        grid-template-columns: 1fr;
    }

    .scrolly-step,
    .service-card,
    .about-cta-panel,
    .work-info-pane,
    .work-preview-pane,
    .contact-card,
    .form-card,
    .work-footer-banner {
        padding: 22px;
    }

    .work-info-pane h2 {
        font-size: 22px;
    }

    .work-footer-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}