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

:root {
    --bg:         #f7f4ef;
    --bg-alt:     #f0ece5;
    --bg-card:    #fdfcfa;
    --ink:        #141210;
    --ink-2:      #4a4642;
    --ink-3:      #9a9490;
    --red:        #d63b1f;
    --red-dim:    rgba(214,59,31,0.1);
    --red-faint:  rgba(214,59,31,0.05);
    --border:     rgba(20,18,16,0.09);
    --border-str: rgba(20,18,16,0.15);
    --shadow-sm:  0 1px 3px rgba(20,18,16,0.07), 0 4px 12px rgba(20,18,16,0.05);
    --shadow-lg:  0 12px 40px rgba(20,18,16,0.12), 0 4px 16px rgba(20,18,16,0.07);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Logo — dark logo works fine on light bg */
.logo-img { filter: none; }

/* ═══════════════════════════════
   NAV
═══════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(247,244,239,0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-cta {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--red);
    padding: 9px 20px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.nav-cta:hover { background: #bf3419; }

/* Hamburger */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.15s;
}

.nav-burger:hover { background: var(--bg-alt); }

.nav-burger span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
    transform-origin: center;
}

.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
    display: block;
    position: fixed;
    top: 62px; left: 0; right: 0;
    z-index: 199;
    background: rgba(247,244,239,0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.nav-mobile.open {
    max-height: 340px;
    padding: 16px 0 24px;
}

.nav-mobile a {
    display: block;
    padding: 13px 28px;
    font-size: 0.925rem;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-mobile a:hover { color: var(--ink); }

.nav-mobile .mobile-cta {
    margin: 14px 28px 0;
    display: block;
    text-align: center;
    background: var(--red);
    color: #fff;
    padding: 14px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-mobile .mobile-cta:hover { background: #bf3419; color: #fff; }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
    min-height: 100svh;
    padding-top: 62px;
    display: flex;
    align-items: center;
    background-color: var(--bg);
    background-image: radial-gradient(circle, rgba(20,18,16,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    position: relative;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--red);
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink-2);
    line-height: 1.85;
    max-width: 400px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-pri {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--red);
    padding: 14px 26px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-pri:hover { background: #bf3419; }

.btn-sec {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-2);
    border: 1px solid var(--border-str);
    padding: 13px 24px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.btn-sec:hover { border-color: var(--ink); color: var(--ink); }

/* Mobile single preview */
.mobile-preview {
    display: none;
    margin-top: 40px;
}

.mobile-preview-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    max-width: 400px;
    margin: 0 auto;
}

/* ── Hero stacked previews ── */
.hero-right {
    position: relative;
    height: 500px;
}

.preview-card {
    position: absolute;
    width: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.preview-card:nth-child(1) {
    top: 0; left: -20px;
    transform: rotate(-5deg) translateY(10px);
    z-index: 1;
}

.preview-card:nth-child(2) {
    top: 60px; left: 45px;
    transform: rotate(2.5deg);
    z-index: 2;
}

.preview-card:nth-child(3) {
    top: 145px; left: 100px;
    transform: rotate(-1.5deg);
    z-index: 3;
}

/* ── Browser chrome ── */
.chrome-bar {
    background: #eeecea;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
}

.chrome-dots { display: flex; gap: 5px; flex-shrink: 0; }

.chrome-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.chrome-dot-r { background: #ff5f57; }
.chrome-dot-y { background: #febc2e; }
.chrome-dot-g { background: #28c840; }

.chrome-url {
    flex: 1;
    background: #fff;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 10px;
    color: #999;
    font-family: monospace;
    border: 1px solid rgba(0,0,0,0.07);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-iframe-wrap {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.preview-iframe-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 1440px;
    height: 900px;
    transform-origin: top left;
    border: none;
    pointer-events: none;
}

/* ═══════════════════════════════
   STATS STRIP
═══════════════════════════════ */
.stats-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    padding: 32px 24px;
}

.stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 0 28px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; bottom: 15%;
    width: 1px;
    background: var(--border);
}

.stat-num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--ink-3);
    font-weight: 400;
}

/* ═══════════════════════════════
   SHARED SECTION
═══════════════════════════════ */
.section {
    padding: 96px 28px;
}

.section-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 52px;
}

.section-label-txt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}

.section-label-txt::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--red);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.section-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.05;
}

.section-sub {
    font-size: 0.9375rem;
    color: var(--ink-2);
    margin-top: 10px;
    font-weight: 300;
}

.section-bordered { border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); }
.section-header--center { text-align: center; }
.section-header--center .section-label-txt { justify-content: center; }

/* ═══════════════════════════════
   PORTFOLIO
═══════════════════════════════ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mockup-card {
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
}

.mockup-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
    z-index: 2;
}

.mockup-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.mockup-card:hover::before { transform: scaleX(1); }

.port-chrome {
    background: #f0efed;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.port-url {
    flex: 1;
    background: #fff;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 10px;
    color: #999;
    font-family: monospace;
    border: 1px solid rgba(0,0,0,0.07);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 16 / 10;
}

.iframe-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.mockup-card:hover .iframe-container img { transform: scale(1.02); }

.iframe-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.22s ease;
    z-index: 2;
}

.mockup-card:hover .iframe-overlay {
    opacity: 1;
    background: rgba(20,18,16,0.44);
}

.view-btn {
    background: var(--red);
    color: #fff;
    padding: 10px 22px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    pointer-events: auto;
    transition: background 0.15s, transform 0.15s;
}

.view-btn:hover { background: #bf3419; transform: scale(1.03); }

.card-info {
    padding: 15px 16px 18px;
    border-top: 1px solid var(--border);
}

.card-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.card-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.card-sub {
    font-size: 0.72rem;
    color: var(--ink-3);
    margin-top: 2px;
}

.card-tag {
    font-size: 0.62rem;
    color: var(--ink-3);
    border: 1px solid var(--border-str);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.card-desc {
    font-size: 0.77rem;
    color: var(--ink-2);
    line-height: 1.65;
}

/* ═══════════════════════════════
   SERVICES
═══════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    border-radius: 10px 10px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--red-faint);
    border: 1px solid rgba(214,59,31,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--red);
}

.service-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--ink-2);
    line-height: 1.75;
    margin-bottom: 22px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.service-list li {
    font-size: 0.8125rem;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li::before {
    content: '';
    display: block;
    width: 12px;
    height: 1.5px;
    background: var(--red);
    flex-shrink: 0;
    opacity: 0.7;
}

/* ═══════════════════════════════
   PROCESS
═══════════════════════════════ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(33.33% - 12px);
    right: calc(33.33% - 12px);
    height: 1px;
    background: var(--border-str);
    pointer-events: none;
}

.process-step {
    position: relative;
    overflow: hidden;
}

.process-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--red);
    background: var(--red-faint);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.process-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.process-desc {
    font-size: 0.875rem;
    color: var(--ink-2);
    line-height: 1.82;
}

/* ═══════════════════════════════
   TESTIMONIALS
═══════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--red);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.68;
    color: var(--ink-2);
    flex: 1;
}

.testimonial-author {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.testimonial-role {
    font-size: 0.72rem;
    color: var(--ink-3);
    margin-top: 2px;
}

/* ═══════════════════════════════
   CONTACT
═══════════════════════════════ */
.contact-inner {
    max-width: 520px;
    margin: 0 auto;
}

.contact-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    color: var(--ink-2);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.contact-chip:hover {
    border-color: var(--red);
    color: var(--red);
    background: var(--red-faint);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group { margin-bottom: 10px; }

.form-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 7px;
}

.form-input, .form-textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-str);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-dim);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-3); }

.form-textarea { resize: none; min-height: 120px; }

.form-submit {
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 4px;
}

.form-submit:hover { background: #bf3419; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Success message */
.success-msg {
    display: none;
    text-align: center;
    padding: 52px 0;
}

.success-msg.is-visible { display: block; }

.success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--red);
}

.success-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.success-sub {
    font-size: 0.875rem;
    color: var(--ink-2);
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 28px;
    background: var(--bg-card);
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
}

.footer-copy { font-size: 0.72rem; color: var(--ink-3); }

.footer-links {
    display: flex;
    gap: 22px;
    list-style: none;
}

.footer-links a {
    font-size: 0.72rem;
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover { color: var(--red); }

/* ═══════════════════════════════
   SCROLL REVEAL
═══════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 960px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }

    .hero {
        display: block;
        min-height: unset;
        padding-top: 62px;
    }

    .hero-inner {
        display: block;
        padding: 52px 24px 56px;
        text-align: center;
    }

    .hero-eyebrow { justify-content: center; }
    .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-right { display: none; }
    .mobile-preview { display: block; }

    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; gap: 32px; }
    .process-grid::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .stat-item { padding: 0 16px; }
    .stat-num { font-size: 1.4rem; }
}

@media (max-width: 580px) {
    .portfolio-grid { grid-template-columns: 1fr; gap: 12px; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 64px 20px; }

    .stats-inner { flex-wrap: wrap; }
    .stat-item { min-width: 50%; max-width: 50%; padding: 16px 12px; }
    .stat-item + .stat-item::before { display: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
    .footer-links { justify-content: center; }

    .hero-title { font-size: 2.2rem; }
}
