/* ==========================================================================
   Pixel Bros 2026
   ========================================================================== */

:root {
    --bg: #07080c;
    --bg-2: #0b0d13;
    --surface: #10131b;
    --surface-2: #151925;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #eceef3;
    --muted: #9aa1b0;
    --dim: #6b7282;
    --coral: #ff4d5e;
    --orange: #ff9a3c;
    --teal: #2fd1a0;
    --violet: #8b7bff;
    --grad: linear-gradient(100deg, var(--coral), var(--orange));
    --radius: 18px;
    --radius-sm: 12px;
    --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.pb-icon { flex-shrink: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

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

.kicker {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600; font-size: 16px; line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(255, 77, 94, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(255, 110, 70, .7); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(7, 8, 12, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 150px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
    display: block; padding: 8px 14px; border-radius: 999px;
    font-size: 15px; font-weight: 500; color: var(--muted);
    transition: color .2s, background .2s;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero-glow-1 { width: 560px; height: 560px; background: var(--coral); top: -180px; right: -120px; opacity: .35; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow-2 { width: 460px; height: 460px; background: var(--orange); bottom: -200px; left: -140px; opacity: .22; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.1); } }

.hero-inner { position: relative; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; margin-bottom: 28px;
    border: 1px solid var(--line-strong); border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    font-size: 14px; color: var(--muted);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(47, 209, 160, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47, 209, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 209, 160, 0); } }

.hero-title {
    font-size: clamp(48px, 9vw, 112px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: .98;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-sub { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px;
    padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.hero-phone small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.hero-phone-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.hero-phone:hover { color: var(--orange); }

.hero-stats { display: flex; gap: 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1.1; }
.hero-stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

.hero-features { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 16px; margin-top: 40px; }
.hero-feature {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px 20px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
}
.hero-feature .pb-icon { color: var(--orange); margin-top: 3px; }
.hero-feature strong { display: block; font-family: var(--font-head); font-weight: 600; }
.hero-feature span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 130px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; }
.section-head p:last-child { color: var(--muted); font-size: 18px; margin: 0; }

.icon-tile {
    width: 44px; height: 44px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    color: var(--orange);
    background: linear-gradient(135deg, rgba(255, 77, 94, .14), rgba(255, 154, 60, .1));
    border: 1px solid rgba(255, 140, 80, .22);
}
.icon-tile-lg { width: 54px; height: 54px; border-radius: 14px; }

/* ---------- Apps ---------- */
.apps { background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(139, 123, 255, .08), transparent 70%), var(--bg-2); }
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.app-card {
    --accent: var(--orange);
    position: relative;
    display: flex; flex-direction: column;
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
}
.app-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 160px;
    background: radial-gradient(ellipse 70% 100% at 20% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
    pointer-events: none;
}
.app-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.accent-violet { --accent: var(--violet); }
.accent-teal { --accent: var(--teal); }
.accent-coral { --accent: var(--coral); }

.app-top { position: relative; display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.app-icon { width: 84px; height: 84px; flex-shrink: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.app-icon svg, .app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-id h3 { font-size: 26px; margin: 6px 0 2px; }
.app-tagline { font-size: 15px; color: var(--muted); margin: 0; }

.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status-live { color: var(--teal); }
.status-live i { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.status-review { color: #f5c04a; }
.status-review i { background: #f5c04a; }
.status-development { color: var(--violet); }
.status-development i { background: var(--violet); }

.app-text { position: relative; color: var(--muted); font-size: 16px; }
.app-features { display: grid; gap: 8px; margin: 4px 0 24px; }
.app-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.app-features .pb-icon { color: var(--accent); }

.app-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.app-platform { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--dim); }

.store-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 14px; border-radius: 10px;
    background: #fff; color: #000;
    font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.05;
    transition: transform .2s;
}
.store-badge small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 500; }
a.store-badge:hover { transform: translateY(-2px); }
.store-badge.is-soon { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }

.app-card-cta {
    justify-content: center;
    background: linear-gradient(160deg, rgba(255, 77, 94, .12), rgba(255, 154, 60, .05) 60%), var(--surface);
    border-style: dashed; border-color: rgba(255, 140, 80, .3);
}
.app-card-cta h3 { font-size: 28px; }
.app-card-cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card { background: var(--bg); padding: 34px 30px; transition: background .3s; }
.service-card:hover { background: var(--surface); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.service-num { font-family: var(--font-head); font-size: 14px; color: var(--dim); }
.service-card h3 { font-size: 22px; }
.service-card p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }

.benefits { margin-top: 72px; }
.benefits-title { font-size: clamp(26px, 3vw, 34px); text-align: center; margin-bottom: 36px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { text-align: center; padding: 32px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.benefit .icon-tile { margin: 0 auto 18px; }
.benefit h4 { font-size: 20px; }
.benefit p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Portfolio ---------- */
.portfolio { background: var(--bg-2); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project {
    display: flex; flex-direction: column; gap: 14px;
    padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in;
}
.project.is-extra { display: none; }
.portfolio-grid.show-all .project.is-extra { display: flex; }
.project-media {
    position: relative; display: block; width: 100%;
    aspect-ratio: 400 / 284;
    border-radius: 14px; overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.project-zoom {
    position: absolute; right: 12px; top: 12px;
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(7, 8, 12, .7); backdrop-filter: blur(8px);
    opacity: 0; transform: translateY(-4px); transition: all .25s;
}
.project:hover .project-media img { transform: scale(1.05); }
.project:hover .project-zoom, .project:focus-visible .project-zoom { opacity: 1; transform: none; }
.project-title { font-family: var(--font-head); font-weight: 600; font-size: 17px; padding-left: 2px; }
.project:hover .project-title { color: var(--orange); }

.portfolio-more { text-align: center; margin-top: 40px; }

.cta-strip {
    margin-top: 72px; padding: 36px 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    border-radius: var(--radius);
    background: linear-gradient(100deg, rgba(255, 77, 94, .14), rgba(255, 154, 60, .08));
    border: 1px solid rgba(255, 140, 80, .25);
}
.cta-strip p { margin: 0; font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; max-width: 620px; line-height: 1.3; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-bottom: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.about-intro h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.25; }
.about-copy p { color: var(--muted); }

.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; margin-bottom: 64px; }
.reason { display: flex; gap: 16px; align-items: flex-start; }
.reason h4 { font-size: 18px; margin-bottom: 6px; }
.reason p { color: var(--muted); font-size: 15.5px; margin: 0; }

.about-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.about-point { display: flex; gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.about-point h4 { font-size: 18px; }
.about-point p { color: var(--muted); font-size: 15.5px; margin: 0; }
.weekend-card { padding: 28px; border-radius: var(--radius); background: var(--grad); color: #fff; }
.weekend-card .kicker { color: rgba(255, 255, 255, .85); }
.weekend-card p { font-size: 16px; }
.weekend-contact { margin: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 15px !important; }
.weekend-contact a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact-panel {
    display: grid; grid-template-columns: 1.5fr 1fr;
    border-radius: 26px; overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--surface);
}
.contact-main { padding: clamp(32px, 5vw, 60px); }
.contact-main h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; }
.contact-main > p:not(.kicker) { color: var(--muted); font-size: 18px; max-width: 560px; margin-bottom: 28px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.contact-list a:hover { color: var(--orange); }

.contact-side { padding: clamp(32px, 5vw, 60px); background: linear-gradient(160deg, rgba(255, 77, 94, .2), rgba(255, 154, 60, .08)); border-left: 1px solid var(--line); }
.contact-side h3 { font-size: 24px; margin-bottom: 24px; }
.check-list { display: grid; gap: 16px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.check-list .pb-icon { color: var(--orange); }

/* Form modal */
.form-modal, .lightbox {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(3, 4, 7, .86);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.form-modal[hidden], .lightbox[hidden] { display: none; }
.form-modal-box { position: relative; width: min(860px, 100%); height: min(92vh, 1100px); background: #fff; border-radius: 18px; overflow: hidden; }
.form-modal-box iframe { width: 100%; height: 100%; border: 0; }
.form-modal-close, .lightbox-close {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    border: 0; cursor: pointer;
    background: rgba(0, 0, 0, .6); color: #fff;
}

/* Lightbox */
.lightbox { flex-direction: column; gap: 14px; }
.lightbox-close { position: fixed; top: 18px; right: 18px; background: rgba(255, 255, 255, .1); }
.lightbox-frame { width: min(1100px, 100%); max-height: 84vh; overflow-y: auto; border-radius: 14px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox-frame img { width: 100%; }
.lightbox-caption { font-family: var(--font-head); font-weight: 600; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.footer-brand img { width: 180px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 360px; font-size: 15.5px; }
.footer-title { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-list { display: grid; gap: 10px; font-size: 15.5px; color: var(--muted); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .pb-icon { color: var(--orange); }
.footer-contact a:hover { color: var(--text); }
.footer-note { margin-top: 22px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.footer-note strong { display: block; color: var(--text); margin-bottom: 4px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--dim); }
.footer-bottom p { margin: 0; }
.back-to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.back-to-top:hover { color: var(--text); }

/* ---------- Generic pages / blog ---------- */
.page-wrap { padding-top: calc(var(--header-h) + 70px); min-height: 70vh; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
.entry-content { color: #cfd3dc; }
.entry-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2, .entry-content h3 { color: var(--text); margin-top: 1.6em; }
.entry-content img { border-radius: 12px; }
.entry-thumb { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.post-list { display: grid; gap: 20px; }
.post-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.post-card h2 { font-size: 26px; }
.post-card h2 a:hover { color: var(--orange); }
.post-card p { color: var(--muted); }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .apps-grid, .services-grid, .portfolio-grid, .reasons-grid { grid-template-columns: repeat(2, 1fr); }
    .about-bottom { grid-template-columns: 1fr 1fr; }
    .weekend-card { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 18px;
        padding: 20px 20px 28px;
        background: rgba(7, 8, 12, .97);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .3s ease;
    }
    .nav-open .main-nav { transform: none; }
    .nav-open .site-header { background: rgba(7, 8, 12, .97); }
    .nav-list { flex-direction: column; }
    .nav-list a { padding: 12px 14px; font-size: 18px; }
    .nav-cta { justify-content: center; }

    .about-intro, .contact-panel { grid-template-columns: 1fr; }
    .contact-side { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .apps-grid, .services-grid, .portfolio-grid, .reasons-grid, .benefits-grid, .about-bottom, .footer-grid, .contact-list { grid-template-columns: 1fr; }
    .hero-features { grid-template-columns: 1fr; }
    .hero-stats { gap: 28px; }
    .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    .cta-strip { padding: 28px; }
    .app-card { padding: 24px; }
    .app-icon { width: 72px; height: 72px; border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
