.mastercap-request-quote {
    background: #fff;
    color: #1d2226;
}

.mastercap-request-quote__hero,
.mastercap-request-quote__checklist,
.mastercap-request-quote__form-section,
.mastercap-request-quote__process {
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.mastercap-request-quote__hero {
    padding-top: 48px;
    padding-bottom: 34px;
}

.mastercap-request-quote__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 18px;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

.mastercap-request-quote__breadcrumb a {
    color: #555;
    text-decoration: none;
}

.mastercap-request-quote__breadcrumb a:hover {
    color: #3f7fd8;
}

.mastercap-request-quote__title {
    max-width: 820px;
    margin: 0 0 14px;
    color: #222;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.14;
}

.mastercap-request-quote__intro {
    max-width: 880px;
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
}

.mastercap-request-quote__hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 42px;
    align-items: center;
}

.mastercap-request-quote__hero-media {
    margin: 0;
    overflow: hidden;
    background: #f3f3f3;
}

.mastercap-request-quote__hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 3;
    object-fit: cover;
}

.mastercap-request-quote__checklist,
.mastercap-request-quote__form-section,
.mastercap-request-quote__process {
    padding-bottom: 48px;
}

.mastercap-request-quote__section-inner {
    padding: 32px;
    border: 1px solid #ececec;
    background: #fafafa;
}

.mastercap-request-quote__section-inner--form {
    background: #fff;
}

.mastercap-request-quote__section-title,
.mastercap-request-quote__cta-title {
    margin: 0 0 18px;
    color: #222;
    font-size: 28px;
    line-height: 1.25;
}

.mastercap-request-quote__checklist-list,
.mastercap-request-quote__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    margin: 0;
    padding-left: 20px;
    color: #333;
    font-size: 15px;
    line-height: 1.65;
}

.mastercap-request-quote__form-heading {
    max-width: 780px;
    margin-bottom: 26px;
}

.mastercap-request-quote__form-note,
.mastercap-request-quote__pending {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.65;
}

.mastercap-request-quote__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mastercap-request-quote__field {
    min-width: 0;
}

.mastercap-request-quote__field--message,
.mastercap-request-quote__field--wide,
.mastercap-request-quote__notice,
.mastercap-request-quote__pending,
.mastercap-request-quote__form-actions {
    grid-column: 1 / -1;
}

.mastercap-request-quote__field label {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.mastercap-request-quote__field input,
.mastercap-request-quote__field textarea {
    width: 100%;
    border: 1px solid #d8d8d8;
    background: #f7f7f7;
    color: #555;
    font: inherit;
    padding: 12px 14px;
}

.mastercap-request-quote__field input:focus,
.mastercap-request-quote__field textarea:focus {
    border-color: #3f7fd8;
    outline: 2px solid rgba(63, 127, 216, .16);
    outline-offset: 1px;
}

.mastercap-request-quote__field small {
    display: block;
    margin-top: 7px;
    color: #666;
    font-size: 12px;
}

.mastercap-request-quote__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.mastercap-request-quote__notice {
    margin: 0;
    padding: 13px 15px;
    border-left: 4px solid #777;
    background: #f4f4f4;
    font-size: 14px;
    line-height: 1.55;
}

.mastercap-request-quote__notice--success {
    border-color: #27864b;
    background: #eff9f2;
    color: #195d34;
}

.mastercap-request-quote__notice--error {
    border-color: #bd3f35;
    background: #fff2f1;
    color: #84271f;
}

.mastercap-request-quote__field input:disabled,
.mastercap-request-quote__field textarea:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.mastercap-request-quote__form-actions,
.mastercap-request-quote__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.mastercap-request-quote__submit,
.mastercap-request-quote__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 13px 22px;
    border: 1px solid #282d33;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

.mastercap-request-quote__submit {
    background: #282d33;
    color: #fff;
    cursor: pointer;
}

.mastercap-request-quote__submit:hover,
.mastercap-request-quote__submit:focus-visible {
    border-color: #3f7fd8;
    background: #3f7fd8;
}

.mastercap-request-quote__form-actions a {
    color: #3f7fd8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mastercap-request-quote__form-actions a:hover {
    color: #222;
}

.mastercap-request-quote__cta {
    margin-top: 32px;
    padding: 32px;
    border: 1px solid #ececec;
    background: #f7f7f7;
}

.mastercap-request-quote__button--primary {
    background: #282d33;
    color: #fff;
}

.mastercap-request-quote__button--secondary {
    background: #fff;
    color: #111;
}

/* Match the legacy contact form rhythm while keeping the secure quote workflow. */
.mastercap-request-quote {
    margin-top: 32px;
    padding: 0 0 72px;
    background: #f1f5fd;
}

.mastercap-request-quote .mastercap-request-quote__hero {
    max-width: none;
    padding: 88px 24px 36px;
    text-align: center;
}

.mastercap-request-quote .mastercap-request-quote__title {
    max-width: none;
    margin: 0;
    color: #2e3134;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 3.6vw, 50px);
    font-weight: 700;
    line-height: 1.2;
}

.mastercap-request-quote .mastercap-request-quote__intro {
    max-width: 760px;
    margin: 22px auto 0;
    color: #747474;
    font-size: 18px;
}

.mastercap-request-quote .mastercap-request-quote__form-section {
    max-width: 930px;
    padding: 0 24px;
}

.mastercap-request-quote .mastercap-request-quote__section-inner--form {
    padding: 0;
    border: 0;
    background: transparent;
}

.mastercap-request-quote .mastercap-request-quote__form-heading {
    max-width: none;
    margin: 0 0 26px;
    text-align: center;
}

.mastercap-request-quote .mastercap-request-quote__form-heading h2 {
    margin: 0 0 8px;
    color: #747474;
    font-size: 20px;
    font-weight: 400;
}

.mastercap-request-quote .mastercap-request-quote__form-note {
    color: #737b84;
    font-size: 13px;
}

.mastercap-request-quote .mastercap-request-quote__form {
    gap: 6px;
}

.mastercap-request-quote .mastercap-request-quote__field {
    min-height: 98px;
    padding: 16px 18px 12px;
    border: 1px solid #eef0f2;
    background: #fff;
}

.mastercap-request-quote .mastercap-request-quote__field label {
    margin: 0;
    color: #41464a;
    font-size: 12px;
}

.mastercap-request-quote .mastercap-request-quote__field input,
.mastercap-request-quote .mastercap-request-quote__field textarea {
    padding: 10px 0 0;
    border: 0;
    outline: 0;
    background: #fff;
    color: #686e73;
}

.mastercap-request-quote .mastercap-request-quote__field input:focus,
.mastercap-request-quote .mastercap-request-quote__field textarea:focus {
    border: 0;
    outline: 0;
    box-shadow: inset 0 -2px 0 #3f7edb;
}

.mastercap-request-quote .mastercap-request-quote__field--message {
    min-height: 168px;
}

.mastercap-request-quote .mastercap-request-quote__field textarea {
    min-height: 104px;
    resize: vertical;
}

.mastercap-request-quote .mastercap-request-quote__form-actions {
    justify-content: center;
    margin-top: 18px;
}

.mastercap-request-quote .mastercap-request-quote__submit {
    min-width: 170px;
    min-height: 46px;
    border-color: #3f7edb;
    border-radius: 0;
    background: #3f7edb;
    font-family: Karla, Arial, Helvetica, sans-serif;
}

@media (max-width: 760px) {
    .mastercap-request-quote__hero,
    .mastercap-request-quote__checklist,
    .mastercap-request-quote__form-section,
    .mastercap-request-quote__process {
        padding-right: 18px;
        padding-left: 18px;
    }

    .mastercap-request-quote__hero {
        padding-top: 32px;
    }

    .mastercap-request-quote__hero-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .mastercap-request-quote__hero-media img {
        aspect-ratio: 4 / 3;
    }

    .mastercap-request-quote__section-inner,
    .mastercap-request-quote__cta {
        padding: 22px;
    }

    .mastercap-request-quote__checklist-list,
    .mastercap-request-quote__steps,
    .mastercap-request-quote__form {
        grid-template-columns: 1fr;
    }

    .mastercap-request-quote {
        margin-top: 20px;
        padding-bottom: 50px;
    }

    .mastercap-request-quote .mastercap-request-quote__hero {
        padding: 58px 18px 30px;
    }

    .mastercap-request-quote .mastercap-request-quote__form-section {
        padding-right: 18px;
        padding-left: 18px;
    }
}
