:root {
    --wine: #b53e70;
    --wine-deep: #99305e;
    --cornflower: #5478bd;
    --cornflower-soft: #e8ecfa;
    --pink-soft: #faf0f7;
    --lavender: #f6f5fd;
    --paper: #ffffff;
    --ink: #40547b;
    --muted: #6a7898;
    --border: #d5d9ec;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.62;
}

.shell {
    width: min(1152px, calc(100% - 64px));
    margin-inline: auto;
}

a {
    color: var(--wine-deep);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--cornflower);
}

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

h1,
h2 {
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -.035em;
}

h1 {
    font-size: 40px;
    margin: 12px 0 24px;
    color: var(--wine-deep);
}

h2 {
    font-size: 28px;
    margin: 0 0 18px;
    color: var(--ink);
}

p {
    font-size: 16px;
    line-height: 1.66;
    margin: 0 0 16px;
}

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

.site-header {
    border-top: 7px solid var(--wine);
    border-bottom: 1px solid var(--border);
    background: var(--paper);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-weight: 780;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: -.025em;
    color: var(--ink);
    white-space: nowrap;
}

.brand-sigil {
    background: var(--wine);
    color: var(--paper);
    font-size: 15px;
    font-weight: 850;
    padding: 9px 11px;
    border-radius: 2px 12px 2px 12px;
    letter-spacing: .035em;
}

.brand:hover {
    color: var(--wine);
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 26px;
    align-items: center;
}

.primary-nav a {
    display: inline-block;
    font-size: 15px;
    color: var(--ink);
    font-weight: 690;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding: 5px 0;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--wine);
    border-bottom-color: var(--wine);
}

.opening {
    background: var(--pink-soft);
    border-bottom: 1px solid #e9d8e6;
    padding: 44px 0 42px;
}

.opening-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(312px, 1fr);
    gap: clamp(26px, 4.1vw, 64px);
    align-items: center;
}

.eyebrow {
    color: var(--wine-deep);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: .12em;
    display: inline-block;
}

.opening-story p {
    max-width: 720px;
}

.opening-story p:first-of-type {
    font-weight: 560;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.action {
    min-height: 48px;
    padding: 10px 19px;
    border: 2px solid var(--wine);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    text-decoration: none;
    font-size: 16px;
    font-weight: 745;
    line-height: 1.35;
    transition: background-color .15s, color .15s, border-color .15s;
}

.action-phone {
    background: var(--wine);
}

.action-web {
    background: var(--paper);
    color: var(--wine-deep);
}

.action-phone:hover {
    background: var(--wine-deep);
    border-color: var(--wine-deep);
    color: var(--paper);
}

.action-web:hover {
    border-color: var(--cornflower);
    color: var(--cornflower);
}

.service-instrument {
    background: var(--cornflower-soft);
    border: 1px solid #c4ceeb;
    border-radius: 8px;
    padding: 15px 24px 20px;
    box-shadow: 7px 7px 0 #d9dcef;
}

.sketch {
    position: relative;
    height: 214px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    overflow: hidden;
}

.sketch::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 12%;
    right: 12%;
    border-top: 2px dotted #a9b8de;
}

.sketch-floor {
    position: absolute;
    height: 2px;
    bottom: 13px;
    width: min(100%, 260px);
    background: #b0bede;
}

.appliance {
    position: relative;
    height: 178px;
    width: 152px;
    border: 7px solid #607db7;
    border-radius: 9px;
    background: #fbfaff;
    box-shadow: inset 0 -9px 0 #e8e8f5, 6px 4px 0 #c4c9e7;
    z-index: 1;
}

.appliance-dashboard {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    height: 37px;
    align-items: center;
    padding: 0 11px;
    background: #dce3f8;
    border-bottom: 3px solid #9fafd6;
}

.appliance-dashboard i {
    display: block;
    height: 9px;
    width: 9px;
    border-radius: 50%;
    background: var(--wine);
    border: 2px solid #fae5f1;
}

.appliance-dashboard i:last-child {
    width: 25px;
    border-radius: 4px;
    margin-left: auto;
    background: #789de2;
}

.appliance-window {
    position: absolute;
    top: 53px;
    left: 24px;
    width: 90px;
    height: 90px;
    border: 9px solid #a1aeda;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #667eb6;
    background: #eff5fc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-drum {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #a5d9ee;
    border: 4px solid #dff3fe;
    overflow: hidden;
    position: relative;
}

.inner-drum::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 42px;
    border: 4px solid #4e9dbd;
    background: #b2e6f5;
    border-radius: 50%;
    top: 33px;
    left: -15px;
    transform: rotate(-10deg);
}

.inner-drum span {
    display: block;
    width: 23px;
    height: 23px;
    position: absolute;
    top: 10px;
    left: 13px;
    background: #eaf5ff;
    border-radius: 12px;
    transform: rotate(24deg);
}

.dishwasher-door {
    position: absolute;
    top: 47px;
    left: 13px;
    right: 13px;
    bottom: 17px;
    background: #afc8e8;
    border: 5px solid #728ec5;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plate-rack {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    border-bottom: 5px solid #6e88bd;
    height: 78px;
    padding: 4px;
}

.plate-rack i {
    display: block;
    height: 54px;
    width: 23px;
    border: 4px solid #fbf1f8;
    border-radius: 50%;
    background: #e9d2e6;
}

.appliance-fridge {
    width: 129px;
    height: 184px;
    border-radius: 10px;
}

.fridge-upper,
.fridge-lower {
    position: absolute;
    left: 5px;
    right: 5px;
    background: #deecfa;
    border-radius: 3px;
}

.fridge-upper {
    top: 7px;
    height: 63px;
    border-bottom: 4px solid #9faedd;
}

.fridge-lower {
    top: 79px;
    bottom: 8px;
}

.fridge-upper i,
.fridge-lower i {
    position: absolute;
    top: 15px;
    left: 9px;
    display: block;
    height: 23px;
    width: 5px;
    border-radius: 5px;
    background: var(--wine);
}

.fridge-lower i {
    top: 12px;
}

.oven-door {
    position: absolute;
    top: 50px;
    bottom: 14px;
    left: 13px;
    right: 13px;
    background: #667db7;
    border: 6px solid #a1b1d8;
    box-shadow: inset 0 0 0 5px #91a5cf;
    border-radius: 3px;
}

.oven-door::before,
.oven-door::after {
    content: "";
    position: absolute;
    width: 75%;
    height: 4px;
    background: #c8d6f0;
    left: 12.5%;
    top: 46%;
}

.oven-door::after {
    top: 64%;
}

.oven-tray {
    position: absolute;
    left: 20px;
    bottom: 21px;
    width: 66px;
    height: 17px;
    background: var(--wine);
    border-radius: 2px 2px 9px 9px;
    z-index: 1;
}

.instrument-data {
    border-top: 1px solid #bcc9e8;
    padding-top: 13px;
}

.instrument-data span {
    display: block;
    color: var(--wine-deep);
    font-size: 12px;
    letter-spacing: .075em;
    font-weight: 820;
    margin-bottom: 8px;
}

.instrument-data p {
    font-size: 16px;
    line-height: 1.48;
    margin-bottom: 7px;
}

.location-band {
    padding: 27px 0 30px;
}

.location-first {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.location-band h2 {
    color: var(--wine-deep);
    padding-left: 15px;
    border-left: 5px solid var(--wine);
}

.location-band strong {
    color: #8f3264;
    font-weight: 790;
}

.content-column {
    max-width: 1120px;
}

.content-column > p {
    max-width: 1040px;
}

.content-band {
    padding: 31px 0 36px;
    border-bottom: 1px solid var(--border);
}

.content-soft {
    background: var(--lavender);
}

.chapter-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 18px;
}

.chapter-head h2 {
    margin: 0;
}

.chapter-number {
    flex: none;
    color: var(--wine);
    font-size: 16px;
    font-weight: 830;
    letter-spacing: .035em;
    border-bottom: 3px solid var(--wine);
    line-height: 1.5;
}

.content-band p {
    max-width: 990px;
}

.content-band p a {
    font-weight: 670;
}

.worktime {
    padding: 29px 0 34px;
    background: #e5eaf8;
    border-top: 4px solid var(--cornflower);
}

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

.worktime-title {
    flex: 1;
    min-width: 0;
}

.worktime h2 {
    margin: 8px 0 9px;
}

.worktime .actions {
    flex: none;
    margin: 0;
}

.location-foot {
    background: var(--paper);
    padding: 29px 0 35px;
}

.site-footer {
    background: var(--wine);
    color: var(--paper);
    border-top: 4px solid var(--wine-deep);
}

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

.footer-identity {
    font-weight: 700;
    letter-spacing: .025em;
}

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

.site-footer a {
    color: var(--paper);
    text-decoration: none;
    font-weight: 630;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .privacy-link {
    opacity: .78;
    font-weight: 480;
}

@media (max-width: 1080px) {
    .opening-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(285px, 1fr);
        gap: 28px;
    }

    .worktime-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .opening {
        padding: 30px 0 35px;
    }

    .opening-grid {
        display: block;
    }

    .opening-story {
        margin-bottom: 25px;
    }

    .service-instrument {
        display: flex;
        align-items: center;
        gap: 22px;
        padding: 14px 24px;
    }

    .sketch {
        flex: 0 0 205px;
        height: 198px;
    }

    .instrument-data {
        flex: 1;
        min-width: 0;
        border-top: 0;
        border-left: 1px solid #bcc9e8;
        padding: 0 0 0 20px;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 34px, 1152px);
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0 12px;
    }

    .primary-nav {
        gap: 11px 20px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .opening {
        padding: 28px 0 30px;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
    }

    .service-instrument {
        display: block;
        padding: 10px 18px 19px;
    }

    .sketch {
        width: 100%;
        height: 204px;
    }

    .instrument-data {
        border-left: 0;
        border-top: 1px solid #bcc9e8;
        padding: 11px 0 0;
    }

    .location-band {
        padding: 27px 0;
    }

    .content-band {
        padding: 30px 0;
    }

    .chapter-head {
        gap: 11px;
        align-items: flex-start;
    }

    .chapter-number {
        margin-top: 5px;
    }

    .worktime .actions {
        width: 100%;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .action {
        transition: none;
    }
}
