/* 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:heritage-home-banner START */
html body .ocf-hero { --lisbon-panel-sheet: var(--heritage-banner); --lisbon-panel-bg: var(--ocf-bg-dark); color: var(--ocf-heading); border-top: 1px solid var(--ocf-border); }
html body .ocf-hero__inner { min-height: var(--ocf-hero-height); padding-block: 80px 126px; }
html body .ocf-hero__content { max-width: 900px; }
html body .ocf-hero .ocf-hero__headline { max-width: 860px; font-size: var(--font-h1-size); font-weight: 400; line-height: var(--ocf-font-h1-line); letter-spacing: 0; color: var(--ocf-primary); }
html body .ocf-hero__intro { color: var(--ocf-body); font-size: 17px; line-height: 1.75; }
html body .ocf-hero__trust { background: rgba(255,255,255,.65); border-top-color: var(--ocf-border); }
html body .ocf-hero__trust li { color: var(--ocf-primary-hover); font-size: 14px; font-weight: 500; }
html body .ocf-hero__trust li + li { border-left-color: var(--ocf-border); }
@media(max-width:1023px) { html body .ocf-hero__inner { min-height: 580px; padding-block: 70px 120px; } }
@media(max-width:639px) { html body .ocf-hero__inner { min-height: 0; padding-block: 60px; } html body .ocf-hero__intro { font-size: 16px; } }
/* OCF_AGENT_BLOCK:heritage-home-banner END */

/* OCF_AGENT_BLOCK:archive-home-white-hero START */
html body.home .heritage-home-hero{display:block;background:#fff;color:var(--ocf-body);border-top:1px solid #e8e8e8;text-align:left;}
html body.home .heritage-home-hero .ocf-hero__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px 64px;min-height:0;padding-block:64px 32px;}
html body.home .heritage-home-hero__photo{grid-column:2;grid-row:1;margin:0;overflow:hidden;border-radius:var(--image-radius);background:var(--ocf-bg-dark);}
html body.home .heritage-home-hero__photo img{display:block;width:100%;height:auto;}
html body.home .heritage-home-hero .ocf-hero__content{grid-column:1;grid-row:1;align-items:flex-start;max-width:100%;}
html body.home .heritage-home-hero .ocf-hero__headline{max-width:600px;color:#ed4e94;line-height:1.24;font-size:clamp(38px,3.5vw,58px);}
html body.home .heritage-home-hero .ocf-hero__intro{max-width:580px;color:var(--ocf-body);font-size:17px;line-height:1.8;}
html body.home .heritage-home-hero .ocf-hero__actions{justify-content:flex-start;flex-wrap:wrap;gap:16px;margin-top:26px;}
html body.home .heritage-home-hero .ocf-hero__actions a{border-radius:2px;font-weight:400;}
html body.home .heritage-home-hero .ocf-hero__actions .btn-primary{background:#fff;border-color:#e63c82;color:#c92b6b;}
html body.home .heritage-home-hero .ocf-hero__actions .btn-primary:hover{background:#fff0f6;}
html body.home .heritage-home-hero .ocf-hero__trust{display:grid;position:static;grid-column:1/-1;width:100%;max-width:none;background:#fff;border-top:1px solid #f3e4ee;}
html body.home .heritage-home-hero .ocf-hero__trust li{min-height:64px;color:var(--ocf-body);font-weight:400;}
@media(max-width:900px){html body.home .heritage-home-hero .ocf-hero__inner{grid-template-columns:minmax(0,1fr);gap:30px;padding-block:40px 20px;}html body.home .heritage-home-hero .ocf-hero__content{grid-column:1;grid-row:1;}html body.home .heritage-home-hero__photo{grid-column:1;grid-row:2;}html body.home .heritage-home-hero .ocf-hero__trust{grid-row:3;}}
@media(max-width:639px){html body.home .heritage-home-hero .ocf-hero__content{width:100%;max-width:100%;}html body.home .heritage-home-hero .ocf-hero__actions{align-items:stretch;width:100%;gap:12px;}html body.home .heritage-home-hero .ocf-hero__trust{grid-template-columns:1fr;gap:0;}html body.home .heritage-home-hero .ocf-hero__trust li{justify-content:flex-start;min-height:52px;padding:10px 0;}html body.home .heritage-home-hero .ocf-hero__trust li+li{border-left:0;border-top:1px solid #f3e4ee;}}
/* OCF_AGENT_BLOCK:archive-home-white-hero END */
