/* A1 of Michigan
   Colors sampled from the client's print proofs. */

:root {
    --navy-950: #071430;
    --navy-900: #0A1B3F;
    --navy-700: #163066;
    --blue: #1446A8;
    --red: #D7322B;
    --green: #86C847;
    --green-hover: #9AD65C;
    --green-ink: #2F5A0E;
    --orange: #F7AE38;
    --ink: #12151B;
    --text: #1F2430;
    --muted: #5A6273;
    --line: #E3E6EC;
    --paper: #F4F5F8;
    --on-dark: #C9D3EA;
    --white: #FFFFFF;

    /* Per-page accent (overridden by .theme-* on the body). */
    --accent: var(--green);
    --accent-strong: var(--blue);
    --check: var(--blue);

    --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 10px;
}

.theme-roof     { --accent: var(--green); --accent-strong: #6CAE34; --check: #3F7A17; }
.theme-coatings { --accent: #8DB2F7;      --accent-strong: var(--blue); --check: var(--blue); }
.theme-concrete { --accent: var(--orange); --accent-strong: var(--orange); --check: #A86600; }

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* Dark focus ring on light areas, orange on dark ones. */
.site-header,
.section,
.contact { --focus: var(--navy-900); }

a { color: var(--blue); }
a[href^="tel:"] { white-space: nowrap; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.table-wrap:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--focus, var(--orange));
    outline-offset: 2px;
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0;
}

p { margin: 0; }

.wrap {
    width: min(1120px, 100% - 32px);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 40;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
    border-radius: 6px;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Flag stripe + header ---------- */

.flag-stripe {
    height: 6px;
    background:
        linear-gradient(90deg, var(--navy-900) 0 22%, transparent 22%),
        repeating-linear-gradient(90deg, var(--red) 0 30px, var(--white) 30px 42px);
}

.site-header {
    position: relative;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}

.brand-badge { width: 56px; height: auto; flex: none; }

.brand-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.brand-a1 { color: var(--blue); font-weight: 700; }

.brand-style-text .brand-name { font-size: 1.35rem; }
.brand-style-text .brand-a1 {
    color: var(--white);
    background: var(--blue);
    padding: 0 0.3em;
    margin-right: 0.15em;
    border-radius: 4px;
    box-shadow: inset 0 -3px 0 var(--red);
}

.nav-desktop { display: none; align-items: center; gap: 2px; }

.nav-desktop a {
    font-family: var(--display);
    font-weight: 500;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--text);
    padding: 8px 9px;
    white-space: nowrap;
}
.nav-desktop a:hover { color: var(--blue); }
.nav-desktop a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--red); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--green);
    color: var(--ink);
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.nav-phone:hover { background: var(--green-hover); }
.nav-phone span { display: none; }

.menu { position: relative; }

.menu summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid #8A94A6;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .icon { width: 22px; height: 22px; }
.menu[open] summary { background: var(--paper); }

.menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(290px, calc(100vw - 32px));
    display: grid;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(10, 27, 63, 0.18);
}

.menu-panel a {
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.menu-panel a:hover { background: var(--paper); }
.menu-panel a[aria-current="page"] { color: var(--blue); background: #EEF2FA; }
.menu-panel .menu-phone { margin-top: 6px; background: var(--green); text-align: center; font-weight: 600; }
.menu-panel .menu-phone:hover { background: var(--green-hover); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 6px;
    border: 2px solid transparent;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--green-hover); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-ghost-dark { border-color: var(--navy-700); color: var(--navy-700); }
.btn-ghost-dark:hover { background: var(--navy-700); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- Dark sections ---------- */

.hero,
.page-hero,
.cta-band {
    color: var(--white);
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(45, 99, 211, 0.45), transparent 65%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 22px),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.on-dark-link { color: var(--white); }

.hero { padding: 40px 0 64px; text-align: center; }

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-mark {
    width: min(380px, 88vw);
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.hero-wordmark {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.2rem, 9vw, 3.6rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 5px solid transparent;
    border-image: linear-gradient(90deg, var(--red) 0 33%, var(--white) 33% 67%, var(--blue) 67%) 1;
}
.hero-wordmark span {
    display: inline-block;
    color: var(--white);
    background: var(--blue);
    padding: 0 0.25em;
    border-radius: 6px;
    box-shadow: inset 0 -6px 0 var(--red);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(134, 200, 71, 0.5);
    border-radius: 999px;
    background: rgba(134, 200, 71, 0.12);
    color: #D6F2B6;
    font-family: var(--display);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.hero h1 {
    font-size: clamp(2rem, 6.5vw, 3.4rem);
    margin: 18px 0 14px;
    max-width: 20ch;
}

.hero-lead {
    color: var(--on-dark);
    font-size: 1.125rem;
    max-width: 52ch;
}

.hero-phone {
    display: block;
    margin: 20px 0 24px;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.5rem, 12vw, 5.25rem);
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--white);
    text-decoration: none;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.hero-phone:hover { color: var(--green); }

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Inner-page hero */

.page-hero { padding: 28px 0 48px; }
.page-hero h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
.page-hero p { color: var(--on-dark); margin-top: 8px; font-size: 1.1rem; }

.page-hero--product { padding-bottom: 56px; }
.page-hero--product h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin: 6px 0 4px; }
.page-hero--product .hero-actions { justify-content: flex-start; margin-top: 26px; }

.kicker {
    color: var(--accent) !important;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lead { font-size: 1.2rem !important; max-width: 46ch; }

.hero-art { display: none; }

.breadcrumb { margin-bottom: 20px; font-size: 0.9rem; }
.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    color: var(--on-dark);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { color: #DCE3F2; }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Content sections ---------- */

.section { padding: 56px 0; }
.section--paper { background: var(--paper); }

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    text-align: center;
    color: var(--ink);
    margin-bottom: 32px;
}
.section-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50%);
    border-radius: 3px;
}

.section-note { text-align: center; color: var(--muted); margin-top: 24px; }

.h2 { font-size: clamp(1.7rem, 4.5vw, 2.2rem); color: var(--ink); margin-bottom: 16px; }

.prose { font-size: 1.075rem; max-width: 68ch; }
.prose p + p { margin-top: 14px; }

.split { display: grid; gap: 28px; }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.card-title { font-size: 1.4rem; color: var(--ink); margin-bottom: 12px; }

.service-tag {
    align-self: flex-start;
    justify-self: start;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--ink);
    color: var(--green);
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Lists with check marks / crosses */

.checklist,
.xlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.checklist li,
.xlist li { position: relative; padding-left: 28px; }

.checklist li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.3em;
    width: 7px;
    height: 13px;
    border: solid var(--check);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.xlist li::before {
    content: "\00D7";
    position: absolute;
    left: 3px;
    top: -0.12em;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--red);
}

.fit-label {
    margin: 18px 0 8px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.card-title + .fit-label { margin-top: 0; }
.fit-note { margin-top: 18px; color: var(--muted); }

/* Benefit cards */

.benefits { display: grid; gap: 18px; }

.benefit {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 5px solid var(--accent-strong);
    border-radius: var(--radius);
    padding: 22px;
}
.benefit h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }

/* Option cards (two or three across) */

.options { display: grid; gap: 20px; }
.option > p:not(.fit-label) { margin-bottom: 4px; }
.option .checklist { margin-top: 12px; }
.option .fit-label + .checklist { margin-top: 0; }

/* Simple tiles */

.tile-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.tile-list li {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--accent-strong);
    border-radius: 8px;
    padding: 16px 18px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink);
}

/* Numbered steps */

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 18px;
}
.steps li {
    counter-increment: step;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
}
.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--white);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
}
.steps h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }

/* Comparison table */

.table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.compare { width: 100%; border-collapse: collapse; }
.compare th,
.compare td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.compare thead th {
    background: var(--navy-900);
    color: var(--white);
    font-family: var(--display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.compare thead th.is-highlight { background: var(--green); color: var(--ink); }
.compare tbody th { color: var(--ink); white-space: nowrap; }
.compare td.is-highlight { background: #F1F9E9; font-weight: 600; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.table-note { text-align: center; color: var(--muted); margin-top: 18px; }

/* FAQ */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 18px 56px 18px 20px;
    border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--blue);
}
.faq-item[open] summary::after { content: "\2212"; }

.faq-item summary h3 {
    font-family: var(--body);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
}

.faq-answer { padding: 0 20px 18px; }

/* Service cards (home page, related services, 404) */

.svc-grid { display: grid; gap: 20px; }

.svc-card {
    --card-accent: var(--blue);
    --card-soft: #E8EFFC;
    --card-ink: var(--blue);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 6px solid var(--card-accent);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.svc-card:hover { box-shadow: 0 10px 28px rgba(10, 27, 63, 0.12); transform: translateY(-2px); }
.svc-card:focus-within { outline: 3px solid var(--navy-900); outline-offset: 2px; }

.svc-card--roof     { --card-accent: var(--green);  --card-soft: #EEF8E3; --card-ink: var(--green-ink); }
.svc-card--coatings { --card-accent: var(--blue);   --card-soft: #E8EFFC; --card-ink: var(--blue); }
.svc-card--concrete { --card-accent: var(--orange); --card-soft: #FEF3DF; --card-ink: #8A5A00; }

.svc-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--card-soft);
    color: var(--card-ink);
}
.svc-icon .icon { width: 34px; height: 34px; }

.svc-card h3 { font-size: 1.6rem; }
.svc-card h3 a { color: var(--ink); text-decoration: none; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.svc-more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue); }
.svc-more::after { content: " \2192"; }

.svc-card--featured {
    --check: var(--ink);
    border: 0;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 20px),
        linear-gradient(135deg, #8FD04E, #6CAE34);
    color: var(--ink);
    padding: 30px 26px;
}
.svc-featured-main { display: flex; flex-direction: column; gap: 12px; }
.svc-card--featured h3 { font-size: clamp(2rem, 7vw, 2.8rem); }
.svc-lead { font-size: 1.25rem; font-weight: 600; }
.svc-card--featured .checklist li { font-weight: 600; }
.svc-card--featured .svc-more { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* About: facts card and pledge */

.facts-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 6px;
}
.facts dl { margin: 0; }
.facts dl > div {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.pledge {
    margin: 24px 0 0;
    padding: 20px 22px;
    background: var(--paper);
    border-left: 5px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.pledge-title {
    font-family: var(--display);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 6px;
}

/* ---------- CTA band ---------- */

.cta-band { padding: 48px 0; }
.cta-inner { display: flex; flex-direction: column; gap: 22px; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.cta-band p { color: var(--on-dark); margin-top: 6px; }

/* ---------- Contact page ---------- */

.contact { background: var(--paper); padding: 40px 0 64px; }

.contact-grid { display: grid; gap: 20px; }

.contact-info,
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
}

.info-block + .info-block {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.info-block h2 {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 6px;
}

.info-phone {
    display: inline-block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--blue);
    text-decoration: none;
    margin-bottom: 4px;
}
.info-phone:hover { color: var(--red); }

.info-email { overflow-wrap: anywhere; font-weight: 600; }

.info-services { margin: 0; padding-left: 18px; }

.form-card h2 { font-size: 1.7rem; color: var(--ink); }
.form-intro { color: var(--muted); margin: 6px 0 20px; }

.field { margin-bottom: 16px; }

.field label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.optional { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    padding: 12px 14px;
    border: 1.5px solid #8A94A6;
    border-radius: 8px;
}

.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(20, 70, 168, 0.18);
}

.has-error input,
.has-error textarea { border-color: #B3261E; }

.field-error { color: #B3261E; font-size: 0.9rem; margin-top: 6px; }

.field-row { display: grid; gap: 0 16px; }

.alert {
    background: #FDECEA;
    border: 1px solid #F5C2BD;
    color: #8C1D18;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.thanks { text-align: center; padding: 28px 4px; display: grid; gap: 14px; justify-items: center; }
.thanks h2 { color: var(--green-ink); font-size: 2rem; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy-950);
    color: #AEB8D0;
    padding: 44px 0 20px;
    font-size: 0.95rem;
}

.footer-grid { display: grid; gap: 28px; }

.footer-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--white);
    margin-bottom: 6px;
}
.footer-brand { max-width: 40ch; }
.footer-brand p + p { margin-top: 8px; }

.footer-heading {
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a,
.footer-contact a { color: #DCE3F2; overflow-wrap: anywhere; }

.footer-contact { display: grid; gap: 6px; justify-items: start; align-content: start; }

.footer-phone {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 1.2;
    text-decoration: none;
    color: var(--white) !important;
}

.footer-legal {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* ---------- Small phones ---------- */

@media (max-width: 419px) {
    .brand-badge { width: 40px; }
    .brand-name,
    .brand-style-text .brand-name { font-size: 1rem; white-space: normal; line-height: 1.05; }
    .menu summary { padding: 0 10px; }
    .menu summary span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 639px) {
    .compare th,
    .compare td { padding: 12px 10px; }
    .compare tbody th { white-space: normal; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
    .nav-phone { width: auto; padding: 0 16px; }
    .nav-phone span { display: inline; }
    .brand-badge { width: 64px; }
    .brand-name { font-size: 1.35rem; }
    .field-row { grid-template-columns: 1fr 1fr; }
    .contact-info,
    .form-card { padding: 30px; }
    .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tile-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
    .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 880px) {
    .hero { padding: 48px 0 80px; }

    .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; }
    .hero-art {
        display: grid;
        place-items: center;
        justify-self: end;
        width: 250px;
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
        border: 2px solid rgba(255, 255, 255, 0.12);
        color: var(--accent);
    }
    .hero-art-icon { width: 52%; height: 52%; }

    .section { padding: 72px 0; }
    .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
    .options--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .svc-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .svc-card--featured {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        column-gap: 40px;
        align-items: center;
        padding: 40px 44px;
    }
    .svc-card--featured .checklist { font-size: 1.1rem; gap: 12px; }

    .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; text-align: left; }
    .cta-actions { flex: none; }

    .contact-grid { grid-template-columns: 340px 1fr; align-items: start; gap: 28px; }
}

@media (min-width: 1000px) {
    .steps:not(.steps--three) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1140px) {
    .nav-desktop { display: flex; }
    .menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-card,
    .btn { transition: none; }
    .svc-card:hover { transform: none; }
}
