/* ============================================================================
   CONSULTATION — "Quiet Authority"
   Inherits every token from style.css. Adds nothing to the global namespace
   that isn't prefixed .cs- so it can never collide with the rest of the site.
   ========================================================================= */

.cs-main { padding-top: 96px; }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.cs-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); }

.cs-eyebrow {
  font-family: var(--font-sub);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.cs-h1 {
  font-size: var(--display-2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 24px;
  max-width: 16ch;
}
.cs-h1 em { font-style: normal; color: var(--accent); }

.cs-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--t2);
  max-width: 54ch;
  margin: 0 0 36px;
}

/* Trust strip — hairline separated, never boxed */
.cs-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-trust div {
  flex: 1 1 160px;
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--line);
}
.cs-trust div:last-child { border-right: 0; }
.cs-trust b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.cs-trust span { font-size: 13px; color: var(--t3); }

/* ── SECTION SCAFFOLD ─────────────────────────────────────────────────── */
.cs-section { padding: clamp(48px, 7vw, 88px) 0; }
.cs-section-head { margin-bottom: 36px; }
.cs-step {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t4);
  margin-bottom: 12px;
}
.cs-h2 {
  font-size: var(--t-h2);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.cs-sub { font-size: var(--t-body); color: var(--t3); margin: 0; max-width: 60ch; }

/* ── TIER CARDS ───────────────────────────────────────────────────────── */
.cs-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cs-tier {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 32px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color var(--d-glass) var(--ease-glass),
              background var(--d-glass) var(--ease-glass),
              transform var(--d1) var(--ease);
}
.cs-tier:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.055); }
.cs-tier:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.cs-tier[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(190, 255, 29, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.cs-tier[aria-pressed="true"] .cs-price { color: var(--accent); }

.cs-tier-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.cs-dur { font-size: 15px; font-weight: 500; color: var(--t2); letter-spacing: 0.01em; }

.cs-chip {
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(190, 255, 29, 0.12);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  white-space: nowrap;
}

.cs-price {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color var(--d1) var(--ease);
}
.cs-price small { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-left: 6px; }
.cs-save { font-size: 13px; color: var(--t3); margin-top: 8px; min-height: 19px; }

.cs-tier-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 22px 0 14px;
}

.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.cs-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--t2);
}
.cs-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.cs-tier-state {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--t4);
}
.cs-tier[aria-pressed="true"] .cs-tier-state { color: var(--accent); }

/* ── BOOKING PANEL ────────────────────────────────────────────────────── */
.cs-booking {
  border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  overflow: hidden;
}
.cs-booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.cs-booking-for { font-size: 15px; color: var(--t2); }
.cs-booking-for b { color: var(--t1); font-weight: 600; }

.cs-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--t3); }
.cs-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
  box-shadow: 0 0 0 0 rgba(190, 255, 29, 0.5);
  animation: cs-pulse 2.4s var(--ease) infinite;
}
@keyframes cs-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(190, 255, 29, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(190, 255, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(190, 255, 29, 0); }
}

/* Height is reserved only when a real calendar is mounted — the request
   panel sizes to its own content instead of sitting in an empty well. */
#cs-cal { width: 100%; }
#cs-cal.is-cal { min-height: 620px; }
#cs-cal iframe { border-radius: 0 !important; }

/* Fallback shown when the embed can't load */
.cs-fallback { padding: 56px 28px; text-align: center; }
.cs-fallback p { color: var(--t3); margin: 0 0 20px; font-size: 15px; }

.cs-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #0A0A0B;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform var(--d1) var(--ease), filter var(--d1) var(--ease);
}
.cs-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.cs-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── HOW IT WORKS ─────────────────────────────────────────────────────── */
.cs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cs-stepcard { padding: 28px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255,255,255,0.022); }
.cs-stepnum {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.cs-stepcard h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.cs-stepcard p { font-size: 14.5px; line-height: 1.55; color: var(--t3); margin: 0; }

/* ── AVAILABILITY ─────────────────────────────────────────────────────── */
.cs-hours { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.cs-hours-table { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.cs-hours-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.cs-hours-row:last-child { border-bottom: 0; }
.cs-hours-row span { color: var(--t2); }
.cs-hours-row b { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.005em; }
.cs-hours-note { font-size: 14.5px; line-height: 1.6; color: var(--t3); }
.cs-hours-note strong { color: var(--t2); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.cs-faq { border-top: 1px solid var(--line); }
.cs-faq details { border-bottom: 1px solid var(--line); }
.cs-faq summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  list-style: none; cursor: pointer; padding: 22px 0;
  font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 1.5px solid var(--t4); border-bottom: 1.5px solid var(--t4);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--d1) var(--ease);
}
.cs-faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.cs-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cs-faq p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--t3); max-width: 68ch; }


/* ── MOBILE DOCK — App-Store-style bottom bar ─────────────────────────
   Selected tier + price always at thumb reach; one tap scrolls to the
   calendar. Hides itself while the booking panel is on screen. */
.cs-dock {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  border-radius: var(--r-pill);
  background: rgba(16, 16, 18, 0.78);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  transform: translateY(0);
  opacity: 1;
  transition: transform 320ms var(--ease-glass), opacity 320ms var(--ease-glass);
}
.cs-dock.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cs-dock-label { min-width: 0; }
.cs-dock-tier {
  display: block; font-size: 13px; color: var(--t3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cs-dock-price {
  display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate;
}
.cs-dock .cs-btn { padding: 12px 22px; min-height: 44px; flex: none; font-size: 14.5px; }
html[lang="ar"] .cs-dock { padding: 10px 20px 10px 10px; }

@media (max-width: 900px) {
  .cs-dock { display: flex; }
  .cs-main { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .cs-tiers, .cs-steps, .cs-hours { grid-template-columns: 1fr; }
  .cs-trust div { flex-basis: 45%; border-right: 0; padding-right: 12px; }
}
@media (max-width: 560px) {
  .cs-main { padding-top: 72px; }
  .cs-hero { padding: 36px 0 28px; }
  .cs-section { padding: 44px 0; }
  .cs-section-head { margin-bottom: 26px; }
  .cs-h1 { margin-bottom: 18px; }
  .cs-lede { margin-bottom: 28px; }
  .cs-trust div { padding: 16px 12px 16px 0; }
  .cs-trust b { font-size: 22px; }
  .cs-tier { padding: 24px 20px; border-radius: var(--r-lg); }
  .cs-price { font-size: 40px; }
  .cs-tier-title { margin: 18px 0 12px; }
  .cs-tier-state { margin-top: 18px; padding-top: 14px; }
  .cs-booking { border-radius: var(--r-xl); }
  .cs-booking-head { padding: 16px 20px; }
  .cs-stepcard { padding: 22px 20px; }
  .cs-hours-row { padding: 14px 18px; font-size: 14.5px; }
  .cs-faq summary { padding: 18px 0; font-size: 16px; }
  #cs-cal { min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-tier, .cs-price, .cs-btn, .cs-faq summary::after { transition: none; }
  .cs-live i { animation: none; }
}
