:root {
    --copper: #bc6040;
    --copper-deep: #a74831;
    --blue: #8caed4;
    --blue-tint: #e6f1fa;
    --ink: #476579;
    --ink-soft: #648398;
    --line: #c7dce9;
    --surface: #fff;
    --canvas: #f2f8fc;
    --yellow: #f5d755;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--copper-deep);
    text-decoration-color: #d39a82;
    text-underline-offset: 3px;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}

a:hover {
    color: #7e4938;
}

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

a:active {
    transform: translateY(1px);
}

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

.reading-width {
    max-width: 910px;
}

h1,
h2 {
    color: var(--copper-deep);
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.2;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 28px;
}

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

p + p {
    margin-top: 14px;
}

.top-rule {
    background: var(--copper);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.top-rule-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-block: 8px;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-columns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 90px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--copper-deep);
    text-decoration: none;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 21px;
    font-weight: 900;
    white-space: nowrap;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 12px;
    border-radius: 2px;
    background: var(--copper);
    border-bottom: 5px solid var(--blue);
    color: #fff;
    font-size: 21px;
    letter-spacing: -.05em;
}

.header-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header-menu a {
    padding: 10px 14px;
    border: 1px solid transparent;
    color: var(--ink);
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
}

.header-menu a:hover {
    border-color: var(--line);
    background: var(--canvas);
    color: var(--copper-deep);
}

.ticket-intro {
    padding-block: 41px 40px;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
}

.ticket-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 268px;
    align-items: center;
    gap: 36px;
}

.intro-copy {
    min-width: 0;
}

.ticket-overline {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--copper-deep);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
}

.intro-copy h1 {
    margin-bottom: 19px;
}

.intro-copy p {
    max-width: 730px;
}

.dispatch-panel {
    display: flex;
    flex-direction: column;
    padding: 14px 17px 17px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--copper);
}

.dispatch-panel p {
    margin-top: 15px;
    line-height: 1.5;
    color: var(--ink);
}

.ticket-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dispatch-panel .ticket-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 13px;
}

.ticket-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--copper);
    border-radius: 2px;
}

.ticket-phone {
    color: #fff;
    background: var(--copper);
}

.ticket-phone:hover {
    color: #fff;
    background: var(--copper-deep);
    border-color: var(--copper-deep);
}

.ticket-online {
    color: var(--copper-deep);
    background: #fff;
}

.ticket-online:hover {
    color: var(--copper-deep);
    background: #fff0eb;
}

.tool-image {
    position: relative;
    height: 130px;
    width: 100%;
    overflow: hidden;
    background-color: #e6f1fa;
    background-image: linear-gradient(#d3e3f1 1px, transparent 1px), linear-gradient(90deg, #d3e3f1 1px, transparent 1px);
    background-size: 19px 19px;
    border: 1px solid #c3d9e7;
}

.measure-line {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px dashed var(--blue);
    border-radius: 50%;
}

.first-line {
    top: 13px;
    left: 13px;
}

.second-line {
    bottom: 11px;
    right: 12px;
}

.appliance-figure {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid var(--copper);
    border-radius: 5px;
    background: #fff;
    box-shadow: 6px 6px 0 rgba(168,91,70,.14);
}

.figure-washer,
.figure-dishwasher {
    width: 111px;
    height: 113px;
}

.machine-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 9px;
    height: 25px;
    background: #dfeef9;
    border-bottom: 3px solid var(--copper);
}

.machine-toolbar span {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    border: 2px solid var(--copper);
}

.machine-toolbar span:first-child {
    width: 13px;
    height: 13px;
    border: 3px solid var(--blue);
}

.washer-dial {
    width: 70px;
    height: 70px;
    margin: 7px auto;
    border: 7px solid var(--copper);
    border-radius: 50%;
    background: #bddcef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-face {
    width: 51px;
    height: 51px;
    border: 2px solid #8ab7d7;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #fff 0 7%, #b5dcef 8% 42%, #79accb 43% 80%, #b5dcef 81%);
}

.dish-hatch {
    width: 83px;
    height: 73px;
    margin: 7px auto;
    border: 4px solid var(--copper);
    background: #b9dbea;
}

.dish-tray {
    height: 53px;
    margin: 8px 7px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    border-bottom: 3px solid var(--copper);
}

.dish-tray i {
    width: 14px;
    height: 36px;
    border: 3px solid var(--copper);
    border-radius: 9px 9px 0 0;
    background: #fff;
}

.dish-tray i:nth-child(2) {
    height: 44px;
}

.figure-fridge {
    width: 88px;
    height: 116px;
}

.cold-chamber.upper-chamber {
    height: 42px;
    background: #e0eff8;
    border-bottom: 4px solid var(--copper);
}

.cold-chamber.lower-chamber {
    height: 67px;
    background: #f9fdff;
}

.cold-chamber i {
    position: absolute;
    right: 10px;
    width: 5px;
    height: 23px;
    border-radius: 3px;
    background: var(--copper);
}

.upper-chamber i {
    top: 13px;
}

.lower-chamber i {
    top: 59px;
}

.figure-oven {
    width: 122px;
    height: 109px;
}

.oven-chamber {
    position: relative;
    height: 63px;
    margin: 8px 10px 0;
    border: 4px solid var(--copper);
    background: repeating-linear-gradient(0deg, #b6d9ed 0 12px, #9ac4df 12px 14px);
}

.oven-chamber::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 11px;
    width: 12px;
    height: 37px;
    background: rgba(255,255,255,.6);
    transform: skewX(-17deg);
}

.oven-sheet {
    position: absolute;
    bottom: 7px;
    left: 10px;
    right: 10px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
}

.sheet-section {
    padding-block: 40px 43px;
    background: #fff;
}

.sheet-tint {
    background: var(--canvas);
    border-top: 1px solid #e4eef5;
    border-bottom: 1px solid #e4eef5;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.number-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #d4bbac;
    border-bottom: 5px solid var(--copper);
    background: #fff;
    color: var(--copper-deep);
    font-size: 13px;
    font-weight: 900;
}

.section-heading h2 {
    padding-top: 2px;
}

.sheet-section p + p,
.place-strip p + p {
    margin-top: 15px;
}

.sheet-section p a {
    font-weight: 750;
}

.place-strip {
    padding-block: 27px 31px;
}

.place-first {
    background: #dfedf9;
    border-bottom: 1px solid var(--line);
}

.place-foot {
    background: #fff;
    border-top: 1px solid var(--line);
}

.place-strip h2 {
    margin-bottom: 16px;
    color: #527b9b;
}

.place-strip strong {
    color: var(--copper-deep);
    font-weight: 800;
}

.appointment-band {
    background: var(--copper);
    border-top: 5px solid var(--blue);
    padding-block: 27px;
}

.appointment-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.appointment-copy {
    min-width: 0;
}

.appointment-copy h2 {
    color: #fff;
    margin-bottom: 7px;
}

.appointment-copy p {
    color: #fff5f1;
    max-width: 560px;
}

.appointment-band .ticket-actions {
    flex: none;
}

.appointment-band .ticket-online {
    color: var(--copper-deep);
    background: #fff;
    border-color: #fff;
}

.appointment-band .ticket-online:hover {
    background: #fcece6;
}

.appointment-band .ticket-phone {
    color: var(--ink);
    background: #e3f1fc;
    border-color: #e3f1fc;
}

.appointment-band .ticket-phone:hover {
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}

.main-footer {
    padding-block: 23px;
    background: #e8f2f9;
    border-top: 1px solid var(--line);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    color: var(--copper-deep);
    font-weight: 900;
    font-size: 14px;
}

.main-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.main-footer a {
    font-weight: 750;
    font-size: 14px;
    text-decoration: none;
}

.main-footer a.privacy {
    color: #5e7c8e;
    font-weight: 400;
    font-size: 12px;
}

@media (max-width: 1030px) {
    .appointment-layout {
        display: block;
    }

    .appointment-band .ticket-actions {
        margin-top: 19px;
    }
}

@media (max-width: 900px) {
    .ticket-grid {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    .dispatch-panel {
        display: grid;
        grid-template-columns: 175px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        gap: 12px 18px;
        padding: 13px 17px;
    }

    .tool-image {
        grid-column: 1;
        grid-row: 1 / 3;
        height: 145px;
    }

    .dispatch-panel .ticket-actions {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dispatch-panel p {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }
}

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

    .header-columns {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
        padding-block: 14px;
    }

    .header-menu {
        gap: 0;
        margin-left: -12px;
    }

    .ticket-intro {
        padding-block: 31px 30px;
    }

    .sheet-section {
        padding-block: 32px 35px;
    }

    .place-strip {
        padding-block: 23px 26px;
    }

    .footer-columns {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }
}

@media (max-width: 560px) {
    .top-rule-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 12px;
        text-align: center;
    }

    .site-brand {
        font-size: 19px;
    }

    .dispatch-panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 13px;
    }

    .tool-image,
    .dispatch-panel .ticket-actions,
    .dispatch-panel p {
        grid-column: 1;
        grid-row: auto;
    }

    .tool-image {
        height: 131px;
    }

    .dispatch-panel .ticket-actions {
        grid-template-columns: 1fr;
    }

    .appointment-band .ticket-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .section-heading {
        gap: 11px;
    }

    .number-tag {
        flex-basis: 36px;
        width: 36px;
        height: 40px;
    }
}

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

    a {
        transition: none;
    }
}
