/* ============================================================
   12-hero-booking — appointment form card inside page heroes.
   Inputs, errors and consent reuse the .sec-12-booking__* styles
   (same branding as the #booking panel); this file adds the card,
   the single-page field grid and the hero text/form split.
   ============================================================ */

/* --- Interior hero split: copy left, form right (desktop); stacked below --- */
.hero-form-split {
  position: relative;
  z-index: 1;
}

.hero-form-split__form {
  margin-top: clamp(2rem, 5vw, 2.75rem);
}

@media (min-width: 1024px) {
  .hero-form-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    align-items: center;
    column-gap: clamp(2rem, 4vw, 4rem);
  }
  .hero-form-split__text { min-width: 0; }
  .hero-form-split__form { margin-top: 0; }
}

/* Home hero: the form takes the right-hand column of .sec-02-hero__inner */
.sec-02-hero__form { margin-top: clamp(2rem, 5vw, 2.75rem); }
@media (min-width: 1024px) {
  .sec-02-hero__form {
    margin-top: 0;
    justify-self: end;
    width: min(390px, 100%);
  }
}

/* --- Card --- */
.hero-booking {
  position: relative;
  container-type: inline-size;
  max-width: 390px;
  background: linear-gradient(160deg, hsl(232 28% 13% / 0.92), hsl(232 30% 8% / 0.92));
  border: 1px solid hsl(0 0% 100% / 0.09);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-lift), 0 0 0 1px hsl(var(--accent-h) 70% 55% / 0.08) inset, 0 0 70px hsl(var(--accent-h) 70% 40% / 0.12);
  backdrop-filter: blur(18px);
}
@media (max-width: 1023px) {
  .hero-booking { max-width: 560px; }
}

.hero-booking__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--white);
  margin: 0;
}

.hero-booking__sub {
  margin: 0.35rem 0 1.1rem;
  font-size: 0.85rem;
  color: var(--text-on-ink-dim);
}
.hero-booking__sub a { color: inherit; }

/* --- Fields: one column, phone + email side by side when the card has room --- */
.hero-booking__grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0.75rem;
}
@container (min-width: 330px) {
  .hero-booking__grid { grid-template-columns: 1fr 1fr; }
  .hero-booking__field--full { grid-column: 1 / -1; }
}

.hero-booking__field label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.hero-booking__req { color: var(--accent); }

/* Compact versions of the booking inputs */
.hero-booking .hero-booking__input {
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  border-radius: 12px;
}
.hero-booking .sec-12-booking__input--textarea { min-height: 3.2rem; }
.hero-booking select.hero-booking__input { color-scheme: dark; }

.hero-booking .hero-booking__error {
  margin-top: 0.25rem;
  min-height: 1rem;
  font-size: 0.75rem;
}

.hero-booking .hero-booking__consent {
  font-size: 0.7rem;
  margin: 0.25rem 0 1rem;
}

.hero-booking__submit { width: 100%; justify-content: center; }

.hero-booking__send-error {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #ff7b6b;
}
.hero-booking__send-error a { color: inherit; }
