/* ==========================================================================
   RITZ BARBERSHOP — LUXURY WEBSITE ENHANCEMENTS
   Modules:
     1. 35mm Film Grain & Cinematic Ambient Spotlight
     2. Interactive "Before & After" Split Slider
     3. "Build Your Ritual" Service Calculator
     4. Frictionless "Quick Chair" Booking Drawer
     5. Sound Toggle & Acoustic Micro-Controls
   ========================================================================== */

/* 1. CINEMATIC 35MM FILM GRAIN & AMBIENT SPOTLIGHT
   Subtle SVG noise overlay that removes digital flatness on dark sections. */
.film-grain-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.032;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
}

/* Ambient Cursor Spotlight on Dark Sections */
.sec-dark,
.ctaband,
.film {
  position: relative;
}

.ambient-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(
    600px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 255, 255, 0.042) 0%,
    rgba(255, 255, 255, 0.012) 40%,
    transparent 75%
  );
}

@media (pointer: fine) and (min-width: 861px) {
  .sec-dark:hover .ambient-spotlight,
  .ctaband:hover .ambient-spotlight {
    opacity: 1;
  }
}

/* 2. INTERACTIVE "BEFORE & AFTER" SPLIT SLIDER */
.ba-showcase {
  margin: 3.5rem 0 2.5rem;
  position: relative;
}

.ba-slider {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 1.8rem auto 0;
  height: clamp(340px, 52vw, 540px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  box-shadow: var(--shadow-luxury);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--black);
  outline: none;
}

.ba-slider:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-image--before {
  z-index: 1;
}

.ba-image--before img {
  filter: contrast(1.04) saturate(0.92) brightness(0.94);
}

.ba-image--after {
  z-index: 2;
  will-change: clip-path;
}

.ba-image--after img {
  filter: contrast(1.08) saturate(1.08) brightness(0.98);
}

/* Luxury Corner Badges */
.ba-badge {
  position: absolute;
  bottom: 18px;
  z-index: 4;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  pointer-events: none;
}

.ba-badge--before {
  left: 20px;
}

.ba-badge--after {
  right: 20px;
}

/* Draggable Dividing Hairline & Handle */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4),
              0 0 1px 1px rgba(0, 0, 0, 0.6);
  z-index: 5;
  pointer-events: none;
  will-change: left;
  transform: translateX(-50%);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #121319;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8),
              inset 0 1px 2px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.ba-handle:hover,
.ba-slider.is-dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.12);
  background: #1c1e28;
  border-color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.9), 0 0 8px rgba(255, 255, 255, 0.4);
}

.ba-handle .ba-arrow {
  opacity: 0.9;
  font-size: 0.7rem;
}

.ba-handle .ba-pill-line {
  width: 1.5px;
  height: 14px;
  background: rgba(255, 255, 255, 0.35);
}

/* 3. "BUILD YOUR RITUAL" SERVICE CALCULATOR */
.ritual-builder {
  margin: 3.5rem 0 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(20, 21, 27, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.ritual-builder__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-d);
  padding-bottom: 1.5rem;
}

.ritual-builder__head h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ritual-builder__head p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  max-width: 500px;
}

/* Service Options Grid */
.ritual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.ritual-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
  outline: none;
}

.ritual-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.ritual-card:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.ritual-card.is-selected {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff, 0 8px 20px -4px rgba(0, 0, 0, 0.4);
}

.ritual-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 0.75rem;
}

.ritual-card__name {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.ritual-card__dur {
  font-size: 0.76rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Grouped right-side meta container (price + circle checkbox) */
.ritual-card__meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.ritual-card__price {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 300;
  color: #ffffff;
  white-space: nowrap;
}

/* Fallback if price is a direct child */
.ritual-card > .ritual-card__price {
  margin-left: auto;
}

.ritual-card__checkbox {
  position: relative;
  top: auto;
  right: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Fallback if checkbox is a direct child */
.ritual-card > .ritual-card__checkbox {
  margin-left: 0.85rem;
}

.ritual-card.is-selected .ritual-card__checkbox {
  background: #ffffff;
  border-color: #ffffff;
}

.ritual-card__checkbox::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #09090b;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.ritual-card.is-selected .ritual-card__checkbox::after {
  opacity: 1;
  transform: scale(1);
}

/* Real-Time Tally Footer Bar */
.ritual-tally {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-md);
  background: #0d0e13;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ritual-tally__metrics {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ritual-metric {
  display: flex;
  flex-direction: column;
}

.ritual-metric__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.ritual-metric__val {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
}

.ritual-tally__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-reset-ritual {
  background: transparent;
  border: none;
  color: var(--text-light-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.6rem 0.8rem;
  transition: color 0.2s ease;
}

.btn-reset-ritual:hover {
  color: #ffffff;
}

/* 4. FRICTIONLESS "QUICK CHAIR" BOOKING DRAWER */
.quick-chair-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-chair-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.quick-chair-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 94vw);
  background: #101117;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  z-index: 2501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 2.2rem 2.4rem;
  box-sizing: border-box;
}

.quick-chair-backdrop.is-open .quick-chair-drawer {
  transform: translateX(0);
}

.quick-chair-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-d);
  padding-bottom: 1.4rem;
}

.quick-chair-head h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.quick-chair-head p {
  color: var(--text-light-muted);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.quick-chair-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.quick-chair-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.quick-chair-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 1rem;
}

/* Location Cards in Drawer */
.qc-locations {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.qc-loc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.qc-loc-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.qc-loc-card:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.qc-loc-card.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  box-shadow: inset 0 0 0 1px #ffffff;
}

.qc-loc-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.qc-loc-info p {
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

.qc-loc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Drawer Direct Action Button */
.qc-action-box {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-d);
}

.btn-qc-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.05rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #09090b;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-qc-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
}

.qc-action-sub {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.74rem;
  color: var(--text-light-muted);
}

.qc-action-sub a {
  color: #ffffff;
  text-decoration: underline;
}

/* 5. SOUND TOGGLE BUTTON (Unobtrusive Micro-Control) */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-light-s);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  user-select: none;
}

.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.sound-toggle-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.sound-toggle-btn.is-sound-on {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.sound-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.sound-toggle-btn.is-sound-on .sound-dot {
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

/* Responsive Rules */
@media (max-width: 860px) {
  .ritual-builder {
    padding: 1.6rem 1.2rem;
  }
  
  .ritual-grid {
    grid-template-columns: 1fr;
  }
  
  .ritual-tally {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .quick-chair-drawer {
    width: 100vw;
    padding: 1.8rem 1.4rem;
  }
}

/* ==========================================================================
   6. QUICK CALL FLOATING SYSTEM & DIRECT CONTACT ENHANCEMENTS
   ========================================================================== */

/* 6a. Floating Quick-Call Action Button (FAB) */
.quick-call-fab {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease;
  outline: none;
}

.quick-call-fab:hover {
  transform: scale(1.08) translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  background: #14151f;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85), 0 0 16px rgba(255, 255, 255, 0.2);
}

.quick-call-fab:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.quick-call-fab svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  transition: transform 0.3s ease;
}

.quick-call-fab:hover svg {
  transform: scale(1.1);
}

/* 6b. Header Quick Call Button */
.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.52rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  outline: none;
  text-decoration: none;
}

.header-call-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.header-call-btn svg {
  width: 14px;
  height: 14px;
}

/* 6c. Sticky Pill Dual Actions ("Call" + "Book Chair") */
.smart-book-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.smart-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.smart-call-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.smart-call-btn svg {
  width: 13px;
  height: 13px;
}

/* 6d. Location Cards Phone Links & Call Buttons */
.loc-phone-link {
  color: var(--text-dark-p);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.28);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.loc-phone-link:hover {
  color: #000000;
  text-decoration-color: #000000;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-d);
  background: transparent;
  color: var(--text-dark-p);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s var(--ease);
  cursor: pointer;
}

.btn-call:hover {
  background: var(--black);
  color: #ffffff;
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-call svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

/* 6e. Quick Chair Modal Clickable Phone Link */
.qc-phone-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.qc-phone-link:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* 6f. Frictionless Quick Call Phone Drawer Modal */
.quick-call-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-call-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.quick-call-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 94vw);
  background: #101117;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  z-index: 2501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 2.2rem 2.4rem;
  box-sizing: border-box;
}

.quick-call-backdrop.is-open .quick-call-drawer {
  transform: translateX(0);
}

/* Hide floating elements while any drawer is open so they never obstruct */
body.drawer-open .quick-call-fab,
body.drawer-open .chat,
body.drawer-open .smart-book-pill {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.25s ease;
}

.quick-call-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-d);
  padding-bottom: 1.4rem;
}

.quick-call-head h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.quick-call-head p {
  color: var(--text-light-muted);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.quick-call-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.quick-call-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: scale(1.04);
}

.btn-qc-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  margin-bottom: 0.8rem;
}

.btn-qc-back:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.quick-call-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 1rem;
}

.qc-call-locations {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.qc-call-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.qc-call-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(4px);
}

.qc-call-card:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.qc-call-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
}

.qc-call-info {
  flex: 1;
}

.qc-call-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.qc-call-info p {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  margin-bottom: 0.3rem;
}

.qc-call-num {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.qc-call-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.qc-call-card:hover .qc-call-badge {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* 6g. Mobile Responsive Adaptations */
@media (max-width: 860px) {
  .quick-call-fab {
    left: 16px;
    /* canonical: raised above smart-book-pill - matches responsive.css */
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 50px;
    height: 50px;
  }
  
  .quick-call-drawer {
    width: 100vw;
    padding: 1.8rem 1.4rem;
  }
  
  .header-call-btn .header-call-text {
    display: none;
  }
  
  .header-call-btn {
    padding: 0.48rem;
  }
  
  .smart-call-btn {
    padding: 0.48rem 0.75rem;
    font-size: 0.7rem;
  }
}

