/* Shared navigation, footer and conversion choices for every public page. */
.global-header .header-content {
    min-height: 84px;
    gap: 24px;
}
.global-header .brand {
    min-width: 0;
    flex: 0 1 190px;
}
.global-header .brand-logo {
    width: 190px;
    max-width: 100%;
    max-height: 70px;
}
.desktop-navigation { margin-left: auto; }
.desktop-navigation ul,
.global-footer .footer-links,
.mobile-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.desktop-navigation ul { display: flex; gap: 20px; }
.desktop-navigation a {
    display: block;
    padding-block: 12px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
.global-header a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.global-header .header-book-button,
.global-header .header-call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    color: var(--navy);
    background: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.global-header .header-book-button { background: var(--orange); border-color: var(--orange); }
.navigation-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    color: var(--navy);
    background: var(--white);
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    cursor: pointer;
}
.mobile-navigation[hidden] { display: none; }
.mobile-navigation { display: none; }
.global-footer .footer-links,
.global-footer .footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 14px;
}
.global-footer a {
    display: inline-block;
    padding-block: 6px;
    color: var(--white);
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}
.global-footer a[aria-current="page"] { font-weight: 800; }
.global-footer .footer-hours { margin-bottom: 14px; }
.global-footer .footer-hours span { display: inline-block; margin-left: 16px; }
/* Distinguish primary booking, secondary online requests and phone contact. */
.hero-buttons, .booking-buttons { flex-wrap: wrap; }
.button.quick-request-button {
    background: var(--light-orange);
    color: var(--navy);
    border: 1.5px solid var(--orange);
    text-decoration: none;
}
.service-detail-page .service-cta {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
}
.service-detail-page .service-cta .button {
    min-width: 0;
    padding-inline: 16px;
}
.service-detail-page .service-cta-call { grid-column: auto; }
.quick-request-alternative {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #d9e2e9;
    border-radius: 10px;
    color: var(--navy);
    background: var(--white);
}
.quick-request-alternative p { flex: 1 1 250px; }
.quick-request-alternative .button { width: auto; min-width: 0; }
@media (max-width: 1199px) and (min-width: 768px) {
    .service-detail-page .service-cta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-detail-page .service-cta > div { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
    .global-header .header-content { min-height: 76px; gap: 12px; }
    .global-header .brand { flex-basis: 160px; }
    .global-header .brand-logo { width: 160px; max-height: 62px; }
    .desktop-navigation, .global-header .header-book-button { display: none; }
    .global-header .header-call-button { background: var(--white); border-color: var(--navy); }
    .navigation-toggle { display: flex; }
    .mobile-navigation:not([hidden]) {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        padding: 12px 20px 20px;
        background: var(--white);
        border-bottom: 1px solid #d9e2e9;
        box-shadow: 0 12px 20px rgba(15, 47, 79, .12);
    }
    .mobile-navigation a {
        display: block;
        padding: 11px 12px;
        min-height: 44px;
        border-radius: 6px;
        color: var(--navy);
        font-weight: 700;
        text-decoration: none;
    }
    .mobile-navigation a:hover { background: var(--light-gray); }
    .mobile-navigation a[href="book-service.html"] { background: var(--orange); margin-top: 12px; text-align: center; }
    .mobile-navigation li + li { border-top: 1px solid #edf1f4; }
    .mobile-navigation a[aria-current="page"]:not([href="book-service.html"]) { background: var(--light-gray); }
}
@media (max-width: 767px) {
    .global-header .header-content { padding-inline: 12px; gap: 8px; }
    .global-header .brand { flex-basis: 140px; }
    .global-header .brand-logo { width: 140px; }
    .header-actions { gap: 8px; }
    .global-header .header-call-button { padding-inline: 10px; font-size: 12px; }
    .service-detail-page .service-cta { grid-template-columns: 1fr; }
    .global-footer .footer-hours span { display: block; margin-left: 0; }
}

.button.quick-request-button:hover { background: #ffedbd; color: var(--navy); }
.button.quick-request-button:active { background: #ffe3a0; }
.global-header .header-call-button:hover { background: var(--light-gray); }
.global-header a:focus-visible, .navigation-toggle:focus-visible,
.button:focus-visible, .global-footer a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}
.confirmed-city-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 24px 0;
    color: var(--navy);
    font-size: 16px;
    line-height: 1.5;
}
.customer-reviews { padding: 56px 0; background: var(--white); }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.review-card { margin: 0; padding: 28px; border: 1px solid #d9e2e9; border-radius: 12px; background: var(--white); color: var(--navy); }
.review-stars { color: var(--orange-text); font-size: 24px; letter-spacing: 3px; margin-bottom: 16px; }
.review-card blockquote { margin: 0 0 24px; font-size: 18px; line-height: 1.6; }
.review-card blockquote p + p { margin-top: 1em; }
.review-card figcaption span { display: block; margin-top: 4px; font-size: 14px; }
@media (max-width: 767px) {
    .confirmed-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
    .review-grid { grid-template-columns: 1fr; }
    .review-card { padding: 22px; }
    .customer-reviews { padding: 40px 0; }
}

/* A two-color ring stays visible on both navy and light CTA surfaces. */
.button:focus-visible { outline-color: var(--navy); box-shadow: 0 0 0 4px var(--white); }
.customer-reviews .eyebrow { color: var(--orange-text); }

/* Shared visual refinements: filled header action and compact desktop branding. */
.global-header .header-call-button { background: var(--navy); border-color: var(--navy); color: var(--white); }
.global-header .header-call-button:hover { background: #19466d; }
.global-header .header-call-button:focus-visible { outline-color: var(--navy); }
@media (min-width: 1024px) {
    .global-header .brand { flex-basis: 230px; }
    .global-header .brand-logo { width: 230px; max-height: 80px; }
}
/* Gold text on light sections; hero labels retain contrast against navy. */
.eyebrow, .service-detail-page .section-kicker { color: var(--orange-text); font-weight: 800; letter-spacing: .7px; }
.hero .eyebrow, .service-hero .eyebrow { color: var(--orange); }
.button.button-call-light, .booking-call-button { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.button.button-secondary-light, .booking-buttons .quick-request-button, .quick-request-alternative .quick-request-button {
    background: #ffe3a0; border: 2px solid #a77a0b; color: var(--navy);
}
.button.button-call-light:hover, .booking-call-button:hover { background: #19466d; color: var(--white); }
.button.button-secondary-light:hover, .booking-buttons .quick-request-button:hover { background: #ffd477; }
.public-page .public-city-list, .confirmed-city-list {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px;
    margin: 24px 0; padding: 0; list-style: none; color: var(--navy); font-size: 18px; line-height: 1.5;
}
.public-page .public-city-list li { color: var(--navy); font-size: inherit; line-height: inherit; }
.service-area, .service-detail-page .service-area-section { background: var(--light-gray); padding-block: 44px; }
.public-page .public-service-links .compact-service-card {
    display: flex; align-items: center; gap: 16px; height: 100%; margin: 0; padding: 20px;
    text-decoration: none; text-align: left; font-size: 16px; line-height: 1.4;
}
.compact-service-card img { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; }
.public-service-links li { min-width: 0; }
.public-page .hours-card { max-width: 540px; padding: 24px; border: 1px solid var(--service-border); border-top: 4px solid var(--orange); border-radius: 12px; background: var(--light-gray); }
.public-page .hours-card h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.public-page .public-hours { max-width: none; }
.public-page .public-hours > div:last-child { border-bottom: 0; }
.public-contact-card .contact-email { overflow-wrap: anywhere; }
.public-contact-grid .public-contact-card, .public-pricing-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.public-contact-grid .public-contact-card h3, .public-pricing-grid h3 { font-size: 24px; margin: 0; }
.public-contact-grid .public-contact-card p, .public-pricing-grid p { margin: 0 !important; }
.public-contact-grid .button, .public-pricing-grid .button { margin-top: auto; max-width: 100%; }
.public-pricing-grid > div { padding: 28px; border-radius: 12px; }
.public-pricing-grid .public-contact-card { border-top: 4px solid var(--orange); }
@media (min-width: 1024px) {
    .eyebrow, .service-detail-page .section-kicker { font-size: 16px; }
    .booking-page .form-container { max-width: 1180px; }
    .booking-page .appliance-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .booking-page .appliance-option { min-height: 108px; padding: 12px 8px; }
    .booking-page .form-page { padding-top: 20px; }
    .booking-page .form-page-heading { margin-bottom: 16px; }
}
@media (max-width: 767px) {
    .public-page .public-city-list, .confirmed-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 16px; }
    .public-page .public-service-links .compact-service-card { flex-direction: column; padding: 16px 10px; text-align: center; font-size: 15px; }
}
.public-page .public-copy .section-kicker { color: var(--orange-text); font-size: 14px; }
.public-page .public-service-links .compact-service-card { min-height: 100px; }
@media (min-width: 1024px) {
    .public-page .public-copy .section-kicker { font-size: 16px; }
}

/* Final desktop scale; mobile and tablet proportions remain unchanged. */
@media (min-width: 1024px) {
    .global-header .brand { flex-basis: 270px; }
    .global-header .brand-logo { width: 270px; max-height: 94px; }
    .global-header .header-content { min-height: 94px; }
    .desktop-navigation ul { gap: 26px; }
    .desktop-navigation a { font-size: 17px; }
    .global-header .header-call-button { min-height: 48px; padding: 12px 20px; font-size: 14px; }
    .about-page .public-copy > p { max-width: 920px; font-size: 18px; line-height: 1.65; }
    .about-page .public-copy .section-kicker { font-size: 17px; }
    .service-area-intro, .service-detail-page .service-area-copy p,
    .public-page .service-area-section .public-copy > p { font-size: 18px; }
    .confirmed-city-list, .public-page .public-city-list { font-size: 19px; gap: 14px 24px; }
    .service-detail-page .service-area-section .section-kicker,
    .public-page .service-area-section .public-copy .section-kicker { font-size: 17px; color: var(--orange-text); }
    .public-pricing-grid .public-contact-card {
        border: 1px solid #c8d3dd;
        box-shadow: inset 0 3px 0 var(--orange);
    }
}

/* Homepage local-service heading and Google review summary. */
.hero-marketing { margin: 0 0 18px; color: var(--orange); font-size: 21px; font-weight: 700; line-height: 1.4; }
.reviews-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: center; }
.review-summary { text-align: center; color: var(--navy); }
.review-trust { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.review-score { font-size: 56px; font-weight: 800; line-height: 1.2; margin: 10px 0; }
.customer-reviews .review-card { background: var(--navy); color: var(--white); border-color: var(--navy); }
.customer-reviews .review-card .review-stars { color: var(--orange); }
.customer-reviews .review-card figcaption span { color: #e0e8ef; }
@media (max-width: 1023px) {
    .reviews-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .hero-marketing { font-size: 19px; }
}

/* Progressive enhancement: full reviews remain visible until the carousel is ready. */
.review-carousel { min-width: 0; }
.review-carousel.is-enhanced .review-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 24px) / 2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.review-carousel.is-enhanced .review-grid::-webkit-scrollbar { display: none; }
.review-carousel.is-enhanced .review-card {
    height: 388px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    min-width: 0;
}
.review-carousel.is-enhanced blockquote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    height: 9.6em;
    flex: none;
    margin-bottom: 0;
}
.review-carousel.is-enhanced blockquote p { display: inline; margin: 0; }
.review-carousel.is-enhanced blockquote p + p::before { content: "\A\A"; white-space: pre; }
.review-action { min-height: 44px; margin-bottom: 12px; }
.review-read, .review-close, .review-arrow {
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
}
.review-read { color: var(--white); background: none; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
.review-carousel.is-enhanced figcaption { margin-top: auto; }
.review-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.review-controls[hidden], .review-read[hidden] { display: none; }
.review-arrow, .review-close { border: 1px solid var(--navy); border-radius: 8px; background: var(--white); color: var(--navy); padding: 8px 16px; }
.review-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 44px;
    padding: 0;
    background: var(--navy);
    color: var(--orange);
    font-size: 32px;
    line-height: 1;
}
@media (hover: hover) {
    .review-arrow:not(:disabled):hover { box-shadow: inset 0 0 0 2px var(--orange); }
}
.review-chevron { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.review-arrow:disabled { opacity: .4; cursor: default; }
.review-carousel :focus-visible, .review-dialog :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.review-carousel .review-grid:focus-visible { outline-offset: -3px; }
.review-dialog {
    margin: auto;
    width: min(640px, calc(100% - 40px));
    max-height: 85vh;
    padding: 28px;
    border: 0;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    overflow-y: auto;
}
.review-dialog::backdrop { background: rgb(0 0 0 / .6); }
.review-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.review-dialog-header h2 { font-size: 22px; color: inherit; }
.review-dialog .review-card { padding: 0; border: 0; }
@media (max-width: 767px) {
    .review-carousel.is-enhanced .review-grid { grid-auto-columns: 100%; }
    .review-carousel.is-enhanced .review-card { height: 376px; }
    .review-dialog { padding: 22px; }
}
