/* ==========================================================================
   Focus Inspection Bureau — main stylesheet
   ========================================================================== */

:root {
    --red: #d92128;
    --red-dark: #b3181f;
    --red-soft: #fdeeee;
    --dark: #14161a;
    --dark-2: #1d2026;
    --ink: #1d2129;
    --body: #4a5058;
    --muted: #7a818b;
    --line: #e7e9ec;
    --bg-soft: #f6f7f9;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(20, 22, 26, .06);
    --shadow-md: 0 6px 24px -6px rgba(20, 22, 26, .12);
    --shadow-lg: 0 20px 48px -12px rgba(20, 22, 26, .18);
    --radius: 14px;
    --radius-sm: 8px;
    --container: 1160px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--red-dark); }
ul, ol { list-style: none; }
strong { color: var(--ink); font-weight: 600; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5 {
    font-weight: 800;
    line-height: 1.18;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.2;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(217, 33, 40, .55); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--bg-soft); color: var(--red-dark); transform: translateY(-1px); }
.btn-lg { padding: 16px 34px; font-size: 16.5px; }

/* Topbar ------------------------------------------------------------------ */
.topbar { background: var(--dark); color: rgba(255,255,255,.82); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.topbar-note { display: inline-flex; align-items: center; gap: 7px; }
.topbar-note svg { color: var(--red); opacity: 1; }
.topbar-right { display: flex; align-items: center; gap: 22px; }

/* Header / nav ------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    display: block;
    padding: 10px 14px;
    font-weight: 550;
    font-size: 15px;
    color: var(--ink);
    border-radius: 8px;
}
.nav a:hover { color: var(--red); background: var(--red-soft); }
.nav a.active { color: var(--red); }
.header-cta { flex: none; }
.header-cta .btn { padding: 12px 22px; font-size: 14.5px; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero (home) --------------------------------------------------------------- */
.hero {
    position: relative;
    color: #fff;
    background: var(--dark);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 30%; }
.hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(92deg, rgba(13,15,18,.93) 0%, rgba(13,15,18,.82) 34%, rgba(13,15,18,.45) 68%, rgba(13,15,18,.25) 100%);
}
.hero-inner { position: relative; padding: 120px 0 130px; max-width: 640px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(217, 33, 40, .92);
    padding: 7px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 20px; }
.hero p.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: rgba(255,255,255,.88); margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats strip ---------------------------------------------------------------- */
.stats { background: var(--dark-2); color: #fff; position: relative; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.09); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.15; }
.stat b span { color: var(--red); }
.stat small { font-size: 13px; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* Sections ------------------------------------------------------------------ */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.8); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--body); }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* Cards / feature grids ------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 18.5px; margin: 18px 0 10px; }
.card p { font-size: 15px; }

.icon-badge {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    display: flex; align-items: center; justify-content: center;
}
.icon-badge svg { width: 26px; height: 26px; }

/* Service cards ---------------------------------------------------------------- */
.service-card { position: relative; display: flex; flex-direction: column; }
.service-card .tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-soft);
    border-radius: 100px;
    padding: 4px 12px;
    margin: 16px 0 10px;
}
.service-card h3 { margin-top: 0; }
.service-card .more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.service-card .more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.service-card:hover .more svg { transform: translateX(3px); }

/* Split feature -------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media .floating-card {
    position: absolute;
    left: -28px; bottom: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 18px 22px;
    display: flex; align-items: center; gap: 14px;
    max-width: 300px;
}
.floating-card b { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.floating-card small { color: var(--muted); font-size: 13px; }
.split-body h2 { font-size: clamp(27px, 3vw, 37px); margin-bottom: 18px; }
.split-body > p { margin-bottom: 22px; font-size: 16.5px; }

.checklist { display: grid; gap: 13px; margin: 24px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.checklist svg { width: 21px; height: 21px; color: var(--red); flex: none; margin-top: 2px; }

/* Industries ------------------------------------------------------------------- */
.industry-card { text-align: center; padding: 36px 24px; }
.industry-card .icon-badge { margin: 0 auto; }
.industry-card p { font-size: 14.5px; }
a.card { color: var(--body); }
a.card:hover { color: var(--body); }
a.card:hover h3 { color: var(--red); }

/* Coverage / map ------------------------------------------------------------------ */
.coverage-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.city-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.city-chips span {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 9px 18px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.city-chips svg { width: 15px; height: 15px; color: var(--red); }

/* Page hero (subpages) ------------------------------------------------------------ */
.page-hero {
    position: relative;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,15,18,.2), rgba(13,15,18,.65)); }
.page-hero-inner { position: relative; padding: 78px 0 82px; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; }
.page-hero p { font-size: 17.5px; color: rgba(255,255,255,.85); }
.breadcrumb { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; color: var(--red); }

/* Service detail blocks ------------------------------------------------------------- */
.service-detail {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 40px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}
.service-detail .service-stage {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--red);
    background: var(--red-soft);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.service-detail h3 { font-size: 23px; margin-bottom: 16px; }
.service-detail .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.service-detail h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.service-detail p { font-size: 15.5px; }

/* Tables ----------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.table-wrap table { min-width: 640px; }
.table-wrap th {
    background: var(--dark);
    color: #fff;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 15px 20px;
    white-space: nowrap;
}
.table-wrap td { padding: 15px 20px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.table-wrap tbody tr:nth-child(even) { background: var(--bg-soft); }
.table-wrap td:first-child { font-weight: 600; color: var(--ink); }

/* Pricing ----------------------------------------------------------------------- */
.price-banner {
    background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
    border-radius: var(--radius);
    color: #fff;
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    box-shadow: 0 24px 48px -16px rgba(217,33,40,.45);
}
.price-banner h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.price-banner .price { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price-banner .price small { font-size: 16px; font-weight: 600; opacity: .85; }
.price-banner p { color: rgba(255,255,255,.9); font-size: 15px; max-width: 460px; }
.price-notes { display: grid; gap: 12px; margin-top: 28px; }
.price-notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.price-notes svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }

/* Steps (booking) ------------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 0; position: relative; }
.step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 26px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: step;
}
.step:last-child { border-bottom: 0; }
.step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 800;
    font-size: 21px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px -6px rgba(217,33,40,.5);
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step ul { margin-top: 12px; display: grid; gap: 8px; }
.step ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.step ul svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.step .note { margin-top: 12px; font-size: 14px; background: var(--red-soft); color: var(--red-dark); border-radius: var(--radius-sm); padding: 10px 16px; display: inline-block; font-weight: 500; }

/* Values (about) ------------------------------------------------------------------- */
.value-row { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.value-row:last-child { border-bottom: 0; }
.value-row h3 { font-size: 17.5px; margin-bottom: 5px; }
.value-row p { font-size: 15px; }

/* Notice / policy blocks -------------------------------------------------------------- */
.policy-block { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 28px 32px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.policy-block h3 { font-size: 19px; margin-bottom: 12px; }
.policy-block ul { display: grid; gap: 9px; margin-top: 10px; }
.policy-block ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.policy-block ul svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.scope-note { background: var(--dark); color: rgba(255,255,255,.85); border: 0; border-left: 4px solid var(--red); }
.scope-note h3 { color: #fff; }

/* CTA band ------------------------------------------------------------------------ */
.cta-band { position: relative; background: var(--dark); overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; max-width: 620px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 560px; }

/* Contact ------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: flex-start; }
.contact-info-card { background: var(--dark); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: 38px 34px; position: sticky; top: 110px; }
.contact-info-card h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.contact-info-card > p { font-size: 15px; margin-bottom: 26px; }
.contact-lines { display: grid; gap: 18px; margin-bottom: 30px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }
.contact-lines b { display: block; color: #fff; font-size: 14.5px; font-weight: 600; }
.contact-lines a, .contact-lines span { color: rgba(255,255,255,.75); font-size: 14.5px; }
.contact-lines a:hover { color: #fff; }
.contact-info-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 26px 0; }
.contact-info-card h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.contact-info-card .mini-list { display: grid; gap: 8px; }
.contact-info-card .mini-list li { display: flex; gap: 9px; font-size: 13.5px; align-items: flex-start; }
.contact-info-card .mini-list svg { width: 15px; height: 15px; color: var(--red); flex: none; margin-top: 3px; }

/* Forms -------------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 15px;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 13px 16px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(217, 33, 40, .1);
}
.field textarea { resize: vertical; min-height: 130px; }
.captcha-row { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.captcha-row input { width: 90px; text-align: center; }
.alert { border-radius: 10px; padding: 15px 20px; font-size: 15px; margin-bottom: 24px; font-weight: 500; }
.alert-error { background: var(--red-soft); color: var(--red-dark); border: 1px solid #f3c2c4; }
.alert-success { background: #e9f7ef; color: #1c7c3d; border: 1px solid #bfe5cd; }

/* Footer ------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-main { padding: 72px 0 56px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s ease, transform .18s ease;
}
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; letter-spacing: -0.01em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }

/* Reveal animation ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 44px; }
    .split-media .floating-card { left: 16px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-card { position: static; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(320px, 84vw);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 96px 24px 32px;
        box-shadow: -12px 0 40px rgba(20,22,26,.16);
        transform: translateX(100%);
        transition: transform .28s ease;
        overflow-y: auto;
        z-index: 90;
    }
    .nav a { font-size: 16.5px; padding: 13px 16px; }
    .nav-open .nav { transform: none; }
    .nav-toggle { display: block; position: relative; z-index: 95; }
    .header-cta { display: none; }
    .topbar .container { justify-content: center; }
    .topbar-right { display: none; }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .hero-inner { padding: 84px 0 92px; }
    .grid-4, .grid-3, .grid-2, .form-grid, .service-detail .cols { grid-template-columns: 1fr; }
    .stats .container { grid-template-columns: repeat(2, 1fr); }
    .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
    .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
    .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.09); }
    .footer-main { grid-template-columns: 1fr; gap: 36px; }
    .price-banner { padding: 32px 28px; }
    .service-detail { padding: 28px 24px; }
    .split-media .floating-card { position: static; margin-top: 16px; max-width: none; }
    .step { grid-template-columns: 48px 1fr; gap: 18px; }
    .step-num { width: 44px; height: 44px; font-size: 17px; }
    .form-card { padding: 28px 22px; }
}
