*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
.grecaptcha-badge { visibility: hidden !important; }
/* Custom scrollbar — hide arrows, slim modern track */
/* Custom scrollbar — hide arrows, slim modern track (webkit/Chromium) */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
::-webkit-scrollbar-button { display: none !important; height: 0 !important; width: 0 !important; }
::-webkit-scrollbar-corner { background: transparent; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #030712;
    color: #e2e8f0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

:root {
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

/* ============================================
   BACKGROUND
   ============================================ */
.bg-mesh { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.25; }
.bg-orb-1 { width: 500px; height: 500px; background: var(--sky-600); top: -10%; left: -5%; }
.bg-orb-2 { width: 400px; height: 400px; background: var(--sky-500); bottom: -10%; right: -5%; }
.bg-orb-3 { width: 300px; height: 300px; background: #0369a1; top: 40%; left: 50%; }
.bg-grid {
    position: fixed; inset: 0;
    background-image: linear-gradient(rgba(56,189,248,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none; z-index: 0;
}

/* ============================================
   MAIN LAYOUT — centered column
   ============================================ */
.scene {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* --- HERO ROW: logo left, services right --- */
.hero-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

/* --- LOGO --- */
.logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: default;
    flex-shrink: 0;
}
.logo-block img {
    width: auto;
    max-width: 45vw;
    height: auto;
    filter: drop-shadow(0 0 80px rgba(14, 165, 233, 0.4)) drop-shadow(0 0 30px rgba(14, 165, 233, 0.25));
}

/* --- TAGLINE BLOCKQUOTE --- */
.logo-tagline {
    max-width: 900px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--slate-400);
    text-align: left;
    line-height: 1.75;
    border-left: 3px solid var(--sky-500);
    padding: 0.75rem 1.5rem;
    background: rgba(14, 165, 233, 0.03);
    border-radius: 0 0.5rem 0.5rem 0;
    align-self: flex-start;
    margin-left: calc(50% - 450px);
}
body.active .logo-tagline {
    display: none;
}

/* --- SERVICE CARDS 2x2 GRID --- */
.services-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.svc-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    padding: 1.75rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.25rem;
    cursor: pointer;
    min-width: 160px;
}
.svc-node:hover {
    border-color: rgba(14, 165, 233, 0.25);
    background: rgba(14, 165, 233, 0.05);
}
.svc-node-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 1rem;
}

.svc-node-icon svg {
    width: 26px; height: 26px;
    stroke: var(--sky-400); fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.svc-node-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-300);
    text-align: center;
}
.svc-node:hover .svc-node-label { color: #fff; }
.svc-node-label-short { display: none; }

/* --- CONNECTOR LINES (subtle) --- */
.connectors {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.connectors line {
    stroke: rgba(14, 165, 233, 0.05);
    stroke-width: 1;
}

/* ============================================
   ACTIVE STATE — smooth cross-fade
   ============================================ */
.hero-row {
    transition: opacity 0.4s ease;
}
body.active .hero-row {
    opacity: 0;
    pointer-events: none;
}
body.active .connectors {
    opacity: 0;
}

/* Home button — top-left of content panel */
.back-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: rgba(148, 163, 184, 0.8);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.back-btn svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.back-btn-circle {
    stroke-dasharray: 62.83;
    stroke-dashoffset: 62.83;
    transition: stroke-dashoffset 0.5s ease;
}
.back-btn-x {
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.back-btn:hover {
    color: #fff;
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    transform: scale(1.05);
}
.back-btn:hover .back-btn-circle {
    stroke-dashoffset: 0;
    stroke: var(--sky-400);
}
.back-btn:hover .back-btn-x {
    transform: rotate(90deg);
}
body.active .back-btn {
    display: flex;
}

/* ============================================
   CONTENT PANEL — slides in below logo
   ============================================ */
.content-panel {
    width: 90%;
    max-width: 880px;
    padding: 2.5rem;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    background: var(--slate-900);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    /* Out of flow so it doesn't push hero-row */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.97);
    /* Hidden by default — smooth cross-fade */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
}
body.active .content-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0s;
}

.svc-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.svc-header-icon {
    width: 3.5rem; height: 3.5rem;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(14,165,233,0.05));
    border: 1px solid rgba(14,165,233,0.2);
    border-radius: 1rem; flex-shrink: 0;
}
.svc-header-icon svg {
    width: 1.75rem; height: 1.75rem;
    stroke: var(--sky-400); fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.svc-header h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800; color: #fff;
}
.svc-header p {
    font-size: 0.9375rem; color: var(--slate-400); margin-top: 0.125rem;
}
.svc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.svc-description {
    font-size: 1rem; color: var(--slate-400); line-height: 1.8; margin-bottom: 1.5rem;
}
.svc-features { display: flex; flex-direction: column; gap: 0.75rem; }
.svc-feature {
    display: flex; align-items: flex-start; gap: 0.625rem;
    font-size: 0.9375rem; color: var(--slate-300); line-height: 1.5;
}
.svc-feature svg {
    width: 1.125rem; height: 1.125rem;
    stroke: var(--sky-400); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px;
    stroke-linecap: round; stroke-linejoin: round;
}

/* Tooltips for feature items */
.svc-feature.has-tooltip {
    position: relative;
    transition: color 0.2s ease;
}
.tooltip-i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    margin-left: 0.375rem;
    border-radius: 50%;
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    font-size: 9px;
    font-style: italic;
    font-weight: 700;
    color: var(--sky-400);
    opacity: 0.5;
    flex-shrink: 0;
    vertical-align: 1px;
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.tooltip-i:hover {
    opacity: 1;
    border-color: var(--sky-400);
    transform: scale(1.15);
}
.svc-feature.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 300px;
    max-width: calc(100vw - 4rem);
    padding: 0.875rem 1rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 0.75rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 0.8125rem;
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1.6;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(56, 189, 248, 0.08);
}
.svc-feature.has-tooltip::before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 1.5rem;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid rgba(56, 189, 248, 0.3);
    z-index: 101;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.svc-feature.has-tooltip.tooltip-open::after {
    opacity: 1;
    transform: translateY(0);
}
.svc-feature.has-tooltip.tooltip-open::before {
    opacity: 1;
}
.svc-feature.has-tooltip.tooltip-open {
    color: #fff;
}
.svc-feature.has-tooltip.tooltip-open .tooltip-i {
    opacity: 1;
    border-color: var(--sky-400);
}

.svc-cta-card {
    background: rgba(14,165,233,0.06);
    border: 1px solid rgba(14,165,233,0.12);
    border-radius: 1.25rem; padding: 2rem;
    display: flex; flex-direction: column; justify-content: center;
}
.svc-cta-card h3 { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.svc-cta-card > p { font-size: 0.9375rem; color: var(--slate-400); line-height: 1.65; margin-bottom: 1.5rem; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #fff; font-weight: 600; font-size: 0.875rem;
    border-radius: 0.75rem;
    box-shadow: none; cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(56, 189, 248, 0.08);
    box-shadow: 0 0 20px -4px rgba(14, 165, 233, 0.3);
}
.btn-primary svg {
    width: 1.125rem; height: 1.125rem; stroke: #fff; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.svc-contact-row { display: flex; gap: 1.5rem; margin-top: 1rem; }
.svc-contact-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8125rem; color: var(--slate-500);
}
.svc-contact-item svg {
    width: 14px; height: 14px; stroke: var(--slate-500); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.svc-contact-item a { color: var(--slate-400); }
.svc-contact-item a:hover { color: var(--sky-400); }

/* ============================================
   SERVICE DEMO ANIMATIONS (dark theme)
   ============================================ */
.svc-demo-container {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    padding: 2rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

/* Code / Software Development Demo */
.code-demo {
    width: 100%; max-width: 400px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    padding: 1.25rem;
    font-family: 'Courier New', monospace;
}
.code-line {
    color: var(--slate-400);
    font-size: 0.8125rem;
    margin-bottom: 0.4rem;
    opacity: 0;
}
.demos-ready .code-line {
    animation: codeLineAppear 0.3s ease forwards;
}
.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }
.code-line:nth-child(4) { animation-delay: 0.8s; }
.code-line:nth-child(5) { animation-delay: 1s; }
.code-line:nth-child(6) { animation-delay: 1.2s; }
.code-line:nth-child(7) { animation-delay: 1.4s; }
.code-keyword { color: #f472b6; }
.code-function { color: #60a5fa; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; }
@keyframes codeLineAppear { to { opacity: 1; } }

/* UniFi Networking Demo */
.unifi-demo {
    width: 100%; max-width: 380px;
    position: relative; height: 280px;
}
.unifi-central-gateway {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}
.demos-ready .unifi-central-gateway {
    animation: pulse 2s ease-in-out infinite;
}
.unifi-device {
    position: absolute; width: 62px; height: 62px;
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600, #0284c7));
    border-radius: 0.75rem;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0.2rem;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
    opacity: 0;
}
.demos-ready .unifi-device {
    animation: devicePop 0.6s ease forwards;
}
.unifi-device svg { width: 1.5rem; height: 1.5rem; color: white; }
.unifi-device-label { font-size: 0.625rem; font-weight: 600; color: white; }
.unifi-ap { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0.3s; }
.unifi-switch { top: 50%; left: 3%; transform: translateY(-50%); animation-delay: 0.6s; }
.demos-ready .unifi-switch { animation-name: devicePopY; }
.unifi-ap-2 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0.9s; }
.unifi-camera { top: 50%; right: 3%; transform: translateY(-50%); animation-delay: 1.2s; }
.demos-ready .unifi-camera { animation-name: devicePopY; }

@keyframes devicePop {
    0% { opacity: 0; transform: scale(0) translateX(-50%); }
    50% { transform: scale(1.1) translateX(-50%); }
    100% { opacity: 1; transform: scale(1) translateX(-50%); }
}
@keyframes devicePopY {
    0% { opacity: 0; transform: scale(0) translateY(-50%); }
    50% { transform: scale(1.1) translateY(-50%); }
    100% { opacity: 1; transform: scale(1) translateY(-50%); }
}

.unifi-connection {
    position: absolute;
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600, #0284c7));
    opacity: 0;
}
.demos-ready .unifi-connection {
    animation: lineGrow 1s ease forwards;
}
.unifi-conn-1 { top: calc(5% + 31px); left: 50%; transform: translateX(-50%); width: 2px; height: calc(45% - 62px); animation-delay: 0.5s; }
.unifi-conn-2 { top: 50%; left: calc(3% + 62px); width: calc(47% - 93px); height: 2px; animation-delay: 0.8s; }
.unifi-conn-3 { bottom: calc(5% + 31px); left: 50%; transform: translateX(-50%); width: 2px; height: calc(45% - 62px); animation-delay: 1.1s; }
.unifi-conn-4 { top: 50%; right: calc(3% + 62px); width: calc(47% - 93px); height: 2px; animation-delay: 1.4s; }
@keyframes lineGrow { to { opacity: 0.3; } }

.unifi-signal {
    position: absolute;
    border: 2px solid var(--sky-400);
    border-radius: 50%;
    width: 62px; height: 62px;
}
.demos-ready .unifi-signal {
    animation: signalPulse 2s ease-in-out infinite;
}
.unifi-signal-1 { top: 5%; left: 50%; transform: translate(-50%, 0); animation-delay: 0.5s; }
.unifi-signal-2 { top: 50%; left: 3%; transform: translate(0, -50%); animation-delay: 0.8s; }
.unifi-signal-3 { bottom: 5%; left: 50%; transform: translate(-50%, 0); animation-delay: 1.1s; }
.unifi-signal-4 { top: 50%; right: 3%; transform: translate(0, -50%); animation-delay: 1.4s; }
@keyframes signalPulse {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.4; transform: scale(1.5); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Tech Consulting Demo */
.consulting-demo {
    width: 100%; max-width: 360px;
}
.audit-header {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--slate-400); margin-bottom: 0.75rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
}
.audit-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    opacity: 0; transform: translateY(16px);
}
.demos-ready .audit-row {
    animation: metricAppear 0.5s ease forwards;
}
.audit-row:nth-child(2) { animation-delay: 0.15s; }
.audit-row:nth-child(3) { animation-delay: 0.3s; }
.audit-row:nth-child(4) { animation-delay: 0.45s; }
.audit-row:nth-child(5) { animation-delay: 0.6s; }
.audit-row:nth-child(6) { animation-delay: 0.75s; }
.audit-category { font-weight: 600; color: #fff; font-size: 0.875rem; }
.audit-grade {
    font-weight: 700; font-size: 0.875rem; padding: 0.2rem 0.6rem;
    border-radius: 0.375rem; min-width: 2.25rem; text-align: center;
}
.grade-a-plus, .grade-a { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.grade-b-plus { background: rgba(14, 165, 233, 0.15); color: var(--sky-400); }
.grade-b-minus { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.grade-c-plus { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
@keyframes metricAppear { to { opacity: 1; transform: translateY(0); } }

/* ============================================
   FOOTER BAR
   ============================================ */
.hub-footer {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; align-items: center; gap: 2rem;
    padding: 0.75rem 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 100px; backdrop-filter: blur(10px);
}
.hub-footer { transition: opacity 0.4s ease; }
body.active .hub-footer { opacity: 0; pointer-events: none; }
.hub-footer-item {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8125rem; color: var(--slate-500);
}
.hub-footer-item:hover { color: var(--sky-400); }
.hub-footer-item svg {
    width: 14px; height: 14px; stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hub-footer-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.08); }

/* ============================================
   CONTACT MODAL
   ============================================ */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
}
.contact-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.contact-modal {
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--slate-900);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
}
.contact-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: var(--slate-500);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem;
}
.contact-modal-close:hover { color: #fff; }
.contact-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.contact-modal-subtitle {
    font-size: 0.9375rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
    line-height: 1.5;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-400);
    margin-bottom: 0.5rem;
}
.form-group .required { color: var(--sky-400); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.9375rem;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--sky-500);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}
.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-error {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.375rem;
    min-height: 1rem;
}
.contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    background: transparent;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: none;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}
.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.contact-success {
    text-align: center;
    padding: 2rem 0;
}
.contact-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.contact-success p {
    font-size: 0.9375rem;
    color: var(--slate-400);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.svc-portfolio h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}
.svc-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.svc-portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: transform 0.2s ease;
}
.svc-portfolio-item:hover {
    transform: translateY(-2px);
}
.svc-portfolio-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.06);
}
.svc-portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 1rem;
}
@media (min-width: 481px) {
    .svc-portfolio-thumb img {
        filter: grayscale(100%);
        opacity: 0.7;
        transition: filter 0.3s ease, opacity 0.3s ease;
    }
    .svc-portfolio-item:hover .svc-portfolio-thumb img {
        filter: grayscale(0%);
        opacity: 1;
    }
}
.svc-portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.15);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.svc-portfolio-overlay svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.svc-portfolio-item:hover .svc-portfolio-overlay {
    opacity: 1;
}
.svc-portfolio-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.svc-portfolio-desc {
    font-size: 0.75rem;
    color: var(--slate-400);
    line-height: 1.3;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .svc-body { grid-template-columns: 1fr; }
    .hero-row { flex-direction: column; gap: 1.5rem; }
    .logo-block img { max-width: 70vw; }
    .logo-tagline { margin-left: 1.5rem; margin-right: 1.5rem; align-self: center; }
}
@media (max-width: 768px) {
    .logo-block img { max-width: 80vw; }
    .svc-node { min-width: unset; padding: 1.25rem 1rem; }
    .svc-node-icon { width: 48px; height: 48px; }
    .svc-node-icon svg { width: 22px; height: 22px; }
    .svc-node-label { font-size: 0.8125rem; }
    .hub-footer { gap: 1rem; padding: 0.625rem 1.25rem; }
    .hub-footer-item { font-size: 0.75rem; }
    .content-panel { padding: 2rem 1.5rem; max-height: calc(100vh - 200px); }
    body.active .logo-block img { width: 80px; max-width: 80px; }
    body.active .scene { padding-top: 1.5rem; }
    .svc-contact-row { flex-direction: column; gap: 0.75rem; }
    .logo-tagline { font-size: 0.9375rem; }
}
@media (max-width: 480px) {
    .services-row { gap: 0.75rem; }
    .svc-node { padding: 1rem; }
    .svc-node-icon { width: 42px; height: 42px; border-radius: 0.75rem; }
    .svc-node-icon svg { width: 20px; height: 20px; }
    .svc-node-label { font-size: 0.75rem; }
    .hub-footer { display: none; }
    body.active .logo-block img { width: 60px; max-width: 60px; }
    .svc-header h1 { font-size: 1.375rem; }
    .logo-tagline { font-size: 0.875rem; margin-left: 1rem; margin-right: 1rem; }
    .contact-modal { padding: 1.5rem; border-radius: 1rem; }
    .contact-modal-title { font-size: 1.25rem; }
    /* Tone down CTA button on mobile */
    .svc-portfolio .btn-primary,
    .svc-cta-card .btn-primary {
        background: transparent;
        border: 1px solid rgba(56, 189, 248, 0.3);
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
}
