/* Hero: full-bleed image stage with the trust strip across its bottom.
 * Desktop: hero + strip fill the viewport below the header (top bar + nav); --ocf-hero-height is the minimum. */
.ocf-hero {
    --hero-curve: clamp(0.5rem, 1.2vw, 1.125rem); /* depth of the arc at the edges */
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .ocf-hero {
        min-height: calc(100svh - var(--neptune-header-offset) - var(--wp-admin-bar-offset));
    }

    .ocf-hero__stage {
        flex: 1;
    }
}
.ocf-hero__stage {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--ocf-hero-height);
    overflow: hidden;
    /* Photo sits on top of the trust strip: its bottom edge is one wide, subtle arc (lowest in the middle,
     * rising toward both sides) with a soft cast shadow. */
    border-radius: 0 0 50% 50% / 0 0 var(--hero-curve) var(--hero-curve);
    /* Hairline highlight traces the whole arc so both sides read equally, then the soft cast shadow. */
    box-shadow:
        0 1px 0 0 color-mix(in srgb, var(--ocf-heading-alt) 28%, transparent),
        0 8px 16px -10px color-mix(in srgb, var(--ocf-dark-bg) 32%, transparent);
    color: var(--ocf-heading-alt);
}

.ocf-hero__media,
.ocf-hero__shade {
    position: absolute;
    inset: 0;
}

.ocf-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Even sheet over the photo (no directional gradient), lightly tinted toward the primary. */
.ocf-hero__shade {
    background: var(--neptune-overlay-light);
}

.ocf-hero__grid {
    position: relative;
    padding-block: calc(var(--ocf-grid-gap) * 2);
}

.ocf-hero--proof .ocf-hero__grid {
    flex: 1;
    display: flex;
    align-items: center;
}

.ocf-hero__content {
    max-width: var(--ocf-hero-content-width);
}

.ocf-hero .ocf-hero__headline {
    color: inherit;
    font-size: calc(var(--font-h1-size) * 1.25);
}

.ocf-hero__intro {
    margin: calc(var(--ocf-grid-gap) * 0.75) 0 calc(var(--ocf-grid-gap) * 1.25);
    font-family: var(--ocf-font-accent);
    font-size: var(--font-h3-size);
    line-height: 1.4;
}

/* Trust bar: rating plus up to three hero_check_items on the same deep navy as the top bar, so the two frame the hero. */
.ocf-hero-proof {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * var(--hero-curve));
    padding-top: var(--hero-curve);
    --proof-ink: var(--ocf-heading-alt);
    --proof-line: color-mix(in srgb, var(--ocf-heading-alt) 14%, transparent);
    background: var(--neptune-deep);
    color: var(--proof-ink);
}

.ocf-hero-proof__bar {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    margin-block: 0;
    padding: 0;
    list-style: none;
}

.ocf-hero-proof__bar li {
    display: flex;
    align-items: center;
    gap: calc(var(--ocf-space-unit) * 0.5);
    padding: calc(var(--ocf-grid-gap) * 0.5) var(--ocf-grid-gap);
    color: var(--proof-ink);
    font-size: var(--ocf-font-small-size);
    font-weight: var(--font-weight-bold);
    line-height: 1.35;
}

.ocf-hero-proof__bar li:first-child {
    padding-left: 0;
}

.ocf-hero-proof__bar li + li {
    border-left: var(--card-border-width) solid var(--proof-line);
}

.ocf-hero-proof__bar svg {
    flex-shrink: 0;
    width: calc(var(--ocf-space-unit) * 1.0625);
    height: calc(var(--ocf-space-unit) * 1.0625);
    color: var(--ocf-secondary);
}

.ocf-hero-proof__value {
    font-family: var(--ocf-font-heading);
    font-size: var(--font-h3-size);
    font-weight: var(--ocf-font-h2-weight);
    line-height: 1;
}

.ocf-hero-proof__rating > span:last-child {
    display: flex;
    flex-direction: column;
}

.ocf-hero-proof__stars {
    color: var(--neptune-star);
    font-size: calc(var(--ocf-font-small-size) * 0.9);
    line-height: 1.3;
    letter-spacing: calc(var(--ocf-space-unit) * 0.125);
}

.ocf-hero-proof__label {
    color: color-mix(in srgb, var(--proof-ink) 72%, transparent);
    font-size: calc(var(--ocf-font-small-size) * 0.9);
    font-weight: var(--font-weight-regular);
}

@media (max-width: 1023px) {
    .ocf-hero-proof__bar {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocf-hero-proof__bar li:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .ocf-hero-proof__bar li:nth-child(n + 3) {
        border-top: var(--card-border-width) solid var(--proof-line);
    }

    .ocf-hero-proof__bar li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .ocf-hero__stage {
        min-height: var(--ocf-hero-height-mobile);
        justify-content: end;
    }

    .ocf-hero__media img {
        object-position: 60% center;
    }

    .ocf-hero__shade {
        background: var(--neptune-overlay);
    }

    .ocf-hero__grid {
        padding-block: calc(var(--ocf-grid-gap) * 1.5);
    }

    .ocf-hero__intro {
        margin-bottom: calc(var(--ocf-grid-gap) * 0.875);
    }

    /* Phones: compact two-column trust strip. */
    .ocf-hero-proof__bar li {
        padding: calc(var(--ocf-grid-gap) * 0.4) calc(var(--ocf-grid-gap) * 0.5);
    }
}

/* OCF_AGENT_BLOCK:hero-proof-six-items START */
@media (min-width: 1400px) {
    .ocf-hero-proof__bar {
        grid-auto-columns: auto;
        justify-content: space-between;
    }

    .ocf-hero-proof__bar li {
        white-space: nowrap;
        padding-inline: calc(var(--ocf-grid-gap) * 0.75);
    }

    .ocf-hero-proof__bar li:last-child {
        padding-right: 0;
    }
}
/* OCF_AGENT_BLOCK:hero-proof-six-items END */

/* OCF_AGENT_BLOCK:hero-proof-google-rating START */
.ocf-hero-proof__rating-link {
    display: flex;
    align-items: center;
    gap: calc(var(--ocf-space-unit) * 0.6);
    color: inherit;
    text-decoration: none;
}

.ocf-hero-proof__rating-link:hover .ocf-hero-proof__label {
    text-decoration: underline;
}

.ocf-hero-proof .ocf-hero-proof__value {
    font-size: calc(var(--font-h3-size) * 1.25);
    font-weight: 800;
}

/* White stars read clearly on the orange strip. */
.ocf-hero-proof .ocf-hero-proof__stars {
    color: var(--proof-ink);
    font-size: var(--ocf-font-small-size);
    letter-spacing: calc(var(--ocf-space-unit) * 0.1);
}

.ocf-hero-proof .ocf-hero-proof__label {
    color: var(--proof-ink);
    font-weight: var(--font-weight-medium);
}
/* OCF_AGENT_BLOCK:hero-proof-google-rating END */

/* OCF_AGENT_BLOCK:hero-proof-google-rating-stack START */
.ocf-hero-proof__rating-link > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ocf-hero-proof .ocf-hero-proof__stars {
    font-size: 1.05rem;
    line-height: 1;
}
/* OCF_AGENT_BLOCK:hero-proof-google-rating-stack END */

/* OCF_AGENT_BLOCK:hero-google-badge START */
.ocf-hero-google {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--ocf-space-unit) * 0.9);
    margin-top: calc(var(--ocf-grid-gap) * 0.75);
    color: inherit;
    text-decoration: none;
}

.ocf-hero-google__logo {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--ocf-dark-bg) 25%, transparent);
}

.ocf-hero-google__logo svg {
    width: 55%;
    height: 55%;
}

.ocf-hero-google__text {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ocf-hero-google__stars {
    color: #FDD835;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: 0.12em;
}

.ocf-hero-google__label {
    font-size: 1.15rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
}

.ocf-hero-google:hover .ocf-hero-google__label {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .ocf-hero-google__logo {
        width: 3rem;
        height: 3rem;
    }

    .ocf-hero-google__stars {
        font-size: 1.15rem;
    }

    .ocf-hero-google__label {
        font-size: 1rem;
    }
}
/* OCF_AGENT_BLOCK:hero-google-badge END */

/* OCF_AGENT_BLOCK:hero-google-badge-above START */
.ocf-hero-google {
    position: relative;
    z-index: 2;
    margin-top: 0;
    margin-bottom: calc(var(--ocf-grid-gap) * 0.75);
    cursor: pointer;
}
/* OCF_AGENT_BLOCK:hero-google-badge-above END */

/* OCF_AGENT_BLOCK:hero-award-badge START */
.ocf-hero__grid{position:relative}
.ocf-hero-award-badge{position:absolute;top:56px;right:0;margin:0;z-index:2}
.ocf-hero-award-badge img{display:block;height:150px;width:auto;max-width:none;filter:drop-shadow(0 8px 18px rgba(0,0,0,.45))}
@media (max-width:1024px){.ocf-hero-award-badge{top:40px}.ocf-hero-award-badge img{height:110px}}
@media (max-width:700px){.ocf-hero-award-badge{position:static;display:flex;justify-content:flex-end;margin:0 0 12px}.ocf-hero-award-badge img{height:84px}}
/* OCF_AGENT_BLOCK:hero-award-badge END */

/* OCF_AGENT_BLOCK:hero-proof-last-centered START */
@media (max-width:1023px){.ocf-hero-proof__bar li:last-child:nth-child(odd){justify-content:center;padding-inline:0}}
/* OCF_AGENT_BLOCK:hero-proof-last-centered END */
