:root {
    --blue: #4b63b6;
    --violet: #7763b6;
    --pink: #d94f83;
    --lime: #d4f285;
    --ink: #405991;
    --soft: #f0f1ff;
    --soft-pink: #fff0f6;
    --line: #cbd1f2;
    --white: #fff;
    --page: 1160px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.65 "Segoe UI", Arial, sans-serif; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--pink); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.container { max-width: var(--page); width: calc(100% - 72px); margin-inline: auto; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.16; margin: 0 0 20px; }
h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 800; }
h3 { font-size: 21px; }
p { font-size: 16px; margin: 0 0 16px; }
.service-ribbon { background: var(--lime); border-bottom: 3px solid var(--violet); }
.service-ribbon .container { display: flex; justify-content: space-between; gap: 16px; min-height: 35px; align-items: center; }
.service-ribbon span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.masthead { background: white; border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 97px; }
.logo { color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 23px; letter-spacing: -.045em; font-weight: 900; }
.logo__dial { width: 49px; height: 49px; display: grid; place-items: center; background: var(--violet); border-radius: 50%; border: 7px solid #dfdafa; box-shadow: inset 0 0 0 6px #c3b9ee; }
.logo__dial::after { content: ""; width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }
.logo__city { color: var(--pink); }
.nav-wide { display: flex; gap: 31px; align-items: center; }
.nav-wide a { font-weight: 800; font-size: 15px; text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; }
.nav-wide a[aria-current="page"], .nav-wide a:hover { border-bottom-color: var(--pink); }
.nav-compact { display: none; }
.hero { padding: 44px 0 56px; background: #f5f5ff; border-bottom: 1px solid var(--line); }
.hero__top { display: flex; align-items: center; gap: 17px; margin-bottom: 20px; }
.hero__token { background: var(--pink); color: white; padding: 4px 12px; font-size: 12px; font-weight: 900; border-radius: 2px; white-space: nowrap; }
.hero__topic { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--violet); }
.hero h1 { padding-bottom: 19px; border-bottom: 4px solid var(--pink); display: inline-block; margin-bottom: 28px; }
.hero__body { display: grid; grid-template-columns: minmax(255px, .65fr) minmax(0, 1.6fr); gap: clamp(22px, 3vw, 43px); align-items: stretch; }
.hero__copy { min-width: 0; align-self: center; }
.hero__copy p:last-child { margin-bottom: 0; }
.action-pair { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.action { min-height: 50px; border: 2px solid var(--blue); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; padding: 10px 19px; font-size: 15px; line-height: 1.3; font-weight: 800; }
.action--phone { background: var(--blue); color: #fff; }
.action--phone:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.action--online { background: #fff; color: var(--blue); }
.action--online:hover { background: var(--blue); color: #fff; }
.technical-plate { position: relative; background: var(--lime); border: 2px solid var(--violet); min-height: 283px; border-radius: 5px 5px 40px 5px; display: flex; flex-direction: column; justify-content: space-between; padding: 13px 17px 18px; overflow: hidden; }
.technical-plate::before { content: ""; position: absolute; inset: 15px; border: 1px dashed #8e93c9; pointer-events: none; }
.plate-head, .plate-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; z-index: 1; }
.plate-foot span:last-child { color: var(--pink); }
.appliance { position: relative; align-self: center; margin-block: 12px 8px; width: 170px; height: 205px; background: #f9faff; border: 6px solid var(--violet); border-radius: 6px; box-shadow: 10px 10px 0 #a9a9e8; }
.appliance::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -12px; height: 6px; background: var(--pink); border-radius: 3px; }
.appliance__control { position: absolute; top: 0; left: 0; right: 0; height: 39px; border-bottom: 5px solid var(--violet); display: flex; gap: 10px; align-items: center; padding-inline: 12px; }
.appliance__control i { width: 16px; height: 16px; display: block; border-radius: 50%; background: var(--pink); border: 4px solid #f5bfd5; }
.appliance__control b { width: 41px; height: 10px; margin-left: auto; background: #aab3ed; display: block; }
.appliance__window { position: absolute; top: 54px; left: 17px; width: 123px; height: 123px; border-radius: 50%; background: #b5c6f1; border: 10px solid var(--blue); box-shadow: inset 0 0 0 6px #e2e8fb; }
.appliance__window::after { content: ""; position: absolute; width: 70px; height: 25px; border-radius: 50%; background: #d7e3fc; transform: rotate(-20deg); left: 15px; top: 20px; }
.appliance--dishwasher .appliance__window { top: 55px; left: 11px; height: 108px; width: 135px; border-radius: 5px; border: 8px solid var(--blue); background: repeating-linear-gradient(180deg,#c1ceef 0 8px,#aabbe9 8px 12px); box-shadow: inset 0 0 0 8px #e6ebfc; }
.appliance--dishwasher .appliance__window::after { top: 13px; left: 22px; width: 72px; height: 9px; background: var(--pink); border-radius: 2px; transform: none; }
.appliance--fridge { height: 228px; width: 143px; border-radius: 10px; }
.appliance--fridge .appliance__control { top: 0; height: 111px; border-bottom-width: 6px; }
.appliance--fridge .appliance__control i { border: 0; width: 6px; height: 40px; border-radius: 3px; background: var(--pink); margin-left: auto; transform: translateY(22px); }
.appliance--fridge .appliance__control b { display: none; }
.appliance--fridge .appliance__window { top: 129px; left: 102px; height: 55px; width: 6px; border: 0; border-radius: 4px; background: var(--pink); box-shadow: none; }
.appliance--fridge .appliance__window::after { display: none; }
.appliance--oven .appliance__window { top: 60px; left: 9px; height: 102px; width: 140px; border-radius: 4px; border: 8px solid var(--blue); background: #99abe6; box-shadow: inset 0 0 0 6px #dfe5fd; }
.appliance--oven .appliance__window::after { top: 14px; left: 19px; width: 83px; height: 14px; background: #c2cff6; border-radius: 3px; transform: none; }
.appliance--dryer .appliance__window { border-color: var(--pink); }
.chapter { padding: 49px 0 52px; border-bottom: 1px solid var(--line); }
.chapter--soft { background: var(--soft); }
.chapter--pink { background: var(--soft-pink); }
.chapter__heading { display: flex; gap: 15px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 22px; }
.chapter__number { flex: 0 0 40px; color: var(--pink); font-size: 15px; font-weight: 900; line-height: 1.3; padding-top: 3px; }
.chapter__heading h2 { margin-bottom: 0; }
.chapter__prose { max-width: 1050px; }
.chapter__prose p:last-child { margin-bottom: 0; }
.chapter__prose strong { color: var(--violet); }
.chapter--local .chapter__prose { border-left: 5px solid var(--pink); padding-left: 20px; }
.terms-band { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 21px; }
.terms-band article { border-top: 4px solid var(--pink); background: #fff; padding: 19px 22px; }
.terms-band h3 { margin-bottom: 7px; color: var(--violet); }
.terms-band p { margin-bottom: 0; }
.appointment { padding: 38px 0 43px; background: var(--violet); color: white; }
.appointment h2 { color: white; margin-bottom: 11px; }
.appointment p { color: white; max-width: 980px; }
.appointment .action--online { border-color: white; background: transparent; color: white; }
.appointment .action--online:hover { background: white; color: var(--violet); }
.footer { padding: 38px 0; background: #e8eafa; }
.footer__inner { display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer__inner p { margin: 8px 0 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 25px; justify-content: flex-end; max-width: 490px; }
.footer__nav a { font-weight: 800; text-decoration: none; }
@media (max-width: 1000px) {
    .container { width: calc(100% - 50px); }
    .hero__body { grid-template-columns: minmax(235px, .7fr) minmax(0, 1.5fr); gap: 24px; }
    .nav-wide { gap: 20px; }
}
@media (max-width: 800px) {
    .nav-wide { display: none; }
    .nav-compact { display: block; position: relative; }
    .nav-compact summary { cursor: pointer; border: 2px solid var(--violet); border-radius: 3px; padding: 8px 15px; font-weight: 800; list-style: none; }
    .nav-compact summary::-webkit-details-marker { display: none; }
    .nav-compact nav { position: absolute; z-index: 5; top: calc(100% + 7px); right: 0; display: grid; padding: 10px; min-width: 205px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 20px #c5c3e6aa; }
    .nav-compact nav a { text-decoration: none; font-weight: 800; padding: 9px 11px; }
    .hero__body { grid-template-columns: 1fr; }
    .hero__copy { order: 1; }
    .technical-plate { order: 2; max-width: 480px; width: 100%; margin-inline: auto; }
    .chapter { padding-block: 42px; }
}
@media (max-width: 540px) {
    .container { width: calc(100% - 34px); }
    .service-ribbon span { font-size: 10px; }
    .service-ribbon span:last-child { display: none; }
    .masthead__inner { min-height: 78px; gap: 10px; }
    .logo { font-size: 15px; gap: 5px; }
    .logo__dial { width: 30px; height: 30px; border-width: 4px; }
    .hero { padding: 31px 0 39px; }
    .hero h1 { overflow-wrap: anywhere; }
    .hero__top { gap: 9px; flex-wrap: wrap; }
    .chapter__heading { gap: 9px; }
    .chapter__number { flex-basis: 30px; }
    .chapter--local .chapter__prose { padding-left: 15px; }
    .action-pair { flex-direction: column; }
    .action-pair .action { width: 100%; }
    .terms-band { grid-template-columns: 1fr; }
    .footer__inner { display: block; }
    .footer__nav { justify-content: flex-start; margin-top: 23px; }
}
