:root {
    --page: #f5fbfc;
    --paper: #ffffff;
    --mist: #e8f4f5;
    --mist-2: #d7ecec;
    --teal: #187d78;
    --teal-deep: #276f70;
    --berry: #b93a60;
    --berry-soft: #f8e7ed;
    --violet: #6b6fa4;
    --ink: #49656f;
    --muted: #6c858c;
    --line: #c6dfe1;
    --focus: #8a5fa3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

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

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

.site-head {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.head-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 40px;
    min-height: 92px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--teal-deep);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-symbol {
    position: relative;
    width: 38px;
    height: 38px;
    border: 2px solid var(--teal);
    border-radius: 9px;
    background: var(--mist);
}

.brand-symbol::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 2px solid var(--berry);
    border-radius: 50%;
}

.brand-symbol::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 9px;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    background: var(--teal);
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-block;
    padding: 9px 13px;
    border-bottom: 3px solid transparent;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
    color: var(--berry);
    border-bottom-color: var(--berry);
}

.opening {
    position: relative;
    padding: 62px 0 54px;
    overflow: hidden;
    background: var(--paper);
}

.opening::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 100%;
    background: var(--teal);
}

.opening::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 23%;
    height: 16px;
    background: var(--berry);
}

.opening-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr);
    gap: 54px;
    align-items: start;
}

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

h1,
h2,
h3 {
    margin: 0;
    color: var(--teal-deep);
    line-height: 1.16;
}

h1 {
    max-width: 850px;
    font-size: 40px;
    letter-spacing: -0.035em;
}

h2 {
    font-size: 28px;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 19px;
}

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

.opening-copy > p:first-of-type {
    margin-top: 24px;
}

.service-stamp {
    border-top: 6px solid var(--berry);
    border-bottom: 1px solid var(--line);
    padding: 20px 0 18px;
}

.service-stamp h2 {
    margin-bottom: 12px;
    color: var(--berry);
}

.service-stamp dl {
    margin: 0;
}

.service-stamp div {
    display: grid;
    grid-template-columns: 106px 1fr;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

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

.service-stamp dt {
    color: var(--muted);
    font-weight: 700;
}

.service-stamp dd {
    color: var(--teal-deep);
    font-weight: 800;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 19px;
    border: 2px solid var(--teal);
    border-radius: 7px;
    background: var(--teal);
    color: var(--paper);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.action:hover,
.action:active {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
}

.action-alt {
    border-color: var(--berry);
    background: var(--paper);
    color: var(--berry);
}

.action-alt:hover,
.action-alt:active {
    background: var(--berry-soft);
    border-color: var(--berry);
    color: var(--berry);
}

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

.band-layout {
    display: grid;
    grid-template-columns: minmax(220px, .68fr) minmax(0, 1.55fr);
    gap: 56px;
    align-items: start;
}

.band-title {
    position: relative;
    padding-left: 24px;
}

.band-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 7px;
    height: 54px;
    background: var(--berry);
}

.band-copy p:first-child {
    margin-top: 0;
}

.section {
    padding: 54px 0;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-title {
    max-width: 760px;
    margin-bottom: 24px;
}

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

.repair-row {
    display: grid;
    grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr);
    gap: 38px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.repair-row h3 {
    color: var(--berry);
}

.repair-row p {
    margin-top: 0;
}

.protocol {
    background: var(--paper);
}

.protocol-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 44px;
    align-items: start;
    padding: 28px 0 0;
    border-top: 5px solid var(--violet);
}

.protocol-note {
    padding: 18px 20px;
    background: var(--mist);
    border-left: 5px solid var(--teal);
}

.protocol-note p:first-of-type {
    margin-top: 8px;
}

.cta-rail {
    padding: 34px 0;
    background: var(--teal);
}

.cta-rail .rail-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
}

.cta-rail h2,
.cta-rail p {
    color: var(--paper);
}

.cta-rail p {
    margin-top: 9px;
}

.cta-rail .actions {
    margin-top: 0;
    justify-content: flex-end;
}

.cta-rail .action {
    border-color: var(--paper);
    background: var(--paper);
    color: var(--teal-deep);
}

.cta-rail .action:hover,
.cta-rail .action:active {
    background: var(--mist-2);
}

.cta-rail .action-alt {
    background: transparent;
    color: var(--paper);
}

.cta-rail .action-alt:hover,
.cta-rail .action-alt:active {
    background: rgba(255,255,255,.13);
    color: var(--paper);
}

.schedule {
    padding: 48px 0;
    background: var(--berry-soft);
}

.schedule-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 50px;
    align-items: start;
}

.hours {
    margin: 0;
    border-top: 1px solid rgba(185,58,96,.3);
}

.hours div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(185,58,96,.3);
}

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

.hours dt {
    font-weight: 700;
}

.hours dd {
    color: var(--berry);
    font-weight: 800;
}

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

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

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

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

.foot-brand {
    color: var(--teal-deep);
    font-weight: 800;
}

.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.foot-links a {
    color: var(--ink);
    font-size: 14px;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.foot-links a:hover,
.foot-links a:focus-visible {
    color: var(--berry);
}

@media (max-width: 1024px) {
    .wrap {
        width: min(100% - 48px, 940px);
    }

    .opening-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
        gap: 36px;
    }

    .band-layout {
        grid-template-columns: minmax(200px, .62fr) minmax(0, 1.38fr);
        gap: 38px;
    }

    .protocol-strip {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 30px;
    }
}

@media (max-width: 820px) {
    .wrap {
        width: min(100% - 36px, 720px);
    }

    .head-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 0;
    }

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

    .opening {
        padding: 48px 0 44px;
    }

    .opening::before {
        width: 10px;
    }

    .opening-grid,
    .band-layout,
    .protocol-strip,
    .schedule-grid,
    .cta-rail .rail-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-stamp {
        max-width: 520px;
    }

    .repair-row {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .cta-rail .actions {
        justify-content: flex-start;
    }
}

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

    .site-head {
        position: static;
    }

    .brand {
        font-size: 18px;
    }

    .brand-symbol {
        width: 34px;
        height: 34px;
    }

    .main-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .nav-link {
        padding: 8px 5px;
        text-align: center;
    }

    .opening {
        padding: 38px 0;
    }

    .section,
    .service-band,
    .schedule {
        padding: 40px 0;
    }

    .actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .action {
        width: 100%;
    }

    .service-stamp div {
        grid-template-columns: 90px 1fr;
        gap: 12px;
    }

    .hours div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .foot-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}
