/* Static / info pages — navbar + hero merged with background image */

body:has(.static-page) .header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    z-index: 1000;
    box-shadow: none !important;
    border-bottom: none !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body:has(.static-page) .header.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06) !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.static-page {
    background: #ffffff;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 0;
    color: #111827;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: clip;
}

/* Full-width hero band — continues behind transparent navbar */
.static-page__hero-zone {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: var(--site-header-offset);
    background-color: #f4f7fc;
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    overflow: hidden;
}

body:has(header .top-header) .static-page__hero-zone {
    padding-top: var(--site-header-offset-topbar);
}

.static-page__hero-zone::before,
.static-page__hero-zone::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.static-page__hero-zone::before {
    z-index: 0;
    background-image: url(../img/provider-form.png);
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.static-page__hero-zone::after {
    z-index: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.82) 40%,
        rgba(234, 238, 255, 0.35) 100%
    );
}

.static-page__hero-zone > * {
    position: relative;
    z-index: 1;
}

.static-page__main {
    background: #ffffff;
    width: 100%;
    padding-top: 32px;
}

.static-page__hero-inner {
    position: relative;
    z-index: 1;
}

.static-page__top {
    padding: 8px 0 0;
}

.static-page__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease;
}

.static-page__back:hover {
    color: #2b63d9;
    text-decoration: none;
}

.static-page__back svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.static-page__hero {
    padding: 16px 0 40px;
}

.static-page__title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #111827;
}

.static-page__subtitle {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.6;
    color: #6b7280;
}

.static-page__body {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    padding: 10px 0 calc(var(--site-section-y) + 20px) !important;
}

.static-page__toc {
    position: sticky;
    top: 120px;
}

.static-page__toc-label {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.static-page__toc-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.static-page__toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #4b5563;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.static-page__toc-link:hover {
    color: #111827;
    background: #f9fafb;
    text-decoration: none;
}

.static-page__toc-link.is-active {
    color: #2b63d9;
    background: #eef2ff;
}

.static-page__toc-link--child {
    padding-left: 24px;
    font-size: 13px;
    font-weight: 400;
}

.static-page__content {
    min-width: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
}

.static-page__content > h1:first-child {
    display: none;
}

.static-page__content h2,
.static-page__content h3,
.static-page__content h4 {
    color: #111827;
    font-weight: 600;
    scroll-margin-top: 120px;
}

.static-page__content h2 {
    font-size: 1.125rem;
    margin: 2rem 0 0.75rem;
}

.static-page__content h2:first-child {
    margin-top: 0;
}

.static-page__content h3 {
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem;
}

.static-page__content h4 {
    font-size: 1.0625rem;
    margin: 2rem 0 0.75rem;
}

.static-page__content h4:first-child {
    margin-top: 0;
}

.static-page__content p,
.static-page__content li {
    margin-bottom: 1rem;
}

.static-page__content ul,
.static-page__content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.static-page__content a {
    color: #2b63d9;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.static-page__content a:hover {
    color: #1e4db5;
}

.static-page__content strong {
    color: #111827;
    font-weight: 600;
}

/* Contact / provider assistance — container-aligned two-column layout */
.static-page--contact .static-page__main {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 240px);
    padding-top: 0;
}

.static-page--contact .static-page__contact {
    padding: 50px 0 calc(var(--site-section-y) + 20px) !important;
}

.static-page__contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

.static-page__contact-form-col {
    position: sticky;
    top: 120px;
    min-width: 0;
}

.static-page__contact-aside {
    min-width: 0;
}

.static-page__contact-highlights {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.static-page__contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.static-page__contact-card--accent {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    border-color: #c7d2fe;
}

.static-page__contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2ff;
    color: #2b63d9;
}

.static-page__contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.static-page__contact-card-label {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
}

.static-page__contact-card-value {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #111827;
    text-decoration: none;
}

a.static-page__contact-card-value:hover {
    color: #2b63d9;
    text-decoration: none;
}

.static-page__contact-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: clamp(24px, 3vw, 32px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.static-page__contact-panel-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.static-page__contact-panel-intro {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
}

.static-page--contact .contact-support-form-component,
.static-page--contact .findcare-form {
    width: 100%;
    max-width: 100%;
}

.static-page--contact .modern-filter-form.contact-support-form {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 0 !important;
    box-shadow: 0 8px 30px rgba(2, 18, 41, 0.07) !important;
    margin: 0 !important;
    overflow: hidden;
}

.contact-support-form__header {
    padding: clamp(24px, 3vw, 28px) clamp(24px, 3vw, 32px) 0;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 0;
}

.contact-support-form__title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.contact-support-form__intro {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #6b7280;
}

.contact-support-form__fields {
    padding: clamp(20px, 3vw, 28px) clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px);
}

.modern-filter-form.contact-support-form .contact-support-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 0;
}

.modern-filter-form.contact-support-form .contact-support-form__row > .filter-group {
    margin-bottom: 16px;
    min-width: 0;
}

.modern-filter-form.contact-support-form .filter-group--recaptcha {
    margin-bottom: 0;
}

.modern-filter-form.contact-support-form .frontend-dropzone-container .dropzone {
    border: 2px dashed #2b63d9 !important;
    border-radius: 8px;
    background: #f8fafc;
    min-height: 120px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.modern-filter-form.contact-support-form .frontend-dropzone-container .dropzone:hover,
.modern-filter-form.contact-support-form .frontend-dropzone-container .dropzone.dz-drag-hover {
    border-color: #2b63d9 !important;
    background: #eef2ff;
}

.modern-filter-form.contact-support-form .frontend-dropzone-container .dropzone .dz-message {
    margin: 0;
    width: 100%;
    font-size: 15px;
    color: #1e293b;
}

.modern-filter-form.contact-support-form .frontend-dropzone-container .dropzone .dz-message i {
    color: #2b63d9;
}

.modern-filter-form.contact-support-form .frontend-dropzone-container .dropzone.dz-started .dz-message {
    display: none;
}

.modern-filter-form.contact-support-form .frontend-dropzone-container .dropzone .dz-preview a.dz-remove {
    display: none !important;
}

.static-page--contact .static-page__contact-panel .static-page__content {
    font-size: 15px;
    line-height: 1.7;
}

.static-page--contact .static-page__contact-panel .static-page__content > h1:first-child {
    display: none;
}

.static-page--contact .static-page__contact-panel .static-page__content h2 {
    font-size: 1.0625rem;
    margin-top: 1.5rem;
}

.static-page--contact .static-page__contact-panel .static-page__content h2:first-child {
    margin-top: 0;
}

.static-page--contact .static-page__contact-panel .static-page__content p:last-child,
.static-page--contact .static-page__contact-panel .static-page__content ul:last-child,
.static-page--contact .static-page__contact-panel .static-page__content ol:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .static-page__contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .static-page__contact-form-col {
        position: static;
    }

    .static-page__contact-highlights {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .modern-filter-form.contact-support-form .contact-support-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 575.98px) {
    .static-page__contact-highlights {
        grid-template-columns: 1fr;
    }

    .static-page--contact .modern-filter-form.contact-support-form {
        border-radius: 12px !important;
    }

    .contact-support-form__header,
    .contact-support-form__fields {
        padding-left: 20px;
        padding-right: 20px;
    }

    .static-page__contact-panel {
        border-radius: 12px;
        padding: 24px 20px;
    }
}

/* Legacy split alias — same as contact */
.static-page--split .static-page__body {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: calc(var(--site-section-y) + 48px);
}

.static-page__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.static-page--split .static-page__split-content {
    min-width: 0;
}

.static-page--split .static-page__split-aside {
    min-width: 0;
}

.static-page--split .findcare-form {
    width: 100%;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.static-page--split .modern-filter-form.contact-support-form {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: clamp(24px, 3vw, 32px) !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.static-page--no-toc .static-page__body {
    grid-template-columns: 1fr;
}

.static-page__content .thankyou-highlight {
    color: var(--site-orange);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .static-page__hero-zone {
        padding-top: calc(var(--site-header-offset) - 16px);
    }

    body:has(header .top-header) .static-page__hero-zone {
        padding-top: calc(var(--site-header-offset-topbar) - 16px);
    }

    .static-page__hero-zone::before {
        background-size: contain;
        background-position: right top;
        opacity: 0.32;
    }

    .static-page__hero-zone::after {
        background: rgba(255, 255, 255, 0.93);
    }

    .static-page__main {
        padding-top: 24px;
    }

    .static-page__body {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 40px;
        padding-bottom: 88px;
    }

    .static-page__toc {
        position: static;
        padding-bottom: 8px;
        border-bottom: 1px solid #e5e7eb;
    }

    .static-page__toc-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .static-page__toc-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .static-page__toc-link--child {
        padding-left: 10px;
    }

    .static-page__split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .static-page__main {
        padding-top: 20px;
    }

    .static-page__hero {
        padding: 12px 0 32px;
    }

    .static-page__body {
        padding-bottom: 72px;
    }
}

/* Legacy aliases — keep contact form pages working if class remains */
.info-page-sec.contact-us-sec {
    padding-bottom: 80px !important;
}
