.utility-bar {
    background: var(--ink);
    color: #fff;
    font-size: 12px;
}

.utility-bar .shell {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.utility-bar span {
    color: rgba(255, 255, 255, .68);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.utility-bar strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ASCII escapes avoid source-encoding differences between deployment systems. */
.reviews-grid .info-card::before {
    content: "\201C";
}

.faq-list details[open] summary::after {
    content: "\2212";
}

.hero-title-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--brand) 38%, transparent);
    text-decoration-thickness: .07em;
    text-underline-offset: .12em;
}

.hero-title-link:hover,
.hero-title-link:focus-visible {
    text-decoration-color: var(--brand);
}

.main-site-link {
    display: grid;
    width: min(100%, 760px);
    gap: 4px;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line));
    border-left: 5px solid var(--brand);
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand) 6%, var(--surface));
}

.main-site-link-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.main-site-link a {
    width: fit-content;
    color: var(--brand);
    font-weight: 850;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.main-site-link a:hover,
.main-site-link a:focus-visible {
    color: var(--brand-dark);
}

.main-site-link p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.final-cta .main-site-link {
    border-color: rgba(255, 255, 255, .28);
    border-left-color: var(--accent);
    background: rgba(255, 255, 255, .09);
}

.final-cta .main-site-link-label,
.final-cta .main-site-link p {
    color: rgba(255, 255, 255, .72);
}

.final-cta .main-site-link a {
    color: #fff;
}

.main-site-link-compact {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

.site-footer .main-site-link-compact a {
    color: #fff;
}

/* Themes 9-18: each changes both visual language and at least one layout rule. */
.theme_9 {
    --brand: #f0642b;
    --brand-dark: #bc4316;
    --accent: #ffcd57;
    --paper: #f4f1eb;
    --surface: #fffdf8;
    --ink: #22201d;
    --line: #d7d0c4;
    --radius: 0;
    --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}
.theme_9 .hero { border-left: 14px solid var(--brand); }
.theme_9 .hero h1 { text-transform: uppercase; }
.theme_9 .info-card { border-width: 2px; box-shadow: 7px 7px 0 var(--ink); }
.theme_9 .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.theme_10 {
    --brand: #087ca7;
    --brand-dark: #075d7d;
    --accent: #f6b85f;
    --paper: #edf8fb;
    --surface: #ffffff;
    --ink: #12313d;
    --line: #c7e0e8;
    --radius: 22px;
    --display: Georgia, "Times New Roman", serif;
}
.theme_10 .hero { background: linear-gradient(165deg, #dff4fa 0%, #fff 64%); }
.theme_10 .hero-panel { transform: rotate(1.2deg); }
.theme_10 .info-card { border-color: transparent; box-shadow: 0 12px 34px rgba(8, 124, 167, .10); }
.theme_10 .local-map { border-radius: 55% 45% 48% 52% / 44% 52% 48% 56%; }

.theme_11 {
    --brand: #a47c28;
    --brand-dark: #735517;
    --accent: #d9bc73;
    --paper: #f5f2ea;
    --surface: #fffef9;
    --ink: #151515;
    --line: #d6cfbf;
    --radius: 1px;
    --display: Georgia, "Times New Roman", serif;
}
.theme_11 .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); }
.theme_11 .hero h1 { font-style: italic; }
.theme_11 .section-eyebrow { border-bottom: 1px solid currentColor; padding-bottom: 8px; }
.theme_11 .gallery-grid { grid-template-columns: 2fr 1fr 1fr; }

.theme_12 {
    --brand: #1769e0;
    --brand-dark: #0c4fb4;
    --accent: #63d4ff;
    --paper: #f5f8fd;
    --surface: #ffffff;
    --ink: #13213a;
    --line: #dce5f3;
    --radius: 14px;
    --display: var(--font);
}
.theme_12 .hero:before { width: 700px; height: 260px; border-radius: 40px; transform: rotate(-14deg); }
.theme_12 .info-card { box-shadow: 0 1px 0 rgba(19, 33, 58, .04); }
.theme_12 .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme_12 .process-grid .info-card { border-left: 5px solid var(--brand); }

.theme_13 {
    --brand: #b45336;
    --brand-dark: #873722;
    --accent: #e7aa5b;
    --paper: #fbf2e9;
    --surface: #fffaf5;
    --ink: #38251f;
    --line: #ead2c1;
    --radius: 30px 8px 30px 8px;
    --display: Georgia, "Times New Roman", serif;
}
.theme_13 .hero { background: linear-gradient(120deg, #f5dfcf, #fffaf5); }
.theme_13 .brand-mark { border-radius: 30px 8px 30px 8px; }
.theme_13 .feature-layout { grid-template-columns: minmax(420px, 1.15fr) minmax(0, .85fr); }
.theme_13 .feature-list { order: -1; }

.theme_14 {
    --brand: #00a982;
    --brand-dark: #007b60;
    --accent: #d8ff45;
    --paper: #111a1a;
    --surface: #172323;
    --ink: #f4fffc;
    --muted: #b5c7c3;
    --line: #30413f;
    --radius: 16px;
    --display: var(--font);
}
.theme_14 .site-header { background: rgba(17, 26, 26, .94); }
.theme_14 .header-cta { background: var(--brand); color: #fff; }
.theme_14 .hero { background: radial-gradient(circle at 80% 20%, #194a3f, var(--surface) 48%); }
.theme_14 .page-section:nth-of-type(even) { background: #13201f; }
.theme_14 .info-card { background: #1d2b2a; }
.theme_14 .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme_14 .trust-band,
.theme_14 .symptoms-section,
.theme_14 .credentials-section { background: #0b1514; color: #fff; }
.theme_14 .local-map { background: linear-gradient(135deg, #087c65, #081513); }

.theme_15 {
    --brand: #25458a;
    --brand-dark: #183169;
    --accent: #b8dc44;
    --paper: #f2f5ed;
    --surface: #ffffff;
    --ink: #17233e;
    --line: #d7dfca;
    --radius: 10px;
    --display: var(--font);
}
.theme_15 .hero { border-bottom: 10px solid var(--accent); }
.theme_15 .hero h1 { max-width: 950px; font-family: var(--font); font-weight: 900; }
.theme_15 .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme_15 .info-card { border-bottom: 4px solid var(--accent); }

.theme_16 {
    --brand: #d62f35;
    --brand-dark: #a51d22;
    --accent: #151515;
    --paper: #f6f6f3;
    --surface: #ffffff;
    --ink: #111111;
    --line: #cdcdc7;
    --radius: 0;
    --display: "Arial Narrow", Arial, sans-serif;
}
.theme_16 .hero h1 { text-transform: uppercase; font-weight: 900; }
.theme_16 .hero-panel { border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--brand); }
.theme_16 .page-section h2 { text-transform: uppercase; }
.theme_16 .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.theme_17 {
    --brand: #40734d;
    --brand-dark: #2c5436;
    --accent: #d99c4b;
    --paper: #f1ecdf;
    --surface: #fffdf7;
    --ink: #283229;
    --line: #d8cfbc;
    --radius: 4px 24px 4px 24px;
    --display: Georgia, "Times New Roman", serif;
}
.theme_17 .hero { background: linear-gradient(90deg, #eef0df 0 58%, #dce6d7 58%); }
.theme_17 .local-layout { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); }
.theme_17 .local-map { order: 2; min-height: 340px; }
.theme_17 .gallery-grid .info-card:nth-child(even) { transform: translateY(22px); }

.theme_18 {
    --brand: #126e82;
    --brand-dark: #0b5261;
    --accent: #f27d65;
    --paper: #fff8f4;
    --surface: #ffffff;
    --ink: #19343a;
    --line: #d6e4e5;
    --radius: 999px;
    --display: var(--font);
}
.theme_18 .hero-grid { grid-template-columns: 1fr; text-align: center; }
.theme_18 .hero-copy { display: grid; justify-items: center; }
.theme_18 .hero-panel { width: min(100%, 960px); margin-inline: auto; border-radius: 36px; }
.theme_18 .info-card { border-radius: 28px; }
.theme_18 .case-number { border-radius: 22px; }
.theme_18 .contact-card,
.theme_18 .contact-summary { border-radius: 36px; }

@media (max-width: 680px) {
    .utility-bar .shell {
        min-height: 28px;
    }

    .utility-bar strong {
        display: none;
    }

    .theme_9 .service-grid,
    .theme_11 .gallery-grid,
    .theme_12 .process-grid,
    .theme_14 .hero-points,
    .theme_15 .service-grid,
    .theme_16 .reviews-grid {
        grid-template-columns: 1fr;
    }

    .theme_13 .feature-layout,
    .theme_17 .local-layout {
        grid-template-columns: 1fr;
    }
}
