:root {
  --primary: #f07fb3;
  --secondary: #2e3a8c;
  --body-text: #64748b;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --bg-soft: #f8fafc;
  --font-main: "Quicksand", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--body-text);
  background: var(--bg-soft);
}

.appointment-page {
  overflow: hidden;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.appointment-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(46, 58, 140, 0.82), rgba(46, 58, 140, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero-content p {
  margin: 0;
  max-width: 620px;
  font-size: 1.05rem;
}

.breadcrumb {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumb li:last-child {
  color: #ffd3e6;
}

.booking-section {
  margin-top: -52px;
  padding: 0 0 90px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 26px;
  align-items: start;
}

.booking-info-card,
.booking-form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(46, 58, 140, 0.08);
}

.booking-info-card {
  padding: 30px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.booking-info-card h2,
.booking-form-card h2 {
  margin: 0 0 10px;
  color: var(--secondary);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.booking-info-card p {
  margin: 0 0 18px;
  line-height: 1.6;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  background: #f9fbff;
  border: 1px solid var(--border-color);
}

.info-item i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  font-size: 0.92rem;
}

.info-item h3 {
  margin: 0 0 2px;
  font-size: 1rem;
  color: var(--secondary);
}

.info-item a,
.info-item p {
  margin: 0;
  text-decoration: none;
  color: var(--body-text);
  font-weight: 600;
}

.booking-form-card {
  padding: 30px;
}

#appointmentForm {
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font: inherit;
  color: #334155;
  background: #fcfdff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(240, 127, 179, 0.15);
}

.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  margin-top: 18px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #e861a3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(240, 127, 179, 0.35);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-btn i {
  margin-left: 8px;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  font-weight: 600;
}

.form-message.success {
  color: #0f766e;
}

.form-message.error {
  color: #b91c1c;
}

@media (max-width: 992px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-section {
    margin-top: -40px;
  }
}

@media (max-width: 680px) {
  .appointment-hero {
    min-height: 48vh;
    padding-top: 120px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .booking-info-card,
  .booking-form-card {
    padding: 22px;
  }
}
