/* Appointment page: closer to Celebrate's schedule page, adapted for one office. */
.appointment-page-hero {
  min-height: clamp(300px, 22vw, 430px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
    url("media/family-brushing.jpg") center 42% / cover no-repeat;
  text-align: center;
}

.appointment-page-hero h1 {
  color: #fff;
  font-size: clamp(42px, 4.3vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.36);
  margin: 0;
}

.appointment-booking {
  padding: clamp(58px, 5.2vw, 90px) 0 clamp(46px, 4.8vw, 82px);
  background: #fff;
}

.appointment-lead {
  color: var(--cd-blue);
  text-align: center;
  font-size: clamp(23px, 1.8vw, 32px);
  line-height: 1.45;
  margin: 0 0 clamp(48px, 5vw, 84px);
  letter-spacing: 0.015em;
}

.single-office-booking {
  width: min(430px, 100%);
}

.single-office-booking h2 {
  color: #050505;
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
  font-weight: 800;
}

.booking-line {
  height: 4px;
  width: 100%;
  background: var(--cd-blue);
  margin-bottom: 42px;
}

.single-office-booking h3 {
  color: #111;
  font-size: clamp(24px, 1.75vw, 31px);
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 14px;
}

.single-office-booking p {
  color: #24364b;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.booking-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.book-location-btn {
  width: 100%;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cd-blue);
  color: #fff;
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 20px rgba(0, 50, 90, 0.22);
}

.book-form-btn {
  background: #07508c;
}

.appointment-form-section {
  padding: clamp(60px, 6vw, 110px) 0 clamp(74px, 7vw, 128px);
  background: #fff;
}

.appointment-form-section h2 {
  text-align: center;
  color: var(--cd-blue);
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.appointment-form-section > .wrap > p {
  text-align: center;
  color: #51677f;
  font-size: 18px;
  margin: 0 0 34px;
}

.appointment-form {
  border-radius: 0;
  padding: clamp(26px, 2.9vw, 44px);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  min-height: 64px;
  border-radius: 6px;
}

.appointment-form .btn {
  width: 100%;
  min-height: 64px;
}

@media (max-width: 900px) {
  .single-office-booking {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .appointment-page-hero {
    min-height: 260px;
  }

  .single-office-booking {
    width: 100%;
  }

  .booking-cta-row {
    grid-template-columns: 1fr;
  }
}
