.sched{--navy:#172e27;--navy-light:#203e35;--navy-medium:#2b4a40;--blue:#3f6f5f;--blue-light:#4c806e;--blue-dark:#2f5548;--blue-bright:#d4e5a5;--light-gray:#f8f7ef;--medium-gray:#cdd1c4;--dark-gray:#7d8c82;--white:#fff;--success:#3f7a4f;--danger:#c2412d;--text-primary:#203e35;--text-secondary:#46574d;--text-muted:#5f6f65;--shadow-md:0 4px 6px rgba(32,62,53,.05),0 10px 20px rgba(32,62,53,.08);--shadow-lg:0 10px 25px rgba(32,62,53,.1),0 20px 48px rgba(32,62,53,.1);--border-light:rgba(32,62,53,.08);--border-medium:rgba(32,62,53,.14);--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-xl:24px;font-family:"DM Sans",Arial,sans-serif;line-height:1.6}
.sched ul{padding:0;margin:0}.sched p,.sched h2,.sched h3{margin:0}.sched h2,.sched h3{font-family:"DM Sans",Arial,sans-serif;font-weight:600}
.sched .form-group input{width:100%;height:auto;margin:0;vertical-align:baseline}.sched .consent-row input{width:18px;height:18px;margin:3px 0 0}
.sched button{font-family:inherit}
.sched-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem}.sched-chips span{border:1px solid rgba(212,229,165,.45);color:var(--paper);border-radius:999px;padding:.3rem .8rem;font-size:.85rem}
/* ===== LAYOUT ===== */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem 3.5rem; }
.booking-layout { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }

/* ===== ASIDE ===== */
.aside-stack { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 92px; }
.aside-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-md);
}
.sched-advisor { text-align: center; }
.sched-advisor img {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: center top;
  background: var(--light-gray); border: 3px solid var(--blue); margin-bottom: 0.85rem;
}
.sched-advisor h2 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.sched-advisor .role { color: var(--text-secondary); font-size: 0.9rem; }
.sched-advisor .lic { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.5rem; }
.aside-card h3 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blue); margin-bottom: 0.85rem; font-weight: 700;
}
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.expect-list li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.45; }
.expect-list svg { flex-shrink: 0; color: var(--success); margin-top: 0.25rem; }
.call-instead { text-align: center; }
.call-instead p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.call-btn {
  display: block; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; text-decoration: none; font-weight: 600; padding: 0.85rem 1rem;
  border-radius: var(--radius-md); transition: transform 0.2s, box-shadow 0.2s;
}
.call-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(32,62,53,0.35); }
.hours { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.7rem; }

/* ===== BOOKING PANEL (dark card) ===== */
.booking-panel {
  background: linear-gradient(135deg, #1a352d 0%, #23463b 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,229,165,0.2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.panel-header {
  padding: 1.5rem 1.85rem; border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.panel-header h2 { color: #fff; font-size: 1.35rem; margin: 0; }
.panel-header p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0.25rem 0 0; }
.tz-badge {
  font-size: 0.75rem; color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 0.35rem 0.7rem; border-radius: 999px; white-space: nowrap;
}
.panel-body { padding: 1.85rem; }

/* ===== STEPPER ===== */
.stepper { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.step-num {
  width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem; font-weight: 600; flex-shrink: 0;
}
.step.active { color: #fff; }
.step.active .step-num { background: var(--blue); border-color: var(--blue-bright); color: #fff; }
.step.done { color: rgba(212,229,165,0.9); }
.step.done .step-num { background: rgba(212,229,165,0.2); border-color: rgba(212,229,165,0.5); color: var(--blue-bright); }
.step-sep { flex: 1; height: 1px; background: rgba(255,255,255,0.12); min-width: 12px; }

/* ===== CALENDAR ===== */
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; max-width: 470px; margin-left: auto; margin-right: auto; }
.calendar-nav-btn {
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; transition: background 0.2s;
}
.calendar-nav-btn:hover:not(:disabled) { background: rgba(212,229,165,0.3); }
.calendar-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar-month-label { color: #fff; font-size: 1.1rem; font-weight: 600; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; max-width: 470px; margin: 0 auto; }
.calendar-day-header { color: rgba(255,255,255,0.5); font-size: 0.72rem; text-align: center; padding: 6px 0; text-transform: uppercase; letter-spacing: 0.04em; }
.calendar-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.3);
  background: transparent; border: none; cursor: default; font-family: inherit; padding: 0;
}
.calendar-day.available {
  background: rgba(212,229,165,0.15); color: #fff; cursor: pointer;
  border: 1px solid rgba(212,229,165,0.3); transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.calendar-day.available:hover { background: rgba(212,229,165,0.3); transform: scale(1.06); }
.calendar-day.available:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.calendar-day.selected { background: var(--blue); color: #fff; border-color: var(--blue-bright); }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--blue-bright); }
.calendar-day.other-month { opacity: 0.25; }
.cal-legend { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.cal-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.legend-dot.avail { background: rgba(212,229,165,0.25); border: 1px solid rgba(212,229,165,0.5); }
.legend-dot.none { background: transparent; border: 1px solid rgba(255,255,255,0.2); }
.no-slots-msg { text-align: center; color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-top: 1rem; }

/* ===== TIME SLOTS ===== */
.slots-block { display: none; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.slots-block.active { display: block; }
.slots-label { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-weight: 500; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.time-slot {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: #fff;
  padding: 12px 8px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; text-align: center;
  transition: background 0.2s, border-color 0.2s; font-family: inherit;
}
.time-slot:hover { background: rgba(212,229,165,0.2); border-color: rgba(212,229,165,0.4); }
.time-slot:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.time-slot.selected { background: var(--blue); border-color: var(--blue-bright); }

/* ===== FORM ===== */
.form-block { display: none; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.form-block.active { display: block; }
.booking-summary {
  background: rgba(212,229,165,0.1); border: 1px solid rgba(212,229,165,0.2);
  border-radius: var(--radius-md); padding: 1rem; margin-bottom: 1.25rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.booking-summary-title { color: var(--blue-bright); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 0.35rem; }
.booking-summary-datetime { color: #fff; font-size: 1.05rem; font-weight: 600; }
.change-btn {
  background: none; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8);
  font-size: 0.78rem; padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); cursor: pointer;
  font-family: inherit; transition: background 0.2s, color 0.2s;
}
.change-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.booking-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
  padding: 0.85rem 1rem; color: #fff; font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.form-group textarea { resize: vertical; min-height: 76px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue-bright); background: rgba(255,255,255,0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: #ff9b9b; font-size: 0.75rem; min-height: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-row { margin: 0.25rem 0 0.25rem; }
.consent-row label {
  display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer;
  font-size: 0.72rem; color: rgba(255,255,255,0.6); line-height: 1.45;
}
.consent-row input { margin-top: 3px; flex-shrink: 0; }
.consent-row a { color: var(--blue-bright); text-decoration: underline; }
.submit-btn {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; border: none;
  padding: 1rem 1.5rem; border-radius: var(--radius-md); font-size: 1.05rem; font-weight: 600;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s; margin-top: 0.5rem; font-family: inherit;
}
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(32,62,53,0.4); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-error {
  display: none; background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35);
  color: #ffc4c4; font-size: 0.85rem; padding: 0.8rem 1rem; border-radius: var(--radius-md);
}
.form-error.active { display: block; }

/* ===== STATES ===== */
.loading-state { display: none; text-align: center; padding: 3.5rem 1rem; }
.loading-state.active { display: block; }
.spinner {
  width: 50px; height: 50px; border: 3px solid rgba(212,229,165,0.2); border-top-color: var(--blue-bright);
  border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1.25rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p { color: rgba(255,255,255,0.7); }
.error-state { display: none; text-align: center; padding: 3rem 1rem; }
.error-state.active { display: block; }
.error-state p { color: #ff9b9b; margin-bottom: 1.25rem; }
.error-state .fallback { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 1.25rem; }
.error-state .fallback a { color: var(--blue-bright); }
.picker-view { display: none; }
.picker-view.active { display: block; }

/* ===== SERVICE PICKER ===== */
.service-view { display: none; }
.service-view.active { display: block; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.85rem; }
.service-card {
  display: flex; flex-direction: column; gap: 0.45rem; text-align: left;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 1.1rem 1.15rem; cursor: pointer;
  font-family: inherit; color: #fff; transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.service-card:hover { background: rgba(212,229,165,0.15); border-color: rgba(212,229,165,0.45); transform: translateY(-2px); }
.service-card:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.service-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.service-card-title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.service-card-len {
  flex-shrink: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--blue-bright); background: rgba(212,229,165,0.15);
  border: 1px solid rgba(212,229,165,0.3); padding: 0.2rem 0.5rem; border-radius: 999px; white-space: nowrap;
}
.service-card-desc { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.45; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: none;
  color: rgba(255,255,255,0.6); font-family: inherit; font-size: 0.85rem; cursor: pointer;
  padding: 0 0 0.9rem; transition: color 0.2s;
}
.back-link:hover { color: var(--blue-bright); }
.back-link.hidden { display: none; }
.service-view.active ~ .picker-view .back-link { display: none; }

/* ===== CONFIRMATION ===== */
.confirmation { display: none; text-align: center; padding: 2.5rem 1rem 1.5rem; }
.confirmation.active { display: block; }
.confirm-icon {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(16,185,129,0.15);
  border: 2px solid rgba(16,185,129,0.5); color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
}
.confirmation h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.6rem; }
.confirmation > p { color: rgba(255,255,255,0.7); max-width: 460px; margin: 0 auto; }
.confirm-details {
  background: rgba(212,229,165,0.1); border: 1px solid rgba(212,229,165,0.2); border-radius: var(--radius-md);
  padding: 1.25rem; margin: 1.5rem auto 0; text-align: left; max-width: 460px;
}
.confirm-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.92rem; }
.confirm-row:last-child { border-bottom: none; }
.confirm-row span:first-child { color: rgba(255,255,255,0.6); }
.confirm-row span:last-child { color: #fff; font-weight: 500; text-align: right; }
.confirm-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.confirm-actions a, .confirm-actions button {
  font-family: inherit; font-size: 0.92rem; font-weight: 600; padding: 0.8rem 1.35rem;
  border-radius: var(--radius-md); cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; border: none; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }



/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .booking-layout { grid-template-columns: 1fr; }
  /* One column: the calendar is the point of the page, so it leads.
     The bio and reassurance cards follow underneath. */
  .booking-panel { order: -1; }
  .aside-stack { position: static; }
  .advisor-and-call { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr !important; gap: 30px !important; }
  .hero { padding: 1.75rem 1.25rem 1.85rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero .subtitle { font-size: 0.98rem; margin-bottom: 1.15rem; }
  .hero-chips { gap: 0.4rem; }
  .chip { font-size: 0.76rem; padding: 0.32rem 0.7rem; }
  .page-wrap { padding: 1.75rem 1rem 2.5rem; }
  .panel-body { padding: 1.25rem; }
  .panel-header { padding: 1.25rem; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .advisor-and-call { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header { padding: 0.75rem 1rem; }
  .header-nmls { display: none; }
  .logo-main { height: 36px; }
  .calendar-grid { gap: 5px; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
  .stepper .step span:not(.step-num) { display: none; }
}
