/* ============================================================
   00-hero-form — compact single-page appointment form that sits
   INSIDE the hero (home, service pages, condition pages).
   Same dark-glass look as the #booking panel (12-booking.css),
   scaled down. Column placement lives in each hero's own CSS.
   Scoped under .sec-00-heroform
   ============================================================ */

.sec-00-heroform {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
}

.sec-00-heroform__card {
  background: linear-gradient(160deg, hsl(354 28% 13% / 0.94), hsl(354 30% 8% / 0.94));
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  box-shadow: var(--shadow-lift), 0 0 0 1px hsl(var(--accent-h) 70% 55% / 0.08) inset, 0 0 60px hsl(var(--accent-h) 70% 40% / 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text-on-ink);
}

.sec-00-heroform__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--white);
}

.sec-00-heroform__intro {
  margin-top: 0.3rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-on-ink-dim);
}

.sec-00-heroform__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 0.6rem;
}
.sec-00-heroform__field { min-width: 0; }
.sec-00-heroform__field--full { grid-column: 1 / -1; }

.sec-00-heroform__label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-on-ink);
}
.sec-00-heroform__label span { color: hsl(var(--accent-h) 70% 62%); }

.sec-00-heroform__input {
  width: 100%;
  background: hsl(0 0% 100% / 0.05);
  border: 1.5px solid hsl(0 0% 100% / 0.16);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.35;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.sec-00-heroform__input::placeholder { color: hsl(354 15% 62%); }
.sec-00-heroform__input:focus {
  outline: none;
  border-color: var(--accent);
  background: hsl(0 0% 100% / 0.08);
}
.sec-00-heroform__input.is-invalid { border-color: #ff7b6b; }

.sec-00-heroform__input--textarea {
  resize: vertical;
  min-height: 3.6rem;
}

.sec-00-heroform__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2rem;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 11px 8px;
  cursor: pointer;
}
.sec-00-heroform__select option { color: var(--text-on-bone); background: var(--white); }

.sec-00-heroform__error {
  min-height: 0.95rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ff7b6b;
}

.sec-00-heroform__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.55rem 0 0.9rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-on-ink-dim);
  cursor: pointer;
}
.sec-00-heroform__consent-box {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.1rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.sec-00-heroform__submit {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
}
.sec-00-heroform__submit:disabled { opacity: 0.7; cursor: progress; }

.sec-00-heroform__send-error {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #ff9d90;
}
.sec-00-heroform__send-error a { color: var(--white); }

/* Phones: one field per row; 16px inputs stop iOS zooming in on focus */
@media (max-width: 520px) {
  .sec-00-heroform { max-width: none; }
  .sec-00-heroform__fields { grid-template-columns: 1fr; }
  .sec-00-heroform__input { font-size: 1rem; }
}
