/* ─── Hero: two columns over the photo ───
 * Left: eyebrow, headline, subheadline, check list and call button. Right: the request form card.
 * hero_image fills the first screen under --carmel-shade, edge to edge; the fixed header bar floats over it.
 */
.ocf-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(640px, 100svh - 40px, 900px);
    padding: calc(var(--carmel-header-offset) + 72px) 0 40px;
    overflow: hidden;
    background: var(--carmel-panel);
    color: #fff;
    isolation: isolate;
}

.ocf-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ocf-hero__shade { position: absolute; inset: 0; z-index: -1; background: var(--carmel-shade); }

.ocf-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    flex: 1;
}

.ocf-hero__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; min-width: 0; }
.ocf-hero .eyebrow { margin-bottom: 22px; color: #fff; font-size: clamp(16px, 1.3vw, 19px); font-weight: var(--font-weight-medium); }
.ocf-hero__headline { max-width: 100%; margin: 0 0 28px; color: #fff; }
.ocf-hero__sub { max-width: 640px; margin: 0 0 28px; color: #fff; font-size: var(--font-body-size); line-height: var(--font-body-line); }
.ocf-hero__checks { display: grid; gap: 12px; margin: 0 0 36px; padding: 0; list-style: none; }
.ocf-hero__checks li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: clamp(17px, 1.4vw, 20px); font-weight: var(--font-weight-semibold, 600); }
.ocf-hero__checks svg { flex: none; width: 20px; height: 20px; color: var(--ocf-secondary); }
.ocf-hero .ocf-hero__actions { justify-content: flex-start; gap: 12px; }
.ocf-hero .carmel-btn-light { border-color: transparent; }
/* Light photos: a soft shadow under the type keeps everything readable. */
.ocf-hero .eyebrow, .ocf-hero__headline, .ocf-hero__sub, .ocf-hero__checks li, .ocf-hero__rating { text-shadow: 0 1px 2px color-mix(in srgb, #000 28%, transparent), 0 2px 28px color-mix(in srgb, #000 34%, transparent); }

.ocf-hero__form { min-width: 0; }
.ocf-hero__form .hero-form-card { background: var(--ocf-bg); }
.ocf-hero__form .hero-form-card input:not([type="submit"]),
.ocf-hero__form .hero-form-card textarea,
.ocf-hero__form .hero-form-card select { background-color: #fff; border-color: var(--ocf-border-light); }

.ocf-hero__foot { display: flex; justify-content: flex-start; align-items: flex-end; min-height: 28px; margin-top: 40px; }
.ocf-hero__rating { display: flex; align-items: center; gap: 14px; margin: 0; color: #fff; font-size: 17px; }
.ocf-hero__rating strong { margin-right: 4px; font-weight: var(--font-weight-semibold, 600); }
.ocf-hero__rating .carmel-stars svg { width: 18px; height: 18px; }
.ocf-hero .carmel-stars { color: var(--ocf-secondary); }

@media (max-width: 1023px) {
    .ocf-hero { min-height: 0; padding-top: calc(var(--carmel-header-offset) + 64px); }
    .ocf-hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .ocf-hero__content { align-items: flex-start; }
}

@media (max-width: 640px) {
    .ocf-hero { padding: calc(var(--carmel-header-offset) + 56px) 0 32px; }
    .ocf-hero__headline { margin-bottom: 22px; }
    .ocf-hero__checks { margin-bottom: 28px; }
    .ocf-hero .ocf-hero__actions { width: 100%; }
    .ocf-hero .ocf-hero__actions > a { width: 100%; }
}
