/* Hero: a full-bleed photo filling the first screen under the transparent header; centered copy; a 3-column trust
 * strip along the bottom edge. The sheet darkens behind the header and the trust strip (tune its stops here). */
.ocf-hero {
    --lisbon-panel-sheet: linear-gradient(180deg, color-mix(in srgb, var(--lisbon-overlay-color) 86%, transparent) 0%, color-mix(in srgb, var(--lisbon-overlay-color) 66%, transparent) 12%, color-mix(in srgb, var(--lisbon-overlay-color) 56%, transparent) 26%, color-mix(in srgb, var(--lisbon-overlay-color) 56%, transparent) 55%, color-mix(in srgb, var(--lisbon-overlay-color) 78%, transparent) 82%, color-mix(in srgb, var(--lisbon-overlay-color) 92%, transparent) 100%);
    display: flex;
    color: var(--ocf-heading-alt);
    text-align: center;
}

.ocf-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Fill the rest of the first screen under the header (C), within sensible bounds. */
    min-height: clamp(680px, calc(100svh - var(--wp-admin-bar-offset)), 980px);
    padding-block: calc(var(--lisbon-bar-height) + 72px) 140px;
}

.ocf-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1160px;
}

.ocf-hero .ocf-hero__headline {
    color: inherit;
    font-size: clamp(34px, 6vw, 88px);
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.ocf-hero__intro {
    max-width: 700px;
    margin: 26px 0 0;
    color: color-mix(in srgb, var(--ocf-heading-alt) 88%, transparent);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.5;
}

.ocf-hero .ocf-hero__actions {
    justify-content: center;
    gap: 28px;
    margin-top: 32px;
}

.ocf-hero .lisbon-call svg { width: 18px; height: 18px; }

.ocf-hero__trust {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid color-mix(in srgb, var(--ocf-heading-alt) 20%, transparent);
    list-style: none;
}

/* Trust strip: three equal cells divided by hairlines, a primary check badge and the statement. */
.ocf-hero__trust li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 84px;
    padding: 0 16px;
    color: var(--ocf-heading-alt);
    font-size: calc(var(--font-body-size) * 1.02);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    text-align: left;
}

.ocf-hero__trust li + li { border-left: 1px solid color-mix(in srgb, var(--ocf-heading-alt) 20%, transparent); }

.ocf-hero__trust svg {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 26px;
    height: 26px;
    padding: 6px;
    border-radius: var(--radius-full);
    background: var(--ocf-primary);
    color: var(--ocf-primary-contrast);
}

@media (max-width: 1023px) {
    .ocf-hero__inner { min-height: 680px; padding-bottom: 120px; }
    .ocf-hero__trust li { min-height: 72px; font-size: 15px; gap: 8px; }
}

@media (max-width: 639px) {
    .ocf-hero__inner {
        min-height: 0;
        padding-block: calc(var(--lisbon-bar-height) + 48px) 48px;
    }

    .ocf-hero__intro { margin-top: 20px; }
    .ocf-hero .ocf-hero__actions { flex-direction: column; gap: 18px; margin-top: 28px; }

    /* Phones keep the panel short: the trust statements return in the sections below. */
    .ocf-hero__trust { display: none; }
}

/* OCF_AGENT_BLOCK:koi-hero-tagline START */
.koi-hero-tagline {
    margin: 18px 0 0;
    color: #E0A458;
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: clamp(20px, 2.4vw, 32px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
/* OCF_AGENT_BLOCK:koi-hero-tagline END */

/* OCF_AGENT_BLOCK:koi-hero-brighter START */
/* Brighter home hero (Bruce): light sheet instead of the dark one, darker only behind the header and trust strip;
 * text shadows keep the white copy readable. Photo framed a little high so faces stay in view. */
.ocf-hero .lisbon-panel__media img { object-position: center 30%; }
.ocf-hero .lisbon-panel__media::after {
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.50) 0%, rgba(10, 14, 20, 0.18) 18%, rgba(10, 14, 20, 0.22) 50%, rgba(10, 14, 20, 0.22) 70%, rgba(10, 14, 20, 0.55) 100%),
                radial-gradient(ellipse 60% 45% at 50% 50%, rgba(10, 14, 20, 0.30), transparent 75%);
}
.ocf-hero .ocf-hero__headline { text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5); }
.ocf-hero .ocf-hero__intro { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.6); }
.ocf-hero .koi-hero-tagline { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.6); }
.ocf-hero .ocf-hero__trust li { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
@media (max-width: 639px) { .ocf-hero .lisbon-panel__media img { object-position: 22% 30%; } }
/* OCF_AGENT_BLOCK:koi-hero-brighter END */

/* OCF_AGENT_BLOCK:koi-hero-video START */
/* Animated home hero (Bruce): looping video of the same photo with koi swimming, rippling water and the pipe pouring.
 * Sits over the still photo (which stays as the fallback), under the light overlay. Hidden for reduced-motion users. */
.ocf-hero .lisbon-panel__media { position: absolute; }
.ocf-hero .lisbon-panel__media .koi-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 0; pointer-events: none; }
@media (max-width: 639px) { .ocf-hero .lisbon-panel__media .koi-hero-video { object-position: 22% 30%; } }
@media (prefers-reduced-motion: reduce) { .ocf-hero .lisbon-panel__media .koi-hero-video { display: none; } }
/* OCF_AGENT_BLOCK:koi-hero-video END */
