.appointment-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 8.5rem;
  background:
    radial-gradient(circle at 88% 15%, rgba(73, 181, 226, 0.24), transparent 26%),
    linear-gradient(135deg, #172453, #294883);
  color: white;
}

.appointment-hero::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 470px;
  height: 470px;
  border: 80px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  content: "";
}

.appointment-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.appointment-hero .sinel-eyebrow {
  color: #8bdcff;
}

.appointment-hero h1 {
  margin-bottom: 1rem;
  color: white;
  font-size: clamp(2.7rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.appointment-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.appointment-section {
  position: relative;
  z-index: 2;
  padding: 0 0 6rem;
  margin-top: -4rem;
}

.appointment-guidance,
.appointment-form-card {
  border: 1px solid rgba(31, 47, 99, 0.08);
  border-radius: 1.35rem;
  background: white;
  box-shadow: 0 22px 55px rgba(31, 47, 99, 0.12);
}

.appointment-guidance {
  padding: 2rem;
}

.appointment-guidance-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  border-radius: 50%;
  background: #eaf7fc;
  color: var(--sinel-sky-dark);
  font-size: 1.45rem;
}

.appointment-guidance h2,
.appointment-form-heading h2 {
  color: var(--sinel-ink);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.appointment-guidance h2 {
  font-size: 1.55rem;
}

.appointment-guidance > p {
  color: var(--sinel-muted);
  line-height: 1.7;
}

.appointment-emergency {
  display: flex;
  padding-top: 1.35rem;
  border-top: 1px solid #e5e9f1;
  margin-top: 1.5rem;
  gap: 0.85rem;
}

.appointment-emergency > i {
  color: var(--sinel-red);
  font-size: 1.2rem;
}

.appointment-emergency strong,
.appointment-emergency span,
.appointment-emergency a {
  display: block;
}

.appointment-emergency strong {
  color: var(--sinel-ink);
}

.appointment-emergency span {
  margin: 0.2rem 0 0.5rem;
  color: var(--sinel-muted);
  font-size: 0.9rem;
}

.appointment-emergency a {
  color: var(--sinel-sky-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.appointment-form-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.appointment-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.appointment-form-heading h2 {
  margin: 0;
  font-size: 2rem;
}

.appointment-required {
  padding-top: 0.35rem;
  color: var(--sinel-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.appointment-required span,
.appointment-form-card label span {
  color: var(--sinel-red);
}

.appointment-form-card label {
  color: var(--sinel-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.appointment-form-card .form-control,
.appointment-form-card .custom-select {
  min-height: 52px;
  border: 1px solid #dce2ec;
  border-radius: 0.7rem;
  background-color: #fbfcfe;
}

.appointment-form-card textarea.form-control {
  min-height: 135px;
  resize: vertical;
}

.appointment-form-card .form-control:focus,
.appointment-form-card .custom-select:focus {
  border-color: var(--sinel-sky);
  background: white;
  box-shadow: 0 0 0 0.2rem rgba(31, 169, 219, 0.15);
}

.appointment-form-card .form-text {
  color: var(--sinel-muted);
}

.appointment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e9f1;
  margin-top: 0.5rem;
  gap: 1rem;
}

.appointment-form-footer p {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--sinel-muted);
  font-size: 0.82rem;
  gap: 0.5rem;
}

.appointment-form-footer p i {
  color: var(--sinel-teal);
}

.appointment-form-footer .btn {
  min-height: 48px;
  padding-right: 1.35rem;
  padding-left: 1.35rem;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .appointment-hero {
    padding: 4rem 0 7.5rem;
  }

  .appointment-section {
    padding-bottom: 4rem;
  }

  .appointment-form-heading,
  .appointment-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .appointment-form-footer .btn {
    width: 100%;
  }
}
