:root {
  --bg: #f8f6f2;
  --surface: #f3efe8;
  --card: #fffdf9;
  --text: #2f3538;
  --muted: #62707a;
  --accent: #6f8877;
  --accent-deep: #587061;
  --blue-grey: #7c8d97;
  --border: #ddd6ca;
  --shadow: 0 10px 32px rgba(47, 53, 56, 0.07);
  --error: #a33d4a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lora", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #f5f1ea 0%, var(--bg) 55%);
  line-height: 1.6;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

body::before {
  top: -140px;
  left: -120px;
  background:
    radial-gradient(circle at 30% 35%, rgba(207, 179, 160, 0.32) 0 24%, transparent 25%),
    radial-gradient(circle at 72% 42%, rgba(180, 203, 181, 0.28) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 72%, rgba(198, 187, 214, 0.23) 0 18%, transparent 19%);
}

body::after {
  bottom: -150px;
  right: -120px;
  background:
    radial-gradient(circle at 36% 30%, rgba(193, 175, 160, 0.3) 0 22%, transparent 23%),
    radial-gradient(circle at 67% 45%, rgba(162, 188, 172, 0.28) 0 20%, transparent 21%),
    radial-gradient(circle at 50% 72%, rgba(182, 176, 203, 0.22) 0 17%, transparent 18%);
}

h1,
h2,
h3,
.brand,
.btn {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 242, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.06rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent-deep);
}

.main-content {
  padding: 2.25rem 0 3rem;
  display: grid;
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background:
    radial-gradient(circle at 38% 35%, rgba(214, 198, 179, 0.22) 0 14%, transparent 15%),
    radial-gradient(circle at 66% 66%, rgba(189, 209, 191, 0.2) 0 12%, transparent 13%);
  pointer-events: none;
}

.card-lite {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
}

.narrow {
  max-width: 480px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--blue-grey);
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b8cbbd, #d8c5b8);
  opacity: 0.85;
}

h1 {
  margin: 0.45rem 0 0.85rem;
  font-size: clamp(1.7rem, 2.2vw, 2.45rem);
  line-height: 1.22;
}

h2 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  line-height: 1.27;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.03rem;
}

.lead {
  max-width: 62ch;
  color: #49565f;
}

.subtle {
  color: var(--muted);
}

.hero-surface {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-note {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffefb 0%, #f9f6f0 100%);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 1.8rem;
}

.hero-note {
  padding: 1.4rem;
  position: relative;
}

.hero-note::after {
  content: "";
  position: absolute;
  inset: auto 14px 10px auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 16%, rgba(176, 200, 178, 0.45) 0 20%, transparent 21%),
    radial-gradient(circle at 22% 52%, rgba(201, 179, 166, 0.38) 0 20%, transparent 21%),
    radial-gradient(circle at 78% 52%, rgba(188, 183, 209, 0.32) 0 20%, transparent 21%),
    radial-gradient(circle at 50% 88%, rgba(196, 207, 189, 0.4) 0 20%, transparent 21%);
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(160deg, #7f9d88, #648173);
  color: #fff;
  padding: 0.65rem 1.05rem;
  border-radius: 11px;
  font-size: 0.93rem;
  font-weight: 600;
}

.btn:hover {
  background: linear-gradient(160deg, #6f907a, #557365);
}

.btn-secondary {
  background: linear-gradient(180deg, #fff 0%, #f5f8f5 100%);
  border-color: #a9bea8;
  color: var(--accent-deep);
}

.btn-secondary:hover {
  background: #eef3ef;
}

.btn.small {
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.2rem;
  align-items: center;
}

.team-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  position: relative;
}

.team-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 15%, rgba(176, 200, 178, 0.38) 0 20%, transparent 21%),
    radial-gradient(circle at 20% 50%, rgba(201, 179, 166, 0.32) 0 20%, transparent 21%),
    radial-gradient(circle at 80% 50%, rgba(188, 183, 209, 0.3) 0 20%, transparent 21%),
    radial-gradient(circle at 50% 84%, rgba(196, 207, 189, 0.33) 0 20%, transparent 21%);
}

.team-serial {
  margin: 0;
  color: var(--blue-grey);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.therapist-photo {
  display: grid;
  place-items: center;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(160deg, #e8efe7, #d8e2dd);
  color: #4f6a5a;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid #ccd9d0;
}

.role {
  margin-top: -0.35rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--blue-grey);
}

.steps {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.step-item {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  padding: 0.95rem;
}

.step-item span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e7eee9;
  color: #4f6356;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.step-item p {
  margin: 0;
  color: #55616a;
  font-size: 0.92rem;
}

.stats-soft {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: var(--card);
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.stat-value {
  color: #3f5b48;
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-value {
  margin: 0.28rem 0 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.booking-shell h1,
.confirm-shell h1 {
  margin-top: 0.35rem;
}

.booking-form {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.booking-filter {
  margin-top: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  background: #fff;
  display: flex;
  gap: 0.65rem;
  align-items: end;
  flex-wrap: wrap;
}

.slot-controls {
  margin: 0.3rem 0 0.75rem;
}

.slot-controls label {
  max-width: 280px;
}

.admin-slot-controls {
  margin-top: 0.2rem;
}

.date-range {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.date-chip {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  min-width: 95px;
  cursor: pointer;
  display: grid;
  gap: 0.1rem;
  text-align: left;
}

.date-chip span {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
  font-size: 0.75rem;
}

.date-chip strong {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
}

.date-chip.active {
  border-color: #bfcfc2;
  background: #eef4ef;
}

.date-chip.has-open {
  border-color: #cfe2d3;
  background: #f1f8f2;
}

.date-chip.has-open.active {
  border-color: #86b58f;
  background: #dff0e1;
}

.date-chip.has-open strong {
  color: #315d3a;
}

.date-chip.has-closed {
  border-color: #ebc9c9;
  background: #fdf0f0;
}

.date-chip.has-closed.active {
  border-color: #d98f8f;
  background: #f8dede;
}

.date-chip.has-closed strong {
  color: #7a3434;
}

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

.slot-panel,
.details-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 730px;
}

th,
td {
  border-bottom: 1px solid #e7e1d6;
  padding: 0.64rem 0.5rem;
  text-align: left;
  font-size: 0.92rem;
  vertical-align: middle;
}

th {
  color: #5f6c74;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

input,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.58rem 0.65rem;
  font-size: 0.92rem;
  color: var(--text);
}

input:focus,
select:focus {
  outline: 2px solid #d2ddd4;
  border-color: #c5d1c7;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0.45rem 0 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.88rem;
  color: #4f5b63;
}

.is-open {
  background: #fbfdfb;
}

.is-closed {
  background: #fbf8f5;
  color: #8a8a8a;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.77rem;
  font-weight: 600;
}

.badge-open {
  background: #eaf2eb;
  color: #4f6757;
  border: 1px solid #d2e1d5;
}

.badge-closed {
  background: #f2ece5;
  color: #816c5c;
  border: 1px solid #e4d8cc;
}

.client-initial {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e6edf3;
  color: #4d6270;
  border: 1px solid #d4dee7;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.confirm-grid {
  margin: 0.95rem 0 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.confirm-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
  background: #fff;
}

.confirm-item span {
  display: block;
  color: var(--muted);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
}

.confirm-item strong {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.admin-table {
  min-width: 1000px;
}

.sheet-picker {
  margin: 0.8rem 0 1rem;
  display: flex;
  gap: 0.65rem;
  align-items: end;
  flex-wrap: wrap;
}

.admin-top-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.upload-download-wrap {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.sheet-picker label {
  min-width: 220px;
}

.upload-form {
  margin: 0.8rem 0 1rem;
  display: flex;
  gap: 0.65rem;
  align-items: end;
  flex-wrap: wrap;
}

.upload-form label {
  min-width: 260px;
}

.admin-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.admin-actions.top-save {
  margin-top: 0.2rem;
  margin-bottom: 0.7rem;
}

.admin-shell td,
.admin-shell th {
  font-size: 0.87rem;
}

.profile-table {
  min-width: 900px;
}

.tiny a {
  color: var(--accent-deep);
  text-decoration: none;
}

.error {
  color: var(--error);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.success-msg {
  color: #44624f;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1rem 0 1.7rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
  color: var(--muted);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.87rem;
}

.home-foam {
  display: grid;
  gap: 1rem;
}

.home-foam .foam-hero .hero-copy {
  background: linear-gradient(165deg, #fffdf9 0%, #f3eee6 100%);
  border: 1px solid #d8cebe;
  position: relative;
}

.home-foam .foam-hero .hero-note {
  background: #ffffff;
  border: 1px solid #e1d7ca;
}

.home-foam .foam-panel {
  background: #fffefb;
  border-color: #dfd3c5;
}

.home-foam .foam-panel h2 {
  letter-spacing: 0.005em;
}

.home-foam .team-card {
  border: 1px solid #ddd2c4;
  background: linear-gradient(180deg, #fff 0%, #fffcf8 100%);
  box-shadow: 0 8px 24px rgba(47, 53, 56, 0.05);
}

.home-foam .team-card h3 {
  margin-bottom: 0.35rem;
}

.home-foam .btn {
  border-radius: 9px;
}

.home-foam .btn.btn-secondary {
  background: #fff;
}

.floral-cluster {
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none;
  z-index: 2;
}

.floral-left {
  left: -18px;
  top: -18px;
}

.floral-right {
  right: -16px;
  bottom: -12px;
}

.floral-cluster span {
  position: absolute;
  width: 22px;
  height: 30px;
  border-radius: 14px 14px 14px 14px;
  transform-origin: center bottom;
}

.floral-cluster span:nth-child(1) {
  left: 24px;
  top: 0;
  background: rgba(177, 200, 180, 0.55);
}

.floral-cluster span:nth-child(2) {
  left: 44px;
  top: 20px;
  transform: rotate(90deg);
  background: rgba(201, 181, 169, 0.55);
}

.floral-cluster span:nth-child(3) {
  left: 24px;
  top: 40px;
  transform: rotate(180deg);
  background: rgba(185, 179, 208, 0.52);
}

.floral-cluster span:nth-child(4) {
  left: 4px;
  top: 20px;
  transform: rotate(270deg);
  background: rgba(175, 197, 179, 0.5);
}

@media (max-width: 980px) {
  .hero-surface,
  .booking-form,
  .section-grid,
  .admin-top-controls {
    grid-template-columns: 1fr;
  }

  .steps,
  .stats-soft,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* (mobile nav now handled by hamburger pattern in the responsive block below) */
@media (max-width: 640px) {
  .steps,
  .stats-soft,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .hero-copy,
  .hero-note {
    padding: 1.1rem;
  }
}

/* Psychedelic Story Theme Overrides */
:root {
  --psy-bg-1: #120b28;
  --psy-bg-2: #1b1138;
  --psy-card: rgba(24, 18, 46, 0.72);
  --psy-text: #f8f4ff;
  --psy-muted: #c8bfdf;
  --psy-neon-cyan: #53f1ff;
  --psy-neon-pink: #ff65d4;
  --psy-neon-lime: #b7ff4a;
  --psy-neon-orange: #ffb14d;
  --psy-border: rgba(164, 124, 255, 0.42);
}

body {
  color: var(--psy-text);
  background:
    radial-gradient(1000px 520px at -10% -10%, rgba(255, 92, 205, 0.28), transparent 58%),
    radial-gradient(980px 560px at 110% -5%, rgba(83, 241, 255, 0.26), transparent 56%),
    radial-gradient(900px 480px at 50% 120%, rgba(183, 255, 74, 0.2), transparent 58%),
    linear-gradient(145deg, var(--psy-bg-1), var(--psy-bg-2) 45%, #0f0a24 100%);
}

body::before,
body::after {
  opacity: 0.7;
  filter: blur(1px) saturate(1.2);
}

.topbar {
  background: rgba(17, 12, 36, 0.82);
  border-bottom: 1px solid rgba(173, 129, 255, 0.38);
}

.brand {
  color: #fff8ff;
  text-shadow: 0 0 14px rgba(255, 101, 212, 0.34);
  letter-spacing: 0.04em;
}

.nav-links a {
  color: #e5d9ff;
}

.nav-links a:hover {
  color: var(--psy-neon-cyan);
}

.main-content {
  gap: 1.35rem;
}

.card,
.hero-copy,
.hero-note,
.team-card,
.step-item,
.slot-panel,
.details-panel,
.confirm-item,
.stat-card {
  background: var(--psy-card);
  border-color: var(--psy-border);
  box-shadow:
    0 14px 36px rgba(5, 2, 20, 0.46),
    0 0 0 1px rgba(122, 91, 201, 0.18) inset,
    0 0 36px rgba(131, 72, 255, 0.14);
  backdrop-filter: blur(8px);
}

.card::before,
.team-card::after,
.hero-note::after {
  opacity: 0.9;
  filter: saturate(1.2);
}

h1, h2, h3, .brand, .btn {
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

h1 {
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 101, 212, 0.22);
}

h2 {
  color: #f3edff;
}

.subtle,
.lead,
.stat-label,
label,
.footer-wrap p,
.team-serial,
.role,
.step-item p {
  color: var(--psy-muted);
}

.eyebrow {
  color: #e7d6ff;
  letter-spacing: 0.09em;
}

.eyebrow::before,
.eyebrow::after {
  background: linear-gradient(145deg, var(--psy-neon-cyan), var(--psy-neon-pink));
  box-shadow: 0 0 12px rgba(83, 241, 255, 0.46);
}

.btn {
  background: linear-gradient(135deg, var(--psy-neon-pink), #9a5bff 54%, var(--psy-neon-cyan));
  color: #160d2f;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 22px rgba(124, 75, 235, 0.42), 0 0 18px rgba(83, 241, 255, 0.25);
}

.btn:hover {
  background: linear-gradient(135deg, #ff78db, #ab6cff 52%, #74f6ff);
}

.btn-secondary {
  background: linear-gradient(140deg, rgba(83, 241, 255, 0.22), rgba(255, 101, 212, 0.2));
  border-color: rgba(133, 229, 255, 0.46);
  color: #e8f9ff;
}

.btn-secondary:hover {
  background: linear-gradient(140deg, rgba(83, 241, 255, 0.31), rgba(255, 101, 212, 0.29));
}

.home-foam .team-card h3,
.step-item h3 {
  color: #fff7ff;
}

.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--psy-neon-cyan), var(--psy-neon-pink), var(--psy-neon-lime));
  opacity: 0.45;
}

.step-item {
  position: relative;
  z-index: 1;
}

.step-item span {
  background: linear-gradient(145deg, var(--psy-neon-cyan), var(--psy-neon-pink));
  color: #140b2a;
  box-shadow: 0 0 18px rgba(83, 241, 255, 0.4);
}

table {
  min-width: 760px;
}

th {
  color: #f6e9ff;
  background: rgba(131, 72, 255, 0.16);
}

th, td {
  border-bottom: 1px solid rgba(179, 146, 255, 0.32);
}

input,
select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(177, 144, 255, 0.52);
  color: #fff;
}

input::placeholder {
  color: #d5cbef;
}

input:focus,
select:focus {
  outline: 2px solid rgba(83, 241, 255, 0.48);
  border-color: rgba(83, 241, 255, 0.62);
}

.booking-filter,
.slot-controls {
  background: rgba(24, 18, 46, 0.58);
  border-color: rgba(162, 124, 255, 0.42);
}

.date-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(175, 142, 255, 0.45);
  color: #fff;
}

.date-chip span {
  color: #e3d7ff;
}

.date-chip.has-open {
  background: rgba(183, 255, 74, 0.18);
  border-color: rgba(183, 255, 74, 0.58);
}

.date-chip.has-open strong {
  color: #e9ffbf;
}

.date-chip.has-closed {
  background: rgba(255, 101, 212, 0.16);
  border-color: rgba(255, 101, 212, 0.56);
}

.date-chip.has-closed strong {
  color: #ffd4f3;
}

.date-chip.active {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(83, 241, 255, 0.3);
}

.badge-open {
  background: rgba(183, 255, 74, 0.2);
  border-color: rgba(183, 255, 74, 0.62);
  color: #ebffc7;
}

.badge-closed {
  background: rgba(255, 101, 212, 0.2);
  border-color: rgba(255, 101, 212, 0.58);
  color: #ffd6f3;
}

.client-initial {
  background: linear-gradient(145deg, rgba(83, 241, 255, 0.38), rgba(255, 101, 212, 0.38));
  border-color: rgba(188, 158, 255, 0.62);
  color: #fff;
}

.confirm-item strong,
.stat-value {
  color: #f8faff;
}

.error {
  color: #ffc2d6;
}

.success-msg {
  color: #c9ffd9;
}

.site-footer {
  border-top: 1px solid rgba(173, 129, 255, 0.36);
  background: rgba(17, 12, 36, 0.58);
}

@media (max-width: 980px) {
  .steps::before {
    display: none;
  }
}

/* Content/Story Enhancements */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.thoughts-strip {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.thoughts-strip p {
  margin: 0.45rem 0;
  font-size: 1.02rem;
  color: #efe9ff;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.story-card {
  min-height: 170px;
}

.story-card p:last-child {
  margin-top: 0.55rem;
  color: #e2daf6;
}

.mind-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.fact-card p {
  margin: 0;
  color: #ece5ff;
}

.fact-card span {
  color: #7df7ff;
  font-weight: 700;
  margin-right: 0.35rem;
}

.light-fun-strip {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.fun-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(175, 142, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #f2edff;
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .stories-grid,
  .mind-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stories-grid,
  .mind-facts-grid {
    grid-template-columns: 1fr;
  }

  .thoughts-strip p {
    font-size: 0.95rem;
  }
}

/* Floral Elegant Theme Overrides (non-neon, soft premium) */
:root {
  --floral-ivory: #f9f5ef;
  --floral-cream: #f4eee6;
  --floral-blush: #f2e3e5;
  --floral-rose: #d8b8bf;
  --floral-mauve: #9b7f90;
  --floral-sage: #9caf9a;
  --floral-lavender: #cbc2d8;
  --floral-champagne: #e8dbc9;
  --floral-peach: #efd8cb;
  --floral-ink: #4f4952;
  --floral-muted: #7b7480;
  --floral-border: #dfd3c6;
}

body {
  color: var(--floral-ink);
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(242, 227, 229, 0.58), transparent 56%),
    radial-gradient(880px 460px at 100% 0%, rgba(239, 216, 203, 0.46), transparent 58%),
    radial-gradient(860px 420px at 50% 110%, rgba(203, 194, 216, 0.32), transparent 60%),
    linear-gradient(145deg, var(--floral-ivory), #f7f1ea 40%, #fbf8f4 100%);
}

body::before,
body::after {
  opacity: 0.42;
  filter: none;
}

.topbar {
  background: rgba(249, 245, 239, 0.92);
  border-bottom: 1px solid var(--floral-border);
}

.brand {
  color: #5f5663;
  text-shadow: none;
}

.nav-links a {
  color: var(--floral-muted);
}

.nav-links a:hover {
  color: #7d6a79;
}

.card,
.hero-copy,
.hero-note,
.team-card,
.step-item,
.slot-panel,
.details-panel,
.confirm-item,
.stat-card {
  background: rgba(255, 252, 248, 0.88);
  border-color: var(--floral-border);
  box-shadow: 0 8px 22px rgba(126, 109, 96, 0.08), 0 1px 0 rgba(255, 255, 255, 0.88) inset;
  backdrop-filter: blur(2px);
}

.card::before,
.team-card::after,
.hero-note::after,
.steps::before {
  opacity: 0.35;
  filter: none;
}

h1,
h2,
h3,
.brand,
.btn {
  font-family: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  letter-spacing: 0.01em;
  color: #594f5f;
}

.lead,
.subtle,
.stat-label,
label,
.footer-wrap p,
.team-serial,
.role,
.step-item p,
.story-card p:last-child,
.fact-card p,
.thoughts-strip p {
  color: #746d78;
}

.eyebrow {
  color: #8b7a86;
}

.eyebrow::before,
.eyebrow::after {
  background: linear-gradient(145deg, #d5c1c9, #cfdbc8);
  box-shadow: none;
}

.btn {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(160deg, #d6b7c0, #caa8b4 55%, #c7b9cf);
  color: #ffffff;
  border-color: rgba(171, 136, 151, 0.42);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(166, 136, 147, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(160deg, #d0aeb9, #c49daa 55%, #bfaed0);
  box-shadow: 0 6px 14px rgba(162, 131, 143, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(180deg, #f7f3ee 0%, #f2ebe3 100%);
  border-color: #d5c6b8;
  color: #6b5f68;
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #f5efe9 0%, #ece3d8 100%);
}

.home-foam .team-card {
  background: linear-gradient(180deg, #fffdf9 0%, #faf4ed 100%);
  box-shadow: 0 8px 20px rgba(125, 111, 103, 0.08);
}

.stats-soft .stat-value {
  color: #6c5d69;
}

th {
  color: #6e6470;
  background: rgba(230, 216, 221, 0.33);
}

th,
td {
  border-bottom: 1px solid #e7ddd3;
}

input,
select {
  background: #fffdfa;
  border-color: #dccfbe;
  color: #594f5f;
}

input::placeholder {
  color: #a2969f;
}

input:focus,
select:focus {
  outline: 2px solid rgba(185, 164, 178, 0.3);
  border-color: #c8b3be;
}

.booking-filter,
.slot-controls {
  background: rgba(254, 250, 245, 0.85);
  border-color: #e0d2c3;
}

.date-chip {
  background: #fffdfa;
  border-color: #ddcfbf;
  color: #5a505f;
}

.date-chip span {
  color: #8a7f8a;
}

.date-chip.has-open {
  background: #eff4ee;
  border-color: #bfd0bc;
}

.date-chip.has-open strong {
  color: #5f785d;
}

.date-chip.has-closed {
  background: #f7ecee;
  border-color: #dcb8c0;
}

.date-chip.has-closed strong {
  color: #8c6169;
}

.date-chip.active {
  box-shadow: 0 4px 10px rgba(174, 150, 160, 0.14);
}

.badge-open {
  background: #edf3ec;
  border-color: #c7d6c4;
  color: #658063;
}

.badge-closed {
  background: #f6ecee;
  border-color: #e0c5cb;
  color: #8a6670;
}

.client-initial {
  background: linear-gradient(145deg, #e6dde9, #efd9df);
  border-color: #d6c4cf;
  color: #6f6170;
}

.fun-pill {
  border-color: #decebf;
  background: rgba(255, 250, 243, 0.85);
  color: #71667a;
}

.site-footer {
  border-top: 1px solid var(--floral-border);
  background: rgba(250, 246, 240, 0.9);
}

/* Petal click animation */
.petal-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.petal {
  position: fixed;
  width: 10px;
  height: 15px;
  border-radius: 12px 12px 12px 2px;
  transform: rotate(25deg);
  opacity: 0.92;
  animation: petal-float 850ms ease-out forwards;
}

.petal.p1 { background: #e9c7d0; }
.petal.p2 { background: #e8d7e7; }
.petal.p3 { background: #d8e5d3; }
.petal.p4 { background: #f0d8cb; }

@keyframes petal-float {
  0% {
    transform: translate3d(0, 0, 0) rotate(18deg) scale(1);
    opacity: 0.94;
  }
  100% {
    transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rot)) scale(0.84);
    opacity: 0;
  }
}

/* Refinement Patch: flatter, cleaner, non-glossy */
.card,
.hero-copy,
.hero-note,
.team-card,
.step-item,
.slot-panel,
.details-panel,
.confirm-item,
.stat-card {
  box-shadow: 0 6px 16px rgba(121, 104, 92, 0.08);
  backdrop-filter: none;
}

.card::before,
.team-card::after,
.hero-note::after,
.eyebrow::before,
.eyebrow::after {
  opacity: 0.2;
}

.btn {
  background: #c8a9b2;
  border: 1px solid #b995a2;
  border-radius: 10px;
  box-shadow: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.68rem 1.08rem;
}

.btn:hover {
  background: #bc9aa6;
  box-shadow: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #efe6db;
  border-color: #d6c5b5;
  color: #6a5d66;
}

.btn-secondary:hover {
  background: #e8ddcf;
}

.date-range {
  gap: 0.62rem;
}

.date-chip {
  min-width: 112px;
  min-height: 58px;
  border-radius: 8px;
  border-width: 1px;
  box-shadow: none;
  padding: 0.5rem 0.62rem;
}

.date-chip.active {
  box-shadow: none;
  border-color: #b8a2ad;
  outline: 2px solid rgba(186, 164, 176, 0.22);
}

.date-chip.has-open {
  background: #f0f5ef;
}

.date-chip.has-closed {
  background: #f7eeef;
}

.client-initial {
  background: #ece4ea;
  border: 1px solid #d5c6cf;
  color: #6f6170;
}

.fun-pill {
  border-radius: 10px;
}

.petal {
  border-radius: 10px 10px 10px 2px;
}

/* Final Green + Cream refinement overrides */
:root {
  --gc-bg: #f7f4ec;
  --gc-surface: #fdfbf6;
  --gc-card: #fbf8f2;
  --gc-text: #4f5850;
  --gc-muted: #748073;
  --gc-border: #d7d9cb;
  --gc-sage: #95a48f;
  --gc-eucalyptus: #7f9278;
  --gc-moss: #6f8468;
  --gc-champ: #e8dfcf;
}

body {
  background:
    radial-gradient(920px 480px at 0% 0%, rgba(232, 223, 207, 0.36), transparent 58%),
    radial-gradient(860px 470px at 100% 0%, rgba(149, 164, 143, 0.2), transparent 60%),
    linear-gradient(145deg, var(--gc-bg), #f4f0e7 42%, #f8f5ee 100%);
  color: var(--gc-text);
}

.topbar {
  background: rgba(247, 244, 236, 0.95);
  border-bottom-color: var(--gc-border);
}

.brand {
  color: #5d655b;
}

.nav-links a {
  color: #6f786e;
}

.nav-links a:hover {
  color: var(--gc-moss);
}

.card,
.hero-copy,
.hero-note,
.team-card,
.step-item,
.slot-panel,
.details-panel,
.confirm-item,
.stat-card {
  background: var(--gc-surface);
  border-color: var(--gc-border);
  box-shadow: 0 5px 14px rgba(114, 122, 105, 0.08);
}

.card::before,
.team-card::after,
.hero-note::after,
.eyebrow::before,
.eyebrow::after,
.floral-cluster,
.steps::before {
  opacity: 0.16;
}

h1, h2, h3, .brand {
  color: #5a6358;
}

.lead,
.subtle,
.stat-label,
label,
.footer-wrap p,
.team-serial,
.role,
.step-item p,
.story-card p:last-child,
.fact-card p,
.thoughts-strip p,
.fun-pill {
  color: var(--gc-muted);
}

.btn {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--gc-eucalyptus);
  border: 1px solid #74856e;
  color: #fff;
  border-radius: 9px;
  box-shadow: none;
  font-weight: 600;
}

.btn:hover {
  background: var(--gc-moss);
  box-shadow: none;
}

.btn-secondary {
  background: #ede7db;
  border-color: #d3cdbf;
  color: #5f6a5d;
}

.btn-secondary:hover {
  background: #e4ddce;
}

.booking-filter,
.slot-controls {
  background: #f7f3ea;
  border-color: #ddd7c8;
}

.date-chip {
  min-width: 116px;
  min-height: 58px;
  border-radius: 8px;
  border: 1px solid #d7d3c4;
  background: #faf7f0;
  color: #596256;
  box-shadow: none;
}

.date-chip span {
  color: #7f887c;
}

.date-chip.has-open {
  background: #edf3ec;
  border-color: #c2d0be;
}

.date-chip.has-open strong {
  color: #5d7857;
}

.date-chip.has-closed {
  background: #f0ece4;
  border-color: #d4c9b7;
}

.date-chip.has-closed strong {
  color: #7c7165;
}

.date-chip.active {
  outline: 2px solid rgba(127, 146, 120, 0.25);
  border-color: #98ab92;
  box-shadow: none;
}

.slot-pick-cell {
  position: relative;
  min-width: 98px;
}

.slot-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slot-choice {
  display: inline-flex;
  width: 86px;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 0.5rem;
  border: 1px solid #c8cdbd;
  border-radius: 8px;
  background: #f4f1e8;
  color: #5d655b;
  font-size: 0.82rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.slot-choice:hover {
  background: #ece8de;
}

.slot-radio:checked + .slot-choice {
  background: #dce7d9;
  border-color: #9eb198;
  color: #4d5f49;
}

.slot-choice.is-disabled {
  background: #f2efea;
  border-color: #d8d2c7;
  color: #9a948a;
  cursor: not-allowed;
}

.booking-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.65rem;
}

.field-error {
  min-height: 1.1rem;
  display: block;
  margin-top: 0.2rem;
  color: #8c4747;
  font-size: 0.8rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.whatsapp-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

th {
  background: #ebe8df;
  color: #667062;
}

th,
td {
  border-bottom-color: #e3ded2;
}

input,
select {
  background: #fffdf9;
  border-color: #d8d3c6;
  color: #596056;
}

input::placeholder {
  color: #9ba194;
}

input:focus,
select:focus {
  outline: 2px solid rgba(150, 165, 143, 0.26);
  border-color: #aebbaa;
}

.badge-open {
  background: #eaf1e8;
  border-color: #c2d2bf;
  color: #60795b;
}

.badge-closed {
  background: #f1ede6;
  border-color: #d7ccbc;
  color: #7b7063;
}

.client-initial {
  background: #e9ece4;
  border-color: #cfd6c9;
  color: #667060;
}

.fun-pill {
  border-color: #d8d2c6;
  background: #f6f3ec;
  border-radius: 10px;
}

/* Prominent but elegant petals */
.petal {
  border-radius: 14px 14px 14px 3px;
  opacity: 0.9;
  filter: saturate(0.95);
}

.petal.p1 { background: #d8e2d2; }
.petal.p2 { background: #e8ddcd; }
.petal.p3 { background: #ccd8c6; }
.petal.p4 { background: #e3d6c5; }

@keyframes petal-float {
  0% {
    transform: translate3d(0, 0, 0) rotate(12deg) scale(1.02);
    opacity: 0.95;
  }
  100% {
    transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rot)) scale(0.82);
    opacity: 0;
  }
}

/* Readability & contrast refinement */
body {
  color: #2f372f;
}

h1, h2, h3, .brand {
  color: #2f3b31;
}

.lead,
.subtle,
.stat-label,
label,
.footer-wrap p,
.team-serial,
.role,
.step-item p,
.story-card p:last-child,
.fact-card p,
.thoughts-strip p,
.fun-pill {
  color: #4d5a4e;
}

.nav-links a {
  color: #3f4d41;
  font-weight: 500;
}

.nav-links a:hover {
  color: #2f3e31;
}

.eyebrow {
  color: #5f6a5f;
}

.card,
.hero-copy,
.hero-note,
.team-card,
.step-item,
.slot-panel,
.details-panel,
.confirm-item,
.stat-card {
  background: #fcfaf4;
}

.btn {
  background: #6f8468;
  border-color: #61775b;
  color: #ffffff;
}

.btn:hover {
  background: #60765a;
}

.btn-secondary {
  background: #ebe5d8;
  border-color: #cfc6b6;
  color: #485246;
}

.btn-secondary:hover {
  background: #e2dbc9;
}

.btn-linkedin {
  background: #dfe7de;
  border-color: #bdcbb9;
  color: #3f5a44;
}

.btn-linkedin:hover {
  background: #d3ddcf;
}

.team-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.team-card h3 {
  color: #2e3a30 !important;
  font-weight: 700;
}

.team-card .team-serial {
  color: #4d5f4f !important;
  font-weight: 600;
}

.team-card .subtle {
  color: #4b5a4d !important;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.75rem;
}

.qr-preview-wrap {
  margin-top: 0.7rem;
}

.qr-preview {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: #fff;
}

.payment-info {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border: 1px solid #d8d3c6;
  border-radius: 10px;
  background: #f9f6ef;
}

.payment-info h3 {
  margin: 0 0 0.45rem;
}

.payment-list p {
  margin: 0.22rem 0;
}

.confirm-qr {
  margin-top: 0.6rem;
  width: 170px;
  height: 170px;
  object-fit: cover;
  border: 1px solid #d8d3c6;
  border-radius: 8px;
  background: #fff;
}

.dummy-pay-status {
  min-height: 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4f5f4b;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.dummy-pay-status.is-active {
  opacity: 1;
}

@media (max-width: 760px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

.stories-grid .eyebrow,
.mind-facts-grid .eyebrow,
.thoughts-strip .eyebrow {
  color: #5d6860;
}

.fact-card span {
  color: #527154;
}

th {
  color: #4a564d;
  background: #e9e5da;
}

td {
  color: #4c564d;
}

input,
select {
  color: #414b41;
  background: #fffdf9;
}

input::placeholder {
  color: #778077;
}

.date-chip {
  color: #3f4b40;
}

.date-chip span {
  color: #5f6a5f;
}

.date-chip.has-open strong {
  color: #3d5e3d;
}

.date-chip.has-closed strong {
  color: #6c6256;
}

.slot-choice {
  color: #435043;
}

.slot-radio:checked + .slot-choice {
  color: #2f4e33;
}

.badge-open {
  color: #4c6547;
}

.badge-closed {
  color: #6e6458;
}

.client-initial {
  color: #4e5a4d;
}

.confirm-item strong,
.stat-value {
  color: #364138;
}

.tiny a {
  color: #4d6650;
  font-weight: 600;
}

.error {
  color: #8c4747;
}

.success-msg {
  color: #3f6747;
}

@media (max-width: 640px) {
  .team-actions {
    width: 100%;
  }
}

/* ============================================================
   MODERN CLASSY & BOTANICAL ENHANCEMENTS
   ============================================================ */

/* ─── Typography: Playfair Display for headings ─── */
h1, h2 {
  font-family: "Playfair Display", "Cormorant Garamond", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.015em;
}

h3 {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.005em;
}

.brand {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.32rem !important;
  letter-spacing: 0.03em;
  color: #3a4a3c !important;
}

.brand::before {
  content: "✿";
  margin-right: 0.4rem;
  font-size: 1.18rem;
  color: rgba(111, 132, 104, 0.7);
}

/* ─── Nav refinements ─── */
.nav-links a {
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

/* ─── Hero copy enhancement ─── */
.hero-copy {
  background: linear-gradient(165deg, #fefcf8 0%, #f3ede3 100%) !important;
  border-color: #cac1b0 !important;
}

.hero-copy h1 {
  line-height: 1.18;
  font-size: clamp(1.85rem, 2.4vw, 2.6rem) !important;
}

.hero-copy .lead {
  font-size: 1.0rem;
  line-height: 1.72;
  color: #4a5a4c !important;
}

/* Larger, more vibrant floral clusters */
.floral-cluster span:nth-child(1) { background: rgba(130, 172, 134, 0.72) !important; }
.floral-cluster span:nth-child(2) { background: rgba(208, 168, 143, 0.68) !important; }
.floral-cluster span:nth-child(3) { background: rgba(172, 158, 210, 0.64) !important; }
.floral-cluster span:nth-child(4) { background: rgba(148, 192, 154, 0.7) !important; }

.card::before,
.team-card::after,
.hero-note::after,
.eyebrow::before,
.eyebrow::after,
.floral-cluster,
.steps::before {
  opacity: 0.26 !important;
}

/* ─── Eyebrow dots: richer botanical gradient ─── */
.eyebrow {
  letter-spacing: 0.08em !important;
  font-size: 0.78rem !important;
}

.eyebrow::before,
.eyebrow::after {
  background: linear-gradient(145deg, #90b48a, #c9a07a) !important;
  opacity: 1 !important;
  width: 7px !important;
  height: 7px !important;
}

/* ─── Thoughts Strip ─── */
.thoughts-strip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.1rem !important;
  padding: 2.4rem 2rem !important;
  text-align: center;
}

.thoughts-ornament {
  display: block;
  font-size: 1.1rem;
  color: rgba(111, 132, 104, 0.45);
  line-height: 1.4;
}

.thoughts-divider {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 132, 104, 0.35), transparent);
  margin: 0.55rem auto;
}

.thoughts-strip p {
  margin: 0 !important;
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.06rem !important;
  line-height: 1.65 !important;
  color: #2f3b31 !important;
  max-width: 58ch;
  letter-spacing: 0.005em;
}

/* ─── Stories label ─── */
.stories-label {
  text-align: center;
  padding: 0.2rem 0 0;
}

/* ─── Story Cards ─── */
.stories-grid {
  align-items: start;
}

.story-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.7rem;
  padding: 1.65rem 1.5rem 1.45rem !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  min-height: 200px;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(60, 85, 60, 0.16) !important;
}

.stories-grid .story-card:nth-child(2) {
  margin-top: 1.6rem;
}

.story-card::after {
  content: "\201C";
  position: absolute;
  top: -0.6rem;
  right: 0.8rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 6rem;
  color: rgba(111, 132, 104, 0.09);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.story-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.story-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(111, 132, 104, 0.16);
  line-height: 1;
  flex-shrink: 0;
}

blockquote.story-body {
  margin: 0;
  padding: 0 0 0 0.95rem;
  border-left: 2.5px solid rgba(111, 132, 104, 0.38);
  font-style: italic;
  font-family: "Lora", "Palatino Linotype", Georgia, serif;
  font-size: 0.97rem;
  line-height: 1.74;
  color: #2f3b31 !important;
  position: relative;
  z-index: 1;
}

.story-shift {
  margin: auto 0 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.75rem;
  color: #7a9272 !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(111, 132, 104, 0.16);
  position: relative;
  z-index: 1;
}

/* ─── Mind Facts ─── */
.mind-facts-grid {
  gap: 0.9rem !important;
}

.fact-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-left-color 0.22s ease;
  border-left: 3px solid rgba(111, 132, 104, 0.2) !important;
  padding: 1.1rem 1.2rem !important;
}

.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(60, 85, 60, 0.13) !important;
  border-left-color: rgba(111, 132, 104, 0.6) !important;
}

.fact-card p {
  line-height: 1.65 !important;
  color: #344035 !important;
  font-size: 0.93rem;
}

.fact-card span {
  color: #6f8468 !important;
  font-size: 1.05rem;
  margin-right: 0.4rem;
  display: inline-block;
}

/* ─── How It Works Steps ─── */
.steps {
  position: relative;
}

.steps::before {
  content: "" !important;
  position: absolute;
  left: calc(12.5% + 17px);
  right: calc(12.5% + 17px);
  top: 40px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(111, 132, 104, 0.18), rgba(111, 132, 104, 0.42) 50%, rgba(111, 132, 104, 0.18));
  opacity: 1 !important;
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  transition: transform 0.22s ease;
  padding: 1.1rem !important;
}

.step-item:hover {
  transform: translateY(-3px);
}

.step-item > span {
  width: 36px !important;
  height: 36px !important;
  font-size: 0.92rem !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
  background: linear-gradient(145deg, #e4ede0, #d4e4cf) !important;
  color: #3a5a3e !important;
  border: 1.5px solid rgba(111, 132, 104, 0.35) !important;
  box-shadow: 0 3px 10px rgba(111, 132, 104, 0.2) !important;
}

.step-item h3 {
  font-size: 0.98rem !important;
  color: #2f3b31 !important;
  margin-top: 0.5rem;
}

.step-item p {
  color: #4d5a4e !important;
  font-size: 0.88rem;
}

/* ─── Stats Section ─── */
.stat-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  padding: 1.3rem 1.1rem !important;
  border-top: 3px solid rgba(111, 132, 104, 0.2) !important;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(60, 85, 60, 0.14) !important;
}

.stat-value {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  color: #2f3b31 !important;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 0.35rem !important;
}

.stat-label {
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #6f7e6e !important;
  margin: 0 !important;
}

/* ─── Fun Pills ─── */
.light-fun-strip {
  gap: 0.65rem !important;
}

.fun-pill {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem !important;
  padding: 0.55rem 1.05rem !important;
  border-radius: 999px !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
  font-weight: 500;
}

.fun-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(60, 85, 60, 0.12);
}

.fun-pill:nth-child(2n) {
  background: #edf3eb !important;
  border-color: #bfcfbb !important;
  color: #45604a !important;
}

.fun-pill:nth-child(3n) {
  background: #f2ede2 !important;
  border-color: #cfc5b0 !important;
  color: #5a5040 !important;
}

.fun-pill:nth-child(4n) {
  background: #ede9f4 !important;
  border-color: #c8c0d8 !important;
  color: #4f4868 !important;
}

/* ─── Approach Section ─── */
#approach p:not(.eyebrow) {
  font-size: 1.02rem !important;
  line-height: 1.78 !important;
  max-width: 72ch;
  color: #3a4a3c !important;
}

/* ─── Team Cards ─── */
.team-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(60, 85, 60, 0.14) !important;
}

/* ─── Buttons — refined pill shape ─── */
.btn {
  border-radius: 10px !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease !important;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(80, 110, 75, 0.22) !important;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(80, 90, 75, 0.15) !important;
}

/* ─── Footer ─── */
.site-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(226, 218, 202, 0.25) 100%);
}

.footer-wrap {
  position: relative;
}

.footer-wrap p:first-child {
  font-family: "Playfair Display", Georgia, serif !important;
  font-style: italic;
  font-size: 0.95rem !important;
  color: #4a5a4c !important;
}

/* ─── Petal colors: more vivid ─── */
.petal.p1 { background: #b8d4b0 !important; }
.petal.p2 { background: #e8c8a8 !important; }
.petal.p3 { background: #a8c8b8 !important; }
.petal.p4 { background: #d8c0b0 !important; }

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .stories-grid .story-card:nth-child(2) {
    margin-top: 0;
  }
  .steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .story-card::after {
    font-size: 4.5rem;
  }
  .story-num {
    font-size: 2.2rem;
  }
  .stat-value {
    font-size: 1.55rem !important;
  }
  .thoughts-strip p {
    font-size: 0.97rem !important;
  }
}

/* ─── User Memory Banner ─── */
.user-memory-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  background: #edf3eb;
  border: 1px solid #bfcfbb;
  border-radius: 12px;
  border-left: 4px solid #6f8468;
}

.memory-welcome {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.memory-greeting {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
  color: #2f3b31;
  font-style: italic;
}

.memory-greeting strong {
  font-style: normal;
  color: #3a5a3e;
}

.memory-hint {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  color: #5a7060;
}

.memory-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-memory-continue {
  background: #6f8468 !important;
  border-color: #61775b !important;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.88rem !important;
}

.memory-actions .btn-secondary {
  padding: 0.5rem 0.9rem !important;
  font-size: 0.88rem !important;
}

@media (max-width: 640px) {
  .user-memory-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .memory-actions {
    width: 100%;
  }
}

/* ─── User Nav: initials badge + dropdown ─── */
.user-nav {
  position: relative;
  display: inline-block;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #3f4d41;
  line-height: 1;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6f8468;
  color: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.user-nav-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #3f4d41;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-nav-caret {
  font-size: 0.65rem;
  color: #748073;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fcfaf4;
  border: 1px solid #d7d9cb;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(60, 80, 60, 0.14);
  min-width: 155px;
  z-index: 200;
  overflow: hidden;
}

.user-dropdown.open {
  display: block;
}

.user-dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  color: #2f3b31;
  text-decoration: none;
  border-bottom: 1px solid #ece8de;
  transition: background 0.15s ease;
}

.user-dropdown a:last-child {
  border-bottom: none;
}

.user-dropdown a:hover {
  background: #edf3eb;
}

/* admin link slight mute */
.nav-admin-link {
  color: #8a9487 !important;
  font-size: 0.85rem !important;
}

/* ─── User Login Page ─── */
.user-login-shell {
  max-width: 480px;
  margin: 0 auto;
}

.user-login-form {
  margin-top: 1.2rem;
}

/* ─── My Bookings Page ─── */
.mybookings-empty {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

/* ─── Profile Page ─── */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.profile-item {
  background: #f7f4ec;
  border: 1px solid #d7d9cb;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-label {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #748073;
}

.profile-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  color: #2f3b31;
}

.profile-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ─── Admin User Directory actions ─── */
.user-dir-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 640px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .user-nav-name {
    display: none;
  }
  .user-dir-actions {
    flex-direction: column;
    width: 100%;
  }
}

/* =========================================================
   Responsive Patch (Phone First + Tablet)
   UI-only; preserves existing behavior
========================================================= */

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #c8d3c8;
  border-radius: 10px;
  background: #f8f7f2;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #2f3b31;
}

@media (max-width: 1024px) {
  .container {
    width: min(1120px, 94%);
  }

  .hero-surface {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-note {
    width: 100%;
  }

  .team-grid,
  .stories-grid,
  .mind-facts-grid,
  .stats-soft {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-top-controls {
    grid-template-columns: 1fr;
  }

  .sheet-picker,
  .upload-form {
    width: 100%;
  }

  .upload-download-wrap {
    width: 100%;
    align-items: stretch;
  }

  .upload-download-wrap .btn {
    width: 100%;
  }

  .confirm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    backdrop-filter: none;
  }

  .nav-wrap {
    min-height: 68px;
    position: relative;
    gap: 0.75rem;
  }

  .brand {
    font-size: 1rem;
    max-width: calc(100% - 64px);
    line-height: 1.25;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    gap: 0;
    background: #f9f8f4;
    border: 1px solid #d8ddcf;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(47, 53, 56, 0.09);
    padding: 0.35rem 0;
    z-index: 60;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a,
  .nav-links .user-trigger {
    width: 100%;
    text-align: left;
    padding: 0.72rem 0.95rem;
    border-radius: 0;
  }

  .nav-links > a {
    border-bottom: 1px solid #ecefe6;
  }

  .nav-links > a:last-child {
    border-bottom: 0;
  }

  .nav-links .user-nav {
    width: 100%;
    border-bottom: 1px solid #ecefe6;
  }

  .nav-links .user-dropdown {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    padding: 0 0.65rem 0.5rem;
  }

  .nav-links .user-dropdown a {
    border: 1px solid #e5e9dd;
    border-radius: 9px;
    margin-top: 0.35rem;
    background: #fff;
  }

  .main-content {
    padding-top: 1.15rem;
    gap: 1rem;
  }

  .card {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 220px;
  }

  .thoughts-strip {
    gap: 0.65rem;
  }

  .team-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .booking-filter,
  .slot-controls,
  .form-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .booking-filter .btn,
  .slot-controls .btn,
  .booking-submit-row .btn,
  .whatsapp-actions .btn {
    width: 100%;
  }

  .date-range {
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x proximity;
  }

  .date-chip {
    min-width: 92px;
    scroll-snap-align: start;
  }

  .slot-choice {
    min-width: 84px;
  }

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

  .whatsapp-actions {
    grid-template-columns: 1fr;
  }

  .profile-actions .btn {
    width: 100%;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: clamp(1.45rem, 6.8vw, 1.9rem);
    line-height: 1.26;
  }

  h2 {
    font-size: clamp(1.2rem, 5.8vw, 1.55rem);
  }

  p,
  label,
  td,
  th,
  input,
  select,
  textarea,
  .btn {
    font-size: 0.95rem;
  }

  .lead,
  .subtle {
    line-height: 1.55;
  }

  .team-grid,
  .stories-grid,
  .mind-facts-grid,
  .stats-soft,
  .steps {
    grid-template-columns: 1fr;
  }

  .stories-grid {
    gap: 0.8rem;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #d6ddcf;
    background: #fff;
  }

  .slots-table,
  .admin-table,
  .profile-table,
  .table-wrap table {
    min-width: 760px;
  }

  .admin-shell .row-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .admin-actions.top-save,
  .admin-actions {
    position: static;
    width: 100%;
  }

  .admin-actions .btn,
  .row-between .btn,
  .user-dir-actions .btn,
  .user-dir-actions form {
    width: 100%;
  }

  .user-dir-actions form .btn {
    width: 100%;
  }

  .upload-form input[type="file"] {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, 95%);
  }

  .main-content {
    padding-top: 0.95rem;
    padding-bottom: 1.9rem;
  }

  .card {
    padding: 0.95rem;
  }

  .hero-copy {
    padding: 1.1rem;
  }

  .hero-note {
    padding: 0.95rem;
  }

  .hero-actions .btn,
  .booking-submit-row .btn,
  .profile-actions .btn,
  .team-actions .btn,
  .whatsapp-actions .btn,
  .upload-download-wrap .btn {
    width: 100%;
  }

  .date-chip {
    min-width: 86px;
    padding: 0.46rem 0.52rem;
  }

  .confirm-item {
    padding: 0.7rem;
  }

  .payment-list p {
    line-height: 1.45;
  }

  .site-footer {
    padding: 0.95rem 0;
  }
}

/* =========================================================
   Brand Refresh: APT Logo + Cleaner Premium Theme
========================================================= */

:root {
  --apt-bg: #f5f7f4;
  --apt-bg-soft: #eef2ed;
  --apt-surface: #ffffff;
  --apt-ink: #20332a;
  --apt-muted: #4b6357;
  --apt-accent: #446a57;
  --apt-accent-deep: #335243;
  --apt-border: #cfdcd2;
  --apt-shadow: 0 10px 28px rgba(32, 51, 42, 0.08);
}

body {
  background: linear-gradient(180deg, #f8faf7 0%, var(--apt-bg) 45%, #f1f4f0 100%) !important;
  color: var(--apt-ink) !important;
}

.topbar {
  background: rgba(248, 250, 247, 0.95) !important;
  border-bottom: 1px solid var(--apt-border) !important;
}

.brand::before {
  display: none !important;
}

.brand.brand-apt {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--apt-ink) !important;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.apt-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid #b6ccbc;
  background: linear-gradient(155deg, #f6faf5, #e8efe8 56%, #e2ebe2);
  color: var(--apt-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 18px rgba(45, 79, 63, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.apt-logo-mark .apt-logo-image {
  width: 31px;
  height: 31px;
  object-fit: contain;
  display: block;
}

.apt-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
}

.apt-logo-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.apt-logo-text small {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--apt-muted);
  letter-spacing: 0.11em;
}

.brand.brand-apt:hover .apt-logo-mark {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(40, 72, 57, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-links a {
  color: #2b4338 !important;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--apt-accent-deep) !important;
}

.card {
  background: var(--apt-surface) !important;
  border: 1px solid var(--apt-border) !important;
  box-shadow: var(--apt-shadow) !important;
}

.card::before,
.floral-cluster,
.thoughts-ornament {
  display: none !important;
}

.hero-copy,
.hero-note,
.team-card,
.step-item,
.stat-card,
.story-card,
.fact-card,
.confirm-item {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf8 100%) !important;
  border: 1px solid var(--apt-border) !important;
  box-shadow: 0 8px 20px rgba(33, 54, 45, 0.08) !important;
}

.thoughts-strip,
.light-fun-strip {
  background: linear-gradient(180deg, #f3f7f3 0%, #eef4ef 100%) !important;
  border: 1px solid #cdd9cf !important;
}

h1,
h2,
h3 {
  color: #203429 !important;
}

.lead,
.subtle,
label,
td,
th,
p {
  color: #2f4a3d;
}

.btn {
  background: #3f6653 !important;
  border: 1px solid #355947 !important;
  color: #f8fbf9 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(50, 86, 68, 0.2) !important;
}

.btn:hover {
  background: #345844 !important;
  box-shadow: 0 6px 18px rgba(45, 80, 63, 0.24) !important;
}

.btn-secondary {
  background: #eff4ef !important;
  border: 1px solid #b8cabb !important;
  color: #2a4639 !important;
  box-shadow: none !important;
}

.btn-secondary:hover {
  background: #e4ece6 !important;
}

.site-footer {
  border-top: 1px solid var(--apt-border) !important;
  background: linear-gradient(180deg, #f4f7f3 0%, #eef3ee 100%) !important;
}

.footer-wrap p:first-child {
  color: var(--apt-accent-deep) !important;
  font-style: normal !important;
  font-weight: 700;
}

@media (max-width: 700px) {
  .apt-logo-mark {
    width: 38px;
    height: 38px;
  }

  .apt-logo-mark .apt-logo-image {
    width: 26px;
    height: 26px;
  }

  .apt-logo-text strong {
    font-size: 0.8rem;
  }

  .apt-logo-text small {
    font-size: 0.53rem;
  }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE
   ============================================================ */

/* ─── Hamburger button: base (hidden on desktop) ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  padding: 6px;
  background: none;
  border: 1.5px solid rgba(111, 132, 104, 0.32);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #3a4a3c;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Tablet (≤980px) ─── */
@media (max-width: 980px) {
  .hero-surface,
  .booking-form,
  .section-grid,
  .admin-top-controls {
    grid-template-columns: 1fr !important;
  }

  .steps,
  .stats-soft,
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stories-grid,
  .mind-facts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stories-grid .story-card:nth-child(2) {
    margin-top: 0 !important;
  }

  .steps::before {
    display: none !important;
  }
}

/* ─── Mobile nav: hamburger pattern (≤768px) ─── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
    min-height: 60px !important;
    padding: 0.5rem 0 !important;
    gap: 0;
  }

  .brand {
    flex: 1;
    font-size: 1.15rem !important;
  }

  /* Hide nav by default; show toggle */
  .nav-links {
    display: none !important;
    width: 100%;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0.3rem 0 0.6rem !important;
    margin-top: 0.4rem;
    border-top: 1px solid #ddd8cc;
    order: 3;
  }

  .nav-links.open {
    display: flex !important;
  }

  /* Nav items as stacked rows */
  .nav-links > a,
  .nav-links > .nav-admin-link {
    display: block;
    padding: 0.68rem 0.2rem !important;
    border-bottom: 1px solid #ede9df !important;
    font-size: 0.95rem !important;
    color: #2f3b31 !important;
    font-weight: 500 !important;
  }

  .nav-links > a:last-child {
    border-bottom: none !important;
  }

  /* User nav in mobile menu: flat, full-width */
  .user-nav {
    width: 100%;
    display: block !important;
    position: static !important;
    padding: 0 !important;
    border-bottom: 1px solid #ede9df;
  }

  .user-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 0.68rem 0.2rem;
  }

  .user-nav-name {
    max-width: none !important;
    flex: 1;
  }

  /* Dropdown becomes inline on mobile */
  .user-dropdown {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    min-width: 0 !important;
    padding-left: 2rem;
    display: none;
  }

  .user-dropdown.open {
    display: block !important;
  }

  .user-dropdown a {
    padding: 0.45rem 0 !important;
    border-bottom: none !important;
    font-size: 0.88rem !important;
    color: #5a7060 !important;
  }

  .user-dropdown a:hover {
    background: none !important;
    text-decoration: underline;
  }
}

/* ─── Mobile: general layout (≤640px) ─── */
@media (max-width: 640px) {
  .container {
    width: 100%;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    box-sizing: border-box;
  }

  .main-content {
    padding: 1rem 0 2rem !important;
    gap: 0.8rem !important;
  }

  .card,
  .hero-copy,
  .hero-note,
  .slot-panel,
  .details-panel {
    padding: 1rem !important;
    border-radius: 14px !important;
  }

  h1 {
    font-size: clamp(1.4rem, 5vw, 1.75rem) !important;
    line-height: 1.22 !important;
  }

  h2 {
    font-size: clamp(1.2rem, 4vw, 1.45rem) !important;
  }

  h3 {
    font-size: 0.97rem !important;
  }

  /* One column for all grids */
  .steps,
  .stats-soft,
  .team-grid,
  .stories-grid,
  .mind-facts-grid {
    grid-template-columns: 1fr !important;
  }

  /* Story card tweaks */
  .story-card::after {
    font-size: 4rem;
  }
  .story-num {
    font-size: 2rem;
  }

  /* Stats */
  .stat-value {
    font-size: 1.6rem !important;
  }

  /* Thoughts */
  .thoughts-strip {
    padding: 1.4rem 1rem !important;
  }
  .thoughts-strip p {
    font-size: 0.95rem !important;
  }

  /* Fun pills: slightly smaller */
  .fun-pill {
    font-size: 0.82rem !important;
    padding: 0.44rem 0.8rem !important;
  }

  /* Footer */
  .site-footer {
    padding: 0.8rem 0 1.2rem;
  }

  .footer-wrap {
    flex-direction: column !important;
    gap: 0.25rem !important;
  }

  /* Profile grid: 1 col */
  .profile-grid {
    grid-template-columns: 1fr !important;
  }

  /* Admin top controls */
  .admin-top-controls {
    grid-template-columns: 1fr !important;
  }

  .sheet-picker,
  .upload-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sheet-picker label,
  .upload-form label {
    min-width: 0 !important;
  }

  .user-dir-actions {
    flex-direction: column;
    width: 100%;
  }

  .user-dir-actions a,
  .user-dir-actions button {
    width: 100%;
    text-align: center;
  }
}

/* ─── Slot table: mobile card-style (≤600px) ─── */
@media (max-width: 600px) {
  /* Remove wide min-width so table fits */
  .slots-table {
    min-width: 0 !important;
  }

  /* Hide: Day (col 2), Therapist (col 5), Client (col 7) */
  .slots-table th:nth-child(2),
  .slots-table td:nth-child(2),
  .slots-table th:nth-child(5),
  .slots-table td:nth-child(5),
  .slots-table th:nth-child(7),
  .slots-table td:nth-child(7) {
    display: none !important;
  }

  /* Tighten remaining columns */
  .slots-table th,
  .slots-table td {
    padding: 0.5rem 0.3rem !important;
    font-size: 0.82rem !important;
  }

  /* Date column — slightly bolder */
  .slots-table td:nth-child(3) {
    font-weight: 600;
    color: #2f3b31;
  }

  /* Slot time — green tint */
  .slots-table td:nth-child(4) {
    color: #6f8468;
  }

  /* Choose cell: tighter */
  .slot-pick-cell {
    min-width: 56px !important;
  }

  .slot-choice {
    width: 56px !important;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.25rem !important;
  }

  /* Date chips: smaller */
  .date-chip {
    min-width: 64px !important;
    min-height: 48px !important;
    padding: 0.3rem 0.35rem !important;
  }

  .date-chip span {
    font-size: 0.68rem !important;
  }

  .date-chip strong {
    font-size: 0.75rem !important;
  }

  /* Slot controls filter */
  .booking-filter {
    flex-direction: column;
    gap: 0.5rem;
  }

  .slot-controls label {
    max-width: 100% !important;
  }
}

/* ─── My Bookings table: mobile (≤600px) ─── */
@media (max-width: 600px) {
  .my-bookings-table {
    min-width: 0 !important;
  }

  /* Hide Calendar column (col 4) */
  .my-bookings-table th:nth-child(4),
  .my-bookings-table td:nth-child(4) {
    display: none !important;
  }

  .my-bookings-table th,
  .my-bookings-table td {
    padding: 0.48rem 0.3rem !important;
    font-size: 0.83rem !important;
  }
}

/* ─── Booking confirmation (≤600px) ─── */
@media (max-width: 600px) {
  .confirm-grid {
    grid-template-columns: 1fr !important;
  }

  .payment-grid {
    grid-template-columns: 1fr !important;
  }

  .whatsapp-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .whatsapp-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ─── Very small screens (≤400px) ─── */
@media (max-width: 400px) {
  .slot-choice {
    width: 48px !important;
    font-size: 0.7rem !important;
  }

  .date-chip {
    min-width: 56px !important;
  }

  .btn {
    font-size: 0.87rem !important;
    padding: 0.6rem 0.85rem !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ─── Therapist Avatar & Image ─── */
.therapist-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 0 0.75rem 0;
  flex-shrink: 0;
  border: 2px solid rgba(111, 132, 104, 0.28);
  background: linear-gradient(145deg, #e4ede0, #d4e4cf);
  display: flex;
  align-items: center;
  justify-content: center;
}

.therapist-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.therapist-initials {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #3a5a3e;
  line-height: 1;
  user-select: none;
}

/* Slightly larger avatar on team card hover */
.team-card:hover .therapist-avatar-wrap {
  border-color: rgba(111, 132, 104, 0.55);
  box-shadow: 0 4px 14px rgba(60, 90, 60, 0.14);
}

/* ─── View Profile button ─── */
.btn-linked-profile {
  background: #dfe7de !important;
  border-color: #bdcbb9 !important;
  color: #3f5a44 !important;
}

.btn-linked-profile:hover {
  background: #d3ddcf !important;
}

/* ─── Admin: therapist thumbnail in table ─── */
.admin-therapist-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #d7d3c4;
  display: block;
}

.profile-img-cell {
  min-width: 140px;
}

.profile-table {
  min-width: 1100px;
}

/* ─── Team card: layout update for avatar ─── */
.team-card {
  display: flex;
  flex-direction: column;
}

.team-card .team-actions {
  margin-top: auto;
  padding-top: 0.6rem;
}

/* ─── Mobile: avatar sizing ─── */
@media (max-width: 640px) {
  .therapist-avatar-wrap {
    width: 60px;
    height: 60px;
  }

  .therapist-initials {
    font-size: 1.35rem;
  }
}

/* ─── WhatsApp floating button ─── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.1rem 0.65rem 0.85rem;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  letter-spacing: 0.01em;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.48);
  color: #fff;
}

.wa-float svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: #fff;
}

@media (max-width: 480px) {
  .wa-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 0.9rem 0.6rem 0.75rem;
    font-size: 0.82rem;
  }
}

/* ─── About page ─── */
.about-hero {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.6rem;
}

.about-body {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-body p {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--text);
}

.about-belief {
  font-style: italic;
  font-size: 1.08rem !important;
  color: #4a5e48 !important;
  border-left: 3px solid rgba(111, 132, 104, 0.45);
  padding-left: 1rem;
  margin: 0.5rem 0;
}

.about-why-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

.about-why-list li::before {
  content: "✦";
  color: rgba(111, 132, 104, 0.7);
  font-size: 0.75rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* ─── Nav Contact button ─── */
.nav-contact-btn {
  color: #3a7d44 !important;
  font-weight: 600 !important;
  border: 1.5px solid rgba(58, 125, 68, 0.35);
  border-radius: 20px;
  padding: 0.28rem 0.85rem !important;
  transition: background 0.18s, border-color 0.18s;
}

.nav-contact-btn:hover {
  background: rgba(58, 125, 68, 0.08);
  border-color: rgba(58, 125, 68, 0.6);
}

/* ─── Mobile: compact hero + bigger therapist cards ─── */
@media (max-width: 640px) {
  /* Tighter hero so it doesn't dominate the screen */
  .hero-copy {
    padding: 1rem 1rem 0.9rem !important;
  }

  .hero-copy h1 {
    font-size: clamp(1.25rem, 5.5vw, 1.55rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-copy .lead {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.6rem !important;
  }

  .hero-actions {
    gap: 0.5rem !important;
    margin-top: 0.5rem !important;
  }

  .hero-actions .btn {
    padding: 0.55rem 1rem !important;
    font-size: 0.87rem !important;
  }

  .hero-note {
    padding: 0.75rem 1rem !important;
  }

  .hero-note h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.2rem !important;
  }

  .hero-note p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  /* Bigger therapist cards on mobile */
  .team-card {
    padding: 1.4rem 1.2rem !important;
  }

  .therapist-avatar-wrap {
    width: 88px !important;
    height: 88px !important;
    margin-bottom: 0.9rem !important;
  }

  .therapist-initials {
    font-size: 2rem !important;
  }

  .team-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.3rem !important;
  }

  .team-card .subtle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  .team-card .team-actions {
    gap: 0.6rem !important;
    margin-top: 1rem !important;
  }

  .team-card .btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ─── Google Sign-in nav button ─── */
.nav-signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #3a7d44 !important;
  border: 1.5px solid rgba(58,125,68,0.35);
  border-radius: 20px;
  padding: 0.28rem 0.9rem !important;
  transition: background 0.18s, border-color 0.18s;
  text-decoration: none;
}
.nav-signin-btn:hover {
  background: rgba(58,125,68,0.08);
  border-color: rgba(58,125,68,0.6);
}

/* ─── User avatar (Google picture) in navbar ─── */
.user-avatar-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ─── Booking status badges ─── */
.booking-status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.18rem 0.6rem;
  border-radius: 12px;
}
.status-confirmed {
  background: #e4f0e4;
  color: #2e6b30;
}
.status-open {
  background: #fdf3e4;
  color: #8a6120;
}

/* ─── Booking banner: login warning variant ─── */
.user-memory-warn {
  border-left-color: #c0832a !important;
  background: #fdf6ec !important;
}
.user-memory-warn a {
  color: #c0832a;
  font-weight: 600;
}


/* ─── Instagram Slider Section ─── */
.insta-section { overflow: hidden; }

.insta-slider-wrap {
  position: relative;
  margin-top: 1.4rem;
}

.insta-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  padding-bottom: 0.25rem;
  touch-action: pan-x;
  cursor: grab;
}
.insta-track::-webkit-scrollbar { display: none; }
.insta-track.is-dragging { cursor: grabbing; user-select: none; }

.insta-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: calc((100% - 2rem) / 3);
  width: calc((100% - 2rem) / 3);
  box-sizing: border-box;
}

.insta-slide .instagram-media {
  border-radius: 12px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.insta-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border, #ddd);
  background: var(--card, #fff);
  color: var(--text, #333);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s;
  padding: 0;
}
.insta-arrow:hover {
  background: var(--surface, #f5f0eb);
  border-color: var(--accent, #b98a72);
}

.insta-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.insta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border, #d6cec6);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: 0;
  padding: 0;
}
.insta-dot.active {
  background: var(--accent, #b98a72);
  transform: scale(1.3);
}

/* Admin row for dynamic insta post inputs */
.insta-admin-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.insta-admin-row input { flex: 1; }
.insta-remove-btn { padding: 0.35rem 0.6rem !important; font-size: 0.8rem !important; }
.insta-preview-btn { padding: 0.35rem 0.6rem !important; font-size: 0.8rem !important; white-space: nowrap; }

@media (max-width: 767px) {
  .insta-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
  }
  .insta-track { cursor: auto; }
  .insta-admin-row { flex-wrap: wrap; }
}

/* ════════════════════════════════════════════════════════════
   MAANSIK · MINIMAL PREMIUM DESIGN SYSTEM
   Final override — wins cascade over all previous theme blocks
   Background: #E8E5E0  |  Text: #111111  |  Cards: #FFFFFF
   Fonts: Poppins (headings) · Inter (body)
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #E8E5E0;
  --surface: #EDEAE5;
  --card: #FFFFFF;
  --text: #111111;
  --muted: #6B6B6B;
  --accent: #111111;
  --accent-deep: #222222;
  --blue-grey: #6B6B6B;
  --border: #D4D0CA;
  --shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  --error: #CC3333;
}

html body {
  font-family: 'Inter', 'Open Sans', system-ui, -apple-system, sans-serif !important;
  background: #E8E5E0 !important;
  color: #111111 !important;
}

body::before, body::after { display: none !important; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Montserrat', system-ui, sans-serif !important;
  color: #111111 !important;
  text-shadow: none !important;
}

.brand {
  font-family: 'Poppins', system-ui, sans-serif !important;
  color: #111111 !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  font-size: 1.08rem !important;
  text-shadow: none !important;
}

.eyebrow {
  font-family: 'Poppins', system-ui, sans-serif !important;
  color: #6B6B6B !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  text-shadow: none !important;
}
.eyebrow::before, .eyebrow::after { display: none !important; }

.subtle, .lead, .stat-label, .footer-wrap p,
.team-serial, .role, .step-item p, .story-card p:last-child,
.fact-card p, .thoughts-strip p, .fun-pill {
  color: #6B6B6B !important;
}

/* ── Navbar ──────────────────────────────────────────────── */
.topbar {
  background: rgba(232, 229, 224, 0.97) !important;
  border-bottom: 1px solid #D4D0CA !important;
  box-shadow: none !important;
}

.nav-links a { color: #6B6B6B !important; text-shadow: none !important; }
.nav-links a:hover { color: #111111 !important; }

.nav-contact-btn, .nav-signin-btn {
  background: #111111 !important;
  color: #FFFFFF !important;
  border-color: #111111 !important;
}
.nav-contact-btn:hover, .nav-signin-btn:hover {
  background: #2A2A2A !important;
  color: #FFFFFF !important;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #111111 !important;
  border-radius: 8px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.btn:hover { background: #2A2A2A !important; box-shadow: none !important; }

.btn-secondary {
  background: transparent !important;
  color: #111111 !important;
  border: 1.5px solid #111111 !important;
}
.btn-secondary:hover { background: rgba(17,17,17,0.06) !important; }

.home-foam .btn { border-radius: 8px !important; }
.home-foam .btn.btn-secondary { background: transparent !important; }

/* ── Cards ───────────────────────────────────────────────── */
.card, .hero-copy, .hero-note, .team-card, .step-item,
.slot-panel, .details-panel, .confirm-item, .stat-card,
.booking-filter, .home-foam .foam-panel, .admin-shell {
  background: #FFFFFF !important;
  border: 1px solid #E2DED8 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
  backdrop-filter: none !important;
}

.card::before, .team-card::after, .hero-note::after { display: none !important; }

.card-lite { background: #F5F2EE !important; border: 1px solid #E2DED8 !important; }

/* ── Hero — centered ─────────────────────────────────────── */
.hero-surface {
  grid-template-columns: 1fr !important;
  text-align: center !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.hero-copy {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 3rem 1rem !important;
  text-align: center !important;
}
.hero-note { display: none !important; }
.hero-actions { justify-content: center !important; }
.lead { margin-left: auto !important; margin-right: auto !important; }
.floral-cluster { display: none !important; }

/* ── Homepage section spacing ────────────────────────────── */
.home-foam { gap: 1.8rem !important; }
.main-content { padding: 3rem 0 4.5rem !important; gap: 1.8rem !important; }

.foam-panel {
  background: #FFFFFF !important;
  padding: 2.8rem 2.2rem !important;
  text-align: center !important;
}
.foam-panel h2 {
  max-width: 580px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.foam-panel > p {
  max-width: 65ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home-foam .foam-panel { background: #FFFFFF !important; border-color: #E2DED8 !important; }
.home-foam .team-card {
  background: #FFFFFF !important;
  border: 1px solid #E2DED8 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}
.home-foam .team-card h3 { color: #111111 !important; text-shadow: none !important; }
.step-item h3 { color: #111111 !important; text-shadow: none !important; }

/* ── Step numbers ────────────────────────────────────────── */
.step-item span {
  background: #111111 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
.steps::before { display: none !important; }

/* ── Stat cards ──────────────────────────────────────────── */
.stat-value {
  font-family: 'Poppins', system-ui, sans-serif !important;
  color: #111111 !important;
}

/* ── Avatars ─────────────────────────────────────────────── */
.therapist-initials, .user-badge, .avatar {
  background: #E8E5E0 !important;
  color: #111111 !important;
  border: 1px solid #D4D0CA !important;
  box-shadow: none !important;
}

/* ── Forms & Inputs ──────────────────────────────────────── */
input, select, textarea {
  background: #FFFFFF !important;
  border: 1px solid #D4D0CA !important;
  color: #111111 !important;
  border-radius: 8px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}
input::placeholder, textarea::placeholder { color: #AAAAAA !important; }
input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: #111111 !important;
  box-shadow: 0 0 0 2px rgba(17,17,17,0.08) !important;
}
label {
  font-family: 'Inter', system-ui, sans-serif !important;
  color: #4A4A4A !important;
}

/* ── Tables ──────────────────────────────────────────────── */
th {
  color: #6B6B6B !important;
  background: transparent !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  text-shadow: none !important;
}
th, td { border-bottom: 1px solid #EBEBEA !important; }

/* ── Booking date chips ───────────────────────────────────── */
.date-chip {
  background: #FFFFFF !important;
  border: 1px solid #D4D0CA !important;
  color: #111111 !important;
  box-shadow: none !important;
}
.date-chip span { color: #6B6B6B !important; }
.date-chip strong { color: #111111 !important; }
.date-chip.active {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #FFFFFF !important;
  transform: none !important;
  box-shadow: none !important;
}
.date-chip.active span, .date-chip.active strong { color: #FFFFFF !important; }
.date-chip.has-open { border-color: #C4C0BA !important; background: #F5F2EE !important; }
.date-chip.has-open strong { color: #111111 !important; }
.date-chip.has-open.active { background: #111111 !important; border-color: #111111 !important; color: #FFFFFF !important; }
.date-chip.has-closed { border-color: #E2DED8 !important; background: #FAFAFA !important; color: #AAAAAA !important; }
.date-chip.has-closed strong { color: #AAAAAA !important; }

/* ── Badges ──────────────────────────────────────────────── */
.badge-open {
  background: #E8E5E0 !important;
  color: #333333 !important;
  border: 1px solid #D4D0CA !important;
}
.badge-closed {
  background: #F0EDEA !important;
  color: #888888 !important;
  border: 1px solid #E0DCDA !important;
}
.client-initial {
  background: #E8E5E0 !important;
  border-color: #D4D0CA !important;
  color: #111111 !important;
}

/* ── Confirm items ───────────────────────────────────────── */
.confirm-item span { color: #6B6B6B !important; }
.confirm-item strong { color: #111111 !important; }

/* ── Stories section ─────────────────────────────────────── */
.story-card { background: #FFFFFF !important; border-color: #E2DED8 !important; }
.story-shift { color: #6B6B6B !important; }
.stories-label p { color: #6B6B6B !important; }

/* ── Thoughts strip ──────────────────────────────────────── */
.thoughts-strip { text-align: center !important; }
.thoughts-strip p { color: #6B6B6B !important; }
.thoughts-ornament, .thoughts-divider { opacity: 0.3 !important; }

/* ── Mind facts & fun pills ──────────────────────────────── */
.fact-card { background: #FFFFFF !important; border-color: #E2DED8 !important; }
.fact-card p { color: #6B6B6B !important; }
.fun-pill {
  background: #FFFFFF !important;
  border: 1px solid #E2DED8 !important;
  color: #6B6B6B !important;
  box-shadow: none !important;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #111111 !important; border-top: none !important; }
.footer-wrap p { color: rgba(255,255,255,0.6) !important; }

/* ── Status messages ─────────────────────────────────────── */
.error { color: #CC3333 !important; }
.success-msg { color: #2A6B3A !important; }

/* ── User dropdown ───────────────────────────────────────── */
.user-dropdown {
  background: #FFFFFF !important;
  border-color: #E2DED8 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}
.user-dropdown a { color: #111111 !important; }
.user-dropdown a:hover { background: #F5F2EE !important; }
.user-trigger { border-color: #D4D0CA !important; background: transparent !important; color: #111111 !important; }

/* ── Booking status badges ───────────────────────────────── */
.status-confirmed { background: #E8E5E0 !important; color: #2A5A30 !important; }
.status-open { background: #F5F2EE !important; color: #7A5A1A !important; }
.user-memory-warn { border-left-color: #111111 !important; background: #F5F2EE !important; }
.user-memory-warn a { color: #111111 !important; }

/* ── WhatsApp float ──────────────────────────────────────── */
.wa-float { background: #111111 !important; }
.wa-float:hover { background: #2A2A2A !important; }

/* ── Instagram section ───────────────────────────────────── */
.insta-arrow { background: #FFFFFF !important; border-color: #D4D0CA !important; color: #111111 !important; }
.insta-arrow:hover { background: #F5F2EE !important; border-color: #111111 !important; }
.insta-dot { background: #D4D0CA !important; }
.insta-dot.active { background: #111111 !important; }

/* ── Petal colors — warm neutral ─────────────────────────── */
.petal.p1 { background: rgba(180, 172, 162, 0.72) !important; }
.petal.p2 { background: rgba(160, 155, 148, 0.72) !important; }
.petal.p3 { background: rgba(200, 193, 184, 0.72) !important; }
.petal.p4 { background: rgba(170, 163, 153, 0.72) !important; }

/* ── Tiny links in admin ─────────────────────────────────── */
.tiny a { color: #111111 !important; }

/* ── Stat card hover ─────────────────────────────────────── */
.stat-card:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 14px rgba(0,0,0,0.08) !important; }

/* ── Mobile overrides ────────────────────────────────────── */
@media (max-width: 640px) {
  .card, .hero-copy { padding: 1.6rem 1.2rem !important; }
  .foam-panel { padding: 2rem 1.2rem !important; }
  h1 { font-size: clamp(1.55rem, 6vw, 2rem) !important; }
}

/* â”€â”€ Rocky booking assistant â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rocky-widget {
  position: fixed;
  right: 1.1rem;
  bottom: 5.2rem;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  pointer-events: none;
}

.rocky-launcher,
.rocky-panel,
.rocky-close,
.rocky-send,
.rocky-chip,
.rocky-slot-btn,
.rocky-book-btn,
.rocky-wa-btn,
.rocky-payment-btn {
  pointer-events: auto;
}

.rocky-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.95rem 0.72rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #171717, #0d0d0d);
  color: #f6f6f6;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  min-width: 0;
}

.rocky-launcher:hover { transform: translateY(-1px); }

.rocky-launcher-badge,
.rocky-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #2d2d2d, #111111);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rocky-launcher-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.rocky-launcher-text strong,
.rocky-panel-brand strong {
  font-family: 'Poppins', system-ui, sans-serif !important;
  font-size: 0.94rem;
  color: #ffffff !important;
}

.rocky-launcher-text small,
.rocky-panel-brand small {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.72rem;
  margin-top: 0.12rem;
}

.rocky-panel {
  width: min(24.5rem, calc(100vw - 2rem));
  max-height: min(36rem, calc(100vh - 8rem));
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.rocky-widget.is-open .rocky-panel { display: flex; animation: rockyPanelIn 180ms ease-out; }
.rocky-widget.is-open .rocky-launcher { transform: scale(0.99); }

.rocky-chat-container {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.rocky-chat-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.rocky-chat-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #ececec;
}

.rocky-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rocky-panel-brand {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.rocky-avatar {
  width: 2.4rem;
  height: 2.4rem;
  background: linear-gradient(180deg, #2f2f2f, #111111);
  color: #ffffff;
}

.rocky-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.rocky-messages {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.65rem;
  padding: 1rem;
  overflow: visible;
  scroll-behavior: smooth;
}

.rocky-bubble {
  max-width: 76%;
  padding: 0.7rem 0.86rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.42;
  white-space: pre-line;
  animation: rockyBubbleIn 180ms ease-out;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
}

.rocky-bubble.bot,
.rocky-bubble.system {
  background: #f1f1f1;
  color: #121212;
  border: 1px solid #e6e6e6;
  align-self: flex-start;
  border-top-left-radius: 8px;
}

.rocky-bubble.user {
  background: #111111;
  color: #ffffff;
  font-weight: 600;
  align-self: flex-end;
  border-top-right-radius: 8px;
}

.rocky-bubble.muted {
  color: rgba(18, 18, 18, 0.62);
}

.rocky-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.75rem 1rem 0.9rem;
  flex: 0 0 auto;
}

.rocky-chip,
.rocky-send,
.rocky-book-btn,
.rocky-wa-btn,
.rocky-payment-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, background 0.16s ease;
}

.rocky-chip {
  padding: 0.62rem 0.85rem;
  background: #f5f5f5;
  color: #181818;
  border: 1px solid #e8e8e8;
  font-size: 0.84rem;
}

.rocky-chip:hover,
.rocky-send:hover,
.rocky-slot-btn:hover,
.rocky-book-btn:hover,
.rocky-wa-btn:hover,
.rocky-payment-btn:hover {
  transform: translateY(-1px);
}

.rocky-chip:focus-visible,
.rocky-send:focus-visible,
.rocky-slot-btn:focus-visible,
.rocky-book-btn:focus-visible,
.rocky-wa-btn:focus-visible,
.rocky-payment-btn:focus-visible,
.rocky-launcher:focus-visible,
.rocky-close:focus-visible,
.rocky-input:focus-visible {
  outline: 2px solid #7cff9e;
  outline-offset: 2px;
}

.rocky-composer {
  display: none;
  gap: 0.6rem;
  padding: 0 1rem 1rem;
  flex: 0 0 auto;
}

.rocky-widget.is-date-mode .rocky-composer {
  display: flex;
}

.rocky-input {
  flex: 1;
  min-width: 0;
  background: #ffffff !important;
  border: 1px solid #d9d9d9 !important;
  color: #171717 !important;
  border-radius: 999px !important;
  padding: 0.82rem 1rem !important;
  box-shadow: none !important;
}

.rocky-input::placeholder { color: rgba(17, 17, 17, 0.5) !important; }

.rocky-send {
  padding: 0.82rem 1rem;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.rocky-send:disabled,
.rocky-chip:disabled,
.rocky-slot-btn:disabled,
.rocky-book-btn:disabled,
.rocky-wa-btn:disabled,
.rocky-payment-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none !important;
}

.rocky-slot-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.rocky-otp-wrap {
  display: flex;
  gap: 0.35rem;
  width: 100%;
  justify-content: space-between;
}

.rocky-otp-digit {
  width: 2.05rem;
  height: 2.45rem;
  border-radius: 10px;
  border: 1px solid #d7d7d7;
  background: #ffffff;
  color: #111111;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.rocky-otp-digit:focus {
  border-color: #111111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.rocky-slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rocky-slot-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.72rem 0.85rem;
  border-radius: 16px;
  font-size: 0.84rem;
  line-height: 1.12;
  border: 1px solid transparent;
  min-width: 8.5rem;
}

.rocky-slot-btn.is-open {
  background: linear-gradient(180deg, #3a8d5f, #2f6f4a);
  color: #f5fff7;
  box-shadow: 0 10px 18px rgba(47, 111, 74, 0.2);
}

.rocky-slot-btn.is-full {
  background: rgba(194, 53, 53, 0.18);
  color: #ffb8b8;
  border-color: rgba(194, 53, 53, 0.24);
}

.rocky-slot-btn.is-low {
  animation: rockyPulse 1.8s ease-in-out infinite;
}

.rocky-slot-meta {
  font-size: 0.73rem;
  opacity: 0.82;
}

.rocky-slot-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.68rem;
  font-weight: 700;
}

.rocky-summary {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.15rem;
}

.rocky-summary-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

.rocky-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: #f7f7f7;
}

.rocky-summary-row span {
  color: rgba(18, 18, 18, 0.66);
  font-size: 0.76rem;
}

.rocky-summary-row strong {
  color: #111111;
  font-size: 0.88rem;
  text-align: right;
}

.rocky-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rocky-book-btn,
.rocky-wa-btn,
.rocky-payment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.9rem;
  font-size: 0.84rem;
  text-decoration: none;
}

.rocky-book-btn {
  background: #111111;
  color: #ffffff;
}

.rocky-wa-btn {
  background: #2f8f53;
  color: #f7fff9;
}

.rocky-payment-btn {
  background: #f6f6f6;
  color: #111111;
  border: 1px solid #dfdfdf;
}

.rocky-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #404040;
}

.rocky-typing-text {
  font-size: 0.78rem;
  margin-right: 0.2rem;
}

.rocky-typing-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #9b9b9b;
  animation: rockyDot 1s infinite ease-in-out;
}

.rocky-typing-dot:nth-child(3) { animation-delay: 0.14s; }
.rocky-typing-dot:nth-child(4) { animation-delay: 0.28s; }

@keyframes rockyBubbleIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rockyPanelIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rockyPulse {
  0%, 100% { box-shadow: 0 10px 18px rgba(47, 111, 74, 0.2); }
  50% { box-shadow: 0 14px 24px rgba(47, 111, 74, 0.32); }
}

@keyframes rockyDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-3px); opacity: 1; }
}

@media (max-width: 640px) {
  .rocky-widget {
    right: 0.8rem;
    bottom: 4.8rem;
  }

  .rocky-launcher {
    padding: 0.7rem 0.8rem;
  }

  .rocky-launcher-text small { display: none; }

  .rocky-panel {
    width: min(22.5rem, calc(100vw - 1rem));
    max-height: min(34rem, calc(100vh - 7.4rem));
  }

  .rocky-slot-btn {
    min-width: 0;
    flex: 1 1 calc(50% - 0.55rem);
  }
}

@media (max-width: 900px) {
  body.maniac-open-mobile {
    overflow: hidden;
  }

  .rocky-widget.is-open {
    inset: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    align-items: stretch;
  }

  .rocky-widget.is-open .rocky-launcher {
    display: none;
  }

  .rocky-widget.is-open .rocky-panel {
    display: flex;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .rocky-widget.is-open .rocky-chat-container {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }

  .rocky-widget.is-open .rocky-chat-body {
    flex: 1 1 auto;
    min-height: 0;
  }

  .rocky-widget.is-open .rocky-messages { padding-bottom: 0.8rem; }

  .rocky-widget.is-open .rocky-panel-head {
    padding-top: max(0.95rem, env(safe-area-inset-top));
  }

  .rocky-widget.is-open .rocky-chat-footer,
  .rocky-widget.is-open .rocky-actions,
  .rocky-widget.is-open .rocky-composer {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .rocky-widget.is-open .rocky-chip,
  .rocky-widget.is-open .rocky-book-btn,
  .rocky-widget.is-open .rocky-payment-btn,
  .rocky-widget.is-open .rocky-send {
    min-height: 44px;
  }

  .rocky-widget.is-open .rocky-chat-footer {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #ececec;
    padding-bottom: max(0.4rem, env(safe-area-inset-bottom));
  }

  .rocky-widget.is-open .rocky-composer {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .rocky-widget.is-open .rocky-bubble {
    max-width: 84%;
  }

  .rocky-widget.is-open .rocky-otp-digit {
    width: 2rem;
    height: 2.35rem;
  }
}

/* â”€â”€ Booking slot state overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.date-chip.has-open {
  background: rgba(63, 174, 90, 0.12) !important;
  border-color: rgba(63, 174, 90, 0.35) !important;
  color: #3FAE5A !important;
}
.date-chip.has-open strong {
  color: #3FAE5A !important;
}

/* ── Compact profile banner on booking page ─────────────────────────────── */
.profile-compact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #d8ddd4;
  border-radius: 10px;
  background: #f7f8f5;
  margin: 0.65rem 0 0.85rem;
  font-size: 0.88rem;
}

.profile-compact-banner.is-inline {
  margin: 0 0 0.65rem;
}

.profile-compact-banner.is-warn {
  background: #faf6ef;
  border-color: #e4d8c4;
}

.profile-compact-banner .btn {
  padding: 0.42rem 0.7rem !important;
  font-size: 0.8rem !important;
  white-space: nowrap;
}

/* ── Mobile booking/profile compact pass (desktop unaffected) ───────────── */
@media (max-width: 768px) {
  .main-content {
    padding-top: 0.55rem !important;
    gap: 0.7rem !important;
  }

  .booking-shell {
    padding: 0.85rem !important;
    border-radius: 12px !important;
  }

  .booking-shell h1 {
    font-size: clamp(1.18rem, 5.1vw, 1.42rem) !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.22 !important;
  }

  .booking-shell .subtle {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.55rem !important;
  }

  .booking-form.single-panel {
    gap: 0.7rem !important;
  }

  .details-panel,
  .slot-panel {
    padding: 0.78rem !important;
    border-radius: 11px !important;
  }

  .details-panel h3,
  .slot-panel h3 {
    font-size: 0.94rem !important;
    margin-bottom: 0.5rem !important;
  }

  .form-grid {
    gap: 0.55rem !important;
  }

  .form-grid label {
    font-size: 0.83rem !important;
  }

  .form-grid input,
  .form-grid select {
    padding: 0.56rem 0.6rem !important;
    min-height: 40px !important;
    font-size: 0.9rem !important;
  }

  .slot-controls {
    margin-bottom: 0.45rem !important;
  }

  .date-range {
    gap: 0.4rem !important;
    margin-bottom: 0.55rem !important;
  }

  .date-chip {
    min-width: 74px !important;
    min-height: 46px !important;
    padding: 0.34rem 0.4rem !important;
  }

  .slot-choice {
    min-width: 64px !important;
    width: 64px !important;
    padding: 0.32rem 0.3rem !important;
    font-size: 0.74rem !important;
  }

  .booking-submit-row {
    margin-top: 0.45rem !important;
  }

  .booking-submit-row .btn,
  .profile-actions .btn,
  .admin-actions .btn {
    min-height: 42px !important;
    padding: 0.54rem 0.75rem !important;
    font-size: 0.9rem !important;
  }

  .profile-compact-banner {
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
    margin-top: 0.45rem;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .container {
    width: 100%;
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .booking-shell {
    padding: 0.75rem !important;
  }

  .details-panel,
  .slot-panel {
    padding: 0.68rem !important;
  }

  .slot-choice {
    min-width: 58px !important;
    width: 58px !important;
  }
}

/* Landing page mobile polish */
@media (max-width: 768px) {
  .home-foam,
  .hero-surface,
  .hero-actions {
    max-width: 100%;
    overflow-x: clip;
  }

  .main-content {
    padding-top: 0.5rem !important;
    padding-bottom: 1.6rem !important;
    gap: 0.9rem !important;
  }

  .home-foam {
    gap: 0.95rem !important;
  }

  .home-foam .hero-copy {
    padding: 0.95rem 0.75rem 0.8rem !important;
    margin-top: 0 !important;
  }

  .home-foam .hero-copy h1 {
    margin-bottom: 0.3rem !important;
    line-height: 1.2 !important;
  }

  .home-foam .hero-copy .lead {
    margin-bottom: 0.5rem !important;
    line-height: 1.42 !important;
  }

  .home-foam .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem !important;
    margin-top: 0.45rem !important;
  }

  .home-foam .hero-actions .btn {
    min-height: 45px !important;
    height: 45px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    border-radius: 10px !important;
    min-width: 0;
    white-space: nowrap;
  }
}
.date-chip.has-closed {
  background: rgba(217, 83, 79, 0.12) !important;
  border-color: rgba(217, 83, 79, 0.35) !important;
  color: #D9534F !important;
}
.date-chip.has-closed strong {
  color: #D9534F !important;
}
.date-chip.active {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18) !important;
}
.date-chip.active span,
.date-chip.active strong {
  color: #FFFFFF !important;
}

.slot-value {
  display: block;
  font-weight: 700;
  line-height: 1.08;
}
.slot-count-badge {
  display: block;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-top: 0.22rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.slot-count-badge.is-open {
  color: #3FAE5A !important;
  border: 1px solid rgba(63, 174, 90, 0.36);
  background: rgba(63, 174, 90, 0.12);
}
.slot-count-badge.is-limited {
  color: #B58B00 !important;
  border: 1px solid rgba(181, 139, 0, 0.28);
  background: rgba(181, 139, 0, 0.12);
}
.slot-count-badge.is-full {
  color: #D9534F !important;
  border: 1px solid rgba(217, 83, 79, 0.36);
  background: rgba(217, 83, 79, 0.12);
}
.slot-count-label {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #B58B00;
  text-align: right;
}
.slot-status-pill.badge-open {
  color: #3FAE5A !important;
  border-color: rgba(63, 174, 90, 0.3) !important;
  background: rgba(63, 174, 90, 0.12) !important;
}
.slot-status-pill.badge-closed {
  color: #D9534F !important;
  border-color: rgba(217, 83, 79, 0.3) !important;
  background: rgba(217, 83, 79, 0.12) !important;
}

.slot-choice {
  background: rgba(63, 174, 90, 0.08) !important;
  border-color: rgba(63, 174, 90, 0.28) !important;
  color: #3FAE5A !important;
}
.slot-choice:hover {
  background: rgba(63, 174, 90, 0.14) !important;
}
.slot-radio:checked + .slot-choice {
  background: #3FAE5A !important;
  border-color: #3FAE5A !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 0 1px rgba(63, 174, 90, 0.16), 0 0 12px rgba(63, 174, 90, 0.18) !important;
}
.slot-choice.is-disabled {
  background: rgba(217, 83, 79, 0.12) !important;
  border-color: rgba(217, 83, 79, 0.28) !important;
  color: #D9534F !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.slot-row-open td {
  background: rgba(63, 174, 90, 0.02) !important;
}
.slot-row-full td {
  background: rgba(217, 83, 79, 0.02) !important;
}
.slots-table tr.is-selected td {
  background: rgba(63, 174, 90, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(63, 174, 90, 0.18) !important;
}
.slots-table tr.is-selected .slot-choice {
  box-shadow: 0 0 0 1px rgba(63, 174, 90, 0.2), 0 0 16px rgba(63, 174, 90, 0.16) !important;
}
.slot-count-badge.is-low {
  animation: slotPulse 1.8s ease-in-out infinite;
}

.admin-table tr.admin-status-available select[name="row_available"] {
  color: #3FAE5A !important;
  border-color: rgba(63, 174, 90, 0.32) !important;
  background: rgba(63, 174, 90, 0.12) !important;
}
.admin-table tr.admin-status-limited select[name="row_available"] {
  color: #B58B00 !important;
  border-color: rgba(181, 139, 0, 0.32) !important;
  background: rgba(181, 139, 0, 0.12) !important;
}
.admin-table tr.admin-status-full select[name="row_available"] {
  color: #D9534F !important;
  border-color: rgba(217, 83, 79, 0.34) !important;
  background: rgba(217, 83, 79, 0.12) !important;
}
.admin-table tr.admin-status-available .slot-count-badge {
  color: #3FAE5A !important;
  border-color: rgba(63, 174, 90, 0.32) !important;
  background: rgba(63, 174, 90, 0.12) !important;
}
.admin-table tr.admin-status-limited .slot-count-badge {
  color: #B58B00 !important;
  border-color: rgba(181, 139, 0, 0.32) !important;
  background: rgba(181, 139, 0, 0.12) !important;
}
.admin-table tr.admin-status-full .slot-count-badge {
  color: #D9534F !important;
  border-color: rgba(217, 83, 79, 0.34) !important;
  background: rgba(217, 83, 79, 0.12) !important;
}
.admin-table tr.admin-status-limited .slot-count-label {
  color: #B58B00 !important;
}
.admin-table tr.admin-status-available {
  box-shadow: inset 0 0 0 1px rgba(63, 174, 90, 0.08) !important;
}
.admin-table tr.admin-status-limited {
  box-shadow: inset 0 0 0 1px rgba(181, 139, 0, 0.08) !important;
}
.admin-table tr.admin-status-full {
  box-shadow: inset 0 0 0 1px rgba(217, 83, 79, 0.08) !important;
}

@keyframes slotPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(63, 174, 90, 0.14); }
  50% { box-shadow: 0 0 0 1px rgba(63, 174, 90, 0.26), 0 0 14px rgba(63, 174, 90, 0.18); }
}

/* ─── Fix: foam-panel forces text-align:center !important — restore left-align for prose ─── */
/* Children can override inherited text-align even when parent has !important */
.about-body            { text-align: left; }
.about-pillar          { text-align: left; }
.pillar-desc           { text-align: left; }
.about-three-cols      { text-align: left; }
.flow-node             { text-align: left; }
.care-step-body        { text-align: left; }
.approach-half         { text-align: left; }

/* ─── About page — three-pillar explainer ─── */

.about-three-cols {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 1.2rem;
}

.about-pillar {
  flex: 1;
  background: linear-gradient(160deg, #fafffe 0%, #f3faf5 100%);
  border: 1px solid #d3e8d9;
  border-radius: 14px;
  padding: 1.3rem 1.2rem 1.2rem;
}

.pillar-sym {
  font-size: 1.5rem;
  color: rgba(111, 136, 104, 0.55);
  margin: 0 0 0.35rem;
  line-height: 1;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.pillar-tag {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4f6a58;
  margin: 0 0 0.2rem;
  background: rgba(111, 136, 104, 0.1);
  display: inline-block;
  padding: 1px 8px;
  border-radius: 20px;
}

.about-pillar h3 {
  margin: 0.3rem 0 0.5rem;
  font-size: 1.08rem;
  color: var(--text);
}

.pillar-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.62;
}

.pillar-connector {
  flex-shrink: 0;
  width: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #b0c4b5;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  padding-top: 2.8rem;
  user-select: none;
}

/* About flow diagram */
.about-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 440px;
}

.flow-node {
  width: 100%;
  border-radius: 11px;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  border: 1px solid transparent;
}

.flow-node-base {
  background: #f7f4f0;
  border-color: #ddd5c8;
}

.flow-node-therapy {
  background: linear-gradient(160deg, #f0faf5 0%, #eaf5ef 100%);
  border-color: #b8ddc5;
}

.flow-node-outcome {
  background: linear-gradient(160deg, #e8f6ee 0%, #daf0e5 100%);
  border-color: #a0d0b2;
}

.flow-node-label {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
}

.flow-node-sub {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

.flow-down-arrow {
  font-size: 1.1rem;
  color: #c0b8ae;
  line-height: 1;
  padding: 0.15rem 0;
  user-select: none;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.flow-arrow-green {
  color: #7db891;
}

@media (max-width: 720px) {
  .about-three-cols {
    flex-direction: column;
    gap: 0.8rem;
  }
  .pillar-connector {
    width: auto;
    padding: 0;
    transform: rotate(90deg);
    font-size: 1rem;
  }
  .about-flow {
    max-width: 100%;
  }
}

/* ─── Maansik Philosophy page ─── */

.mphil-page {
  position: relative;
}

/* Falling petals — CSS-only, max 5 elements in HTML */
.mpetal {
  position: fixed;
  top: -30px;
  left: 0;
  width: 10px;
  height: 17px;
  background: linear-gradient(150deg, rgba(255, 183, 197, 0.88), rgba(255, 143, 168, 0.7));
  border-radius: 50% 0 50% 0;
  pointer-events: none;
  z-index: 10;          /* above main-content (z-index:1) but below nav (z-index:50) */
  opacity: 0;
  animation: mpetalFall linear infinite;
  will-change: transform, opacity;
}

@keyframes mpetalFall {
  0%   { transform: translateY(0px) rotate(0deg);    opacity: 0; }
  7%   { opacity: 0.38; }   /* soft — visible but not distracting over text */
  50%  { transform: translateY(50vh) rotate(130deg); }
  88%  { opacity: 0.25; }
  100% { transform: translateY(110vh) rotate(265deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mpetal {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Philosophy hero */
.mphil-hero {
  text-align: center;
  padding: 3rem 1.5rem 2.8rem;
  background: linear-gradient(155deg, #fff5f8 0%, #fffbf2 55%, #f6fff8 100%);
  border-color: #f0d4de;
  position: relative;
  overflow: hidden;
}

.mphil-hero::before {
  content: "✿";
  position: absolute;
  top: -30px;
  right: -15px;
  font-size: 240px;
  color: rgba(255, 182, 193, 0.09);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  font-family: serif;
}

.mphil-hero::after {
  content: "❀";
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-size: 190px;
  color: rgba(255, 182, 193, 0.06);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  font-family: serif;
}

.mphil-bloom {
  display: block;
  font-size: 2.2rem;
  color: rgba(210, 120, 150, 0.38);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: serif;
}

.mphil-hero-line {
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  color: #5a4850;
  line-height: 1.75;
  margin: 0.9rem auto 0;
  max-width: 440px;
}

/* Philosophy content sections with section number */
.mphil-section {
  position: relative;
  text-align: left;
}

.mphil-section-num {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(111, 136, 104, 0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.02em;
}

/* "Through MANYA Care" dark section */
.mphil-through {
  background: linear-gradient(160deg, #1b2d24 0%, #132519 100%) !important;
  border-color: #2c4234 !important;
  color: #e8f0ea;
  position: relative;
  overflow: hidden;
  padding-left: 1.8rem;
}

.mphil-through::before {
  content: "✿";
  position: absolute;
  top: -40px;
  right: -20px;
  font-size: 200px;
  color: rgba(100, 180, 130, 0.06);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  font-family: serif;
}

.mphil-section-num-light {
  color: rgba(255, 255, 255, 0.05) !important;
}

@media (max-width: 640px) {
  .mphil-hero {
    padding: 2.2rem 1.2rem 2rem;
  }

  .mphil-hero::before {
    font-size: 160px;
  }

  .mphil-hero::after {
    font-size: 130px;
  }

  .mphil-section {
    padding-left: 1.4rem;
  }

  .mphil-section-num {
    font-size: 2.5rem;
    top: 1rem;
    right: 1rem;
  }

  .mphil-through {
    padding-left: 1.4rem;
  }
}

/* ─── Home page portal UI ─── */

/* Care Journey (4-step care flow replacing old "How It Works") */
.care-journey {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.care-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(160deg, #fafffe 0%, #f3faf5 100%);
  border: 1px solid #d3e8d9;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.care-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #c4dcc9, #a0c0ac);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2f5040;
  margin-top: 1px;
}

.care-step-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
}

.care-step-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Booking simple helper block */
.booking-simple-block {
  padding: 1.1rem 1.6rem 1.3rem;
  text-align: center;
}

.booking-simple-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0;
}

.booking-simple-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bs-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #e7eee9;
  border-radius: 50%;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #4f6356;
  flex-shrink: 0;
}

.booking-simple-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.bs-arrow {
  color: #c4bfb8;
  font-size: 0.85rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  user-select: none;
}

/* Not a marketplace block */
.not-marketplace-block {
  background: linear-gradient(160deg, #1b2d24 0%, #132519 100%);
  border: 1px solid #2c4234;
  border-radius: 18px;
  padding: 2.2rem 2.4rem;
  color: #e8f0ea;
}

.not-marketplace-block .eyebrow {
  color: #7db891;
}

.not-marketplace-block .eyebrow::before,
.not-marketplace-block .eyebrow::after {
  background: linear-gradient(145deg, #5a9068, #3a7055);
}

.not-marketplace-block h2 {
  color: #f0faf2;
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.not-marketplace-block p {
  color: #b2ccba;
  font-size: 0.98rem;
  line-height: 1.78;
  max-width: 680px;
  margin: 0;
}

/* Approach twin columns (Maansik / MANYA Care explainer) */
.approach-twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.approach-half {
  background: linear-gradient(160deg, #fafffe 0%, #f3faf5 100%);
  border: 1px solid #d3e8d9;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}

.approach-label {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #4f6a58;
  margin: 0 0 0.45rem;
}

.approach-half p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .care-journey {
    grid-template-columns: 1fr;
  }

  .approach-twin {
    grid-template-columns: 1fr;
  }

  .not-marketplace-block {
    padding: 1.6rem 1.2rem;
    border-radius: 14px;
  }

  .booking-simple-steps {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .bs-arrow {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE COMPATIBILITY PATCH
   Covers: new sections (care-journey, about-three-cols, about-flow,
   not-marketplace, mphil-*, approach-twin, booking-simple) +
   foam-panel !important padding overflows at tablet sizes.
═══════════════════════════════════════════════════════════════ */

/* ── Always-on fixes (not media-query dependent) ──────────────── */

/* foam-panel forces padding:2.8rem on .booking-simple-block — override */
.booking-simple-block {
  padding: 1.2rem 1.4rem 1.5rem !important;
}

/* foam-panel h2 rule centers h2 with margin:auto — undo for left-aligned sections */
.mphil-section h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  text-align: left;
}

/* foam-panel > p centers eyebrow via margin:auto — undo for left-aligned sections */
.mphil-section > p.eyebrow,
.mphil-through > p.eyebrow {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

/* ── Hide pillar connector on stacked layout (already stacks at 720px) ─── */
@media (max-width: 720px) {
  .pillar-connector {
    display: none;
  }
  .about-three-cols {
    gap: 0.8rem;
  }
}

/* ── Tablet: 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Reduce foam-panel's 2.8rem padding at tablet — existing rule only fires at 640px */
  .foam-panel {
    padding: 2rem 1.5rem !important;
  }

  /* Care journey: single column on tablet (2-col is too cramped on 640–768px) */
  .care-journey {
    grid-template-columns: 1fr;
  }

  /* approach-twin: stack earlier */
  .approach-twin {
    grid-template-columns: 1fr;
  }

  /* Not a marketplace: tighten horizontal padding */
  .not-marketplace-block {
    padding: 1.8rem 1.5rem;
  }

  /* Booking simple: compact at tablet */
  .booking-simple-block {
    padding: 1rem 1.2rem 1.2rem !important;
  }
}

/* ── Mobile: 640px ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* foam-panel: already handled (line 4636): 2rem 1.2rem !important */

  /* Booking simple: tightest */
  .booking-simple-block {
    padding: 0.9rem 0.9rem 1.1rem !important;
  }

  /* Booking steps: wrap into rows (better than strict vertical stack) */
  .booking-simple-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.6rem;
  }

  /* Care step: tighter padding, smaller gap */
  .care-step {
    padding: 0.9rem 1rem;
    gap: 0.7rem;
  }

  /* Not a marketplace: compact */
  .not-marketplace-block {
    padding: 1.4rem 1rem;
    border-radius: 12px;
  }

  /* About three cols: tighter gap */
  .about-three-cols {
    gap: 0.65rem;
  }

  /* About pillar: compact */
  .about-pillar {
    padding: 1rem 0.9rem;
  }

  /* About flow: full width */
  .about-flow {
    max-width: 100%;
  }

  /* Flow node: tighter padding */
  .flow-node {
    padding: 0.7rem 0.9rem;
  }

  /* mphil-section-num: hide on mobile — at foam-panel's reduced padding it can overlap text */
  .mphil-section-num {
    display: none;
  }

  /* mphil-through: remove decorative left padding */
  .mphil-through {
    padding-left: 0 !important;
  }
}

/* ── Small mobile: 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
  /* foam-panel: push padding down further */
  .foam-panel {
    padding: 1.4rem 1rem !important;
  }

  /* Booking simple: very compact */
  .booking-simple-block {
    padding: 0.8rem 0.7rem 1rem !important;
  }

  /* Booking steps: true column stack at smallest sizes */
  .booking-simple-steps {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  /* Care step: minimum breathing room */
  .care-step {
    padding: 0.8rem 0.75rem;
    gap: 0.6rem;
  }

  .care-step-num {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  /* Not a marketplace: tightest */
  .not-marketplace-block {
    padding: 1.2rem 0.85rem;
    border-radius: 10px;
  }

  /* About pillar: minimal padding */
  .about-pillar {
    padding: 0.9rem 0.8rem;
  }

  /* mphil-hero: very small screens */
  .mphil-hero {
    padding: 1.8rem 1rem 1.6rem;
  }

  /* Hide large decorative glyphs on very small phones — they can cause overflow */
  .mphil-hero::before,
  .mphil-hero::after {
    display: none;
  }

  /* Approach half: minimal */
  .approach-half {
    padding: 0.85rem 0.9rem;
  }
}
