:root {
    color-scheme: light;
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-2: #f3f4f6;
    --dark: #111827;
    --dark-2: #1f2933;
    --text: #111827;
    --muted: #6b7280;
    --line: rgba(17, 24, 39, .12);
    --accent: #2563eb;
    --accent-hover: #3b82f6;
    --accent-soft: rgba(37, 99, 235, .12);
    --cta: #f59e0b;
    --cta-dark: #d97706;
    --radius: 8px;
    --shadow: 0 24px 70px rgba(17, 24, 39, .12);
    --hero-image: url("../images/repair-hero-banner-pdf-real.webp");
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    z-index: 40;
    background-image: radial-gradient(circle at 1px 1px, #000 1px, transparent 0);
    background-size: 18px 18px;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 30;
    width: min(1160px, calc(100% - 28px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(11, 17, 23, .76);
    color: #fff;
    backdrop-filter: blur(18px);
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.site-header.is-scrolled {
    background: rgba(11, 17, 23, .93);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 14px;
    white-space: nowrap;
}

.brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
}

.main-nav a {
    padding: 9px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    transition: background .2s ease, color .2s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.header-phone {
    color: #fff;
    font-weight: 700;
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    border-radius: 6px;
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    font-weight: 800;
}

.lang-switch a.is-active {
    background: var(--accent);
    color: #fff;
}

.section {
    padding: 104px 0;
}

#diagnostics,
#works,
#process,
#faq,
#request,
.geo-section {
    scroll-margin-top: 120px;
}

.section-dark {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #111827 0%, #1f2933 58%, #111827 100%);
}

.section-muted {
    background: var(--surface-2);
}

.hero {
    min-height: 100vh;
    padding: 150px 0 72px;
    background:
        linear-gradient(90deg, rgba(8, 13, 18, .96) 0%, rgba(17, 24, 39, .86) 36%, rgba(17, 24, 39, .4) 68%, rgba(8, 13, 18, .34) 100%),
        var(--hero-image) center right / cover no-repeat,
        linear-gradient(135deg, #111827 0%, #1f2933 58%, #111827 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 13, 18, .18), rgba(8, 13, 18, .78)),
        radial-gradient(circle at 72% 44%, rgba(37, 99, 235, .22), transparent 34%);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: .5;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.engine-orbit {
    position: absolute;
    display: none;
    border: 1px solid rgba(37, 99, 235, .38);
    border-radius: 50%;
    animation: rotate 24s linear infinite;
}

.orbit-one {
    right: 6%;
    top: 18%;
    width: 360px;
    height: 360px;
}

.orbit-two {
    right: 16%;
    top: 28%;
    width: 180px;
    height: 180px;
    animation-direction: reverse;
}

.engine-orbit::after {
    content: "";
    position: absolute;
    top: 34px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cta);
    box-shadow: 0 0 34px rgba(245, 158, 11, .5);
}

.signal-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .7), transparent);
    animation: scan 5s ease-in-out infinite;
}

.line-one {
    top: 32%;
}

.line-two {
    top: 62%;
    animation-delay: 1.4s;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 430px;
    gap: 70px;
    align-items: center;
}

.hero-copy {
    text-shadow: 0 18px 52px rgba(0, 0, 0, .28);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(44px, 6vw, 82px);
    line-height: .96;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.2;
}

.lead {
    max-width: 730px;
    color: rgba(255, 255, 255, .78);
    font-size: 20px;
    line-height: 1.55;
}

.hero-problem {
    max-width: 720px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.7;
}

.hero-problem strong {
    color: #fff;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--cta);
    color: #111;
    box-shadow: 0 18px 38px rgba(245, 158, 11, .22);
}

.btn-primary:hover {
    background: var(--cta-dark);
    color: #fff;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}

.btn-wide {
    width: 100%;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-badges span,
.symptom-board span,
.service-list span,
.cause-grid span {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .82);
    padding: 10px 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
}

.hero-badges span {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.hero-panel,
.final-form {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    padding: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.panel-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-weight: 800;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, .13);
}

.lead-form {
    display: grid;
    gap: 13px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-form label {
    display: grid;
    gap: 7px;
}

.lead-form label span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 650;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    background: rgba(255, 255, 255, .92);
    padding: 13px 14px;
    color: var(--text);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .16);
}

.form-note {
    margin: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    line-height: 1.5;
}

.form-note.is-success {
    color: #bfdbfe;
}

.form-note.is-error {
    color: #fed7aa;
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 78px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
}

.stat-card {
    padding: 24px;
    background: rgba(255, 255, 255, .04);
}

.stat-card strong {
    display: block;
    font-size: 34px;
}

.stat-card span {
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
}

.split {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 70px;
    align-items: start;
}

.split.reverse {
    grid-template-columns: 1.15fr .85fr;
}

.section-heading p {
    max-width: 610px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.section-dark .section-heading p {
    color: rgba(255, 255, 255, .68);
}

.center {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.center .eyebrow {
    justify-content: center;
}

.symptom-board,
.service-list,
.cause-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.symptom-board {
    position: relative;
    padding: 6px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(245, 158, 11, .06)),
        rgba(255, 255, 255, .38);
}

.symptom-board span {
    position: relative;
    overflow: hidden;
    border-color: rgba(37, 99, 235, .14);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(17, 24, 39, .04);
    cursor: default;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease, background .22s ease;
}

.symptom-board span::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--cta));
    opacity: .52;
    transition: width .22s ease, opacity .22s ease;
}

.symptom-board span:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, .45);
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 62%, #fff7ed 100%);
    color: #0f172a;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .12);
}

.symptom-board span:hover::before {
    width: 6px;
    opacity: 1;
}

.symptom-board.is-visible span {
    animation: chipRise .45s ease both;
}

.symptom-board.is-visible span:nth-child(2n) {
    animation-delay: .04s;
}

.symptom-board.is-visible span:nth-child(3n) {
    animation-delay: .08s;
}

.symptom-board.is-visible span:nth-child(4n) {
    animation-delay: .12s;
}

.cards {
    display: grid;
    gap: 18px;
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.card,
.trust-item,
.timeline-item,
.diagnostic-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 28px;
    box-shadow: 0 14px 36px rgba(7, 14, 22, .05);
}

.card p,
.trust-item p,
.timeline-item p,
.diagnostic-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 7px;
    background: #111;
    color: var(--accent);
}

.work-console {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.console-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    padding: 12px;
    text-align: left;
    color: var(--text);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.console-row:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, .55);
    background: #eff6ff;
}

.console-row span {
    color: var(--accent);
    font-weight: 800;
}

.sticky-copy {
    position: sticky;
    top: 130px;
}

.diagnostic-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    gap: 22px;
}

.diagnostic-list,
.faq-list {
    display: grid;
    gap: 10px;
}

.accordion-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .07);
    transition: border-color .2s ease, background .2s ease;
}

.accordion-item:hover,
.accordion-item.is-open {
    border-color: rgba(37, 99, 235, .42);
    background: rgba(255, 255, 255, .1);
}

.faq-list .accordion-item {
    background: rgba(255, 255, 255, .06);
}

.accordion-item button {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 20px 24px 20px 24px;
    text-align: left;
    cursor: pointer;
}

.faq-list .accordion-item button {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 88px;
    padding-left: 24px;
}

.accordion-item button .accordion-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.accordion-item button strong {
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.accordion-item.is-open button strong {
    overflow: visible;
    white-space: normal;
}

.accordion-item button em {
    grid-column: 2;
    align-self: start;
    margin-top: 2px;
    color: rgba(255, 255, 255, .48);
    font-size: 12px;
    line-height: 1.35;
    font-style: normal;
}

.faq-list .accordion-item button em {
    grid-column: 1;
}

.accordion-item.is-open button em {
    display: none;
}

.accordion-item button i {
    position: relative;
    display: block;
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: var(--accent-soft);
    border: 1px solid rgba(37, 99, 235, .34);
}

.faq-list .accordion-item button i {
    grid-column: 2;
}

.accordion-item button i::before,
.accordion-item button i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.accordion-item button i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.is-open button i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s ease;
}

.accordion-content > * {
    overflow: hidden;
}

.accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-content ol,
.accordion-content p {
    margin: 0;
    padding: 4px 28px 28px 48px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.accordion-content p {
    padding-left: 24px;
}

.diagnostic-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(145deg, #1f2933, #111827);
    color: #fff;
}

.diagnostic-card .eyebrow {
    color: var(--cta);
}

.diagnostic-card p {
    color: rgba(255, 255, 255, .72);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px 22px;
    padding-top: 18px;
}

.timeline::before {
    display: none;
}

.timeline::after {
    display: none;
}

.timeline-item {
    position: relative;
    min-width: 0;
    min-height: 220px;
    padding-top: 30px;
}

.timeline-item:nth-child(1)::after,
.timeline-item:nth-child(2)::after,
.timeline-item:nth-child(3)::after {
    content: "";
    position: absolute;
    left: calc(100% + 1px);
    top: 46px;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, .62), rgba(245, 158, 11, .72));
}

.timeline-item:nth-child(4)::after {
    content: "";
    position: absolute;
    right: calc(50% - 1px);
    top: calc(100% + 12px);
    width: 2px;
    height: 34px;
    background: linear-gradient(180deg, rgba(245, 158, 11, .72), rgba(37, 99, 235, .55));
    border-right: 2px solid rgba(245, 158, 11, .7);
    pointer-events: none;
}

.timeline-item:nth-child(5)::before {
    background: rgba(245, 158, 11, .58);
}

.timeline-item:nth-child(5) {
    grid-column: 4;
    grid-row: 2;
}

.timeline-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

.timeline-item:nth-child(7) {
    grid-column: 2;
    grid-row: 2;
}

.timeline-item:nth-child(5)::after,
.timeline-item:nth-child(6)::after {
    content: "";
    position: absolute;
    right: calc(100% + 1px);
    top: 46px;
    width: 20px;
    height: 2px;
    background: linear-gradient(270deg, rgba(37, 99, 235, .62), rgba(245, 158, 11, .72));
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 44px;
    top: 0;
    width: 2px;
    height: 30px;
    background: rgba(37, 99, 235, .5);
}

.timeline-number {
    display: grid;
    place-items: center;
    position: absolute;
    left: 28px;
    top: -12px;
    z-index: 1;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 7px;
    background: var(--dark);
    color: var(--cta);
    font-weight: 800;
}

.timeline-item:nth-child(n + 5)::before {
    left: 44px;
}

.timeline-item h3 {
    margin-top: 18px;
    overflow-wrap: anywhere;
}

.cta-band {
    padding: 66px 0;
    background: var(--dark);
    color: #fff;
}

.cta-grid {
    justify-content: space-between;
}

.cta-grid p {
    max-width: 650px;
    color: rgba(255, 255, 255, .7);
}

.request-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 70px;
    align-items: start;
}

.final-form {
    border-color: var(--line);
    background: #fff;
}

.final-form label span,
.final-form .form-note {
    color: var(--muted);
}

.final-form .form-note.is-success {
    color: #2563eb;
}

.final-form .form-note.is-error {
    color: #d97706;
}

.final-form input,
.final-form textarea {
    border-color: var(--line);
    background: #f7f9fb;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.contact-list a,
.contact-list span {
    display: flex;
    width: fit-content;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
    font-weight: 800;
}

.geo-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 28px;
    box-shadow: 0 14px 36px rgba(17, 24, 39, .05);
}

.geo-panel h3 {
    margin-bottom: 18px;
}

.geo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.geo-grid span {
    display: grid;
    gap: 3px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f7f8fa;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.geo-grid strong {
    color: var(--text);
    font-size: 14px;
}

.site-footer {
    padding: 26px 0;
    background: #080d12;
    color: rgba(255, 255, 255, .72);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

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

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes scan {
    0%, 100% {
        transform: translateY(-26px);
        opacity: 0;
    }
    45%, 65% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes chipRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1020px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .hero-grid,
    .split,
    .split.reverse,
    .diagnostic-shell,
    .request-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 130px;
    }

    .stats-grid,
    .cards.three {
        grid-template-columns: repeat(2, 1fr);
    }

    .sticky-copy {
        position: static;
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline::before {
        left: 24px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(37, 99, 235, .65), rgba(245, 158, 11, .7), transparent);
    }

    .timeline::after,
    .timeline-item::after,
    .timeline-item:nth-child(4)::after {
        display: none;
    }

    .timeline-item,
    .timeline-item:nth-child(n + 5) {
        grid-column: auto;
        grid-row: auto;
        transform: none;
        min-height: auto;
        padding: 22px 22px 22px 78px;
    }

    .timeline-item::before {
        left: 24px;
        top: 38px;
        width: 34px;
        height: 2px;
    }

    .timeline-number {
        left: 18px;
        top: 22px;
    }

    .timeline-item h3 {
        margin-top: 0;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 26px, 1160px);
    }

    .site-header {
        top: 8px;
        width: calc(100% - 16px);
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 10px;
    }

    .header-actions {
        justify-self: end;
        flex-direction: column;
        align-items: flex-end;
        gap: 7px;
    }

    .header-phone {
        font-size: 14px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand strong {
        max-width: 170px;
        overflow-wrap: anywhere;
        white-space: normal;
        line-height: 1.15;
    }

    .brand small {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    #diagnostics,
    #works,
    #process,
    #faq,
    #request,
    .geo-section {
        scroll-margin-top: 150px;
    }

    .hero {
        min-height: auto;
        padding-top: 134px;
        padding-bottom: 52px;
    }

    h1 {
        font-size: 38px;
        line-height: 1.02;
    }

    h2 {
        font-size: 32px;
        line-height: 1.08;
    }

    .lead {
        font-size: 17px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-badges span,
    .service-list span,
    .cause-grid span {
        width: 100%;
    }

    .symptom-board span {
        width: auto;
        flex: 1 1 calc(50% - 8px);
    }

    .hero-panel,
    .final-form,
    .card,
    .trust-item,
    .timeline-item,
    .diagnostic-card {
        padding: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(n + 5) {
        padding: 22px 20px 22px 78px;
    }

    .stats-grid,
    .cards.three,
    .trust-grid,
    .work-console,
    .timeline,
    .geo-grid {
        grid-template-columns: 1fr;
    }

    .accordion-item button,
    .faq-list .accordion-item button {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 92px;
        padding: 18px;
    }

    .accordion-item button .accordion-label,
    .accordion-item button strong,
    .accordion-item button em {
        grid-column: 1;
    }

    .accordion-item button i,
    .faq-list .accordion-item button i {
        grid-column: 2;
        grid-row: 1 / span 3;
    }

    .accordion-content ol,
    .accordion-content p {
        padding-right: 18px;
        padding-bottom: 20px;
    }

    .footer-grid {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 20px, 1160px);
    }

    .site-header {
        width: calc(100% - 12px);
    }

    .header-phone {
        font-size: 13px;
    }

    .lang-switch a {
        min-width: 30px;
        height: 28px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-panel,
    .final-form,
    .card,
    .trust-item,
    .timeline-item,
    .diagnostic-card {
        padding: 18px;
    }

    .timeline-item,
    .timeline-item:nth-child(n + 5) {
        padding: 22px 18px 22px 74px;
    }

    .symptom-board span {
        flex-basis: 100%;
    }
}
