/* Blast47 Bespoke CSS: single source of truth for local section styling */
/* Updated: consolidated from local-01, local-04, local-19 + premium baseline */

:root {
    --b47-premium-heading-font: "Space Grotesk", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --b47-premium-body-font: "Manrope", "Avenir Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Global heading controls (px-only) */
    --b47-heading-weight-base: 800;
    --b47-heading-size-nudge-px: 0px;
    --b47-heading-letter-spacing-nudge-px: 0px;
    --b47-heading-line-height: 1.06;

    /* Desktop base sizes */
    --b47-h1-size-desktop-px: 78px;
    --b47-h2-size-desktop-px: 66px;
    --b47-h3-size-desktop-px: 43px;

    /* Tablet base sizes */
    --b47-h1-size-tablet-px: 58px;
    --b47-h2-size-tablet-px: 50px;
    --b47-h3-size-tablet-px: 36px;

    /* Mobile base sizes */
    --b47-h1-size-mobile-px: 40px;
    --b47-h2-size-mobile-px: 34px;
    --b47-h3-size-mobile-px: 28px;

    /* Base tracking */
    --b47-h1-letter-spacing-px: -2.8px;
    --b47-h2-letter-spacing-px: -2.2px;
    --b47-h3-letter-spacing-px: -1.2px;
    --b47-h4-letter-spacing-px: -0.6px;
}
/* Typographic controls:
   - Increase/decrease all base H1/H2/H3 sizes with --b47-heading-size-nudge-px
   - Nudge base heading weight with --b47-heading-weight-base
   - Nudge tracking with --b47-heading-letter-spacing-nudge-px
   These only affect the global heading baseline, not page-specific selectors. */

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--b47-premium-body-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.b47-display {
    font-family: var(--b47-premium-heading-font);
    font-weight: var(--b47-heading-weight-base);
    line-height: var(--b47-heading-line-height);
    color: var(--primary-dark);
}

h1,
.display-1 {
    font-size: calc(var(--b47-h1-size-desktop-px) + var(--b47-heading-size-nudge-px));
    letter-spacing: calc(var(--b47-h1-letter-spacing-px) + var(--b47-heading-letter-spacing-nudge-px));
}

h2,
.display-2 {
    font-size: calc(var(--b47-h2-size-desktop-px) + var(--b47-heading-size-nudge-px));
    letter-spacing: calc(var(--b47-h2-letter-spacing-px) + var(--b47-heading-letter-spacing-nudge-px));
}

h3,
.display-3 {
    font-size: calc(var(--b47-h3-size-desktop-px) + var(--b47-heading-size-nudge-px));
    letter-spacing: calc(var(--b47-h3-letter-spacing-px) + var(--b47-heading-letter-spacing-nudge-px));
}

h4,
h5,
h6,
.display-4,
.display-5,
.display-6 {
    letter-spacing: calc(var(--b47-h4-letter-spacing-px) + var(--b47-heading-letter-spacing-nudge-px));
}

@media (max-width: 1199px) {
    h1,
    .display-1 {
        font-size: calc(var(--b47-h1-size-tablet-px) + var(--b47-heading-size-nudge-px));
    }

    h2,
    .display-2 {
        font-size: calc(var(--b47-h2-size-tablet-px) + var(--b47-heading-size-nudge-px));
    }

    h3,
    .display-3 {
        font-size: calc(var(--b47-h3-size-tablet-px) + var(--b47-heading-size-nudge-px));
    }
}

@media (max-width: 767px) {
    h1,
    .display-1 {
        font-size: calc(var(--b47-h1-size-mobile-px) + var(--b47-heading-size-nudge-px));
    }

    h2,
    .display-2 {
        font-size: calc(var(--b47-h2-size-mobile-px) + var(--b47-heading-size-nudge-px));
    }

    h3,
    .display-3 {
        font-size: calc(var(--b47-h3-size-mobile-px) + var(--b47-heading-size-nudge-px));
    }
}

p,
li,
figcaption,
blockquote {
    font-family: var(--b47-premium-body-font);
    line-height: 1.68;
    color: var(--primary);
}

.lead {
    font-size: clamp(1.08rem, 1.55vw, 1.3rem);
    font-weight: 500;
    line-height: 1.7;
}

.section-label,
.b47-eyebrow,
[class*="eyebrow"] {
    font-family: var(--b47-premium-heading-font);
    font-size: 0.72rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.35;
    color: var(--primary-light);
}

h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
    margin-top: 0.7rem;
}

p + h2,
p + h3,
ul + h2,
ul + h3,
ol + h2,
ol + h3 {
    margin-top: 2rem;
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.14em;
}

/* Utility replacements for inline styles */
.b47-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.local09-soft-bg,
.local21-soft-bg,
.local-downloads {
    background: #f2f2f2;
}

.local09-quote-text {
    font-size: 26px;
}

.local21-doc-thumb,
.local21-doc-icon {
    width: 52px;
    height: 68px;
}

.local21-doc-thumb {
    object-fit: cover;
}

.local21-doc-text-wrap {
    min-width: 0;
}

.local02-price-sup {
    font-size: 20px;
}

/* ===== Consolidated from local-01.php ===== */

.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-light) !important;
}

.section-title {
    max-width: 820px;
    font-size: clamp(32px, 4vw, 68px);
    line-height: 1.02;
    letter-spacing: -3px;
    font-weight: 800;
    color: var(--primary-dark) !important;
}

.section-intro {
    font-size: 19px;
    line-height: 1.7;
    color: var(--primary) !important;
}

.b47-hero-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72) !important;
}

.b47-hero-intro {
    max-width: 50%;
    font-size: 21px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86) !important;
}

.symptom-panel {
    background: #ffffff;
    border: 1px solid rgba(2, 62, 103, 0.14);
    box-shadow: 0 28px 80px rgba(2, 62, 103, 0.10);
}

.symptom-item {
    min-height: 210px;
    padding: 34px 34px 30px;
    border-right: 1px solid rgba(2, 62, 103, 0.12);
    border-bottom: 1px solid rgba(2, 62, 103, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.symptom-item:hover {
    background: #f7f8fa;
}

.symptom-number {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.2px;
    color: var(--primary-light) !important;
    margin-bottom: 42px;
}

.symptom-item p {
    max-width: 420px;
    margin: 0;
    font-size: clamp(20px, 1.7vw, 28px);
    line-height: 1.18;
    letter-spacing: -1px;
    font-weight: 700;
    color: var(--primary-dark) !important;
}

.symptom-item-highlight {
    min-height: 170px;
    background: var(--primary-dark);
    border-right: 0;
    border-bottom: 0;
    border-left: 6px solid var(--accent);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 34px;
    align-items: center;
}

.symptom-item-highlight:hover {
    background: var(--primary-dark);
}

.symptom-item-highlight .symptom-number {
    margin: 0;
    color: var(--accent) !important;
}

.symptom-item-highlight p {
    max-width: 980px;
    color: #ffffff !important;
    font-size: clamp(23px, 2.5vw, 40px);
}

.symptom-cta {
    margin-top: 34px;
    background: #ffffff;
    color: var(--primary);
    padding: 38px 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
    border: 1px solid rgba(2, 62, 103, 0.16);
    border-top: 6px solid var(--accent);
    box-shadow: 0 24px 70px rgba(2, 62, 103, 0.09);
}

.symptom-cta-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-dark) !important;
}

.symptom-cta-title {
    max-width: 880px;
    font-size: clamp(24px, 2.15vw, 36px);
    line-height: 1.13;
    letter-spacing: -1.0px;
    font-weight: 800;
    color: var(--primary-dark) !important;
}

.symptom-cta-text {
    max-width: 760px;
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--primary) !important;
}

.symptom-cta-action {
    display: flex;
    justify-content: flex-end;
}

.symptom-cta-btn {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-dark) !important;
    padding: 16px 26px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    border-radius: 4px !important;
    white-space: nowrap;
    text-transform: none !important;
}

.symptom-cta-btn:hover,
.symptom-cta-btn:focus,
.symptom-cta-btn:active {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-color: var(--accent) !important;
}

.symptom-item-selectable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.symptom-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.symptom-check {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(2, 62, 103, 0.25);
    background: rgba(255, 255, 255, 0.96);
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-dark) !important;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.symptom-item-selectable.is-selected {
    background: #f7f8fa;
    outline: none;
    box-shadow: none;
}

.symptom-item-selectable.is-selected .symptom-check {
    opacity: 1;
    transform: translateY(0);
}

.symptom-item-highlight.symptom-item-selectable.is-selected {
    background: var(--primary-dark);
    outline: none;
    box-shadow: none;
}

.symptom-item-highlight .symptom-check {
    color: #7ec7ff !important;
    border-color: rgba(126, 199, 255, 0.42);
    background: rgba(7, 39, 67, 0.94);
}

.local01-inline-alert {
    margin-bottom: 26px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.5;
}

.local01-inline-alert-success {
    color: #0c5132;
    border-color: #badbcc;
    background: #d1e7dd;
}

.local01-inline-alert-error {
    color: #842029;
    border-color: #f5c2c7;
    background: #f8d7da;
}

.local01-inline-alert-notice {
    color: #055160;
    border-color: #b6effb;
    background: #cff4fc;
}

.local01-flow {
    margin-bottom: 24px;
}

.local01-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.local01-step {
    border: 1px solid rgba(2, 62, 103, 0.16);
    background: #ffffff;
    padding: 12px 14px;
    min-height: 86px;
}

.local01-step-number {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-light) !important;
    margin-bottom: 6px;
}

.local01-step-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.local01-step.is-active {
    border-color: rgba(23, 133, 214, 0.52);
    box-shadow: 0 0 0 1px rgba(23, 133, 214, 0.22);
}

.local01-guide-card {
    border: 1px solid rgba(2, 62, 103, 0.14);
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(2, 62, 103, 0.07);
    padding: 20px 22px;
}

.local01-guide-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary) !important;
}

.local01-step-heading {
    margin-bottom: 16px;
}

.local01-step-heading h3 {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-weight: 800;
    color: var(--primary-dark) !important;
}

.local01-step-heading p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary) !important;
}

.local01-form-panel {
    margin-top: 24px;
    padding: 34px 34px 12px;
    border: 1px solid rgba(2, 62, 103, 0.16);
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(2, 62, 103, 0.08);
}

.local01-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.local01-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 1.4px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-light) !important;
}

.local01-form-group input,
.local01-form-group textarea {
    width: 100%;
    border: 1px solid rgba(2, 62, 103, 0.26);
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--primary-dark);
    background: #fdfefe;
    outline: none;
}

.local01-form-group input:focus,
.local01-form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(23, 133, 214, 0.14);
}

.local01-form-group-full {
    grid-column: 1 / -1;
}

.local01-field-error {
    margin-top: 7px;
    margin-bottom: 0;
    font-size: 13px;
    color: #a62d3e !important;
}

.local01-selected-count {
    margin: 14px 0 0;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: var(--primary-dark) !important;
}

.local01-turnstile-wrap {
    margin-top: 8px;
    margin-bottom: 14px;
}

.local01-score-band {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--primary) !important;
}

.local01-submit-wrap {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(2, 62, 103, 0.12);
}

.local01-submit-wrap .symptom-cta-btn {
    width: 100%;
    text-align: center;
}

.local01-submit-wrap .symptom-cta-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.local01-thanks-panel {
    border: 1px solid rgba(2, 62, 103, 0.16);
    border-top: 6px solid var(--accent);
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(2, 62, 103, 0.08);
    padding: 32px 34px;
}

.local01-thanks-panel h3 {
    margin: 0;
    font-size: clamp(28px, 2.5vw, 42px);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--primary-dark) !important;
}

.local01-thanks-panel p {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--primary) !important;
}

.b47-image-break {
    background: #f7f8fa;
    padding: 0 0 80px;
}

.b47-image-break-panel {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(2, 62, 103, 0.10);
}

.b47-image-break-panel img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.08) brightness(0.72);
}

.b47-image-break-panel:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 32, 73, 0.88) 0%,
        rgba(0, 32, 73, 0.62) 36%,
        rgba(0, 32, 73, 0.12) 100%
    );
}

.b47-image-break-caption {
    position: absolute;
    left: 42px;
    bottom: 42px;
    z-index: 2;
    max-width: 520px;
}

.b47-image-break-caption span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent) !important;
    margin-bottom: 14px;
}

.b47-image-break-caption p {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 40px);
    line-height: 1.14;
    letter-spacing: -1.0px;
    font-weight: 800;
    color: #ffffff !important;
}

@media (min-width: 1200px) {
    .symptom-item:nth-child(3),
    .symptom-item:nth-child(6),
    .symptom-item:nth-child(9) {
        border-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .symptom-item:nth-child(2),
    .symptom-item:nth-child(4),
    .symptom-item:nth-child(6),
    .symptom-item:nth-child(8) {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: clamp(32px, 10vw, 48px);
        letter-spacing: -2px;
    }

    .section-intro {
        font-size: 17px;
    }

    .b47-hero-intro {
        max-width: 100%;
        font-size: 18px;
    }

    .symptom-item {
        min-height: auto;
        padding: 26px 24px;
        border-right: 0;
    }

    .symptom-number {
        margin-bottom: 26px;
    }

    .symptom-item p {
        font-size: 22px;
        letter-spacing: -0.6px;
    }

    .symptom-item-highlight {
        display: block;
        padding: 30px 24px;
    }

    .symptom-item-highlight .symptom-number {
        margin-bottom: 22px;
    }

    .symptom-item-highlight p {
        font-size: 25px;
    }

    .symptom-cta {
        padding: 30px 24px;
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .symptom-cta-action {
        justify-content: flex-start;
    }

    .symptom-cta-btn {
        width: 100%;
        text-align: center;
    }

    .symptom-cta-title {
        font-size: 25px;
        letter-spacing: -1px;
    }

    .symptom-cta-text {
        font-size: 16px;
    }

    .local01-form-panel {
        padding: 24px 22px 8px;
    }

    .local01-flow {
        margin-bottom: 20px;
    }

    .local01-step-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .local01-guide-card {
        padding: 18px 16px;
    }

    .local01-step-heading h3 {
        font-size: 27px;
    }

    .local01-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .local01-turnstile-wrap {
        overflow: hidden;
    }

    .local01-selected-count {
        font-size: 24px;
    }

    .local01-thanks-panel {
        padding: 26px 22px;
    }

    .b47-image-break {
        padding-bottom: 48px;
    }

    .b47-image-break-panel {
        min-height: 360px;
    }

    .b47-image-break-panel img {
        height: 420px;
    }

    .b47-image-break-caption {
        left: 24px;
        right: 24px;
        bottom: 28px;
    }

    .b47-image-break-caption p {
        font-size: 26px;
        letter-spacing: -1px;
    }
}



.b47-work-section {
    background: #ffffff;
    color: var(--primary) !important;
}

.b47-work-header {
    border-bottom: 1px solid rgba(2, 62, 103, 0.14);
    padding-bottom: 36px;
    margin-bottom: 0;
}

.b47-work-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-light) !important;
    margin-bottom: 18px;
}

.b47-work-title {
    max-width: 920px;
    font-size: clamp(32px, 3.4vw, 58px);
    line-height: 1.04;
    letter-spacing: -2.8px;
    font-weight: 800;
    color: var(--primary-dark) !important;
    margin-bottom: 22px;
}

.b47-work-intro {
    max-width: 760px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--primary) !important;
    margin-bottom: 0;
}

.b47-work-panel {
    border: 1px solid rgba(2, 62, 103, 0.14);
    border-top: 0;
    box-shadow: 0 28px 80px rgba(2, 62, 103, 0.08);
    background: #ffffff;
}

.b47-work-group {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid rgba(2, 62, 103, 0.12);
}

.b47-work-group:last-child {
    border-bottom: 0;
}

.b47-work-sector {
    padding: 28px 30px;
    background: #f7f8fa;
    border-right: 1px solid rgba(2, 62, 103, 0.12);
}

.b47-work-sector span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light) !important;
    margin-bottom: 12px;
}

.b47-work-sector strong {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.6px;
    font-weight: 800;
    color: var(--primary-dark) !important;
}

.b47-work-links {
    padding: 18px 30px;
}

.b47-work-links p {
    margin: 0;
    border-bottom: 1px solid rgba(2, 62, 103, 0.10);
}

.b47-work-links p:last-child {
    border-bottom: 0;
}

.b47-work-links a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--primary-dark) !important;
    text-decoration: none !important;
}

.b47-work-links a:hover {
    color: var(--accent-dark) !important;
    text-decoration: none !important;
}

.b47-work-footer {
    margin-top: 34px;
    padding: 28px 32px;
    border-left: 6px solid var(--accent);
    background: #f7f8fa;
}

.b47-work-footer p {
    max-width: 900px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--primary) !important;
}

@media (max-width: 767px) {
    .b47-work-header {
        padding-bottom: 28px;
    }

    .b47-work-title {
        font-size: clamp(32px, 10vw, 46px);
        letter-spacing: -2px;
    }

    .b47-work-intro {
        font-size: 17px;
    }

    .b47-work-group {
        grid-template-columns: 1fr;
    }

    .b47-work-sector {
        padding: 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(2, 62, 103, 0.12);
    }

    .b47-work-links {
        padding: 8px 24px;
    }

    .b47-work-links a {
        font-size: 16px;
        padding: 14px 0;
    }

    .b47-work-footer {
        padding: 24px;
    }

    .b47-work-footer p {
        font-size: 16px;
    }
}


/* ===== Consolidated from local-04.php ===== */

.local04-tenpoint-page {
    background: #f7f8fa;
    color: var(--primary) !important;
}

.local04-tenpoint-page .hero-panel {
    background: linear-gradient(130deg, #0b2f4d 0%, #174b75 46%, #1d5f8f 100%);
    color: #ffffff;
    padding: 42px 42px 38px;
    box-shadow: 0 26px 80px rgba(2, 62, 103, 0.25);
    margin-bottom: 28px;
}

.local04-tenpoint-page .hero-panel .hero-label {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78) !important;
}

.local04-tenpoint-page .hero-panel h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 72px);
    letter-spacing: -2.5px;
    line-height: 0.98;
    color: #ffffff !important;
}

.local04-tenpoint-page .hero-panel .hero-intro {
    margin: 16px 0 0;
    max-width: 920px;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9) !important;
}

.local04-tenpoint-page .section-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light) !important;
}

.local04-tenpoint-page .section-title {
    margin: 0;
    font-size: clamp(30px, 3.5vw, 60px);
    line-height: 1.04;
    letter-spacing: -2px;
    color: var(--primary-dark) !important;
}

.local04-tenpoint-page .section-intro {
    margin: 14px 0 0;
    max-width: 900px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--primary) !important;
}

.local04-tenpoint-page .local01-inline-alert {
    margin: 0 0 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.5;
}

.local04-tenpoint-page .local01-inline-alert-success {
    color: #0c5132;
    border-color: #badbcc;
    background: #d1e7dd;
}

.local04-tenpoint-page .local01-inline-alert-error {
    color: #842029;
    border-color: #f5c2c7;
    background: #f8d7da;
}

.local04-tenpoint-page .local01-inline-alert-notice {
    color: #055160;
    border-color: #b6effb;
    background: #cff4fc;
}

.local04-tenpoint-page .local01-flow {
    margin: 24px 0;
}

.local04-tenpoint-page .local01-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.local04-tenpoint-page .local01-step {
    border: 1px solid rgba(2, 62, 103, 0.16);
    background: #ffffff;
    padding: 12px 14px;
    min-height: 90px;
}

.local04-tenpoint-page .local01-step-number {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 1.4px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-light) !important;
}

.local04-tenpoint-page .local01-step-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--primary-dark) !important;
}

.local04-tenpoint-page .local01-step.is-active {
    border-color: rgba(23, 133, 214, 0.52);
    box-shadow: 0 0 0 1px rgba(23, 133, 214, 0.22);
}

.local04-tenpoint-page .local01-guide-card {
    border: 1px solid rgba(2, 62, 103, 0.14);
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(2, 62, 103, 0.07);
    padding: 18px 20px;
}

.local04-tenpoint-page .local01-guide-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.local04-tenpoint-page .local01-step-heading {
    margin-bottom: 16px;
}

.local04-tenpoint-page .local01-step-heading h3 {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-weight: 800;
    color: var(--primary-dark) !important;
}

.local04-tenpoint-page .local01-step-heading p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary) !important;
}

.local04-tenpoint-page .symptom-panel {
    background: #ffffff;
    border: 1px solid rgba(2, 62, 103, 0.14);
    box-shadow: 0 28px 80px rgba(2, 62, 103, 0.10);
}

.local04-tenpoint-page .symptom-item {
    min-height: 210px;
    padding: 34px 34px 30px;
    border-right: 1px solid rgba(2, 62, 103, 0.12);
    border-bottom: 1px solid rgba(2, 62, 103, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.local04-tenpoint-page .symptom-item:hover {
    background: #f7f8fa;
}

.local04-tenpoint-page .symptom-number {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.2px;
    color: var(--primary-light) !important;
    margin-bottom: 40px;
}

.local04-tenpoint-page .symptom-item p {
    max-width: 420px;
    margin: 0;
    font-size: clamp(19px, 1.7vw, 27px);
    line-height: 1.18;
    letter-spacing: -0.8px;
    font-weight: 700;
    color: var(--primary-dark) !important;
}

.local04-tenpoint-page .symptom-item-highlight {
    min-height: 172px;
    background: var(--primary-dark);
    border-right: 0;
    border-bottom: 0;
    border-left: 6px solid var(--accent);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 34px;
    align-items: center;
}

.local04-tenpoint-page .symptom-item-highlight:hover {
    background: var(--primary-dark);
}

.local04-tenpoint-page .symptom-item-highlight .symptom-number {
    margin: 0;
    color: var(--accent) !important;
}

.local04-tenpoint-page .symptom-item-highlight p {
    max-width: 980px;
    color: #ffffff !important;
    font-size: clamp(23px, 2.4vw, 38px);
}

.local04-tenpoint-page .symptom-item-selectable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.local04-tenpoint-page .symptom-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.local04-tenpoint-page .symptom-check {
    position: absolute;
    top: 14px;
    right: 14px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(2, 62, 103, 0.25);
    background: rgba(255, 255, 255, 0.96);
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-dark) !important;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.local04-tenpoint-page .symptom-item-selectable.is-selected {
    background: #f7f8fa;
    outline: none;
    box-shadow: none;
}

.local04-tenpoint-page .symptom-item-selectable.is-selected .symptom-check {
    opacity: 1;
    transform: translateY(0);
}

.local04-tenpoint-page .symptom-item-highlight.symptom-item-selectable.is-selected {
    background: var(--primary-dark);
    outline: none;
    box-shadow: none;
}

.local04-tenpoint-page .symptom-item-highlight .symptom-check {
    color: #7ec7ff !important;
    border-color: rgba(126, 199, 255, 0.42);
    background: rgba(7, 39, 67, 0.94);
}

.local04-tenpoint-page .local01-field-error {
    margin-top: 7px;
    margin-bottom: 0;
    font-size: 13px;
    color: #a62d3e !important;
}

.local04-tenpoint-page .symptom-cta {
    margin-top: 24px;
    background: #ffffff;
    color: var(--primary);
    padding: 34px 38px;
    border: 1px solid rgba(2, 62, 103, 0.16);
    border-top: 6px solid var(--accent);
    box-shadow: 0 24px 70px rgba(2, 62, 103, 0.09);
}

.local04-tenpoint-page .symptom-cta-label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-dark) !important;
}

.local04-tenpoint-page .local01-selected-count {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: var(--primary-dark) !important;
}

.local04-tenpoint-page .local01-score-band {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--primary) !important;
}

.local04-tenpoint-page .local01-form-panel {
    margin-top: 24px;
    padding: 34px 34px 16px;
    border: 1px solid rgba(2, 62, 103, 0.16);
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(2, 62, 103, 0.08);
}

.local04-tenpoint-page .local01-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.local04-tenpoint-page .local01-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 1.4px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-light) !important;
}

.local04-tenpoint-page .local01-form-group input,
.local04-tenpoint-page .local01-form-group textarea {
    width: 100%;
    border: 1px solid rgba(2, 62, 103, 0.26);
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--primary-dark);
    background: #fdfefe;
    outline: none;
}

.local04-tenpoint-page .local01-form-group input:focus,
.local04-tenpoint-page .local01-form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(23, 133, 214, 0.14);
}

.local04-tenpoint-page .local01-form-group-full {
    grid-column: 1 / -1;
}

.local04-tenpoint-page .local01-submit-wrap {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(2, 62, 103, 0.12);
}

.local04-tenpoint-page .local01-turnstile-wrap {
    margin-top: 8px;
    margin-bottom: 14px;
}

.local04-tenpoint-page .symptom-cta-btn {
    width: 100%;
    background: var(--primary-dark) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-dark) !important;
    padding: 16px 26px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    border-radius: 4px !important;
    text-transform: none !important;
}

.local04-tenpoint-page .symptom-cta-btn:hover,
.local04-tenpoint-page .symptom-cta-btn:focus,
.local04-tenpoint-page .symptom-cta-btn:active {
    background: var(--accent) !important;
    color: #ffffff !important;
    border-color: var(--accent) !important;
}

.local04-tenpoint-page .symptom-cta-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.local04-tenpoint-page .local01-thanks-panel {
    border: 1px solid rgba(2, 62, 103, 0.16);
    border-top: 6px solid var(--accent);
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(2, 62, 103, 0.08);
    padding: 32px 34px;
}

.local04-tenpoint-page .local01-thanks-panel h3 {
    margin: 0;
    font-size: clamp(30px, 2.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--primary-dark) !important;
}

.local04-tenpoint-page .local01-thanks-panel p {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--primary) !important;
}

@media (min-width: 1200px) {
    .local04-tenpoint-page .symptom-item:nth-child(3),
    .local04-tenpoint-page .symptom-item:nth-child(6),
    .local04-tenpoint-page .symptom-item:nth-child(9) {
        border-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .local04-tenpoint-page .symptom-item:nth-child(2),
    .local04-tenpoint-page .symptom-item:nth-child(4),
    .local04-tenpoint-page .symptom-item:nth-child(6),
    .local04-tenpoint-page .symptom-item:nth-child(8) {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    .local04-tenpoint-page .hero-panel {
        padding: 26px 22px 24px;
    }

    .local04-tenpoint-page .local01-step-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .local04-tenpoint-page .symptom-item {
        min-height: auto;
        padding: 24px 22px;
        border-right: 0;
    }

    .local04-tenpoint-page .symptom-item-highlight {
        display: block;
        padding: 28px 22px;
    }

    .local04-tenpoint-page .symptom-item-highlight .symptom-number {
        margin-bottom: 18px;
    }

    .local04-tenpoint-page .symptom-item-highlight p {
        font-size: 24px;
    }

    .local04-tenpoint-page .symptom-cta {
        padding: 26px 22px;
    }

    .local04-tenpoint-page .local01-selected-count {
        font-size: 24px;
    }

    .local04-tenpoint-page .local01-form-panel {
        padding: 24px 22px 12px;
    }

    .local04-tenpoint-page .local01-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .local04-tenpoint-page .local01-turnstile-wrap {
        overflow: hidden;
    }

    .local04-tenpoint-page .local01-thanks-panel {
        padding: 26px 22px;
    }
}


/* ===== Consolidated from local-19.php ===== */

.local19-premium {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 14%, rgba(23, 97, 156, 0.16), transparent 46%),
        radial-gradient(circle at 88% 6%, rgba(18, 138, 226, 0.13), transparent 40%),
        linear-gradient(180deg, #f3f7fb 0%, #eef4f9 46%, #f6f8fb 100%);
    color: var(--primary) !important;
}

.local19-premium:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(6, 52, 90, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 52, 90, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
}

.local19-shell {
    position: relative;
    z-index: 1;
}

.local19-premium h1,
.local19-premium h2,
.local19-premium h3 {
    font-family: var(--b47-premium-heading-font);
}

.local19-premium p,
.local19-premium li,
.local19-premium a,
.local19-premium span {
    font-family: var(--b47-premium-body-font);
}

.local19-command {
    border: 1px solid rgba(10, 67, 111, 0.24);
    background:
        linear-gradient(145deg, rgba(6, 35, 62, 0.96) 0%, rgba(12, 64, 102, 0.96) 56%, rgba(18, 86, 132, 0.94) 100%);
    box-shadow: 0 36px 90px rgba(5, 39, 68, 0.28);
    padding: 44px 44px 42px;
    color: #ffffff;
}

.local19-command-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: end;
}

.local19-kicker {
    margin: 0 0 14px;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(168, 217, 255, 0.9) !important;
}

.local19-command h1 {
    margin: 0;
    font-size: clamp(40px, 5.5vw, 78px);
    line-height: 0.96;
    letter-spacing: -2.8px;
    color: #ffffff !important;
}

.local19-command-intro {
    margin: 20px 0 0;
    max-width: 900px;
    font-size: 19px;
    line-height: 1.66;
    color: rgba(228, 244, 255, 0.92) !important;
}

.local19-command-metrics {
    display: grid;
    gap: 10px;
}

.local19-metric {
    border: 1px solid rgba(166, 216, 255, 0.26);
    background: rgba(6, 30, 54, 0.44);
    padding: 14px 14px 12px;
}

.local19-metric strong {
    display: block;
    margin: 0;
    font-size: 23px;
    line-height: 1;
    letter-spacing: -0.8px;
    color: #ffffff !important;
}

.local19-metric span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(185, 227, 255, 0.92) !important;
}

.local19-section-head {
    margin-top: 34px;
}

.local19-section-label {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary-light) !important;
}

.local19-section-title {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 60px);
    line-height: 1.02;
    letter-spacing: -2.2px;
    color: var(--primary-dark) !important;
}

.local19-section-intro {
    margin: 14px 0 0;
    max-width: 960px;
    font-size: 18px;
    line-height: 1.66;
    color: var(--primary) !important;
}

.local19-offer-list {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.local19-offer {
    display: grid;
    grid-template-columns: 78px 1fr 320px;
    gap: 0;
    border: 1px solid rgba(2, 62, 103, 0.18);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(6, 44, 78, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.local19-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 58px rgba(6, 44, 78, 0.14);
}

.local19-offer-index {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(2, 62, 103, 0.14);
    background: linear-gradient(180deg, #0f3150 0%, #16496f 100%);
    color: #a9daff !important;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 800;
}

.local19-offer-main {
    padding: 22px 26px;
}

.local19-offer-main h3 {
    margin: 0;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.9px;
    color: var(--primary-dark) !important;
}

.local19-offer-main p {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.66;
    color: var(--primary) !important;
}

.local19-offer-meta {
    border-left: 1px solid rgba(2, 62, 103, 0.14);
    background: #f7f9fc;
    padding: 20px 20px 18px;
}

.local19-meta-row {
    margin: 0 0 12px;
    padding: 0 0 11px;
    border-bottom: 1px solid rgba(2, 62, 103, 0.1);
}

.local19-meta-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.local19-meta-row strong {
    display: block;
    margin: 0 0 5px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary-light) !important;
}

.local19-meta-row span {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
    color: var(--primary-dark) !important;
}

.local19-proof-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.local19-proof-card {
    border: 1px solid rgba(2, 62, 103, 0.16);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(6, 44, 78, 0.08);
    padding: 26px 26px 24px;
}

.local19-proof-card h2 {
    margin: 0;
    font-size: clamp(25px, 2.2vw, 34px);
    letter-spacing: -0.8px;
    line-height: 1.12;
    color: var(--primary-dark) !important;
}

.local19-proof-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.local19-proof-list li {
    position: relative;
    margin: 0 0 11px;
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--primary) !important;
}

.local19-proof-list li:last-child {
    margin-bottom: 0;
}

.local19-proof-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.local19-proof-dark {
    background:
        linear-gradient(160deg, #0d2f4f 0%, #124368 100%);
    border-color: rgba(131, 192, 236, 0.34);
}

.local19-proof-dark h2 {
    color: #ffffff !important;
}

.local19-proof-dark .local19-proof-list li {
    color: rgba(223, 242, 255, 0.92) !important;
}

.local19-proof-dark .local19-proof-list li:before {
    background: #71c7ff;
}

.local19-proof-text {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.66;
    color: var(--primary) !important;
}

.local19-cta {
    margin-top: 14px;
    border: 1px solid rgba(10, 67, 111, 0.24);
    background:
        linear-gradient(148deg, rgba(8, 34, 58, 0.97) 0%, rgba(16, 67, 105, 0.97) 65%, rgba(20, 95, 142, 0.95) 100%);
    box-shadow: 0 34px 84px rgba(5, 39, 68, 0.26);
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.local19-cta-label {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(168, 217, 255, 0.9) !important;
}

.local19-cta h3 {
    margin: 0;
    font-size: clamp(30px, 2.7vw, 44px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    color: #ffffff !important;
}

.local19-cta p {
    margin: 10px 0 0;
    max-width: 740px;
    font-size: 16px;
    line-height: 1.66;
    color: rgba(223, 242, 255, 0.92) !important;
}

.local19-btn {
    display: inline-block;
    background: #ffffff !important;
    color: #0f3f66 !important;
    border: 2px solid #ffffff !important;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.local19-btn:hover,
.local19-btn:focus,
.local19-btn:active {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #9ad8ff !important;
    text-decoration: none !important;
}

@media (max-width: 1199px) {
    .local19-offer {
        grid-template-columns: 64px 1fr 280px;
    }
}

@media (max-width: 991px) {
    .local19-command-grid {
        grid-template-columns: 1fr;
    }

    .local19-command-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .local19-offer {
        grid-template-columns: 64px 1fr;
    }

    .local19-offer-meta {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(2, 62, 103, 0.14);
        padding: 16px 18px;
    }

    .local19-proof-grid,
    .local19-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .local19-command {
        padding: 28px 22px 24px;
    }

    .local19-command h1 {
        letter-spacing: -1.5px;
    }

    .local19-command-intro {
        font-size: 17px;
    }

    .local19-command-metrics {
        grid-template-columns: 1fr;
    }

    .local19-section-title {
        letter-spacing: -1.4px;
    }

    .local19-offer {
        grid-template-columns: 1fr;
    }

    .local19-offer-index {
        justify-content: flex-start;
        padding: 11px 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(131, 192, 236, 0.34);
    }

    .local19-offer-main {
        padding: 20px 20px;
    }

    .local19-offer-main h3 {
        letter-spacing: -0.4px;
    }

    .local19-proof-card {
        padding: 22px 20px;
    }

    .local19-cta {
        padding: 24px 20px;
    }

    .local19-btn {
        width: 100%;
        text-align: center;
    }
}
