:root {
    color-scheme: light;
    --ink: #132237;
    --navy: #101c2d;
    --night: #0d1726;
    --blue: #1a2b43;
    --accent: #ffc43a;
    --accent-hover: #ffd365;
    --paper: #f5f6f8;
    --white: #fff;
    --body-text: #47566a;
    --light-text: #d4deea;
    --line: #dce2ea;
    --content: 77rem;
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    font-size: 100%;
    line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { flex: none; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
    outline: 3px solid #357be0;
    outline-offset: 4px;
}

.container { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; inset: 0 auto auto 1rem; transform: translateY(-150%); padding: .75rem 1rem; background: var(--white); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--white); }
.header-inner {
    min-height: 5.25rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; justify-self: start; gap: .7rem; text-decoration: none; font-weight: 650; font-size: .95rem; line-height: 1.15; width: fit-content; }
.brand img { flex: none; }
.brand strong { display: block; margin-top: .13rem; font-size: 1.26rem; letter-spacing: -.035em; font-weight: 800; }
.main-nav { display: flex; align-items: stretch; gap: clamp(.9rem, 2.9vw, 2.7rem); align-self: stretch; }
.main-nav a { display: grid; align-content: center; position: relative; text-align: center; text-decoration: none; font-weight: 700; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); opacity: 0; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { opacity: 1; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3rem;
    padding: .62rem 1.2rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button-header { justify-self: end; border-color: var(--line); white-space: nowrap; }
.button-header svg { width: 1.15rem; height: 1.15rem; }
.button-header:hover, .button-outline:hover { background: #e9eff8; border-color: #b9cce6; }
.button-outline { border-color: #bbc6d5; width: fit-content; }
.button-light { color: var(--white); border-color: #8292a8; }
.button-light:hover { background: #2a405c; }
.button-accent { color: var(--night); background: var(--accent); min-height: 3.75rem; padding-inline: 1.35rem; font-size: clamp(1.18rem, 2vw, 1.4rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.button-accent:hover, .quick-call:hover { background: var(--accent-hover); }

.hero { background: var(--navy); color: var(--white); }
.hero-home { position: relative; isolation: isolate; }
.hero-inner { position: relative; }
.hero-home .hero-inner { display: flex; align-items: center; min-height: clamp(29rem, 43vw, 39rem); padding-block: 4.5rem; }
.hero-home .hero-copy { width: 56%; }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 41%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 62%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), rgba(16, 28, 45, .64) 15%, rgba(16, 28, 45, 0) 39%); pointer-events: none; }
.hero h1 { font-size: clamp(3.05rem, 6.25vw, 6.1rem); font-weight: 850; line-height: 1.01; letter-spacing: -.047em; }
.hero h1 span { display: block; color: var(--accent); }
.lead { max-width: 36rem; color: var(--light-text); font-size: clamp(1.16rem, 1.75vw, 1.47rem); line-height: 1.51; margin-top: 1.5rem; }
.hero-home .lead { max-width: 30rem; }
.hero-actions { display: flex; align-items: center; gap: .9rem 1.25rem; flex-wrap: wrap; margin-top: 1.9rem; }
.hours { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--light-text); }
.hours svg { color: var(--accent); width: 1.23rem; height: 1.23rem; }

.hero-subpage { border-bottom: 4px solid var(--accent); background: linear-gradient(108deg, var(--navy) 30%, #203651 100%); }
.hero-subpage .hero-inner { padding-block: clamp(3.5rem, 7.1vw, 6.5rem); }
.hero-subpage h1 { font-size: clamp(3.15rem, 6.5vw, 5.5rem); }

.coverage-strip { color: var(--white); background: var(--blue); border-bottom: 3px solid var(--accent); }
.coverage-inline, .coverage-list, .checklist { list-style: none; padding: 0; }
.coverage-inline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.3rem; padding-block: 1.05rem; margin-block: 0; font-weight: 700; }
.coverage-inline li, .coverage-list li { display: flex; gap: .5rem; align-items: center; }
.coverage-inline svg { color: var(--accent); width: 1.15rem; height: 1.15rem; }

.section { padding-block: clamp(3.4rem, 6.1vw, 5.75rem); }
.section h2 { font-size: clamp(2rem, 3.75vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.section h3 { font-size: clamp(1.28rem, 1.85vw, 1.63rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
.section p { font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--body-text); }
.section p + p { margin-top: .8rem; }
.section-heading { margin-bottom: 1.45rem; }
.section-heading-split { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1.25rem; margin-bottom: 1.9rem; }
.services-preview, .section-muted { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.45rem); }
.service-card { padding: clamp(1.2rem, 2.4vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: .9rem; }
.service-icon { display: inline-grid; place-items: center; width: 3.05rem; height: 3.05rem; border-radius: .65rem; color: var(--night); background: #ffedbd; margin-bottom: 1.2rem; }
.service-card h3 { margin-bottom: .57rem; }
.service-card p { font-size: 1.07rem; }

.section-blue { color: var(--white); background: var(--blue); }
.section-blue p { color: var(--light-text); max-width: 44rem; }
.request-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem 3rem; }
.request-grid .section-heading { margin-bottom: .75rem; }
.request-grid .button { justify-self: start; }

.about-grid, .contact-grid { display: grid; gap: clamp(1.75rem, 6vw, 5.5rem); }
.about-grid { grid-template-columns: 1.25fr 1fr; align-items: center; }
.about-grid .button { margin-top: 1.4rem; }
.about-photo { width: min(100%, 27rem); height: auto; border-radius: .9rem; justify-self: end; }
.contact-grid { grid-template-columns: 1.25fr 1fr; align-items: start; }
.checklist { display: grid; gap: 1rem; margin: 0; font-size: clamp(1.06rem, 1.35vw, 1.22rem); color: var(--body-text); }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; }
.checklist svg { margin-top: .15rem; color: #224a81; }
.checklist strong { color: var(--ink); }
.area-panel { background: var(--paper); padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .9rem; }
.area-panel h2 { font-size: clamp(1.75rem, 2.6vw, 2.45rem); }
.coverage-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 1.5rem; font-size: 1.12rem; font-weight: 650; margin: 0 0 1.2rem; }
.area-panel .coverage-list { grid-template-columns: 1fr; }
.coverage-list svg { color: #8b5d00; width: 1.2rem; height: 1.2rem; }
.section .area-note { font-size: 1rem; }

.site-footer { color: var(--light-text); background: var(--night); padding: 3.15rem 0 1.15rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: clamp(1.6rem, 4vw, 3.25rem); }
.brand-footer { color: var(--white); margin-bottom: 1rem; }
.footer-grid p { max-width: 24rem; }
.footer-grid h2 { color: var(--white); font-size: 1.2rem; margin-bottom: .72rem; }
.footer-grid nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.footer-grid nav a { display: inline-block; padding-block: .1rem; text-underline-offset: .22em; text-decoration-color: transparent; }
.footer-grid nav a:hover { text-decoration-color: currentColor; }
.footer-contact a, .footer-contact p { display: flex; align-items: center; gap: .55rem; }
.footer-contact a { color: var(--white); width: fit-content; font-weight: 750; text-underline-offset: .22em; }
.footer-contact p { margin-top: .62rem; }
.footer-contact svg { width: 1.15rem; height: 1.15rem; color: var(--accent); }
.footer-bottom { border-top: 1px solid #324157; margin-top: 2.25rem; padding-top: 1rem; padding-right: 7.5rem; }
.footer-bottom small { font-size: .875rem; }

.quick-call {
    position: fixed;
    z-index: 5;
    right: max(1.15rem, env(safe-area-inset-right));
    bottom: max(1.15rem, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: .52rem;
    min-height: 3.35rem;
    padding: .6rem .95rem;
    color: var(--night);
    background: var(--accent);
    border: 1px solid #d69617;
    border-radius: 2rem;
    box-shadow: 0 6px 20px #0d172633;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 64rem) {
    .hero-photo { inset-inline-start: 40%; }
    .hero h1 { font-size: clamp(3.05rem, 7.1vw, 5.1rem); }
    .hero-home .hero-copy { width: 63%; }
    .hero-photo::after { background: linear-gradient(90deg, var(--navy), rgba(16, 28, 45, .65) 18%, rgba(16, 28, 45, 0) 52%); }
    .coverage-inline { justify-content: flex-start; }
}

@media (max-width: 49rem) {
    .container { width: min(calc(100% - 2rem), var(--content)); }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .45rem; padding-top: .65rem; }
    .brand img { width: 2.55rem; height: 2.55rem; }
    .brand { gap: .52rem; }
    .brand strong { font-size: 1.1rem; }
    .main-nav { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: .45rem; }
    .main-nav a { min-height: 2.75rem; font-size: .96rem; }
    .button-header { padding-inline: .65rem; min-height: 2.65rem; font-size: .94rem; gap: .35rem; }
    .button-header svg { width: 1rem; height: 1rem; }
    .hero-home { display: flex; flex-direction: column; }
    .hero-home .hero-inner { order: -1; display: block; min-height: 0; padding-block: 2.85rem 1.45rem; }
    .hero-home .hero-copy { width: auto; }
    .hero h1 { font-size: clamp(2.75rem, 9.3vw, 4.45rem); }
    .lead { margin-top: 1.05rem; }
    .hero-actions { margin-top: 1.25rem; }
    .hero-photo { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; max-height: 25rem; margin-top: -1rem; }
    .hero-photo img { object-position: 50% 62%; }
    .hero-photo::after { background: linear-gradient(180deg, var(--navy), rgba(16, 28, 45, 0) 31%); }
    .coverage-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: .95rem; align-items: start; gap: .65rem .85rem; }
    .coverage-inline li { align-items: flex-start; }
    .coverage-inline svg { margin-top: .14rem; }
    .section-heading-split { align-items: flex-start; }
    .service-grid { grid-template-columns: 1fr; }
    .request-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-photo { justify-self: start; }
    .coverage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .9rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .quick-call { right: max(.85rem, env(safe-area-inset-right)); bottom: max(.85rem, env(safe-area-inset-bottom)); }
}

@media (max-width: 22rem) {
    .brand { font-size: .87rem; }
    .brand strong { font-size: 1rem; }
    .button-header { font-size: .85rem; padding-inline: .45rem; }
    .coverage-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .button { transition: none; }
}
