.client-portal-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(32rem, 72vh, 44rem);
  padding: var(--site-content-top-padding) 0 72px;
  background: radial-gradient(circle at 50% -20%, rgba(90, 170, 237, 0.18) 0%, transparent 55%),
    #0a1118;
  color: #fff;
  overflow: clip;
  isolation: isolate;
}

.client-portal-hero__visuals {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.client-portal-hero__bg {
  position: absolute;
  inset: 0;
}

.client-portal-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.client-portal-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 17, 24, 0.72) 0%,
    rgba(10, 17, 24, 0.82) 45%,
    rgba(10, 17, 24, 0.92) 100%
  );
}

.client-portal-hero__container {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - (var(--gilliam-law-page-gutter) * 2)));
  margin: 0 auto;
}

.client-portal-hero__breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 40px);
  font-family: var(--gilliam-law-font-sans, "Proxima Nova", sans-serif);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-portal-hero__breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.client-portal-hero__breadcrumb-link:hover {
  color: #5aaaed;
}

.client-portal-hero__breadcrumb-sep::before {
  content: "/";
  color: rgba(255, 255, 255, 0.35);
}

.client-portal-hero__breadcrumb-current {
  color: #fff;
}

.client-portal-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.client-portal-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(90, 170, 237, 0.25);
  border-radius: 100px;
  background: rgba(90, 170, 237, 0.1);
}

.client-portal-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5aaaed;
}

.client-portal-hero__badge-text {
  color: #5aaaed;
  font-family: var(--gilliam-law-font-sans, "Proxima Nova", sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.client-portal-hero__title {
  margin: 0 0 20px;
  max-width: min(100%, 22em);
  font-family: var(--gilliam-law-font-serif, "Novantique Serif", serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  text-transform: uppercase;
}

.client-portal-hero__title-highlight {
  display: block;
  color: #5aaaed;
}

.client-portal-hero__body {
  margin: 0 0 28px;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--gilliam-law-font-sans, "Proxima Nova", sans-serif);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.client-portal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 14px 18px;
  width: 100%;
}

.client-portal-hero__portal-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.client-portal-hero__secure-note {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--gilliam-law-font-sans, "Proxima Nova", sans-serif);
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
}

.client-portal-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 8px;
  font-family: var(--gilliam-law-font-sans, "Proxima Nova", sans-serif);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.client-portal-hero__button--primary {
  background: #fba346;
  color: #0c1b2a;
}

.client-portal-hero__button--primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.client-portal-hero__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.client-portal-hero__button--secondary:hover {
  border-color: #5aaaed;
  color: #5aaaed;
}

.client-portal-hero__lock-icon {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .client-portal-hero {
    min-height: clamp(28rem, 85vh, 36rem);
    padding-bottom: 56px;
  }

  .client-portal-hero__title {
    max-width: none;
  }

  .client-portal-hero__button {
    width: 100%;
    justify-content: center;
  }

  .client-portal-hero__portal-group {
    width: 100%;
  }
}
