:root {
    --navy: #10233B;
    --navy-deep: #0A1727;
    --navy-soft: #1D3A5F;
    --ink: #212121;
    --muted: #5A6572;
    --amber: #F5A623;
    --amber-hover: #DD9210;
    --white: #FFFFFF;
    --sand: #F5F7F9;
    --line: #E1E6EB;
    --header-h: 72px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

p { color: var(--ink); }

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 92px 0; }

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 14px;
    display: block;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: 2.3rem; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons: one filled style for every primary CTA ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 26px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.97rem;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    line-height: 1.2;
}

.btn-primary {
    background: var(--amber);
    color: var(--navy-deep);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background: var(--amber-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 166, 35, 0.35);
}

.btn-sm { padding: 11px 18px; font-size: 0.9rem; }

/* Quiet secondary action that never competes with the primary CTA */
.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.link-quiet {
    color: var(--navy-soft);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(29, 58, 95, 0.3);
    padding-bottom: 1px;
}
.link-quiet:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- 1. Sticky header ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(16, 35, 59, 0.09); }

.header-inner {
    max-width: 1180px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-size: 1.42rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--navy);
    white-space: nowrap;
}
.logo span { color: var(--amber); }

/* Header lockup: the logo artwork replaces the wordmark in the top bar */
.logo-mark {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    display: block;
    height: 46px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 26px;
    margin-left: auto;
}
.nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}
.nav a:hover { color: var(--amber); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Phone stays plain text so it never competes with the button */
.header-phone {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}
.header-phone:hover { color: var(--amber); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger span {
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

/* ---------- 2. Hero ---------- */
.hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: calc(var(--header-h) + 84px) 0 84px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--amber); }

.hero-sub {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 660px;
    margin: 0 auto 32px;
}

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

.microcopy {
    margin-top: 18px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- 3. Trust bar ---------- */
.trust {
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 40px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.trust-item { border-left: 3px solid var(--amber); padding-left: 16px; }
.trust-stat {
    font-weight: 800;
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.trust-label {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ---------- 4. Problem ---------- */
.problem h2 { font-size: 2.3rem; margin-bottom: 16px; max-width: 780px; }
.problem-lead { color: var(--muted); font-size: 1.08rem; max-width: 700px; margin-bottom: 40px; }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.problem-card {
    background: var(--sand);
    border-top: 3px solid var(--navy-soft);
    padding: 26px;
    border-radius: 4px;
}
.problem-card h3 { font-size: 1rem; margin-bottom: 10px; }
.problem-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- 5. Solution ---------- */
.solution { background: var(--navy); color: var(--white); }
.solution h2 { color: var(--white); font-size: 2.3rem; margin-bottom: 20px; }
.solution-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}
.solution p { color: rgba(255, 255, 255, 0.8); font-size: 1.06rem; margin-bottom: 16px; }
.pull-quote {
    border-left: 4px solid var(--amber);
    padding: 6px 0 6px 24px;
}
.pull-quote strong {
    display: block;
    color: var(--white);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.pull-quote span { color: rgba(255, 255, 255, 0.65); font-size: 0.97rem; }

/* ---------- 6. Services ---------- */
.services { background: var(--sand); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
    border-color: var(--navy-soft);
    box-shadow: 0 14px 32px rgba(16, 35, 59, 0.09);
}
.service-icon {
    width: 44px; height: 44px;
    border-radius: 6px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-icon svg {
    width: 22px; height: 22px;
    stroke: var(--amber);
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ---------- 7. Who it's for ---------- */
.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.who-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.who-card:hover {
    border-color: var(--amber);
    box-shadow: 0 14px 32px rgba(16, 35, 59, 0.08);
}
.who-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.who-card p { color: var(--muted); margin-bottom: 26px; flex-grow: 1; }

/* ---------- 8. How it works ---------- */
.how { background: var(--sand); }
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    counter-reset: step;
}
.step { position: relative; padding-top: 22px; }
.step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: -28px;
    height: 3px;
    background: var(--line);
}
.step:last-child::before { right: 0; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--amber);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 9. Proof ---------- */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}
.proof-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 30px;
}
.proof-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.proof-card h3 span { color: var(--amber); }
.proof-card p { color: var(--muted); font-size: 0.98rem; }

.founder {
    background: var(--sand);
    border-left: 4px solid var(--amber);
    border-radius: 4px;
    padding: 34px 36px;
    max-width: 860px;
}
.founder p { font-size: 1.08rem; margin-bottom: 14px; }
.founder-by { font-weight: 700; color: var(--navy); font-size: 0.95rem; }

/* ---------- 10. Comparison ---------- */
.compare { background: var(--navy); color: var(--white); }
.compare h2 { color: var(--white); }
.compare .section-head p { color: rgba(255, 255, 255, 0.75); }
.table-scroll { overflow-x: auto; }
.compare table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    overflow: hidden;
}
.compare th, .compare td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.97rem;
}
.compare thead th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.18);
}
.compare thead th:last-child { color: var(--amber); }
.compare tbody th { font-weight: 600; color: var(--white); width: 34%; }
.compare td { color: rgba(255, 255, 255, 0.6); }
.compare td.yes { color: var(--white); font-weight: 700; }
.compare td.yes::before {
    content: '✓';
    color: var(--amber);
    font-weight: 700;
    margin-right: 8px;
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.col-best { background: rgba(245, 166, 35, 0.07); }

/* ---------- Selected project experience ---------- */
.projects { background: var(--sand); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* Clickable trade square: the whole card is the link to that trade's examples */
.trade-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.trade-card:hover {
    border-color: var(--navy-soft);
    box-shadow: 0 14px 32px rgba(16, 35, 59, 0.09);
    transform: translateY(-2px);
}
.trade-card:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}
.tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-soft);
    background: rgba(29, 58, 95, 0.08);
    border-radius: 3px;
    padding: 4px 9px;
    margin-bottom: 16px;
}
.trade-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.project-scope {
    color: var(--muted);
    font-size: 0.93rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.trade-cta {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-soft);
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.trade-card:hover .trade-cta { color: var(--amber); }

/* ---------- Trade example detail page ---------- */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: calc(var(--header-h) + 64px) 0 64px;
}
.page-hero h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 680px; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--amber); }
.back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.back-link:hover { color: var(--white); }

.doc-list {
    display: grid;
    gap: 14px;
    margin-bottom: 56px;
}
.doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 22px 26px;
}
.doc-row h3 { font-size: 1.05rem; margin-bottom: 6px; }
.doc-row p { color: var(--muted); font-size: 0.93rem; }
.doc-text { flex: 1 1 320px; }
.doc-row-soon { background: var(--sand); border-style: dashed; }
.doc-soon {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.more-head { font-size: 1.35rem; margin-bottom: 22px; }

.sample-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 26px;
    font-style: italic;
}

/* ---------- Full project takeoff ---------- */
.takeoff-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}
.takeoff-head {
    background: var(--navy);
    color: var(--white);
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.takeoff-head h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
.takeoff-head p { color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; }
.takeoff-head .tag {
    margin-bottom: 0;
    color: var(--amber);
    background: rgba(245, 166, 35, 0.14);
}
.takeoff-panel table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.takeoff-panel th, .takeoff-panel td {
    padding: 14px 28px;
    text-align: left;
    font-size: 0.94rem;
    border-bottom: 1px solid var(--line);
}
.takeoff-panel thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted);
    font-weight: 700;
    background: var(--sand);
}
.takeoff-panel thead th:last-child { text-align: right; }
.takeoff-panel tbody th { font-weight: 600; color: var(--navy); }
.takeoff-panel td { color: var(--muted); }
.takeoff-panel td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}
.takeoff-panel .div-no {
    color: var(--amber);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    width: 62px;
}
.takeoff-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 28px;
    background: var(--sand);
    border-top: 2px solid var(--navy);
}
.takeoff-foot strong { color: var(--navy); font-size: 1.02rem; }
.takeoff-foot span { color: var(--muted); font-size: 0.88rem; }
.takeoff-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.takeoff-cta p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 11. FAQ ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
details {
    border-bottom: 1px solid var(--line);
}
summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 44px 22px 0;
    font-weight: 600;
    font-size: 1.06rem;
    color: var(--navy);
    position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '▾';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--amber);
    line-height: 1;
}
details[open] summary::after { content: '▴'; }
details p {
    color: var(--muted);
    padding: 0 60px 24px 0;
    margin-top: -4px;
}

/* ---------- 12. Final CTA + consult form ---------- */
.final-cta {
    background: var(--amber);
    padding: 78px 0;
}
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.cta-copy h2 {
    font-size: 2.5rem;
    color: var(--navy-deep);
    margin-bottom: 16px;
}
.cta-copy p {
    font-size: 1.12rem;
    color: rgba(10, 23, 39, 0.78);
    margin-bottom: 26px;
    max-width: 460px;
}
.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: var(--navy-deep);
}
.cta-contact a { color: var(--navy-deep); text-decoration: none; }
.cta-contact a:hover { text-decoration: underline; }

.form-card {
    background: var(--white);
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 24px 50px rgba(10, 23, 39, 0.18);
}
.form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.97rem;
    color: var(--ink);
    background: var(--white);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
    margin-top: 14px;
}
.form-success {
    display: none;
    text-align: center;
    padding: 30px 10px;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
.form-error {
    display: none;
    color: #B3261E;
    font-size: 0.88rem;
    margin-top: 12px;
    text-align: center;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-deep);
    opacity: 0.75;
}

/* ---------- 13. Footer ---------- */
footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.65);
    padding: 66px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 44px;
}
footer .logo { color: var(--white); display: inline-block; margin-bottom: 14px; }

/* Footer lockup: white-knockout artwork so the mark reads on the deep navy */
footer .footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-logo-img { display: block; height: 52px; width: auto; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; max-width: 300px; }
.footer-col h4 {
    color: var(--white);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.95rem;
}
.footer-col a:hover, .footer-contact a:hover { color: var(--amber); }
.footer-contact { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer-contact .btn { margin-top: 8px; }
.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 48px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.6rem; }
    .solution-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .who-grid, .steps, .problem-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .step::before { right: -28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav, .header-phone { display: none; }
    .burger { display: flex; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    section { padding: 64px 0; }
    .hero { padding: calc(var(--header-h) + 56px) 0 64px; }
    .hero h1 { font-size: 2.15rem; }
    .section-head h2, .problem h2, .solution h2, .cta-copy h2 { font-size: 1.8rem; }
    .trust-grid { grid-template-columns: 1fr; gap: 22px; }
    .services-grid, .who-grid, .steps, .problem-grid, .proof-grid, .projects-grid { grid-template-columns: 1fr; }
    .takeoff-panel th, .takeoff-panel td { padding: 13px 18px; }
    .takeoff-head, .takeoff-foot { padding: 20px 18px; }
    .step::before { right: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-logo-img { height: 42px; }
    .hero-actions .btn { width: 100%; }
    .field-row { grid-template-columns: 1fr; }
    .form-card { padding: 26px 22px; }
    .nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 8px 16px 20px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 30px rgba(16, 35, 59, 0.12);
    }
    .nav.open { display: flex; }
    .nav li { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav li:last-child { border-bottom: none; }

    .header-inner { padding: 0 16px; gap: 12px; }
    .header-actions { gap: 10px; }
    .logo-img { height: 32px; }
}

@media (max-width: 420px) {
    .logo-img { height: 27px; }
    .header .btn-sm { padding: 10px 13px; font-size: 0.85rem; }
    .burger { padding: 8px 0 8px 4px; }
}
