:root {
    --page: #f3fbfa;
    --surface: #ffffff;
    --wash: #e2f4f1;
    --wash-strong: #cfeae6;
    --lilac: #f0eef8;
    --ink: #285968;
    --muted: #5e7d86;
    --line: #a9d5d0;
    --accent: #d74868;
    --accent-deep: #b83a58;
    --teal: #359788;
    --teal-deep: #27796f;
    --focus: #8b4eb7;
    --wrap: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

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

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

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

.masthead-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 88px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.wordmark-dial {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 6px solid var(--wash-strong);
    border-top-color: var(--accent);
    border-right-color: var(--teal);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.wordmark-text {
    display: grid;
    line-height: 1.18;
}

.wordmark-text strong {
    font-size: 17px;
}

.wordmark-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.primary-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.primary-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}

.primary-nav a:hover,
.primary-nav a.current {
    background: var(--wash);
    color: var(--ink);
}

.quick-actions,
.opening-actions,
.closing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid var(--ink);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

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

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

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

.button-phone:hover {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
}

.button-report {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent-deep);
}

.button-report:hover {
    background: #fff4f7;
}

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

h1 {
    margin-bottom: 22px;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.024em;
}

h2 {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.22;
    letter-spacing: -0.015em;
}

h3 {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.3;
}

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

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

.service-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.control-opening {
    padding: 68px 0 62px;
    background: var(--surface);
}

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

.opening-copy {
    max-width: 700px;
}

.opening-copy > p:not(.service-label) {
    max-width: 680px;
}

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

.control-dial {
    max-width: 330px;
    text-align: center;
}

.dial-face {
    display: grid;
    width: 230px;
    height: 230px;
    margin: 0 auto 22px;
    place-content: center;
    border: 20px solid var(--wash-strong);
    border-top-color: var(--accent);
    border-right-color: var(--teal);
    border-bottom-color: #bfc5e6;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
}

.dial-face strong,
.dial-face span {
    display: block;
}

.dial-face strong {
    margin: 3px 0;
    font-size: 23px;
}

.dial-face span {
    color: var(--muted);
    font-size: 13px;
}

.dial-face .dial-kicker {
    color: var(--accent-deep);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.control-dial > p {
    color: var(--muted);
}

.service-band {
    padding: 54px 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.service-band-cool {
    background: var(--wash);
}

.service-band-pulse {
    background: var(--lilac);
}

.band-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 58px;
    align-items: start;
}

.band-layout-offset {
    grid-template-columns: minmax(0, 1fr) 250px;
}

.band-copy {
    max-width: 790px;
}

.band-marker {
    padding: 17px 18px 18px 20px;
    border-left: 6px solid var(--teal);
    background: var(--surface);
}

.band-marker span,
.slice-heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.band-marker strong {
    display: block;
    font-size: 16px;
    line-height: 1.45;
}

.band-marker-pulse {
    border-left-color: var(--accent);
}

.band-note {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px 18px 18px 4px;
    background: var(--page);
}

.band-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-deep);
    font-size: 18px;
}

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

.hours-copy {
    max-width: 720px;
}

.hours-strip {
    border-top: 4px solid var(--teal);
}

.hours-strip p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.hours-strip span {
    color: var(--muted);
}

.final-service-layout {
    max-width: 860px;
}

.local-extra {
    padding: 22px 0 24px;
    border-top: 1px solid var(--line);
    background: var(--page);
}

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

.repair-opening {
    padding: 62px 0 0;
    background: var(--surface);
}

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

.repair-heading {
    max-width: 820px;
    padding-bottom: 36px;
}

.symptom-ribbon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.symptom-ribbon p {
    margin: 0;
    padding: 22px 24px 24px 0;
}

.symptom-ribbon p + p {
    padding-left: 24px;
    border-left: 1px solid var(--line);
}

.symptom-ribbon strong,
.symptom-ribbon span {
    display: block;
}

.symptom-ribbon strong {
    margin-bottom: 5px;
    color: var(--accent-deep);
}

.symptom-ribbon span {
    color: var(--muted);
}

.repair-detail,
.visit-section,
.fault-section,
.appointment-section {
    padding: 54px 0;
}

.repair-detail {
    background: var(--wash);
}

.repair-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 58px;
    align-items: start;
}

.repair-detail-layout article {
    max-width: 780px;
}

.repair-aside {
    padding: 20px 0 20px 20px;
    border-left: 6px solid var(--accent);
}

.repair-aside strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

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

.visit-flow {
    max-width: 900px;
}

.visit-list {
    margin-bottom: 26px;
    padding: 0;
    list-style: none;
    counter-reset: visit;
}

.visit-list li {
    position: relative;
    padding: 0 0 24px 58px;
    counter-increment: visit;
}

.visit-list li::before {
    content: counter(visit);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid var(--teal);
    border-radius: 50%;
    color: var(--teal-deep);
    font-size: 13px;
    font-weight: 900;
}

.visit-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 37px;
    bottom: 0;
    width: 2px;
    background: var(--wash-strong);
}

.visit-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.visit-list p {
    margin: 0;
    color: var(--muted);
}

.fault-section {
    background: var(--lilac);
}

.fault-copy {
    max-width: 900px;
}

.appointment-section {
    background: var(--wash);
}

.appointment-layout {
    max-width: 880px;
}

.offer-opening-new {
    padding: 62px 0;
    background: var(--surface);
}

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

.offer-opening-inner article {
    max-width: 720px;
}

.offer-facts {
    margin: 0;
    border-top: 4px solid var(--accent);
}

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

.offer-facts dt,
.offer-facts dd {
    margin: 0;
    font-size: 15px;
}

.offer-facts dt {
    color: var(--muted);
}

.offer-facts dd {
    font-weight: 800;
    text-align: right;
}

.offer-slice {
    padding: 52px 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

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

.offer-slice-pulse {
    background: var(--lilac);
}

.offer-slice-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 62px;
    align-items: start;
}

.offer-slice-layout-reverse {
    grid-template-columns: 340px minmax(0, 1fr);
}

.slice-heading {
    padding-left: 20px;
    border-left: 6px solid var(--teal);
}

.offer-slice-pulse .slice-heading {
    border-left-color: var(--accent);
}

.slice-heading h2 {
    margin-bottom: 0;
}

.offer-slice article {
    max-width: 700px;
}

.offer-terms {
    padding: 56px 0;
    background: var(--wash);
}

.offer-terms-layout {
    max-width: 880px;
}

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

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

.footer-brand {
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

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

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

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

.footer-nav .privacy-link {
    opacity: 0.62;
    font-weight: 500;
}

@media (max-width: 1080px) {
    .masthead-row {
        grid-template-columns: auto 1fr;
        gap: 14px 24px;
        padding: 14px 0;
    }

    .primary-nav {
        justify-content: flex-end;
    }

    .quick-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .control-opening-layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 42px;
    }

    .dial-face {
        width: 205px;
        height: 205px;
    }

    .band-layout,
    .band-layout-offset,
    .hours-layout,
    .repair-detail-layout,
    .offer-opening-inner,
    .offer-slice-layout,
    .offer-slice-layout-reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .band-marker,
    .band-note,
    .repair-aside,
    .offer-facts,
    .slice-heading {
        max-width: 640px;
    }

    .hours-strip {
        max-width: 560px;
    }
}

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

    .masthead-row {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .wordmark {
        justify-self: start;
    }

    .primary-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .quick-actions {
        grid-column: auto;
        justify-content: flex-start;
    }

    .control-opening {
        padding: 48px 0;
    }

    .control-opening-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .control-dial {
        display: grid;
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 22px;
        max-width: 520px;
        align-items: center;
        text-align: left;
    }

    .dial-face {
        width: 150px;
        height: 150px;
        margin: 0;
        border-width: 14px;
    }

    .dial-face strong {
        font-size: 18px;
    }

    .service-band,
    .repair-detail,
    .visit-section,
    .fault-section,
    .appointment-section,
    .offer-slice,
    .offer-terms {
        padding: 44px 0;
    }

    .repair-opening,
    .offer-opening-new {
        padding-top: 48px;
    }

    .symptom-ribbon {
        grid-template-columns: 1fr;
    }

    .symptom-ribbon p,
    .symptom-ribbon p + p {
        padding: 16px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .symptom-ribbon p:last-child {
        border-bottom: 0;
    }

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

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

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .primary-nav {
        gap: 2px;
    }

    .primary-nav a {
        padding: 7px 9px;
        font-size: 13px;
    }

    .quick-actions,
    .opening-actions,
    .closing-actions {
        width: 100%;
    }

    .button {
        flex: 1 1 auto;
    }

    .control-dial {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dial-face {
        margin: 0 auto;
    }

    .band-marker,
    .band-note,
    .repair-aside,
    .slice-heading {
        padding-left: 16px;
    }

    .hours-strip p,
    .offer-facts div {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .offer-facts dd {
        text-align: left;
    }

    .visit-list li {
        padding-left: 50px;
    }
}
