/* ─── Carmel CTA ───
 * A rounded photo card (cta_image) inside the page container, under a shade that is heavier on the copy side.
 * Homepage: the request form card sits on the right. On phones the card runs edge to edge and sits on the footer.
 */
.ocf-cta-wrap { padding-bottom: var(--ocf-section-pad); background: var(--ocf-bg); }
/* After a tinted or dark band the card needs air above it too. */
.ocf-testimonials + .ocf-cta-wrap,
.carmel-sand + .ocf-cta-wrap,
.carmel-charcoal + .ocf-cta-wrap { padding-top: var(--ocf-section-pad); }

.ocf-cta {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--ocf-radius-lg);
    background: var(--carmel-panel);
    color: #fff;
    isolation: isolate;
}

.ocf-cta-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ocf-cta-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, color-mix(in srgb, #1C1613 76%, transparent) 0%, color-mix(in srgb, #1C1613 54%, transparent) 55%, color-mix(in srgb, #1C1613 38%, transparent) 100%);
}

.ocf-cta-inner {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
    min-width: 0;
    padding: clamp(40px, 5.6vw, 80px);
}
.ocf-cta--form .ocf-cta-inner { padding-block: clamp(40px, 4.4vw, 64px); }

.ocf-cta-copy { max-width: 560px; }
.ocf-cta .eyebrow { color: color-mix(in srgb, #fff 86%, transparent); }
.ocf-cta .heading-2 { margin: 0; color: #fff; }
.ocf-cta-description { margin: 18px 0 30px; color: color-mix(in srgb, #fff 88%, transparent); font-size: 18px; line-height: 1.6; }

.ocf-cta-form { flex: 0 0 480px; max-width: 480px; color: var(--ocf-body); }
.ocf-cta-form .ocf-form-card,
.ocf-cta-form .contact-form-card,
.ocf-cta-form > :first-child { border-radius: 16px; }

@media (max-width: 1023px) {
    .ocf-cta { min-height: 0; }
    .ocf-cta-inner { flex-direction: column; align-items: stretch; gap: 40px; padding: 56px 40px; }
    .ocf-cta-shade { background: color-mix(in srgb, #1C1613 64%, transparent); }
    .ocf-cta-copy { max-width: none; }
    .ocf-cta-form { flex-basis: auto; max-width: none; }
}

@media (max-width: 640px) {
    .ocf-cta-wrap { padding-bottom: 0; }
    .ocf-cta { margin-inline: calc(var(--container-pad) * -1); border-radius: 0; }
    .ocf-cta-inner { padding: 56px var(--container-pad); }
    .ocf-cta-description { font-size: 16px; }
}
