:root {
    --paper: #ffffff;
    --wash: #f3f8fa;
    --wash-strong: #e6f0f3;
    --steel: #2e718a;
    --steel-strong: #245d70;
    --steel-soft: #7fa8b6;
    --ink: #365f6c;
    --muted: #5f7d86;
    --line: #c9dde3;
    --coral: #b84533;
    --coral-soft: #f3ded9;
    --focus: #d76652;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body,
a,
button {
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--steel-strong);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    width: 34px;
    height: 34px;
    border: 3px solid var(--steel);
    border-radius: 50%;
}

.brand-mark::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 11px;
    left: 50%;
    top: 3px;
    transform: translateX(-50%);
    border-radius: 4px;
    background: var(--coral);
}

.brand-mark::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--steel);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover,
.nav-link:active,
.nav-link.is-current {
    background: var(--wash-strong);
    color: var(--steel-strong);
}

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

h1 {
    margin-bottom: 24px;
    color: var(--steel-strong);
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: 20px;
    color: var(--steel-strong);
    font-size: 28px;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 8px;
    color: var(--steel-strong);
    font-size: 20px;
    line-height: 1.3;
}

p {
    margin-bottom: 16px;
    font-size: 16px;
}

.eyebrow,
.section-index,
.small-label,
.gauge-label,
.ticket-top,
.panel-label {
    display: inline-block;
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.lead-section {
    position: relative;
    padding: 70px 0 58px;
    background: var(--wash);
    border-bottom: 1px solid var(--line);
}

.lead-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    background: var(--steel);
    border-top: 2px solid var(--coral);
    opacity: 0.22;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
    gap: 54px;
    align-items: center;
}

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

.lead-copy .eyebrow {
    margin-bottom: 14px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.cta-primary {
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 18px;
    border: 2px solid transparent;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.button-phone {
    background: var(--steel);
    color: var(--paper);
}

.button-online {
    background: var(--coral);
    color: var(--paper);
}

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

.button-phone:hover,
.button-phone:active {
    background: var(--steel-strong);
}

.button-online:hover,
.button-online:active {
    background: #a63e2e;
}

.control-panel {
    position: relative;
    padding: 26px 24px 20px;
    border: 1px solid var(--line);
    border-top: 6px solid var(--steel);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(46, 113, 138, 0.12);
}

.dial {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 0 22px auto;
    border: 9px solid var(--wash-strong);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--line);
}

.dial::before {
    content: "";
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: var(--steel);
}

.dial span {
    position: absolute;
    z-index: 1;
    width: 4px;
    height: 18px;
    left: 50%;
    top: 8px;
    transform: translateX(-50%) rotate(26deg);
    transform-origin: 50% 30px;
    border-radius: 3px;
    background: var(--coral);
}

.panel-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.panel-line strong {
    color: var(--steel-strong);
    font-size: 15px;
    text-align: right;
}

.section {
    padding: 64px 0;
}

.section-tint {
    background: var(--wash);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-index {
    margin-bottom: 10px;
}

.section-scope > .wrap > p,
.section-process > .wrap > p {
    max-width: 820px;
}

.appliance-lines {
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.appliance-line {
    display: grid;
    grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
    gap: 34px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line);
}

.appliance-line h3,
.appliance-line p {
    margin-bottom: 0;
}

.service-detail-grid,
.visit-layout,
.offer-condition-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
    gap: 48px;
    align-items: start;
}

.repair-note,
.hours-note {
    padding: 24px;
    border-left: 5px solid var(--coral);
    background: var(--paper);
}

.repair-note p,
.hours-note p {
    margin-bottom: 0;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 32px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--wash);
}

.cta-strip-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cta-strip-copy strong {
    color: var(--steel-strong);
    font-size: 18px;
}

.service-sequence {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.service-sequence li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 22px;
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
}

.service-sequence h3,
.service-sequence p {
    margin-bottom: 0;
}

.sequence-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--steel);
    color: var(--paper);
    font-weight: 800;
}

.section-hours {
    padding-top: 54px;
}

.hours-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 50px;
    align-items: center;
}

.hours-board {
    border-top: 4px solid var(--steel);
}

.hours-board div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.hours-board strong {
    color: var(--steel-strong);
}

.local-extra {
    padding: 25px 0 28px;
    border-top: 1px solid var(--line);
}

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

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

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

.footer-brand {
    color: var(--steel-strong);
    font-weight: 800;
}

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

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

.footer-nav a:hover,
.footer-nav a:active {
    color: var(--coral);
    text-decoration: underline;
}

.privacy-link {
    opacity: 0.72;
}

.lead-repair {
    background: var(--paper);
}

.repair-lead-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
}

.symptom-gauge {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--wash-strong);
    border: 1px solid var(--line);
}

.symptom-gauge p {
    margin-bottom: 0;
}

.gauge-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 16px 0 20px;
}

.gauge-track span {
    height: 11px;
    border-radius: 8px;
    background: var(--steel-soft);
}

.gauge-track span:nth-child(3),
.gauge-track span:nth-child(4) {
    background: var(--coral);
}

.fault-list {
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.fault-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    gap: 36px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.fault-name {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fault-name h3,
.fault-row p {
    margin-bottom: 0;
}

.fault-dot {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 5px;
    border: 4px solid var(--steel);
    border-radius: 50%;
    background: var(--paper);
}

.visit-ticket {
    padding: 24px;
    border: 1px solid var(--line);
    border-top: 6px solid var(--coral);
    border-radius: var(--radius);
    background: var(--paper);
}

.visit-ticket strong {
    display: block;
    margin: 7px 0 10px;
    color: var(--steel-strong);
    font-size: 28px;
}

.visit-ticket p {
    margin-bottom: 0;
}

.appointment-section {
    padding-bottom: 58px;
}

.appointment-layout,
.offer-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) auto;
    gap: 44px;
    align-items: center;
}

.offer-lead {
    background: var(--wash);
}

.offer-lead-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    gap: 54px;
    align-items: center;
}

.offer-summary {
    border-top: 6px solid var(--coral);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.offer-summary div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.offer-summary strong {
    color: var(--steel-strong);
    text-align: right;
}

.service-ledger {
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.service-ledger article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.service-ledger h3,
.service-ledger p {
    margin-bottom: 0;
}

.ledger-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--steel);
    border-radius: 50%;
    color: var(--steel-strong);
    font-weight: 900;
}

.offer-cta {
    justify-content: flex-end;
}

@media (max-width: 1100px) {
    .wrap {
        width: min(980px, calc(100% - 48px));
    }

    .lead-layout,
    .repair-lead-layout,
    .offer-lead-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
        gap: 36px;
    }

    .service-detail-grid,
    .visit-layout,
    .offer-condition-layout {
        gap: 34px;
    }

    .hours-layout {
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .wrap {
        width: min(760px, calc(100% - 40px));
    }

    .lead-layout,
    .repair-lead-layout,
    .offer-lead-layout,
    .service-detail-grid,
    .visit-layout,
    .offer-condition-layout,
    .hours-layout,
    .appointment-layout,
    .offer-contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .control-panel,
    .symptom-gauge,
    .offer-summary,
    .repair-note,
    .hours-note,
    .visit-ticket {
        width: 100%;
    }

    .dial {
        margin-left: 0;
    }

    .appointment-layout .cta-row,
    .offer-contact-layout .cta-row,
    .offer-cta {
        justify-content: flex-start;
    }

    .cta-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .wrap {
        width: min(620px, calc(100% - 32px));
    }

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

    .site-header {
        position: static;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .nav-link {
        flex: 1 1 0;
        padding: 9px 8px;
        text-align: center;
    }

    .lead-section {
        padding: 48px 0 44px;
    }

    .section {
        padding: 48px 0;
    }

    .appliance-line,
    .fault-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-sequence li {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .sequence-number {
        width: 38px;
        height: 38px;
    }

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

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

    .lead-section {
        padding-top: 38px;
    }

    .button {
        width: 100%;
    }

    .cta-row {
        width: 100%;
    }

    .panel-line,
    .offer-summary div,
    .hours-board div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .panel-line strong,
    .offer-summary strong {
        text-align: left;
    }

    .service-sequence li {
        grid-template-columns: 1fr;
    }

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