/* ==========================================================================
   SPOUZY — MODERN LUXURY & CLINICAL EXCELLENCE UI SYSTEM 2026
   A Specialist Wing of Problem Solver Group (PSG)
   ========================================================================== */

:root {
  --sp-canvas-bg: #FFFACD;
  --sp-page-bg: #FFFACD;
  --sp-wine-dark: #271219;
  --sp-wine: #481e28;
  --sp-wine-light: #642d3a;
  --sp-copper: #8A402F;
  --sp-copper-light: #e08b73;
  --sp-copper-glow: rgba(191, 103, 79, 0.35);
  --sp-gold: #cfa76e;
  --sp-cream: #faf5ee;
  --sp-cream-card: #ffffff;
  --sp-sand: #f3e9de;
  --sp-sand-dark: #e5d6c5;
  --sp-ink: #1f1417;
  --sp-ink-muted: #5c474d;
  --sp-ink-light: #8a737a;

  /* Accessible Typography Palette for Light Backgrounds (#FFFACD & Cream) */
  --sp-text-heading: #4B2030;      /* Deep burgundy for main headings */
  --sp-text-body: #3D2B2B;         /* Dark brown for body text */
  --sp-text-secondary: #65504B;    /* Secondary text */
  --sp-link-copper: #8A402F;       /* Dark copper for links and highlighted words */
  --sp-badge-bg: #FFF7E8;          /* Light warm badge background */
  --sp-badge-border: rgba(138, 64, 47, 0.24); /* Subtle visible border */
  --sp-border: rgba(191, 103, 79, 0.18);
  --sp-border-light: rgba(72, 30, 40, 0.08);
  --sp-glass-bg: rgba(255, 252, 248, 0.92);
  --sp-glass-dark: rgba(39, 18, 25, 0.88);
  --sp-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sp-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sp-shadow-subtle: 0 4px 20px rgba(39, 18, 25, 0.05);
  --sp-shadow-card: 0 16px 40px rgba(39, 18, 25, 0.08);
  --sp-shadow-glow: 0 12px 35px var(--sp-copper-glow);
  --sp-radius-sm: 8px;
  --sp-radius-md: 14px;
  --sp-radius-lg: 24px;
  --sp-radius-full: 9999px;
  --sp-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   CUSTOM BRAND CURSORS:
   1. Normal state: 48x48 SPOUZY rose-gold arrow (Hotspot: 2 2, Pointer: Fine)
   2. Clickable state: 48x48 Rose Gold Hand Pointer (Hotspot: 18 2, Pointer: Fine)
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  html,
  body {
    cursor: url('../image/cursors/spouzy-arrow.svg') 2 2, url('../image/cursors/spouzy-arrow.png') 2 2, default;
  }

  /* Links, buttons, interactive controls, and dropdown triggers */
  a,
  button,
  summary,
  select,
  [role="button"],
  [role="tab"],
  [role="link"],
  [role="menuitem"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="image"],
  label[for],
  .guide-menu button,
  .guide-links a,
  .sp-policy-trigger,
  .sp-dropdown-toggle,
  .sp-brand-pill,
  .sp-cta-primary,
  .sp-cta-secondary,
  .sp-search-btn,
  .sp-search-close,
  .sp-booking-btn,
  .sp-footer-share a,
  .sp-footer-social a,
  .sp-footer-social-btn:not(.sp-social-placeholder),
  .sp-footer-links a,
  .sp-footer-policy-nav a,
  .sp-floating-quick-pill,
  .sp-card-tab,
  .sp-faq-header,
  .care-nav-prev,
  .care-nav-next,
  .slider-arrow,
  .sp-testi-arrow,
  .sp-testi-dot,
  .sp-quiz-opt-btn,
  .sp-matcher-btn,
  .sp-preview-tab-btn,
  .sp-preview-arrow-btn,
  .sp-banner-tab-item,
  .sp-banner-arrow-btn,
  .sp-filter-pill,
  .sp-slot-pill,
  .sp-duration-btn,
  .sp-slot-range-btn,
  .sp-choose-date-btn,
  .sp-retry-btn,
  .sp-form-copy-btn,
  .sp-floating-launcher,
  .sp-floating-close-btn,
  .sp-floating-btn,
  .sp-time-input-display,
  .sp-mobile-toggle,
  .sp-mobile-drawer-close,
  .sp-drawer-policy-trigger,
  .sp-service-card-modern,
  .sp-mega-card-link,
  .owl-controls .owl-page,
  .owl-controls .owl-buttons div,
  [onclick] {
    cursor: url('../image/cursors/spouzy-pointer.svg') 18 2, url('../image/cursors/spouzy-pointer.png') 18 2, pointer !important;
  }

  a *,
  button *,
  summary *,
  [role="button"] *,
  [role="link"] *,
  label[for] * {
    cursor: inherit;
  }

  /* Preserve text caret in input fields and editable areas */
  input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="image"]),
  textarea,
  [contenteditable="true"],
  [contenteditable=""] {
    cursor: text !important;
  }

  /* Disabled state */
  :disabled,
  [aria-disabled="true"],
  .disabled {
    cursor: not-allowed !important;
  }

  /* Preserve native resize cursors */
  [style*="col-resize"] { cursor: col-resize !important; }
  [style*="row-resize"] { cursor: row-resize !important; }
  [style*="ew-resize"] { cursor: ew-resize !important; }
  [style*="ns-resize"] { cursor: ns-resize !important; }
  [style*="nesw-resize"] { cursor: nesw-resize !important; }
  [style*="nwse-resize"] { cursor: nwse-resize !important; }
}

/* Document canvas background (#FFFACD) */
html,
body {
  background-color: var(--sp-page-bg, #FFFACD) !important;
}

/* Reset overrides for SPOUZY modern components */
html {
  scroll-padding-top: clamp(130px, 16vh, 170px);
}

[id] {
  scroll-margin-top: clamp(130px, 16vh, 170px);
}

.sp-modern-wrapper {
  font-family: var(--sp-font-sans);
  color: var(--sp-ink);
  background-color: var(--sp-page-bg, #FFFACD) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip !important;
}

/* --------------------------------------------------------------------------
   UNIFORM PAGE CANVAS & SECTION BACKGROUNDS (#FFFACD) ACROSS ALL PAGES
   -------------------------------------------------------------------------- */
.sp-modern-wrapper,
.sp-hero-banner-section,
.care-slider,
.ed-section.care-slider,
#why-spouzy,
.why-spouzy,
.why-inner,
#services,
.sp-services-section,
.sp-testimonials-section,
#questions,
.guide-page,
main.guide-page,
.sp-story-container,
.sp-booking-hub,
.sp-subpage-hero,
.ed-section:not(.ed-custom) {
  background-color: var(--sp-page-bg, #FFFACD) !important;
  background-image: none !important;
}

/* Ambient glow overlays in hero */
.sp-hero-glow-1,
.sp-hero-glow-2 {
  display: none !important;
}

/* Common section headers, tracks, and layout wrappers blend seamlessly */
.sp-section-header,
.ed-heading,
.care-track,
.sp-services-grid,
.sp-testimonials-carousel,
.sp-testimonials-track,
.hero-tip-layout,
.guide-body section {
  background-color: transparent !important;
  background-image: none !important;
}

/* ==========================================================================
   STICKY HEADER STACK (SHARED FULL-PAGE WRAPPER)
   ========================================================================== */
.sp-header-sticky-wrapper {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  overflow: visible !important;
}

.sp-header-sticky-wrapper .sp-topbar-modern {
  position: static !important;
  width: 100% !important;
}

.sp-header-sticky-wrapper .sp-header-modern {
  position: static !important;
  top: auto !important;
  width: 100% !important;
  background: #fffcf8 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--sp-border) !important;
  box-shadow: var(--sp-shadow-subtle) !important;
  translate: 0 0 !important;
  transition: box-shadow 0.25s ease !important;
}

.sp-header-sticky-wrapper.is-scrolled .sp-header-modern,
.sp-header-modern.sp-header-scrolled {
  background: #fffcf8 !important;
  box-shadow: 0 8px 24px rgba(39, 18, 25, 0.08) !important;
}

/* --------------------------------------------------------------------------
   1. TOP ANNOUNCEMENT & CONFIDENTIALITY BAR
   -------------------------------------------------------------------------- */
.sp-topbar-modern {
  background: linear-gradient(90deg, #18090f 0%, #2b121c 45%, #240d16 80%, #190910 100%);
  color: #F7EAE2;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(191, 103, 79, 0.28);
  position: relative;
  z-index: 1001;
}

.sp-topbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 5px 24px;
  min-height: 42px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.sp-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sp-topbar-left.sp-topbar-message,
.sp-topbar-message {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.sp-topbar-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: sp-glide-left 22s linear infinite;
  will-change: transform;
}

.sp-topbar-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sp-topbar-sentence {
  color: #F7EAE2;
  font-family: var(--sp-font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.01em;
  display: inline;
  vertical-align: baseline;
}

/* Inline visual hierarchy */
.sp-topbar-brand {
  color: #F3BA9D;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: inline;
  vertical-align: baseline;
}

.sp-topbar-psg {
  color: #F7EAE2;
  font-weight: 600;
  display: inline;
  vertical-align: baseline;
}

.sp-topbar-year {
  color: #F3BA9D;
  font-weight: 600;
  display: inline;
  vertical-align: baseline;
}

/* Decorative diamond separator between repetitions */
.sp-topbar-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 24px;
  color: rgba(200, 125, 102, 0.72);
  vertical-align: middle;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

.sp-topbar-sep svg {
  display: block;
  width: 7px;
  height: 7px;
}

@keyframes sp-glide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sp-confidential-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 3px 12px;
  border-radius: var(--sp-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.sp-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #2ed573;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(46, 213, 115, 0.7);
  animation: sp-pulse 2s infinite;
}

@keyframes sp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(46, 213, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

.sp-psg-tag {
  color: #e5c3b3;
  opacity: 0.9;
}

.sp-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.sp-topbar-link {
  color: #f7e6dc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--sp-transition);
  font-weight: 500;
}

.sp-topbar-link:hover {
  color: var(--sp-copper-light);
  text-decoration: none;
}

.sp-topbar-phone {
  background: rgba(191, 103, 79, 0.22);
  color: #fff !important;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(191, 103, 79, 0.4);
  font-weight: 600;
}

.sp-topbar-phone:hover {
  background: rgba(191, 103, 79, 0.4);
}

/* --------------------------------------------------------------------------
   2. MAIN CREATIVE NAVBAR & STICKY HEADER
   -------------------------------------------------------------------------- */
.sp-header-modern {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--sp-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sp-border);
  box-shadow: var(--sp-shadow-subtle);
  transition: var(--sp-transition);
}

.sp-header-scrolled {
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 10px 30px rgba(39, 18, 25, 0.08);
}

.sp-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

/* Brand Logo */
.sp-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--sp-wine-dark, #271219) !important;
  outline: none;
}

.sp-brand-wrapper:focus-visible {
  outline: 2px solid var(--sp-wine, #6b2d41);
  outline-offset: 4px;
  border-radius: 8px;
}

.sp-brand-logo {
  height: 62px;
  width: auto;
  display: block;
  transition: none;
}

.sp-brand-wrapper:hover .sp-brand-logo {
  transform: none;
}

.sp-brand-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 12px;
  border-left: 1px solid rgba(72, 30, 40, 0.2);
  gap: 2px;
  line-height: 1.25;
  text-align: left;
}

.sp-brand-pill-sub,
.sp-brand-pill-line,
.sp-brand-pill-title,
.sp-brand-pill span {
  font-family: var(--sp-font-sans);
  font-size: 11px;
  color: var(--sp-ink-muted);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}

/* Main Navigation Menu */
.sp-menu-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-menu-item {
  position: relative;
}

.sp-menu-item.sp-has-mega {
  position: static;
}

.sp-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--sp-ink);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none !important;
  border-radius: var(--sp-radius-full);
  transition: var(--sp-transition);
  cursor: pointer;
  background: transparent;
  border: 0;
}

.sp-nav-link:hover,
.sp-menu-item.is-open .sp-nav-link,
.sp-menu-item.active .sp-nav-link {
  color: var(--sp-wine);
  background: rgba(72, 30, 40, 0.06);
}

.sp-badge-new {
  background: linear-gradient(135deg, #e08b73, #bf674f);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(191, 103, 79, 0.3);
}

.sp-dropdown-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
  fill: currentColor;
}

.sp-menu-item:hover .sp-dropdown-icon,
.sp-menu-item.is-open .sp-dropdown-icon {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   3. CREATIVE INTERACTIVE MEGA-MENU (PERFECTLY CENTERED IN HEADER)
   -------------------------------------------------------------------------- */
.sp-mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 24px;
  right: 24px;
  margin: 0 auto;
  width: min(1140px, calc(100% - 48px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  background: #ffffff;
  border-radius: var(--sp-radius-lg);
  border: 1px solid var(--sp-border);
  box-shadow: 0 25px 60px rgba(39, 18, 25, 0.2);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.24s;
  z-index: 1100;
}

.sp-menu-item.sp-has-mega:hover .sp-mega-menu,
.sp-menu-item.sp-has-mega.is-open .sp-mega-menu,
.sp-mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sp-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.15fr;
  gap: 24px;
}

.sp-mega-col-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-copper);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(72, 30, 40, 0.08);
  padding-bottom: 8px;
}

.sp-mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-mega-card-link {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--sp-ink);
  transition: var(--sp-transition);
  background: #fbf8f5;
  border: 1px solid transparent;
}

.sp-mega-card-link:hover {
  background: #ffffff;
  border-color: var(--sp-border);
  box-shadow: 0 6px 16px rgba(72, 30, 40, 0.06);
  transform: translateY(-2px);
}

.sp-mega-link-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--sp-wine);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-mega-link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--sp-transition);
  color: var(--sp-copper);
  font-size: 14px;
}

.sp-mega-card-link:hover .sp-mega-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.sp-mega-link-desc {
  font-size: 11.5px;
  color: var(--sp-ink-muted);
  line-height: 1.4;
  margin-top: 3px;
}

/* Spotlight Card inside Mega Menu */
.sp-mega-spotlight {
  background: linear-gradient(135deg, #371720 0%, #4f212c 100%);
  border-radius: 18px;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(55, 23, 32, 0.25);
}

.sp-mega-spotlight::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 139, 115, 0.35) 0%, transparent 70%);
}

.sp-spotlight-badge {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--sp-copper-light);
  margin-bottom: 8px;
  display: block;
}

.sp-spotlight-title {
  font-family: var(--sp-font-serif);
  font-size: 20px;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 10px;
}

.sp-spotlight-desc {
  font-size: 12.5px;
  color: #e9d5ce;
  line-height: 1.5;
  margin-bottom: 20px;
}

.sp-spotlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--sp-wine) !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--sp-radius-full);
  text-decoration: none !important;
  transition: var(--sp-transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.sp-spotlight-btn:hover {
  background: var(--sp-sand);
  transform: translateY(-2px);
}

/* Simple Dropdown for About */
.sp-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: #ffffff;
  border-radius: var(--sp-radius-md);
  border: 1px solid var(--sp-border);
  box-shadow: 0 16px 40px rgba(39, 18, 25, 0.16);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--sp-transition);
  z-index: 1100;
  transform: translateY(8px);
}

.sp-menu-item:hover .sp-dropdown-menu,
.sp-menu-item.is-open .sp-dropdown-menu,
.sp-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sp-dropdown-item {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--sp-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--sp-transition);
}

.sp-dropdown-item:hover {
  background: rgba(72, 30, 40, 0.06);
  color: var(--sp-wine);
  padding-left: 18px;
}

/* Nav Actions on Right */
.sp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-search-btn {
  background: #fbf7f4;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-full);
  padding: 9px 16px;
  font-size: 13px;
  color: var(--sp-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--sp-transition);
}

.sp-search-btn:hover {
  background: #fff;
  border-color: var(--sp-copper);
  color: var(--sp-ink);
  box-shadow: 0 4px 12px rgba(72, 30, 40, 0.06);
}

.sp-search-kbd {
  background: #efe6de;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-family: inherit;
  font-weight: 700;
  color: var(--sp-ink-muted);
}

.sp-cta-primary {
  background: linear-gradient(135deg, var(--sp-wine) 0%, #5d2533 100%);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--sp-radius-full);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--sp-transition);
  box-shadow: 0 4px 15px rgba(72, 30, 40, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sp-cta-primary:hover {
  background: linear-gradient(135deg, #5d2533 0%, var(--sp-copper) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 103, 79, 0.4);
}

.sp-cta-primary span.arrow {
  transition: transform 0.25s ease;
}

.sp-cta-primary:hover span.arrow {
  transform: translate(2px, -2px);
}

/* Mobile Toggle Hamburger */
.sp-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.sp-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--sp-wine);
  border-radius: 2px;
  transition: var(--sp-transition);
}

/* --------------------------------------------------------------------------
   4. HOME PAGE HERO: ULTRA-CREATIVE & LUXURY SHOWCASE
   -------------------------------------------------------------------------- */
.sp-hero-modern {
  position: relative;
  background: radial-gradient(ellipse at 85% 20%, rgba(201, 116, 91, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(72, 30, 40, 0.18) 0%, transparent 50%),
              linear-gradient(180deg, #faf4ed 0%, #f4eae0 100%);
  padding: 48px 24px 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--sp-border);
}

/* Ambient glow blobs */
.sp-hero-glow-1 {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 139, 115, 0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: sp-float-slow 8s ease-in-out infinite alternate;
}

.sp-hero-glow-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(72, 30, 40, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: sp-float-slow 10s ease-in-out infinite alternate-reverse;
}

@keyframes sp-float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

.sp-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Left Column (Copy & Content) */
.sp-hero-content {
  display: flex;
  flex-direction: column;
}

.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--sp-border);
  padding: 6px 16px;
  border-radius: var(--sp-radius-full);
  width: fit-content;
  box-shadow: 0 4px 15px rgba(72, 30, 40, 0.05);
  margin-bottom: 20px;
}

.sp-hero-badge-tag {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sp-copper);
}

.sp-hero-badge-live {
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-hero-title {
  font-family: var(--sp-font-serif);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.08;
  color: var(--sp-ink);
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  font-weight: 700;
}

.sp-hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--sp-wine) 0%, var(--sp-copper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sp-hero-lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--sp-ink-muted);
  margin: 0 0 28px;
  max-width: 580px;
}

/* Hero Interactive Care Matcher Widget (Something Different!) */
.sp-care-matcher {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 18px 20px;
  box-shadow: 0 16px 40px rgba(72, 30, 40, 0.09);
  margin-bottom: 28px;
}

.sp-matcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.sp-matcher-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-wine);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-matcher-discreet {
  font-size: 11px;
  color: #2e8b57;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sp-matcher-form {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr auto;
  gap: 12px;
  align-items: center;
}

.sp-matcher-select-wrapper {
  position: relative;
}

.sp-matcher-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d9c8bc;
  background: #fbf7f4;
  color: var(--sp-ink);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--sp-transition);
}

.sp-matcher-select:focus {
  border-color: var(--sp-copper);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(191, 103, 79, 0.15);
}

.sp-matcher-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--sp-copper);
  font-size: 11px;
}

.sp-matcher-btn {
  background: linear-gradient(135deg, var(--sp-copper) 0%, #a8523c 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--sp-transition);
  box-shadow: 0 4px 14px rgba(191, 103, 79, 0.35);
}

.sp-matcher-btn:hover {
  background: linear-gradient(135deg, #a8523c 0%, var(--sp-wine) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(191, 103, 79, 0.45);
}

/* Social Proof & Trust Badges */
.sp-hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sp-trust-avatars {
  display: flex;
  align-items: center;
}

.sp-trust-avatar-group {
  display: flex;
}

.sp-trust-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -10px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sp-trust-avatar:first-child {
  margin-left: 0;
}

.sp-trust-stat {
  display: flex;
  flex-direction: column;
}

.sp-trust-stars {
  color: #f1b723;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-trust-stat-text {
  font-size: 12px;
  color: var(--sp-ink-muted);
  font-weight: 600;
}

.sp-trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--sp-wine);
  font-weight: 700;
  background: rgba(72, 30, 40, 0.08);
  padding: 6px 12px;
  border-radius: var(--sp-radius-full);
}

/* --------------------------------------------------------------------------
   5. HERO RIGHT COLUMN: INTERACTIVE PREVIEW SHOWCASE STAGE
   -------------------------------------------------------------------------- */
.sp-hero-preview-stage {
  position: relative;
  isolation: isolate;
}

/* Top interactive mode tabs */
.sp-preview-tabs {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--sp-border);
  padding: 4px;
  border-radius: var(--sp-radius-full);
  margin-bottom: 16px;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(72, 30, 40, 0.06);
}

.sp-preview-tab-btn {
  background: transparent;
  border: 0;
  padding: 8px 16px;
  border-radius: var(--sp-radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-ink-muted);
  cursor: pointer;
  transition: var(--sp-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sp-preview-tab-btn:hover {
  color: var(--sp-wine);
}

.sp-preview-tab-btn.is-active {
  background: var(--sp-wine);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(72, 30, 40, 0.25);
}

/* Main Interactive Card Frame */
.sp-preview-card-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(191, 103, 79, 0.25);
  box-shadow: 0 24px 60px rgba(39, 18, 25, 0.14);
  aspect-ratio: 16 / 11;
  max-height: 480px;
}

.sp-preview-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.sp-preview-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s ease;
  transform: scale(1.02);
}

.sp-preview-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.sp-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Card gradient overlay & information */
.sp-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(39, 18, 25, 0.1) 0%, rgba(39, 18, 25, 0.3) 40%, rgba(39, 18, 25, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}

.sp-preview-discipline {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sp-copper-light);
  margin-bottom: 6px;
  display: inline-block;
}

.sp-preview-headline {
  font-family: var(--sp-font-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #fff;
}

.sp-preview-subline {
  font-size: 13.5px;
  color: #ebd7ce;
  max-width: 440px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.sp-preview-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sp-preview-feature-tag {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--sp-radius-full);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

/* Floating Glass Cards (Micro-Interactions that make it awesome!) */
.sp-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(191, 103, 79, 0.22);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 14px 30px rgba(39, 18, 25, 0.12);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: sp-float-card-bob 4s ease-in-out infinite alternate;
  max-width: 260px;
}

@keyframes sp-float-card-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.sp-float-top-right {
  top: 45px;
  right: -24px;
  animation-delay: 0.5s;
}

.sp-float-bottom-left {
  bottom: 24px;
  left: -28px;
  animation-delay: 1.2s;
}

.sp-float-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(191, 103, 79, 0.15), rgba(72, 30, 40, 0.1));
  display: grid;
  place-items: center;
  color: var(--sp-copper);
  font-size: 18px;
  flex-shrink: 0;
}

.sp-float-content {
  display: flex;
  flex-direction: column;
}

.sp-float-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--sp-wine);
}

.sp-float-text {
  font-size: 11px;
  color: var(--sp-ink-muted);
  line-height: 1.35;
}

/* Progress bar & controls below preview */
.sp-preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 8px;
}

.sp-preview-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(72, 30, 40, 0.12);
  border-radius: 3px;
  overflow: hidden;
  margin-right: 16px;
  position: relative;
}

.sp-preview-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sp-wine), var(--sp-copper));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.sp-preview-arrows {
  display: flex;
  gap: 8px;
}

.sp-preview-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--sp-border);
  background: #ffffff;
  color: var(--sp-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--sp-transition);
  font-size: 13px;
}

.sp-preview-arrow-btn:hover {
  background: var(--sp-wine);
  color: #fff;
  border-color: var(--sp-wine);
}

/* --------------------------------------------------------------------------
   6. METRICS & TRUST RIBBON (Seamless Hero-to-Body Bridge)
   -------------------------------------------------------------------------- */
.sp-metrics-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--sp-border);
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(39, 18, 25, 0.03);
}

.sp-metrics-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.sp-metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(72, 30, 40, 0.08);
  padding-right: 20px;
}

.sp-metric-item:last-child {
  border-right: none;
}

.sp-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(191, 103, 79, 0.1);
  display: grid;
  place-items: center;
  color: var(--sp-copper);
  font-size: 22px;
  flex-shrink: 0;
}

.sp-metric-info {
  display: flex;
  flex-direction: column;
}

.sp-metric-number {
  font-family: var(--sp-font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--sp-wine);
  line-height: 1.1;
}

.sp-metric-label {
  font-size: 12.5px;
  color: var(--sp-ink-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   7. "SOMETHING DIFFERENT": INTERACTIVE 60-SEC RELATIONSHIP & CARE FINDER
   -------------------------------------------------------------------------- */
.sp-quiz-section {
  padding: 70px 24px;
  background: linear-gradient(180deg, #f7efe6 0%, #fcf7f2 100%);
  position: relative;
}

.sp-quiz-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid var(--sp-border);
  box-shadow: 0 20px 50px rgba(39, 18, 25, 0.08);
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
}

.sp-quiz-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sp-wine), var(--sp-copper), var(--sp-gold));
}

.sp-quiz-badge {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sp-copper);
  margin-bottom: 8px;
  display: block;
}

.sp-quiz-title {
  font-family: var(--sp-font-serif);
  font-size: clamp(26px, 3vw, 38px);
  color: var(--sp-ink);
  line-height: 1.2;
  margin: 0 0 10px;
}

.sp-quiz-desc {
  font-size: 15px;
  color: var(--sp-ink-muted);
  max-width: 650px;
  margin-bottom: 30px;
}

.sp-quiz-steps-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.sp-quiz-step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-ink-light);
  padding: 6px 14px;
  border-radius: var(--sp-radius-full);
  background: #fbf6f2;
}

.sp-quiz-step-indicator.active {
  background: var(--sp-wine);
  color: #fff;
}

.sp-quiz-step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.sp-quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.sp-quiz-opt-btn {
  background: #fbf8f5;
  border: 1.5px solid #ebdcd1;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: var(--sp-transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-quiz-opt-btn:hover {
  background: #fff;
  border-color: var(--sp-copper);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(191, 103, 79, 0.12);
}

.sp-quiz-opt-btn.selected {
  background: #ffffff;
  border-color: var(--sp-wine);
  box-shadow: 0 0 0 2px var(--sp-wine);
}

.sp-quiz-opt-icon {
  font-size: 22px;
  margin-bottom: 4px;
}

.sp-quiz-opt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-wine);
}

.sp-quiz-opt-sub {
  font-size: 12px;
  color: var(--sp-ink-muted);
  line-height: 1.4;
}

.sp-quiz-result-box {
  background: linear-gradient(135deg, #2b131b 0%, #3d1b25 100%);
  color: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sp-quiz-result-text h4 {
  color: #fff;
  font-family: var(--sp-font-serif);
  font-size: 20px;
  margin: 0 0 6px;
}

.sp-quiz-result-text p {
  color: #e5cfc6;
  font-size: 13.5px;
  margin: 0;
  max-width: 550px;
}

/* --------------------------------------------------------------------------
   8. REDESIGNED CORE SERVICES & SPECIALTIES GRID
   -------------------------------------------------------------------------- */
.sp-services-section {
  padding: 80px 24px;
  background: #ffffff;
}

.sp-section-header {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.sp-section-kicker,
.sp-kicker {
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sp-link-copper, #8A402F) !important;
  margin-bottom: 10px;
  display: block;
}

.sp-section-title {
  font-family: var(--sp-font-serif);
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--sp-ink);
  line-height: 1.15;
  margin: 0 0 16px;
}

.sp-section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sp-ink-muted);
  margin: 0;
}

.sp-services-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sp-service-card-modern {
  background: #fdfbf9;
  border: 1px solid var(--sp-border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--sp-transition);
  position: relative;
  overflow: hidden;
}

.sp-service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sp-wine), var(--sp-copper));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sp-service-card-modern:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(72, 30, 40, 0.08);
  border-color: rgba(191, 103, 79, 0.35);
}

.sp-service-card-modern:hover::before {
  opacity: 1;
}

.sp-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sp-card-icon-modern {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(191, 103, 79, 0.15) 0%, rgba(72, 30, 40, 0.08) 100%);
  display: grid;
  place-items: center;
  color: var(--sp-wine);
  font-size: 22px;
}

.sp-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--sp-radius-full);
  background: #f4eae0;
  color: var(--sp-wine);
}

.sp-card-tag.highlight {
  background: rgba(191, 103, 79, 0.16);
  color: var(--sp-copper);
}

.sp-card-title {
  font-family: var(--sp-font-serif);
  font-size: 22px;
  color: var(--sp-ink);
  line-height: 1.25;
  margin: 0 0 12px;
}

.sp-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sp-ink-muted);
  margin-bottom: 20px;
  flex: 1;
}

.sp-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-card-bullets li {
  font-size: 12.5px;
  color: var(--sp-ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-card-bullets li::before {
  content: '✓';
  color: var(--sp-copper);
  font-weight: 800;
}

.sp-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(72, 30, 40, 0.08);
}

.sp-card-link-btn {
  color: var(--sp-wine);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--sp-transition);
}

.sp-card-link-btn:hover {
  color: var(--sp-copper);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   9. FOUNDER & PROBLEM SOLVER GROUP (PSG) STORY
   -------------------------------------------------------------------------- */
.sp-story-modern {
  background: linear-gradient(135deg, #241117 0%, #3b1822 50%, #200e14 100%);
  color: #fff;
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

.sp-story-modern::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 116, 91, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.sp-story-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.sp-story-kicker {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sp-copper-light);
  margin-bottom: 12px;
  display: block;
}

.sp-story-title {
  font-family: var(--sp-font-serif);
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 20px;
}

.sp-story-body {
  font-size: 16.5px;
  line-height: 1.68;
  color: #eedacf;
  margin-bottom: 30px;
  max-width: 620px;
}

.sp-story-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.sp-story-pill {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
}

.sp-story-pill h5 {
  font-size: 13.5px;
  color: var(--sp-copper-light);
  font-weight: 700;
  margin: 0 0 4px;
}

.sp-story-pill p {
  font-size: 12px;
  color: #ded0c9;
  line-height: 1.4;
  margin: 0;
}

/* Quote Showcase Card */
.sp-story-quote-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}

.sp-quote-mark {
  font-family: var(--sp-font-serif);
  font-size: 60px;
  line-height: 1;
  color: var(--sp-copper-light);
  opacity: 0.6;
  margin-bottom: 10px;
}

.sp-quote-text {
  font-family: var(--sp-font-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 24px;
}

.sp-quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sp-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sp-copper);
}

.sp-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.sp-author-role {
  font-size: 12px;
  color: var(--sp-copper-light);
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE SPOTLIGHT SEARCH MODAL
   -------------------------------------------------------------------------- */
.sp-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}

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

.sp-search-box {
  background: #ffffff;
  border-radius: 20px;
  width: min(640px, 100%);
  border: 1px solid var(--sp-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-search-modal.is-open .sp-search-box {
  transform: translateY(0);
}

.sp-search-input-row {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--sp-border);
  gap: 12px;
}

.sp-search-field {
  width: 100%;
  border: 0;
  font-size: 16px;
  font-family: inherit;
  color: var(--sp-ink);
  outline: none;
}

.sp-search-results-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  list-style: none;
  margin: 0;
}

.sp-search-result-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--sp-ink);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: var(--sp-transition);
}

.sp-search-result-item a:hover {
  background: var(--sp-sand);
  color: var(--sp-wine);
  padding-left: 20px;
}

/* --------------------------------------------------------------------------
   11. MODERN LUXURY FOOTER
   -------------------------------------------------------------------------- */
.sp-footer-modern {
  background: #1e0e13;
  color: #edd9d0;
  padding: 40px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr minmax(380px, 440px);
  gap: 28px 32px;
  margin-bottom: 18px;
  align-items: start;
}

.sp-footer-brand-logo,
.sp-footer-logo,
.sp-footer-brand-col img,
.sp-footer-modern img.sp-footer-brand-logo,
.sp-footer-modern img.sp-footer-logo {
  height: 42px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block;
  filter: brightness(1.2);
  margin-bottom: 10px;
}

.sp-footer-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #c9b4ab;
  max-width: 340px;
  margin-bottom: 10px;
}

.sp-footer-col-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-copper-light);
  margin-bottom: 14px;
}

.sp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-footer-links a {
  color: #ded0c9;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: var(--sp-transition);
}

.sp-footer-links a:hover {
  color: var(--sp-copper-light);
  padding-left: 4px;
}

.sp-footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #a8948b;
}

.sp-footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-footer-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: var(--sp-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   11A. SPOUZY FOOTER SOCIAL MEDIA ICONS
   Vibrant brand-colored circular icons (38-42px) with accessible states
   -------------------------------------------------------------------------- */
.sp-footer-social-col,
.sp-footer-extras > .sp-footer-extra.sp-footer-social-col,
.sp-footer-extras > .sp-footer-extra:last-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  align-self: center !important;
  margin-left: auto !important;
  gap: 0 !important;
  padding: 0 !important;
}

.sp-footer-social,
.sp-footer-share {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: auto !important;
  min-height: 46px !important;
}

.sp-footer-social-btn,
.sp-footer-social a,
.sp-footer-social span,
.sp-footer-share a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer;
  padding: 0 !important;
  overflow: hidden !important;
}

.sp-footer-social-btn svg,
.sp-footer-social a svg,
.sp-footer-social span svg,
.sp-footer-share a svg {
  display: block !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

/* Brand Colors */
.sp-footer-social-btn.sp-social-fb,
.sp-footer-social a.sp-social-fb {
  background: #1877F2 !important;
  border: none !important;
}

.sp-footer-social-btn.sp-social-x,
.sp-footer-social a.sp-social-x {
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.sp-footer-social-btn.sp-social-li,
.sp-footer-social a.sp-social-li {
  background: #0A66C2 !important;
  border: none !important;
}

.sp-footer-social-btn.sp-social-ig,
.sp-footer-social span.sp-social-ig,
.sp-footer-social a.sp-social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border: none !important;
}

/* Interactive States: subtle hover & keyboard focus */
.sp-footer-social-btn:not(.sp-social-placeholder):hover,
.sp-footer-social a:not(.sp-social-placeholder):hover,
.sp-footer-share a:hover {
  transform: translateY(-2px) scale(1.06) !important;
  filter: brightness(1.12) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45) !important;
}

.sp-footer-social-btn:focus-visible,
.sp-footer-social a:focus-visible,
.sp-footer-social span:focus-visible,
.sp-footer-share a:focus-visible {
  outline: 2px solid #e08b73 !important;
  outline-offset: 3px !important;
}

/* Instagram Placeholder (profile URL pending) */
.sp-footer-social-placeholder,
.sp-social-placeholder {
  cursor: default !important;
  pointer-events: auto !important;
}

.sp-footer-social-placeholder:hover,
.sp-social-placeholder:hover {
  transform: none !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35) !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .sp-footer-social-btn,
  .sp-footer-social a,
  .sp-footer-share a {
    transition: none !important;
    transform: none !important;
  }
  .sp-footer-social-btn:hover,
  .sp-footer-social a:hover,
  .sp-footer-share a:hover {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   11B. SPOUZY FOOTER TEDDY DANCE ANIMATION (ENLARGED & GROUNDED)
   -------------------------------------------------------------------------- */
.sp-footer-teddy {
  align-self: stretch; /* Stretch through upper footer row */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* Ground characters toward bottom baseline */
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
}

.sp-footer-teddy-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 9;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.sp-footer-teddy-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  display: block;
  border: none !important;
  outline: none;
  pointer-events: none;
}

.sp-footer-teddy-static {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  display: none;
  border: none !important;
  pointer-events: none;
}

/* Subtle flattened elliptical ground shadow beneath characters' foot baseline */
.sp-footer-teddy-shadow {
  width: 290px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(10, 3, 7, 0.72) 0%, rgba(10, 3, 7, 0.28) 45%, transparent 75%);
  filter: blur(4px);
  margin-top: -6px;
  pointer-events: none;
  flex-shrink: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .sp-footer-teddy-video {
    display: none !important;
  }
  .sp-footer-teddy-static {
    display: block !important;
    position: relative;
  }
}

/* Fallback state when video is unsupported or fails */
.sp-footer-teddy.is-fallback .sp-footer-teddy-video {
  display: none !important;
}
.sp-footer-teddy.is-fallback .sp-footer-teddy-static {
  display: block !important;
  position: relative;
}

/* Floating Confidential Quick Pill (Bottom-Right) */
.sp-floating-quick-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--sp-wine) 0%, #2b1119 100%);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--sp-radius-full);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(39, 18, 25, 0.35);
  transition: var(--sp-transition);
}

.sp-floating-quick-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(191, 103, 79, 0.45);
  background: linear-gradient(135deg, var(--sp-copper) 0%, var(--sp-wine) 100%);
}

/* --------------------------------------------------------------------------
   12. MASTER RESPONSIVE SYSTEM (TABLET & MOBILE OPTIMIZATIONS)
   -------------------------------------------------------------------------- */

/* Global horizontal overflow prevention (uses clip so position: sticky is preserved) */
html, body {
  overflow-x: clip !important;
  overflow-y: visible !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
}

/* Switch to compact navigation when desktop navbar no longer fits on one line (<= 1140px) */
@media (max-width: 1140px) {
  .sp-desktop-nav,
  .sp-menu-list {
    display: none !important;
  }
  .sp-mobile-toggle {
    display: flex !important;
  }
  .sp-search-key-hint {
    display: none;
  }
  .sp-nav-container {
    padding: 14px 20px;
  }
}

@media (max-width: 1140px) and (min-width: 1025px) {
  .sp-footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr) !important;
    gap: 24px 28px !important;
  }
  .sp-footer-teddy {
    grid-column: 4 !important;
    margin-top: 14px !important;
    width: 320px !important;
    max-width: 100% !important;
    justify-self: start !important;
    align-self: flex-start !important;
  }
  .sp-footer-teddy-shadow {
    width: 220px !important;
  }
}

/* Tablet Optimizations (Screens <= 1024px) */
@media (max-width: 1024px) {
  .sp-desktop-nav,
  .sp-menu-list {
    display: none;
  }
  .sp-mobile-toggle {
    display: flex;
  }
  .sp-search-key-hint {
    display: none;
  }
  .sp-nav-container {
    padding: 14px 20px;
  }
  .sp-metrics-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sp-metric-item {
    border-right: none;
    border-bottom: 1px solid rgba(72, 30, 40, 0.08);
    padding-bottom: 16px;
  }
  .sp-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sp-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sp-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .sp-footer-teddy {
    grid-column: 2;
    margin-top: 12px;
    width: 300px;
    max-width: 100%;
    justify-self: start;
    align-self: flex-start;
  }
  .sp-footer-teddy-shadow {
    width: 210px;
  }
  }
  .sp-quiz-container {
    padding: 32px 24px;
  }
}

/* Mobile Screens (<= 767px, Phones) */
@media (max-width: 767px) {
  .sp-topbar-modern {
    display: block;
  }
  .sp-topbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 6px 14px 7px;
    gap: 6px;
  }
  .sp-topbar-left.sp-topbar-message,
  .sp-topbar-message {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 22px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }
  .sp-topbar-sentence {
    font-size: 13px;
  }
  .sp-topbar-sep {
    margin: 0 18px;
  }
  .sp-topbar-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .sp-topbar-link {
    font-size: 11px;
    gap: 4px;
    white-space: nowrap;
  }
  .sp-topbar-link svg.top-action-icon {
    width: 13px;
    height: 13px;
  }
  .sp-book-top {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* Extra small mobile adjustments (<= 360px) */
@media (max-width: 360px) {
  .sp-topbar-container {
    padding: 5px 8px 6px;
  }
  .sp-topbar-right {
    gap: 4px;
  }
  .sp-topbar-link {
    font-size: 10px;
  }
  .sp-book-top {
    font-size: 10.5px;
    padding: 3px 6px;
  }
}

@media (max-width: 767px) {
  .sp-nav-container {
    padding: 10px 14px;
  }
  .sp-brand-logo {
    height: 48px;
  }
  .sp-brand-pill {
    display: none;
  }
  .sp-header-actions {
    gap: 8px;
  }
  .sp-search-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
    padding: 0;
    justify-content: center;
    border-radius: var(--sp-radius-full);
  }
  .sp-search-btn span,
  .sp-search-btn .sp-search-kbd {
    display: none !important;
  }
  .sp-header-actions .sp-cta-primary {
    padding: 7px 11px;
    font-size: 11.5px;
  }
  .sp-header-actions .sp-cta-primary span.arrow {
    display: none;
  }
  
  /* Ticker on Mobile */
  .sp-ticker-section {
    padding: 9px 0;
  }
  .sp-ticker-content {
    font-size: 11px;
    gap: 20px;
    padding-right: 20px;
  }

  /* Metrics Ribbon on Mobile */
  .sp-metrics-ribbon {
    padding: 16px 12px;
  }
  .sp-metrics-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sp-metric-item {
    gap: 10px;
    padding: 10px;
    background: #faf6f3;
    border-radius: 12px;
    border: 1px solid rgba(72, 30, 40, 0.06);
    border-bottom: none;
  }
  .sp-metric-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .sp-metric-number {
    font-size: 20px;
  }
  .sp-metric-label {
    font-size: 10.5px;
  }

  /* Services Grid on Mobile */
  .sp-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sp-service-card-modern {
    padding: 22px 18px;
  }
  .sp-card-icon-modern {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  .sp-card-title-modern {
    font-size: 18px;
  }

  /* Problem Solver Group on Mobile */
  .sp-story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sp-story-features-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sp-founder-quote-card {
    padding: 22px 16px;
  }

  /* Interactive Quiz on Mobile */
  .sp-quiz-section {
    padding: 40px 12px;
  }
  .sp-quiz-container {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .sp-quiz-title {
    font-size: 22px;
  }
  .sp-quiz-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sp-quiz-opt-btn {
    padding: 14px 16px;
  }
  .sp-quiz-result-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 16px;
  }
  .sp-quiz-result-box a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Reviews on Mobile */
  .sp-reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer on Mobile */
  .sp-footer-modern {
    padding: 32px 16px 16px;
  }
  .sp-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 18px;
  }
  .sp-footer-teddy {
    grid-column: 1;
    width: 280px;
    max-width: 85vw;
    margin: 16px auto 8px;
    justify-self: center;
    align-self: center;
  }
  .sp-footer-teddy-shadow {
    width: 190px;
    height: 10px;
    margin-top: -5px;
  }
  .sp-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 12px;
  }
  .sp-footer-badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Floating Action Pill on Mobile */
  .sp-floating-quick-pill {
    bottom: 12px;
    right: 12px;
    font-size: 11.5px;
    padding: 9px 14px;
  }
}


/* --------------------------------------------------------------------------
   13. MOBILE DRAWER NAVIGATION STYLING
   -------------------------------------------------------------------------- */
.sp-mobile-drawer:not(.is-open) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.sp-mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 14, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.sp-mobile-drawer.is-open {
  display: block !important;
  opacity: 1;
  visibility: visible !important;
  pointer-events: auto !important;
}

.sp-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 86vw);
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 24px;
}

.sp-mobile-drawer.is-open .sp-drawer-panel {
  transform: translateX(0);
}

.sp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-drawer-logo {
  height: 36px;
  width: auto;
}

.sp-mobile-drawer-close {
  background: #f4eae0;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--sp-wine);
  cursor: pointer;
}

.sp-drawer-search {
  margin-bottom: 20px;
}

.sp-drawer-search-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d9c8bc;
  background: #fbf7f4;
  font-size: 13.5px;
}

.sp-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--sp-ink);
  text-decoration: none !important;
  transition: var(--sp-transition);
}

.sp-drawer-link:hover {
  background: var(--sp-sand);
  color: var(--sp-wine);
}

.sp-drawer-sublinks {
  list-style: none;
  padding: 0 0 0 16px;
  margin: 4px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-drawer-sublink {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--sp-ink-muted);
  text-decoration: none !important;
}

.sp-drawer-sublink:hover {
  color: var(--sp-copper);
}

.sp-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--sp-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   14. GRAND LARGE-BANNER HERO SLIDER WITH SYNCHRONIZED AUTO-TEXT
   -------------------------------------------------------------------------- */
.sp-hero-banner-section {
  position: relative;
  background: radial-gradient(ellipse at 85% 20%, rgba(201, 116, 91, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(72, 30, 40, 0.15) 0%, transparent 50%),
              linear-gradient(180deg, #faf4ed 0%, #f4eae0 100%);
  padding: 24px 20px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--sp-border);
}

.sp-hero-banner-frame {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  min-height: clamp(580px, 68vh, 700px);
  border-radius: 28px;
  overflow: hidden;
  background: #180b10;
  border: 1px solid rgba(191, 103, 79, 0.28);
  box-shadow: 0 24px 60px rgba(39, 18, 25, 0.2);
}

.sp-hero-banner-slides {
  position: relative;
  width: 100%;
  height: clamp(580px, 68vh, 700px);
}

.sp-hero-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  overflow: hidden;
}

.sp-hero-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Large banner-size background image */
.sp-banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}

.sp-hero-banner-slide.is-active .sp-banner-bg-img {
  transform: scale(1);
}

/* Scrim gradient: dark on left for text contrast, clear on right for banner visibility */
.sp-banner-scrim-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(20, 9, 14, 0.96) 0%, 
    rgba(20, 9, 14, 0.86) 42%, 
    rgba(20, 9, 14, 0.35) 70%, 
    rgba(20, 9, 14, 0.08) 100%);
  z-index: 3;
}

/* Text placed directly upon the banner */
.sp-banner-text-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5.5vw, 72px);
  max-width: 760px;
  color: #ffffff;
}

.sp-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 16px;
  border-radius: var(--sp-radius-full);
  width: fit-content;
  margin-bottom: 20px;
}

.sp-banner-eyebrow-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sp-copper-light);
}

.sp-banner-eyebrow-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #f0ddd3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-banner-headline {
  font-family: var(--sp-font-serif);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 700;
}

.sp-banner-headline em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #f7d5c8 0%, var(--sp-copper-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sp-banner-desc {
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.62;
  color: #ebdcd4;
  margin: 0 0 24px;
  max-width: 600px;
}

.sp-banner-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.sp-banner-pill-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: var(--sp-radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.sp-banner-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.sp-banner-btn-primary {
  background: linear-gradient(135deg, var(--sp-copper) 0%, #a8523c 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: var(--sp-radius-full);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(191, 103, 79, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--sp-transition);
}

.sp-banner-btn-primary:hover {
  background: linear-gradient(135deg, #a8523c 0%, var(--sp-wine) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(191, 103, 79, 0.5);
}

.sp-banner-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: var(--sp-radius-full);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--sp-transition);
}

.sp-banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.sp-banner-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #dfccc4;
}

.sp-banner-trust-stars {
  color: #f1b723;
  display: inline-flex;
  gap: 3px;
}

/* Animations for text upon the banner when slide activates */
.sp-hero-banner-slide.is-active .sp-banner-eyebrow {
  animation: sp-banner-fade-up 0.5s ease both 0.1s;
}

.sp-hero-banner-slide.is-active .sp-banner-headline {
  animation: sp-banner-fade-up 0.6s ease both 0.2s;
}

.sp-hero-banner-slide.is-active .sp-banner-desc {
  animation: sp-banner-fade-up 0.6s ease both 0.3s;
}

.sp-hero-banner-slide.is-active .sp-banner-pills {
  animation: sp-banner-fade-up 0.6s ease both 0.35s;
}

.sp-hero-banner-slide.is-active .sp-banner-actions-row {
  animation: sp-banner-fade-up 0.6s ease both 0.4s;
}

.sp-hero-banner-slide.is-active .sp-banner-trust-row {
  animation: sp-banner-fade-up 0.6s ease both 0.45s;
}

@keyframes sp-banner-fade-up {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Floating badges on the right side of the banner */
.sp-banner-floating-badge {
  position: absolute;
  z-index: 6;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(191, 103, 79, 0.25);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  color: var(--sp-ink);
}

.sp-banner-badge-top {
  top: 36px;
  right: 36px;
}

.sp-banner-badge-bottom {
  bottom: 100px;
  right: 36px;
}

/* Interactive Tabs & Progress Bar at bottom of the banner */
.sp-banner-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 6, 10, 0.9) 100%);
  padding: 14px 36px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sp-banner-tab-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-banner-tab-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dfccc4;
  padding: 8px 16px;
  border-radius: var(--sp-radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--sp-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
}

.sp-banner-tab-item:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.sp-banner-tab-item.is-active {
  background: var(--sp-wine);
  color: #ffffff;
  border: 1px solid var(--sp-copper-light);
  box-shadow: 0 4px 14px rgba(72, 30, 40, 0.4);
}

.sp-banner-timer-bar {
  flex: 1;
  max-width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.sp-banner-timer-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sp-copper-light), #fff);
  border-radius: 3px;
  transition: width 0.08s linear;
}

.sp-banner-arrow-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-banner-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--sp-transition);
  font-size: 13px;
}

.sp-banner-arrow-btn:hover {
  background: var(--sp-copper);
  border-color: var(--sp-copper);
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   RESPONSIVE HERO BANNER SLIDER (TABLET & MOBILE)
   -------------------------------------------------------------------------- */

/* Tablet (768px to 1024px) */
@media (max-width: 1024px) {
  .sp-hero-banner-section {
    padding: 18px 16px 20px;
  }
  .sp-hero-banner-frame,
  .sp-hero-banner-slides {
    min-height: 600px;
    height: 600px;
    border-radius: 24px;
  }
  .sp-banner-scrim-overlay {
    background: linear-gradient(90deg, 
      rgba(20, 9, 14, 0.96) 0%, 
      rgba(20, 9, 14, 0.88) 55%, 
      rgba(20, 9, 14, 0.45) 100%);
  }
  .sp-banner-text-content {
    position: absolute;
    inset: 0;
    padding: 36px 28px 110px;
    max-width: 620px;
    justify-content: center;
  }
  .sp-banner-headline {
    font-size: clamp(28px, 4.5vw, 38px);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .sp-banner-subheadline {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .sp-banner-floating-badge {
    display: none;
  }
  .sp-banner-nav-bar {
    padding: 12px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .sp-banner-tab-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: calc(100% - 90px);
  }
  .sp-banner-tab-group::-webkit-scrollbar {
    display: none;
  }
  .sp-banner-tab-item {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 11.5px;
  }
  .sp-banner-timer-bar {
    display: none;
  }
}

/* Mobile Screens (<= 767px, Phones) */
@media (max-width: 767px) {
  .sp-hero-banner-section {
    padding: 10px 8px 16px;
  }
  .sp-hero-banner-frame {
    border-radius: 18px;
    border: 1px solid rgba(191, 103, 79, 0.25);
    box-shadow: 0 16px 36px rgba(20, 9, 14, 0.15);
  }
  .sp-hero-banner-frame,
  .sp-hero-banner-slides {
    min-height: 590px;
    height: 590px;
  }
  .sp-banner-bg-img {
    object-position: center center;
  }
  .sp-banner-scrim-overlay {
    background: linear-gradient(180deg, 
      rgba(20, 9, 14, 0.95) 0%, 
      rgba(20, 9, 14, 0.88) 55%, 
      rgba(20, 9, 14, 0.96) 100%);
  }
  .sp-banner-text-content {
    position: absolute;
    inset: 0;
    padding: 22px 16px 85px;
    justify-content: flex-start;
    max-width: 100%;
  }
  .sp-banner-eyebrow {
    margin-bottom: 8px;
    padding: 3px 10px;
  }
  .sp-banner-eyebrow-tag {
    font-size: 9.5px;
  }
  .sp-banner-eyebrow-sub {
    font-size: 10.5px;
  }
  .sp-banner-headline {
    font-size: clamp(21px, 6.2vw, 27px);
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .sp-banner-subheadline {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sp-banner-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .sp-banner-tags::-webkit-scrollbar {
    display: none;
  }
  .sp-banner-tag {
    white-space: nowrap;
    font-size: 10px;
    padding: 3px 8px;
    flex-shrink: 0;
  }
  .sp-banner-cta-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    margin-bottom: 8px;
  }
  .sp-banner-cta-group .sp-cta-primary,
  .sp-banner-cta-group .sp-cta-glass {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
    font-size: 11.5px;
    white-space: nowrap;
    text-align: center;
  }
  .sp-banner-cta-group .sp-cta-primary span.arrow {
    display: none;
  }
  .sp-banner-trust-row {
    margin-top: 2px;
    font-size: 10.5px;
    opacity: 0.85;
    flex-wrap: wrap;
    gap: 6px;
  }
  .sp-banner-nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 8px 12px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 6, 10, 0.96) 100%);
  }
  .sp-banner-tab-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: calc(100% - 68px);
  }
  .sp-banner-tab-group::-webkit-scrollbar {
    display: none;
  }
  .sp-banner-tab-item {
    padding: 5px 9px;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .sp-banner-timer-bar {
    display: none;
  }
  .sp-banner-arrow-btns {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
  }
  .sp-banner-arrow-btn {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   15. GLOBAL TEXT & INTERACTIVE MOTION SYSTEM (60FPS ACCELERATED)
   -------------------------------------------------------------------------- */

/* Shimmering Animated Text Gradient */
.sp-text-shimmer {
  background: linear-gradient(90deg, #f7d5c8 0%, #ffffff 25%, #e08b73 50%, #ffffff 75%, #f7d5c8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sp-text-shimmer-anim 4.5s linear infinite;
  display: inline-block;
}

@keyframes sp-text-shimmer-anim {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Shimmer Gold for Numbers / Accents */
.sp-text-gold-shimmer {
  background: linear-gradient(90deg, #cfa76e 0%, #fff2dc 25%, #bf674f 50%, #fff2dc 75%, #cfa76e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sp-text-shimmer-anim 5s linear infinite;
  display: inline-block;
}

/* Kinetic Rotating Word Badge in Hero */
.sp-rotating-text-wrapper {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.25em;
}

.sp-rotating-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}

.sp-rotating-word.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.sp-rotating-word.is-exit {
  opacity: 0;
  transform: translateY(-100%);
}

/* Scroll-Triggered Reveal Animations */
.sp-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.sp-reveal.sp-in-view {
  opacity: 1;
  transform: translateY(0);
}

.sp-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.sp-reveal-left.sp-in-view {
  opacity: 1;
  transform: translateX(0);
}

.sp-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.sp-reveal-right.sp-in-view {
  opacity: 1;
  transform: translateX(0);
}

.sp-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.sp-reveal-scale.sp-in-view {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* Infinite Moving Ticker Ribbon */
.sp-ticker-section {
  background: linear-gradient(90deg, #1f0d14 0%, #30141e 50%, #1f0d14 100%);
  color: #f7e6dc;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 20;
}

.sp-ticker-track {
  display: flex;
  width: max-content;
  animation: sp-ticker-scroll 34s linear infinite;
  will-change: transform;
}

.sp-ticker-section:hover .sp-ticker-track,
.sp-ticker-section:focus-within .sp-ticker-track {
  animation-play-state: paused;
}

.sp-ticker-section.is-paused .sp-ticker-track,
.sp-ticker-section[data-paused="true"] .sp-ticker-track {
  animation-play-state: paused !important;
}

.sp-ticker-content {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sp-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.sp-ticker-bullet {
  color: var(--sp-copper-light);
  font-size: 16px;
}

.sp-ticker-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  background: rgba(31, 13, 20, 0.88);
  border: 1px solid rgba(246, 197, 174, 0.35);
  color: #f7e6dc;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sp-ticker-toggle:hover,
.sp-ticker-toggle:focus-visible {
  border-color: #f6c5ae;
  color: #fff;
  background: rgba(80, 38, 53, 0.95);
  box-shadow: 0 0 8px rgba(246, 197, 174, 0.35);
  outline: none;
}

.sp-ticker-toggle svg {
  display: block;
}

@keyframes sp-ticker-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 767px) {
  .sp-ticker-toggle {
    right: 8px;
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-ticker-track {
    animation: none !important;
    transform: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
  }
  .sp-ticker-content {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0 !important;
    gap: 12px 24px;
    white-space: normal !important;
  }
  .sp-ticker-content[aria-hidden="true"] {
    display: none !important;
  }
  .sp-ticker-toggle {
    display: none !important;
  }
}

/* Do's and Don'ts Layout Cards */
.do-dont-section {
  margin-bottom: 28px;
}
.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
@media (max-width: 640px) {
  .do-dont-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.do-box, .dont-box {
  padding: 16px 20px;
  border-radius: 12px;
  box-sizing: border-box;
}
.do-box {
  background: rgba(46, 92, 59, 0.07);
  border: 1px solid rgba(46, 92, 59, 0.25);
}
.do-box h3 {
  color: #265534;
  font-size: 17px;
  margin: 0 0 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dont-box {
  background: rgba(142, 45, 54, 0.07);
  border: 1px solid rgba(142, 45, 54, 0.25);
}
.dont-box h3 {
  color: #872832;
  font-size: 17px;
  margin: 0 0 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.do-box ul, .dont-box ul {
  padding-left: 20px;
  margin: 0;
}
.do-box li, .dont-box li {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #3d2630;
}
.do-box li:last-child, .dont-box li:last-child {
  margin-bottom: 0;
}

/* Harmonic Floating Physics for Badges */
.sp-banner-floating-badge {
  animation: sp-float-harmonic 4.5s ease-in-out infinite alternate;
}

.sp-banner-badge-top {
  animation-delay: 0.4s;
}

.sp-banner-badge-bottom {
  animation-delay: 1.2s;
}

@keyframes sp-float-harmonic {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.8deg); }
  100% { transform: translateY(-13px) rotate(-0.8deg); }
}

/* Interactive Card Hover Physics & Dynamic Glow */
.sp-service-card-modern {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease;
}

.sp-service-card-modern:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 24px 50px rgba(72, 30, 40, 0.12);
  border-color: rgba(191, 103, 79, 0.4);
}

.sp-service-card-modern .sp-card-icon-modern {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s;
}

.sp-service-card-modern:hover .sp-card-icon-modern {
  transform: scale(1.15) rotate(6deg);
  background: linear-gradient(135deg, rgba(191, 103, 79, 0.28) 0%, rgba(72, 30, 40, 0.2) 100%);
}

/* Pulsing Glowing Button Glow */
.sp-btn-pulse {
  position: relative;
  overflow: visible;
}

.sp-btn-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--sp-radius-full);
  background: var(--sp-copper);
  z-index: -1;
  opacity: 0.6;
  animation: sp-pulse-ring 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes sp-pulse-ring {
  0% { transform: scale(0.96); opacity: 0.7; }
  70% { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}

/* Animated Underline Highlight */
.sp-underline-grow {
  position: relative;
  display: inline-block;
}

.sp-underline-grow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sp-copper), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.sp-underline-grow:hover::after {
  transform: scaleX(1);
}

/* Quiz Option Card Animation */
.sp-quiz-opt-btn {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s ease, 
              border-color 0.25s ease;
}

.sp-quiz-opt-btn:active {
  transform: scale(0.97);
}

.sp-quiz-opt-btn.selected {
  animation: sp-card-selected 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sp-card-selected {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Number Counter Animation Styling */
.sp-count-up {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  transition: transform 0.3s ease;
}

.sp-count-up.is-counted {
  animation: sp-num-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sp-num-pop {
  0% { transform: scale(0.85); opacity: 0.5; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}


/* --------------------------------------------------------------------------
   16. SUBPAGE COMPONENT SYSTEM (APPOINTMENTS, CONTACT, STORY, AUTH, STATUS)
   -------------------------------------------------------------------------- */

/* Subpage Hero Header (Accessible on #FFFACD Canvas) */
.sp-subpage-hero {
  position: relative;
  background-color: var(--sp-page-bg, #FFFACD) !important;
  background-image: none !important;
  color: var(--sp-text-body, #3D2B2B);
  padding: 68px 24px 60px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(138, 64, 47, 0.16);
}

.sp-subpage-hero::before {
  display: none !important;
}

.sp-subpage-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sp-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-text-secondary, #65504B);
  margin-bottom: 18px;
  background: var(--sp-badge-bg, #FFF7E8);
  padding: 7px 18px;
  border-radius: var(--sp-radius-full);
  border: 1px solid var(--sp-badge-border, rgba(138, 64, 47, 0.24));
  box-shadow: 0 2px 8px rgba(75, 32, 48, 0.04);
}

.sp-breadcrumbs a {
  color: var(--sp-link-copper, #8A402F);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  font-weight: 600;
}

.sp-breadcrumbs a:hover,
.sp-breadcrumbs a:focus-visible {
  color: var(--sp-text-heading, #4B2030);
  text-decoration: underline;
}

.sp-breadcrumbs i {
  color: var(--sp-text-secondary, #65504B);
  font-size: 11px;
}

.sp-breadcrumbs span {
  color: var(--sp-text-heading, #4B2030);
  font-weight: 700;
}

.sp-subpage-title {
  font-family: var(--sp-font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--sp-text-heading, #4B2030);
}

.sp-subpage-title .sp-text-shimmer,
.sp-subpage-hero .sp-text-shimmer {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: var(--sp-link-copper, #8A402F) !important;
  color: var(--sp-link-copper, #8A402F) !important;
  animation: none !important;
  display: inline;
  font-weight: 700;
  text-decoration: none;
}

.sp-subpage-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--sp-text-secondary, #65504B);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto 28px;
}

.sp-subpage-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--sp-radius-full);
  background: var(--sp-badge-bg, #FFF7E8);
  border: 1px solid var(--sp-badge-border, rgba(138, 64, 47, 0.24));
  box-shadow: 0 2px 8px rgba(75, 32, 48, 0.04);
  color: var(--sp-text-heading, #4B2030);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sp-hero-pill-badge i {
  font-size: 14px;
}

.sp-hero-pill-badge i[style*="#e08b73"],
.sp-hero-pill-badge i[style*="#ffa502"] {
  color: var(--sp-link-copper, #8A402F) !important;
}

.sp-hero-pill-badge i[style*="#2ed573"] {
  color: #1e7e44 !important;
}

.sp-hero-pill-badge i[style*="#70a1ff"] {
  color: #2655b0 !important;
}

.sp-hero-pill-badge i[style*="#ff4757"] {
  color: #ba1a29 !important;
}

/* --------------------------------------------------------------------------
   DOCTOR DIRECTORY & APPOINTMENT BOOKING SUITE
   -------------------------------------------------------------------------- */
.sp-booking-hub {
  padding: 60px 24px 90px;
  max-width: 1360px;
  margin: 0 auto;
}

/* Mode Switcher Tabs */
.sp-booking-modes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.sp-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--sp-radius-full);
  background: #ffffff;
  border: 1.5px solid rgba(72, 30, 40, 0.12);
  color: var(--sp-wine);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--sp-transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.sp-mode-btn:hover {
  border-color: var(--sp-copper);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(191, 103, 79, 0.15);
}

.sp-mode-btn.is-active {
  background: linear-gradient(135deg, var(--sp-wine) 0%, #2f131c 100%);
  color: #ffffff;
  border-color: var(--sp-wine);
  box-shadow: 0 8px 22px rgba(72, 30, 40, 0.25);
}

/* Category Filter Bar */
.sp-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 36px;
  scrollbar-width: thin;
}

.sp-filter-pill {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: var(--sp-radius-full);
  background: rgba(247, 243, 240, 0.85);
  border: 1px solid rgba(72, 30, 40, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-text-muted);
  cursor: pointer;
  transition: var(--sp-transition);
}

.sp-filter-pill:hover,
.sp-filter-pill.is-active {
  background: var(--sp-copper);
  color: #ffffff;
  border-color: var(--sp-copper);
}

/* Dual Column Layout: Doctors Grid + Interactive Booking Form */
.sp-booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 1040px) {
  .sp-booking-layout {
    grid-template-columns: 1fr;
  }
}

.sp-doctor-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Doctor Modern Card */
.sp-doctor-card-modern {
  background: #ffffff;
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(72, 30, 40, 0.08);
  padding: 26px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(72, 30, 40, 0.04);
  transition: var(--sp-transition);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .sp-doctor-card-modern {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.sp-doctor-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(72, 30, 40, 0.1);
  border-color: rgba(191, 103, 79, 0.35);
}

.sp-doctor-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(72, 30, 40, 0.12);
  margin: 0 auto;
  position: relative;
  background: #f7ede8;
}

.sp-doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-doctor-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-doctor-name {
  font-family: var(--sp-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--sp-wine);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sp-font-body);
  font-size: 11px;
  font-weight: 700;
  color: #14532d !important;
  background: rgba(22, 101, 52, 0.12) !important;
  border: 1px solid rgba(22, 101, 52, 0.22) !important;
  padding: 2px 8px;
  border-radius: var(--sp-radius-full);
}

.sp-doctor-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-link-copper, #8A402F) !important;
}

.sp-doctor-meta-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--sp-text-muted);
  flex-wrap: wrap;
  margin-top: 4px;
}

.sp-doctor-meta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sp-doctor-slots-note {
  font-size: 12px;
  font-weight: 600;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 6px;
}

.sp-doctor-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

@media (max-width: 640px) {
  .sp-doctor-action-col {
    align-items: center;
  }
}

.sp-doctor-price-tag {
  font-size: 13px;
  color: var(--sp-text-muted);
  text-align: right;
}

.sp-doctor-price-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--sp-wine);
}

/* Floating / Sticky Quick Booking Card */
.sp-booking-card-modern {
  background: #ffffff;
  border-radius: var(--sp-radius-xl);
  border: 1.5px solid rgba(72, 30, 40, 0.1);
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(72, 30, 40, 0.08);
  position: sticky;
  top: 100px;
}

.sp-booking-card-header {
  border-bottom: 1px solid rgba(72, 30, 40, 0.08);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.sp-booking-card-title {
  font-family: var(--sp-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--sp-wine);
  margin: 0 0 6px;
}

.sp-booking-card-subtitle {
  font-size: 13px;
  color: var(--sp-text-muted);
  margin: 0;
}

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

.sp-form-label-modern {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-wine);
  margin-bottom: 6px;
}

.sp-form-input-modern,
.sp-form-select-modern,
.sp-form-textarea-modern {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--sp-radius-md);
  border: 1.5px solid rgba(72, 30, 40, 0.14);
  font-family: var(--sp-font-body);
  font-size: 14px;
  color: var(--sp-text-main);
  background: #ffffff;
  transition: var(--sp-transition);
  outline: none;
}

.sp-form-input-modern:focus,
.sp-form-select-modern:focus,
.sp-form-textarea-modern:focus {
  border-color: var(--sp-copper);
  box-shadow: 0 0 0 3px rgba(191, 103, 79, 0.15);
}

/* Time Slot Selector Pills */
.sp-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.sp-slot-pill {
  padding: 8px 10px;
  text-align: center;
  border-radius: var(--sp-radius-sm);
  background: #fdfaf8;
  border: 1px solid rgba(72, 30, 40, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-wine);
  cursor: pointer;
  transition: var(--sp-transition);
}

.sp-slot-pill:hover {
  background: #f7ede8;
  border-color: var(--sp-copper);
}

.sp-slot-pill.is-selected {
  background: var(--sp-wine);
  color: #ffffff;
  border-color: var(--sp-wine);
  box-shadow: 0 4px 10px rgba(72, 30, 40, 0.2);
}

.sp-privacy-guarantee-box {
  background: #faf6f3;
  border-radius: var(--sp-radius-md);
  padding: 14px 16px;
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: var(--sp-text-muted);
  line-height: 1.5;
  border: 1px dashed rgba(191, 103, 79, 0.3);
}

.sp-privacy-guarantee-box i {
  color: var(--sp-copper);
  font-size: 18px;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   CONTACT HUB & CLINIC NETWORK
   -------------------------------------------------------------------------- */
.sp-contact-hub {
  padding: 60px 24px 90px;
  max-width: 1360px;
  margin: 0 auto;
}

.sp-contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

@media (max-width: 880px) {
  .sp-contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sp-contact-action-card {
  background: #ffffff;
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(72, 30, 40, 0.08);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(72, 30, 40, 0.04);
  transition: var(--sp-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-contact-action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(72, 30, 40, 0.1);
  border-color: rgba(191, 103, 79, 0.35);
}

.sp-contact-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(191, 103, 79, 0.15) 0%, rgba(72, 30, 40, 0.08) 100%);
  display: grid;
  place-items: center;
  color: var(--sp-copper);
  font-size: 24px;
  margin-bottom: 18px;
  transition: transform 0.35s ease;
}

.sp-contact-action-card:hover .sp-contact-icon-circle {
  transform: scale(1.15) rotate(6deg);
  background: var(--sp-copper);
  color: #ffffff;
}

.sp-contact-card-title {
  font-family: var(--sp-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--sp-wine);
  margin-bottom: 8px;
}

.sp-contact-card-desc {
  font-size: 14px;
  color: var(--sp-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.sp-contact-card-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--sp-wine);
  text-decoration: none;
  transition: color 0.2s;
}

.sp-contact-card-val:hover {
  color: var(--sp-copper);
}

/* Contact Dual Section: Form + Map */
.sp-contact-dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .sp-contact-dual-section {
    grid-template-columns: 1fr;
  }
}

.sp-contact-form-panel {
  background: #ffffff;
  border-radius: var(--sp-radius-xl);
  border: 1px solid rgba(72, 30, 40, 0.08);
  padding: 40px;
  box-shadow: 0 15px 45px rgba(72, 30, 40, 0.06);
}

.sp-contact-map-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sp-map-frame-box {
  border-radius: var(--sp-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(72, 30, 40, 0.1);
  box-shadow: 0 15px 40px rgba(72, 30, 40, 0.06);
  flex-grow: 1;
  min-height: 380px;
  position: relative;
}

.sp-map-frame-box iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Pan-India Clinics Grid */
.sp-clinics-network-section {
  margin-top: 70px;
}

.sp-clinics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 990px) {
  .sp-clinics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sp-clinics-grid {
    grid-template-columns: 1fr;
  }
}

.sp-clinic-card {
  background: #ffffff;
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(72, 30, 40, 0.08);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(72, 30, 40, 0.03);
  transition: var(--sp-transition);
}

.sp-clinic-card:hover {
  transform: translateY(-4px);
  border-color: var(--sp-copper);
  box-shadow: 0 16px 36px rgba(191, 103, 79, 0.12);
}

.sp-clinic-city {
  font-family: var(--sp-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--sp-wine);
  margin-bottom: 6px;
}

.sp-clinic-addr {
  font-size: 13px;
  color: var(--sp-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.sp-clinic-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-copper);
}

/* --------------------------------------------------------------------------
   STORY, MISSION & VISION MANIFESTOS
   -------------------------------------------------------------------------- */
.sp-story-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}

.sp-story-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 70px;
}

@media (max-width: 900px) {
  .sp-story-hero-grid {
    grid-template-columns: 1fr;
  }
}

.sp-story-img-frame {
  position: relative;
  border-radius: var(--sp-radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(72, 30, 40, 0.18);
}

.sp-story-img-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.sp-story-badge-dock {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(20, 9, 14, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 20px;
  border-radius: var(--sp-radius-md);
  color: #ffffff;
}

.sp-story-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 50px 0;
}

@media (max-width: 860px) {
  .sp-story-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.sp-story-pillar-card {
  background: #ffffff;
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(72, 30, 40, 0.08);
  padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(72, 30, 40, 0.04);
  transition: var(--sp-transition);
  position: relative;
}

.sp-story-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(72, 30, 40, 0.1);
  border-color: var(--sp-copper);
}

.sp-story-pillar-num {
  font-family: var(--sp-font-display);
  font-size: 32px;
  font-weight: 800;
  color: rgba(191, 103, 79, 0.35);
  margin-bottom: 12px;
}

.sp-story-pillar-title {
  font-family: var(--sp-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--sp-wine);
  margin-bottom: 10px;
}

.sp-story-pillar-desc {
  font-size: 14px;
  color: var(--sp-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   PATIENT PORTAL / AUTH CARDS (REGISTER & CREATE ACCOUNT)
   -------------------------------------------------------------------------- */
.sp-auth-container {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: radial-gradient(circle at 50% 20%, rgba(191, 103, 79, 0.08) 0%, transparent 60%);
}

.sp-auth-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: var(--sp-radius-xl);
  border: 1.5px solid rgba(72, 30, 40, 0.09);
  padding: 44px 38px;
  box-shadow: 0 24px 60px rgba(72, 30, 40, 0.08);
  position: relative;
}

@media (max-width: 540px) {
  .sp-auth-card {
    padding: 30px 20px;
  }
}

.sp-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f7ede8;
  padding: 4px;
  border-radius: var(--sp-radius-full);
  margin-bottom: 28px;
}

.sp-auth-tab {
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--sp-radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-wine);
  text-decoration: none;
  transition: var(--sp-transition);
}

.sp-auth-tab.is-active {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(72, 30, 40, 0.1);
  color: var(--sp-link-copper, #8A402F) !important;
}

/* --------------------------------------------------------------------------
   MODERN UNDER CONSTRUCTION CARD
   -------------------------------------------------------------------------- */
.sp-construction-container {
  max-width: 900px;
  margin: 60px auto 90px;
  padding: 0 24px;
  text-align: center;
}

.sp-construction-card {
  background: #ffffff;
  border-radius: var(--sp-radius-xl);
  border: 1px solid rgba(72, 30, 40, 0.08);
  padding: 56px 36px;
  box-shadow: 0 20px 50px rgba(72, 30, 40, 0.06);
}

.sp-construction-icon-glow {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(191, 103, 79, 0.18) 0%, rgba(72, 30, 40, 0.12) 100%);
  display: grid;
  place-items: center;
  color: var(--sp-copper);
  font-size: 38px;
  margin: 0 auto 24px;
  animation: sp-float-harmonic 3.5s ease-in-out infinite alternate;
}

/* Prefers Reduced Motion Accessibility for Topbar Ticker */
@media (prefers-reduced-motion: reduce) {
  .sp-topbar-left.sp-topbar-message,
  .sp-topbar-message {
    overflow: visible;
    height: auto;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .sp-topbar-track {
    animation: none !important;
    transform: none !important;
    display: block;
    width: auto;
  }
  .sp-topbar-group {
    display: block;
    padding-right: 0;
    white-space: normal;
  }
  .sp-topbar-group[aria-hidden="true"],
  .sp-topbar-track > .sp-topbar-group:nth-child(n+2) {
    display: none !important;
  }
  .sp-topbar-sentence {
    white-space: normal;
    display: inline;
  }
  .sp-topbar-sep {
    display: none !important;
  }
}
.sp-header-modern .sp-brand-pill .sp-brand-pill-sub {
  font-weight: 700;
  font-style: italic;
  color: #4A2C25;
}
/* ==========================================================================
   NESTED POLICY SUBMENU & POLICY PAGES SYSTEM
   ========================================================================== */

/* Submenu trigger button in Who We Are dropdown */
button.sp-submenu-trigger {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 9px;
  padding: 9px 10px;
  line-height: 1.3;
  color: #4e3440;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  transition: all 0.18s ease;
}

button.sp-submenu-trigger:hover,
button.sp-submenu-trigger:focus-visible,
button.sp-submenu-trigger[data-preview-active],
button.sp-submenu-trigger[aria-expanded="true"] {
  background: #522638 !important;
  color: #fffaf7 !important;
  outline: none;
}

button.sp-submenu-trigger .sp-submenu-arrow {
  color: #f4bd9d;
  font-size: 12px;
  transition: transform 0.2s ease, color 0.18s ease;
}

button.sp-submenu-trigger:hover .sp-submenu-arrow,
button.sp-submenu-trigger:focus-visible .sp-submenu-arrow,
button.sp-submenu-trigger[data-preview-active] .sp-submenu-arrow,
button.sp-submenu-trigger[aria-expanded="true"] .sp-submenu-arrow {
  color: #fffaf7;
  transform: translateX(2px);
}

/* Ensure Who We Are dropdown grid comfortably accommodates policy submenu list */
.guide-menu:has(#sp-policy-submenu) .guide-links:not([hidden]),
.guide-links.has-policy-submenu {
  grid-template-columns: minmax(185px, 1fr) minmax(230px, 1.25fr) !important;
  width: clamp(440px, 38vw, 560px) !important;
  max-height: min(80vh, 520px) !important;
  min-height: 360px;
}

/* Policy submenu panel replacing preview visuals */
.sp-policy-submenu {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fffcf9;
  border-radius: 11px;
  border: 1px solid #ebd8ce;
  box-shadow: 0 4px 18px rgba(66, 35, 49, 0.09);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  overflow: hidden;
}

.sp-policy-submenu.is-active,
.sp-policy-submenu:not([hidden]) {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.sp-policy-submenu-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8e4f3a;
  padding: 10px 14px 7px;
  border-bottom: 1px solid #ecdcd3;
  background: #fbf3ec;
  border-radius: 11px 11px 0 0;
  flex-shrink: 0;
}

.sp-policy-submenu-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overscroll-behavior: contain;
}

.sp-policy-submenu-list::-webkit-scrollbar {
  width: 5px;
}

.sp-policy-submenu-list::-webkit-scrollbar-track {
  background: #faf4ef;
  border-radius: 4px;
}

.sp-policy-submenu-list::-webkit-scrollbar-thumb {
  background: #d8c2b7;
  border-radius: 4px;
}

.sp-policy-submenu-list::-webkit-scrollbar-thumb:hover {
  background: #b59b8f;
}

.sp-policy-sublink {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4A2C25 !important;
  text-decoration: none !important;
  border-radius: 7px;
  line-height: 1.35;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.sp-policy-sublink:hover,
.sp-policy-sublink:focus-visible {
  background: #522638 !important;
  color: #fffaf7 !important;
  padding-left: 14px;
  outline: none;
}

/* Mobile Drawer Nested Policy Submenu */
.sp-drawer-policy-details {
  border-top: 1px solid rgba(223, 207, 197, 0.4);
  margin-top: 4px;
}

.sp-drawer-policy-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px !important;
  font-size: 14.5px !important;
  font-weight: 650 !important;
  color: #4A2C25 !important;
  cursor: pointer;
  list-style: none;
}

.sp-drawer-policy-trigger::-webkit-details-marker {
  display: none;
}

.sp-drawer-policy-trigger .sp-submenu-arrow {
  color: #b87a62;
  font-size: 12px;
  transition: transform 0.22s ease;
}

.sp-drawer-policy-details[open] .sp-drawer-policy-trigger .sp-submenu-arrow {
  transform: rotate(90deg);
}

.sp-drawer-nested-links {
  padding: 4px 12px 10px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(82, 38, 56, 0.035);
  border-left: 2px solid #e0c9be;
  margin-left: 20px;
  margin-bottom: 6px;
}

.sp-drawer-nested-link {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #55342c !important;
  text-decoration: none !important;
  border-radius: 7px;
  transition: background 0.15s ease, color 0.15s ease;
}

.sp-drawer-nested-link:hover,
.sp-drawer-nested-link:active {
  background: rgba(82, 38, 56, 0.09);
  color: #873f36 !important;
}

/* Policy Tables & Responsive Container */
.sp-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0 24px;
  border-radius: 12px;
  border: 1px solid #ebd8ce;
  background: #fffdfb;
}

.sp-policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  color: #4A2C25;
  text-align: left;
}

.sp-policy-table th {
  background: #f7ede6;
  color: #422331;
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 12px 16px;
  border-bottom: 2px solid #dfcac0;
  white-space: nowrap;
}

.sp-policy-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0e2da;
  vertical-align: top;
  line-height: 1.55;
}

.sp-policy-table tr:last-child td {
  border-bottom: none;
}

.sp-policy-table tr:nth-child(even) td {
  background: rgba(247, 237, 230, 0.35);
}

/* Policy Page Meta Tag / Callout Boxes */
.sp-policy-meta-box {
  background: #fbf3ed;
  border-left: 3px solid #b87a62;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0 20px;
  font-size: 14px;
  color: #633f36;
}

.sp-policy-meta-box p {
  margin: 0;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.sp-policy-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.sp-policy-nav-card {
  display: block;
  padding: 12px 14px;
  background: #fffcf9;
  border: 1px solid #ebd8ce;
  border-radius: 9px;
  color: #4A2C25;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13.5px;
  transition: all 0.18s ease;
}

.sp-policy-nav-card:hover {
  background: #522638;
  color: #fffaf7 !important;
  border-color: #522638;
  transform: translateY(-1px);
}

/* Footer Policy Navigation */
.sp-footer-policies {
  border-top: 1px solid rgba(247, 234, 226, 0.12);
  padding: 12px 0 8px;
  margin-top: 14px;
  text-align: center;
  width: 100%;
}

.sp-footer-policy-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  font-size: 13px;
}

.sp-footer-policy-nav a {
  color: #F7EAE2;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.18s ease, color 0.18s ease;
  font-weight: 500;
}

.sp-footer-policy-nav a:hover,
.sp-footer-policy-nav a:focus-visible {
  color: #f3ba9d;
  opacity: 1;
  text-decoration: underline;
}

.sp-footer-policy-nav .sp-sep {
  color: #dfcac0;
  opacity: 0.45;
  user-select: none;
}

@media (max-width: 768px) {
  .sp-footer-policy-nav {
    gap: 6px 10px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   SPOUZY FLOATING CURRENT-PAGE TEDDY TRANSITION (NO SCREEN, NO CARD, NO LOGO)
   -------------------------------------------------------------------------- */
.sp-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important; /* Current page remains 100% visible */
  z-index: 999999;
  pointer-events: auto; /* Block competing clicks during transition */
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  opacity: 1;
  transition: opacity 180ms ease-out;
}

.sp-transition-overlay.is-dismissing {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Floating animation stage */
.sp-transition-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(85vw, 420px);
  max-width: 420px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 0;
  transition: opacity 120ms ease-out;
  pointer-events: none;
}

.sp-transition-stage.is-visible {
  opacity: 1 !important;
}

/* Transparent WebM video: full teddy visibility with feet preserved */
.sp-transition-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 10px 28px rgba(72, 30, 40, 0.14));
}

@media (max-width: 767px) {
  .sp-transition-stage {
    width: min(88vw, 340px);
    max-width: 340px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .sp-transition-overlay {
    display: none !important;
  }
}


/* ==========================================================================
   12. DEDICATED APPOINTMENT SCHEDULER & BOOKING FORM (FORM-ONLY BOOKING PAGE)
   ========================================================================== */

.sp-booking-form-hub {
  padding: 40px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.sp-booking-form-card {
  background: #ffffff;
  border-radius: var(--sp-radius-xl);
  border: 1.5px solid rgba(72, 30, 40, 0.1);
  padding: 40px 38px;
  box-shadow: 0 20px 50px rgba(72, 30, 40, 0.08);
}

@media (max-width: 767px) {
  .sp-booking-form-hub {
    padding: 24px 14px 60px;
  }
  .sp-booking-form-card {
    padding: 24px 18px;
    border-radius: var(--sp-radius-lg);
  }
}

.sp-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 680px) {
  .sp-form-row-2col {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
}

.sp-badge-pill-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(191, 103, 79, 0.09);
  color: var(--sp-copper);
  border-radius: var(--sp-radius-full);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.sp-req {
  color: #d63031;
  font-weight: 700;
  margin-left: 2px;
}

.sp-opt {
  color: var(--sp-text-muted);
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
}

/* --- Integrated Responsive Scheduler Block & Slot Grid --- */
.sp-scheduler-block {
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.16);
  border-radius: var(--sp-radius-lg, 12px);
  padding: 24px;
  margin: 24px 0 20px;
  box-shadow: 0 4px 18px rgba(75, 32, 48, 0.05);
}

@media (max-width: 767px) {
  .sp-scheduler-block {
    padding: 16px 12px;
  }
}

/* Demo Notice Banner */
.sp-demo-notice-banner {
  background: #FFF7E8;
  border: 1px solid var(--sp-badge-border, rgba(138, 64, 47, 0.24));
  border-radius: var(--sp-radius-md, 8px);
  padding: 10px 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-text-heading, #4B2030);
  line-height: 1.4;
}

.sp-demo-notice-banner i {
  color: var(--sp-copper, #8A402F);
  font-size: 16px;
  flex-shrink: 0;
}

/* Scheduler Step Sections */
.sp-scheduler-section {
  margin-bottom: 24px;
}

.sp-scheduler-section:last-child {
  margin-bottom: 0;
}

.sp-scheduler-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sp-step-hint,
.sp-operating-hours-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sp-copper, #8A402F);
  background: #FFF7E8;
  border: 1px solid rgba(138, 64, 47, 0.2);
  padding: 3px 9px;
  border-radius: 12px;
}

.sp-tz-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-copper, #8A402F);
  background: #FFF7E8;
  border: 1px solid rgba(138, 64, 47, 0.22);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Duration Toggle (Placed FIRST before time slots) */
.sp-duration-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .sp-duration-toggle {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.sp-duration-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.18);
  border-radius: var(--sp-radius-md, 10px);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: var(--sp-font-body);
  min-height: 52px;
  box-sizing: border-box;
}

.sp-duration-btn:hover {
  border-color: var(--sp-copper, #8A402F);
  background: #FFF7E8;
}

.sp-duration-btn:focus-visible {
  outline: 2px solid var(--sp-copper, #8A402F);
  outline-offset: 2px;
}

.sp-duration-btn.is-active {
  background: var(--sp-text-heading, #4B2030) !important;
  color: #ffffff !important;
  border-color: var(--sp-text-heading, #4B2030) !important;
  box-shadow: 0 4px 14px rgba(75, 32, 48, 0.25);
}

.sp-duration-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-text-heading, #4B2030);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-duration-btn.is-active .sp-duration-title {
  color: #ffffff !important;
}

.sp-duration-desc {
  font-size: 11.5px;
  color: var(--sp-text-secondary, #65504B);
}

.sp-duration-btn.is-active .sp-duration-desc {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Date Tabs Bar */
.sp-date-tabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  background: #faf6f2;
  border: 1.5px solid rgba(75, 32, 48, 0.14);
  border-radius: var(--sp-radius-md, 10px);
  padding: 6px;
  box-shadow: 0 2px 8px rgba(72, 30, 40, 0.03);
}

.sp-date-nav-btn {
  width: 36px;
  height: 56px;
  background: #ffffff;
  border: 1px solid rgba(75, 32, 48, 0.16);
  border-radius: 8px;
  color: var(--sp-text-heading, #4B2030);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-size: 13px;
}

.sp-date-nav-btn:hover:not(:disabled) {
  background: var(--sp-copper, #8A402F);
  color: #ffffff;
  border-color: var(--sp-copper, #8A402F);
}

.sp-date-nav-btn:focus-visible {
  outline: 2px solid var(--sp-copper, #8A402F);
  outline-offset: 2px;
}

.sp-date-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f0ebe7;
  border-color: rgba(72, 30, 40, 0.08);
}

.sp-date-tabs-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 0;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.sp-date-tabs-track::-webkit-scrollbar {
  height: 4px;
}
.sp-date-tabs-track::-webkit-scrollbar-thumb {
  background: rgba(138, 64, 47, 0.25);
  border-radius: 2px;
}

/* Individual Date Tab */
.sp-date-tab {
  flex: 0 0 auto;
  min-width: 82px;
  padding: 8px 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.14);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s ease;
  font-family: var(--sp-font-body);
  text-align: center;
  min-height: 56px;
  box-sizing: border-box;
}

.sp-date-tab:hover:not(.is-active) {
  background: #FFF7E8;
  border-color: var(--sp-copper, #8A402F);
}

.sp-date-tab:focus-visible {
  outline: 2px solid var(--sp-copper, #8A402F);
  outline-offset: 2px;
}

.sp-date-tab.is-active {
  background: var(--sp-text-heading, #4B2030) !important;
  color: #ffffff !important;
  border-color: var(--sp-text-heading, #4B2030) !important;
  box-shadow: 0 4px 12px rgba(75, 32, 48, 0.25);
}

.sp-tab-day-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--sp-text-secondary, #65504B);
}

.sp-date-tab.is-active .sp-tab-day-label {
  color: #ffffff !important;
}

.sp-tab-date-num {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sp-text-heading, #4B2030);
  line-height: 1.2;
}

.sp-date-tab.is-active .sp-tab-date-num {
  color: #ffffff !important;
}

.sp-tab-slots-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(138, 64, 47, 0.12);
  color: var(--sp-copper, #8A402F);
  margin-top: 2px;
  white-space: nowrap;
}

.sp-date-tab.is-active .sp-tab-slots-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.sp-date-tab.is-fully-booked .sp-tab-slots-badge {
  background: rgba(192, 42, 42, 0.12);
  color: #c02a2a;
}

.sp-date-tab.is-active.is-fully-booked .sp-tab-slots-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Calendar Button & Synchronized Native Input */
.sp-calendar-picker-wrap {
  position: relative;
  flex-shrink: 0;
}

.sp-calendar-native-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.sp-calendar-trigger-btn {
  height: 56px;
  padding: 0 12px;
  background: #FFF7E8;
  border: 1px solid rgba(138, 64, 47, 0.25);
  border-radius: 8px;
  color: var(--sp-text-heading, #4B2030);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: none;
}

.sp-calendar-picker-wrap:hover .sp-calendar-trigger-btn {
  background: var(--sp-copper, #8A402F);
  color: #ffffff;
  border-color: var(--sp-copper, #8A402F);
}

.sp-calendar-native-input:focus + .sp-calendar-trigger-btn {
  outline: 2px solid var(--sp-copper, #8A402F);
  outline-offset: 2px;
}

/* Selected Date Banner */
.sp-selected-date-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  background: #faf6f2;
  border: 1px solid rgba(75, 32, 48, 0.12);
  border-radius: var(--sp-radius-md, 8px);
}

.sp-selected-date-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.sp-selected-date-title {
  font-weight: 700;
  color: var(--sp-text-heading, #4B2030);
}

.sp-selected-date-tz {
  color: var(--sp-text-secondary, #65504B);
  font-size: 12px;
}

.sp-selected-date-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-text-heading, #4B2030);
  background: #ffffff;
  border: 1px solid rgba(138, 64, 47, 0.2);
  padding: 3px 10px;
  border-radius: 12px;
}

.sp-selected-date-count.is-fully-booked {
  background: #fff0f0;
  border-color: rgba(192, 42, 42, 0.3);
  color: #c02a2a;
}

.sp-count-num {
  color: var(--sp-copper, #8A402F);
}

.sp-selected-date-count.is-fully-booked .sp-count-num {
  color: #c02a2a;
}

/* Legend */
.sp-slots-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: #faf6f2;
  border-radius: 6px;
  border: 1px solid rgba(75, 32, 48, 0.1);
  font-size: 12px;
  color: var(--sp-text-secondary, #65504B);
}

.sp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sp-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.sp-legend-dot.is-available {
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.5);
}

.sp-legend-dot.is-selected {
  background: var(--sp-text-heading, #4B2030);
}

.sp-legend-dot.is-booked {
  background: #ebe5e1;
  border: 1px solid rgba(72, 30, 40, 0.18);
}

.sp-legend-dot.is-passed {
  background: #f2edea;
  border: 1px solid rgba(72, 30, 40, 0.12);
}

/* Period Sections (Morning, Afternoon, Evening) */
.sp-period-section {
  background: #ffffff;
  border: 1px solid rgba(75, 32, 48, 0.12);
  border-radius: var(--sp-radius-md, 10px);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(72, 30, 40, 0.03);
}

.sp-period-section:last-child {
  margin-bottom: 0;
}

.sp-period-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(75, 32, 48, 0.08);
}

.sp-period-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sp-text-heading, #4B2030);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-period-time-range {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sp-text-secondary, #65504B);
}

.sp-period-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

@media (max-width: 480px) {
  .sp-period-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* Individual Slot Card */
.sp-slot-card {
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--sp-font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.18s ease;
  text-align: center;
  box-sizing: border-box;
}

/* State: Available */
.sp-slot-card.is-available {
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.32);
  color: var(--sp-text-heading, #4B2030);
}

.sp-slot-card.is-available:hover {
  background: #FFF7E8;
  border-color: var(--sp-copper, #8A402F);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(138, 64, 47, 0.15);
}

.sp-slot-card.is-available:focus-visible {
  outline: 2px solid var(--sp-copper, #8A402F);
  outline-offset: 2px;
}

/* State: Selected */
.sp-slot-card.is-selected {
  background: var(--sp-text-heading, #4B2030) !important;
  border-color: var(--sp-text-heading, #4B2030) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(75, 32, 48, 0.28) !important;
}

.sp-slot-card.is-selected .sp-slot-time-text {
  color: #ffffff !important;
  font-weight: 800;
}

.sp-slot-card.is-selected .sp-slot-status-text {
  color: #ffffff !important;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* State: Booked */
.sp-slot-card.is-booked {
  background: #f3ece9;
  border: 1px solid rgba(75, 32, 48, 0.1);
  color: #8a7671;
  cursor: not-allowed;
  opacity: 0.88;
}

.sp-slot-card.is-booked .sp-slot-status-text {
  font-size: 10px;
  font-weight: 800;
  color: #c02a2a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* State: Passed */
.sp-slot-card.is-passed {
  background: #f0eae7;
  border: 1px solid rgba(75, 32, 48, 0.08);
  color: #94827d;
  cursor: not-allowed;
  opacity: 0.82;
}

.sp-slot-card.is-passed .sp-slot-time-text {
  text-decoration: line-through;
}

.sp-slot-card.is-passed .sp-slot-status-text {
  font-size: 10px;
  font-weight: 700;
  color: #85726d;
  text-transform: uppercase;
}

.sp-slot-notice {
  padding: 14px 16px;
  border-radius: var(--sp-radius-md, 8px);
  background: #fff8f5;
  border: 1px solid rgba(138, 64, 47, 0.3);
  color: var(--sp-text-heading, #4B2030);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  margin-top: 14px;
}

/* --- Compact Appointment Summary Box --- */
.sp-appointment-summary {
  background: linear-gradient(135deg, #faf4f1 0%, #fdfbf9 100%);
  border: 1.5px solid rgba(191, 103, 79, 0.35);
  border-radius: var(--sp-radius-md);
  padding: 14px 18px;
  margin: 18px 0;
  transition: all 0.2s ease;
}

.sp-summary-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--sp-copper);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-summary-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sp-wine);
  line-height: 1.5;
}

.sp-summary-text.is-placeholder {
  font-weight: 400;
  color: var(--sp-text-muted);
  font-style: italic;
  font-size: 13px;
}

.sp-summary-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--sp-text-muted);
  margin-top: 4px;
  border-top: 1px dashed rgba(72, 30, 40, 0.1);
  padding-top: 4px;
}

.sp-summary-highlight {
  color: var(--sp-wine);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sp-summary-dot {
  color: var(--sp-copper);
  margin: 0 4px;
  font-weight: 700;
}

/* Notes & Preview Callouts */
.sp-booking-sub-note {
  font-size: 12.5px;
  color: var(--sp-text-muted);
  text-align: center;
  margin-top: 10px;
}

.sp-booking-sub-note i {
  color: var(--sp-copper);
}

.sp-sample-schedule-note {
  background: #fdf8f4;
  border: 1px dashed rgba(191, 103, 79, 0.45);
  border-radius: var(--sp-radius-sm);
  padding: 10px 14px;
  margin-top: 16px;
  font-size: 12px;
  color: #724233;
  line-line: 1.5;
  line-height: 1.5;
}

.sp-sample-schedule-note code {
  background: rgba(191, 103, 79, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 11.5px;
}

/* Success / Feedback Card */
.sp-booking-success-card {
  background: #f6fcf8;
  border: 2px solid #2ed573;
  border-radius: var(--sp-radius-lg);
  padding: 26px;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(46, 213, 115, 0.12);
  animation: spFadeUp 0.35s ease-out forwards;
}

.sp-success-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sp-success-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2ed573;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.sp-success-title {
  font-family: var(--sp-font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--sp-wine);
  margin: 0;
}

.sp-success-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: #dff9e8;
  color: #1a743b;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.sp-success-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(46, 213, 115, 0.25);
  border-radius: var(--sp-radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .sp-success-grid {
    grid-template-columns: 1fr;
  }
}

.sp-success-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sp-text-muted);
  margin-bottom: 2px;
}

.sp-success-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-wine);
}

.sp-success-notice {
  font-size: 12.5px;
  color: #235833;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   18. FLOATING CONTACT WIDGET (COMPACT ANIMATED LAUNCHER & WHATSAPP / CALL)
   ========================================================================== */
.sp-floating-widget {
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  right: calc(18px + env(safe-area-inset-right, 0px));
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--sp-font-sans);
  pointer-events: none; /* Allows clicks around widget to pass directly to page */
}

/* Compact Circular Launcher Button (52px desktop, 48px mobile) */
.sp-floating-launcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: visible;
  user-select: none;
  pointer-events: auto;
}

.sp-floating-launcher:focus-visible {
  outline: 3px solid var(--sp-copper, #bf674f);
  outline-offset: 3px;
}

/* Inner visual element that animates smoothly without changing button layout or clickable bounds */
.sp-floating-launcher-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #642d3a 0%, #271219 100%);
  color: #ffffff;
  border: 2px solid var(--sp-gold, #cfa76e);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(39, 18, 25, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
  transform-origin: center;
  animation: sp-icon-breathe 2s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sp-floating-launcher-icon {
  font-size: 26px;
  line-height: 1;
  color: #ffffff;
  display: block;
}

/* Smooth big-small breathing movement (1 -> 1.08 -> 1, 2s ease-in-out) */
@keyframes sp-icon-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(39, 18, 25, 0.22), 0 0 0 0 rgba(191, 103, 79, 0);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(39, 18, 25, 0.28), 0 0 10px 2px rgba(191, 103, 79, 0.38);
  }
}

/* Pause the pulse during hover, keyboard focus, panel open, and user pause */
.sp-floating-launcher:hover .sp-floating-launcher-inner {
  transform: scale(1.05);
  box-shadow: 0 10px 26px rgba(39, 18, 25, 0.32), 0 0 14px rgba(191, 103, 79, 0.45);
  border-color: var(--sp-copper-light, #d98870);
  animation-play-state: paused !important;
}

.sp-floating-launcher:focus-visible .sp-floating-launcher-inner,
.sp-floating-widget.is-launcher-hovered .sp-floating-launcher-inner,
.sp-floating-widget.panel-open .sp-floating-launcher-inner,
.sp-floating-widget.is-anim-paused .sp-floating-launcher-inner {
  animation-play-state: paused !important;
}

/* Tooltip Label (Instant Chat & Talk) */
.sp-floating-hover-label {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 12px;
  background: #271219;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(39, 18, 25, 0.25);
  border: 1px solid rgba(191, 103, 79, 0.3);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  z-index: 4;
}

.sp-floating-hover-label::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: #271219;
  border-top: 1px solid rgba(191, 103, 79, 0.3);
  border-right: 1px solid rgba(191, 103, 79, 0.3);
}

/* Tooltip visible state: triggered on hover, keyboard focus, or via automatic cycle (.is-visible) */
.sp-floating-launcher:hover + .sp-floating-hover-label,
.sp-floating-launcher:focus-visible + .sp-floating-hover-label,
.sp-floating-widget.is-launcher-hovered .sp-floating-hover-label,
.sp-floating-hover-label.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Suppress legacy bubble */
.sp-floating-bubble {
  display: none !important;
}

/* Suppress tooltip when panel is open */
.sp-floating-widget.panel-open .sp-floating-hover-label {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(6px) !important;
}

/* Compact Contact Options Panel (~280-300px) */
.sp-floating-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 290px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(191, 103, 79, 0.25);
  box-shadow: 0 20px 48px rgba(39, 18, 25, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: scale(0.94) translateY(8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease;
  z-index: 10;
}

.sp-floating-panel.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.sp-floating-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: linear-gradient(135deg, #271219 0%, #481e28 100%);
  color: #ffffff;
}

.sp-floating-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-floating-wa-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--sp-wine, #481e28);
  color: #ffffff;
  border-radius: 50%;
  font-size: 19px;
  flex-shrink: 0;
}

.sp-floating-panel-title {
  font-family: var(--sp-font-serif);
  font-size: 17.5px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  line-height: 1.2;
}

.sp-floating-panel-sub {
  font-size: 11.5px;
  color: var(--sp-copper-light);
  margin: 2px 0 0 0;
  font-weight: 500;
}

.sp-floating-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.18s ease;
}

.sp-floating-close-btn:hover {
  color: #ffffff;
}

.sp-floating-close-btn:focus-visible {
  outline: 2px solid var(--sp-copper-light);
}

.sp-floating-panel-body {
  padding: 16px 18px;
  background: #ffffff;
}

.sp-floating-panel-text {
  font-size: 13px;
  color: var(--sp-ink-muted);
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.sp-floating-number-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--sp-cream);
  border: 1px solid rgba(191, 103, 79, 0.22);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-wine);
  margin-bottom: 12px;
}

.sp-floating-number-pill i {
  color: var(--sp-copper);
}

.sp-floating-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sp-floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.sp-floating-btn-wa {
  background: var(--sp-wine, #481e28);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(72, 30, 40, 0.3);
}

.sp-floating-btn-wa:hover {
  background: var(--sp-wine-light, #642d3a);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(72, 30, 40, 0.4);
}

.sp-floating-btn-call {
  background: #ffffff;
  color: var(--sp-wine);
  border: 1.5px solid var(--sp-wine);
}

.sp-floating-btn-call:hover {
  background: var(--sp-cream);
  color: var(--sp-wine-dark);
  transform: translateY(-1px);
}

.sp-floating-btn:focus-visible {
  outline: 3px solid var(--sp-copper);
  outline-offset: 2px;
}

/* Accessible Animation Pause Toggle Inside Panel */
.sp-floating-anim-toggle-wrap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(191, 103, 79, 0.15);
  display: flex;
  justify-content: center;
}

.sp-floating-anim-toggle-btn {
  background: transparent;
  border: 1px dashed rgba(191, 103, 79, 0.35);
  color: var(--sp-ink-muted, #6c5a60);
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sp-floating-anim-toggle-btn:hover {
  background: var(--sp-cream, #faf5ee);
  color: var(--sp-wine, #271219);
  border-color: var(--sp-copper, #bf674f);
}

.sp-floating-anim-toggle-btn:focus-visible {
  outline: 2px solid var(--sp-copper, #bf674f);
  outline-offset: 2px;
}

.sp-floating-anim-toggle-btn[aria-pressed="true"] {
  background: rgba(191, 103, 79, 0.1);
  color: var(--sp-wine, #271219);
  border-color: var(--sp-copper, #bf674f);
  font-weight: 600;
}

/* User Paused or System Reduced Motion State */
.sp-floating-widget.is-anim-paused .sp-floating-launcher-inner,
.sp-floating-launcher.is-anim-paused .sp-floating-launcher-inner {
  animation: none !important;
  transform: none !important;
}

/* Mobile Responsiveness for Floating Widget */
@media (max-width: 640px) {
  .sp-floating-widget {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: calc(14px + env(safe-area-inset-right, 0px));
  }
  .sp-floating-launcher {
    width: 48px;
    height: 48px;
  }
  .sp-floating-launcher-inner {
    width: 48px;
    height: 48px;
  }
  .sp-floating-launcher-icon {
    font-size: 24px;
  }
  .sp-floating-hover-label {
    bottom: 10px;
    right: calc(100% + 10px);
    font-size: 11.5px;
    padding: 5px 10px;
    white-space: nowrap;
  }
  .sp-floating-panel {
    width: calc(100vw - 28px);
    max-width: 320px;
    right: 0;
    bottom: calc(100% + 12px);
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  .sp-floating-launcher-inner,
  .sp-floating-launcher-icon {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  .sp-floating-panel,
  .sp-floating-hover-label,
  .sp-floating-btn {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   19. FORM WHATSAPP HANDOFF & SUBMISSION STYLING
   ========================================================================== */
.sp-form-wa-notice {
  font-size: 12.5px;
  color: var(--sp-text-muted);
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}

.sp-form-handoff-card {
  margin-top: 20px;
  padding: 18px 20px;
  background: #fdfaf6;
  border: 1.5px solid rgba(191, 103, 79, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(39, 18, 25, 0.08);
  animation: spHandoffFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sp-form-handoff-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sp-font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-wine);
  margin-bottom: 8px;
}

.sp-form-handoff-text {
  font-size: 13.5px;
  color: var(--sp-ink-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.sp-form-handoff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--sp-wine, #481e28);
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(72, 30, 40, 0.35);
  transition: background 0.18s ease, transform 0.18s ease;
}

.sp-form-handoff-btn:hover {
  background: var(--sp-wine-light, #642d3a);
  color: #ffffff;
  transform: translateY(-1px);
}

.sp-form-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--sp-cream);
  color: var(--sp-wine);
  border: 1px solid rgba(191, 103, 79, 0.3);
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.sp-form-copy-btn:hover {
  background: var(--sp-sand);
}

/* ==========================================================================
   DOCTOR & COUNSELLOR REGISTRATION / EMPANELMENT SYSTEM
   Scoped under .spouzy-registration-page
   ========================================================================== */

/* Main Page Canvas & Main Container */
body.spouzy-registration-page {
  background-color: #FFFACD !important;
}

.spouzy-registration-page .sp-reg-page-main {
  width: 100%;
  background: transparent;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.spouzy-registration-page .sp-reg-container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 90px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .spouzy-registration-page .sp-reg-container {
    padding: 0 16px 80px;
  }
}

/* Compact Introduction Header */
.spouzy-registration-page .sp-reg-intro-header {
  padding: 32px 0 24px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .spouzy-registration-page .sp-reg-intro-header {
    padding: 22px 0 18px;
  }
}

.spouzy-registration-page .sp-reg-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #65504B;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.spouzy-registration-page .sp-reg-breadcrumbs a {
  color: #8A402F;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.spouzy-registration-page .sp-reg-breadcrumbs a:hover {
  color: #4B2030;
  text-decoration: underline;
}

.spouzy-registration-page .sp-reg-bc-sep {
  color: rgba(101, 80, 75, 0.45);
  font-size: 12px;
}

.spouzy-registration-page .sp-reg-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  color: #4B2030;
  line-height: 1.25;
  margin: 0 0 12px;
}

@media (max-width: 767px) {
  .spouzy-registration-page .sp-reg-main-title {
    font-size: 26px;
  }
}

.spouzy-registration-page .sp-reg-intro-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #3D2B2B;
  margin: 0 0 16px;
  max-width: 860px;
}

.spouzy-registration-page .sp-reg-role-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #FFF7E8;
  border: 1px solid rgba(138, 64, 47, 0.25);
  border-radius: 9999px;
  font-size: 13px;
  color: #65504B;
  box-shadow: 0 2px 8px rgba(75, 32, 48, 0.03);
  flex-wrap: wrap;
}

.spouzy-registration-page .sp-reg-switch-link {
  color: #8A402F;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.spouzy-registration-page .sp-reg-switch-link:hover {
  color: #4B2030;
}

/* Numbered Ivory Section Cards */
.spouzy-registration-page .sp-reg-section-card {
  background: #FFFCF7;
  border: 1.5px solid rgba(75, 32, 48, 0.12);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(75, 32, 48, 0.04);
  box-sizing: border-box;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767px) {
  .spouzy-registration-page .sp-reg-section-card {
    padding: 18px 16px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
}

.spouzy-registration-page .sp-reg-section-card:hover {
  border-color: rgba(138, 64, 47, 0.3);
  box-shadow: 0 6px 24px rgba(75, 32, 48, 0.06);
}

.spouzy-registration-page .sp-reg-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(75, 32, 48, 0.1);
}

.spouzy-registration-page .sp-reg-section-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFF7E8;
  border: 1.5px solid rgba(138, 64, 47, 0.28);
  color: #4B2030;
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.spouzy-registration-page .sp-reg-section-title-wrap {
  flex: 1;
  min-width: 0;
}

.spouzy-registration-page .sp-reg-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #4B2030;
  margin: 0 0 4px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .spouzy-registration-page .sp-reg-section-title {
    font-size: 18px;
  }
}

.spouzy-registration-page .sp-reg-section-subtitle {
  font-size: 13.5px;
  color: #65504B;
  margin: 0;
  line-height: 1.45;
}

/* Grids & Form Layout */
.spouzy-registration-page .sp-form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-bottom: 20px;
  width: 100%;
}

@media (max-width: 767px) {
  .spouzy-registration-page .sp-form-grid-2col {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 16px;
  }
}

.spouzy-registration-page .sp-form-grid-name {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 24px;
  margin-bottom: 20px;
  width: 100%;
}

@media (max-width: 767px) {
  .spouzy-registration-page .sp-form-grid-name {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 16px;
  }
}

.spouzy-registration-page .sp-form-col-full {
  grid-column: 1 / -1;
  width: 100%;
}

.spouzy-registration-page .sp-form-group-modern {
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.spouzy-registration-page .sp-form-label-modern {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #4B2030;
  margin-bottom: 8px;
  line-height: 1.35;
}

.spouzy-registration-page .sp-req {
  color: #c02a2a;
  margin-left: 2px;
  font-weight: 800;
}

.spouzy-registration-page .sp-opt {
  font-size: 12px;
  font-weight: 500;
  color: #65504B;
  margin-left: 4px;
}

/* Inputs, Selects, Textareas: 16px text, 48px min-height */
.spouzy-registration-page .sp-form-input-modern,
.spouzy-registration-page .sp-form-select-modern {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 10px 16px;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #3D2B2B;
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.2);
  border-radius: 10px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.spouzy-registration-page .sp-form-select-modern {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A402F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
  cursor: pointer;
}

.spouzy-registration-page .sp-form-textarea-modern {
  width: 100%;
  min-height: 110px;
  padding: 12px 16px;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #3D2B2B;
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.2);
  border-radius: 10px;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.spouzy-registration-page .sp-form-input-modern:focus,
.spouzy-registration-page .sp-form-select-modern:focus,
.spouzy-registration-page .sp-form-textarea-modern:focus {
  border-color: #8A402F;
  box-shadow: 0 0 0 3px rgba(138, 64, 47, 0.14);
}

.spouzy-registration-page .sp-form-input-modern:disabled,
.spouzy-registration-page .sp-form-select-modern:disabled {
  background: #f4eee9;
  color: #8a737a;
  cursor: not-allowed;
  border-color: rgba(75, 32, 48, 0.12);
}

.spouzy-registration-page .sp-form-input-modern.is-synced {
  background: #FFF7E8;
  border-color: rgba(138, 64, 47, 0.35);
}

/* Checkbox Labels */
.spouzy-registration-page .sp-form-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4B2030;
  cursor: pointer;
  user-select: none;
}

.spouzy-registration-page .sp-form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #8A402F;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

/* File Upload & Dropzone */
.spouzy-registration-page .sp-file-dropzone {
  border: 2px dashed rgba(138, 64, 47, 0.35);
  border-radius: 12px;
  background: #FFF7E8;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.spouzy-registration-page .sp-file-dropzone:hover,
.spouzy-registration-page .sp-file-dropzone.is-dragover {
  background: #fdf0df;
  border-color: #8A402F;
}

.spouzy-registration-page .sp-file-dropzone-icon {
  font-size: 26px;
  color: #8A402F;
  margin-bottom: 6px;
}

.spouzy-registration-page .sp-file-dropzone-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #4B2030;
  margin-bottom: 3px;
}

.spouzy-registration-page .sp-file-dropzone-hint {
  font-size: 12px;
  color: #65504B;
}

.spouzy-registration-page .sp-file-hidden-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.spouzy-registration-page .sp-file-preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: #faf6f2;
  border: 1.5px solid rgba(75, 32, 48, 0.16);
  border-radius: 10px;
  box-sizing: border-box;
  margin-top: 6px;
}

.spouzy-registration-page .sp-file-info-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.spouzy-registration-page .sp-file-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(75, 32, 48, 0.15);
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #8A402F;
  flex-shrink: 0;
}

.spouzy-registration-page .sp-file-details {
  flex: 1;
  min-width: 0;
}

.spouzy-registration-page .sp-file-name {
  font-size: 13px;
  font-weight: 700;
  color: #4B2030;
  word-break: break-all;
  margin-bottom: 2px;
}

.spouzy-registration-page .sp-file-size {
  font-size: 11.5px;
  color: #65504B;
}

.spouzy-registration-page .sp-file-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.spouzy-registration-page .sp-file-action-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.spouzy-registration-page .sp-file-action-btn.is-replace {
  background: #ffffff;
  border-color: rgba(138, 64, 47, 0.3);
  color: #8A402F;
}

.spouzy-registration-page .sp-file-action-btn.is-replace:hover {
  background: #FFF7E8;
  border-color: #8A402F;
}

.spouzy-registration-page .sp-file-action-btn.is-remove {
  background: #fff0f0;
  border-color: rgba(192, 42, 42, 0.25);
  color: #c02a2a;
}

.spouzy-registration-page .sp-file-action-btn.is-remove:hover {
  background: #c02a2a;
  color: #ffffff;
}

/* Dynamic Qualification Card */
.spouzy-registration-page .sp-qual-card {
  background: #faf6f2;
  border: 1.5px solid rgba(75, 32, 48, 0.14);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.spouzy-registration-page .sp-qual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(75, 32, 48, 0.1);
}

.spouzy-registration-page .sp-qual-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #4B2030;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spouzy-registration-page .sp-remove-qual-btn {
  background: #fff0f0;
  border: 1px solid rgba(192, 42, 42, 0.25);
  color: #c02a2a;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.spouzy-registration-page .sp-remove-qual-btn:hover {
  background: #c02a2a;
  color: #ffffff;
}

.spouzy-registration-page .sp-add-qual-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #FFF7E8;
  border: 1.5px solid rgba(138, 64, 47, 0.3);
  border-radius: 8px;
  color: #8A402F;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.spouzy-registration-page .sp-add-qual-btn:hover {
  background: #8A402F;
  color: #ffffff;
  border-color: #8A402F;
  box-shadow: 0 4px 12px rgba(138, 64, 47, 0.2);
}

/* Signature Pad Component */
.spouzy-registration-page .sp-sig-card {
  background: #faf6f2;
  border: 1.5px solid rgba(75, 32, 48, 0.14);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
  box-sizing: border-box;
}

.spouzy-registration-page .sp-sig-canvas-wrap {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.2);
  border-radius: 8px;
  overflow: hidden;
  touch-action: none;
}

.spouzy-registration-page .sp-sig-canvas {
  width: 100%;
  height: 120px;
  display: block;
  cursor: crosshair;
}

.spouzy-registration-page .sp-sig-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(101, 80, 75, 0.45);
  font-size: 13px;
  pointer-events: none;
  font-style: italic;
}

.spouzy-registration-page .sp-sig-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.spouzy-registration-page .sp-sig-clear-btn {
  background: #ffffff;
  border: 1px solid rgba(75, 32, 48, 0.2);
  color: #65504B;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.spouzy-registration-page .sp-sig-clear-btn:hover {
  background: #f0ebe7;
  color: #4B2030;
}

/* WhatsApp Notice Warning Box */
.spouzy-registration-page .sp-wa-notice-box {
  background: #FFF7E8;
  border: 1.5px solid rgba(138, 64, 47, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4B2030;
  box-sizing: border-box;
}

.spouzy-registration-page .sp-wa-notice-box i {
  color: #8A402F;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Bottom Action Area & Review Button */
.spouzy-registration-page .sp-form-actions-area {
  margin-top: 36px;
  text-align: center;
}

.spouzy-registration-page .sp-submit-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: #4B2030;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(75, 32, 48, 0.22);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.spouzy-registration-page .sp-submit-review-btn:hover {
  background: #391824;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(75, 32, 48, 0.3);
}

@media (max-width: 580px) {
  .spouzy-registration-page .sp-submit-review-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Review Application Modal */
.sp-review-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.sp-review-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(39, 18, 25, 0.65);
  backdrop-filter: blur(4px);
}

.sp-review-dialog {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid rgba(138, 64, 47, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: spPopoverDrop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sp-review-header {
  background: linear-gradient(135deg, #FFF7E8 0%, #faf4f1 100%);
  border-bottom: 1.5px solid rgba(75, 32, 48, 0.12);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-review-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #4B2030;
  margin: 0;
}

.sp-review-close-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: #65504B;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.sp-review-close-btn:hover {
  color: #4B2030;
}

.sp-review-body {
  padding: 22px 26px;
  overflow-y: auto;
  flex: 1;
}

.sp-review-section-block {
  background: #faf6f2;
  border: 1px solid rgba(75, 32, 48, 0.1);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.sp-review-sec-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #8A402F;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sp-review-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 7px;
  column-gap: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .sp-review-grid {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
}

.sp-review-key {
  font-weight: 700;
  color: #65504B;
}

.sp-review-val {
  color: #4B2030;
  word-break: break-word;
}

.sp-review-footer {
  background: #faf6f2;
  border-top: 1.5px solid rgba(75, 32, 48, 0.12);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sp-review-actions-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sp-review-actions-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sp-review-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #4B2030;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sp-review-secondary-btn:hover {
  background: #FFF7E8;
  border-color: #8A402F;
  color: #8A402F;
}

.sp-review-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--sp-wine, #481e28);
  border: none;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(72, 30, 40, 0.35);
  transition: all 0.18s ease;
}

.sp-review-whatsapp-btn:hover {
  background: var(--sp-wine-light, #642d3a);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(72, 30, 40, 0.45);
}

/* Save-online step: "Submit Application" is the primary action, WhatsApp follows */
#spReviewSubmitBtn,
#spCareerReviewSubmitBtn {
  background: #4B2030;
  box-shadow: 0 4px 14px rgba(75, 32, 48, 0.3);
}

#spReviewSubmitBtn:hover,
#spCareerReviewSubmitBtn:hover {
  background: #6a2c43;
  box-shadow: 0 6px 18px rgba(75, 32, 48, 0.4);
}

.sp-review-whatsapp-btn:disabled,
.sp-review-whatsapp-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Careers review modal card (same look as .sp-review-dialog; footer always reachable) */
#spCareerReviewModal {
  background: rgba(39, 18, 25, 0.65);
  backdrop-filter: blur(4px);
}

.sp-review-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid rgba(138, 64, 47, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: spPopoverDrop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sp-review-card .sp-review-header {
  align-items: flex-start;
  gap: 12px;
}

.sp-review-sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #65504B;
}

.sp-review-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #ffffff;
  border: 1.5px solid rgba(75, 32, 48, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #4B2030;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sp-review-edit-btn:hover {
  background: #FFF7E8;
  border-color: #8A402F;
  color: #8A402F;
}

@media (max-width: 600px) {
  .sp-review-card,
  .sp-review-dialog {
    max-height: calc(100vh - 24px);
  }
  .sp-review-footer {
    padding: 12px 14px;
  }
  .sp-review-whatsapp-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   SPOUZY CAREERS PAGE STYLING
   Scoped under .spouzy-careers-page
   ========================================================================== */
.spouzy-careers-page {
  background-color: #FFFACD !important;
}

.sp-careers-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  width: 100%;
  box-sizing: border-box;
}

/* Introduction Section */
.sp-careers-intro-header {
  margin-bottom: 44px;
}

.sp-careers-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: #65504B;
  margin-bottom: 14px;
}

.sp-careers-breadcrumbs a {
  color: #8A402F;
  text-decoration: none;
  transition: color 0.18s ease;
}

.sp-careers-breadcrumbs a:hover {
  text-decoration: underline;
}

.sp-careers-bc-sep {
  opacity: 0.5;
}

.sp-careers-main-title {
  font-family: var(--sp-font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 700;
  color: #4B2030;
  line-height: 1.22;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.sp-careers-intro-desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: #3D2B2B;
  max-width: 820px;
  margin: 0 0 24px;
}

.sp-careers-view-openings-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: #4B2030;
  color: #FFFFFF;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(75, 32, 48, 0.25);
  transition: all 0.25s ease;
}

.sp-careers-view-openings-btn:hover {
  background: #361521;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(75, 32, 48, 0.35);
}

/* Current Openings Section */
.sp-careers-openings-section {
  margin-bottom: 56px;
}

.sp-careers-section-heading {
  font-family: var(--sp-font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #4B2030;
  margin: 0 0 8px;
}

.sp-careers-section-sub {
  font-size: 0.95rem;
  color: #65504B;
  margin: 0 0 28px;
  line-height: 1.5;
}

.sp-job-card {
  background: #FFFCF7;
  border: 1px solid rgba(138, 64, 47, 0.2);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(39, 18, 25, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sp-job-card:hover {
  border-color: rgba(138, 64, 47, 0.38);
  box-shadow: 0 10px 28px rgba(39, 18, 25, 0.07);
}

.sp-job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.sp-job-dept-badge {
  display: inline-block;
  background: #FFF4E6;
  color: #8A402F;
  border: 1px solid rgba(138, 64, 47, 0.25);
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-job-card-title {
  font-family: var(--sp-font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #4B2030;
  margin: 0 0 8px;
  width: 100%;
}

.sp-job-card-summary {
  font-size: 1rem;
  color: #3D2B2B;
  line-height: 1.6;
  margin: 0 0 20px;
}

.sp-job-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sp-role-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: transparent;
  border: 1.5px solid #8A402F;
  color: #8A402F;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sp-role-toggle-btn:hover {
  background: rgba(138, 64, 47, 0.08);
}

.sp-role-toggle-btn .sp-chevron {
  transition: transform 0.25s ease;
  font-size: 0.85rem;
}

.sp-role-toggle-btn[aria-expanded="true"] .sp-chevron {
  transform: rotate(180deg);
}

.sp-role-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #8A402F;
  border: 1.5px solid #8A402F;
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sp-role-apply-btn:hover {
  background: #6e2e20;
  border-color: #6e2e20;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.sp-role-detail-panel {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed rgba(138, 64, 47, 0.24);
  animation: spRolePanelFadeIn 0.3s ease;
}

@keyframes spRolePanelFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sp-role-detail-panel[hidden] {
  display: none !important;
}

.sp-role-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #4B2030;
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-role-subheading i {
  color: #8A402F;
  font-size: 0.95rem;
}

.sp-role-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.sp-role-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.93rem;
  color: #3D2B2B;
  line-height: 1.55;
}

.sp-role-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: #8A402F;
  font-size: 1.2rem;
  line-height: 1.3;
}

.sp-role-terms-notice {
  background: #FFF9F2;
  border-left: 3.5px solid #8A402F;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #65504B;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Recruitment Process Section */
.sp-recruitment-process-section {
  margin-bottom: 60px;
}

.sp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.sp-process-card {
  background: #FFFCF7;
  border: 1px solid rgba(138, 64, 47, 0.18);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(39, 18, 25, 0.03);
  display: flex;
  flex-direction: column;
}

.sp-process-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #4B2030;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.sp-process-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #4B2030;
  margin: 0 0 8px;
}

.sp-process-step-desc {
  font-size: 0.88rem;
  color: #3D2B2B;
  line-height: 1.5;
  margin: 0;
}

/* Application Form Section */
.sp-careers-form-section {
  margin-bottom: 40px;
}

.sp-careers-form-card {
  background: #FFFCF7;
  border: 1px solid rgba(138, 64, 47, 0.22);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(39, 18, 25, 0.06);
}

.sp-careers-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  margin-top: 26px;
}

.sp-career-col-span-2 {
  grid-column: span 2;
}

.sp-career-field-group {
  display: flex;
  flex-direction: column;
}

.sp-career-field-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4B2030;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-career-field-label .sp-req-star {
  color: #c02a2a;
  margin-left: 2px;
}

.sp-career-field-label .sp-optional-tag {
  font-size: 0.78rem;
  color: #65504B;
  font-weight: normal;
}

.sp-career-input,
.sp-career-select,
.sp-career-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid rgba(138, 64, 47, 0.24);
  border-radius: 10px;
  padding: 11px 14px;
  background: #FFFFFF;
  color: #3D2B2B;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-career-input:focus,
.sp-career-select:focus,
.sp-career-textarea:focus {
  border-color: #8A402F;
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 64, 47, 0.12);
}

.sp-career-input.is-synced {
  background: #FAF7F2;
  color: #554448;
}

.sp-phone-combo {
  display: flex;
  gap: 8px;
}

.sp-phone-code-select {
  width: 90px;
  flex-shrink: 0;
}

.sp-career-helper-text {
  font-size: 0.8rem;
  color: #65504B;
  margin-top: 5px;
}

.sp-career-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #3D2B2B;
  line-height: 1.45;
  cursor: pointer;
  margin-top: 4px;
}

.sp-career-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #4B2030;
}

/* Resume Dropzone */
.sp-career-dropzone {
  border: 2px dashed rgba(138, 64, 47, 0.35);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  background: #FFFDF9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sp-career-dropzone:hover,
.sp-career-dropzone.is-dragover {
  border-color: #8A402F;
  background: #FFF6EB;
}

.sp-career-dropzone i {
  font-size: 32px;
  color: #8A402F;
  margin-bottom: 8px;
}

.sp-dropzone-prompt {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4B2030;
  margin-bottom: 4px;
}

.sp-dropzone-sub {
  font-size: 0.82rem;
  color: #65504B;
}

.sp-file-preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1.5px solid rgba(138, 64, 47, 0.25);
  border-radius: 12px;
  padding: 12px 18px;
  gap: 14px;
}

.sp-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sp-file-thumb {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-file-meta {
  min-width: 0;
}

.sp-file-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4B2030;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.sp-file-size {
  font-size: 0.78rem;
  color: #65504B;
}

.sp-file-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.sp-file-btn {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(138, 64, 47, 0.3);
  background: #FFFCF7;
  color: #4B2030;
  transition: all 0.18s ease;
}

.sp-file-btn:hover {
  background: #FFF4E6;
  border-color: #8A402F;
}

.sp-file-btn-remove {
  color: #c02a2a;
  border-color: rgba(192, 42, 42, 0.3);
}

.sp-file-btn-remove:hover {
  background: #FDF2F2;
  border-color: #c02a2a;
}

.sp-inline-error {
  color: #c02a2a;
  font-size: 0.84rem;
  margin-top: 6px;
  display: none;
}

.sp-form-validation-banner {
  background: #FFF2F2;
  border: 1px solid #c02a2a;
  color: #9c1f1f;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-bottom: 20px;
  display: none;
}

.sp-career-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: #4B2030;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(75, 32, 48, 0.25);
  transition: all 0.22s ease;
}

.sp-career-submit-btn:hover {
  background: #361521;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(75, 32, 48, 0.35);
}

/* Modal Specifics */
.sp-review-role-badge {
  display: inline-block;
  background: #FFF4E6;
  color: #8A402F;
  border: 1px solid rgba(138, 64, 47, 0.3);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1rem;
}

.sp-review-text-block {
  background: #FFFFFF;
  border: 1px solid rgba(138, 64, 47, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #3D2B2B;
  line-height: 1.55;
  white-space: pre-line;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .sp-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sp-careers-container {
    padding: 24px 16px 60px;
  }
  .sp-job-card {
    padding: 22px 18px;
  }
  .sp-careers-form-card {
    padding: 28px 18px;
  }
  .sp-careers-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sp-career-col-span-2 {
    grid-column: span 1;
  }
  .sp-process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sp-file-name {
    max-width: 180px;
  }
  .sp-job-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sp-role-toggle-btn,
  .sp-role-apply-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   CUSTOMER ACCOUNTS, PACKAGES, CART & MY ACCOUNT
   ========================================================================== */
.sp-auth-head { text-align: center; margin-bottom: 22px; }
.sp-auth-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; font-size: 22px; color: var(--sp-copper);
  background: linear-gradient(135deg, rgba(191, 103, 79, 0.18) 0%, rgba(72, 30, 40, 0.1) 100%);
}
.sp-auth-title { font-family: var(--sp-font-serif); font-size: 26px; font-weight: 700; color: var(--sp-wine); margin: 0 0 6px; }
.sp-auth-sub { font-size: 14px; color: var(--sp-text-secondary); margin: 0; line-height: 1.5; }
.sp-auth-form .sp-form-input-modern { font-size: 15px; }
.sp-password-row { display: flex; gap: 8px; align-items: stretch; }
.sp-password-row .sp-form-input-modern { flex: 1; min-width: 0; }
.sp-password-toggle {
  border: 1.5px solid rgba(72, 30, 40, 0.14); background: #fff; color: var(--sp-wine);
  border-radius: 14px; padding: 0 14px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.sp-password-toggle:hover { border-color: var(--sp-copper); }
.sp-field-error { display: block; color: #b3261e; font-size: 12.5px; margin-top: 4px; min-height: 0; }
.sp-field-error:empty { display: none; }
.sp-field-hint { display: block; color: var(--sp-text-secondary); font-size: 12.5px; margin-top: 4px; }
.sp-form-error {
  background: #fdecea; color: #8c1d18; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin: 4px 0 14px;
}
.sp-form-error a { color: #8c1d18; font-weight: 700; text-decoration: underline; }
.sp-auth-submit { width: 100%; justify-content: center; padding: 14px 22px; font-size: 15px; cursor: pointer; }
.sp-auth-submit[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.sp-auth-help, .sp-auth-legal { font-size: 13px; color: var(--sp-text-secondary); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.sp-auth-help a, .sp-auth-legal a { color: var(--sp-copper); font-weight: 700; text-decoration: underline; }
.sp-auth-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--sp-text-body); margin: 2px 0 6px; line-height: 1.45; cursor: pointer; }
.sp-auth-consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--sp-wine); flex-shrink: 0; }
.sp-auth-consent a { color: var(--sp-copper); font-weight: 700; text-decoration: underline; }
.sp-auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; color: var(--sp-text-secondary); font-size: 12.5px; font-weight: 600; }
.sp-auth-divider::before, .sp-auth-divider::after { content: ""; flex: 1; height: 1px; background: rgba(72, 30, 40, 0.12); }
.sp-auth-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border: 1.5px solid var(--sp-copper); border-radius: 9999px;
  color: var(--sp-wine) !important; font-weight: 700; font-size: 14px; text-decoration: none !important;
  background: #fff; cursor: pointer; transition: var(--sp-transition);
}
.sp-auth-card > .sp-auth-secondary { display: flex; width: 100%; }
.sp-auth-secondary:hover { background: #fbf1ec; }

/* Notices */
.sp-shop-notice {
  border-radius: 12px; padding: 13px 16px; margin: 0 0 18px; font-size: 14px; line-height: 1.55;
  background: #faf4ef; color: #4b2e27; border-left: 3px solid var(--sp-copper);
}
.sp-shop-notice[hidden] { display: none; }
.sp-shop-notice.is-success { background: #edf7ee; color: #1e4620; border-left-color: #2e7d32; }
.sp-shop-notice.is-error { background: #fdecea; color: #8c1d18; border-left-color: #c62828; }
.sp-shop-notice.is-info { background: #fff6e5; color: #5c3b12; border-left-color: #cfa76e; }
.sp-shop-notice a { color: inherit; font-weight: 700; text-decoration: underline; }
.sp-shop-loading { padding: 30px 0; color: var(--sp-text-secondary); font-size: 15px; }

/* Wider layout for shop pages */
.guide-page.sp-shop-page { padding-left: max(5%, calc((100% - 1180px) / 2)); padding-right: max(5%, calc((100% - 1180px) / 2)); }
.sp-shop-page .guide-body > .sp-shop-app { margin-bottom: 12px; }

/* Package filters */
.sp-package-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.sp-package-filters button {
  border: 1.5px solid rgba(72, 30, 40, 0.16); background: #fff; color: var(--sp-wine);
  border-radius: 9999px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: var(--sp-transition);
}
.sp-package-filters button.is-active, .sp-package-filters button:hover { background: var(--sp-wine); border-color: var(--sp-wine); color: #fff; }

/* Package cards */
.sp-package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.sp-package-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px;
  border: 1.5px solid rgba(72, 30, 40, 0.09); padding: 26px 22px 22px; box-shadow: 0 14px 34px rgba(72, 30, 40, 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sp-package-card[hidden] { display: none; }
.sp-package-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(72, 30, 40, 0.12); }
.sp-package-card.is-featured { border-color: rgba(138, 64, 47, 0.45); }
.sp-package-badge {
  position: absolute; top: -12px; left: 22px; background: linear-gradient(135deg, var(--sp-wine) 0%, var(--sp-copper) 100%);
  color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 9999px;
}
.sp-shop-page .guide-body .sp-package-name, .sp-package-name {
  font-family: var(--sp-font-serif); font-size: 22px; line-height: 1.25; color: var(--sp-wine); margin: 4px 0 4px;
}
.sp-shop-page .guide-body p.sp-package-tagline, .sp-package-tagline { font-size: 14px; color: var(--sp-text-secondary); margin: 0 0 14px; }
.sp-package-price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.sp-package-price strong { font-size: 30px; font-weight: 800; color: var(--sp-wine); letter-spacing: -0.01em; }
.sp-package-price s { color: var(--sp-ink-light); font-size: 15px; }
.sp-shop-page .guide-body p.sp-package-meta, .sp-package-meta { font-size: 13px; color: var(--sp-copper); font-weight: 700; margin: 0 0 14px; }
.sp-package-features { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.sp-package-features li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; color: var(--sp-text-body); }
.sp-package-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%;
  background: #f4e6df; color: var(--sp-copper); font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.sp-shop-page .guide-body p.sp-package-desc, .sp-package-desc { font-size: 13.5px; line-height: 1.55; color: var(--sp-text-secondary); margin: 0 0 10px; }
.sp-shop-page .guide-body p.sp-package-services, .sp-package-services { font-size: 12.5px; color: var(--sp-ink-light); margin: 0 0 16px; }
.sp-package-btn {
  margin-top: auto; width: 100%; border: 0; border-radius: 9999px; padding: 13px 18px; cursor: pointer;
  background: linear-gradient(135deg, var(--sp-wine) 0%, #5d2533 100%); color: #fff; font-weight: 800; font-size: 14px;
  transition: var(--sp-transition); box-shadow: 0 6px 16px rgba(72, 30, 40, 0.22);
}
.sp-package-btn:hover { background: linear-gradient(135deg, #5d2533 0%, var(--sp-copper) 100%); }
.sp-package-btn.is-added { background: #fff; color: var(--sp-wine); border: 1.5px solid var(--sp-copper); box-shadow: none; }
.sp-package-btn[disabled] { opacity: .7; cursor: wait; }
.sp-shop-page .guide-body p.sp-package-login-hint, .sp-package-login-hint { font-size: 12px; color: var(--sp-ink-light); text-align: center; margin: 8px 0 0; }

/* Cart */
.sp-cart-list { background: #fff; border-radius: 18px; border: 1.5px solid rgba(72, 30, 40, 0.08); overflow: hidden; margin-bottom: 16px; }
.sp-cart-row { display: grid; grid-template-columns: 1fr auto 110px auto; gap: 16px; align-items: center; padding: 16px 20px; }
.sp-cart-row + .sp-cart-row { border-top: 1px solid rgba(72, 30, 40, 0.07); }
.sp-cart-info strong { display: block; color: var(--sp-wine); font-size: 16px; }
.sp-cart-info small { color: var(--sp-text-secondary); font-size: 13px; }
.sp-cart-qty select { border: 1.5px solid rgba(72, 30, 40, 0.16); border-radius: 10px; padding: 7px 10px; background: #fff; font-weight: 700; }
.sp-cart-qty-fixed { display: inline-block; min-width: 40px; text-align: center; font-weight: 700; color: var(--sp-text-secondary); }
.sp-cart-price { text-align: right; font-weight: 800; color: var(--sp-wine); font-size: 16px; }
.sp-cart-remove { background: none; border: 0; color: var(--sp-copper); font-weight: 700; font-size: 13px; text-decoration: underline; cursor: pointer; }
.sp-cart-summary { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 20px 18px; font-size: 16px; color: var(--sp-text-body); }
.sp-cart-summary strong { font-size: 26px; color: var(--sp-wine); }
.sp-shop-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0 6px; }
.sp-shop-actions .sp-cta-primary { cursor: pointer; padding: 13px 24px; font-size: 14.5px; }
.sp-cta-primary.is-disabled, .sp-cta-primary[disabled] { background: #b9a9ad; box-shadow: none; cursor: not-allowed; transform: none; }
.sp-shop-empty, .sp-shop-success { background: #fff; border-radius: 22px; border: 1.5px solid rgba(72, 30, 40, 0.08); padding: 30px 26px; text-align: center; }
.sp-shop-empty .sp-shop-actions, .sp-shop-success .sp-shop-actions { justify-content: center; }
.sp-shop-page .guide-body .sp-shop-empty h2, .sp-shop-page .guide-body .sp-shop-success h2 { font-family: var(--sp-font-serif); color: var(--sp-wine); }
.sp-shop-page .guide-body .sp-shop-empty p, .sp-shop-page .guide-body .sp-shop-success p { margin-left: auto; margin-right: auto; }
.sp-shop-success-icon { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #fff; background: #2e7d32; }

/* My account */
.sp-account-shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 8px; }
.sp-account-shortcuts a {
  display: block; background: #fff; border-radius: 16px; border: 1.5px solid rgba(72, 30, 40, 0.08); padding: 16px 18px;
  text-decoration: none !important; transition: var(--sp-transition);
}
.sp-account-shortcuts a:hover { border-color: var(--sp-copper); transform: translateY(-2px); }
.sp-account-shortcuts strong { display: block; color: var(--sp-wine); font-size: 16px; }
.sp-account-shortcuts span { color: var(--sp-text-secondary); font-size: 13px; }
.sp-order-list { background: #fff; border-radius: 16px; border: 1.5px solid rgba(72, 30, 40, 0.08); }
.sp-order-row { display: grid; grid-template-columns: 170px 1fr 100px 150px; gap: 14px; align-items: center; padding: 14px 18px; font-size: 14px; }
.sp-order-row + .sp-order-row { border-top: 1px solid rgba(72, 30, 40, 0.07); }
.sp-order-row strong { display: block; color: var(--sp-wine); }
.sp-order-row small { color: var(--sp-text-secondary); }
.sp-order-total { font-weight: 800; color: var(--sp-wine); text-align: right; }
.sp-order-status { display: inline-block; padding: 4px 10px; border-radius: 9999px; font-size: 12px; font-weight: 800; background: #f3ede9; color: #5c474d; }
.sp-order-status.is-paid, .sp-order-status.is-confirmed, .sp-order-status.is-completed { background: #e8f5e9; color: #1b5e20; }
.sp-order-status.is-pending_payment { background: #fff3e0; color: #8a4b00; }
.sp-order-status.is-cancelled { background: #fdecea; color: #8c1d18; }
.sp-account-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sp-account-forms form h2 { margin-bottom: 14px; }
.sp-form-msg { font-size: 13.5px; border-radius: 10px; padding: 9px 12px; margin: 0 0 12px; }
.sp-form-msg[hidden] { display: none; }
.sp-form-msg.is-success { background: #edf7ee; color: #1e4620; }
.sp-form-msg.is-error { background: #fdecea; color: #8c1d18; }

/* Header cart count */
.sp-cart-count {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px;
  border-radius: 9999px; background: var(--sp-copper-light); color: var(--sp-wine-dark); font-size: 11px; font-weight: 800; line-height: 1;
}
.sp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 760px) {
  .sp-cart-row { grid-template-columns: 1fr auto; }
  .sp-cart-price { text-align: left; }
  .sp-order-row { grid-template-columns: 1fr auto; }
  .sp-order-items { grid-column: 1 / -1; }
  .sp-account-forms { grid-template-columns: 1fr; }
  .sp-shop-actions { flex-direction: column; align-items: stretch; }
  .sp-shop-actions .sp-cta-primary, .sp-shop-actions .sp-auth-secondary { justify-content: center; }
}

/* ==========================================================================
   LOGIN POPUP, BOOKING ACCOUNT BAR, MY APPOINTMENTS
   ========================================================================== */
body.sp-gate-open { overflow: hidden; }
.sp-gate-backdrop {
  position: fixed; inset: 0; z-index: 3000; background: rgba(39, 18, 25, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(3px);
}
.sp-gate-backdrop[hidden] { display: none; }
.sp-gate {
  position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 36px); overflow-y: auto;
  background: #fff; border-radius: 24px; padding: 30px 28px 24px; box-shadow: 0 30px 80px rgba(39, 18, 25, 0.35);
}
.sp-gate-close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: #f6eeea; color: var(--sp-wine); font-size: 22px; line-height: 1; cursor: pointer;
}
.sp-gate-icon {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px;
  color: var(--sp-copper); font-size: 20px; background: linear-gradient(135deg, rgba(191, 103, 79, 0.18) 0%, rgba(72, 30, 40, 0.1) 100%);
}
.sp-gate h2 { font-family: var(--sp-font-serif); font-size: 24px; color: var(--sp-wine); text-align: center; margin: 0 0 6px; }
.sp-gate-sub { text-align: center; font-size: 14px; line-height: 1.5; color: var(--sp-text-secondary); margin: 0 0 18px; }
.sp-gate .sp-auth-help { margin-top: 10px; }
@media (max-width: 520px) {
  .sp-gate-backdrop { align-items: flex-end; padding: 0; }
  .sp-gate { border-radius: 22px 22px 0 0; max-height: 92vh; padding: 26px 18px 20px; }
}

.sp-booking-account {
  display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border-radius: 16px; padding: 14px 18px; margin: 4px 0 18px; background: #fff6e5; border: 1.5px solid rgba(207, 167, 110, 0.55);
}
.sp-booking-account.is-in { background: #edf7ee; border-color: rgba(46, 125, 50, 0.35); }
.sp-booking-account strong { display: block; color: var(--sp-wine); font-size: 15px; }
.sp-booking-account span { display: block; font-size: 13px; color: var(--sp-text-secondary); line-height: 1.45; margin-top: 2px; }
.sp-booking-account a { color: var(--sp-copper); font-weight: 700; text-decoration: underline; }
.sp-booking-account-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sp-booking-account-actions .sp-cta-primary, .sp-booking-account-actions .sp-auth-secondary { padding: 9px 18px; font-size: 13.5px; cursor: pointer; }
.sp-booking-account-actions a { font-size: 13px; }
.sp-input-locked { background: #f7f3ef !important; color: #5c474d !important; cursor: not-allowed; }

.sp-account-sub { font-size: 15px; font-weight: 800; color: var(--sp-wine); margin: 14px 0 8px; font-family: var(--sp-font-sans); }
.sp-appt-row .sp-order-items small { display: block; color: var(--sp-text-secondary); font-size: 12.5px; }
.sp-appt-help { color: var(--sp-copper); font-weight: 700; font-size: 13px; text-decoration: underline; }
@media (max-width: 760px) {
  .sp-booking-account-actions { width: 100%; }
}

/* ==========================================================================
   CHAT WINDOW (js/spouzy-chat.js)
   ========================================================================== */
.sp-chat {
  position: fixed; right: 22px; bottom: 96px; z-index: 2500; width: 380px; height: min(600px, calc(100vh - 130px));
  display: flex; flex-direction: column; background: #fffdfb; border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(39, 18, 25, 0.32); border: 1px solid rgba(72, 30, 40, 0.1);
  font-family: var(--sp-font-sans);
}
.sp-chat[hidden] { display: none; }
.sp-chat-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; color: #fff;
  background: linear-gradient(135deg, var(--sp-wine) 0%, #6a2a3a 100%);
}
.sp-chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--sp-copper-light); color: var(--sp-wine-dark); font-weight: 800; font-family: var(--sp-font-serif); font-size: 18px;
}
.sp-chat-title { flex: 1; min-width: 0; line-height: 1.25; }
.sp-chat-title strong { display: block; font-size: 15px; }
.sp-chat-title span { font-size: 12px; opacity: .85; }
.sp-chat-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5ee08a; margin-right: 4px; vertical-align: 1px; }
.sp-chat-head-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14); color: #fff !important; font-size: 17px; cursor: pointer; text-decoration: none !important;
}
.sp-chat-head-btn:hover { background: rgba(255, 255, 255, 0.26); }
.sp-chat-body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: #fbf6f1; }
.sp-chat-msg { display: flex; margin: 0 0 10px; }
.sp-chat-msg.is-user { justify-content: flex-end; }
.sp-chat-bubble {
  max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; color: var(--sp-text-body);
  background: #fff; border: 1px solid rgba(72, 30, 40, 0.08); border-top-left-radius: 6px; overflow-wrap: anywhere;
}
.sp-chat-msg.is-user .sp-chat-bubble { background: var(--sp-wine); color: #fff; border: 0; border-top-left-radius: 16px; border-top-right-radius: 6px; }
.sp-chat-links { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; }
.sp-chat-link {
  display: block; padding: 8px 11px; border-radius: 10px; background: #f6ece6; color: var(--sp-copper) !important;
  font-weight: 700; font-size: 13px; text-decoration: none !important;
}
.sp-chat-link:hover { background: #f0dfd5; }
.sp-chat-divider { text-align: center; margin: 12px 0; }
.sp-chat-divider span { font-size: 11.5px; color: var(--sp-ink-light); background: #f1e7e1; padding: 3px 10px; border-radius: 9999px; }
.sp-chat-typing .sp-chat-bubble { display: inline-flex; gap: 4px; padding: 13px 14px; }
.sp-chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #c7b2aa; animation: spChatDot 1s infinite ease-in-out; }
.sp-chat-typing span:nth-child(2) { animation-delay: .15s; }
.sp-chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes spChatDot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.sp-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; background: #fbf6f1; }
.sp-chat-chips:empty { display: none; }
.sp-chat-chip {
  border: 1.5px solid rgba(138, 64, 47, 0.35); background: #fff; color: var(--sp-wine); border-radius: 9999px;
  padding: 6px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.sp-chat-chip:hover { background: var(--sp-wine); color: #fff; border-color: var(--sp-wine); }
.sp-chat-form { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: #fbf6f1; border-top: 1px solid rgba(72, 30, 40, 0.06); }
.sp-chat-input {
  flex: 1; min-width: 0; border: 1.5px solid rgba(72, 30, 40, 0.16); border-radius: 9999px; padding: 11px 16px;
  font-size: 14px; background: #fff; outline: none; color: var(--sp-text-body);
}
.sp-chat-input:focus { border-color: var(--sp-copper); box-shadow: 0 0 0 3px rgba(191, 103, 79, 0.15); }
.sp-chat-eye { border: 0; background: none; color: var(--sp-copper); font-weight: 700; font-size: 12.5px; cursor: pointer; }
.sp-chat-eye[hidden] { display: none; }
.sp-chat-send {
  width: 42px; height: 42px; border-radius: 50%; border: 0; flex-shrink: 0; cursor: pointer; color: #fff; font-size: 16px;
  display: grid; place-items: center; padding: 0;
  background: linear-gradient(135deg, var(--sp-wine) 0%, var(--sp-copper) 100%);
}
.sp-chat-foot { font-size: 11px; color: var(--sp-ink-light); text-align: center; padding: 0 12px 10px; background: #fbf6f1; }
.sp-chat-foot a { color: inherit; text-decoration: underline; }
@media (max-width: 560px) {
  .sp-chat { right: 0; left: 0; bottom: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; }
  body.sp-chat-open { overflow: hidden; }
  body.sp-chat-open .sp-floating-widget { display: none; }
}

/* ==========================================================================
   BRAND MOTION (js/spouzy-intro.js)
   1. Navbar: the hugging teddies and the SPOUZY logo push each other in and out every 3 s
   2. First-visit intro: large hugging teddies, then they fly into the navbar logo spot
   ========================================================================== */
.sp-brand-swap {
  --sp-swap-gap: 8px; /* space between the two pictures so neither peeks in */
  position: relative;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}
.sp-brand-track {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.34, 1.32, 0.5, 1);
  will-change: transform;
}
/* Teddies sit just above the logo: moving the track down lets them push the logo out at the bottom */
.sp-brand-swap.is-teddy .sp-brand-track { transform: translateY(calc(100% + var(--sp-swap-gap))); }
.sp-brand-swap.no-anim .sp-brand-track { transition: none; }
.sp-brand-slot { display: flex; align-items: center; justify-content: center; }
.sp-brand-slot-teddy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + var(--sp-swap-gap));
  height: 100%;
}
.sp-brand-teddy {
  display: block;
  height: 90%;
  width: auto;
  aspect-ratio: 496 / 540;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.sp-brand-swap.is-teddy .sp-brand-teddy { animation: sp-brand-hug 1.5s ease-in-out 0.9s infinite; }
@keyframes sp-brand-hug {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.06); }
}

/* ---- First-visit intro ---- */
.sp-intro {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sp-font-sans, 'Plus Jakarta Sans', sans-serif);
  color: #4A2330;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.sp-intro.is-leaving { pointer-events: none; }
.sp-intro-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 38%, #FFFDF4 0%, #FFF4DA 55%, #F9E3CC 100%);
  transition: opacity 0.55s ease;
}
.sp-intro-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  text-align: center;
}
.sp-intro-teddy-wrap {
  position: relative;
  width: min(92vw, 560px, 62vh);
  aspect-ratio: 4 / 3;
}
.sp-intro-glow {
  position: absolute;
  left: 12%; right: 12%; top: 14%; bottom: -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 196, 168, 0.75), rgba(255, 220, 190, 0.35) 55%, rgba(255, 230, 200, 0));
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sp-intro.is-playing .sp-intro-glow { opacity: 1; transform: scale(1); }
.sp-intro.is-hugged .sp-intro-glow { animation: sp-intro-glow 0.7s ease-out; }
@keyframes sp-intro-glow {
  0% { transform: scale(1); }
  45% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.sp-intro-teddy {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sp-intro.is-playing .sp-intro-teddy { opacity: 1; transform: none; }
.sp-intro-teddy.is-video .sp-intro-video {
  position: absolute;
  top: 0;
  left: -16.6667%;
  width: 133.3333%;
  height: 100%;
  object-fit: fill;
}
.sp-intro-teddy.is-still { display: flex; align-items: center; justify-content: center; overflow: visible; }
.sp-intro-still { display: block; height: 92%; width: auto; }
.sp-intro.is-playing .sp-intro-teddy.is-still .sp-intro-still { animation: sp-intro-still-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes sp-intro-still-in {
  0% { transform: scale(0.82) rotate(-3deg); }
  55% { transform: scale(1.04) rotate(1.5deg); }
  100% { transform: scale(1) rotate(0); }
}
.sp-intro.is-hugged .sp-intro-teddy.is-still .sp-intro-still { animation: sp-brand-hug 0.6s ease-in-out; }
/* Hand-over: the hugging teddies fly into the navbar logo spot */
.sp-intro.is-flying .sp-intro-teddy {
  overflow: visible;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.25, 1);
}
.sp-intro.is-fading .sp-intro-teddy { opacity: 0; transform: scale(1.04); transition: opacity 0.45s ease, transform 0.6s ease; }

.sp-intro-burst { position: absolute; left: 50%; top: 18%; width: 0; height: 0; }
.sp-intro-pop {
  position: absolute;
  left: -11px;
  top: -11px;
  width: 22px;
  height: 22px;
  fill: #E8506B;
  opacity: 0;
}
.sp-intro.is-hugged .sp-intro-pop { animation: sp-intro-pop 1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards; }
.sp-intro-pop-1 { --x: -96px; --y: -34px; --r: -18deg; }
.sp-intro-pop-2 { --x: -54px; --y: -86px; --r: -8deg; width: 16px; height: 16px; animation-delay: 0.06s !important; }
.sp-intro-pop-3 { --x: 0px; --y: -104px; --r: 0deg; width: 26px; height: 26px; animation-delay: 0.02s !important; }
.sp-intro-pop-4 { --x: 58px; --y: -82px; --r: 10deg; width: 16px; height: 16px; animation-delay: 0.08s !important; }
.sp-intro-pop-5 { --x: 98px; --y: -30px; --r: 16deg; animation-delay: 0.04s !important; }
.sp-intro-pop-6 { --x: 30px; --y: -58px; --r: 6deg; width: 12px; height: 12px; fill: #F58FA0; animation-delay: 0.12s !important; }
@keyframes sp-intro-pop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.1) rotate(var(--r)); }
}

.sp-intro-float {
  position: absolute;
  bottom: -40px;
  width: 16px;
  height: 16px;
  fill: rgba(232, 80, 107, 0.16);
  animation: sp-intro-float 7s linear infinite;
}
.sp-intro-float-1 { left: 6%; width: 14px; height: 14px; animation-delay: -1s; }
.sp-intro-float-2 { left: 15%; width: 22px; height: 22px; animation-delay: -4.5s; animation-duration: 8s; }
.sp-intro-float-3 { left: 26%; animation-delay: -2.5s; }
.sp-intro-float-4 { left: 37%; width: 12px; height: 12px; animation-delay: -6s; animation-duration: 6s; }
.sp-intro-float-5 { left: 48%; width: 18px; height: 18px; animation-delay: -3.2s; animation-duration: 9s; }
.sp-intro-float-6 { left: 59%; width: 13px; height: 13px; animation-delay: -0.6s; }
.sp-intro-float-7 { left: 69%; width: 24px; height: 24px; animation-delay: -5.4s; animation-duration: 8.5s; }
.sp-intro-float-8 { left: 79%; animation-delay: -2s; animation-duration: 6.5s; }
.sp-intro-float-9 { left: 88%; width: 20px; height: 20px; animation-delay: -4s; }
.sp-intro-float-10 { left: 95%; width: 12px; height: 12px; animation-delay: -6.6s; animation-duration: 7.5s; }
@keyframes sp-intro-float {
  0% { transform: translateY(0) rotate(-10deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-110vh) rotate(14deg); opacity: 0; }
}

.sp-intro-logo {
  display: block;
  width: min(60vw, 280px);
  height: auto;
  margin-top: -6px;
  opacity: 0;
  transform: translateY(14px);
  filter: drop-shadow(0 6px 14px rgba(120, 60, 40, 0.16));
  transition: opacity 0.6s ease 0.15s, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}
.sp-intro-tagline {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A5A4A;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.35s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}
.sp-intro-tagline span { color: #C77C5E; padding: 0 4px; }
.sp-intro-bar {
  width: 150px;
  height: 3px;
  margin-top: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(138, 74, 58, 0.14);
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}
.sp-intro-bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #B5654A, #E8A17F, #C77C5E);
  transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}
.sp-intro.is-in .sp-intro-logo,
.sp-intro.is-in .sp-intro-tagline { opacity: 1; transform: none; }
.sp-intro.is-in .sp-intro-bar { opacity: 1; }
.sp-intro.is-in .sp-intro-bar span { transform: scaleX(0.86); }
.sp-intro.is-hugged .sp-intro-bar span { transform: scaleX(1); transition-duration: 0.35s; transition-delay: 0s; }
.sp-intro-skip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 16px;
  border: 1px solid rgba(138, 74, 58, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #6B3A2E;
  font: 600 12.5px/1.2 var(--sp-font-sans, 'Plus Jakarta Sans', sans-serif);
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.4s ease 0.9s, background 0.2s ease;
}
.sp-intro-skip:hover { background: #fff; }
.sp-intro-skip:focus-visible { outline: 2px solid #B5654A; outline-offset: 2px; }
.sp-intro.is-in .sp-intro-skip { opacity: 1; }
.sp-intro.is-leaving .sp-intro-bg,
.sp-intro.is-leaving .sp-intro-glow,
.sp-intro.is-leaving .sp-intro-burst,
.sp-intro.is-leaving .sp-intro-skip,
.sp-intro.is-leaving .sp-intro-bar { opacity: 0; transition: opacity 0.5s ease; }
.sp-intro.is-leaving .sp-intro-logo,
.sp-intro.is-leaving .sp-intro-tagline { opacity: 0; transform: translateY(-10px); transition: opacity 0.4s ease, transform 0.5s ease; }

@media (max-width: 560px) {
  .sp-intro-stage { gap: 10px; }
  .sp-intro-tagline { font-size: 10px; letter-spacing: 0.12em; max-width: 300px; line-height: 1.6; }
  .sp-intro-skip { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-brand-track { transition: none; }
  .sp-brand-teddy { animation: none !important; }
}

/* ==========================================================================
   HOMEPAGE TESTIMONIALS / CLIENT STORIES — MASCOT PRESENTATION LAYOUT
   ========================================================================== */
.sp-story-layout {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  max-width: 1380px;
  margin: 36px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
  position: relative;
  background: transparent !important;
}

.sp-story-mascot {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 66px; /* Align feet near bottom of testimonial card, above nav controls */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2;
  background: transparent !important;
}

.sp-story-mascot-img {
  display: block;
  height: 330px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  background: transparent !important;
}

.sp-story-center {
  flex: 1 1 800px;
  max-width: 820px;
  min-width: 0; /* Prevents flex children from overflowing */
  width: 100%;
  box-sizing: border-box;
  background: transparent !important;
}

.sp-testimonials-section .sp-story-layout .sp-story-center .sp-testimonials-carousel {
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE SCALING: NARROW DESKTOP (992px – 1199px)
   Reduce mascot sizes gracefully before squeezing the story card
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199px) {
  .sp-story-layout {
    gap: 14px;
    padding: 0 16px;
  }

  .sp-story-mascot {
    margin-bottom: 66px;
  }

  .sp-story-mascot-img {
    height: 260px;
  }

  .sp-story-center {
    flex-basis: 620px;
    max-width: 650px;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE SCALING: TABLET (< 992px)
   Place the two mascots in a balanced row ABOVE the story card
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .sp-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: end;
    gap: 16px 24px;
    max-width: 720px;
    margin: 24px auto 0;
    padding: 0 16px;
  }

  .sp-story-mascot {
    margin-bottom: 0;
  }

  .sp-story-mascot-left {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    padding-right: 10px;
  }

  .sp-story-mascot-right {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    padding-left: 10px;
  }

  .sp-story-mascot-img {
    height: 160px;
  }

  .sp-story-center {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE SCALING: MOBILE (< 768px)
   Retain both mascots at 115-125px height, full-width card underneath
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .sp-story-layout {
    gap: 12px 16px;
    padding: 0 14px;
    margin-top: 18px;
    max-width: 100%;
  }

  .sp-story-mascot-img {
    height: 120px; /* within 100-140px range */
  }

  .sp-story-mascot-left {
    padding-right: 6px;
  }

  .sp-story-mascot-right {
    padding-left: 6px;
  }
}

/* ==========================================================================
   OFFERS POPUP & PACKAGE CARDS (js/spouzy-offers.js)
   Offers come from Admin → Packages & Orders → Offers. No live offer = nothing here shows.
   ========================================================================== */
/* ---- Homepage "Specialized Care" section filled with packages (same card design) ---- */
.sp-services-grid.is-packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-services-grid.is-packages > .sp-service-card-modern {
  flex: 0 1 calc((100% - 56px) / 3);
  min-width: 0;
}
.sp-services-grid.is-packages > .sp-service-card-modern[hidden] { display: none; }
@media (max-width: 1024px) {
  .sp-services-grid.is-packages > .sp-service-card-modern { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 767px) {
  .sp-services-grid.is-packages > .sp-service-card-modern { flex-basis: 100%; }
}
.sp-pkg-card > * { animation: sp-pkg-in .5s cubic-bezier(.16, 1, .3, 1) both; }
.sp-pkg-card > :nth-child(2) { animation-delay: .04s; }
.sp-pkg-card > :nth-child(3) { animation-delay: .08s; }
.sp-pkg-card > :nth-child(4) { animation-delay: .12s; }
.sp-pkg-card > :nth-child(n+5) { animation-delay: .16s; }
@keyframes sp-pkg-in { from { opacity: 0; transform: translateY(10px); } }
.sp-pkg-card .sp-card-title a { color: inherit; text-decoration: none !important; }
.sp-pkg-card .sp-card-icon-modern svg { width: 24px; height: 24px; }
.sp-pkg-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: -2px 0 2px;
}
.sp-pkg-price strong {
  font-family: var(--sp-font-serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--sp-wine);
  font-weight: 700;
}
.sp-pkg-price s { color: #9a8580; font-size: 15px; }
.sp-pkg-save {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #2f7a3e;
  background: #e5f3e7;
  border-radius: 999px;
  padding: 3px 9px;
  align-self: center;
  white-space: nowrap;
}
.sp-pkg-meta { font-size: 12.5px; color: var(--sp-ink-light); margin: 0 0 12px; }
.sp-pkg-card .sp-card-text { margin-bottom: 16px; }
.sp-pkg-more {
  font-size: 12.5px;
  color: var(--sp-ink-light) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.sp-pkg-card .sp-card-link-btn.is-added { color: #2f7a3e; }
.sp-service-card-modern:is(:hover, :focus-visible) .sp-pkg-price strong { color: #fff7ed !important; }
.sp-service-card-modern:is(:hover, :focus-visible) .sp-pkg-price s { color: #d9bfb6 !important; }
.sp-service-card-modern:is(:hover, :focus-visible) .sp-pkg-more { color: #dec3ba !important; }

/* Offer note on a package card (homepage and packages.htm) */
.sp-pkg-offer {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: -4px 0 14px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(191, 103, 79, 0.6);
  background: linear-gradient(135deg, #fff3ea, #fbe2d6);
  color: var(--sp-copper);
  font: 600 12.5px/1.3 var(--sp-font-sans);
  text-align: left;
  cursor: pointer;
}
.sp-pkg-offer svg { flex: 0 0 auto; }
.sp-pkg-offer b {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #c76f57, #773145);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.sp-pkg-offer span { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--sp-copper) !important; }
.sp-pkg-offer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sp-sheen 3.6s ease-in-out infinite;
  pointer-events: none;
}
.sp-pkg-offer:focus-visible { outline: 2px solid var(--sp-copper); outline-offset: 2px; }
@keyframes sp-sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.sp-pkg-home-foot { text-align: center; margin-top: 34px; }
.sp-pkg-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(138, 64, 47, 0.35);
  background: #fff;
  color: var(--sp-wine) !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.sp-pkg-all:hover { background: var(--sp-wine); color: #fff !important; transform: translateY(-2px); }

/* packages.htm: card opened from a link (#pkg-...) */
.sp-package-card.has-offer { border-color: rgba(191, 103, 79, 0.5); }
.sp-package-card .sp-pkg-offer { margin: 0 0 12px; align-items: flex-start; flex-wrap: wrap; }
.sp-package-card .sp-pkg-offer span { white-space: normal; flex-basis: 100%; }
.sp-package-card.is-flash { animation: sp-pkg-flash 2.2s ease; }
@keyframes sp-pkg-flash { 0%, 60% { box-shadow: 0 0 0 4px rgba(191, 103, 79, 0.45), 0 20px 44px rgba(72, 30, 40, 0.14); } 100% { box-shadow: none; } }

/* ---- Offers popup ---- */
html.sp-offers-open, html.sp-offers-open body { overflow: hidden; }
.sp-offers {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--sp-font-sans);
}
.sp-offers[hidden] { display: none; }
.sp-offers-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 14, 21, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .26s ease;
}
.sp-offers.is-open .sp-offers-backdrop { opacity: 1; }
.sp-offers-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(780px, 100%);
  max-height: min(92vh, 720px);
  background: #fffaf6;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(39, 18, 25, 0.42);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .28s ease, transform .36s cubic-bezier(.16, 1, .3, 1);
  outline: none;
}
.sp-offers.is-open .sp-offers-dialog { opacity: 1; transform: none; }
.sp-offers-track { flex: 1 1 auto; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; }
.sp-offer-slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.sp-offer-slide[hidden] { display: none; }
.sp-offer-slide.is-in { animation: sp-offer-in .38s ease both; }
@keyframes sp-offer-in { from { opacity: 0; transform: translateX(14px); } }
.sp-offer-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: radial-gradient(circle at 30% 20%, #fdf0e6 0%, #f3d9cb 75%);
}
.sp-offer-media img { display: block; width: 100%; height: 100%; max-height: min(80vh, 640px); object-fit: contain; }
.sp-offer-slide.is-noimage { grid-template-columns: 1fr; }
.sp-offer-slide.is-noimage .sp-offer-media { display: none; }
.sp-offer-badge {
  position: relative;
  overflow: hidden;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c76f57, #773145);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(72, 30, 40, 0.3);
}
.sp-offer-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sp-sheen 3s ease-in-out infinite;
}
.sp-offer-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 40px 30px 28px;
}
.sp-offer-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-copper);
}
.sp-offer-kicker-text { display: inline-flex; align-items: center; gap: 6px; }
.sp-offer-title {
  font-family: var(--sp-font-serif);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  color: var(--sp-ink);
  margin: 0;
}
.sp-offer-text { font-size: 14.5px; line-height: 1.55; color: var(--sp-ink-muted); margin: 0; }
.sp-offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.sp-offer-price strong { font-family: var(--sp-font-serif); font-size: 32px; line-height: 1.1; color: var(--sp-wine); }
.sp-offer-price s { color: #9a8580; font-size: 16px; }
.sp-offer-price small { flex-basis: 100%; color: var(--sp-ink-light); font-size: 12.5px; }
.sp-offer-save { font-size: 11.5px; font-weight: 800; color: #2f7a3e; background: #e5f3e7; border-radius: 999px; padding: 3px 10px; align-self: center; }
.sp-offer-valid { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; font-weight: 700; color: var(--sp-copper); }
.sp-offer-valid::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #e08b73; box-shadow: 0 0 0 4px rgba(224, 139, 115, .2); animation: sp-pulse 1.8s ease-in-out infinite; }
@keyframes sp-pulse { 50% { box-shadow: 0 0 0 7px rgba(224, 139, 115, 0); } }
.sp-offer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sp-offer-cta {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8a402f, #481e28);
  color: #fff !important;
  font: 800 15px/1.2 var(--sp-font-sans);
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(72, 30, 40, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.sp-offer-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(72, 30, 40, 0.34); }
.sp-offer-cta:disabled { opacity: .7; cursor: progress; transform: none; }
.sp-offer-later {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(72, 30, 40, 0.18);
  background: transparent;
  color: var(--sp-ink-muted);
  font: 700 14px/1.2 var(--sp-font-sans);
  cursor: pointer;
}
.sp-offer-later:hover { border-color: rgba(72, 30, 40, 0.4); color: var(--sp-ink); }
.sp-offer-details { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--sp-copper) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.sp-offer-error { margin: 0; color: #b23b3b; font-size: 13px; }
.sp-offer-terms { margin: 2px 0 0; font-size: 11.5px; line-height: 1.45; color: #8f7d78; }
.sp-offers-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--sp-wine);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(39, 18, 25, 0.18);
  transition: transform .2s ease;
}
.sp-offers-close:hover { transform: rotate(90deg); }
.sp-offers-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px;
  border-top: 1px solid rgba(72, 30, 40, 0.08);
  background: #fff;
}
.sp-offers-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(72, 30, 40, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--sp-wine);
  cursor: pointer;
}
.sp-offers-arrow:hover { background: var(--sp-wine); color: #fff; border-color: var(--sp-wine); }
.sp-offers-dots { display: flex; gap: 8px; }
.sp-offers-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(72, 30, 40, 0.22); cursor: pointer; transition: width .25s ease, background .25s ease; }
.sp-offers-dot.is-active { width: 26px; background: var(--sp-copper); }
.sp-offers :is(button, a):focus-visible { outline: 2px solid var(--sp-copper); outline-offset: 3px; }

/* Small "Offers" tab (bottom left) that reopens the popup */
.sp-offers-tab {
  position: fixed;
  left: calc(18px + env(safe-area-inset-left, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 9980;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8a402f, #481e28);
  color: #fff;
  font: 700 13px/1 var(--sp-font-sans);
  box-shadow: 0 12px 28px rgba(39, 18, 25, 0.32);
  cursor: pointer;
  opacity: 0;
  transform: translateY(140%);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
.sp-offers-tab.is-in { opacity: 1; transform: none; }
.sp-offers-tab.is-hidden { opacity: 0; transform: translateY(140%); pointer-events: none; }
.sp-offers-tab:hover { box-shadow: 0 16px 34px rgba(39, 18, 25, 0.4); }
.sp-offers-tab svg { animation: sp-tag-swing 2.8s ease-in-out infinite; transform-origin: 30% 30%; }
@keyframes sp-tag-swing { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-14deg); } 86% { transform: rotate(10deg); } 93% { transform: rotate(-5deg); } }
.sp-offers-tab-count {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--sp-copper);
  font-size: 11px;
}
html.sp-intro-on .sp-offers-tab, body.sp-chat-open .sp-offers-tab { display: none; }

@media (max-width: 760px) {
  .sp-offer-slide { grid-template-columns: 1fr; }
  .sp-offer-media { min-height: 0; }
  .sp-offer-media img { height: auto; max-height: 46vh; }
  .sp-offer-body { padding: 20px 20px 18px; gap: 8px; }
}
@media (max-width: 600px) {
  .sp-offers { align-items: flex-end; padding: 0; }
  .sp-offers-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .sp-offers.is-open .sp-offers-dialog { transform: none; }
  .sp-offers-close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .sp-offer-media img { max-height: 34vh; }
  .sp-offer-body { padding: 16px 18px 0; gap: 7px; }
  .sp-offer-kicker { font-size: 10px; }
  .sp-offer-badge { font-size: 10.5px; padding: 5px 10px; }
  .sp-offer-title { font-size: 21px; }
  .sp-offer-text { font-size: 14px; }
  .sp-offer-price strong { font-size: 26px; }
  /* The buttons stay in view while the rest scrolls */
  .sp-offer-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-direction: column;
    gap: 2px;
    margin: 4px -18px 0;
    padding: 12px 18px 6px;
    background: linear-gradient(to bottom, rgba(255, 250, 246, 0), #fffaf6 22%);
  }
  .sp-offer-later { min-height: 40px; border: 0; text-decoration: underline; text-underline-offset: 3px; }
  .sp-offer-details, .sp-offer-terms { margin-bottom: 4px; }
  .sp-offer-terms { padding-bottom: 14px; }
  .sp-offers-nav { padding: 8px; gap: 12px; }
  .sp-offers-arrow { width: 32px; height: 32px; }
  .sp-offers-tab { left: 12px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding: 10px; }
  .sp-offers-tab-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-offers-dialog, .sp-offers-backdrop, .sp-offers-tab { transition: none; }
  .sp-offer-slide.is-in, .sp-pkg-card > *, .sp-package-card.is-flash { animation: none; }
  .sp-pkg-offer::after, .sp-offer-badge::after, .sp-offers-tab svg, .sp-offer-valid::before { animation: none; }
}

/* ==========================================================================
   MY ACCOUNT → MY BILLS (bills sent by the SPOUZY team; see invoice.htm)
   ========================================================================== */
.sp-bill-new {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c76f57, #773145);
  color: #fff;
  font: 800 10.5px/1.6 var(--sp-font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.sp-bill-row.is-new { background: #fff6f0; }
.sp-bill-open {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sp-wine);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
}
.sp-bill-open:hover { background: var(--sp-copper); }

/* ==========================================================================
   FAQs (js/spouzy-faqs.js): FAQ page browser, homepage questions, What We Do pages
   ========================================================================== */
.sp-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sp-faq-item { border: 1px solid rgba(138, 64, 47, 0.16); border-radius: 16px; background: #fffdf8; margin: 0 0 10px; padding: 0 !important; transition: box-shadow .25s ease, border-color .25s ease; }
.guide-body .sp-faq-item { border-top: 1px solid rgba(138, 64, 47, 0.16); }
.sp-faq-item:hover { border-color: rgba(138, 64, 47, 0.32); box-shadow: 0 8px 22px rgba(39, 18, 25, 0.06); }
.sp-faq-item[open] { background: #fff; border-color: rgba(138, 64, 47, 0.34); box-shadow: 0 12px 28px rgba(39, 18, 25, 0.07); }
.sp-faq-item.is-target { animation: sp-faq-flash 2.2s ease; }
@keyframes sp-faq-flash { 0%, 40% { box-shadow: 0 0 0 4px rgba(224, 139, 115, 0.45); } 100% { box-shadow: 0 12px 28px rgba(39, 18, 25, 0.07); } }
.sp-faq-item > summary, .guide-body .sp-faq-item > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 18px; margin: 0; font: 600 16px/1.45 var(--sp-font-sans); color: var(--sp-wine);
}
.sp-faq-item > summary::-webkit-details-marker { display: none; }
.sp-faq-item > summary:focus-visible { outline: 3px solid rgba(138, 64, 47, 0.35); outline-offset: 2px; border-radius: 16px; }
.sp-faq-toggle { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #f6ebe4; position: relative; transition: transform .3s ease, background .3s ease; }
.sp-faq-toggle::before, .sp-faq-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--sp-copper); border-radius: 2px; transform: translate(-50%, -50%); }
.sp-faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s ease; }
.sp-faq-item[open] .sp-faq-toggle { background: var(--sp-wine); }
.sp-faq-item[open] .sp-faq-toggle::before, .sp-faq-item[open] .sp-faq-toggle::after { background: #fff; }
.sp-faq-item[open] .sp-faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.sp-faq-answer { padding: 0 18px 16px; color: var(--sp-text-body); animation: sp-faq-open .35s ease both; }
@keyframes sp-faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sp-faq-answer p, .guide-body .sp-faq-answer p { font-size: 15.5px; line-height: 1.7; margin: 0 0 10px; max-width: none; }
.sp-faq-answer ul, .sp-faq-answer ol { margin: 0 0 10px 20px; padding: 0; font-size: 15.5px; line-height: 1.65; }
.sp-faq-answer li { margin-bottom: 4px; }
.sp-faq-answer a { color: var(--sp-copper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sp-faq-answer a.sp-faq-link { display: inline-block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--sp-ink-light); text-decoration: none; }
.sp-faq-answer a.sp-faq-link:hover { color: var(--sp-copper); text-decoration: underline; }
.sp-faq-item mark { background: #ffe3a3; color: inherit; border-radius: 3px; padding: 0 2px; }

.sp-faq-browser { margin-top: 40px; padding-top: 28px; border-top: 1px solid #dfcfc5; scroll-margin-top: 110px; }
.sp-faq-browser-head h2 { font: 500 clamp(24px, 3.2vw, 32px)/1.2 Georgia, serif; color: #4c2934; margin: 0 0 6px; }
.sp-faq-browser-head p { color: #6b4d57; margin: 0 0 16px; font-size: 16px; }
.sp-faq-search-box { position: relative; margin: 0 0 14px; }
.sp-faq-search-box > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--sp-copper); font-size: 16px; }
.sp-faq-search-box input { width: 100%; box-sizing: border-box; padding: 15px 48px 15px 46px; border-radius: 999px; border: 1.5px solid rgba(138, 64, 47, 0.28); background: #fff; font: 500 16px var(--sp-font-sans); color: var(--sp-ink); box-shadow: 0 8px 24px rgba(39, 18, 25, 0.05); transition: border-color .2s, box-shadow .2s; }
.sp-faq-search-box input:focus { outline: none; border-color: var(--sp-copper); box-shadow: 0 0 0 4px rgba(224, 139, 115, 0.22); }
.sp-faq-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: #f6ebe4; color: var(--sp-wine); font-size: 20px; cursor: pointer; }
.sp-faq-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.sp-faq-chips-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #985942; margin-right: 4px; }
.sp-faq-chips button { border: 1px solid rgba(138, 64, 47, 0.24); background: #fffaf3; color: var(--sp-wine); border-radius: 999px; padding: 7px 14px; font: 600 13.5px var(--sp-font-sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sp-faq-chips button b { font-weight: 700; color: var(--sp-copper); margin-left: 3px; font-size: 12px; }
.sp-faq-chips button:hover { border-color: var(--sp-copper); }
.sp-faq-chips button.is-active { background: var(--sp-wine); border-color: var(--sp-wine); color: #fff; }
.sp-faq-chips button.is-active b { color: #ffd9c9; }
.sp-faq-count { font-size: 13.5px !important; color: var(--sp-ink-light); margin: 6px 0 12px !important; }
.sp-faq-group { font: 600 13px var(--sp-font-sans); letter-spacing: .1em; text-transform: uppercase; color: #985942; margin: 22px 0 10px; }
.sp-faq-list .sp-faq-group:first-child { margin-top: 0; }
.sp-faq-more-wrap { text-align: center; margin: 14px 0 6px; }
.sp-faq-more-wrap[hidden] { display: none; }
.sp-faq-more { border: 1.5px solid var(--sp-wine); background: #fff; color: var(--sp-wine); border-radius: 999px; padding: 11px 24px; font: 700 14px var(--sp-font-sans); cursor: pointer; transition: background .2s, color .2s; }
.sp-faq-more:hover { background: var(--sp-wine); color: #fff; }
.sp-faq-none { text-align: center; padding: 24px 12px; border: 1px dashed rgba(138, 64, 47, 0.3); border-radius: 16px; background: #fffaf3; }
.sp-faq-none p { margin: 0 auto 6px !important; font-size: 15.5px !important; }
.sp-faq-none a { color: var(--sp-copper); font-weight: 700; }
.sp-faq-jump { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(138, 64, 47, 0.28); color: var(--sp-wine); font: 700 14px var(--sp-font-sans); text-decoration: none; box-shadow: 0 6px 16px rgba(39, 18, 25, 0.06); }
.sp-faq-jump:hover { background: var(--sp-wine); color: #fff; }

/* homepage questions */
.sp-home-faqs .sp-faq-item { margin: 0; }
.sp-home-faqs .sp-faq-item > summary { font-size: 16px; font-weight: 700; color: var(--sp-ink); }
.sp-home-faqs .sp-faq-answer p { font-size: 14.5px; }
.sp-home-faq-more { text-align: center; margin: 6px 0 0; }
.sp-home-faq-more a { color: var(--sp-copper); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* What We Do pages */
.sp-page-faqs[hidden] { display: none !important; }
.sp-page-faqs .sp-page-faq-list { margin-top: 12px; }
.sp-page-faq-more { margin: 8px 0 0 !important; }
.sp-page-faq-more a { color: #843e35; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Client stories (js/spouzy-stories.js)
   ========================================================================== */
.sp-story-invite-card { align-items: center !important; justify-content: center !important; text-align: center; background: linear-gradient(160deg, #fffaf3 0%, #fff 55%, #fff4ee 100%) !important; }
.sp-story-invite-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 22px; color: #fff; background: linear-gradient(135deg, #c96b52, #6e2e3a); box-shadow: 0 10px 24px rgba(110, 46, 58, 0.28); }
.sp-story-invite-card h3 { font: 500 clamp(22px, 2.6vw, 28px)/1.25 var(--sp-font-serif); color: var(--sp-wine-dark); margin: 0 0 10px; }
.sp-story-invite-text { font-size: 15.5px; line-height: 1.65; color: var(--sp-text-secondary); max-width: 560px; margin: 0 auto 18px; }
.sp-story-invite-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 26px; background: var(--sp-wine); color: #fff !important; font: 700 15px var(--sp-font-sans); cursor: pointer; text-decoration: none !important; box-shadow: 0 10px 24px rgba(72, 30, 40, 0.25); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.sp-story-invite-btn:hover { transform: translateY(-2px); background: #5d2733; box-shadow: 0 14px 30px rgba(72, 30, 40, 0.3); }
.sp-testimonials-nav[hidden] { display: none !important; }

.sp-story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sp-story-tile { background: #fff; border: 1px solid rgba(191, 103, 79, 0.22); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 10px 28px rgba(45, 19, 29, 0.06); display: flex; flex-direction: column; }
.sp-story-tile .sp-testi-stars { margin-bottom: 10px !important; }
.sp-story-tile p { font-family: var(--sp-font-serif); font-style: italic; font-size: 17px !important; line-height: 1.6 !important; color: #271219; margin: 0 0 14px !important; flex: 1; }
.sp-story-tile footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid rgba(72, 30, 40, 0.1); padding-top: 12px; }
.sp-story-tile footer strong { color: #271219; }
.sp-story-tile footer small { width: 100%; color: #8a3b25; font-weight: 600; }
.sp-share-box { margin-top: 32px; padding: 26px; border: 1px solid #dfcfc5; border-radius: 18px; background: #fffdf6; }
.sp-share-title, .guide-body .sp-share-title { font: 500 clamp(22px, 2.8vw, 28px)/1.25 Georgia, serif; color: #4c2934; margin: 0 0 8px; }
.sp-share-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.sp-share-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--sp-text-body); }
.sp-share-points i { color: var(--sp-copper); margin-top: 4px; width: 16px; text-align: center; }

.sp-story-dialog { max-width: 560px !important; }
.sp-story-form .sp-form-group-modern { margin-bottom: 14px; }
.sp-story-count { display: block; text-align: right; font-size: 12px; color: #b0533f; margin-top: 4px; }
.sp-story-count.is-ok { color: var(--sp-ink-light); }
.sp-story-rate { display: flex; gap: 4px; }
.sp-story-rate button { border: 0; background: none; padding: 0 3px; font-size: 30px; line-height: 1; color: #e3d6cf; cursor: pointer; transition: transform .15s ease, color .15s ease; }
.sp-story-rate button.is-on { color: #d97706; }
.sp-story-rate button:hover { transform: scale(1.15); }
.sp-story-rate button:focus-visible { outline: 2px solid var(--sp-copper); border-radius: 6px; }
.sp-story-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.sp-story-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--sp-text-body); margin: 0 0 10px; cursor: pointer; }
.sp-story-check input { margin-top: 3px; flex: 0 0 auto; }
.sp-story-check a { color: var(--sp-copper); font-weight: 700; text-decoration: underline; }
.sp-story-consent { padding: 12px; border-radius: 12px; background: #fff8f2; border: 1px solid rgba(191, 103, 79, 0.2); }
.sp-story-shown { font-size: 13.5px; color: var(--sp-ink-light); margin: -2px 0 14px; }
.sp-story-shown strong { color: var(--sp-wine); font-size: 15px; letter-spacing: .02em; }
.sp-story-thanks { text-align: center; }
.sp-story-thanks a { color: var(--sp-copper); font-weight: 700; }
@media (max-width: 520px) { .sp-story-two { grid-template-columns: 1fr; } }

.sp-my-stories { display: grid; gap: 12px; margin-bottom: 14px; }
.sp-my-story { border: 1px solid rgba(191, 103, 79, 0.22); border-left: 4px solid #e08b73; border-radius: 14px; padding: 14px 16px; background: #fff; }
.sp-my-story.is-live { border-left-color: #2b7a3e; }
.sp-my-story.is-hidden { border-left-color: #9e9e9e; }
.sp-my-story.is-rejected { border-left-color: #c62828; }
.sp-my-story header { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sp-my-story-state { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff1e0; color: #9a4b00; }
.sp-my-story.is-live .sp-my-story-state { background: #e8f5e9; color: #1b5e20; }
.sp-my-story.is-hidden .sp-my-story-state { background: #f0f0f0; color: #555; }
.sp-my-story.is-rejected .sp-my-story-state { background: #fdecea; color: #b71c1c; }
.sp-my-story header small { color: var(--sp-ink-light); }
.sp-my-story > p { font-family: var(--sp-font-serif); font-style: italic; font-size: 16px; line-height: 1.6; color: #271219; margin: 4px 0 8px; }
.sp-my-story-meta, .sp-my-story-note { font-size: 13.5px; color: var(--sp-text-secondary); margin-bottom: 4px; }
.sp-my-story-note em { display: block; margin-top: 4px; color: var(--sp-wine); font-style: normal; font-weight: 600; }
.sp-my-story-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.sp-link-danger { border: 0; background: none; padding: 0; color: #b23b3b; font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 14px; }
.sp-my-story-privacy { font-size: 13px; color: var(--sp-ink-light); margin-top: 10px; }
/* keep the chat button and offers tab behind the login and story popups */
body.sp-gate-open .sp-floating-widget, body.sp-gate-open .sp-offers-tab { display: none !important; }

/* ==========================================================================
   BLOG (js/spouzy-blog.js): sliding banner, 16:9 article cards, article banner
   ========================================================================== */
.guide-page.sp-blog-page { padding-left: max(5%, calc((100% - 1180px) / 2)); padding-right: max(5%, calc((100% - 1180px) / 2)); }
body.sp-blog-reading .guide-page.sp-blog-page { padding-left: max(6%, calc((100% - 900px) / 2)); padding-right: max(6%, calc((100% - 900px) / 2)); }
.sp-blog-page .guide-heading { max-width: 900px; }

/* sliding banner */
.sp-blog-marquee { position: relative; margin: 6px 0 40px; }
.sp-blog-marquee[hidden] { display: none !important; }
.sp-blog-marquee-viewport {
  overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.sp-blog-marquee-viewport:active { cursor: grabbing; }
.sp-blog-marquee-track { display: flex; gap: 18px; width: max-content; padding: 14px 0 34px; will-change: transform; }
.sp-blog-slide {
  position: relative; display: block; flex: 0 0 clamp(268px, 40vw, 520px); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  color: #fff !important; text-decoration: none !important; background: #3c1c26;
  box-shadow: 0 10px 22px rgba(39, 18, 25, 0.16); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}
.sp-blog-slide:hover, .sp-blog-slide:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(39, 18, 25, 0.22); }
.sp-blog-slide:focus-visible { outline: 3px solid #e08b73; outline-offset: 3px; }
.sp-blog-slide-media { position: absolute; inset: 0; display: block; }
.sp-blog-slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.sp-blog-slide:hover .sp-blog-slide-media img { transform: scale(1.05); }
.sp-blog-slide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(39, 18, 25, 0) 38%, rgba(39, 18, 25, 0.55) 66%, rgba(39, 18, 25, 0.88) 100%); }
.sp-blog-slide-text { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; flex-direction: column; gap: 5px; }
.sp-blog-slide-cat { align-self: flex-start; font: 700 11px/1 var(--sp-font-sans); letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, 0.92); color: var(--sp-wine); padding: 6px 10px; border-radius: 999px; }
.sp-blog-slide-title { font: 600 clamp(18px, 1.9vw, 25px)/1.25 var(--sp-font-serif); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-blog-slide-go { font: 700 13px var(--sp-font-sans); color: #ffd9c9; }
.sp-blog-marquee-controls { display: flex; justify-content: center; gap: 10px; margin-top: -12px; }
.sp-blog-mq-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(138, 64, 47, 0.3); background: #fff; color: var(--sp-wine); font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(39, 18, 25, 0.08); transition: background .2s, color .2s, transform .2s; }
.sp-blog-mq-btn:hover { background: var(--sp-wine); color: #fff; transform: scale(1.06); }
.sp-blog-mq-btn:focus-visible { outline: 3px solid #e08b73; outline-offset: 2px; }
.sp-blog-mq-pause { font-size: 11px; letter-spacing: -1px; }
.sp-blog-marquee.is-static .sp-blog-marquee-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.sp-blog-marquee.is-static .sp-blog-slide { flex: none; width: 100%; }
.sp-blog-marquee.is-static .sp-blog-slide:only-child { max-width: 900px; }
.sp-blog-marquee.is-scroll .sp-blog-marquee-row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px; }
.sp-blog-marquee.is-scroll .sp-blog-slide { scroll-snap-align: start; }

/* article cards */
.sp-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin: 0 0 28px; }
.sp-blog-card { background: #fff; border: 1px solid rgba(138, 64, 47, 0.16); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 28px rgba(39, 18, 25, 0.06); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease; }
.sp-blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(39, 18, 25, 0.12); border-color: rgba(138, 64, 47, 0.32); }
.sp-blog-card-media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f3e9de; }
.sp-blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.sp-blog-card:hover .sp-blog-card-media img { transform: scale(1.06); }
.sp-blog-card-media.is-art, .sp-blog-slide-media.is-art, .sp-blog-hero.is-art {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(255, 214, 196, 0.55), transparent 42%), radial-gradient(circle at 85% 80%, rgba(207, 167, 110, 0.45), transparent 45%), linear-gradient(135deg, #8a402f 0%, #5d2733 55%, #3c1c26 100%);
}
.sp-blog-art-mark { font: 500 clamp(54px, 7vw, 80px)/1 var(--sp-font-serif); color: rgba(255, 255, 255, 0.92); text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.sp-blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.guide-body .sp-blog-card-meta, .sp-blog-card-meta { font: 700 11.5px/1.4 var(--sp-font-sans); letter-spacing: .1em; text-transform: uppercase; color: #985942; margin: 0 0 8px; max-width: none; }
.guide-body .sp-blog-card-title, .sp-blog-card-title { font: 500 21px/1.3 var(--sp-font-serif); margin: 0 0 8px; }
.sp-blog-card-title a { color: #3c1c26; text-decoration: none; }
.sp-blog-card-title a:hover { color: var(--sp-copper); }
.guide-body .sp-blog-card-text, .sp-blog-card-text { font-size: 15px; line-height: 1.6; color: var(--sp-text-secondary); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: none; }
.sp-blog-card-link { margin-top: auto; align-self: flex-start; color: #843e35; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* article page */
.sp-blog-back { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sp-blog-hero { margin: 0 0 26px; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 18px 44px rgba(39, 18, 25, 0.14); background: #f3e9de; }
.sp-blog-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-body .sp-blog-byline { font-size: 14px; color: #8a6a5c; margin: 0 0 16px; }
.sp-blog-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; display: block; }
.sp-blog-more { border-top: 1px solid #dfcfc5; margin-top: 34px; padding-top: 26px; }
.sp-blog-more[hidden] { display: none; }
.guide-body .sp-blog-more h2 { margin-bottom: 18px; }
.sp-blog-more .sp-blog-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.guide-body .sp-blog-missing { background: #fff8f2; border: 1px solid #f0d8c8; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
@media (max-width: 640px) {
  .sp-blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .sp-blog-slide { flex-basis: 84vw; }
  .sp-blog-slide-text { left: 14px; right: 14px; bottom: 12px; }
  .sp-blog-hero { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-blog-card, .sp-blog-slide, .sp-blog-card-media img, .sp-blog-slide-media img { transition: none; }
}

/* ==========================================================================
   Student / ex-servicemen ID verification (create-account, account, booking)
   ========================================================================== */
.sp-ver-box { border: 1.5px solid rgba(138, 64, 47, 0.22); border-radius: 18px; background: #fffdf7; margin: 6px 0 16px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.sp-ver-box-signup { padding: 16px; }
.sp-ver-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.sp-ver-legend { display: block; width: 100%; border: 0; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--sp-text-heading); margin: 0 0 4px; padding: 0; }
.sp-ver-helper-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.sp-ver-helper { margin: 0; font-size: 13px; line-height: 1.45; color: var(--sp-text-secondary); flex: 1 1 200px; }
.sp-ver-clear-btn { flex: 0 0 auto; border: 1px solid rgba(138, 64, 47, 0.35); background: #fff; color: var(--sp-link-copper, #8A402F); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s, border-color .18s; }
.sp-ver-clear-btn:hover { background: #fff1e6; border-color: var(--sp-copper); }
.sp-ver-clear-btn:focus-visible { outline: 2px solid var(--sp-copper); outline-offset: 2px; }
.sp-ver-clear-btn[hidden] { display: none !important; }
.sp-ver-switch-hint { margin: 0 0 8px; font-size: 12px; line-height: 1.4; color: var(--sp-text-secondary); }
.sp-ver-box.is-open { border-color: rgba(138, 64, 47, 0.45); box-shadow: 0 10px 26px -18px rgba(72, 30, 40, .45); }
.sp-ver-toggle { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: none; border: 0; text-align: left; cursor: pointer; color: var(--sp-text-heading); font: inherit; }
.sp-ver-toggle strong { display: block; font-size: 15px; }
.sp-ver-toggle small { display: block; font-weight: 400; color: var(--sp-text-secondary); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.sp-ver-toggle-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; background: #fff1e6; color: var(--sp-copper); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.sp-ver-chev { margin-left: auto; color: var(--sp-copper); transition: transform .25s; }
.sp-ver-box.is-open .sp-ver-chev { transform: rotate(180deg); }
.sp-ver-body { padding: 0 16px 14px; }
.sp-ver-body[hidden], .sp-ver-fields[hidden], .sp-ver-form-wrap[hidden], .sp-ver-drop-empty[hidden], .sp-ver-drop-full[hidden], .sp-benefit-notice[hidden], .sp-ver-only-student[hidden], .sp-ver-only-esm[hidden] { display: none !important; }
.sp-ver-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 2px 0 8px; }
.sp-ver-choice { position: relative; cursor: pointer; margin: 0; }
.sp-ver-choice input { position: absolute; opacity: 0; pointer-events: none; }
.sp-ver-choice > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 11px 12px; border: 1.5px solid rgba(72, 30, 40, 0.16); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.sp-ver-choice-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sp-ver-choice i { color: var(--sp-copper); font-size: 17px; }
.sp-ver-radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(72, 30, 40, 0.32); background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color .2s; }
.sp-ver-radio-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sp-copper); transform: scale(0); transition: transform .16s ease-out; }
.sp-ver-choice strong { font-size: 14px; color: var(--sp-text-heading); }
.sp-ver-choice small { font-size: 12px; font-weight: 400; color: var(--sp-text-secondary); line-height: 1.35; }
.sp-ver-choice.is-checked > span, .sp-ver-choice input:checked + span { border-color: var(--sp-copper); background: #fff4ec; box-shadow: 0 0 0 3px rgba(191, 103, 79, .12); }
.sp-ver-choice.is-checked .sp-ver-radio-dot, .sp-ver-choice input:checked + span .sp-ver-radio-dot { border-color: var(--sp-copper); }
.sp-ver-choice.is-checked .sp-ver-radio-dot::after, .sp-ver-choice input:checked + span .sp-ver-radio-dot::after { transform: scale(1); }
.sp-ver-choice input:focus-visible + span { outline: 2px solid var(--sp-copper); outline-offset: 2px; }
.sp-ver-fields { padding-top: 8px; border-top: 1px solid rgba(138, 64, 47, 0.14); margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .sp-ver-fields:not([hidden]) { animation: spVerFadeIn .22s ease-out; }
  @keyframes spVerFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .sp-ver-box, .sp-ver-choice > span, .sp-ver-radio-dot, .sp-ver-radio-dot::after, .sp-ver-clear-btn, .sp-ver-drop-empty { transition: none !important; animation: none !important; }
}
.sp-ver-only-student, .sp-ver-only-esm { display: none; }
.is-student > .sp-ver-fields .sp-ver-only-student, .is-esm > .sp-ver-fields .sp-ver-only-esm { display: block; }
.sp-ver-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.sp-ver-upload .sp-form-label-modern { display: block; margin-bottom: 6px; }
.sp-ver-upload .sp-form-label-modern small { font-weight: 400; color: var(--sp-text-secondary); }
.sp-ver-drop { display: block; position: relative; margin: 0; cursor: pointer; }
.sp-ver-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.sp-ver-drop-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; min-height: 108px; padding: 12px; border: 1.5px dashed rgba(138, 64, 47, 0.38); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s; }
.sp-ver-drop:hover .sp-ver-drop-empty { border-color: var(--sp-copper); background: #fff8f2; }
.sp-ver-drop-empty i { font-size: 24px; color: var(--sp-copper); }
.sp-ver-drop-empty strong { font-size: 13.5px; color: var(--sp-text-heading); }
.sp-ver-drop-empty small { font-size: 11.5px; font-weight: 400; color: var(--sp-text-secondary); line-height: 1.35; }
.sp-ver-drop-full { display: flex; align-items: center; gap: 10px; min-height: 108px; padding: 10px; border: 1.5px solid rgba(46, 125, 50, .35); border-radius: 14px; background: #f6fbf6; }
.sp-ver-drop-full img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; flex: 0 0 74px; background: #eee; }
.sp-ver-drop-full .sp-ver-pdf { font-size: 40px; color: #b3261e; flex: 0 0 50px; text-align: center; }
.sp-ver-drop-full > span { min-width: 0; flex: 1; }
.sp-ver-drop-full strong { display: block; font-size: 13px; color: var(--sp-text-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-ver-drop-full small { display: block; font-size: 11.5px; font-weight: 400; line-height: 1.4; color: var(--sp-text-secondary); }
.sp-ver-remove { position: relative; z-index: 2; border: 0; background: #fff; color: #8c1d18; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); flex: 0 0 30px; }
.sp-ver-note { font-size: 12.5px; color: var(--sp-text-secondary); line-height: 1.5; margin: 4px 0 10px; }
.sp-ver-note i { color: var(--sp-copper); margin-right: 4px; }
/* account page */
.sp-ver-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--sp-border); background: #fff; margin-bottom: 14px; }
.sp-ver-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--sp-text-heading); }
.sp-ver-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--sp-text-body); }
.sp-ver-card .sp-shop-actions { margin: 10px 0 0; }
.sp-ver-card-icon { flex: 0 0 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: #fff1e6; color: var(--sp-copper); }
.sp-ver-card.is-ok { border-color: #cfe7cf; background: #f6fbf5; }
.sp-ver-card.is-ok .sp-ver-card-icon { background: #e3f3e3; color: #2e7d32; }
.sp-ver-card.is-wait { border-color: #f3dfbf; background: #fffaf0; }
.sp-ver-card.is-wait .sp-ver-card-icon { background: #fff0d6; color: #a25b00; }
.sp-ver-card.is-fail { border-color: #f3c9c4; background: #fff7f6; }
.sp-ver-card.is-fail .sp-ver-card-icon { background: #fde3e0; color: #b3261e; }
.sp-ver-card.is-expired { border-color: #e3e0dc; background: #faf9f7; }
.sp-ver-card.is-expired .sp-ver-card-icon { background: #efece8; color: #6d625e; }
.sp-ver-meta { font-size: 13px !important; color: var(--sp-text-secondary) !important; }
.sp-ver-admin-msg { background: #fff; border: 1px solid #f3c9c4; border-radius: 12px; padding: 10px 12px; white-space: pre-wrap; }
.sp-ver-admin-msg span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: #b3261e; font-weight: 700; margin-bottom: 3px; }
.sp-ver-reminder { background: #fff4e5; border-radius: 12px; padding: 9px 12px; color: #7a4300 !important; }
.sp-ver-small { font-size: 13.5px; color: var(--sp-text-secondary); }
.sp-ver-linkbtn { border: 0; background: none; padding: 0; color: var(--sp-link-copper); font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; }
.sp-ver-form-wrap { border: 1px solid var(--sp-border); border-radius: 18px; padding: 16px; background: #fffdf7; }
.sp-ver-form-wrap .sp-account-sub { margin-top: 0; }
/* booking page */
.sp-benefit-notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; border: 1px solid var(--sp-border); background: #fffdf7; color: var(--sp-text-body); text-align: left; }
.sp-benefit-notice i { margin-top: 3px; color: var(--sp-copper); }
.sp-benefit-notice a { color: var(--sp-link-copper); font-weight: 700; }
.sp-benefit-notice.is-ok { background: #f1f8f1; border-color: #cfe7cf; color: #1e4620; }
.sp-benefit-notice.is-ok i { color: #2e7d32; }
.sp-benefit-notice.is-warn { background: #fff7e8; border-color: #f1d9a8; color: #5a3b00; }
.sp-benefit-notice.is-warn i { color: #a25b00; }
.sp-benefit-notice.is-info { background: #fffaf0; border-color: #f3dfbf; }
.sp-benefit-notice.is-error { background: #fff4f3; border-color: #f3c9c4; color: #6d1a14; }
.sp-benefit-notice.is-error i { color: #b3261e; }
.sp-benefit-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 20px 22px; border-radius: 22px; background: linear-gradient(135deg, #fff7ee, #fffdf7); border: 1px solid rgba(138, 64, 47, 0.25); margin: 28px 0; }
.sp-benefit-cta-icon { flex: 0 0 54px; height: 54px; border-radius: 16px; background: #fff1e6; color: var(--sp-copper); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.sp-benefit-cta > div { flex: 1 1 280px; }
.sp-benefit-cta h3 { margin: 0 0 4px; font-size: 19px; color: var(--sp-text-heading); }
.sp-benefit-cta p { margin: 0; font-size: 14px; color: var(--sp-text-body); line-height: 1.55; }
@media (max-width: 560px) {
  .sp-ver-choices { grid-template-columns: 1fr; }
  .sp-ver-uploads { grid-template-columns: 1fr; }
  .sp-ver-card { flex-direction: column; gap: 10px; }
}
/* inside guide-style pages (account, students, ex-servicemen) keep the compact text sizes */
.guide-body .sp-ver-card p, .guide-body .sp-ver-box p { font-size: 14px; line-height: 1.55; max-width: none; }
.guide-body .sp-ver-card h3, .guide-body .sp-benefit-cta h3 { font-family: inherit; font-weight: 700; }
.guide-body .sp-ver-note { font-size: 12.5px; line-height: 1.5; max-width: none; }
.guide-body .sp-ver-small { font-size: 13.5px; max-width: none; }
.guide-body .sp-ver-card .sp-ver-meta { font-size: 13px; }
.guide-body .sp-benefit-cta p { font-size: 14.5px; line-height: 1.6; max-width: none; }
.guide-body .sp-ver-form-wrap .sp-form-msg { max-width: none; }

/* ==========================================================================
   FAQ page by topic (js/spouzy-faqs.js): topics -> questions -> answer popup (one at a time)
   ========================================================================== */
.sp-faqx-intro { max-width: none !important; }
.sp-faqx-filter { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fff7ec; border: 1px solid rgba(138, 64, 47, 0.2); font-size: 14.5px; color: var(--sp-text-body); }
.sp-faqx-filter[hidden] { display: none; }
.sp-faqx-linkbtn { border: 0; background: none; padding: 0; margin-left: 4px; color: var(--sp-copper); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sp-faqx-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 4px 0 22px; }
.sp-faqx-topic { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; text-align: left; border: 1.5px solid rgba(138, 64, 47, 0.16); border-radius: 16px; background: #fff; cursor: pointer; color: var(--sp-ink); font-family: var(--sp-font-sans, 'Plus Jakarta Sans', sans-serif); box-shadow: 0 6px 18px rgba(39, 18, 25, 0.04); transition: border-color .2s, transform .2s, box-shadow .2s, background .2s; }
.sp-faqx-topic:hover { border-color: var(--sp-copper); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(39, 18, 25, 0.08); }
.sp-faqx-topic:focus-visible { outline: 2px solid var(--sp-copper); outline-offset: 2px; }
.sp-faqx-topic-icon { flex: 0 0 42px; height: 42px; border-radius: 13px; background: #fff1e6; color: var(--sp-copper); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: background .2s, color .2s; }
.sp-faqx-topic-text { flex: 1; min-width: 0; }
.sp-faqx-topic-text strong { display: block; font-size: 14.5px; line-height: 1.3; color: var(--sp-text-heading); }
.sp-faqx-topic-text small { display: block; font-size: 12.5px; color: var(--sp-ink-light); margin-top: 2px; font-weight: 500; }
.sp-faqx-topic-go { color: var(--sp-copper); font-size: 20px; opacity: .55; }
.sp-faqx-topic.is-active { background: var(--sp-wine); border-color: var(--sp-wine); box-shadow: 0 14px 28px rgba(72, 30, 40, 0.25); }
.sp-faqx-topic.is-active .sp-faqx-topic-icon { background: rgba(255, 255, 255, 0.14); color: #ffd9c9; }
.sp-faqx-topic.is-active strong { color: #fff; }
.sp-faqx-topic.is-active small, .sp-faqx-topic.is-active .sp-faqx-topic-go { color: #f2cfc2; opacity: 1; }

.sp-faqx-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; scroll-margin-top: 120px; }
.sp-faqx-body[hidden] { display: none; }
.sp-faqx-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #ecdcd2; }
.sp-faqx-list-head h3 { margin: 0; font: 600 19px/1.3 Georgia, serif; color: #4c2934; }
.sp-faqx-list-head span { font-size: 13px; color: var(--sp-ink-light); white-space: nowrap; }
.sp-faqx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sp-faqx-q { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 11px 12px; text-align: left; border: 1px solid transparent; border-radius: 12px; background: #fff; cursor: pointer; color: var(--sp-ink); font: 600 14.5px/1.45 var(--sp-font-sans, 'Plus Jakarta Sans', sans-serif); transition: background .18s, border-color .18s, box-shadow .18s; box-shadow: 0 2px 8px rgba(39, 18, 25, 0.035); }
.sp-faqx-q:hover { border-color: rgba(138, 64, 47, 0.3); background: #fffaf4; }
.sp-faqx-q:focus-visible { outline: 2px solid var(--sp-copper); outline-offset: 1px; }
.sp-faqx-n { flex: 0 0 26px; height: 26px; border-radius: 8px; background: #f7ece4; color: var(--sp-copper); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.sp-faqx-qt { flex: 1; min-width: 0; }
.sp-faqx-qt small { display: block; font-size: 11.5px; font-weight: 600; color: #985942; margin-top: 3px; letter-spacing: .02em; }
.sp-faqx-qt mark { background: #ffe3a3; color: inherit; border-radius: 3px; padding: 0 2px; }
.sp-faqx-q > .fa { color: var(--sp-copper); font-size: 18px; margin-top: 3px; opacity: .6; transition: transform .2s, opacity .2s; }
.sp-faqx-q.is-open { background: #fff4ec; border-color: var(--sp-copper); box-shadow: 0 8px 20px rgba(138, 64, 47, 0.12); }
.sp-faqx-q.is-open .sp-faqx-n { background: var(--sp-copper); color: #fff; }
.sp-faqx-q.is-open > .fa { transform: translateX(3px); opacity: 1; }

.sp-faqx-popcol { position: sticky; top: 140px; }
.sp-faqx-placeholder { border: 1.5px dashed rgba(138, 64, 47, 0.28); border-radius: 20px; padding: 34px 22px; text-align: center; color: var(--sp-ink-light); background: rgba(255, 255, 255, 0.55); }
.sp-faqx-placeholder i { font-size: 28px; color: #d3a894; }
.sp-faqx-placeholder p { margin: 8px 0 0 !important; font-size: 14.5px !important; }
.sp-faqx-placeholder[hidden] { display: none; }
.sp-faqx-pop { background: #fff; border-radius: 20px; border: 1px solid rgba(138, 64, 47, 0.18); box-shadow: 0 24px 50px -18px rgba(72, 30, 40, 0.35), 0 4px 14px rgba(39, 18, 25, 0.06); padding: 18px 20px 16px; max-height: calc(100vh - 170px); overflow: auto; opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 30% 0; transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
.sp-faqx-pop[hidden] { display: none; }
.sp-faqx-pop.is-in { opacity: 1; transform: none; }
.sp-faqx-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sp-faqx-pop-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #985942; background: #fff4ec; border-radius: 999px; padding: 4px 10px; }
.sp-faqx-x { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f6ebe4; color: var(--sp-wine); font-size: 22px; line-height: 1; cursor: pointer; }
.sp-faqx-x:hover { background: var(--sp-wine); color: #fff; }
.sp-faqx-pop h4 { margin: 0 0 10px; font: 600 18px/1.4 Georgia, serif; color: #3e1f2a; }
.sp-faqx-answer, .sp-faqx-answer p { font-size: 15px !important; line-height: 1.7 !important; color: var(--sp-text-body); max-width: none !important; }
.sp-faqx-answer p { margin: 0 0 10px !important; }
.sp-faqx-answer ul, .sp-faqx-answer ol { margin: 0 0 10px; padding-left: 20px; }
.sp-faqx-answer li { margin-bottom: 4px; font-size: 15px; }
.sp-faqx-answer a { color: var(--sp-copper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sp-faqx-loading { color: var(--sp-ink-light) !important; }
.sp-faqx-err { color: #8c1d18 !important; }
.sp-faqx-pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0e2d8; }
.sp-faqx-cta { font-size: 13.5px; font-weight: 700; color: var(--sp-copper); text-decoration: none; }
.sp-faqx-cta:hover { text-decoration: underline; }
.sp-faqx-nav { display: inline-flex; gap: 6px; }
.sp-faqx-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(138, 64, 47, 0.25); background: #fff; color: var(--sp-wine); font-size: 18px; cursor: pointer; }
.sp-faqx-nav button:hover:not([disabled]) { background: var(--sp-wine); color: #fff; }
.sp-faqx-nav button[disabled] { opacity: .35; cursor: default; }

/* phones and tablets: the answer pops up from the bottom; the questions above stay tappable */
@media (max-width: 899px) {
  .sp-faqx-body { grid-template-columns: 1fr; }
  .sp-faqx-popcol { position: static; }
  .sp-faqx-placeholder { display: none !important; }
  .sp-faqx-pop { position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; z-index: 99990; max-height: 56vh; border-radius: 22px; padding: 16px 16px 14px; transform: translateY(30px); box-shadow: 0 -10px 40px rgba(39, 18, 25, 0.22); }
  .sp-faqx-pop.is-in { transform: none; }
  .sp-faqx-has-pop .sp-faqx-listcol { padding-bottom: 58vh; }
  .sp-faqx-pop h4 { font-size: 16.5px; }
  .sp-faqx-answer, .sp-faqx-answer p, .sp-faqx-answer li { font-size: 14.5px !important; }
  .sp-faqx-topics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sp-faqx-topic { padding: 11px 10px; gap: 9px; }
  .sp-faqx-topic-icon { flex-basis: 36px; height: 36px; font-size: 16px; }
  .sp-faqx-topic-go { display: none; }
  .sp-faqx-topic-text strong { font-size: 13.5px; }
}
@media (max-width: 420px) {
  .sp-faqx-topics { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-faqx-pop, .sp-faqx-topic, .sp-faqx-q > .fa { transition: none; }
}

/* Copy protection: the FAQ area cannot be selected, copied, dragged or printed */
.sp-protect, .sp-protect * { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }
.sp-protect input, .sp-protect textarea { -webkit-user-select: text; -moz-user-select: text; user-select: text; }
@media print {
  .sp-protect { display: none !important; }
}

/* Email code (6 digits) in the login / sign-up popup */
.sp-code-input { text-align: center; font-size: 24px !important; font-weight: 700; letter-spacing: 0.45em; padding-left: 0.45em !important; font-variant-numeric: tabular-nums; }
.sp-code-input::placeholder { letter-spacing: 0.45em; color: rgba(72, 30, 40, 0.25); }
.sp-gate-sub strong { color: var(--sp-wine); word-break: break-all; }

/* ==========================================================================
   WEBINARS & TRAININGS (/webinars-and-training + js/spouzy-events.js)
   ========================================================================== */
.sp-events-page {
  padding: clamp(28px, 4vw, 48px) max(5%, calc((100% - 1180px) / 2)) clamp(48px, 6vw, 80px);
  color: #271219;
}
.sp-events-hero {
  background: linear-gradient(135deg, #fffdf6 0%, #faf1e8 100%);
  border: 1px solid rgba(138, 64, 47, 0.16);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 28px;
  box-shadow: 0 10px 28px rgba(72, 30, 40, 0.06);
}
.sp-events-eyebrow {
  margin: 0 0 8px;
  font: 700 12px/1.3 var(--sp-font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8A402F;
}
.sp-events-hero h1 {
  margin: 0 0 12px;
  font-family: var(--sp-font-serif);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.15;
  color: #63292E;
}
.sp-events-hero-lead {
  max-width: 720px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #4a2a31;
  margin: 0 0 20px;
}
.sp-events-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.sp-events-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fffdf8;
  border: 1px solid rgba(138, 64, 47, 0.16);
  border-radius: 18px;
  margin-bottom: 24px;
}
.sp-events-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sp-events-filter-label {
  font: 700 12px/1 var(--sp-font-sans);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7c4a40;
  margin-right: 4px;
}
.sp-events-chip {
  border: 1px solid rgba(99, 41, 46, 0.22);
  background: #fff;
  color: #63292E;
  font: 600 13.5px/1.2 var(--sp-font-sans);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.sp-events-chip:hover {
  border-color: #8A402F;
  background: #fdf4ee;
}
.sp-events-chip.is-active {
  background: #63292E;
  border-color: #63292E;
  color: #fff;
}

.sp-events-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 16px;
}
.sp-events-section-head h2 {
  margin: 0;
  font-family: var(--sp-font-serif);
  font-size: clamp(24px, 3vw, 30px);
  color: #63292E;
}
.sp-events-count {
  font-size: 13.5px;
  font-weight: 600;
  color: #8A402F;
}

.sp-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}
.sp-event-card {
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid rgba(138, 64, 47, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(72, 30, 40, 0.06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.sp-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(72, 30, 40, 0.11);
}
.sp-event-card.is-past {
  background: #fcfaf4;
  border-color: rgba(120, 88, 78, 0.18);
}
.sp-event-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #63292E, #9b4b38);
  overflow: hidden;
  text-decoration: none;
}
.sp-event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.sp-event-card-placeholder {
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.sp-event-card-placeholder span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .85;
}
.sp-event-card-placeholder strong {
  font-family: var(--sp-font-serif);
  font-size: 22px;
}
.sp-event-card-badges {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sp-event-card-badges.is-static {
  position: static;
  margin-bottom: 12px;
}
.sp-event-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font: 700 11.5px/1.1 var(--sp-font-sans);
  letter-spacing: .04em;
  background: rgba(255, 253, 246, 0.95);
  color: #63292E;
  box-shadow: 0 2px 8px rgba(39, 18, 25, 0.12);
}
.sp-event-pill.sp-pill-mode.is-online { background: #e8f4f1; color: #195b4b; }
.sp-event-pill.sp-pill-mode.is-offline { background: #fdf1e6; color: #8b3f1a; }
.sp-event-pill.sp-pill-price { background: #63292E; color: #fff; }
.sp-event-pill.sp-pill-cancelled { background: #b42318; color: #fff; }
.sp-event-pill.sp-pill-past { background: #e7dfd8; color: #4e3b38; }
.sp-event-pill.sp-pill-live { background: #1e6b43; color: #fff; }

.sp-event-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sp-event-card-meta-row {
  font-size: 13px;
  font-weight: 700;
  color: #8A402F;
  margin-bottom: 8px;
}
.sp-event-card-title {
  margin: 0 0 8px;
  font-family: var(--sp-font-serif);
  font-size: 20px;
  line-height: 1.3;
  color: #271219;
}
.sp-event-card-title a {
  color: inherit;
  text-decoration: none;
}
.sp-event-card-title a:hover { color: #8A402F; }
.sp-event-card-desc {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #51363a;
  flex: 1;
}
.sp-event-card-facts {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #faf5ef;
  font-size: 13.5px;
  color: #492c30;
  margin-bottom: 16px;
}
.sp-event-card-facts i { color: #8A402F; width: 16px; text-align: center; margin-right: 4px; }
.sp-event-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sp-event-btn-primary,
.sp-event-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font: 700 13.5px/1.2 var(--sp-font-sans);
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s ease, background .18s ease;
}
.sp-event-btn-primary {
  background: linear-gradient(135deg, #63292E, #8A402F);
  color: #fff !important;
  border: 1px solid #63292E;
}
.sp-event-btn-primary:hover { background: linear-gradient(135deg, #4e1f23, #733223); }
.sp-event-btn-secondary {
  background: #fff;
  color: #63292E !important;
  border: 1px solid rgba(99, 41, 46, 0.28);
}
.sp-event-btn-secondary:hover { background: #fdf4ee; }
.sp-event-btn-block { width: 100%; margin-top: 10px; }

.sp-events-empty-box {
  text-align: center;
  padding: 36px 24px;
  background: #fffdf8;
  border: 1px dashed rgba(138, 64, 47, 0.32);
  border-radius: 20px;
}
.sp-events-empty-box h2,
.sp-events-empty-box h3 {
  font-family: var(--sp-font-serif);
  color: #63292E;
  margin: 0 0 10px;
}
.sp-events-empty-box p {
  max-width: 560px;
  margin: 0 auto 18px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #4f3136;
}
.sp-events-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.sp-events-past-section {
  margin-top: 46px;
  padding-top: 32px;
  border-top: 1px solid rgba(138, 64, 47, 0.2);
}
.sp-events-contact-band {
  margin-top: 44px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  background: linear-gradient(135deg, #63292E 0%, #8A402F 100%);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.sp-events-contact-band h2 {
  margin: 0 0 6px;
  font-family: var(--sp-font-serif);
  font-size: clamp(22px, 2.8vw, 28px);
  color: #FFFACD;
}
.sp-events-contact-band p { margin: 0; max-width: 600px; color: rgba(255, 255, 255, 0.92); line-height: 1.55; }
.sp-events-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFACD;
  color: #63292E !important;
  font: 700 14px/1.2 var(--sp-font-sans);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none !important;
}

/* Detail View */
.sp-event-detail-shell {
  background: #fffdf8;
  border: 1px solid rgba(138, 64, 47, 0.16);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 34px);
}
.sp-event-detail-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.sp-event-back-link,
.sp-event-copy-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 14px/1.2 var(--sp-font-sans);
  color: #63292E;
  text-decoration: none;
  background: #faf3ec;
  border: 1px solid rgba(138, 64, 47, 0.22);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.sp-event-detail-banner {
  margin: 0 0 22px;
  border-radius: 18px;
  overflow: hidden;
  max-width: 820px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #3d1c22;
}
.sp-event-detail-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.sp-event-detail-head h1 {
  margin: 0 0 8px;
  font-family: var(--sp-font-serif);
  font-size: clamp(26px, 3.6vw, 38px);
  color: #63292E;
}
.sp-event-detail-sub { font-size: 16.5px; line-height: 1.55; color: #56373c; margin: 0 0 22px; }
.sp-event-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: start;
}
.sp-event-rich-body { font-size: 15.5px; line-height: 1.72; color: #2f191d; margin-bottom: 22px; }
.sp-event-rich-body ul, .sp-event-rich-body ol { padding-left: 20px; margin: 12px 0; }
.sp-event-rich-body li { margin-bottom: 6px; }
.sp-event-logistics-card {
  background: #faf4ef;
  border: 1px solid rgba(138, 64, 47, 0.2);
  border-radius: 16px;
  padding: 18px 20px;
}
.sp-event-logistics-card h3 { margin: 0 0 12px; font-family: var(--sp-font-serif); font-size: 19px; color: #63292E; }
.sp-event-dl { display: grid; gap: 10px; margin: 0; }
.sp-event-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 14.5px; }
.sp-event-dl dt { font-weight: 700; color: #7a3e33; }
.sp-event-dl dd { margin: 0; color: #2d171b; }
.sp-event-inline-link { color: #8A402F; font-weight: 700; text-decoration: underline; }
.sp-event-aside-box {
  background: #faf4ef;
  border: 1px solid rgba(138, 64, 47, 0.22);
  border-radius: 18px;
  padding: 20px;
}
.sp-event-aside-box h3 { margin: 0 0 14px; font-family: var(--sp-font-serif); font-size: 20px; color: #63292E; }
.sp-event-aside-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; font-size: 14px; }
.sp-event-aside-list li { display: grid; gap: 2px; border-bottom: 1px solid rgba(138, 64, 47, 0.12); padding-bottom: 8px; }
.sp-event-aside-list strong { color: #7c3f34; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.sp-event-cancelled-note { margin: 10px 0 0; font-size: 13.5px; color: #9c1f16; font-weight: 600; }

/* ==========================================================================
   RIGHT-SIDE FLOATING EVENT POPUP (js/spouzy-event-popup.js)
   Positioned cleanly above bottom-right launcher (#spFloatingWidget / chat).
   ========================================================================== */
.sp-event-popup {
  position: fixed;
  right: 18px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  width: min(336px, calc(100vw - 32px));
  z-index: 9975;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(100% + 28px));
  transition: transform .36s cubic-bezier(.16, 1, .3, 1), opacity .28s ease, visibility .28s ease;
}
.sp-event-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.sp-event-popup-card {
  position: relative;
  background: #fffdf8;
  border: 1px solid rgba(138, 64, 47, 0.24);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(39, 18, 25, 0.22);
}
.sp-event-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(39, 18, 25, 0.72);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sp-event-popup-close:hover { background: #63292E; }
.sp-event-popup-media {
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #63292E, #8A402F);
}
.sp-event-popup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.sp-event-popup-media.is-fallback {
  aspect-ratio: auto;
  padding: 12px 42px 12px 14px;
  display: flex;
  align-items: center;
}
.sp-event-popup-fallback-label {
  font: 700 11.5px/1.2 var(--sp-font-sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #FFFACD;
}
.sp-event-popup-content { padding: 12px 14px 14px; }
.sp-event-popup-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.sp-event-popup-pill {
  font: 700 10.5px/1.1 var(--sp-font-sans);
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5ebe4;
  color: #63292E;
}
.sp-event-popup-pill.is-price { background: #63292E; color: #fff; }
.sp-event-popup-title {
  margin: 0 0 5px;
  font-family: var(--sp-font-serif);
  font-size: 16px;
  line-height: 1.3;
  color: #271219;
}
.sp-event-popup-title a { color: inherit; text-decoration: none; }
.sp-event-popup-date { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; color: #8A402F; }
.sp-event-popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #63292E, #8A402F);
  color: #fff !important;
  font: 700 13px/1.2 var(--sp-font-sans);
  text-decoration: none !important;
}

@media (max-width: 820px) {
  .sp-event-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sp-events-grid { grid-template-columns: 1fr; }
  .sp-event-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .sp-event-popup {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .sp-event-popup-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: stretch;
    border-radius: 14px;
  }
  .sp-event-popup-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 82px;
  }
  .sp-event-popup-media.is-fallback {
    grid-column: 1 / -1;
    min-height: 0;
  }
  .sp-event-popup-content {
    padding: 8px 28px 8px 10px;
  }
  .sp-event-popup-pills { margin-bottom: 3px; gap: 4px; }
  .sp-event-popup-pill { padding: 2px 6px; font-size: 9px; }
  .sp-event-popup-title {
    font-size: 13px;
    line-height: 1.25;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sp-event-popup-date { font-size: 11px; margin-bottom: 5px; }
  .sp-event-popup-cta { width: auto; padding: 5px 12px; font-size: 11.5px; }
  .sp-event-popup-close {
    width: 24px;
    height: 24px;
    font-size: 15px;
    top: 6px;
    right: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-event-popup { transition: opacity .18s ease; transform: none; }
}
html.sp-motion-off .sp-event-popup { transition: none; transform: none; }

/* ==========================================================================
   SPOUZY SECURE CHAT (js/spouzy-chat.js): chat window and the chat icon used instead of WhatsApp
   ========================================================================== */
.sp-securechat-ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-9 8.4 8.5 8.5 0 0 1-3.8-.9L3 21l1.9-5.7a8.4 8.4 0 0 1-.9-3.8 8.5 8.5 0 0 1 8.5-8.5h.5a8.5 8.5 0 0 1 8 8v.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-9 8.4 8.5 8.5 0 0 1-3.8-.9L3 21l1.9-5.7a8.4 8.4 0 0 1-.9-3.8 8.5 8.5 0 0 1 8.5-8.5h.5a8.5 8.5 0 0 1 8 8v.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sp-floating-wa-badge .sp-securechat-ico { font-size: 18px; }
.sp-sc-panel.sp-chat {
  width: 410px;
  height: min(690px, calc(100vh - 116px));
  height: min(690px, calc(100dvh - 116px));
  background: #271219;
  border: 0;
  display: block;
  z-index: 10050;
}
.sp-sc-panel.sp-chat[hidden] { display: none; }
.sp-sc-panel iframe { display: block; width: 100%; height: 100%; border: 0; background: #271219; }
@media (max-width: 600px) {
  .sp-sc-panel.sp-chat { right: 0; left: 0; top: 0; bottom: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; }
}
.sp-securechat-points { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sp-securechat-points li { background: #fff; border: 1px solid rgba(72, 30, 40, 0.08); border-radius: 16px; padding: 14px 16px; font-size: 13.5px; line-height: 1.55; color: var(--sp-text-body, #3D2B2B); box-shadow: 0 6px 18px rgba(39, 18, 25, 0.05); }
.sp-securechat-points strong { color: var(--sp-wine, #481e28); }

/* Static site: the floating contact button is WhatsApp, so it keeps WhatsApp green (rules from the original zip). */
.sp-floating-launcher-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #ffffff;
  border: 2px solid var(--sp-copper, #bf674f);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(39, 18, 25, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
  transform-origin: center;
  animation: sp-icon-breathe 2s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sp-floating-wa-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  font-size: 19px;
  flex-shrink: 0;
}
.sp-floating-btn-wa {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.sp-floating-btn-wa:hover {
  background: #20ba59;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
