.hc-hero {
  --hc-hero-bg: #111827;
  --hc-hero-text: #ffffff;
  --hc-hero-muted: rgba(255, 255, 255, 0.84);
  --hc-hero-eyebrow: rgba(255, 255, 255, 0.82);
  --hc-hero-radius: 1.25rem;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  background: var(--hc-hero-bg);
  background-size: cover;
  background-position: center;
  color: var(--hc-hero-text);
}

.hc-hero *,
.hc-hero *::before,
.hc-hero *::after {
  box-sizing: border-box;
}

.hc-theme-light {
  --hc-hero-text: #111827;
  --hc-hero-muted: rgba(17, 24, 39, 0.78);
  --hc-hero-eyebrow: rgba(17, 24, 39, 0.78);
}

.hc-theme-dark {
  --hc-hero-text: #ffffff;
  --hc-hero-muted: rgba(255, 255, 255, 0.84);
  --hc-hero-eyebrow: rgba(255, 255, 255, 0.82);
}

.hc-hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hc-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hc-layout-left_bg .hc-hero-inner,
.hc-layout-center_bg .hc-hero-inner {
  grid-template-columns: 1fr;
}

.hc-layout-left_right_image .hc-hero-inner,
.hc-layout-right_left_image .hc-hero-inner,
.hc-layout-split_equal .hc-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.hc-layout-split_equal .hc-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hc-layout-center_bg .hc-hero-content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hc-text-left .hc-hero-content { text-align: left; }
.hc-text-center .hc-hero-content { text-align: center; margin-left: auto; margin-right: auto; }
.hc-text-right .hc-hero-content { text-align: right; margin-left: auto; }

.hc-hero-eyebrow {
  margin-bottom: 0.9rem;
  color: var(--hc-hero-eyebrow);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 800;
}

.hc-hero-headline {
  margin: 0;
  color: var(--hc-hero-text);
  font-size: clamp(2.55rem, 6.35vw, 4.4rem);
  line-height: 0.97;
  font-weight: 800;
  letter-spacing: -0.045em;
  letter-spacing: 0.005em;
}

.hc-hero-subheading {
  margin-top: 1.1rem;
  color: var(--hc-hero-muted);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
  font-weight: 500;
}

.hc-hero-additional {
  margin-top: 1.1rem;
  color: var(--hc-hero-muted);
  font-size: clamp(1.05rem, 1.33vw, 1.1rem);
  line-height: 1.55;
}

.hc-hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hc-text-center .hc-hero-actions,
.hc-layout-center_bg .hc-hero-actions {
  justify-content: center;
}

.hc-text-right .hc-hero-actions {
  justify-content: flex-end;
}

.hc-hero-media {
  position: relative;
  border-radius: var(--hc-hero-radius);
  overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.22);
  min-height: 320px;
  background: rgba(255, 255, 255, 0.08);
}

.hc-hero-media img,
.hc-hero-side-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hc-video-toggle {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #ffffff;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hc-video-toggle:hover,
.hc-video-toggle:focus {
  background: rgba(0, 0, 0, 0.74);
}

@media (max-width: 860px) {
  .hc-hero-inner,
  .hc-layout-left_right_image .hc-hero-inner,
  .hc-layout-right_left_image .hc-hero-inner,
  .hc-layout-split_equal .hc-hero-inner {
    grid-template-columns: 1fr;
  }

  .hc-layout-right_left_image .hc-hero-media {
    order: 2;
  }

  .hc-layout-right_left_image .hc-hero-content {
    order: 1;
  }

  .hc-hero-inner {
    padding: clamp(3rem, 12vw, 5rem) 0;
  }

  .hc-hero-media,
  .hc-hero-media img,
  .hc-hero-side-video {
    min-height: 240px;
  }
}
