:root {
    --violet: #7955a9;
    --violet-deep: #63418e;
    --berry: #c34c86;
    --aqua: #3eacc0;
    --ink: #4b3f68;
    --text: #5d5270;
    --muted: #786d89;
    --line: #ded4ed;
    --lavender: #f4effb;
    --aqua-soft: #eaf8fa;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--violet-deep);
    text-underline-offset: 3px;
}

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

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

h1 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: var(--ink);
    margin-bottom: 20px;
    font-weight: 800;
}

h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 0;
}

p {
    font-size: 16px;
    line-height: 1.68;
    margin-bottom: 15px;
}

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

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

.reading {
    width: min(100% - 64px, 870px);
    margin-inline: auto;
}

.worktime {
    background: var(--aqua-soft);
    color: var(--violet-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .105em;
}

.worktime__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.masthead__inner {
    display: flex;
    min-height: 89px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    color: var(--violet-deep);
    font-weight: 900;
    font-size: 22px;
    text-decoration: none;
    letter-spacing: -.05em;
}

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

.brand__mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    transform: rotate(-6deg);
    background: var(--violet);
    border-radius: 13px 13px 13px 5px;
    color: var(--white);
    font-size: 21px;
    letter-spacing: -.08em;
}

.brand__mark span {
    font-size: 15px;
    color: #a4f0ed;
}

.masthead__nav {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-left: auto;
}

.masthead__nav a {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    padding-block: 9px;
    border-bottom: 2px solid transparent;
}

.masthead__nav a:hover,
.masthead__nav a[aria-current="page"] {
    border-color: var(--berry);
    color: var(--violet-deep);
}

.masthead__actions,
.opening__actions,
.appointment__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 10px 21px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease;
    white-space: nowrap;
}

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

.action--call {
    background: var(--berry);
    color: var(--white);
    box-shadow: 0 5px 0 #e1a9c8;
}

.action--call:hover {
    color: var(--white);
    background: #a93d71;
}

.action--web {
    background: var(--white);
    color: var(--violet-deep);
    border: 2px solid var(--violet);
}

.action--web:hover {
    background: var(--aqua-soft);
    color: var(--violet-deep);
}

.action--compact {
    font-size: 12px;
    padding: 9px 12px;
    min-height: 39px;
}

.opening {
    padding: 42px 0 48px;
    background: linear-gradient(110deg, var(--lavender) 0%, #fbfaff 74%);
    border-bottom: 1px solid var(--line);
}

.opening__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(320px, .85fr);
    align-items: stretch;
    gap: 42px;
}

.opening__copy {
    align-self: center;
    min-width: 0;
}

.opening__copy p {
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--violet-deep);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 14px;
    margin-bottom: 20px;
    letter-spacing: .025em;
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--aqua);
}

.opening__actions {
    margin-top: 24px;
}

.opening__service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    background: var(--white);
    border: 2px solid #d7c8ea;
    border-radius: 20px 20px 6px 20px;
    box-shadow: 11px 11px 0 #cfeef1;
    overflow: hidden;
}

.opening__service-note {
    padding: 12px 23px 23px;
    text-align: center;
}

.opening__service-note span {
    display: block;
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 900;
    color: var(--violet);
}

.opening__service-note strong {
    display: block;
    font-size: 32px;
    line-height: 1.35;
    letter-spacing: -.055em;
    color: var(--berry);
}

.opening__service-note p {
    font-size: 14px;
    max-width: 250px;
    line-height: 1.5;
    margin-inline: auto;
}

.repair-scene {
    position: relative;
    display: grid;
    place-items: center;
    height: 278px;
    overflow: hidden;
    isolation: isolate;
}

.repair-scene__halo {
    position: absolute;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    background: #e7dcf4;
    box-shadow: inset 0 0 0 18px #f7f0fc;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.device {
    position: relative;
    width: 153px;
    height: 181px;
    background: #f9fcff;
    border: 7px solid var(--violet);
    border-bottom-width: 12px;
    border-radius: 15px;
    box-shadow: 9px 9px 0 #c9b7e2, inset 0 10px 0 #ebf4fa;
}

.device__control {
    position: absolute;
    top: 13px;
    right: 15px;
    width: 15px;
    height: 15px;
    background: #76d0d4;
    border: 3px solid var(--violet);
    border-radius: 50%;
    box-shadow: -27px 1px 0 -4px var(--berry);
}

.device__viewport {
    position: absolute;
    left: 16px;
    top: 46px;
    width: 108px;
    height: 108px;
    background: #a8e1e7;
    border: 10px solid var(--violet);
    border-radius: 50%;
    box-shadow: inset 0 0 0 7px #d7f4f7;
}

.device__viewport::after {
    content: "";
    position: absolute;
    width: 39px;
    height: 24px;
    top: 45px;
    left: 12px;
    border-radius: 70% 35% 55% 35%;
    background: #64bcc8;
    transform: rotate(-24deg);
}

.device__divider,
.device__handle {
    display: none;
}

.device--dishwasher .device__viewport,
.device--oven .device__viewport {
    width: 113px;
    height: 97px;
    top: 52px;
    left: 13px;
    border-radius: 9px;
}

.device--dishwasher .device__viewport::after {
    width: 65px;
    height: 43px;
    left: 12px;
    top: 15px;
    border: 4px solid #75b9d2;
    border-top-color: #f1a3c2;
    background: transparent;
    transform: none;
    border-radius: 0 0 20px 20px;
}

.device--oven .device__viewport {
    background: #cfb9f0;
    box-shadow: inset 0 0 0 8px #e9dff7;
}

.device--oven .device__viewport::after {
    width: 68px;
    height: 34px;
    left: 8px;
    top: 33px;
    border: 4px solid #fff;
    border-radius: 45% 45% 8% 8%;
    background: #f1a3c2;
    transform: none;
}

.device--fridge {
    width: 132px;
    height: 218px;
    margin-top: 11px;
}

.device--fridge .device__control,
.device--fridge .device__viewport {
    display: none;
}

.device--fridge .device__divider {
    display: block;
    position: absolute;
    width: 100%;
    height: 6px;
    background: var(--violet);
    left: 0;
    top: 76px;
}

.device--fridge .device__handle {
    display: block;
    position: absolute;
    height: 24px;
    width: 8px;
    top: 39px;
    right: 16px;
    background: var(--aqua);
    border-radius: 8px;
    box-shadow: 0 71px 0 var(--aqua);
}

.repair-scene__tool {
    position: absolute;
    width: 14px;
    height: 84px;
    background: var(--berry);
    border-radius: 8px;
    transform: rotate(38deg);
    right: 32px;
    bottom: 25px;
    box-shadow: 4px 4px 0 #e9b2cf;
}

.repair-scene__tool::before {
    content: "";
    position: absolute;
    width: 29px;
    height: 28px;
    left: -8px;
    top: -21px;
    border: 8px solid var(--berry);
    border-bottom-color: transparent;
    border-radius: 50%;
}

.repair-scene__tool span {
    position: absolute;
    height: 4px;
    width: 13px;
    background: #fff;
    left: 1px;
    bottom: 17px;
}

.repair-scene__spark {
    position: absolute;
    width: 11px;
    height: 11px;
    border: 3px solid var(--aqua);
    transform: rotate(45deg);
}

.repair-scene__spark--a {
    left: 28px;
    top: 55px;
}

.repair-scene__spark--b {
    right: 33px;
    top: 32px;
    width: 18px;
    height: 18px;
    border-color: #eb98bb;
}

.nearby {
    background: var(--aqua-soft);
    border-bottom: 1px solid #c7e7eb;
}

.nearby__inner {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 1px 20px;
    padding-block: 19px;
}

.nearby__label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    color: var(--violet-deep);
    align-self: start;
    padding-top: 8px;
    grid-row: span 2;
}

.nearby p {
    margin: 0;
}

.nearby strong {
    color: var(--violet-deep);
}

.fieldnote {
    padding: 41px 0 38px;
    background: var(--white);
}

.fieldnote--tinted {
    background: #f9f6fc;
    border-top: 1px solid #eee6f5;
    border-bottom: 1px solid #eee6f5;
}

.fieldnote__heading {
    display: flex;
    align-items: baseline;
    gap: 19px;
    margin-bottom: 20px;
}

.fieldnote__index {
    font-size: 13px;
    font-weight: 900;
    color: var(--berry);
    padding-bottom: 4px;
    border-bottom: 3px solid var(--aqua);
}

.fieldnote__text {
    padding-left: 42px;
    border-left: 3px solid #dccce8;
}

.fieldnote__text p {
    margin-bottom: 15px;
}

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

.fieldnote__text a {
    font-weight: 800;
    text-decoration-color: #d9a0c1;
    text-decoration-thickness: 2px;
}

.appointment {
    background: var(--violet);
    padding: 38px 0 42px;
    color: var(--white);
}

.appointment__inner {
    position: relative;
}

.appointment__flag {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    color: #b8f3f1;
}

.appointment h2 {
    color: var(--white);
    margin: 7px 0 12px;
}

.appointment p {
    max-width: 760px;
    margin-bottom: 19px;
}

.appointment .action--web {
    border-color: var(--white);
}

.appointment .action--call {
    background: #f6b4d1;
    color: var(--violet-deep);
    box-shadow: 0 5px 0 #d493b9;
}

.appointment .action--call:hover {
    background: #ffd4e6;
}

.farther {
    padding: 32px 0 36px;
    background: #fff;
}

.farther h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.farther p {
    margin-bottom: 11px;
}

.farther strong {
    color: var(--violet-deep);
    font-weight: 850;
}

.page-foot {
    background: var(--lavender);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.page-foot__inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.page-foot p {
    font-size: 13px;
    margin: 0;
}

.page-foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.page-foot a {
    color: var(--violet-deep);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.page-foot a:hover {
    color: var(--berry);
}

@media (max-width: 1080px) {
    .masthead__inner {
        gap: 18px;
        flex-wrap: wrap;
        padding-block: 16px;
    }

    .masthead__nav {
        margin-left: auto;
    }

    .masthead__actions {
        width: 100%;
        justify-content: flex-end;
    }

    .opening__layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(280px, .9fr);
        gap: 28px;
    }
}

@media (max-width: 740px) {
    .shell,
    .reading {
        width: min(100% - 36px, 870px);
    }

    .worktime__inner {
        flex-wrap: wrap;
        gap: 2px 12px;
        padding-block: 8px;
    }

    .masthead__inner {
        align-items: flex-start;
    }

    .masthead__nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .masthead__actions {
        justify-content: flex-start;
    }

    .opening {
        padding: 31px 0 38px;
    }

    .opening__layout {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .opening__service {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .repair-scene {
        height: 236px;
    }

    .opening__service-note {
        padding: 16px;
    }

    .nearby__inner {
        grid-template-columns: 1fr;
    }

    .nearby__label {
        grid-row: auto;
        padding: 0 0 6px;
    }

    .fieldnote {
        padding: 33px 0;
    }

    .fieldnote__text {
        padding-left: 21px;
    }

    .page-foot__inner {
        padding-block: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 20px;
    }

    .brand__mark {
        width: 44px;
        height: 44px;
    }

    .masthead__actions .action {
        flex: 1 1 auto;
    }

    .opening__actions,
    .appointment__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .opening__actions .action,
    .appointment__actions .action {
        width: 100%;
    }

    .opening__service {
        grid-template-columns: 1fr;
    }

    .repair-scene {
        height: 210px;
    }

    .repair-scene__halo {
        top: 0;
    }

    .opening__service-note {
        padding-top: 0;
    }

    .fieldnote__heading {
        gap: 10px;
    }

    .fieldnote__text {
        padding-left: 15px;
    }
}
