:root {
    --paper: #f7fbfd;
    --surface: #ffffff;
    --surface-soft: #eaf4f6;
    --ink: #183a59;
    --muted: #587087;
    --line: #b8d3dd;
    --line-strong: #7da9b8;
    --accent: #c6533f;
    --accent-soft: #f6e3df;
    --teal: #287a78;
    --teal-soft: #d9efed;
    --focus: #1f67a7;
    --wrap: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin: 0 0 18px;
    font-size: 16px;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
}

h1 {
    max-width: 780px;
    margin-bottom: 24px;
    font-size: 40px;
    letter-spacing: -0.035em;
}

h2 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: 28px;
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 12px;
    font-size: 19px;
}

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

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(247, 251, 253, 0.96);
}

.header-row {
    display: flex;
    align-items: center;
    min-height: 84px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 235px;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 9px;
    background: var(--surface);
}

.brand-drum {
    width: 25px;
    height: 25px;
    border: 3px solid var(--teal);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px var(--teal-soft);
}

.brand-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 18px;
}

.brand-copy small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    padding: 8px 10px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current {
    border-color: var(--teal);
    color: var(--ink);
}

.header-actions,
.opening-actions,
.contact-buttons,
.offer-actions,
.schedule-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button {
    padding: 9px 15px;
    border: 1px solid transparent;
}

.button:hover,
.text-button:hover {
    transform: translateY(-1px);
}

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

.button:focus-visible,
.text-button:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible,
.footer-nav a:focus-visible {
    outline: 3px solid rgba(31, 103, 167, 0.32);
    outline-offset: 3px;
}

.button-phone {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--ink);
}

.button-report,
.button-primary {
    background: var(--accent);
    color: #ffffff;
}

.button-report:hover,
.button-primary:hover {
    background: #a94131;
}

.button-outline {
    border-color: var(--teal);
    background: transparent;
    color: var(--teal);
}

.button-outline:hover {
    background: var(--teal-soft);
}

.text-button {
    padding: 8px 3px;
    border-bottom: 2px solid var(--teal);
    border-radius: 0;
    color: var(--teal);
}

.opening,
.repair-opening,
.offer-opening {
    padding: 68px 0 58px;
}

.opening-grid,
.repair-opening-grid,
.offer-ledger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 54px;
    align-items: start;
}

.opening-copy,
.repair-title-block,
.offer-title {
    max-width: 780px;
}

.eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lead {
    max-width: 790px;
    color: #2f526d;
    font-size: 16px;
    line-height: 1.7;
}

.opening-actions {
    margin-top: 28px;
}

.service-ticket {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 12px 12px 5px 5px;
    background: var(--surface);
    box-shadow: 8px 8px 0 var(--teal-soft);
}

.ticket-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.ticket-light {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.service-ticket dl {
    margin: 0;
    padding: 8px 16px;
}

.service-ticket dl div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}

.service-ticket dl div:last-child {
    border-bottom: 0;
}

.service-ticket dt,
.service-ticket dd {
    margin: 0;
    font-size: 14px;
}

.service-ticket dt {
    color: var(--muted);
}

.service-ticket dd {
    font-weight: 700;
}

.ticket-note {
    margin: 0;
    padding: 15px 16px 17px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 16px;
}

.section {
    position: relative;
    padding: 58px 0;
    border-top: 1px solid var(--line);
}

.section-tint {
    background: var(--surface-soft);
}

.service-rail {
    position: relative;
    padding-left: 84px;
}

.service-rail::before {
    content: "";
    position: absolute;
    top: -58px;
    bottom: -58px;
    left: 28px;
    width: 2px;
    background: var(--line-strong);
}

.rail-start::before {
    top: 9px;
}

.rail-end::before {
    bottom: 16px;
}

.rail-node {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 58px;
    height: 34px;
    place-items: center;
    border: 2px solid var(--teal);
    border-radius: 17px;
    background: var(--paper);
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.section-tint .rail-node {
    background: var(--surface-soft);
}

.appliance-band p,
.diagnosis-section p,
.local-service p,
.repair-visit p,
.offer-scope p,
.offer-travel p {
    max-width: 880px;
}

.appliance-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 28px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.appliance-lines span {
    padding: 11px 18px 11px 0;
    margin-right: 18px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.appliance-lines span:not(:last-child)::after {
    content: "•";
    margin-left: 18px;
    color: var(--accent);
}

.content-note-layout,
.repair-flow,
.offer-terms,
.heat-layout,
.contact-line,
.rules-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 48px;
    align-items: start;
}

.repair-note,
.fault-marker,
.price-tab {
    border-left: 4px solid var(--accent);
    background: var(--surface);
    padding: 18px 20px;
}

.repair-note p,
.fault-marker p,
.price-tab small {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.schedule-strip {
    background: var(--teal-soft);
}

.schedule-strip .service-rail {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
}

.schedule-copy {
    max-width: 760px;
}

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

.extra-copy {
    padding: 24px 0 28px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.extra-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--line-strong);
    background: #e0edf2;
}

.footer-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.site-footer strong {
    font-size: 17px;
}

.site-footer p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 16px;
}

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

.footer-nav a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--teal);
}

.footer-nav .privacy-link {
    color: #6d8293;
    font-weight: 400;
}

.repair-opening {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.repair-opening-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: end;
}

.symptom-ribbon {
    display: grid;
    border-top: 4px solid var(--accent);
}

.symptom-ribbon span {
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.repair-focus {
    border-top: 0;
}

.repair-copy p {
    max-width: 780px;
}

.fault-marker {
    border-left-color: var(--teal);
    background: var(--teal-soft);
}

.fault-code {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.heat-and-cook {
    background: var(--surface);
}

.heat-scale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-height: 64px;
    padding: 10px 14px;
    border: 2px solid var(--ink);
    border-radius: 34px;
    background: var(--paper);
}

.heat-scale span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.heat-scale span:nth-child(4) {
    background: var(--accent-soft);
    color: var(--accent);
}

.contact-line,
.rules-line {
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: end;
}

.offer-opening {
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}

.offer-ledger {
    grid-template-columns: minmax(0, 1fr) 235px;
    align-items: center;
}

.ledger-stamp {
    display: grid;
    justify-items: center;
    padding: 26px 18px;
    border: 3px double var(--teal);
    border-radius: 50% 50% 46% 46%;
    background: var(--surface);
    transform: rotate(-3deg);
}

.ledger-stamp span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.ledger-stamp strong {
    margin: 2px 0;
    color: var(--ink);
    font-size: 24px;
}

.ledger-stamp small {
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.price-tab {
    border: 1px solid var(--line-strong);
    border-left: 6px solid var(--accent);
    background: var(--surface);
}

.price-tab span,
.price-tab strong,
.price-tab small {
    display: block;
}

.price-tab span {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.price-tab strong {
    margin-bottom: 5px;
    font-size: 24px;
}

@media (max-width: 1100px) {
    .header-row {
        flex-wrap: wrap;
        padding: 16px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 8px;
    }

    .header-actions {
        margin-left: auto;
    }

    .opening-grid,
    .repair-opening-grid,
    .offer-ledger {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
    }

    .content-note-layout,
    .repair-flow,
    .offer-terms,
    .heat-layout,
    .contact-line,
    .rules-line {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 34px;
    }
}

@media (max-width: 860px) {
    .wrap {
        width: min(var(--wrap), calc(100% - 36px));
    }

    .opening,
    .repair-opening,
    .offer-opening {
        padding: 52px 0 46px;
    }

    .section {
        padding: 48px 0;
    }

    .opening-grid,
    .repair-opening-grid,
    .offer-ledger,
    .content-note-layout,
    .repair-flow,
    .offer-terms,
    .heat-layout,
    .contact-line,
    .rules-line {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-ticket,
    .repair-note,
    .fault-marker,
    .price-tab,
    .symptom-ribbon,
    .ledger-stamp,
    .heat-scale {
        max-width: 520px;
    }

    .ledger-stamp {
        width: 220px;
    }

    .schedule-strip .service-rail {
        display: block;
    }

    .schedule-actions,
    .contact-buttons,
    .offer-actions {
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(var(--wrap), calc(100% - 28px));
    }

    .header-row {
        gap: 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand-copy small {
        display: none;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
    }

    .header-actions .button {
        flex: 1 1 145px;
    }

    .main-nav {
        order: 2;
        overflow-x: auto;
        white-space: nowrap;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .service-rail {
        padding-left: 58px;
    }

    .service-rail::before {
        left: 20px;
    }

    .rail-node {
        left: -4px;
        width: 50px;
    }

    .service-ticket {
        box-shadow: 5px 5px 0 var(--teal-soft);
    }

    .appliance-lines span {
        width: 50%;
        margin-right: 0;
        padding-right: 8px;
    }

    .appliance-lines span::after {
        display: none;
    }

    .footer-row {
        display: block;
    }

    .footer-nav {
        margin-top: 18px;
    }
}

@media (max-width: 420px) {
    .opening,
    .repair-opening,
    .offer-opening {
        padding: 42px 0 38px;
    }

    .section {
        padding: 42px 0;
    }

    .service-rail {
        padding-left: 0;
        padding-top: 48px;
    }

    .service-rail::before {
        top: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 2px;
    }

    .rail-node {
        top: -17px;
        left: 0;
    }

    .rail-start {
        padding-top: 52px;
    }

    .rail-start::before {
        top: 0;
    }

    .rail-end::before {
        bottom: auto;
    }

    .button,
    .text-button {
        font-size: 13px;
    }

    .opening-actions .button,
    .opening-actions .text-button,
    .schedule-actions .button,
    .contact-buttons .button,
    .offer-actions .button {
        width: 100%;
    }

    .appliance-lines span {
        width: 100%;
    }

    .footer-nav {
        gap: 14px;
    }
}
