/* Contact Us — full-page consistency on monthly-link-building-patch.css */

/* ── Ticker (green band between hero and dark streng) ── */
body.page-id-418 {
    overflow-x: clip;
}

body.page-id-418 .main-ticker {
    overflow: hidden;
}

.case-main.monthly-hero + .main-ticker {
    background: #b0ee50;
    padding: 0;
    margin: 0;
}

.case-main.monthly-hero + .main-ticker .scroll div {
    background: #b0ee50;
}

.case-main.monthly-hero + .main-ticker .h4 {
    color: #28282a;
}

/* ── Shared two-column layout (48px gutter, no 50%+50% overflow) ── */
.case-main.monthly-hero .block-with-cols,
.monthly-svc-page .case-streng .block-with-cols,
.monthly-svc-page .contact-trust .block-with-cols,
.monthly-svc-page .seo-svc-faq.faq .block-with-cols,
.monthly-svc-page .seo-svc-cta.last .block-with-cols {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 48px;
    align-items: flex-start;
}

.case-main.monthly-hero .block-with-cols > .col-50,
.monthly-svc-page .case-streng .block-with-cols > .col-50,
.monthly-svc-page .contact-trust .block-with-cols > .col-50,
.monthly-svc-page .seo-svc-faq.faq .block-with-cols > .col-45,
.monthly-svc-page .seo-svc-faq.faq .block-with-cols > .col-55,
.monthly-svc-page .seo-svc-cta.last .block-with-cols > .col-50 {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
}

.monthly-svc-page .seo-svc-faq.faq .block-with-cols > .col-45 {
    flex: 0 0 45%;
    width: 45%;
}

.monthly-svc-page .seo-svc-faq.faq .block-with-cols > .col-55 {
    flex: 1 1 0;
    width: auto;
}

/* ── Hero ── */
.case-main.monthly-hero {
    padding-bottom: 56px;
}

.case-main.monthly-hero .col-50:nth-child(1) > h2.sub {
    padding: 0;
}

.case-main.monthly-hero .col-50:nth-child(1) .body-m {
    padding-bottom: 0;
}

/* ── Streng ── */
.monthly-svc-page .case-streng .block-with-cols {
    align-items: center;
}

.monthly-svc-page .case-streng .col-50:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.monthly-svc-page .case-streng .col-50:nth-child(1) .h2,
.monthly-svc-page .case-streng .col-50:nth-child(1) .body-m {
    margin: 0;
}

.monthly-svc-page .case-streng .col-50:nth-child(2) .content {
    padding: 20px 24px;
    border-radius: 24px;
    background: linear-gradient(121deg, #e9e9f4 0%, rgba(233, 233, 244, 0.85) 100%),
        linear-gradient(218deg, #fff 36.93%, rgba(255, 255, 255, 0) 96.75%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.monthly-svc-page .case-streng .col-50:nth-child(2) .content .h3 {
    color: #28282a;
    margin: 0;
}

/* ── Contact form band ── */
.monthly-svc-page .contact-form-band.monthly-link-types {
    scroll-margin-top: 100px;
}

/* Head (full width) + two-column row: info cards | form */
body.page-id-418 .monthly-svc-page #contact-form > .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-head .h2,
body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-head .seo-svc-tagline {
    margin: 0;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-head .h2 span {
    background: #b0ee50;
    border-radius: 16px;
    padding: 3px 10px;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-head .seo-svc-tagline {
    font-size: 20px;
    line-height: 1.35;
}

/* Two columns: info cards (left) | form (right) */
body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-cols {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 48px !important;
    width: 100%;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-cols > .col-50 {
    flex: 0 1 calc(50% - 24px) !important;
    width: calc(50% - 24px) !important;
    max-width: calc(50% - 24px) !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-info-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-form-panel {
    min-width: 0;
}

body.page-id-418 .monthly-svc-page #contact-form .contact-info-cards.monthly-link-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
}

/* Plates: 100% of column content box, not bleeding into flex gap */
body.page-id-418 .monthly-svc-page #contact-form .contact-info-cards.monthly-link-cards > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.monthly-svc-page .contact-form-band.monthly-link-types .contact-info-cards .h3 {
    color: #efeff8 !important;
}

.monthly-svc-page .contact-form-band.monthly-link-types .contact-info-cards .body-m {
    color: #c1c1d1 !important;
}

.monthly-svc-page .contact-form-band.monthly-link-types .contact-info-cards a {
    color: #b0ee50 !important;
    text-decoration: none;
}

.monthly-svc-page .contact-form-band.monthly-link-types .contact-info-cards a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.monthly-svc-page .contact-info-cards.monthly-link-cards > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #3b3c59;
    border-radius: 24px;
    padding: 20px 24px;
}

.monthly-svc-page .contact-info-cards .h3,
.monthly-svc-page .contact-info-cards .body-m {
    margin: 0;
}

/* Form panel */
.monthly-svc-page .contact-form-panel > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    border-radius: 24px;
    background: #3b3c59;
    width: 100%;
    box-sizing: border-box;
}

.monthly-svc-page .contact-form-panel .h3,
.monthly-svc-page .contact-form-panel > div > .body-m {
    color: #efeff8;
    margin: 0;
}

.monthly-svc-page .contact-form-panel > div > .body-m {
    color: #c1c1d1;
    font-size: 15px;
    line-height: 1.4;
}

.monthly-svc-page .contact-form-panel .wpcf7,
.monthly-svc-page .contact-form-panel .inputs,
.monthly-svc-page .contact-form-panel .info,
.monthly-svc-page .contact-form-panel .info > div,
.monthly-svc-page .contact-form-panel .comment,
.monthly-svc-page .contact-form-panel .btns {
    display: flex;
    flex-direction: column;
    background: transparent;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.monthly-svc-page .contact-form-panel .inputs {
    gap: 16px;
}

.monthly-svc-page .contact-form-panel .lightbox-cancel {
    display: none !important;
}

.monthly-svc-page .contact-form-panel .labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.monthly-svc-page .contact-form-panel .labels .label {
    opacity: 1 !important;
    color: #efeff8;
    font-size: 14px;
}

.monthly-svc-page .contact-form-panel .labels .required {
    color: #b0ee50 !important;
    font-size: 12px;
}

.monthly-svc-page .contact-form-panel .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.monthly-svc-page .contact-form-panel .comment {
    width: 100%;
}

.monthly-svc-page .contact-form-panel input:not([type="submit"]),
.monthly-svc-page .contact-form-panel textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #87879a;
    background: #e9e9f4;
    color: #28282a;
    font-family: "Mulish", sans-serif;
    font-size: 14px;
    line-height: 1.3;
}

.monthly-svc-page .contact-form-panel input:not([type="submit"]):focus,
.monthly-svc-page .contact-form-panel textarea:focus {
    border-color: #b0ee50;
    outline: none;
}

.monthly-svc-page .contact-form-panel textarea {
    min-height: 112px;
    resize: vertical;
}

.monthly-svc-page .contact-form-panel .info > div {
    gap: 0;
}

.monthly-svc-page .contact-form-panel .comment .labels {
    margin-bottom: 8px;
}

.monthly-svc-page .contact-form-panel .btns {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-top: 4px;
    gap: 12px;
}

.monthly-svc-page .contact-form-panel .wpcf7-not-valid-tip {
    font-size: 12px !important;
    color: #ff8a8a !important;
    margin-top: 4px;
}

/* ── Steps (3 items — vertical stack like How We Work) ── */
.monthly-svc-page .contact-steps.monthly-steps > .container > .h2 {
    margin: 0;
}

.monthly-svc-page .contact-steps.monthly-steps .blocks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.monthly-svc-page .contact-steps .blocks .block .block-text .h3 {
    margin: 0;
}

/* ── Trust / results ── */
.monthly-svc-page .contact-trust.monthly-results > .container {
    gap: 32px;
}

.monthly-svc-page .contact-trust.monthly-results > .container > .h2 {
    margin: 0;
}

.monthly-svc-page .contact-trust .block-with-cols {
    gap: 40px;
}

.monthly-svc-page .contact-trust .col-50:nth-child(1) .body-m {
    margin: 0;
}

.monthly-svc-page .contact-trust.monthly-results .overlay {
    display: none !important;
}

/* ── FAQ ── */
.monthly-svc-page .seo-svc-faq.faq .col-45 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── CTA (dark left card + light text — matches site .last pattern) ── */
.monthly-svc-page .seo-svc-cta.last .block-with-cols {
    align-items: center;
    gap: 48px;
}

.monthly-svc-page .seo-svc-cta.last .col-50:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px;
    border-radius: 24px;
    background: #3b3c59;
    text-align: left;
}

.monthly-svc-page .seo-svc-cta.last .col-50:nth-child(1) .h3 {
    color: #efeff8;
    text-align: left;
    margin: 0;
}

.monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}

.monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) > div:first-child {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0;
}

.monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) > .body-m {
    margin: 0;
    text-align: left;
    color: #67676d;
}

.monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
}

.monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) img {
    width: 58px;
    height: 58px;
}

/* ── Section padding — override legacy 128px / 96px ── */
.monthly-svc-page .case-streng,
.monthly-svc-page .contact-form-band,
.monthly-svc-page .contact-steps.how-we-provide,
.monthly-svc-page .contact-trust.how-results {
    padding-top: 56px;
    padding-bottom: 56px;
}

/* CTA padding comes from monthly-link-building-patch (56px / 40px mobile) */
/* FAQ keeps 48px from monthly-link-building-patch */

/* ── Responsive ── */
@media (max-width: 1080px) {
    .case-main.monthly-hero .block-with-cols,
    .monthly-svc-page .case-streng .block-with-cols,
    .monthly-svc-page .contact-trust .block-with-cols,
    .monthly-svc-page .seo-svc-faq.faq .block-with-cols {
        flex-wrap: wrap;
        gap: 32px;
    }

    body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-cols {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 48px !important;
    }

    body.page-id-418 .monthly-svc-page #contact-form .contact-form-band-cols > .col-50 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.page-id-418 .monthly-svc-page #contact-form .contact-info-col {
        overflow: visible;
    }

    .monthly-svc-page .seo-svc-cta.last .block-with-cols {
        flex-wrap: wrap;
    }

    .case-main.monthly-hero .block-with-cols > .col-50,
    .monthly-svc-page .case-streng .block-with-cols > .col-50,
    .monthly-svc-page .contact-trust .block-with-cols > .col-50,
    .monthly-svc-page .seo-svc-faq.faq .block-with-cols > .col-45,
    .monthly-svc-page .seo-svc-faq.faq .block-with-cols > .col-55,
    .monthly-svc-page .seo-svc-cta.last .block-with-cols > .col-50 {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .monthly-svc-page .contact-form-panel .info {
        grid-template-columns: 1fr;
    }

    .monthly-svc-page .case-streng,
    .monthly-svc-page .contact-form-band,
    .monthly-svc-page .contact-steps.how-we-provide,
    .monthly-svc-page .contact-trust.how-results {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Stacked CTA — restore base .last vertical rhythm (gap + column order) */
    .monthly-svc-page .seo-svc-cta.last .block-with-cols {
        gap: 56px;
    }

    .monthly-svc-page .seo-svc-cta.last .col-50:nth-child(1) {
        order: 2;
    }

    .monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) {
        order: 1;
        align-items: center;
        text-align: center;
    }

    .monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) > div:first-child {
        gap: 16px;
    }

    .monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) > .body-m {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .monthly-svc-page .contact-form-panel > div {
        padding: 20px;
    }

    .monthly-svc-page .contact-form-panel .btns {
        flex-direction: column;
        align-items: stretch;
    }

    .monthly-svc-page .contact-form-panel .btns .btn {
        width: 100%;
        justify-content: center;
    }

    .monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) > div:last-child {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .monthly-svc-page .seo-svc-cta.last .col-50:nth-child(2) .btn {
        width: 100%;
        justify-content: center;
    }
}
