:root {
    --bg: #060b18;
    --bg-2: #0a1224;
    --ink: #101828;
    --muted: #667085;
    --line: rgba(148, 163, 184, 0.2);
    --white: #ffffff;
    --soft: #f5f7fb;
    --accent: #16b8ff;
    --accent-2: #7c3aed;
    --green: #22c55e;
    --shadow: 0 30px 90px rgba(6, 11, 24, 0.18);
    --radius: 20px;
    --display: "Poppins", "Inter", sans-serif;
    --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: var(--body);
    letter-spacing: 0;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
main { overflow: hidden; }

.site-header {
    position: fixed;
    z-index: 80;
    top: 16px;
    left: 50%;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    color: var(--white);
    background: rgba(6, 11, 24, 0.66);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px);
}
.site-header.scrolled { background: rgba(6, 11, 24, 0.92); }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--display);
    font-weight: 900;
}
.brand img { border-radius: 14px; }
.site-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}
.site-nav a:hover, .site-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
.nav-cta {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(22, 184, 255, 0.28);
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 15px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    border-radius: 99px;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    padding: 132px max(22px, calc((100vw - 1180px) / 2)) 76px;
    color: var(--white);
    background:
        radial-gradient(circle at 14% 24%, rgba(22, 184, 255, 0.28), transparent 26%),
        radial-gradient(circle at 76% 24%, rgba(124, 58, 237, 0.28), transparent 26%),
        linear-gradient(135deg, #060b18, #0b1328 58%, #08111f);
}
.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 11, 24, 0.96), rgba(6, 11, 24, 0.72), rgba(6, 11, 24, 0.34)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center/cover;
    opacity: 0.58;
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
    gap: 48px;
    align-items: center;
    width: 100%;
}
.eyebrow {
    margin: 0 0 14px;
    color: #89f7c2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
h1, h2, h3 {
    margin: 0;
    font-family: var(--display);
    letter-spacing: 0;
    line-height: 1.04;
}
h1 { font-size: clamp(44px, 7vw, 86px); max-width: 940px; }
h2 { font-size: clamp(30px, 4.4vw, 56px); }
h3 { font-size: 23px; }
p { line-height: 1.72; }
.hero-text {
    max-width: 690px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 19px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 48px rgba(22, 184, 255, 0.28);
}
.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}
.btn-ghost.dark {
    color: var(--ink);
    border-color: rgba(16, 24, 40, 0.1);
    background: #ffffff;
}
.full { width: 100%; }
.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}
.proof-row span {
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.08);
}
.proof-row strong { color: var(--white); }

.hero-panel {
    padding: 1px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.32), rgba(255,255,255,0.08));
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.32);
}
.browser-card {
    min-height: 520px;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.07)),
        rgba(7, 14, 31, 0.78);
    backdrop-filter: blur(28px);
}
.browser-top {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
}
.browser-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}
.metric-card {
    border-radius: 24px;
    padding: 26px;
    background: linear-gradient(135deg, rgba(22, 184, 255, 0.22), rgba(124, 58, 237, 0.24));
}
.metric-card small, .metric-stack span {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 800;
}
.metric-card strong {
    display: block;
    margin: 8px 0;
    font-family: var(--display);
    font-size: 68px;
}
.metric-card em {
    color: rgba(255, 255, 255, 0.74);
    font-style: normal;
}
.metric-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}
.metric-stack div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}
.metric-stack strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
}
.chart-bars {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    align-items: end;
    height: 132px;
    margin-top: 26px;
}
.chart-bars i {
    display: block;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, #89f7c2, var(--accent));
}
.chart-bars i:nth-child(1) { height: 38%; }
.chart-bars i:nth-child(2) { height: 58%; }
.chart-bars i:nth-child(3) { height: 46%; }
.chart-bars i:nth-child(4) { height: 74%; }
.chart-bars i:nth-child(5) { height: 62%; }
.chart-bars i:nth-child(6) { height: 92%; }

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    background: var(--white);
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}
.logo-strip span, .logo-strip strong {
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 13px;
}
.logo-strip span { color: var(--muted); }
.logo-strip strong { background: #eef4ff; }

.section, .lead-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 98px 0;
}
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 36px;
}
.section-head h2 { max-width: 790px; }
.section-copy, .rich-text p, .premium-card p, .service-detail p, .lead-copy p, .value-card p {
    color: var(--muted);
}
.inline-link {
    color: var(--accent-2);
    font-weight: 900;
}
.inline-link.light { color: #89f7c2; }
.service-grid, .usp-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.usp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.premium-card {
    position: relative;
    overflow: hidden;
    min-height: 274px;
    padding: 28px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.premium-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--green));
}
.premium-card:hover, .service-detail:hover, .portfolio-item:hover, .work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.icon-chip {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 16px;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.dark-band {
    width: 100%;
    max-width: none;
    padding-left: max(20px, calc((100vw - 1180px) / 2));
    padding-right: max(20px, calc((100vw - 1180px) / 2));
    color: var(--white);
    background:
        radial-gradient(circle at 15% 20%, rgba(22, 184, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #060b18, #101a33);
}
.portfolio-preview {
    display: grid;
    grid-template-columns: 1.45fr 0.9fr;
    grid-template-rows: repeat(2, 260px);
    gap: 22px;
}
.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #111827;
    transition: 0.25s ease;
}
.work-card.large { grid-row: span 2; }
.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.work-card:hover img { transform: scale(1.04); opacity: 0.92; }
.work-card div {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(6, 11, 24, 0.62);
    backdrop-filter: blur(18px);
}
.work-card span, .portfolio-item small, .modal-card small {
    color: #89f7c2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.split {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
    align-items: start;
}
.feature-list { display: grid; gap: 16px; }
.feature {
    padding: 22px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}
.feature strong { display: block; margin-bottom: 8px; font-size: 20px; }
.feature span { color: var(--muted); line-height: 1.65; }

.testimonial-shell {
    position: relative;
    min-height: 360px;
    padding: 48px;
    border-radius: 30px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(22, 184, 255, 0.22), rgba(124, 58, 237, 0.26)),
        #07101f;
    box-shadow: var(--shadow);
}
.testimonial { display: none; margin: 0; }
.testimonial.active { display: block; animation: rise 0.35s ease both; }
.testimonial blockquote {
    max-width: 860px;
    margin: 0 0 26px;
    font-family: var(--display);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.12;
}
.testimonial figcaption { display: grid; gap: 5px; }
.testimonial figcaption span { color: rgba(255,255,255,0.68); }
.testimonial-controls {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    gap: 10px;
}
.testimonial-controls button {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 11px 15px;
    color: var(--white);
    background: rgba(255,255,255,0.08);
    cursor: pointer;
}

.lead-section {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 34px;
    align-items: start;
}
.lead-copy {
    position: sticky;
    top: 130px;
}
.lead-form {
    padding: 28px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.lead-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 900;
}
.lead-form input, .lead-form textarea {
    width: 100%;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 16px;
    padding: 15px 16px;
    outline: none;
    color: var(--ink);
    background: #f8fafc;
    transition: 0.2s ease;
}
.lead-form input:focus, .lead-form textarea:focus {
    border-color: rgba(22, 184, 255, 0.75);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(22, 184, 255, 0.12);
}
.trap {
    position: absolute;
    left: -9999px;
}
.form-alert {
    display: none;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 800;
}
.form-alert.show { display: block; }
.form-alert.success { color: #065f46; background: #dcfce7; }
.form-alert.error { color: #991b1b; background: #fee2e2; }

.page-hero {
    position: relative;
    min-height: 66vh;
    display: flex;
    align-items: end;
    padding: 150px max(22px, calc((100vw - 1180px) / 2)) 82px;
    color: var(--white);
    background: var(--bg);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    opacity: 0.54;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,11,24,0.96), rgba(6,11,24,0.68), rgba(6,11,24,0.34)), linear-gradient(180deg, transparent, rgba(6,11,24,0.88));
}
.about-bg::before { background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85"); }
.services-bg::before { background-image: url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=85"); }
.portfolio-bg::before { background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85"); }
.contact-bg::before { background-image: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85"); }
.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
}
.page-hero-inner p:last-child {
    max-width: 720px;
    color: rgba(255,255,255,0.74);
    font-size: 18px;
}
.rich-text { font-size: 18px; }
.value-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.value-card {
    padding: 34px;
    border-radius: 26px;
    color: var(--white);
    background: linear-gradient(135deg, #07101f, #162443);
    box-shadow: var(--shadow);
}
.value-card span {
    color: #89f7c2;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.stats-ribbon {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 96px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.stat {
    padding: 26px;
    border-radius: 22px;
    text-align: center;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(16,24,40,0.08);
}
.stat strong {
    display: block;
    font-family: var(--display);
    font-size: 44px;
}
.stat span { color: var(--muted); font-weight: 800; }

.services-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.service-detail {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid rgba(16,24,40,0.08);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 18px 56px rgba(16,24,40,0.08);
    transition: 0.25s ease;
}
.service-detail span {
    color: var(--accent-2);
    font-weight: 900;
    margin-bottom: 22px;
}
.service-detail .btn { margin-top: auto; }
.cta-panel {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 86px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 44px;
    border-radius: 30px;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: var(--shadow);
}
.cta-panel .eyebrow { color: rgba(255,255,255,0.78); }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.filter-bar button {
    border: 1px solid rgba(16,24,40,0.1);
    border-radius: 999px;
    padding: 11px 16px;
    background: var(--white);
    font-weight: 900;
    cursor: pointer;
}
.filter-bar button.active {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.portfolio-item {
    overflow: hidden;
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(16,24,40,0.08);
    transition: 0.25s ease;
}
.portfolio-item button {
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
}
.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item button span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(6,11,24,0.75);
    font-size: 12px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.2s ease;
}
.portfolio-item:hover button span { opacity: 1; transform: translateY(0); }
.portfolio-item div { padding: 22px; }
.portfolio-item h2 { margin-top: 8px; font-size: 23px; }
.portfolio-item p { color: var(--muted); }
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 24px;
}
.modal.open { display: grid; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6,11,24,0.76);
    backdrop-filter: blur(12px);
}
.modal-card {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    overflow: hidden;
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 34px 110px rgba(0,0,0,0.35);
}
.modal-card img {
    width: 100%;
    height: 370px;
    object-fit: cover;
}
.modal-card div { padding: 30px; }
.modal-card h2 { margin-top: 8px; font-size: 38px; }
.modal-card p { color: var(--muted); }
.modal-card strong { display: block; margin-bottom: 24px; }
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--white);
    background: rgba(6,11,24,0.72);
    font-weight: 900;
    cursor: pointer;
}

.contact-section {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 24px;
}
.contact-card, .map-card {
    overflow: hidden;
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.contact-card { padding: 30px; }
.contact-card a:not(.btn) {
    display: inline-flex;
    margin: 10px 0;
    color: var(--accent-2);
    font-weight: 900;
}
.map-card iframe {
    display: block;
    width: 100%;
    min-height: 440px;
    border: 0;
}

.site-footer {
    padding: 70px max(22px, calc((100vw - 1180px) / 2)) 30px;
    color: rgba(255,255,255,0.72);
    background: var(--bg);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
}
.site-footer h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-family: var(--display);
    font-size: 15px;
}
.site-footer a {
    display: table;
    margin: 9px 0;
    color: rgba(255,255,255,0.76);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}
.wa-float, .top-button {
    position: fixed;
    z-index: 60;
    right: 22px;
    border: 0;
    box-shadow: 0 18px 44px rgba(6,11,24,0.22);
}
.wa-float {
    bottom: 88px;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    color: var(--white);
    background: #16a34a;
    font-weight: 900;
}
.top-button {
    bottom: 24px;
    width: 58px;
    height: 46px;
    border-radius: 16px;
    color: var(--white);
    background: var(--bg);
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}
.top-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1020px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        inset: 72px 0 auto;
        display: none;
        width: 100%;
        padding: 12px;
        border-radius: 20px;
        background: rgba(6,11,24,0.96);
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: grid; }
    .nav-cta { display: none; }
    .hero-grid, .split, .lead-section, .contact-section, .cta-panel, .section-head {
        grid-template-columns: 1fr;
    }
    .hero-grid { gap: 34px; }
    .hero-panel { max-width: 560px; }
    .lead-copy { position: static; }
    .service-grid, .usp-grid, .portfolio-grid, .services-matrix, .value-band, .stats-ribbon, .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .portfolio-preview {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .work-card, .work-card.large { height: 320px; grid-row: auto; }
}

@media (max-width: 680px) {
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 18px;
    }
    .hero, .page-hero {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero { padding-top: 124px; min-height: auto; }
    h1 { font-size: 42px; }
    h2 { font-size: 30px; }
    .hero-text { font-size: 17px; }
    .section, .lead-section {
        width: calc(100% - 32px);
        padding: 72px 0;
    }
    .service-grid, .usp-grid, .portfolio-grid, .services-matrix, .value-band, .stats-ribbon, .footer-grid, .form-row, .metric-stack {
        grid-template-columns: 1fr;
    }
    .browser-card { min-height: 430px; }
    .metric-card strong { font-size: 54px; }
    .testimonial-shell, .cta-panel {
        padding: 26px;
        border-radius: 24px;
    }
    .testimonial blockquote { font-size: 28px; }
    .testimonial-controls {
        position: static;
        margin-top: 24px;
    }
    .modal-card img { height: 240px; }
    .footer-bottom { display: grid; }
}
