/* Contact layout and form appearance, consolidated from the page. */
.page-id-1262 .entry-content .contact-page-hero.alignfull,
.page-id-1262 .site-content .contact-page-hero.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.contact-page-hero {
    min-height: 520px;
    align-items: flex-end;
}

.contact-page-hero .wp-block-cover__inner-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 170px 0 78px;
}

.contact-page-eyebrow {
    margin: 0 0 14px;
    color: #ffdfdd !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.contact-page-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(46px, 7vw, 84px);
    line-height: .98;
    letter-spacing: 0;
}

.contact-page-hero .contact-page-lead {
    max-width: 720px;
    margin-top: 24px;
    color: rgba(255,255,255,.88) !important;
    font-size: 20px;
    line-height: 1.65;
}

.contact-page-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0 96px;
}

.contact-page-intro {
    margin-bottom: 36px;
}

.contact-page-intro h2 {
    max-width: 760px;
    margin: 0;
    color: #1e242b;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: 0;
}

.contact-page-intro p {
    max-width: 760px;
    margin-top: 18px;
    color: #59626d;
    font-size: 18px;
    line-height: 1.7;
}

.contact-layout {
    align-items: stretch !important;
    gap: 30px !important;
}

.contact-info-panel,
.contact-sureforms-panel {
    min-height: 100%;
}

.contact-info-panel {
    border: 1px solid #e3e8ed;
    border-radius: 8px;
    padding: 34px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(27,31,36,.08);
}

.contact-info-panel h3,
.contact-sureforms-panel h3 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.2;
}

.contact-info-panel h3 {
    color: #20262d;
}

.contact-info-panel p {
    margin: 0 0 24px;
    color: #59626d;
    line-height: 1.7;
}

.contact-detail-grid {
    display: grid;
    gap: 14px;
}

.contact-detail-card {
    border: 1px solid #e7ebef;
    border-radius: 8px;
    padding: 18px 20px;
    background: #f8fafb;
}

.contact-detail-card strong {
    display: block;
    margin-bottom: 8px;
    color: #d7342a;
    font-size: 15px;
    text-transform: uppercase;
}

.contact-detail-card p,
.contact-detail-card a {
    color: #29313a;
    font-size: 16px;
    line-height: 1.65;
}

.contact-detail-card a {
    text-decoration: none;
}

.contact-detail-card a:hover,
.contact-detail-card a:focus {
    color: #d7342a;
}

.contact-sureforms-panel {
    border-radius: 8px;
    padding: 34px;
}

.contact-sureforms-panel p {
    margin: 0 0 24px;
    line-height: 1.7;
}

.contact-sureforms-panel .srfm-form-container {
    background: transparent !important;
    padding: 0 !important;
}

.contact-sureforms-panel .srfm-form {
    gap: 16px !important;
}

.contact-sureforms-panel label,
.contact-sureforms-panel .srfm-block-label,
.contact-sureforms-panel .srfm-label {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.contact-sureforms-panel input,
.contact-sureforms-panel textarea,
.contact-sureforms-panel select {
    border-radius: 6px !important;
}

.contact-sureforms-panel .srfm-submit-button,
.contact-sureforms-panel button[type="submit"] {
    border-radius: 6px !important;
    padding: 14px 22px !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

.contact-service-strip {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 96px;
    border-radius: 8px;
    padding: 32px 38px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background: #f5f7f8;
}

.contact-service-strip h2 {
    margin: 0;
    color: #20262d;
    font-size: 28px;
    line-height: 1.25;
}

.contact-service-strip p {
    margin: 8px 0 0;
    color: #59626d;
}

.contact-service-strip .wp-block-button__link {
    border-radius: 6px;
    background: #d7342a;
    color: #fff;
    font-weight: 800;
}

@media (max-width: 920px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-service-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .contact-page-hero .wp-block-cover__inner-container,
    .contact-page-main,
    .contact-service-strip {
        width: min(100% - 28px, 1180px);
    }

    .contact-page-hero {
        min-height: 460px;
    }

    .contact-page-hero .wp-block-cover__inner-container {
        padding: 150px 0 58px;
    }

    .contact-page-hero h1 {
        font-size: 48px;
    }

    .contact-page-hero .contact-page-lead {
        font-size: 17px;
    }

    .contact-page-main {
        padding: 58px 0 64px;
    }

    .contact-info-panel,
    .contact-sureforms-panel,
    .contact-service-strip {
        padding: 24px 20px;
    }
}

/* Contact page */
.page-id-1262 .contact-page-hero {
    justify-content: center !important;
}

.page-id-1262 .contact-page-hero .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 1180px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center;
}

.page-id-1262 .contact-page-hero .contact-page-eyebrow,
.page-id-1262 .contact-page-hero h1,
.page-id-1262 .contact-page-hero .contact-page-lead {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.page-id-1262 .contact-sureforms-panel {
    border: 1px solid #e3e8ed;
    border-top: 4px solid #d7342a;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%);
    color: #29313a;
    box-shadow: 0 18px 45px rgba(27, 31, 36, 0.08);
}

.page-id-1262 .contact-sureforms-panel h3 {
    color: #20262d;
}

.page-id-1262 .contact-sureforms-panel > p {
    color: #59626d;
}

.page-id-1262 .contact-sureforms-panel .srfm-form-container {
    --srfm-color-scheme-primary: #d7342a !important;
    --srfm-color-scheme-text-on-primary: #ffffff !important;
    --srfm-btn-color-hover: #b92922 !important;
    --srfm-color-input-background: #ffffff !important;
    --srfm-color-input-background-hover: #ffffff !important;
    --srfm-color-input-border: #d8dee4 !important;
    --srfm-color-input-border-hover: #b6bec7 !important;
    --srfm-color-input-border-focus-glow: rgba(215, 52, 42, 0.16) !important;
    --srfm-color-input-label: #29313a !important;
    --srfm-color-input-text: #29313a !important;
    --srfm-color-input-placeholder: #7a8490 !important;
    --srfm-color-input-description: #68727d !important;
}

.page-id-1262 .contact-sureforms-panel label,
.page-id-1262 .contact-sureforms-panel .srfm-block-label,
.page-id-1262 .contact-sureforms-panel .srfm-block-legend,
.page-id-1262 .contact-sureforms-panel .srfm-label,
.page-id-1262 .contact-sureforms-panel .srfm-block-text,
.page-id-1262 .contact-sureforms-panel .srfm-description,
.page-id-1262 .contact-sureforms-panel .srfm-form-container p {
    color: #29313a !important;
}

.page-id-1262 .contact-sureforms-panel input,
.page-id-1262 .contact-sureforms-panel textarea,
.page-id-1262 .contact-sureforms-panel select,
.page-id-1262 .contact-sureforms-panel .srfm-input-common {
    border-color: #d8dee4 !important;
    background: #ffffff !important;
    color: #29313a !important;
    box-shadow: 0 1px 2px rgba(27, 31, 36, 0.03);
}

.page-id-1262 .contact-sureforms-panel input::placeholder,
.page-id-1262 .contact-sureforms-panel textarea::placeholder {
    color: #7a8490 !important;
    opacity: 1;
}

.page-id-1262 .contact-sureforms-panel input:focus,
.page-id-1262 .contact-sureforms-panel textarea:focus,
.page-id-1262 .contact-sureforms-panel select:focus,
.page-id-1262 .contact-sureforms-panel .srfm-input-common:focus {
    border-color: #d7342a !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(215, 52, 42, 0.16) !important;
}

.page-id-1262 .contact-sureforms-panel .srfm-multi-choice-single {
    border-color: #d8dee4 !important;
    background: #ffffff !important;
    color: #29313a !important;
}

.page-id-1262 .contact-sureforms-panel .srfm-multi-choice-single:hover,
.page-id-1262 .contact-sureforms-panel .srfm-multi-choice-single:focus-within {
    border-color: #d7342a !important;
    background: #fff7f6 !important;
}

.page-id-1262 .contact-sureforms-panel .srfm-submit-button,
.page-id-1262 .contact-sureforms-panel button[type="submit"] {
    border: 1px solid #d7342a !important;
    background: #d7342a !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(215, 52, 42, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-id-1262 .contact-sureforms-panel .srfm-submit-button:hover,
.page-id-1262 .contact-sureforms-panel button[type="submit"]:hover {
    border-color: #b92922 !important;
    background: #b92922 !important;
    transform: translateY(-1px);
}
