.ocf-hero {
    --hero-heading-size: var(--font-h1-size);
    --hero-heading-color: var(--ocf-heading-alt);
    --hero-intro-size: var(--font-h3-size);
    --hero-intro-color: var(--ocf-body-alt);
    --hero-rating-color: var(--ocf-heading-alt);
    --hero-check-color: var(--ocf-primary);
    --hero-check-mark-color: var(--ocf-primary-contrast, var(--ocf-bg));
    --hero-gradient: var(--gradient-media-dark);
    --hero-overlay-opacity: max(0.88, var(--media-overlay-opacity));
    position: relative;
    min-height: min(900px, calc(100vh - 4.5rem));
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--ocf-bg);
}

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

.ocf-hero__media {
    opacity: 1;
}

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

.ocf-hero__shade {
    background: var(--section-gradient, var(--hero-gradient));
    opacity: var(--section-overlay-opacity, var(--hero-overlay-opacity));
}

.ocf-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 520px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding-block: var(--section-pad);
}

.ocf-hero--split-form .ocf-hero__grid,
.ocf-hero--centered-band .ocf-hero__grid {
    padding-block: clamp(6rem, 12vh, 8.5rem) clamp(5.5rem, 10vh, 7.5rem);
}

.ocf-hero__content { max-width: 720px; }
.ocf-hero__rating { color: var(--hero-rating-color); }
.ocf-hero__headline {
    margin: 0;
    color: var(--field-color, var(--hero-heading-color));
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--field-font-size, var(--hero-heading-size));
    font-weight: var(--field-font-weight, var(--font-weight-bold));
    font-style: var(--field-font-style, normal);
    line-height: 1.08;
    letter-spacing: 0;
    text-decoration: var(--field-text-decoration, none);
}
.ocf-hero__intro { color: var(--field-color, var(--hero-intro-color)); }
.ocf-hero__rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-size: var(--font-label-size);
    line-height: 1;
}
.ocf-hero__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    color: #FBBF24;
    font-size: 1.18em;
    line-height: 1;
}
.ocf-hero__stars svg {
    display: block;
    width: 1em;
    height: 1em;
}
.ocf-hero__star {
    position: relative;
    display: block;
    width: 1em;
    height: 1em;
    color: inherit;
}
.ocf-hero__star-empty {
    opacity: .24;
}
.ocf-hero__star-fill {
    position: absolute;
    inset: 0;
    width: 1em;
    overflow: hidden;
    opacity: 1;
    clip-path: inset(0 calc(100% - var(--star-fill, 0%)) 0 0);
}
.ocf-hero__headline span { display: block; }
.ocf-hero__intro {
    max-width: 58ch;
    margin: 1.25rem 0 0;
    color: var(--field-color, var(--hero-intro-color));
    font-size: var(--field-font-size, var(--hero-intro-size));
}
.ocf-hero__checks {
    display: grid;
    gap: 0.7rem;
    max-width: 58ch;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--hero-intro-color);
    font-size: var(--font-body-size);
    font-weight: var(--ocf-font-body-weight, var(--font-weight-medium));
}
.ocf-hero__checks li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.ocf-hero__check-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    min-width: 1.45rem;
    max-width: 1.45rem;
    max-height: 1.45rem;
    border-radius: 50%;
    background: var(--hero-check-color);
    color: var(--hero-check-mark-color);
    box-shadow: 0 0.25rem 0.75rem color-mix(in srgb, var(--hero-check-color) 22%, transparent);
    overflow: hidden;
}
.ocf-hero__check-icon svg {
    display: block;
    width: 0.82rem !important;
    height: 0.82rem !important;
    max-width: 0.82rem;
    max-height: 0.82rem;
    flex: 0 0 auto;
}

.ocf-hero__checks li > span:not(.ocf-hero__check-icon) {
    color: var(--hero-intro-color);
}
.ocf-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.ocf-hero__form { width: 100%; align-self: start; margin-top: 0.25rem; }
.ocf-hero--split-no-form .ocf-hero__grid,
.ocf-hero--centered-band .ocf-hero__grid { grid-template-columns: minmax(0, 780px); }

.ocf-hero--centered-band .ocf-hero__grid {
    justify-content: center;
    text-align: center;
}

.ocf-hero--centered-band .ocf-hero__content,
.ocf-hero--centered-band .ocf-hero__intro,
.ocf-hero--centered-band .ocf-hero__checks {
    margin-inline: auto;
}

.ocf-hero--centered-band .ocf-hero__rating,
.ocf-hero--centered-band .ocf-hero__actions {
    justify-content: center;
}

.ocf-hero--centered-band .ocf-hero__checks li {
    justify-content: center;
}

.ocf-hero__rating--google {
    margin: 0 0 1rem;
    gap: 0.75rem;
    color: var(--ocf-heading);
}

.ocf-hero__google-icon {
    inline-size: 1.35rem;
    block-size: 1.35rem;
}

.ocf-hero__secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    color: var(--ocf-heading);
    border-bottom: 1px solid currentColor;
    font-size: var(--font-label-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
}

.ocf-hero[data-ocf-tone="light"] {
    --hero-heading-color: var(--ocf-heading);
    --hero-intro-color: var(--ocf-body);
    --hero-rating-color: var(--ocf-heading);
    background: var(--ocf-bg);
    color: var(--ocf-body);
}

@media (max-width: 900px) {
    .ocf-hero { min-height: auto; }
    .ocf-hero__grid { grid-template-columns: 1fr; }
    .ocf-hero--split-form .ocf-hero__grid,
    .ocf-hero--centered-band .ocf-hero__grid {
        padding-block: clamp(3.5rem, 10vw, 5rem);
    }

}

/* OCF_AGENT_BLOCK:reference-split-hero START */
.ocf-hero--split-no-form {
  --hero-heading-color: var(--ocf-heading-alt, #fff);
  --hero-intro-color: var(--ocf-body-alt, #fff);
  --hero-check-color: rgba(255,255,255,.14);
  --hero-check-mark-color: #fff;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: var(--ocf-body);
  color: #fff;
}
.ocf-hero--split-no-form .ocf-hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  height: clamp(620px, 85svh, 1080px);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--ocf-bg-dark);
}
.ocf-hero--split-no-form .ocf-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ocf-hero--split-no-form .ocf-hero__shade { display: none; }
.ocf-hero--split-no-form .ocf-hero__grid {
  display: block;
  padding-block: clamp(2rem, 3vw, 3rem);
}
.ocf-hero--split-no-form .ocf-hero__grid .ocf-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(2rem, 4vw, 4.5rem);
  row-gap: 1rem;
  width: 100%;
  max-width: none;
  min-width: 0;
  align-items: start;
}
.ocf-hero--split-no-form .ocf-hero__content .ocf-hero__headline {
  grid-column: 1;
  margin: 0;
  max-width: 40ch;
  color: var(--field-color, #fff);
  font-size: var(--field-font-size, clamp(27px, 2.5vw, 38px));
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.ocf-hero--split-no-form .ocf-hero__content .ocf-hero__intro {
  grid-column: 1;
  max-width: 85ch;
  margin: 0;
  color: var(--field-color, #fff);
  font-size: var(--field-font-size, 16px);
  line-height: 1.65;
}
.ocf-hero--split-no-form .ocf-hero__checks {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  max-width: none;
  margin: .25rem 0 0;
  font-size: 12px;
  line-height: 1.5;
}
.ocf-hero--split-no-form .ocf-hero__check-icon {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  box-shadow: none;
}
.ocf-hero--split-no-form .ocf-hero__actions {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}
.ocf-hero--split-no-form .ocf-hero__actions .btn-primary {
  min-height: 54px;
  padding: 1rem 1.6rem;
  background: var(--ocf-primary);
  border-color: var(--ocf-primary);
  color: var(--ocf-primary-contrast);
  box-shadow: none;
  white-space: nowrap;
}
.ocf-hero--split-no-form .ocf-hero__actions .btn-primary:hover {
  background: var(--ocf-primary-hover);
  border-color: var(--ocf-primary-hover);
  color: var(--ocf-primary-contrast);
}
.ocf-hero--split-no-form .ocf-hero__actions .btn-primary [data-ocf-field] { color: inherit; }
.ocf-hero--split-no-form .ocf-hero__secondary-link {
  gap: .5rem;
  border: 0;
  color: #fff;
  font-size: 14px;
}
.ocf-hero__secondary-link svg { width: 1rem; height: 1rem; }
.ocf-hero--split-no-form .ocf-hero__actions a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
@media (max-width: 900px) {
  .ocf-hero--split-no-form .ocf-hero__grid .ocf-hero__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .ocf-hero--split-no-form .ocf-hero__actions {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem 1.5rem;
    margin-top: .5rem;
  }
}
@media (max-width: 600px) {
  .ocf-hero--split-no-form .ocf-hero__media { height: clamp(400px, 65svh, 640px); }
  .ocf-hero--split-no-form .ocf-hero__grid { padding-block: 1.75rem 2rem; }
  .ocf-hero--split-no-form .ocf-hero__content .ocf-hero__headline { font-size: 27px; line-height: 1.2; }
  .ocf-hero--split-no-form .ocf-hero__checks { flex-direction: column; gap: .6rem; font-size: 12px; }
  .ocf-hero--split-no-form .ocf-hero__actions .btn-primary { min-height: 50px; }
}
/* OCF_AGENT_BLOCK:reference-split-hero END */

/* OCF_AGENT_BLOCK:hero-production-video START */
.ocf-hero .ocf-hero__video-wrap {
  position: absolute;
  inset: 0;
}
.ocf-hero .ocf-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  background: transparent;
}
.ocf-hero .ocf-hero__video[hidden] { display: none; }
.ocf-hero .ocf-hero__video:focus-visible {
  outline: 3px solid var(--ocf-secondary, #6FA8FF);
  outline-offset: -4px;
}
/* OCF_AGENT_BLOCK:hero-production-video END */

/* OCF_AGENT_BLOCK:hero-background-video-no-controls START */
.ocf-hero .ocf-hero__video::-webkit-media-controls,
.ocf-hero .ocf-hero__video::-webkit-media-controls-enclosure,
.ocf-hero .ocf-hero__video::-webkit-media-controls-panel,
.ocf-hero .ocf-hero__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
/* OCF_AGENT_BLOCK:hero-background-video-no-controls END */
