/* ============================================
   Book/Consultation Page Styles
   ============================================ */

/* Hero - matches page-hero style from other pages */
.book-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--bg-alt);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.book-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="200" cy="100" r="300" fill="rgba(255,255,255,0.03)"/><circle cx="900" cy="400" r="250" fill="rgba(255,255,255,0.02)"/></svg>') no-repeat center;
  background-size: cover;
}

.book-hero-content {
  position: relative;
  z-index: 1;
}

.book-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.book-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.trust-badge:hover {
  background: rgba(255, 255, 255, 0.18);
}

.trust-badge svg {
  opacity: 0.8;
  flex-shrink: 0;
}

/* Booking Section */
.book-section {
  padding: 100px 0;
  background: var(--bg);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left Side - Info */
.book-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.book-testimonial {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}

.book-testimonial .testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.book-expect h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.expect-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expect-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.expect-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 77, 62, 0.06);
  color: var(--primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.expect-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.expect-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Right Side - Form */
.book-form-wrapper {
  position: sticky;
  top: 100px;
}

.book-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.book-form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.book-form-subtitle {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-lighter);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2395A5A6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.book-submit-btn {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

/* Calendar Widget */
.book-calendar-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}

.calendar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 77, 62, 0.06);
  color: var(--primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.calendar-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.calendar-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
}

.calendar-widget {
  padding: 24px 28px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-month {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.calendar-nav-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}

.calendar-nav-btn:hover {
  background: var(--bg-alt);
  border-color: var(--primary-light);
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.calendar-days-header span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--text);
  cursor: default;
  transition: background 0.2s, color 0.2s;
}

.calendar-day.empty {
  visibility: hidden;
}

.calendar-day.disabled {
  color: var(--text-lighter);
  opacity: 0.4;
}

.calendar-day.available {
  cursor: pointer;
  font-weight: 600;
}

.calendar-day.available:hover {
  background: rgba(27, 77, 62, 0.08);
  color: var(--primary);
}

.calendar-day.today {
  border: 2px solid var(--primary);
  font-weight: 700;
}

.calendar-day.selected {
  background: var(--primary);
  color: white;
}

/* Time Slots Panel */
.calendar-times {
  padding: 24px 28px;
}

.calendar-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  padding: 0;
  transition: opacity 0.2s;
}

.calendar-back:hover {
  opacity: 0.7;
}

.calendar-times-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.calendar-time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.time-slot {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}

.time-slot:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Confirm Panel */
.calendar-confirm {
  padding: 28px 32px;
}

.confirm-details {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(27, 77, 62, 0.06);
  color: var(--primary);
  border-radius: 50%;
  margin-bottom: 16px;
}

.confirm-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.confirm-datetime {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.confirm-duration {
  font-size: 0.85rem;
  color: var(--text-light);
}

.confirm-form .form-group {
  margin-bottom: 16px;
}

.booking-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
}

/* Booking Success / Confirmation Screen */
.booking-success {
  padding: 36px 28px;
  text-align: center;
}

.booking-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(27, 77, 62, 0.08);
  border-radius: 50%;
  margin-bottom: 20px;
}

.booking-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.booking-success-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.booking-success-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.booking-success-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.booking-success-email {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.booking-success-email strong {
  color: var(--primary-dark);
}

.booking-success-next {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
}

.booking-success-next h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-align: center;
}

.booking-success-next ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.booking-success-next li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.booking-success-next li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

.calendar-timezone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--bg-alt);
  font-size: 0.8rem;
  color: var(--text-lighter);
  border-top: 1px solid var(--border);
}

/* Stats Mini */
.book-stats {
  padding: 60px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.book-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.book-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1.2;
}

.book-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 500;
}

/* After You Book Steps */
.book-steps-section {
  padding: 100px 0;
  background: var(--bg);
}

.book-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.book-step {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(27, 77, 62, 0.1);
}

.book-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.book-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.book-step p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Contact Alt */
.book-contact-alt {
  padding: 80px 0;
  background: var(--bg-alt);
}

.book-contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.book-contact-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-method svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.contact-method span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .book-hero {
    padding: 120px 0 60px;
  }

  .book-hero-title {
    font-size: 1.8rem;
  }

  .trust-badges {
    gap: 12px;
  }

  .trust-badge {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .book-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .book-form-wrapper {
    position: static;
  }

  .book-form-card {
    padding: 28px;
  }

  .book-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .book-steps-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
}
