/* Pagina „Programare”: un antet scurt, ca formularul să înceapă cât mai sus,
   apoi formularul BusinessDent pe o suprafață albă. */

.booking-page {
  gap: 1.4rem;
}

.booking-page__hero,
.booking-widget {
  width: 100%;
}

.booking-page__hero-surface {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, var(--color-primary-dark) 0%, #8498a7 100%);
  padding: clamp(1.4rem, 2.4vw, 2.4rem) clamp(1.4rem, 2.4vw, 2.4rem) clamp(2rem, 3.6vw, 3rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

/* Mai puțin spațiu deasupra titlului decât pe celelalte pagini: aici antetul
   doar anunță formularul, nu îl împinge sub linia ecranului. */
.booking-page__hero-copy {
  margin-top: clamp(2.4rem, 4.5vw, 4rem);
  max-width: 48rem;
  align-self: center;
  text-align: center;
}

.booking-page__eyebrow {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-page__hero-copy h1 {
  margin: 0;
  color: var(--color-pure-white);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.booking-page__hero-copy > p:last-child {
  margin: 1.1rem auto 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.65;
}

.booking-widget__surface {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-pure-white);
  border-radius: var(--radius-2xl);
}

/* Formularul BusinessDent ia toată înălțimea pe care o primește și derulează
   înăuntru, deci primește cam un ecran: destul cât să se vadă un pas întreg,
   fără ca pagina și formularul să se certe pe același scroll. Sub bara de sus,
   care plutește. */
.booking-widget__frame {
  display: block;
  width: 100%;
  height: clamp(36rem, calc(100vh - 8rem), 56rem);
  height: clamp(36rem, calc(100svh - 8rem), 56rem);
  border: 0;
}

.booking-widget__fallback {
  margin: 0;
  padding: 1rem clamp(1.2rem, 2.4vw, 2rem);
  border-top: 1px solid rgba(184, 212, 227, 0.32);
  color: rgba(48, 48, 48, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.booking-widget__fallback a {
  color: var(--color-charcoal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(155, 169, 181, 0.7);
  text-underline-offset: 0.2em;
}

.booking-widget__fallback a:hover,
.booking-widget__fallback a:focus-visible {
  text-decoration-color: currentColor;
}

@media (max-width: 860px) {
  .booking-page__hero-surface {
    padding: 0.95rem 1rem 1.8rem;
    border-radius: 1.25rem;
  }

  .booking-page__hero-copy {
    margin-top: 2rem;
  }

  .booking-widget__surface {
    border-radius: 1.25rem;
  }
}

@media (max-width: 420px) {
  .booking-page__hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }
}
