/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:        #080808;
    --bg-2:      #0f0f0f;
    --bg-3:      #161616;
    --accent:    #00ffcc;
    --accent-2:  #ff3c6e;
    --text:      #f0ece3;
    --text-muted:#6b6660;
    --text-dim:  #3a3632;
    --border:    rgba(0,255,204,0.14);
    --grid:      rgba(0,255,204,0.035);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); }

/* ===== LAYOUT ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 48px;
}

section { padding: 130px 0; }

/* ===== LABELS ===== */
.label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.label::after {
    content: '';
    width: 48px;
    height: 1px;
    background: var(--accent);
    opacity: 0.45;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.35s, padding 0.35s, border-color 0.35s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(8,8,8,0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 18px 48px;
    border-bottom-color: var(--border);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 44px;
    list-style: none;
}
.nav-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: 11px 26px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}
.nav-cta:hover { background: #00e6b8; transform: translateY(-1px); }

/* ===== HERO ===== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 130px 48px 140px;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 72px 72px;
    animation: gridBreath 9s ease-in-out infinite;
}

@keyframes gridBreath {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0,255,204,0.07) 0%, transparent 68%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    50%       { opacity: 0.6; transform: translate(-50%,-50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) forwards 0.2s;
}
.hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--accent);
}

.hero-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(6.5rem, 15vw, 17rem);
    line-height: 0.86;
    letter-spacing: -0.005em;
    color: var(--text);
    margin-bottom: 52px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) forwards 0.38s;
}

.hero-headline .hl-accent { color: var(--accent); }

/* Glitch */
.glitch {
    position: relative;
    display: inline-block;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.glitch::before {
    color: var(--accent-2);
    animation: gA 5s infinite;
    clip-path: polygon(0 22%, 100% 22%, 100% 42%, 0 42%);
}
.glitch::after {
    color: var(--accent);
    animation: gB 5s infinite;
    clip-path: polygon(0 62%, 100% 62%, 100% 78%, 0 78%);
}

@keyframes gA {
    0%,88%,100% { transform: translate(0); opacity: 0; }
    90%  { transform: translate(-5px, 2px); opacity: 0.85; }
    93%  { transform: translate(5px, -2px); opacity: 0.6; }
    96%  { transform: translate(-2px, 0);   opacity: 0.85; }
    98%  { transform: translate(0);          opacity: 0; }
}
@keyframes gB {
    0%,86%,100% { transform: translate(0); opacity: 0; }
    88%  { transform: translate(5px, -3px); opacity: 0.75; }
    91%  { transform: translate(-5px, 3px); opacity: 0.5; }
    95%  { transform: translate(2px, 0);    opacity: 0.75; }
    97%  { transform: translate(0);          opacity: 0; }
}

.hero-bottom {
    display: flex;
    align-items: flex-start;
    gap: 100px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) forwards 0.56s;
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 420px;
    line-height: 1.7;
}
.hero-tagline strong { color: var(--text); font-weight: 500; }

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.btn-prim, .btn-sec {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 38px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.22s;
}
.btn-prim {
    color: var(--bg);
    background: var(--accent);
}
.btn-prim::after { content: '→'; transition: transform 0.2s; }
.btn-prim:hover  { background: #00e8bb; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,255,204,0.28); }
.btn-prim:hover::after { transform: translateX(5px); }

.btn-sec {
    color: var(--text-muted);
    border: 1px solid var(--text-dim);
}
.btn-sec:hover { color: var(--text); border-color: var(--text-muted); }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.3s;
    z-index: 0;
}
.hero-scroll span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--accent), transparent);
    animation: scrollFade 1.8s ease-in-out infinite;
}
@keyframes scrollFade {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    50.1%{ transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== MARQUEE ===== */
.marquee-bar {
    border-top:    1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background:    var(--bg-2);
    padding: 17px 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 0;
    animation: ticker 36s linear infinite;
    white-space: nowrap;
    will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.m-item {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    padding: 0 36px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
.m-item.hi { color: var(--accent); }
.m-dot {
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.5;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== CLIENTS ===== */
#clients {
    background: var(--bg);
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
}
.clients-inner {
    display: flex;
    align-items: center;
    gap: 64px;
    overflow: hidden;
}
.clients-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    white-space: nowrap;
    flex-shrink: 0;
}
.clients-divider {
    width: 1px;
    height: 40px;
    background: var(--text-dim);
    flex-shrink: 0;
}
/* Marquee wrapper — clips the scrolling track */
.clients-logos-wrap {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients-logos {
    display: flex;
    align-items: center;
    gap: 56px;
    animation: logoTicker 18s linear infinite;
    width: max-content;
}
.clients-logos:hover { animation-play-state: paused; }
@keyframes logoTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.client-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.25;
    transition: opacity 0.25s;
    flex-shrink: 0;
}
.client-logo:hover { opacity: 0.7; }

/* ===== SERVICES ===== */
#services { background: var(--bg); }

.services-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 72px;
}
.services-h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.03;
    max-width: 580px;
}
.services-h2 em { color: var(--accent); font-style: normal; }

.services-note {
    max-width: 310px;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
    flex-shrink: 0;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.svc-card {
    background: var(--bg);
    padding: 50px 42px 64px;
    position: relative;
    transition: background 0.3s;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,255,204,0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.svc-card:hover { background: var(--bg-2); }
.svc-card:hover::before { opacity: 1; }

.svc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
}
.svc-icon {
    width: 50px; height: 50px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: border-color 0.3s, background 0.3s;
}
.svc-card:hover .svc-icon {
    border-color: var(--accent);
    background: rgba(0,255,204,0.07);
}
.svc-n {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}
.svc-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.18;
    transition: color 0.3s;
}
.svc-card:hover .svc-name { color: var(--accent); }
.svc-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.72;
}
.svc-arrow {
    position: absolute;
    bottom: 30px; right: 30px;
    width: 30px; height: 30px;
    border: 1px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    opacity: 0;
    transform: rotate(-40deg);
    transition: all 0.28s;
}
.svc-card:hover .svc-arrow {
    opacity: 1;
    transform: rotate(0);
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== STATS ===== */
#stats {
    background: var(--accent);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
#stats::before {
    content: 'IYBOTS';
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26vw;
    color: rgba(0,0,0,0.055);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    position: relative;
    z-index: 1;
}
.stat-item {
    padding: 32px 48px;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.14);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4.5rem, 8vw, 7.5rem);
    line-height: 1;
    color: var(--bg);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
}
.stat-sfx {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.38em;
    color: rgba(0,0,0,0.42);
    margin-top: 0.18em;
}
.stat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.46);
    margin-top: 10px;
}

/* ===== PROCESS ===== */
#process { background: var(--bg-2); }

.process-head {
    text-align: center;
    margin-bottom: 96px;
}
.process-h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.07;
}
.process-h2 em { color: var(--accent); font-style: normal; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2px;
    background: var(--border);
}
.proc-step {
    background: var(--bg-2);
    padding: 56px 40px 56px;
    transition: background 0.3s;
}
.proc-step:hover { background: var(--bg-3); }
.proc-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--text-dim);
    margin-bottom: 22px;
    transition: color 0.3s;
}
.proc-step:hover .proc-num { color: var(--accent); }
.proc-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.proc-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.72;
}

/* ===== ABOUT ===== */
#about { background: var(--bg); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}
.about-h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 30px;
}
.about-p {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.82;
    margin-bottom: 20px;
}
.about-p strong { color: var(--text); font-weight: 500; }
.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 38px;
}
.chip {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--border);
    padding: 7px 16px;
    transition: background 0.2s;
}
.chip:hover { background: rgba(0,255,204,0.06); }

/* About visual */
.about-vis {
    position: relative;
    height: 500px;
}
.av-main {
    position: absolute;
    inset: 0 0 80px 0;
    border: 1px solid var(--border);
    background: var(--bg-2);
    padding: 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.av-bar {
    position: absolute;
    bottom: 0; right: 0;
    width: 62%;
    height: 68px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
}
.av-tiny {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.av-big {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6.5rem;
    line-height: 1;
    color: var(--accent);
}
.av-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 260px;
    line-height: 1.65;
}

/* Pulse dot indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
    0%   { opacity: 0.8; transform: scale(0.8); }
    100% { opacity: 0;   transform: scale(2); }
}
.live-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ===== CTA ===== */
#cta {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 170px 48px;
    position: relative;
    overflow: hidden;
}
#cta::before {
    content: '';
    position: absolute;
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(0,255,204,0.048) 0%, transparent 60%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}
.cta-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 36px;
    position: relative;
}
.cta-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 13vw, 13rem);
    line-height: 0.87;
    color: var(--text);
    position: relative;
    margin-bottom: 52px;
}
.cta-h2 em { color: var(--accent); font-style: normal; }

.cta-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 52px;
    position: relative;
}

.cta-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    gap: 1px;
    background: var(--border);
}
.cta-row {
    display: flex;
    gap: 1px;
    background: var(--border);
}
.cta-row-bottom {
    margin-top: 0;
}
.cta-input {
    flex: 1;
    background: var(--bg);
    border: none;
    padding: 17px 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: var(--text);
    outline: none;
    transition: background 0.2s;
    min-width: 0;
}
.cta-input::placeholder { color: var(--text-dim); }
.cta-input:focus { background: var(--bg-3); }
.cta-btn {
    background: var(--accent);
    border: none;
    padding: 17px 34px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg);
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.cta-btn:hover { background: #00e8bb; }

/* ===== FOOTER ===== */
footer {
    background: var(--bg);
    border-top: 1px solid var(--text-dim);
    padding: 48px 0 36px;
}
.foot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.foot-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--text-dim);
}
.foot-logo img {
    height: 26px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.foot-logo img:hover { opacity: 0.8; }
.foot-nap {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}
.foot-nap a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.foot-nap a:hover { color: var(--accent); }
.foot-copy {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}
.foot-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.foot-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.foot-links a:hover { color: var(--accent); }

/* ===== SCROLL REVEAL ===== */
.r {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.85s cubic-bezier(.22,1,.36,1),
                transform 0.85s cubic-bezier(.22,1,.36,1);
}
.r.vis { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .svc-grid       { grid-template-columns: repeat(2,1fr); }
    .stats-grid     { grid-template-columns: repeat(2,1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-top: 1px solid rgba(0,0,0,0.14); }
    .stat-item:nth-child(4) { border-right: none; }
    .process-grid   { grid-template-columns: repeat(2,1fr); }
    .about-grid     { grid-template-columns: 1fr; gap: 64px; }
    .about-vis      { height: 320px; }
    .hero-bottom    { flex-direction: column; gap: 44px; }
}
@media (max-width: 768px) {
    nav { padding: 20px 24px; }
    nav.scrolled { padding: 16px 24px; }
    .nav-links { display: none; }
    #hero { padding: 110px 24px 140px; }
    .container { padding: 0 24px; }
    section { padding: 88px 0; }
    .svc-grid       { grid-template-columns: 1fr; }
    .cta-row        { flex-direction: column; }
    .stats-grid     { grid-template-columns: repeat(2,1fr); }
    .process-grid   { grid-template-columns: 1fr; }
    .services-head  { flex-direction: column; align-items: flex-start; }
    .foot-top       { flex-direction: column; gap: 24px; text-align: center; }
    .foot-bottom    { flex-direction: column; gap: 12px; text-align: center; }
    .foot-links     { flex-wrap: wrap; justify-content: center; }
    #cta { padding: 110px 24px; }
}
