:root {
    --navy: #24445f;
    --blue: #1769aa;
    --blue-soft: #eaf4fb;
    --cyan: #38a8bd;
    --red: #c5483d;
    --red-hover: #a83a32;
    --paper: #f6f9fc;
    --white: #ffffff;
    --line: #c9d9e6;
    --text: #29475e;
    --muted: #60798c;
    --focus: #f3a712;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

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

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    line-height: 1.15;
}

h1 {
    max-width: 780px;
    font-size: 40px;
    letter-spacing: -0.03em;
}

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

h3 {
    font-size: 19px;
}

a {
    color: inherit;
}

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

.site-header {
    position: relative;
    z-index: 10;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    display: inline-grid;
    width: 52px;
    height: 38px;
    place-items: center;
    background: var(--navy);
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-text {
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
}

.header-actions,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.phone-button,
.report-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.phone-button {
    border-color: var(--navy);
    background: var(--white);
    color: var(--navy);
}

.report-button {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}

.phone-button:hover {
    background: var(--blue-soft);
}

.report-button:hover {
    border-color: var(--red-hover);
    background: var(--red-hover);
}

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

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

.hero {
    position: relative;
    overflow: hidden;
    background: var(--blue-soft);
    border-bottom: 1px solid var(--line);
}

.hero::after {
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 360px;
    height: 360px;
    border: 52px solid rgba(56, 168, 189, 0.2);
    border-radius: 50%;
    content: "";
}

.repair-hero::after {
    right: -95px;
    bottom: -125px;
    border-width: 38px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
    gap: 72px;
    align-items: center;
    padding-top: 76px;
    padding-bottom: 76px;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 24px;
    margin-bottom: 28px;
    color: var(--text);
    font-size: 17px;
}

.eyebrow,
.section-kicker {
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-panel {
    background: var(--navy);
    color: var(--white);
}

.panel-line {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 17px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.panel-line:last-child {
    border-bottom: 0;
}

.panel-line span {
    color: #c9deec;
    font-size: 14px;
}

.panel-line strong {
    max-width: 190px;
    text-align: right;
    font-size: 14px;
}

.service-intro,
.diagnosis,
.hours,
.final-cta {
    background: var(--white);
}

.service-intro,
.appliances,
.diagnosis,
.hours {
    padding: 72px 0;
}

.split-section,
.diagnosis-grid,
.hours-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
    gap: 72px;
    align-items: start;
}

.text-column {
    border-left: 3px solid var(--cyan);
    padding-left: 28px;
}

.text-column p:last-child,
.diagnosis-note p:last-child {
    margin-bottom: 0;
}

.appliances {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading h2 {
    margin-bottom: 18px;
}

.appliance-grid,
.repair-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 3px solid var(--navy);
    border-bottom: 1px solid var(--line);
}

.appliance-grid article,
.repair-list article {
    min-width: 0;
    padding: 25px 22px 20px;
    border-right: 1px solid var(--line);
}

.appliance-grid article:last-child,
.repair-list article:last-child {
    border-right: 0;
}

.appliance-grid h3,
.repair-list h3 {
    min-height: 46px;
    margin-bottom: 14px;
}

.appliance-grid p,
.repair-list p {
    color: var(--muted);
}

.diagnosis-grid {
    align-items: stretch;
}

.diagnosis-note {
    padding: 28px 30px 12px;
    background: var(--blue-soft);
    border-left: 5px solid var(--blue);
}

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

.hours-table {
    border-top: 3px solid var(--navy);
}

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

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

.hours-table strong {
    color: var(--navy);
}

.final-cta {
    padding: 42px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.final-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.final-cta h2 {
    margin-bottom: 12px;
}

.final-cta p {
    max-width: 680px;
    margin-bottom: 0;
}

.additional-content {
    padding: 28px 0;
    background: var(--paper);
}

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

.site-footer {
    background: var(--navy);
    color: #dbe9f2;
}

.footer-row {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-row a {
    text-decoration: none;
}

.footer-row a:hover {
    text-decoration: underline;
}

.privacy-link {
    color: #9fb8ca;
    font-size: 12px;
}

@media (max-width: 900px) {
    .hero-grid,
    .split-section,
    .diagnosis-grid,
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-grid {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .service-panel {
        max-width: 560px;
    }

    .appliance-grid,
    .repair-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appliance-grid article:nth-child(2),
    .repair-list article:nth-child(2) {
        border-right: 0;
    }

    .appliance-grid article:nth-child(-n+2),
    .repair-list article:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

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

@media (max-width: 680px) {
    .wrap {
        width: min(100% - 30px, 1160px);
    }

    .header-row {
        min-height: 0;
        padding-top: 14px;
        padding-bottom: 14px;
        align-items: stretch;
        flex-direction: column;
    }

    .brand {
        align-self: flex-start;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .phone-button,
    .report-button {
        width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }

    .hero-grid,
    .service-intro,
    .appliances,
    .diagnosis,
    .hours {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero::after {
        right: -160px;
        bottom: -170px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .panel-line {
        padding-right: 16px;
        padding-left: 16px;
    }

    .text-column {
        padding-left: 20px;
    }

    .appliance-grid,
    .repair-list {
        grid-template-columns: 1fr;
    }

    .appliance-grid article,
    .repair-list article,
    .appliance-grid article:nth-child(2),
    .repair-list article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .appliance-grid article:last-child,
    .repair-list article:last-child {
        border-bottom: 0;
    }

    .appliance-grid h3,
    .repair-list h3 {
        min-height: 0;
    }

    .diagnosis-note {
        padding: 24px 22px 10px;
    }

    .hours-table div {
        gap: 16px;
    }

    .final-cta {
        padding: 34px 0;
    }

    .footer-row {
        padding-top: 20px;
        padding-bottom: 20px;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .header-actions {
        grid-template-columns: 1fr;
    }

    .panel-line,
    .hours-table div {
        align-items: flex-start;
        flex-direction: column;
    }

    .panel-line strong {
        max-width: none;
        text-align: left;
    }
}
