/* ═══════════════════════════════════════════════════════════
   NEXABYTE — STYLES.CSS
   Minimal, matte, Nike-inspired dark/light theme
═══════════════════════════════════════════════════════════ */

/* ── THEME VARIABLES ── */
:root {
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.4s var(--ease);
    --radius: 10px;
    --radius-sm: 6px;
    --max-w: 1140px;
}

[data-theme="dark"] {
    --bg: #0b0b0b;
    --bg-alt: #111111;
    --bg-card: #161616;
    --bg-elevated: #1c1c1c;
    --border: #222222;
    --border-hover: #333333;
    --text: #e5e5e5;
    --text-secondary: #888888;
    --text-muted: #555555;
    --text-heading: #ffffff;
    --accent: #e5e5e5;
    --accent-bg: rgba(255,255,255,0.06);
    --accent-border: rgba(255,255,255,0.12);
    --invert: 0;
    --map-filter: grayscale(1) invert(0.92) contrast(0.83) brightness(0.9);
}

[data-theme="light"] {
    --bg: #fafafa;
    --bg-alt: #f2f2f2;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --border: #e5e5e5;
    --border-hover: #cccccc;
    --text: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-heading: #111111;
    --accent: #111111;
    --accent-bg: rgba(0,0,0,0.04);
    --accent-border: rgba(0,0,0,0.08);
    --invert: 1;
    --map-filter: grayscale(0.3) contrast(1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* ── PRELOADER ── */
.preloader {
    position: fixed; inset: 0; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-line {
    width: 48px; height: 1px; background: var(--border);
    margin: 0 auto 16px; position: relative; overflow: hidden;
}
.preloader-line::after {
    content: ''; position: absolute; left: -100%; top: 0;
    width: 100%; height: 100%; background: var(--text-heading);
    animation: preload 1s linear infinite;
}
@keyframes preload { to { left: 100%; } }
.preloader-inner span {
    font-size: 11px; letter-spacing: 4px; font-weight: 600;
    color: var(--text-muted); text-transform: uppercase;
}

/* ── CUSTOM CURSOR ── */
.cursor, .cursor-follower {
    display: none; position: fixed; pointer-events: none; z-index: 9999;
    border-radius: 50%; transition: transform 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: block; width: 8px; height: 8px;
        background: var(--text-heading); transform: translate(-50%, -50%);
    }
    .cursor-follower {
        display: block; width: 36px; height: 36px;
        border: 1px solid var(--border-hover);
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--ease), height 0.3s var(--ease),
                    border-color 0.3s, background 0.3s;
    }
    .cursor-follower.hover {
        width: 56px; height: 56px;
        background: rgba(255,255,255,0.05);
        border-color: var(--text-secondary);
    }
}

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    color: var(--text-heading); font-weight: 700; line-height: 1.15;
}
.label {
    display: inline-block; font-size: 11px; letter-spacing: 3px;
    text-transform: uppercase; color: var(--text-muted);
    font-weight: 600; margin-bottom: 20px;
}
.section-title { font-size: clamp(32px, 5vw, 48px); margin-bottom: 20px; }
.section-sub { color: var(--text-secondary); max-width: 480px; font-size: 16px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }
.section-header { margin-bottom: 64px; }
.section-footer { text-align: center; margin-top: 56px; }

.text-stroke {
    -webkit-text-stroke: 1.5px var(--text-heading);
    -webkit-text-fill-color: transparent;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; font-size: 14px; font-weight: 600;
    font-family: inherit; border-radius: var(--radius); border: none;
    cursor: pointer; transition: var(--transition); position: relative;
    letter-spacing: 0.3px;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn-primary {
    background: var(--text-heading); color: var(--bg);
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-heading); color: var(--text-heading); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ── ANIMATIONS ── */
.reveal {
    opacity: 0; transform: translateY(50px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 24px 0; transition: var(--transition);
}
.nav.scrolled {
    padding: 16px 0;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: var(--text-heading); }
.logo-mark {
    width: 34px; height: 34px; background: var(--text-heading); color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); font-size: 15px; font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
.logo-text { font-family: 'Space Grotesk', sans-serif; }

.nav-menu { display: flex; gap: 4px; }
.nav-link {
    padding: 8px 16px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover { color: var(--text-heading); }
.nav-link.active { color: var(--text-heading); background: var(--accent-bg); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent-bg); border: 1px solid var(--border);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition); position: relative;
}
.theme-toggle:hover { border-color: var(--border-hover); background: var(--bg-elevated); }
.theme-icon { width: 18px; height: 18px; position: absolute; transition: opacity 0.3s, transform 0.3s; color: var(--text); }
[data-theme="dark"] .theme-icon.sun { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="dark"] .theme-icon.moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-icon.sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-icon.moon { opacity: 0; transform: rotate(-90deg) scale(0); }

.nav-cta {
    padding: 10px 24px; font-size: 13px; font-weight: 600;
    background: var(--text-heading); color: var(--bg);
    border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
    display: none; width: 32px; height: 32px; background: none; border: none;
    cursor: pointer; position: relative; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span {
    width: 20px; height: 1.5px; background: var(--text-heading);
    transition: var(--transition); display: block;
}
.nav-toggle.open span:first-child { transform: rotate(45deg) translate(2.5px, 2.5px); }
.nav-toggle.open span:last-child { transform: rotate(-45deg) translate(2.5px, -2.5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0; background: var(--bg); z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner { text-align: center; }
.mobile-link {
    display: block; font-size: 32px; font-weight: 700;
    font-family: 'Space Grotesk', sans-serif; color: var(--text-heading);
    padding: 12px 0; transition: var(--transition);
    opacity: 0; transform: translateY(20px);
}
.mobile-menu.open .mobile-link {
    opacity: 1; transform: translateY(0);
}
.mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-link.active { color: var(--text-muted); }
.mobile-link:hover { color: var(--text-secondary); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; padding-bottom: 0; }
.hero-content { max-width: 760px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px;
}
.pulse-dot {
    width: 6px; height: 6px; background: var(--text-heading); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
    font-size: clamp(44px, 7vw, 80px); font-weight: 800; line-height: 1.05;
    margin-bottom: 28px; font-family: 'Space Grotesk', sans-serif;
}
.hero-title em { font-style: italic; font-weight: 300; }
.hero-sub {
    font-size: 17px; color: var(--text-secondary); max-width: 480px;
    line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Marquee */
.hero-marquee {
    margin-top: 100px; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); padding: 20px 0;
    overflow: hidden;
}
.marquee-track {
    display: flex; gap: 32px; white-space: nowrap;
    animation: marquee 25s linear infinite;
    font-size: 13px; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; color: var(--text-muted);
}
.marquee-dot { width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; flex-shrink: 0; align-self: center; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   SERVICES (Home Row Style)
═══════════════════════════════════════════ */
.services-grid { display: flex; flex-direction: column; }
.service-row {
    display: grid; grid-template-columns: 60px 1fr 40px;
    gap: 24px; align-items: center; padding: 32px 0;
    border-bottom: 1px solid var(--border); color: var(--text);
    transition: var(--transition);
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover { padding-left: 12px; }
.service-row:hover .service-arrow { transform: translate(4px, -4px); opacity: 1; }
.service-row:hover h3 { color: var(--text-heading); }

.service-num { font-size: 13px; font-weight: 600; color: var(--text-muted); font-family: 'Space Grotesk', sans-serif; }
.service-info h3 { font-size: 22px; margin-bottom: 6px; transition: color var(--transition); }
.service-info p { font-size: 14px; color: var(--text-secondary); max-width: 520px; }
.service-arrow { width: 24px; height: 24px; color: var(--text-muted); opacity: 0.4; transition: var(--transition); }

/* ═══════════════════════════════════════════
   WORK / PORTFOLIO CARDS
═══════════════════════════════════════════ */
.work-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { transition: var(--transition); }
.work-card:hover { transform: translateY(-6px); }
.work-img {
    width: 100%; aspect-ratio: 4/3; border-radius: var(--radius);
    overflow: hidden; position: relative; background: var(--bg-card);
    border: 1px solid var(--border);
}
.work-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}
.work-placeholder span {
    font-size: 48px; font-weight: 900; color: var(--border-hover);
    font-family: 'Space Grotesk', sans-serif;
}
.work-overlay {
    position: absolute; inset: 0;
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s var(--ease);
}
.work-card:hover .work-overlay { opacity: 1; }
.work-meta { padding: 20px 4px 0; }
.work-tag {
    display: inline-block; font-size: 11px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 8px;
}
.work-meta h3 { font-size: 18px; margin-bottom: 6px; }
.work-meta p { font-size: 14px; color: var(--text-secondary); }

/* Portfolio filter */
.filter-bar {
    display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
    justify-content: center;
}
.filter-btn {
    padding: 10px 22px; font-size: 13px; font-weight: 600;
    background: var(--accent-bg); color: var(--text-secondary);
    border: 1px solid var(--border); border-radius: 50px;
    cursor: pointer; transition: var(--transition); font-family: inherit;
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--text-heading); }
.filter-btn.active { background: var(--text-heading); color: var(--bg); border-color: var(--text-heading); }

.portfolio-item { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.portfolio-item.hidden { display: none; }

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
.stats-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 20px 0; }
.stat-num {
    font-size: clamp(40px, 5vw, 60px); font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-heading); line-height: 1;
}
.stat-num::after { content: '+'; font-weight: 400; color: var(--text-muted); }
.stat:last-child .stat-num::after { content: '%'; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; letter-spacing: 0.5px; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
    transition: var(--transition);
}
.testimonial:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.testimonial blockquote {
    font-size: 15px; line-height: 1.8; color: var(--text-secondary);
    margin-bottom: 28px; font-style: normal;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--bg-elevated); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--text-heading); }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cta-section { padding: 120px 0; }
.cta-block { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-title { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.cta-sub { color: var(--text-secondary); font-size: 16px; margin-bottom: 36px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   PAGE HEADER (inner pages)
═══════════════════════════════════════════ */
.page-header { padding: 160px 0 80px; text-align: center; }
.breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text-heading); }
.page-title { font-size: clamp(40px, 6vw, 64px); margin-bottom: 16px; }
.page-sub { color: var(--text-secondary); font-size: 17px; max-width: 480px; margin: 0 auto; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.img-placeholder {
    width: 100%; aspect-ratio: 4/3; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
}
.img-placeholder span { font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); }
.img-placeholder.large { aspect-ratio: 3/4; }
.split-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px; transition: var(--transition);
}
.mv-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.mv-card h3 { font-size: 20px; margin-bottom: 14px; }
.mv-card p { color: var(--text-secondary); line-height: 1.8; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px 24px; transition: var(--transition);
}
.value-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.value-num { font-size: 12px; font-weight: 700; color: var(--text-muted); font-family: 'Space Grotesk', sans-serif; display: block; margin-bottom: 16px; }
.value-card h4 { font-size: 16px; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
    text-align: center; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px 20px; transition: var(--transition);
}
.team-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.team-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--bg-elevated); border: 1px solid var(--border);
    margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
}
.team-card h4 { font-size: 16px; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════ */
.service-block {
    padding: 56px 0; border-bottom: 1px solid var(--border);
}
.service-block:first-child { border-top: 1px solid var(--border); }
.service-block-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 24px; }
.service-block-num {
    font-size: 13px; font-weight: 700; color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif; flex-shrink: 0;
}
.service-block-header h2 { font-size: 28px; }
.service-block-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.service-block-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.service-block-features { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feature-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--text-secondary);
}
.feature-item svg { width: 16px; height: 16px; color: var(--text-heading); flex-shrink: 0; }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-info-block { margin-bottom: 32px; }
.contact-info-block h3 { font-size: 22px; margin-bottom: 8px; }
.contact-info-block p { color: var(--text-secondary); font-size: 14px; }

.contact-item { padding: 20px 0; border-top: 1px solid var(--border); }
.contact-item-label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
.contact-item-value { font-size: 15px; color: var(--text-heading); font-weight: 500; }
a.contact-item-value:hover { color: var(--text-secondary); }

.contact-hours { padding: 20px 0; border-top: 1px solid var(--border); }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); padding: 4px 0; }

.contact-socials { display: flex; gap: 10px; margin-top: 28px; }
.contact-socials a {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent-bg); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.contact-socials a:hover { background: var(--text-heading); border-color: var(--text-heading); }
.contact-socials svg { width: 16px; height: 16px; color: var(--text-secondary); transition: var(--transition); }
.contact-socials a:hover svg { color: var(--bg); }

/* Form */
.contact-form-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.req { color: #cc4444; }
.form-input {
    width: 100%; padding: 14px 16px; background: var(--bg);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text); font-family: inherit; font-size: 14px;
    transition: var(--transition); outline: none;
}
.form-input:focus { border-color: var(--text-heading); }
.form-input::placeholder { color: var(--text-muted); }
.form-input.error { border-color: #cc4444; }
textarea.form-input { min-height: 120px; resize: vertical; }
select.form-input {
    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='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    cursor: pointer;
}
.form-error { font-size: 12px; color: #cc4444; margin-top: 4px; display: none; }
.form-error.show { display: block; }

.form-success {
    display: none; text-align: center; padding: 48px 20px;
}
.form-success.show { display: block; }
.form-success svg { width: 40px; height: 40px; color: var(--text-heading); margin: 0 auto 16px; }
.form-success h4 { font-size: 20px; color: var(--text-heading); margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

/* Map */
.map-wrap {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: var(--map-filter); transition: filter 0.5s; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border); padding: 64px 0 0;
    background: var(--bg);
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-brand p { color: var(--text-secondary); font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 280px; }
.social-links { display: flex; gap: 8px; margin-top: 20px; }
.social-links a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent-bg); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { background: var(--text-heading); border-color: var(--text-heading); }
.social-links svg { width: 14px; height: 14px; color: var(--text-secondary); transition: var(--transition); }
.social-links a:hover svg { color: var(--bg); }

.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text-heading); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a, .footer-col ul li { font-size: 14px; color: var(--text-secondary); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--text-heading); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 0; font-size: 12px; color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
.back-top {
    position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: var(--transition); z-index: 100;
}
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--text-heading); border-color: var(--text-heading); }
.back-top svg { width: 18px; height: 18px; color: var(--text); transition: var(--transition); }
.back-top:hover svg { color: var(--bg); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .work-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid, .team-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .service-block-body { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .section { padding: 80px 0; }
    .work-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-title { font-size: clamp(36px, 8vw, 56px); }
    .hero-marquee { margin-top: 60px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .page-header { padding: 140px 0 60px; }
    .cta-section { padding: 80px 0; }
    .service-block-header { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .values-grid, .team-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-bar { gap: 6px; }
    .filter-btn { padding: 8px 16px; font-size: 12px; }
    .contact-form-wrap { padding: 24px; }
}