/* ========================================================================
   FW360 Agency — styles.css
   Dark, gradient-rich, glassmorphic. Mobile-first.
   ======================================================================== */

:root {
    --bg: #07071a;
    --bg-2: #0d0d24;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text: #f1f5fb;
    --text-dim: #a5acc4;
    --text-mute: #6f7693;

    --indigo: #6366f1;
    --purple: #a855f7;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --amber: #f59e0b;

    --grad-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 45%, #ec4899 100%);
    --grad-cool: linear-gradient(135deg, #06b6d4 0%, #6366f1 60%, #8b5cf6 100%);
    --grad-warm: linear-gradient(135deg, #f59e0b 0%, #ec4899 60%, #8b5cf6 100%);
    --grad-text: linear-gradient(110deg, #a78bfa 0%, #ec4899 50%, #f59e0b 100%);

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-lg: 0 30px 80px -30px rgba(99, 102, 241, 0.45);

    --container: 1200px;
    --font-display: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface);
    backdrop-filter: blur(10px);
    margin-bottom: 22px;
}

.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ===================== Animated background ===================== */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top, rgba(99, 102, 241, 0.18), transparent 60%),
        radial-gradient(ellipse at bottom, rgba(236, 72, 153, 0.12), transparent 60%),
        var(--bg);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    animation: float 22s ease-in-out infinite;
}
.blob-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -120px; left: -120px;
}
.blob-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 30%; right: -180px;
    animation-delay: -8s;
}
.blob-3 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    bottom: -160px; left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, -80px) scale(1.1); }
    66%      { transform: translate(-50px, 50px) scale(0.95); }
}

.grid-overlay {
    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: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ===================== Navigation ===================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all .35s ease;
}
.navbar.scrolled {
    background: rgba(7, 7, 26, 0.72);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo { display: inline-flex; align-items: center; }
.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--grad-primary);
    position: relative;
    box-shadow: 0 6px 20px -4px rgba(168, 85, 247, 0.6);
}
.logo-circle::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--bg);
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.logo-accent {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}
.nav-links a {
    font-size: 14.5px;
    color: var(--text-dim);
    font-weight: 500;
    position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--grad-primary);
    transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Buttons ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 100px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.7);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(236, 72, 153, 0.75);
}
.btn-ghost {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: var(--surface-strong);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* ===================== Hero ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    max-width: 1000px;
}

.hero-sub {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--text-dim);
    max-width: 640px;
    margin-bottom: 40px;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 36px;
}
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--text-mute);
}
.trust-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    flex-shrink: 0;
}
.trust-marquee {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.trust-track {
    display: flex;
    gap: 24px;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text-dim);
    font-size: 14px;
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-mute);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.hero-scroll span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--purple));
    margin: 0 auto 8px;
    animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50%      { transform: scaleY(1.2); opacity: 0.5; }
}

/* ===================== Section base ===================== */
.section {
    padding: 120px 0;
    position: relative;
}
.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}
.section-sub {
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ===================== Services ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-card {
    position: relative;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    transition: transform .35s ease, border-color .35s ease, background .35s ease;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
}
.service-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    background: rgba(13, 13, 36, 0.85);
    border-radius: calc(var(--radius-lg) - 1px);
    z-index: -1;
    backdrop-filter: blur(14px);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px; height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--grad-primary);
    color: white;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.6);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}
.service-card ul {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.service-card ul li {
    font-size: 13.5px;
    color: var(--text-mute);
    padding: 5px 0 5px 22px;
    position: relative;
}
.service-card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 13px;
    width: 12px; height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
}

/* ===================== Approach ===================== */
.approach-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}
.approach-copy .section-title { text-align: left; }
.approach-copy .eyebrow { margin-bottom: 18px; }
.approach-copy .section-sub { margin-bottom: 36px; }

.approach-points { display: flex; flex-direction: column; gap: 22px; }
.point {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: border-color .25s, transform .25s;
}
.point:hover { border-color: rgba(168, 85, 247, 0.4); transform: translateX(4px); }
.point-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 36px;
}
.point h4 {
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 4px;
    font-weight: 600;
}
.point p { font-size: 14.5px; color: var(--text-dim); }

/* Orbit visual */
.approach-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}
.orbit {
    position: absolute;
    inset: 0;
}
.orbit-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; height: 140px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    text-align: center;
    color: white;
    font-family: var(--font-display);
    box-shadow: 0 30px 80px -20px rgba(168, 85, 247, 0.65), inset 0 0 60px rgba(255,255,255,0.15);
    z-index: 3;
}
.orbit-core span {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}
.orbit-core small {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.85;
}
.orbit-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.12);
    pointer-events: none;
}
.orbit-ring-1 { width: 60%; height: 60%; animation: spin 30s linear infinite; }
.orbit-ring-2 { width: 80%; height: 80%; animation: spin 45s linear infinite reverse; border-color: rgba(168, 85, 247, 0.18); }
.orbit-ring-3 { width: 100%; height: 100%; animation: spin 60s linear infinite; border-color: rgba(236, 72, 153, 0.15); }
@keyframes spin {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-node {
    position: absolute;
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--surface-strong);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    transition: transform .3s, border-color .3s;
}
.orbit-node:hover {
    transform: scale(1.08);
    border-color: rgba(236, 72, 153, 0.5);
}
.node-1 { top: 0;  left: 50%; transform: translate(-50%, 0); }
.node-2 { top: 50%; right: 0; transform: translate(0, -50%); }
.node-3 { bottom: 0; left: 50%; transform: translate(-50%, 0); }
.node-4 { top: 50%; left: 0;  transform: translate(0, -50%); }
.node-1:hover { transform: translate(-50%, 0) scale(1.08); }
.node-2:hover { transform: translate(0, -50%) scale(1.08); }
.node-3:hover { transform: translate(-50%, 0) scale(1.08); }
.node-4:hover { transform: translate(0, -50%) scale(1.08); }

/* ===================== Process ===================== */
.process-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
}
.process-track::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 4%; right: 4%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--indigo), var(--pink), transparent);
    z-index: 0;
    opacity: 0.4;
}
.process-step {
    position: relative;
    padding: 28px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: transform .3s, border-color .3s;
    z-index: 1;
}
.process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.4);
}
.step-index {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: var(--grad-primary);
    color: white;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px -8px rgba(168, 85, 247, 0.7);
}
.process-step h3 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}
.process-step p {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===================== Work ===================== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.work-card {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform .3s, border-color .3s;
}
.work-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.35);
}
.work-card:hover::before { transform: scaleX(1); }

.work-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    margin-bottom: 20px;
}
.work-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.work-card > p {
    color: var(--text-dim);
    font-size: 14.5px;
    margin-bottom: 24px;
}
.work-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.work-metrics span {
    font-size: 13px;
    color: var(--text-mute);
}
.work-metrics strong {
    font-family: var(--font-display);
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 17px;
    margin-right: 4px;
}

/* ===================== Testimonials ===================== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testi-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    position: relative;
    transition: transform .3s, border-color .3s;
}
.testi-card::before {
    content: "\201C";
    position: absolute;
    top: 12px; right: 24px;
    font-family: var(--font-display);
    font-size: 90px;
    line-height: 1;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.35;
}
.testi-card:hover { transform: translateY(-4px); border-color: rgba(236, 72, 153, 0.3); }
.testi-card blockquote {
    font-size: 16px;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.testi-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: white;
    font-size: 16px;
}
.testi-card figcaption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 2px;
}
.testi-card figcaption span {
    font-size: 13px;
    color: var(--text-mute);
}

/* ===================== Contact ===================== */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(18px);
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: "";
    position: absolute;
    top: -160px; right: -160px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(236,72,153,0.35), transparent 70%);
    pointer-events: none;
}
.contact-card::after {
    content: "";
    position: absolute;
    bottom: -200px; left: -200px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%);
    pointer-events: none;
}
.contact-copy { position: relative; z-index: 1; }
.contact-copy .section-title { text-align: left; }
.contact-copy .section-sub { margin-bottom: 36px; }

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-mute);
    margin-bottom: 4px;
    display: block;
}
.contact-meta a, .contact-meta p {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text);
}
.contact-meta a:hover { color: var(--pink); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 1;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 14px 16px;
    background: rgba(7, 7, 26, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 14.5px;
    transition: border-color .2s, background .2s;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(7, 7, 26, 0.8);
}
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a5acc4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}
.contact-form button {
    margin-top: 8px;
    width: fit-content;
}
.form-note {
    font-size: 13px;
    color: var(--text-mute);
    min-height: 18px;
}
.form-note.success { color: #10b981; }
.form-note.error { color: #ef4444; }

/* ===================== Footer ===================== */
.footer {
    border-top: 1px solid var(--border);
    padding-top: 64px;
    margin-top: 60px;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.04));
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
}
.footer-brand p {
    margin-top: 18px;
    color: var(--text-dim);
    font-size: 14.5px;
    max-width: 340px;
    line-height: 1.65;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.footer-cols h5 {
    font-family: var(--font-display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    color: var(--text);
}
.footer-cols a, .footer-cols p {
    display: block;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 10px;
    transition: color .2s;
}
.footer-cols a:hover { color: var(--text); }
.footer-cols .muted { color: var(--text-mute); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-mute);
    font-family: var(--font-display);
}

/* ===================== Reveal animation ===================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
    transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
    .services-grid, .work-grid, .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-track { grid-template-columns: repeat(2, 1fr); }
    .process-track::before { display: none; }
    .approach-grid { grid-template-columns: 1fr; gap: 56px; }
    .contact-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
    .nav-links {
        position: fixed;
        top: 70px; left: 16px; right: 16px;
        background: rgba(7, 7, 26, 0.92);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .25s, transform .25s;
    }
    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding-top: 110px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
    .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }

    .section { padding: 80px 0; }
    .section-head { margin-bottom: 48px; }

    .services-grid, .work-grid, .testi-grid, .process-track {
        grid-template-columns: 1fr;
    }
    .form-row { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .contact-card { padding: 28px; }
    .service-card, .work-card, .testi-card { padding: 26px; }
    .approach-visual { max-width: 340px; }
}
