/* ============================================================
   AOF Engineering Systems — Appointment Booking System CSS
   Matches 1businessone.com design: Inter font, navy/indigo palette
   ============================================================ */

/* ── Google Font Import ────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #ede9fe;
  --navy: #0f172a;
  --navy-mid: #1e293b;
  --blue-mid: #1e3a5f;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --bg-page: linear-gradient(165deg, #eef2ff 0%, #e8f0fe 40%, #f0f4ff 100%);
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --success: #10b981;
  --success-light: #ecfdf5;
  --error: #ef4444;
  --error-light: #fef2f2;
  --radius-card: 18px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 8px 32px rgba(79, 70, 229, 0.15);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Page Header (MSC / TRM Calculator Style) ───────────────── */
.top-header {
  width: 100%;
  background: linear-gradient(90deg, #12355B, #081120);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-header-left {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.top-logo-aof {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
}

.top-logo-m3 {
  font-size: 32px;
  font-weight: 800;
  color: #cfd8dc;
  display: inline-flex;
  align-items: center;
  letter-spacing: -2px;
  margin-left: 2px;
}

.top-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.top-info-item:hover {
  opacity: 0.85;
}

.top-info-item i {
  color: #fff;
  font-size: 14px;
}

.top-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.top-divider {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1;
}

.top-back-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

@media (max-width: 768px) {
  .top-header {
    background: linear-gradient(135deg, #0f172a, #020617);
    padding: 16px 10px 14px 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
  }

  .top-header-left {
    justify-content: center;
    width: auto;
    font-size: 30px;
    margin: 0 auto;
  }

  .top-logo-aof {
    font-size: 32px;
  }

  .top-logo-m3 {
    font-size: 32px;
  }

  .top-header-right {
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0 auto;
  }

  .top-info-item {
    font-size: 11px;
    gap: 6px;
    white-space: nowrap;
  }

  .top-info-item i {
    font-size: 11px;
  }

  .top-divider {
    font-size: 11px;
    opacity: 0.6;
  }
}

@media (max-width: 380px) {
  .top-header {
    padding: 12px 8px 10px 8px;
    gap: 10px;
  }

  .top-logo-aof,
  .top-logo-m3 {
    font-size: 26px;
  }

  .top-info-item {
    font-size: 10px;
    gap: 4px;
  }

  .top-info-item i {
    font-size: 10px;
  }

  .top-divider {
    font-size: 10px;
  }
}

/* ── Hero Banner ───────────────────────────────────────────── */
.appt-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
  padding: 48px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.appt-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.appt-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.appt-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.appt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 70, 229, 0.25);
  border: 1px solid rgba(79, 70, 229, 0.4);
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.appt-hero h1 {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.appt-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 440px;
  margin: 0 auto;
}

/* ── Main Layout ───────────────────────────────────────────── */
.appt-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Info Card (left) ──────────────────────────────────────── */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 80px;
}

.info-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.info-logo img {
  width: 100px;
  height: auto;
}

.info-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.info-card h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

.info-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.info-meta svg,
.info-meta i {
  color: var(--primary);
  width: 16px;
  flex-shrink: 0;
}

.info-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.info-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-bullets li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.info-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 12px;
}

.info-timezone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.tz-value {
  font-weight: 600;
  color: var(--navy);
}

/* ── Calendar Card (right) ─────────────────────────────────── */
.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-height: 480px;
}

.booking-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-card-title .step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Calendar Grid ─────────────────────────────────────────── */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cal-month-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.cal-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}

.cal-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.cal-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 28px;
}

.cal-day-name {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cal-day {
  text-align: center;
  padding: 9px 4px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  line-height: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-day:hover:not(.cal-day--empty):not(.cal-day--past):not(.cal-day--sunday) {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.cal-day--empty {
  cursor: default;
}

.cal-day--past {
  color: #cbd5e1;
  cursor: not-allowed;
  font-weight: 400;
}

.cal-day--sunday {
  color: #fca5a5;
  cursor: not-allowed;
  font-weight: 400;
}

.cal-day--today {
  color: var(--primary);
  font-weight: 800;
  position: relative;
}

.cal-day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.cal-day--selected {
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 700;
  /* border-radius: 50% !important; */
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.cal-day--selected.cal-day--today::after {
  background: rgba(255, 255, 255, 0.6);
}

/* ── Time Slots Section ────────────────────────────────────── */
.slots-section {
  margin-top: 4px;
}

.slots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.slots-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.slots-date-display {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slot-btn {
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  min-width: 100px;
  text-align: center;
}

.slot-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.12);
}

.slot-btn--selected {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transform: translateY(-1px);
}

.slots-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  padding: 12px 0;
}

.slots-empty {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 18px;
  color: #92400e;
  font-size: 13px;
  line-height: 1.6;
}

/* ── Spinner ───────────────────────────────────────────────── */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.spinner--sm {
  width: 14px;
  height: 14px;
  border-width: 2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Booking Form ──────────────────────────────────────────── */
.form-section {
  display: none;
  animation: fadeSlideIn 0.35s ease forwards;
}

.form-section.is-visible {
  display: block !important;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.selected-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid #c4b5fd;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-input);
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-card);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

.form-error-msg {
  display: none;
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
  font-weight: 500;
}

.form-error-msg.is-visible {
  display: block;
}

/* ── Checkbox ──────────────────────────────────────────────── */
.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-group label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

/* ── reCAPTCHA wrapper ─────────────────────────────────────── */
.recaptcha-wrap {
  margin-bottom: 20px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
}

.g-recaptcha {
  display: inline-block;
}

.recaptcha-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
  font-weight: 500;
  display: none;
}

.recaptcha-error.is-visible {
  display: block;
}

/* ── Submit Button ─────────────────────────────────────────── */
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dark), #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

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

/* ── Step Progress ─────────────────────────────────────────── */
.step-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  z-index: 1;
}

.step-dot.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.step-dot.done {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: var(--transition);
}

.step-line.active {
  background: var(--primary);
}

.step-label {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

/* ── Modal Overlay ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.is-open .modal-box {
  transform: scale(1) translateY(0);
}

/* ── Success Modal ─────────────────────────────────────────── */
.modal-success-header {
  background: linear-gradient(135deg, #064e3b, #059669);
  padding: 32px 32px 24px;
  text-align: center;
}

.modal-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.modal-success-header h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-success-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
}

.modal-body {
  padding: 28px 32px;
}

.modal-detail-grid {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.modal-detail-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.modal-detail-row:last-child {
  border-bottom: none;
}

.modal-detail-label {
  font-size: 12px;
  color: var(--text-light);
  width: 90px;
  flex-shrink: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-top: 1px;
}

.modal-detail-value {
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 600;
  flex: 1;
}

.modal-email-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #1e40af;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-close-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* ── Error Modal ───────────────────────────────────────────── */
.modal-error-header {
  background: linear-gradient(135deg, #7f1d1d, #b91c1c);
  padding: 28px 32px 20px;
  text-align: center;
}

.modal-error-header h2 {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-error-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.modal-error-msg {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

/* ── Footer ────────────────────────────────────────────────── */
.appt-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 20px;
  font-size: 12.5px;
}

.appt-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.appt-footer a:hover {
  color: #fff;
}

/* ── Inline error banner ───────────────────────────────────── */
.inline-error {
  background: var(--error-light);
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 12px 16px;
  color: #991b1b;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}

.inline-error.is-visible {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Accessible focus states ───────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Honeypot (visually hidden) ────────────────────────────── */
.hp-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* ── Responsive Breakpoints ────────────────────────────────── */

/* Tablet */
@media (max-width: 820px) {
  .appt-main {
    grid-template-columns: 1fr;
    padding: 32px 16px 60px;
    gap: 20px;
  }

  .info-card {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .info-logo {
    display: none;
  }

  .booking-card {
    padding: 24px 20px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .appt-header {
    padding: 12px 16px;
  }

  .appt-header-logo span {
    display: none;
  }

  .appt-hero {
    padding: 36px 16px 40px;
  }

  .info-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 18px;
  }

  .info-divider {
    display: none;
  }

  .booking-card {
    padding: 20px 16px;
  }

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

  .slots-grid {
    gap: 8px;
  }

  .slot-btn {
    min-width: 88px;
    padding: 9px 14px;
    font-size: 12.5px;
  }

  .cal-day {
    font-size: 12px;
    padding: 7px 2px;
  }

  .modal-box {
    border-radius: 16px;
  }

  .modal-body {
    padding: 20px 20px;
  }

  .modal-success-header,
  .modal-error-header {
    padding: 24px 20px 18px;
  }

  .step-progress {
    display: none;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .cal-grid {
    gap: 1px;
  }

  .cal-day {
    font-size: 11px;
    min-height: 30px;
  }

  .slot-btn {
    min-width: 76px;
    font-size: 12px;
  }
}