:root {
    --terracotta: #b95545;
    --terracotta-hover: #a64b3e;
    --lilac: #6370ad;
    --lilac-deep: #57669f;
    --violet-pale: #f0f1ff;
    --rose-pale: #fff2ef;
    --ink: #576b83;
    --subtle: #6e8198;
    --edge: #c8d0e9;
    --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.7; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.container { max-width: 1180px; margin-inline: auto; padding-inline: 30px; }
.topline { height: 7px; background: var(--terracotta); }
.site-header { background: var(--white); border-bottom: 1px solid var(--edge); }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 36px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--terracotta); font-size: 23px; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.brand-emblem { width: 40px; height: 40px; position: relative; display: block; border: 3px solid var(--terracotta); border-radius: 6px 6px 14px 14px; background: var(--rose-pale); }
.brand-emblem::before { content: ""; position: absolute; inset: 8px; border: 4px solid var(--lilac); border-radius: 50%; }
.brand-emblem::after { content: ""; position: absolute; width: 12px; height: 4px; background: var(--terracotta); right: 4px; top: 3px; }
.menu { display: flex; flex-wrap: wrap; gap: 13px 31px; }
.menu a { display: inline-block; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 800; border-bottom: 3px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--terracotta); border-bottom-color: var(--lilac); }
h1, h2, h3 { color: var(--lilac-deep); line-height: 1.18; margin: 0; }
h1 { font-size: 40px; letter-spacing: -.04em; margin-bottom: 21px; }
h2 { font-size: 28px; letter-spacing: -.025em; margin-bottom: 19px; }
h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 10px; }
p { font-size: 16px; line-height: 1.73; margin: 0 0 17px; }
p:last-child { margin-bottom: 0; }
.overline { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; color: var(--terracotta); margin-bottom: 16px; }
.opening { padding-block: 54px 43px; background: var(--violet-pale); border-bottom: 6px solid var(--lilac); }
.opening-inner::after { content: ""; display: table; clear: both; }
.opening-copy { max-width: 1050px; }
.opening-copy p { max-width: 1010px; }
.machine-stamp { float: right; position: relative; width: 155px; height: 155px; margin: 7px 21px 20px 32px; background: var(--white); border: 6px solid var(--lilac); border-radius: 7px; box-shadow: 12px -12px 0 var(--terracotta); }
.machine-stamp::before { content: ""; position: absolute; inset: 25px; border: 11px solid var(--terracotta); border-radius: 50%; }
.machine-stamp::after { content: ""; position: absolute; left: 14px; top: 12px; width: 48px; height: 6px; background: var(--lilac); border-radius: 4px; }
.machine-stamp span { display: block; position: absolute; right: 13px; top: 10px; height: 8px; width: 8px; border-radius: 50%; background: var(--terracotta); }
.buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 26px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; font-weight: 850; font-size: 15px; line-height: 1.3; padding: 11px 23px; text-decoration: none; border: 2px solid var(--terracotta); border-radius: 30px 6px 30px 6px; transition: background-color .15s, transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.call { background: var(--terracotta); color: var(--white); }
.btn.call:hover { background: var(--terracotta-hover); }
.btn.report { background: var(--white); color: var(--terracotta); }
.btn.report:hover { background: var(--rose-pale); }
.districts { padding-block: 36px 40px; background: var(--white); border-bottom: 1px solid var(--edge); }
.districts-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 23px; margin-bottom: 15px; }
.districts-head h2 { margin: 0; }
.districts-head::after { content: ""; height: 5px; background: var(--terracotta); flex: 1; min-width: 65px; }
.districts p { max-width: 1100px; margin-bottom: 12px; }
.districts strong { color: var(--terracotta); font-weight: 900; }
.chapter { padding-block: 48px 52px; border-bottom: 1px solid var(--edge); }
.chapter.tint { background: var(--rose-pale); }
.chapter-title { position: relative; padding-left: 22px; border-left: 5px solid var(--terracotta); margin-bottom: 25px; }
.chapter-title h2 { margin-bottom: 0; }
.chapter-copy { max-width: 1030px; }
.chapter-copy > p:last-child { margin-bottom: 0; }
.topic-link { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid transparent; }
.topic-link:hover { border-bottom-color: var(--terracotta); }
.appliances { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 35px; }
.appliances article { border-top: 4px solid var(--lilac); padding-top: 16px; }
.appliances p { margin-bottom: 0; }
.diagnosis-note { margin-top: 22px; max-width: 965px; background: var(--violet-pale); padding: 22px 27px; border-left: 6px solid var(--lilac); }
.diagnosis-note p { margin: 0; }
.opening-small { background: var(--rose-pale); border-bottom: 5px solid var(--terracotta); padding-block: 47px 43px; }
.opening-small .chapter-copy { max-width: 1070px; }
.opening-small .buttons { margin-top: 24px; }
.work-stages { border-top: 1px solid var(--edge); margin-top: 23px; max-width: 1040px; }
.stage { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px 20px; padding-block: 23px; border-bottom: 1px solid var(--edge); }
.stage:last-child { border-bottom: 0; }
.stage-num { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--lilac); color: var(--white); font-size: 17px; font-weight: 900; }
.stage h3 { color: var(--terracotta); }
.stage p { margin-bottom: 0; }
.schedule { display: flex; flex-wrap: wrap; gap: 13px 24px; margin-top: 19px; padding-top: 16px; border-top: 2px solid var(--edge); }
.schedule span { font-size: 14px; font-weight: 850; color: var(--lilac-deep); }
.final-call { background: var(--lilac); padding-block: 38px 43px; }
.final-call h2, .final-call p { color: var(--white); }
.final-call p { max-width: 1000px; }
.final-call .btn.report { border-color: var(--white); background: var(--white); color: var(--lilac-deep); }
.final-call .btn.report:hover { background: var(--violet-pale); }
.final-call .btn.call { border-color: var(--terracotta); }
.site-footer { background: var(--violet-pale); padding-block: 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 30px; }
.footer-mark { font-size: 17px; font-weight: 900; color: var(--terracotta); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.site-footer a { text-decoration: none; font-size: 14px; font-weight: 800; }
.site-footer a:hover { color: var(--terracotta); text-decoration: underline; }
.site-footer .quiet { font-size: 12px; color: var(--subtle); font-weight: 400; }
@media (max-width: 1040px) {
    .machine-stamp { display: none; }
}
@media (max-width: 700px) {
    .container { padding-inline: 19px; }
    .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 16px; }
    .menu { gap: 8px 20px; }
    .opening, .opening-small { padding-block: 36px; }
    .districts { padding-block: 29px 33px; }
    .chapter { padding-block: 36px 39px; }
    .appliances { grid-template-columns: 1fr; gap: 21px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .stage { grid-template-columns: 51px minmax(0, 1fr); gap: 12px; }
    .stage-num { width: 43px; height: 43px; }
}
@media (max-width: 450px) {
    .brand { font-size: 21px; }
    .buttons { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .diagnosis-note { padding: 18px 19px; }
}
