:root {
    --paper: #f6fbfd;
    --white: #ffffff;
    --ink: #416982;
    --strong: #315c75;
    --muted: #6689a0;
    --line: #cbdfe8;
    --berry: #d45172;
    --berry-hover: #b84365;
    --blush: #fdebf1;
    --blush-strong: #f8c6d3;
    --ice: #e4f1f5;
    --aqua: #99c6d6;
    --spark: #efae56;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    line-height: 1.62;
    background: var(--paper);
}

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

a:focus-visible {
    outline: 3px solid var(--spark);
    outline-offset: 4px;
}

.wrap {
    width: min(1170px, calc(100% - 76px));
    margin: 0 auto;
}

.narrow-content {
    max-width: 1010px;
}

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

h1,
h2,
h3 {
    color: var(--strong);
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    line-height: 1.24;
}

h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.25px;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 20px;
}

h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 13px;
}

p {
    font-size: 16px;
    margin-bottom: 18px;
    max-width: 82ch;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 800;
    color: var(--strong);
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px 46px;
    min-height: 91px;
}

.signature {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex: none;
    color: var(--strong);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.signature-symbol {
    display: grid;
    place-items: center;
    width: 58px;
    height: 52px;
    border: 3px solid var(--berry);
    color: var(--berry);
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 5px 5px 17px 5px;
}

.primary-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-size: 14px;
    font-weight: 800;
}

.primary-nav a {
    border-bottom: 3px solid transparent;
    padding: 15px 0 12px;
    transition: color 150ms ease, border-color 150ms ease;
}

.primary-nav a:hover,
.primary-nav .selected {
    border-bottom-color: var(--berry);
    color: var(--berry);
}

.top-note {
    margin-left: auto;
    max-width: 190px;
    font-size: 12px;
    line-height: 1.4;
    text-align: right;
    font-weight: 700;
    color: var(--muted);
}

.main-hero {
    padding: 42px 0 47px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.hero-heading {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 7px solid var(--berry);
}

.hero-heading h1 {
    margin-bottom: 0;
}

.section-tag {
    display: block;
    color: var(--berry);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 45px;
}

.hero-description {
    min-width: 0;
}

.lead {
    color: var(--strong);
    font-weight: 700;
}

.button-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 23px;
}

.service-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 21px;
    border-radius: 4px;
    border: 2px solid var(--berry);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

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

.service-button:active {
    transform: translateY(0);
}

.phone-button {
    background: var(--berry);
    color: var(--white);
}

.phone-button:hover {
    border-color: var(--berry-hover);
    background: var(--berry-hover);
}

.form-button {
    color: var(--berry);
    background: var(--white);
}

.form-button:hover {
    background: var(--blush);
}

.hob-illustration {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1.22 / 1;
    background: var(--blush);
    border-radius: 12px 80px 12px 12px;
    padding: 23px;
    margin: 0 auto;
}

.hob-caption {
    position: absolute;
    top: 20px;
    left: 22px;
    color: var(--berry);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.hob-frame {
    position: absolute;
    inset: 18% 11% 12% 11%;
    background: var(--white);
    border: 8px solid var(--strong);
    border-radius: 6px;
    box-shadow: 13px 13px 0 var(--aqua);
}

.hob-burner {
    position: absolute;
    background: #f6fbfd;
    border-radius: 50%;
    border: 7px solid var(--berry);
}

.hob-burner::before {
    content: "";
    position: absolute;
    inset: 15%;
    border: 4px solid var(--blush-strong);
    border-radius: 50%;
}

.hob-burner-large {
    top: 11%;
    left: 9%;
    width: 42%;
    aspect-ratio: 1;
}

.hob-burner-small {
    top: 16%;
    right: 9%;
    width: 33%;
    aspect-ratio: 1;
}

.hob-control {
    position: absolute;
    bottom: 10%;
    left: 18%;
    right: 18%;
    display: flex;
    justify-content: space-between;
}

.hob-control span {
    width: 15px;
    height: 15px;
    border: 3px solid var(--strong);
    border-radius: 50%;
}

.hob-control span:last-child {
    background: var(--spark);
}

.graphic-mark {
    position: absolute;
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--berry);
}

.mark-one {
    left: 4%;
    bottom: 16%;
}

.mark-two {
    right: 5%;
    bottom: 4%;
}

.service-locality {
    padding: 38px 0 42px;
    background: var(--ice);
    border-bottom: 1px solid var(--line);
}

.service-locality h2 {
    max-width: 920px;
}

.service-locality p {
    max-width: 1120px;
}

.section {
    padding: 52px 0 56px;
}

.devices-overview {
    background: var(--white);
}

.repair-line {
    padding: 21px 0 17px 25px;
    border-left: 4px solid var(--aqua);
    border-top: 1px solid var(--line);
}

.repair-line:nth-of-type(2) {
    border-left-color: var(--blush-strong);
}

.repair-line:nth-of-type(3) {
    border-left-color: var(--spark);
}

.repair-line p {
    max-width: 95ch;
}

.repair-line h3 {
    margin-bottom: 13px;
}

.diagnosis-panel {
    background: var(--blush);
    border-top: 1px solid #f6d4df;
}

.diagnosis-panel p,
.service-intake p,
.service-diagnostics p,
.service-settlement p,
.service-execution p,
.faults-section p,
.washing-section p,
.home-other p,
.home-last p {
    max-width: 90ch;
}

.service-hours {
    background: var(--paper);
}

.hours-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(285px, 0.75fr);
    gap: 44px;
    align-items: center;
}

.hours-copy p {
    max-width: 90ch;
}

.hours-note {
    border-top: 7px solid var(--berry);
    background: var(--white);
    padding: 22px;
    box-shadow: 8px 8px 0 var(--ice);
}

.hours-note-title {
    display: block;
    margin-bottom: 15px;
    color: var(--berry);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.hour-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.hour-value strong {
    white-space: nowrap;
}

.end-strip {
    padding: 37px 0 39px;
    background: var(--berry);
    color: var(--white);
}

.end-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.end-inner > div:first-child {
    max-width: 760px;
}

.end-inner h2 {
    color: var(--white);
    margin-bottom: 13px;
}

.end-inner p {
    max-width: 100%;
}

.end-inner .button-line {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
}

.end-inner .form-button {
    border-color: var(--white);
}

.end-inner .phone-button {
    border-color: var(--white);
}

.end-inner .phone-button:hover {
    background: var(--strong);
}

.site-footer {
    background: var(--white);
    padding: 25px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.footer-accent {
    color: var(--berry);
    margin: 0 5px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer a:hover {
    color: var(--berry);
}

.site-footer .privacy {
    color: var(--muted);
    font-size: 12px;
}

.internal-hero {
    padding: 51px 0 47px;
    border-bottom: 1px solid var(--line);
}

.internal-home {
    background: var(--blush);
}

.internal-service {
    background: var(--ice);
}

.internal-intro {
    max-width: 1050px;
}

.internal-intro p {
    max-width: 100%;
}

.faults-section,
.service-intake {
    background: var(--white);
}

.washing-section,
.service-diagnostics {
    background: var(--paper);
}

.home-other,
.service-settlement {
    background: var(--white);
}

.home-last,
.service-execution {
    background: var(--blush);
}

.price-band {
    width: fit-content;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    background: var(--ice);
    padding: 17px 23px;
    border-left: 5px solid var(--berry);
    margin-top: 22px;
    font-size: 14px;
}

.price-band strong {
    font-size: 21px;
}

@media (max-width: 1140px) {
    .top-note {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .hero-body {
        gap: 25px;
    }
}

@media (max-width: 1040px) {
    .wrap {
        width: min(100% - 52px, 1170px);
    }

    .hero-body {
        display: block;
    }

    .hero-description {
        max-width: 850px;
        margin: 0 auto;
    }

    .hob-illustration {
        margin-top: 33px;
        max-width: 390px;
    }

    .hours-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hours-note {
        width: min(100%, 510px);
    }
}

@media (max-width: 780px) {
    .section {
        padding: 40px 0 43px;
    }

    .main-hero {
        padding: 34px 0 39px;
    }

    .end-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .end-inner .button-line {
        flex-direction: row;
    }

    .end-inner .button-line .service-button {
        flex: 1;
    }

    .internal-hero {
        padding: 40px 0 42px;
    }
}

@media (max-width: 580px) {
    .wrap {
        width: calc(100% - 34px);
    }

    .header-inner {
        min-height: 0;
        padding: 15px 0 12px;
        flex-wrap: wrap;
        gap: 11px;
    }

    .signature {
        width: 100%;
        font-size: 21px;
    }

    .primary-nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        font-size: 14px;
    }

    .primary-nav a {
        padding: 9px 0 8px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .button-line,
    .end-inner .button-line {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .service-button {
        width: 100%;
    }

    .hero-heading {
        padding-left: 14px;
    }

    .hob-illustration {
        max-width: 330px;
    }

    .hob-frame {
        border-width: 6px;
    }

    .hob-burner {
        border-width: 5px;
    }

    .hob-burner::before {
        border-width: 3px;
    }

    .repair-line {
        padding-left: 16px;
    }

    .footer-inner {
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    .wrap {
        width: calc(100% - 28px);
    }

    .primary-nav {
        font-size: 13px;
    }

    .hob-illustration {
        max-width: 295px;
    }
}
