.branded-hero {
  min-height: 310px;
  padding: 0;
  background: linear-gradient(135deg, #081c48 0%, #173d91 58%, #2f6df6 100%);
}
.hero-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 19, 52, .93) 0%, rgba(10, 35, 83, .83) 42%, rgba(31, 76, 169, .48) 72%, rgba(47, 109, 246, .20) 100%),
    linear-gradient(0deg, rgba(5, 18, 48, .32), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}
.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-title-wrap { min-width: 0; }
.business-logo {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 24px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .23);
}
.business-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-description {
  max-width: 610px;
  margin: 0 0 15px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  line-height: 1.55;
}
.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}
.action-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.action-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .21);
}

.client-brand-only {
  justify-content: flex-end;
}

.booking-footer { align-items: center; }
.powered-by {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #55729c;
}
.powered-by strong {
  color: #183c7e;
  font-weight: 900;
}
.powered-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(20, 72, 170, .14));
}

.hero-card.has-cover::after { display: none; }
.hero-cover[hidden],
.business-logo[hidden],
.hero-description[hidden],
.business-actions[hidden],
.action-chip[hidden] { display: none !important; }

.slot-title {
  margin-top: 16px;
  margin-bottom: 7px;
  color: #22365f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .01em;
}
.slot-hint { margin: 0 0 7px; line-height: 1.5; }

.booking-card.branch-unavailable .step-block:not(#branch-block),
.booking-card.branch-unavailable > .divider {
  opacity: .42;
  pointer-events: none;
  filter: grayscale(.12);
}
.booking-card.branch-unavailable #branch-block {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}
.booking-card.branch-unavailable .primary-button { opacity: .42; }

@media (max-width: 560px) {
  .client-brand-only { display: none; }
  .branded-hero { min-height: 265px; }
  .hero-content {
    min-height: 265px;
    padding: 22px 18px;
  }
  .hero-identity { gap: 12px; }
  .business-logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 19px;
  }
  .hero-description { font-size: 13px; margin-bottom: 12px; }
  .business-actions { gap: 7px; margin-top: 15px; }
  .action-chip { min-height: 36px; padding: 0 12px; }
  .booking-footer { align-items: center; }
  .powered-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}
