/* The original Lightning blueprint uses the foundation's canonical component styles. */

.ocf-hero__eyebrow {
    display: none;
}

/*
 * Pacific design pack for OCF Lightning.
 *
 * Customer colors and font families remain owned by OCF design tokens.
 * This file controls geometry, spacing, surfaces, and component art direction.
 */

:root {
    --font-h1-size: var(--ocf-font-h1-size, clamp(34px,5vw,68px));
    --font-h1-inner-size: clamp(28px,4vw,54px);
    --pacific-gradient-ink: color-mix(in srgb, var(--ocf-bg-dark) 74%, var(--ocf-primary));
    --pacific-hero-gradient: linear-gradient(90deg,
        color-mix(in srgb, var(--pacific-gradient-ink) 94%, transparent) 0%,
        color-mix(in srgb, var(--pacific-gradient-ink) 84%, transparent) 42%,
        color-mix(in srgb, var(--pacific-gradient-ink) 48%, transparent) 64%,
        color-mix(in srgb, var(--pacific-gradient-ink) 16%, transparent) 82%,
        transparent 96%);
    --pacific-hero-gradient-mobile: linear-gradient(180deg,
        color-mix(in srgb, var(--pacific-gradient-ink) 72%, transparent) 0%,
        color-mix(in srgb, var(--pacific-gradient-ink) 82%, transparent) 100%);
    --pacific-shell-radius: clamp(1rem, 3vw, 2rem);
    --pacific-accent-line-width: clamp(2.75rem, 4vw, 3.5rem);
    --pacific-accent-line-height: 3px;

    --ocf-primary-contrast: var(--ocf-heading-alt);
}

.ocf-hero__eyebrow {
    display: block;
}

body {
    font-weight: var(--ocf-font-body-weight, var(--font-weight-medium));
}

/* Shared eyebrow treatment */
.eyebrow,
.ocf-about__eyebrow,
.ocf-difference__eyebrow,
.ocf-page-header__eyebrow,
.ocf-cta__eyebrow {
    color: var(--ocf-heading);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

/* Reusable Pacific section accent. */
.pacific-accent-line,
.ocf-services-eyebrow::after,
.ocf-service-areas__eyebrow::after,
.ocf-gallery-heading .eyebrow::after,
.ocf-about__eyebrow::after,
.ocf-difference__eyebrow::after,
.ocf-commitments .eyebrow::after,
.ocf-faq .eyebrow::after,
.ocf-cta__eyebrow::after {
    display: block;
    height: var(--pacific-accent-line-height);
    border: 0;
    border-radius: var(--radius-full);
    background: var(--ocf-secondary);
}

.ocf-services-eyebrow,
.ocf-service-areas__eyebrow,
.ocf-gallery-heading .eyebrow,
.ocf-about__eyebrow,
.ocf-difference__eyebrow,
.ocf-commitments .eyebrow,
.ocf-faq .eyebrow,
.ocf-cta__eyebrow {
    flex-direction: column;
    align-items: flex-start;
}

.ocf-services-eyebrow::after,
.ocf-service-areas__eyebrow::after,
.ocf-gallery-heading .eyebrow::after,
.ocf-about__eyebrow::after,
.ocf-difference__eyebrow::after,
.ocf-commitments .eyebrow::after,
.ocf-faq .eyebrow::after,
.ocf-cta__eyebrow::after {
    width: var(--pacific-accent-line-width);
    margin-top: 0.65rem;
    content: '';
}

.ocf-commitments .eyebrow,
.ocf-faq .eyebrow,
.ocf-cta__eyebrow {
    align-items: center;
}

.ocf-page-header__divider .divider.pacific-accent-line {
    background: var(--ocf-secondary);
}

.reveal,
.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4 {
    opacity: 1;
    transform: none;
}

/* Header */
.nav-bar {
    border-bottom-color: var(--ocf-border-light);
    background: var(--ocf-bg);
}

.nav-inner {
    min-height: var(--nav-height);
}

.nav-logo {
    max-width: min(22rem, 31vw);
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
}

.nav-logo-img {
    --ocf-nav-logo-height-large: 5.0625rem;
    --ocf-nav-logo-height-mid: 4.2rem;
    --ocf-nav-logo-height-mobile: 4.125rem;

    max-height: 3.75rem;
}

.nav-links {
    gap: clamp(1rem, 1.7vw, 1.6rem);
}

.nav-link,
.nav-dropdown-trigger {
    position: relative;
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
}

.nav-link::after,
.nav-dropdown-trigger::after {
    position: absolute;
    right: 0;
    bottom: 0.4rem;
    left: 0;
    height: 2px;
    background: var(--ocf-primary);
    content: '';
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.nav-link:hover::after,
.nav-dropdown-trigger:hover::after,
.nav-link:focus-visible::after,
.nav-dropdown-trigger:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-phone {
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
}

.nav-cta {
    min-height: 2.75rem;
    padding-inline: 1.35rem;
    color: var(--ocf-primary-contrast);
}

/* Hero */
.ocf-hero {
    display: grid;
    min-height: clamp(37rem, 56vw, 50rem);
    align-items: center;
    margin-bottom: calc(-1 * var(--pacific-shell-radius));
    border-radius: 0;
    background: var(--ocf-bg-dark);
    box-shadow: 0 6px 8px rgb(0 0 0 / 12%);
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
}

.ocf-hero__media {
    position: absolute;
    inset: 0;
    opacity: 1;
}

.ocf-hero__media img {
    width: 100%;
    height: 100%;
    object-position: center;
}

.ocf-hero__shade {
    inset: 0;
    background: var(--pacific-hero-gradient);
    opacity: 1;
}

.ocf-hero__grid,
.ocf-hero .ocf-hero__grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: inherit;
    padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.ocf-hero__content {
    display: grid;
    width: 65%;
    max-width: none;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.45rem;
    padding-right: 0;
}

.ocf-hero__eyebrow {
    display: inline-flex;
    grid-row: 1;
    grid-column: 2;
    order: 1;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--ocf-heading-alt);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

/* Page headers */
.ocf-page-header {
    --page-header-eyebrow-color: var(--ocf-heading-alt);
}

.ocf-page-header:not([data-ocf-tone="light"]) {
    background:
        var(--pacific-hero-gradient),
        var(--page-header-background);
}

.ocf-page-header:not([data-ocf-tone="light"])::before {
    background-image:
        var(--pacific-hero-gradient),
        var(--page-header-image);
    opacity: 1;
}

.ocf-page-header[data-ocf-tone="light"] {
    --page-header-eyebrow-color: var(--ocf-heading);
}

.ocf-page-header__headline,
.ocf-page-header__title {
    font-size: var(--font-h1-size);
    font-weight: var(--ocf-font-h1-weight, var(--font-weight-bold));
    line-height: 1.04;
    letter-spacing: -0.04em;
}

/* Individual service and service-area page header */
.ocf-page-header--split:is(
    [data-ocf-post-type="service"],
    [data-ocf-post-type="service_area"],
    [data-ocf-post-type="post"]
),
.ocf-page-header.ocf-page-header--simple {
    --page-header-eyebrow-color: var(--ocf-heading);
    --page-header-headline-color: var(--ocf-heading);
    --page-header-body-color: var(--ocf-body);
    --page-header-border-color: var(--ocf-border-light);
    background: var(--ocf-bg-alt);
}

.ocf-page-header--split:is(
    [data-ocf-post-type="service"],
    [data-ocf-post-type="service_area"],
    [data-ocf-post-type="post"]
)::before,
.ocf-page-header.ocf-page-header--simple::before {
    background-image: none;
    opacity: 0;
}

.ocf-page-header--split .ocf-page-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    padding-block: clamp(2.5rem, 4vw, 3rem);
}

.ocf-page-header--split .ocf-page-header__content {
    max-width: 42rem;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.ocf-page-header--split .ocf-page-header__eyebrow,
.ocf-page-header--split .ocf-page-header__breadcrumb,
.ocf-page-header--split .ocf-page-header__back {
    margin: 0;
}

.ocf-page-header--split .ocf-page-header__back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ocf-heading);
    text-decoration: none;
    text-transform: none;
}

.ocf-page-header--split .ocf-page-header__back-link:hover,
.ocf-page-header--split .ocf-page-header__back-link:focus-visible {
    text-decoration: none;
}

.ocf-page-header--split .ocf-page-header__back-link:hover .ocf-page-header__back-label,
.ocf-page-header--split .ocf-page-header__back-link:focus-visible .ocf-page-header__back-label {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.ocf-page-header--split .ocf-page-header__back-arrow {
    margin-right: 0.15rem;
    font-size: 1.15em;
    line-height: 1;
}

.ocf-page-header--split .heading-1-inner {
    font-size: var(--font-h1-inner-size);
}

.ocf-page-header--split .ocf-page-header__subtitle {
    margin-top: 0;
    max-width: 38rem;
}

.ocf-page-header--split .ocf-page-header__media {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: var(--card-border-width) solid var(--card-border-color);
    border-radius: var(--image-radius);
    box-shadow: var(--image-shadow);
}

.ocf-page-header--split .ocf-page-header__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ocf-page-header--split .ocf-page-header__headline {
    color: var(--ocf-heading);
}

.ocf-page-header--split .ocf-page-header__divider {
    width: var(--pacific-accent-line-width);
}

.ocf-page-header--split .ocf-page-header__divider .divider {
    height: var(--pacific-accent-line-height);
    background: var(--ocf-secondary);
}

/* Standard inner pages use the same Pacific header language without media. */
.ocf-page-header--simple .ocf-page-header__inner {
    padding-block: clamp(2.5rem, 4vw, 3rem);
}

.ocf-page-header--simple .ocf-page-header__content {
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 48rem;
}

.ocf-page-header--simple .ocf-page-header__eyebrow,
.ocf-page-header--simple .ocf-page-header__breadcrumb {
    margin: 0;
}

.ocf-page-header--simple .heading-1-inner {
    color: var(--ocf-heading);
    font-size: var(--font-h1-inner-size);
}

.ocf-page-header--simple .ocf-page-header__subtitle {
    margin-top: 0;
    max-width: 38rem;
}

.ocf-page-header--simple .ocf-page-header__divider {
    width: var(--pacific-accent-line-width);
}

.ocf-service-areas-archive__copy .divider {
    width: 1.75rem;
}

.ocf-page-header--simple .ocf-page-header__divider .divider {
    height: var(--pacific-accent-line-height);
    background: var(--ocf-secondary);
}

/* Detail-page scrolling CTA */
@media (min-width: 901px) {
    .ocf-detail-grid,
    .ocf-detail__grid {
        grid-template-columns: minmax(0, 1fr) 390px;
    }
}

.ocf-detail-aside {
    padding: clamp(1.25rem, 2vw, 1.5rem);
    border-color: var(--card-border-color);
    border-radius: var(--card-radius);
    background: var(--ocf-bg-alt);
    box-shadow: var(--card-shadow);
}

.ocf-detail-aside .ocf-detail-sticky {
    gap: 1.1rem;
}

.ocf-detail-aside .ocf-detail-sticky-desc {
    line-height: 1.6;
}

.ocf-detail-aside .ocf-detail-sticky-btn {
    min-height: 3.5rem;
    justify-content: center;
}

.ocf-detail-aside .ocf-detail-sticky-btn svg {
    display: none;
}

.ocf-detail-aside .ocf-detail-sticky-phone {
    min-height: 0;
    padding: 1rem 0 0;
    border: 0;
    border-top: 1px solid var(--ocf-border-light);
    font-size: var(--font-body-size);
}

@media (max-width: 900px) {
    .ocf-page-header--split .ocf-page-header__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ocf-page-header--split .ocf-page-header__media {
        width: 100%;
    }

    .ocf-detail-aside {
        display: none;
    }
}

.ocf-hero__rating {
    grid-row: 1;
    grid-column: 1;
    order: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: var(--ocf-heading-alt);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
    line-height: 1.2;
}

.ocf-hero__rating-value {
    display: none;
}

.ocf-hero__rating-label {
    display: none;
}

.ocf-hero__stars {
    display: none;
}

.ocf-hero__google-icon {
    display: block;
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
}

.ocf-hero__headline {
    grid-row: 2;
    grid-column: 1 / -1;
    order: 2;
    margin-top: 1.5rem;
    color: var(--ocf-heading-alt);
    font-size: var(--font-h1-size);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.ocf-hero__intro {
    grid-row: 3;
    grid-column: 1 / -1;
    order: 3;
    max-width: 46ch;
    margin-top: 1.85rem;
    color: var(--ocf-body-alt);
    font-size: var(--font-body-size);
    line-height: 1.7;
}

.ocf-hero__actions {
    grid-row: 4;
    grid-column: 1 / -1;
    order: 4;
    align-items: center;
    margin-top: 2.35rem;
}

.ocf-hero__actions .btn-primary {
    min-height: 4.25rem;
    padding-inline: clamp(1.75rem, 4vw, 2.5rem);
    background: var(--ocf-primary);
    color: var(--ocf-primary-contrast);
}

.ocf-hero__actions .btn-primary:hover {
    background: color-mix(in srgb, var(--ocf-primary) 86%, var(--ocf-heading));
    color: var(--ocf-primary-contrast);
}

.ocf-hero__form,
.ocf-hero__checks {
    display: none;
}

.ocf-hero__scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: clamp(1.15rem, 2.5vw, 1.75rem);
    left: 50%;
    display: inline-grid;
    width: 2.25rem;
    height: 2.75rem;
    place-items: center;
    color: var(--ocf-heading-alt);
    opacity: var(--hero-scroll-cue-opacity, 1);
    transform: translateX(-50%);
    transition: opacity 120ms linear, color var(--duration) var(--ease);
    animation: pacific-scroll-cue-float 1.9s ease-in-out infinite;
}

.ocf-hero__scroll-cue:hover,
.ocf-hero__scroll-cue:focus-visible {
    color: color-mix(in srgb, var(--ocf-heading-alt) 78%, transparent);
}

.ocf-hero__scroll-cue svg {
    width: 1.6rem;
    height: 2.1rem;
}

@keyframes pacific-scroll-cue-float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 0.3rem); }
}

.ocf-hero__phone {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--ocf-primary);
    color: var(--ocf-heading-alt);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-bold);
}

.ocf-hero__phone:hover {
    color: var(--ocf-primary);
}

.ocf-hero__phone svg {
    width: 1rem;
    height: 1rem;
}

.ocf-hero__checks {
    order: 5;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    gap: 1rem;
    margin-top: 1.65rem;
    border-top: 1px solid var(--ocf-border-alt);
    padding-top: 1.25rem;
    font-size: 0.82rem;
}

.ocf-hero__checks li {
    align-items: flex-start;
    gap: 0.45rem;
}

.ocf-hero__check-icon {
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    border-radius: var(--radius-full);
    box-shadow: none;
}

.ocf-hero__check-icon svg {
    width: 0.68rem !important;
    height: 0.68rem !important;
}

/* Services */
.ocf-services:not(.ocf-services--embedded) {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ocf-primary) 3%, var(--ocf-bg-alt)) 0%,
        color-mix(in srgb, var(--ocf-primary) 8%, var(--ocf-bg-alt)) 100%);
}

.ocf-services .ocf-svc-viewport {
    margin-top: 0;
    padding-top: 0;
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card {
    position: relative;
    min-height: 0;
    aspect-ratio: 16 / 10;
    padding: 0;
    border: 0;
    border-radius: var(--card-radius);
    background: var(--ocf-bg-dark);
    box-shadow: var(--card-shadow);
    isolation: isolate;
    overflow: hidden;
    transform: none;
    transition: transform 360ms var(--ease);
}

/*
 * Homepage services: light, content-led cards.
 * All overrides remain isolated from service archives and internal pages.
 */
body.home #services.ocf-services {
    background: #fff;
}

body.home #services .ocf-services-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 48rem) minmax(0, 1fr);
    align-items: end;
}

body.home #services .ocf-services-heading {
    display: flex;
    grid-column: 2;
    max-width: 48rem;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    text-align: center;
}

body.home #services .ocf-services-eyebrow {
    display: inline-flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    align-self: center;
    margin: 0 auto 1rem;
    padding: 4px 16px;
    border-radius: 9999px;
    background: #e8f5e9;
    color: #27ae60;
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 20px;
    text-transform: uppercase;
}

body.home #services .ocf-services-eyebrow::after {
    display: none;
    content: none;
}

body.home #services .heading-2 {
    max-width: 18ch;
    margin: 0;
    color: #0d2b6e;
    font-family: Nunito, sans-serif;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

body.home #services .ocf-svc-nav {
    grid-column: 3;
    justify-self: end;
}

body.home #services .ocf-svc-track > .ocf-svc-card {
    position: relative;
    display: flex;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    flex-direction: column;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

body.home #services .ocf-svc-track > .ocf-svc-card::before,
body.home #services .ocf-svc-track > .ocf-svc-card::after {
    display: none;
    content: none;
}

body.home #services .ocf-svc-card-img {
    position: relative;
    z-index: auto;
    inset: auto;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    flex: 0 0 auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

body.home #services .ocf-svc-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

body.home #services .ocf-svc-card-body {
    position: relative;
    z-index: auto;
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 24px;
    background: #fff;
}

body.home #services .ocf-svc-card-body h3,
body.home #services .ocf-svc-card:hover .ocf-svc-card-body h3,
body.home #services .ocf-svc-card:focus-visible .ocf-svc-card-body h3 {
    margin: 0;
    color: #0d2b6e;
    font-family: Nunito, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 28px;
    transform: none;
}

body.home #services .ocf-svc-card-body p {
    max-height: none;
    margin: 0;
    color: var(--ocf-body);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.625;
    opacity: 1;
    overflow: visible;
    transform: none;
    transition: none;
}

body.home #services .ocf-svc-card-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    color: var(--ocf-primary);
}

@media (hover: hover) and (pointer: fine) {
    body.home #services .ocf-svc-track > .ocf-svc-card:hover {
        box-shadow: var(--card-shadow-hover);
        transform: translateY(-4px);
    }

    body.home #services .ocf-svc-card:hover .ocf-svc-card-img img {
        filter: none;
        transform: scale(1.03);
    }
}

@media (max-width: 900px) {
    body.home #services .ocf-services-header {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        row-gap: 1.25rem;
    }

    body.home #services .ocf-services-heading,
    body.home #services .ocf-svc-nav {
        grid-column: 1;
    }

    body.home #services .ocf-svc-nav {
        justify-self: center;
    }
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card::before,
:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    pointer-events: none;
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card::before {
    background: linear-gradient(180deg,
        transparent 18%,
        color-mix(in srgb, var(--pacific-gradient-ink) 20%, transparent) 44%,
        color-mix(in srgb, var(--pacific-gradient-ink) 58%, transparent) 72%,
        color-mix(in srgb, var(--pacific-gradient-ink) 94%, transparent) 100%);
    opacity: 0;
    transition: opacity 320ms var(--ease);
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card::after {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--pacific-gradient-ink) 12%, transparent) 0%,
        color-mix(in srgb, var(--pacific-gradient-ink) 20%, transparent) 28%,
        color-mix(in srgb, var(--pacific-gradient-ink) 38%, transparent) 58%,
        color-mix(in srgb, var(--pacific-gradient-ink) 94%, transparent) 100%);
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card-img {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: block;
    aspect-ratio: auto;
    margin: 0;
    border-radius: inherit;
    background: var(--ocf-bg-dark);
    overflow: hidden;
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms var(--ease), filter 360ms var(--ease);
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.7rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card-body h3 {
    margin: 0;
    color: var(--ocf-heading-alt);
    font-size: var(--font-h3-size);
    transform: translateY(0);
    transition: transform 320ms var(--ease);
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card-body p {
    max-height: 0;
    margin: 0;
    color: var(--ocf-body-alt);
    font-size: var(--font-label-size);
    line-height: 1.55;
    opacity: 0;
    overflow: hidden;
    transform: translateY(0.65rem);
    transition: max-height 360ms var(--ease), opacity 260ms var(--ease), transform 320ms var(--ease);
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card-cta {
    display: none;
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:hover .ocf-svc-card-body h3,
:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:focus-visible .ocf-svc-card-body h3 {
    transform: translateY(-0.15rem);
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:hover::before,
:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:focus-visible::before {
    opacity: 1;
}

:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:hover .ocf-svc-card-body p,
:is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:focus-visible .ocf-svc-card-body p {
    max-height: 6rem;
    opacity: 1;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    :is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:hover {
        box-shadow: var(--card-shadow-hover);
        transform: none;
    }

    :is(.ocf-services .ocf-svc-track, .ocf-services-archive-grid-section .ocf-svc-grid) .ocf-svc-card:hover .ocf-svc-card-img img {
        filter: saturate(1.04) contrast(1.03);
        transform: scale(1.06);
    }
}

/* Archive surfaces: white section with contrast utility cards. */
.ocf-services-archive-grid-section,
.post-type-archive-service_area .page-section--alt {
    background: var(--ocf-bg);
}

.ocf-services-help-card,
.ocf-service-areas-archive__contact,
.ocf-service-area-row,
.ocf-service-area-row:hover,
.ocf-service-area-row:focus-visible {
    background: var(--ocf-bg-alt);
}
/* About */
.ocf-about {
    background: var(--ocf-bg);
}

.ocf-about__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.ocf-about__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    align-self: center;
    border-color: var(--ocf-border-light);
}

.ocf-about__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}

.ocf-about__copy {
    align-content: center;
    padding-block: clamp(1rem, 3vw, 3rem);
}

.ocf-about__body {
    max-width: 48rem;
    font-size: 1rem;
}

.ocf-about__body ul {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    max-width: 28rem;
    margin-top: 0.75rem;
}

.ocf-about__body li {
    min-height: 0;
    padding-left: 1.5rem;
}

.ocf-about__body li::before {
    top: 0.45rem;
    width: 0.72rem;
    height: 0.38rem;
    border: 0;
    border-left: 0.12rem solid var(--about-check-color);
    border-bottom: 0.12rem solid var(--about-check-color);
    border-radius: 0;
    background: transparent;
    transform: rotate(-45deg);
}

.ocf-about__body li::after {
    content: none;
}

/* What Makes Us Different */
.ocf-difference {
    background: var(--ocf-bg);
    overflow: hidden;
}

.ocf-difference__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.ocf-difference__copy {
    display: grid;
    gap: 1rem;
    align-content: center;
    padding-block: clamp(1rem, 3vw, 3rem);
}

.ocf-difference__eyebrow {
    display: inline-flex;
    margin: 0 0 0.75rem;
    color: var(--ocf-heading);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.ocf-difference__headline {
    margin: 0;
    color: var(--ocf-heading);
}

.ocf-difference__body {
    display: grid;
    gap: 1rem;
    max-width: 48rem;
    color: var(--ocf-body);
    font-size: 1rem;
}

.ocf-difference__body > * {
    margin: 0;
}

.ocf-difference__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border: var(--card-border-width) solid var(--card-border-color);
    border-radius: var(--image-radius);
    background: var(--ocf-bg);
    box-shadow: var(--image-shadow);
    overflow: hidden;
}

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

/* Commitments */
.ocf-commitments {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ocf-primary) 5%, var(--ocf-bg-alt)) 0%,
        color-mix(in srgb, var(--ocf-secondary) 3%, var(--ocf-bg-alt)) 100%);
}

.ocf-commitments-grid {
    grid-template-columns: 1fr;
}

.ocf-commitments-image-wrap {
    display: none;
}

.ocf-commitments-content {
    gap: clamp(2rem, 4vw, 3rem);
}

.ocf-commitments-content > .reveal:first-child {
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
}

.ocf-commitments-content > .reveal:first-child .eyebrow {
    justify-content: center;
}

.ocf-commitments-description {
    margin-inline: auto;
}

.ocf-commitments .ocf-commitments-list {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.ocf-commitments .ocf-commitments-list::before {
    position: absolute;
    top: 1.5rem;
    right: 10%;
    left: 10%;
    height: 1px;
    background: var(--ocf-border);
    content: '';
}

.ocf-commitments .ocf-commitment {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.9rem;
    padding: 0;
    text-align: center;
}

.ocf-commitments .ocf-commitment + .ocf-commitment {
    border-top: 0;
}

.ocf-commitments .ocf-commitment:not(:last-child)::before,
.ocf-commitments .ocf-commitment:not(:last-child)::after {
    content: none;
}

.ocf-commitments .ocf-commitment-num {
    inline-size: 3rem;
    block-size: 3rem;
    color: var(--ocf-primary-contrast);
    font-size: 1rem;
}

.ocf-commitments .ocf-commitment h3 {
    margin-bottom: 0.4rem;
}

.ocf-commitments .ocf-commitment p {
    max-width: 28ch;
    font-size: 0.95rem;
}

/* Testimonials */
.ocf-testimonials {
    background: var(--ocf-bg-alt);
}

.ocf-testimonials .ocf-testimonials-heading .heading-2,
.ocf-testimonials .ocf-testimonials-header-rating,
.ocf-testimonials .ocf-testimonials-header-rating__value span:first-child {
    color: var(--ocf-heading);
}

.ocf-testimonials .ocf-testimonials-header-rating__value span:last-child {
    color: var(--ocf-primary);
}

.ocf-testimonials .ocf-testimonials-header-rating p {
    color: var(--ocf-label);
}

.ocf-testimonials .ocf-testimonials-header-rating {
    display: none;
}

.ocf-testimonials .ocf-testimonials-review-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: var(--ocf-heading);
    font-size: var(--font-label-size);
    line-height: 1.2;
}

.ocf-testimonials .ocf-testimonials-review-summary img {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0;
    box-shadow: none;
}

.ocf-testimonials .ocf-testimonials-review-summary strong {
    margin-right: 0.4rem;
}

.ocf-testimonials .ocf-testimonials-review-summary .ocf-testimonial-stars {
    display: inline-flex;
    gap: 0.1rem;
    width: auto;
}

.ocf-testimonials .ocf-testimonials-review-summary .ocf-testimonial-stars svg {
    width: 1rem;
    height: 1rem;
}

.ocf-testimonials .ocf-testimonials-review-summary__rating,
.ocf-testimonials .ocf-testimonials-review-summary__count {
    color: var(--ocf-body);
}

.ocf-testimonials .ocf-testimonials-review-summary__count {
    margin-left: 0.4rem;
}

.ocf-testimonials .ocf-testimonial-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

body.home #testimonials.ocf-testimonials .ocf-testimonial-track > .ocf-testimonial-card {
    border-radius: 20px;
}

.ocf-testimonials .ocf-testimonial-stars {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    color: #FBBF24;
}

.ocf-testimonials .testimonial-quote-mark {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--ocf-border-light);
}

.ocf-testimonials .testimonial-quote-mark svg {
    max-width: 1.25rem;
    max-height: 1.25rem;
}

.ocf-testimonials .ocf-testimonial-card blockquote {
    grid-row: 2;
    grid-column: 1 / -1;
}

.ocf-testimonials .ocf-testimonial-footer {
    grid-row: 3;
    grid-column: 1 / -1;
    border-top: 1px solid var(--card-border-color);
    padding-top: clamp(1rem, 2vw, 1.25rem);
}

/* Gallery */
.ocf-gallery-viewport {
    padding-inline: 1rem;
    padding-bottom: 1.25rem;
    margin-inline: -1rem;
    margin-bottom: -1.25rem;
}

.ocf-about__media,
.ocf-difference__media,
.ocf-content__media,
.ocf-commitments-image,
.ocf-gallery-card,
.ocf-gallery__item {
    border-radius: var(--image-radius);
    box-shadow: var(--image-shadow);
}

body.home #about.ocf-about .ocf-about__media,
body.home #difference.ocf-difference .ocf-difference__media,
body.home #areas.ocf-service-areas .ocf-service-areas__map {
    border-radius: 20px;
}

/* FAQ */
.ocf-faq {
    background: var(--ocf-bg);
}

.ocf-faq .ocf-faq-header {
    max-width: 48rem;
    margin-inline: auto;
    text-align: center;
}

.ocf-faq .ocf-faq-header .eyebrow {
    justify-content: center;
}

.ocf-faq .ocf-faq-columns {
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.ocf-faq .ocf-faq-column {
    gap: 0.75rem;
}

.ocf-faq .ocf-faq-item {
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius);
    background: var(--ocf-bg-alt);
    overflow: hidden;
}

.ocf-faq .ocf-faq-column .ocf-faq-item:first-child {
    border-top: 1px solid var(--ocf-border-light);
}

.ocf-faq .ocf-faq-trigger {
    min-height: 4.25rem;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.ocf-faq .ocf-faq-icon {
    color: var(--ocf-primary);
}

.ocf-faq .ocf-faq-answer {
    padding: 0 1.25rem 1.25rem;
}

.ocf-faq .ocf-faq-item.is-open {
    background: var(--ocf-bg-alt);
}

/* Contact icons */
.ocf-contact-icon {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ocf-heading);
}

.ocf-contact-hours-label svg {
    color: var(--ocf-heading);
}

.ocf-contact-hours {
    width: 100%;
    max-width: none;
    margin-top: 1.5rem;
    border: 0;
    border-top: 1px solid var(--ocf-border-light);
    border-radius: 0;
    background: transparent;
    padding: 1.5rem 0 0;
}

.ocf-contact-hours-label {
    margin-bottom: 1.25rem;
    font-weight: var(--font-weight-bold);
}

.ocf-contact-hours .ocf-hours-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.ocf-contact-hours .ocf-hours-list li {
    display: grid;
    justify-content: initial;
    gap: 0.4rem;
    border-top: 0;
    padding: 0;
}

.ocf-contact-hours .ocf-hours-list li > span:last-child {
    color: var(--ocf-body);
    font-size: var(--font-body-size);
    font-weight: var(--font-weight-normal);
}

.ocf-contact__form .hero-form-card,
.ocf-contact__form .ocf-form-shell {
    border: var(--card-border-width) solid var(--card-border-color-subtle);
    border-radius: var(--card-radius);
    background: var(--ocf-bg);
    box-shadow: var(--card-shadow);
}

.ocf-contact__form .hero-form-card input,
.ocf-contact__form .hero-form-card textarea,
.ocf-contact__form .hero-form-card select,
.ocf-contact__form .ocf-form-shell input,
.ocf-contact__form .ocf-form-shell textarea,
.ocf-contact__form .ocf-form-shell select {
    background: var(--ocf-bg-alt);
}

/* CTA */
.ocf-cta {
    --cta-eyebrow-color: var(--ocf-heading-alt);
    --cta-headline-color: var(--ocf-heading-alt);
    --cta-body-color: var(--ocf-body-alt);
    --cta-panel-color: var(--ocf-body-alt);
    display: grid;
    min-height: clamp(21rem, 32vw, 26rem);
    align-items: center;
    padding-block: 0;
    background: var(--ocf-bg-dark);
}

.ocf-cta > .ocf-cta__image,
.ocf-cta > .ocf-cta__shade {
    display: block;
}

.ocf-cta > .ocf-cta__image {
    object-position: center;
    opacity: 1;
    filter: saturate(0.82) contrast(0.96);
}

.ocf-cta > .ocf-cta__shade {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--pacific-gradient-ink) 89%, transparent) 0%,
        color-mix(in srgb, var(--ocf-primary) 76%, transparent) 100%);
    opacity: 1;
}

.ocf-cta .ocf-cta__panel {
    min-height: 0;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ocf-body-alt);
    overflow: visible;
}

.ocf-cta .ocf-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    text-align: center;
}

.ocf-cta .ocf-cta__copy {
    max-width: 60rem;
}

.ocf-cta .ocf-cta__eyebrow {
    display: inline-flex;
    margin-bottom: 1.15rem;
    color: var(--ocf-heading-alt);
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.ocf-cta .ocf-cta__headline {
    color: var(--ocf-heading-alt);
    line-height: 1.1;
}

.ocf-cta .ocf-cta__body {
    max-width: 62ch;
    margin: 1rem auto 0;
    color: var(--ocf-body-alt);
    font-size: 1rem;
    line-height: 1.7;
}

.ocf-cta .ocf-cta__actions {
    justify-content: center;
    gap: 1rem;
}

.ocf-cta .btn-primary {
    min-height: 4.25rem;
    padding-inline: clamp(1.75rem, 4vw, 2.5rem);
    background: var(--ocf-primary);
    color: var(--ocf-primary-contrast);
}

.ocf-cta .btn-primary:hover {
    background: color-mix(in srgb, var(--ocf-primary) 86%, var(--ocf-heading));
    color: var(--ocf-primary-contrast);
}

.btn-primary,
.nav-cta,
.ocf-hero__actions .btn-primary,
.ocf-cta .btn-primary {
    border: 1px solid color-mix(in srgb, var(--ocf-secondary) 52%, var(--ocf-primary));
    background: linear-gradient(135deg, var(--ocf-primary) 0%, color-mix(in srgb, var(--ocf-primary) 82%, var(--ocf-bg-dark)) 100%);
    box-shadow: var(--button-shadow);
}

.btn-primary:hover,
.nav-cta:hover,
.ocf-hero__actions .btn-primary:hover,
.ocf-cta .btn-primary:hover {
    border-color: color-mix(in srgb, var(--ocf-secondary) 72%, var(--ocf-primary));
    background: linear-gradient(135deg, color-mix(in srgb, var(--ocf-primary) 88%, var(--ocf-heading)) 0%, var(--ocf-primary-hover) 100%);
    box-shadow: var(--button-shadow-hover);
    transform: translateY(-2px);
}

.ocf-cta .ocf-cta__phone {
    display: none;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * var(--pacific-shell-radius));
    border-top-color: color-mix(in srgb, var(--ocf-heading-alt) 14%, transparent);
    border-radius: var(--pacific-shell-radius) var(--pacific-shell-radius) 0 0;
    background: color-mix(in srgb, var(--ocf-primary) 30%, var(--ocf-bg-dark));
    box-shadow: 0 -6px 8px rgb(0 0 0 / 12%);
    color: color-mix(in srgb, var(--ocf-body-alt) 82%, transparent);
    overflow: hidden;
}

.site-footer .footer-brand-name,
.site-footer .footer-heading {
    color: var(--ocf-heading-alt);
}

.site-footer a,
.site-footer .footer-address,
.site-footer .footer-bottom {
    color: color-mix(in srgb, var(--ocf-body-alt) 82%, transparent);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--ocf-primary);
}

.site-footer .footer-social-link {
    border-color: color-mix(in srgb, var(--ocf-heading-alt) 22%, transparent);
    background: color-mix(in srgb, var(--ocf-heading-alt) 7%, transparent);
    color: var(--ocf-heading-alt);
}

.site-footer .footer-social-link:hover,
.site-footer .footer-social-link:focus-visible {
    border-color: var(--ocf-primary);
    background: color-mix(in srgb, var(--ocf-primary) 16%, transparent);
    color: var(--ocf-primary);
}

.site-footer .footer-bottom {
    border-top-color: color-mix(in srgb, var(--ocf-heading-alt) 14%, transparent);
}

.ocf-cta .ocf-cta__phone > svg,
.ocf-cta .ocf-cta__phone-text > span {
    display: none;
}

.ocf-cta .ocf-cta__phone strong {
    color: var(--ocf-heading-alt);
}

@media (min-width: 1200px) {
    .nav-links,
    .nav-link,
    .nav-dropdown-trigger,
    .nav-phone,
    .nav-phone span,
    .nav-cta {
        font-size: 1.0625rem;
    }

    .nav-phone svg {
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 980px) {
    :root {
        --nav-height: var(--ocf-nav-height-mobile, 4.5rem);
    }

    .nav-logo {
        max-width: min(18rem, 70vw);
    }

    .nav-logo-img {
        max-height: 3.25rem;
    }
}

@media (max-width: 900px) {
    .ocf-hero {
        min-height: clamp(35rem, 132vw, 45rem);
    }

    .ocf-hero__media {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .ocf-hero__shade {
        display: block;
        background: var(--pacific-hero-gradient-mobile);
    }

    .ocf-hero__grid,
    .ocf-hero .ocf-hero__grid {
        grid-template-columns: 1fr;
        min-height: inherit;
        padding-block: clamp(3.75rem, 13vw, 5.75rem);
    }

    .ocf-hero__content {
        width: 100%;
        max-width: 42rem;
    }

    .ocf-hero__eyebrow {
        margin: 0;
    }

    .ocf-hero__intro {
        margin-top: 1.5rem;
    }

    .ocf-hero__actions {
        margin-top: 1.9rem;
    }

    .ocf-hero__rating {
        margin: 0;
    }

    .ocf-hero__headline {
        margin-top: 1.2rem;
    }
}

@media (max-width: 860px) {
    .ocf-about__grid {
        grid-template-columns: 1fr;
    }

    .ocf-about__media img {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .ocf-difference__grid {
        grid-template-columns: 1fr;
    }

    .ocf-commitments .ocf-commitments-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ocf-commitments .ocf-commitments-list::before {
        content: none;
    }

    .ocf-commitments .ocf-commitment {
        grid-template-columns: auto 1fr;
        justify-items: start;
        padding: 1.25rem 0;
        text-align: left;
    }

    .ocf-commitments .ocf-commitment + .ocf-commitment {
        border-top: 1px solid var(--ocf-border-light);
    }

    .ocf-commitments .ocf-commitment p {
        max-width: none;
    }

    .ocf-faq .ocf-faq-columns {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .ocf-faq .ocf-faq-column + .ocf-faq-column .ocf-faq-item:first-child {
        border-top: 1px solid var(--ocf-border-light);
    }
}

@media (max-width: 760px) {
    .ocf-cta .ocf-cta__inner {
        grid-template-columns: 1fr;
        padding-block: clamp(2.75rem, 12vw, 4rem);
    }

    .ocf-cta .ocf-cta__actions {
        width: 100%;
        justify-content: center;
        justify-self: stretch;
        margin-inline: auto;
    }

    .ocf-cta .btn-primary {
        width: min(100%, 20rem);
        margin-inline: auto;
    }
}

@media (max-width: 620px) {
    .ocf-hero__actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .ocf-hero__actions .btn-primary,
    .ocf-hero__phone {
        width: 100%;
        justify-content: center;
    }

    .ocf-hero__checks,
    .ocf-about__body ul {
        grid-template-columns: 1fr;
    }

    .ocf-contact-hours .ocf-hours-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ocf-hero__scroll-cue {
        animation: none;
    }
}

/* OCF_AGENT_BLOCK:western-district-branded-hero START */
/* Western District Carpet & Tiles branded homepage hero */
#hero.ocf-hero--brand {
    --hero-gold: #FFD43B;
    --hero-green: var(--ocf-secondary, #2CC46C);
    min-height: min(820px, calc(100svh - var(--nav-height)));
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 20%, rgba(84, 184, 255, 0.24), transparent 32%),
        linear-gradient(135deg, var(--ocf-heading) 0%, var(--ocf-primary) 58%, #0879C7 100%);
    color: #fff;
}

#hero.ocf-hero--brand::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(110deg, rgba(3, 31, 84, 0.32), transparent 58%);
    content: '';
}

#hero.ocf-hero--brand .ocf-hero__grid,
#hero.ocf-hero--brand.ocf-hero .ocf-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
    min-height: inherit;
    padding-block: clamp(4.5rem, 9vw, 7rem);
}

#hero.ocf-hero--brand .ocf-hero__content {
    display: flex;
    max-width: 720px;
    flex-direction: column;
    align-items: flex-start;
}

#hero.ocf-hero--brand .ocf-hero__eyebrow {
    display: inline-flex;
    order: -1;
    align-items: center;
    gap: 0.6rem;
    width: auto;
    margin: 0 0 1.25rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: var(--font-label-size);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    backdrop-filter: blur(8px);
}

#hero.ocf-hero--brand .ocf-hero__eyebrow-dot {
    width: 0.55rem;
    height: 0.55rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--hero-green);
    box-shadow: 0 0 0 0.25rem rgba(44, 196, 108, 0.18);
}

#hero.ocf-hero--brand .ocf-hero__headline {
    display: block;
    order: initial;
    margin: 0;
    color: #fff;
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: clamp(3.25rem, 5.3vw, 4.75rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.045em;
}

#hero.ocf-hero--brand .ocf-hero__brand-line {
    display: block;
    white-space: nowrap;
}

#hero.ocf-hero--brand .ocf-hero__brand-line--white {
    color: #fff;
}

#hero.ocf-hero--brand .ocf-hero__brand-line--gold {
    margin-top: 0.12em;
    color: var(--hero-gold);
}

#hero.ocf-hero--brand .ocf-hero__service-heading {
    margin: 1.5rem 0 0;
    color: #fff;
    font-family: var(--ocf-font-heading), system-ui, sans-serif !important;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
}

#hero.ocf-hero--brand .ocf-hero__intro {
    order: initial;
    max-width: 59ch;
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--font-body-size);
    font-weight: 500;
    line-height: 1.65;
}

#hero.ocf-hero--brand .ocf-hero__actions {
    order: initial;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: auto;
    margin-top: 2rem;
}

#hero.ocf-hero--brand .ocf-hero__primary-cta,
#hero.ocf-hero--brand .ocf-hero__primary-cta:hover {
    min-height: 3.6rem;
    padding: 0.9rem 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: var(--hero-green);
    box-shadow: 0 0.7rem 1.6rem rgba(0, 52, 38, 0.2);
    color: #073C24;
}

#hero.ocf-hero--brand .ocf-hero__primary-cta:hover {
    background: #45D67F;
    transform: translateY(-2px);
}

#hero.ocf-hero--brand .ocf-hero__services-cta,
#hero.ocf-hero--brand .ocf-hero__services-cta:hover {
    min-height: 3.6rem;
    padding: 0.9rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: #fff;
    backdrop-filter: blur(8px);
}

#hero.ocf-hero--brand .ocf-hero__services-cta:hover {
    background: rgba(255, 255, 255, 0.17);
    border-color: #fff;
    transform: translateY(-2px);
}

#hero.ocf-hero--brand .ocf-hero__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.15rem;
    max-width: 680px;
    margin: 1.5rem 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.9rem;
    font-weight: 600;
    list-style: none;
}

#hero.ocf-hero--brand .ocf-hero__checks li {
    display: flex;
    align-items: center;
    gap: 0.48rem;
}

#hero.ocf-hero--brand .ocf-hero__check-icon {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: var(--hero-gold);
    box-shadow: none;
}

#hero.ocf-hero--brand .ocf-hero__check-icon svg {
    width: 0.75rem !important;
    height: 0.75rem !important;
}

#hero.ocf-hero--brand .ocf-hero__checks li > span:not(.ocf-hero__check-icon) {
    color: inherit;
}

#hero.ocf-hero--brand .ocf-hero__logo-stage {
    display: grid;
    width: 100%;
    align-self: center;
    justify-items: center;
}

#hero.ocf-hero--brand .ocf-hero__logo-card {
    position: relative;
    width: min(100%, 500px);
    padding: clamp(2rem, 5vw, 3.25rem);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: clamp(24px, 3vw, 32px);
    background: #fff;
    box-shadow: 0 2rem 4.5rem rgba(0, 25, 73, 0.28), 0 0.7rem 1.6rem rgba(0, 25, 73, 0.12);
    transform: rotate(1.2deg);
}

#hero.ocf-hero--brand .ocf-hero__logo-card::before {
    position: absolute;
    inset: 0.75rem;
    border: 1px solid rgba(0, 81, 155, 0.08);
    border-radius: calc(clamp(24px, 3vw, 32px) - 8px);
    content: '';
    pointer-events: none;
}

#hero.ocf-hero--brand .ocf-hero__brand-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    max-height: 330px;
    margin: auto;
    object-fit: contain;
}

#hero.ocf-hero--brand .ocf-hero__logo-fallback {
    display: block;
    color: var(--ocf-heading);
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: 2rem;
    text-align: center;
}

#hero.ocf-hero--brand .ocf-hero__bubble-field {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

#hero.ocf-hero--brand .ocf-hero__bubble {
    position: absolute;
    display: block;
    width: var(--bubble-size);
    height: var(--bubble-size);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.34), rgba(99, 194, 255, 0.08) 58%, rgba(0, 61, 142, 0.05));
    box-shadow: inset 0 0 1.4rem rgba(255, 255, 255, 0.08);
    opacity: 0.68;
    animation: ocf-hero-bubble-float var(--bubble-duration, 9s) ease-in-out infinite alternate;
}

#hero.ocf-hero--brand .bubble-1 { --bubble-size: 92px; --bubble-duration: 10s; top: 9%; left: 4%; }
#hero.ocf-hero--brand .bubble-2 { --bubble-size: 34px; --bubble-duration: 7s; top: 19%; left: 45%; animation-delay: -2s; }
#hero.ocf-hero--brand .bubble-3 { --bubble-size: 68px; --bubble-duration: 11s; top: 7%; right: 5%; animation-delay: -5s; }
#hero.ocf-hero--brand .bubble-4 { --bubble-size: 24px; --bubble-duration: 8s; top: 52%; left: 49%; animation-delay: -3s; }
#hero.ocf-hero--brand .bubble-5 { --bubble-size: 130px; --bubble-duration: 13s; bottom: -3%; left: 33%; opacity: 0.35; }
#hero.ocf-hero--brand .bubble-6 { --bubble-size: 52px; --bubble-duration: 9s; bottom: 18%; right: 3%; animation-delay: -4s; }
#hero.ocf-hero--brand .bubble-7 { --bubble-size: 20px; --bubble-duration: 6s; top: 38%; right: 37%; animation-delay: -1s; }
#hero.ocf-hero--brand .bubble-8 { --bubble-size: 44px; --bubble-duration: 10s; bottom: 8%; left: 7%; animation-delay: -6s; }
#hero.ocf-hero--brand .bubble-9 { --bubble-size: 76px; --bubble-duration: 12s; top: 65%; right: 25%; opacity: 0.38; }

@keyframes ocf-hero-bubble-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(0, -14px, 0) scale(1.035); }
}

@media (max-width: 900px) {
    #hero.ocf-hero--brand {
        min-height: auto;
    }

    #hero.ocf-hero--brand .ocf-hero__grid,
    #hero.ocf-hero--brand.ocf-hero .ocf-hero__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-block: clamp(3.5rem, 11vw, 5rem);
    }

    #hero.ocf-hero--brand .ocf-hero__content {
        max-width: 680px;
    }

    #hero.ocf-hero--brand .ocf-hero__headline {
        margin-top: 0;
        font-size: clamp(3rem, 10vw, 5rem);
    }

    #hero.ocf-hero--brand .ocf-hero__logo-card {
        width: min(100%, 520px);
        transform: none;
    }
}

@media (max-width: 620px) {
    #hero.ocf-hero--brand .ocf-hero__brand-line {
        white-space: normal;
    }

    #hero.ocf-hero--brand .ocf-hero__grid,
    #hero.ocf-hero--brand.ocf-hero .ocf-hero__grid {
        gap: 2.5rem;
        padding-block: 3.25rem 3.75rem;
    }

    #hero.ocf-hero--brand .ocf-hero__eyebrow {
        font-size: 0.83rem;
    }

    #hero.ocf-hero--brand .ocf-hero__headline {
        font-size: clamp(2.75rem, 14vw, 4rem);
        line-height: 0.98;
    }

    #hero.ocf-hero--brand .ocf-hero__service-heading {
        font-size: 1.18rem;
    }

    #hero.ocf-hero--brand .ocf-hero__intro {
        font-size: 1rem;
    }

    #hero.ocf-hero--brand .ocf-hero__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    #hero.ocf-hero--brand .ocf-hero__primary-cta,
    #hero.ocf-hero--brand .ocf-hero__services-cta {
        width: 100%;
        justify-content: center;
    }

    #hero.ocf-hero--brand .ocf-hero__checks {
        display: grid;
        gap: 0.75rem;
    }

    #hero.ocf-hero--brand .ocf-hero__logo-card {
        padding: 1.75rem;
        border-radius: 24px;
    }

    #hero.ocf-hero--brand .bubble-1,
    #hero.ocf-hero--brand .bubble-3,
    #hero.ocf-hero--brand .bubble-5 {
        opacity: 0.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero.ocf-hero--brand .ocf-hero__bubble {
        animation: none;
    }
}

/* Homepage hero palette aligned with the established Western District brand. */
body.home #hero.ocf-hero--brand {
    background: linear-gradient(
        135deg,
        rgb(13, 43, 110) 0%,
        rgb(21, 101, 192) 50%,
        rgb(30, 144, 255) 100%
    );
}

body.home #hero.ocf-hero--brand::before {
    background: none;
}

body.home #hero.ocf-hero--brand .ocf-hero__eyebrow {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
    color: rgb(255, 215, 0);
}

body.home #hero.ocf-hero--brand .ocf-hero__eyebrow-dot {
    background: rgb(255, 215, 0);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.18);
}

body.home #hero.ocf-hero--brand .ocf-hero__service-heading {
    color: rgb(125, 211, 252);
}

:where(body.home) #hero.ocf-hero--brand .ocf-hero__primary-cta,
:where(body.home) #hero.ocf-hero--brand .ocf-hero__primary-cta:hover {
    border: 0;
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.5);
    color: rgb(255, 255, 255);
    font-weight: 900;
}

:where(body.home) #hero.ocf-hero--brand .ocf-hero__primary-cta:not(:hover) {
    background: linear-gradient(135deg, rgb(39, 174, 96), rgb(46, 204, 113));
}

:where(body.home) #hero.ocf-hero--brand .ocf-hero__services-cta,
:where(body.home) #hero.ocf-hero--brand .ocf-hero__services-cta:hover {
    border-width: 2px;
    color: rgb(255, 255, 255);
    font-weight: 700;
}

:where(body.home) #hero.ocf-hero--brand .ocf-hero__services-cta:not(:hover) {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}
/* OCF_AGENT_BLOCK:western-district-branded-hero END */

/* Header phone CTA aligned with the established Western District brand. */
#main-nav .nav-phone,
#main-nav .mobile-phone {
    gap: 4px;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgb(39, 174, 96), rgb(46, 204, 113));
    color: #fff;
    font-family: Nunito, sans-serif;
    font-weight: 700;
}

#main-nav .nav-phone {
    padding: 8px 20px;
    font-size: 14px;
    line-height: 20px;
    box-shadow: rgba(39, 174, 96, 0.4) 0 4px 15px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-nav .nav-phone:hover {
    transform: scale(1.05);
}

#main-nav .nav-phone svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

#main-nav .mobile-phone {
    padding: 12px 20px;
    font-size: 16px;
    line-height: 24px;
    box-shadow: none;
}

#main-nav .mobile-phone svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

#main-nav .nav-cta,
#main-nav .mobile-cta,
#main-nav .nav-divider {
    display: none;
}

/* OCF_AGENT_BLOCK:cta-match-hero-primary-button START */
.ocf-cta .ocf-cta__primary-cta,
.ocf-cta .ocf-cta__primary-cta:hover {
    min-height: 3.6rem;
    padding: 0.9rem 1.45rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(39, 174, 96), rgb(46, 204, 113));
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.5);
    color: rgb(255, 255, 255);
    font-weight: 900;
    gap: 0.6rem;
}

.ocf-cta .ocf-cta__primary-cta:hover {
    background: #45D67F;
    transform: translateY(-2px);
}

.ocf-cta .ocf-cta__phone-icon {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
}
/* OCF_AGENT_BLOCK:cta-match-hero-primary-button END */
