:root {
    --ruby: #b84f64;
    --ruby-strong: #a44158;
    --ruby-light: #f9e8ed;
    --blue: #3b93ae;
    --blue-light: #e7f5f9;
    --blue-line: #b9dce7;
    --paper: #f8fcfe;
    --white: #ffffff;
    --text: #526e86;
    --muted: #6c899b;
    --line: #cfdfea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
.container { width: min(1100px, calc(100% - 62px)); margin: 0 auto; }
.skip { position: absolute; top: -85px; left: 20px; z-index: 15; padding: 12px 18px; background: var(--ruby); color: #fff; }
.skip:focus { top: 8px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #56bad4; outline-offset: 3px; }
h1, h2, h3 { margin: 0; letter-spacing: -.027em; line-height: 1.2; font-family: "Segoe UI", Arial, sans-serif; }
h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 800; margin-bottom: 23px; }
h3 { font-size: 23px; font-weight: 800; }
p { margin: 0 0 18px; font-size: 16px; line-height: 1.78; }

.top { background: #f5fafd; border-bottom: 4px solid var(--blue); }
.top-in { min-height: 85px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #52778b; font-size: 23px; font-weight: 800; white-space: nowrap; letter-spacing: -.04em; }
.brand strong { color: var(--ruby); }
.brand-sign { width: 40px; height: 40px; display: grid; place-items: center; border: 3px solid var(--ruby); border-radius: 12px 4px 12px 4px; position: relative; background: #e0f3f7; }
.brand-sign:before { content: ""; position: absolute; border: 5px solid var(--blue); border-radius: 50%; width: 18px; height: 18px; top: 10px; left: 7px; }
.brand-sign i { position: absolute; display: block; width: 19px; height: 3px; top: 5px; left: 8px; background: var(--ruby); border-radius: 3px; }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 21px; }
.links > a { padding: 11px 0; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 800; text-decoration: none; }
.links > a:hover, .links > a[aria-current="page"] { color: var(--ruby); border-bottom-color: var(--ruby); }
.links > .top-report { background: var(--ruby); color: #fff; padding: 12px 17px; border-radius: 5px; border: 2px solid var(--ruby); }
.links > .top-report:hover { background: var(--ruby-strong); border-color: var(--ruby-strong); }

.welcome { padding: 53px 0 57px; background: linear-gradient(120deg, #e9f5fb 0%, #f8fcfe 72%, #fbe7eb 100%); }
.service-flag { display: flex; align-items: center; gap: 9px 14px; flex-wrap: wrap; margin-bottom: 24px; color: #637f9b; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.flag-dot { width: 10px; height: 10px; background: var(--ruby); border-radius: 50%; }
.flag-line { height: 2px; width: 38px; background: #bad9e5; }
.welcome h1 { color: #9f4d67; margin-bottom: 25px; }
.welcome p { max-width: 970px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.welcome .buttons { margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; padding: 12px 23px; border: 2px solid transparent; border-radius: 5px; font-size: 15px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .16s, background .16s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.call { color: #fff; background: var(--ruby); border-color: var(--ruby); }
.call:hover { background: #a33e54; border-color: #a33e54; }
.report { color: #fff; background: var(--blue); border-color: var(--blue); }
.report:hover { background: #2e809a; border-color: #2e809a; }
.section-code, .sub-id { display: inline-block; color: #ad4e68; font-size: 11px; font-weight: 900; letter-spacing: .14em; margin-bottom: 18px; }
.coverage { padding: 54px 0 48px; background: #e2f1f7; border-top: 6px solid #acd5e2; }
.coverage h2 { color: #477e9b; }
.coverage p { max-width: 1000px; }
.coverage strong { color: #9a536b; }
.devices { padding: 63px 0 64px; background: var(--white); }
.devices h2 { max-width: 960px; }
.machine-ribbon { display: flex; align-items: center; gap: 35px; background: #ddedf5; border: 1px solid #a6cbdc; border-left: 8px solid var(--ruby); margin: 33px 0 37px; padding: 20px 30px; min-height: 185px; }
.machine-face { position: relative; width: 146px; height: 148px; flex: 0 0 146px; background: #fdfefe; border: 5px solid #659fb6; border-radius: 9px; box-shadow: 7px 6px 0 #bdd7e5; }
.machine-face:before { content: ""; display: block; height: 30px; border-bottom: 3px solid #90bbcf; background: #eaf6f9; border-radius: 5px 5px 0 0; }
.machine-key { position: absolute; width: 15px; height: 15px; top: 9px; left: 11px; border-radius: 50%; background: var(--ruby); }
.machine-display { position: absolute; width: 38px; height: 10px; top: 11px; right: 11px; border-radius: 2px; background: #7eacc1; }
.machine-circle { width: 89px; height: 89px; margin: 8px auto; border: 11px solid #bddbe6; border-radius: 50%; background: #e9f6f9; box-shadow: inset 0 0 0 8px #8ebfd1; display: grid; place-items: center; }
.machine-circle span { display: block; width: 39px; height: 39px; background: #e6b7c4; border-radius: 50%; border: 7px solid #cf8193; }
.ribbon-readout { display: flex; flex: 1; gap: 1px; background: #a2cbdc; padding: 1px; }
.ribbon-readout > div { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 105px; flex: 1; padding: 10px; background: #edf8fb; gap: 14px; }
.ribbon-readout span { color: #b45d71; font-weight: 900; font-size: 20px; }
.ribbon-readout strong { color: #5988a1; font-size: 12px; text-align: center; letter-spacing: .04em; }
.category { border-top: 2px solid #d4e4ed; padding: 27px 0 29px; }
.category-last { border-bottom: 2px solid #d4e4ed; }
.category-name { display: flex; align-items: center; gap: 15px; margin-bottom: 19px; }
.category-name > span { display: grid; place-items: center; color: #fff; background: var(--ruby); width: 35px; height: 35px; border-radius: 8px; font-weight: 900; font-size: 13px; }
.category-name h3 { color: #577d95; }
.category p { max-width: 1030px; }
.category p:last-child { margin-bottom: 0; }
.diagnostic { background: #f9e8ed; padding: 59px 0 65px; }
.diagnostic h2 { color: #a04b60; }
.diagnostic p { max-width: 1040px; }
.cost-readout { display: flex; flex-wrap: wrap; gap: 1px; padding: 1px; background: #e5b7c5; margin-top: 27px; }
.cost-readout > div { flex: 1 1 290px; background: #fff7f9; padding: 23px 25px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px 25px; }
.cost-readout span { color: #997688; font-size: 13px; font-weight: 800; }
.cost-readout strong { color: #9a4b62; font-size: 20px; }
.contact-bottom { padding: 61px 0 62px; background: #fff; }
.contact-bottom p { max-width: 970px; }
.time-bar { display: flex; flex-wrap: wrap; gap: 1px; padding: 1px; background: #c9dce6; margin-top: 27px; }
.time-bar > div { flex: 1 1 205px; background: #f1f8fb; padding: 19px 20px; display: flex; flex-direction: column; gap: 9px; }
.time-bar span { font-size: 13px; color: #7d97a8; }
.time-bar strong { color: var(--ruby); font-size: 20px; }
.closing-actions { border-top: 2px solid #d9e6ed; margin-top: 33px; padding-top: 25px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px 24px; }
.closing-actions > span { font-size: 14px; font-weight: 800; color: #557f93; }
.foot { background: #e0eff5; border-top: 1px solid #c1dbe5; }
.foot-in { min-height: 93px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 25px; font-size: 13px; font-weight: 800; }
.foot nav { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .quiet { color: #819dab; font-size: 11px; font-weight: 400; }

.sub-hero { padding: 58px 0 54px; }
.sub-hero h1 { color: #a34d66; margin-bottom: 25px; }
.sub-hero p { max-width: 980px; }
.sub-hero .buttons { margin-top: 27px; }
.failures-hero { background: #e4f3f8; border-bottom: 5px solid var(--ruby); }
.failure-report { padding: 50px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.failure-report.light-report { background: #f5fafc; }
.failure-report h2 { max-width: 970px; }
.failure-report p { max-width: 1020px; }
.repair-close { background: #f9e8ed; padding: 57px 0 64px; }
.repair-close p { max-width: 1000px; }
.repair-close .closing-actions { border-top-color: #eac0cc; }

.services-hero { background: #f9e8ed; border-bottom: 5px solid #70b4ca; }
.service-badges { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.service-badges span { font-size: 12px; font-weight: 900; color: #92667c; padding: 10px 15px; background: #fff; border: 1px solid #e2b9c5; }
.work-process { padding: 58px 0 63px; background: #fff; }
.work-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 21px; padding: 27px 0; border-top: 2px solid var(--line); }
.last-step { border-bottom: 2px solid var(--line); }
.step-number { color: var(--ruby); font-size: 17px; font-weight: 900; padding-top: 2px; }
.work-step h3 { color: #577d94; margin-bottom: 13px; }
.work-step p { max-width: 1000px; margin-bottom: 0; }
.service-settlement { padding: 58px 0 62px; background: #e7f5f9; }
.service-settlement p { max-width: 1010px; }
.settlement-note { display: flex; flex-wrap: wrap; gap: 12px 25px; padding-top: 20px; border-top: 2px solid #bddfe9; margin-top: 24px; }
.settlement-note span { color: #93677b; font-size: 15px; font-weight: 800; }
.service-ending { padding: 56px 0 64px; background: #fff; }
.service-ending p { max-width: 1000px; }
.service-cta { padding: 24px; background: #f1f8fb; border-left: 6px solid var(--ruby); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 27px; margin-top: 28px; }
.service-cta > span { font-size: 13px; font-weight: 800; color: #68899c; }

@media (max-width: 900px) {
    .container { width: min(100% - 46px, 1100px); }
    .top-in { flex-direction: column; align-items: flex-start; padding: 18px 0; gap: 12px; }
    .closing-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .container { width: calc(100% - 34px); }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    p { font-size: 16px; }
    .links { gap: 7px 16px; }
    .links > a { font-size: 12px; }
    .welcome { padding: 43px 0 48px; }
    .buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
    .button { width: 100%; }
    .machine-ribbon { gap: 19px; padding: 18px; flex-direction: column; }
    .machine-face { flex: 0 0 auto; }
    .ribbon-readout { width: 100%; }
    .ribbon-readout > div { min-height: 74px; padding: 10px 4px; gap: 7px; }
    .ribbon-readout strong { font-size: 10px; }
    .category-name { align-items: flex-start; }
    .time-bar > div { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; }
    .cost-readout > div { flex: 1 1 100%; }
    .service-cta .buttons { width: 100%; }
    .foot-in { padding: 24px 0; }
}
