/* =============================================================
   CparraStudio — IMPROVEMENTS (18 enhancements)
   Cargar después de animations.css
   ============================================================= */

/* ============================================================
   1. WHATSAPP FAB (floating action button)
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 95;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  transition: transform 220ms var(--ease-soft), box-shadow 220ms;
  -webkit-tap-highlight-color: transparent;
  animation: wa-pulse 2.6s ease-in-out infinite;
}

.wa-fab svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.wa-fab:hover,
.wa-fab:active {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  animation-play-state: paused;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-ring 2.6s ease-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes wa-ring {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

@media (max-width: 720px) {
  .wa-fab { width: 52px; height: 52px; bottom: 18px; left: 16px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* Avoid overlap with back-to-top button (it lives right, this lives left) */

/* ============================================================
   2. PROMO BANNER (sticky 10% off)
   ============================================================ */
.promo-banner {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--terracotta) 0%, var(--gold-deep) 100%);
  color: var(--cream);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(58, 42, 32, 0.18);
  animation: banner-slide-down 480ms var(--ease-soft);
}

.promo-banner.hidden { display: none; }

.promo-banner strong { font-weight: 700; }

.promo-banner code {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: "Manrope", monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.promo-banner .promo-cta {
  background: var(--cream);
  color: var(--terracotta-deep);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 180ms ease;
  white-space: nowrap;
}

.promo-banner .promo-cta:hover { transform: scale(1.05); }

.promo-banner .promo-close {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  margin-left: auto;
  opacity: 0.8;
  -webkit-tap-highlight-color: transparent;
}

.promo-banner .promo-close::before { content: "×"; }
.promo-banner .promo-close:hover { opacity: 1; }

@keyframes banner-slide-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@media (max-width: 720px) {
  .promo-banner { padding: 8px 12px; font-size: 11px; gap: 8px; }
  .promo-banner .promo-cta { padding: 5px 10px; font-size: 10px; }
  .promo-banner .promo-text-detail { display: none; }
}

/* When promo banner is visible, push navbar down */
body:has(.promo-banner:not(.hidden)) .navbar { top: 40px; }
body:has(.promo-banner:not(.hidden)) .mobile-menu { top: 40px; }

@media (max-width: 720px) {
  body:has(.promo-banner:not(.hidden)) .navbar { top: 34px; }
}

/* ============================================================
   3. BEFORE/AFTER SLIDER — editorial portrait edition
   ============================================================ */
.ba-section {
  padding: var(--s-8) 0;
}

.ba-stage {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  background: var(--mocha, #3A2A20);
  box-shadow:
    0 30px 60px -25px rgba(58, 42, 32, 0.55),
    0 12px 28px -12px rgba(184, 98, 63, 0.28),
    0 0 0 1px rgba(201, 166, 106, 0.18) inset;
  transition: opacity 280ms ease, transform 280ms ease;
}

.ba-wrap.is-switching {
  opacity: 0;
  transform: translateY(6px) scale(0.992);
}

/* Subtle warm vignette + gold inner ring */
.ba-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(201, 166, 106, 0.35);
  z-index: 4;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ba-img.after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 90ms ease-out;
}

/* Vertical divider line */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(250, 245, 238, 0) 0%,
    rgba(250, 245, 238, 0.95) 14%,
    rgba(250, 245, 238, 0.95) 86%,
    rgba(250, 245, 238, 0) 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
  transition: left 90ms ease-out;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, #FAF5EE 0%, #F3E6D5 100%);
  border: 1.5px solid rgba(201, 166, 106, 0.7);
  box-shadow:
    0 8px 24px rgba(58, 42, 32, 0.4),
    0 0 0 6px rgba(250, 245, 238, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--terracotta, #B8623F);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.ba-handle-arrow {
  display: inline-block;
  transition: transform 220ms ease;
}

.ba-wrap:hover .ba-handle-arrow--left { transform: translateX(-2px); }
.ba-wrap:hover .ba-handle-arrow--right { transform: translateX(2px); }

/* First-view pulse to teach the interaction */
@keyframes baPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(58, 42, 32, 0.4), 0 0 0 6px rgba(250, 245, 238, 0.18), 0 0 0 14px rgba(201, 166, 106, 0); }
  50%      { box-shadow: 0 8px 24px rgba(58, 42, 32, 0.4), 0 0 0 6px rgba(250, 245, 238, 0.18), 0 0 0 14px rgba(201, 166, 106, 0.35); }
}
.ba-wrap.ba-demo-running .ba-handle-knob {
  animation: baPulse 1.6s ease-in-out infinite;
}

.ba-label {
  position: absolute;
  bottom: 18px;
  background: rgba(58, 42, 32, 0.55);
  color: var(--cream, #FAF5EE);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(250, 245, 238, 0.22);
  z-index: 3;
  pointer-events: none;
}

.ba-label.left { left: 18px; }
.ba-label.right { right: 18px; }

/* "ARRASTRA" hint — visible only while auto-demo runs, fades on interaction */
.ba-hint {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(58, 42, 32, 0.78);
  color: var(--cream, #FAF5EE);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(250, 245, 238, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 360ms ease, transform 360ms ease;
}
.ba-hint span {
  display: inline-block;
  color: var(--gold, #C9A66A);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
}
.ba-wrap.ba-demo-running .ba-hint { opacity: 1; }
.ba-wrap.ba-interacted .ba-hint,
.ba-wrap.ba-demo-done .ba-hint { opacity: 0; transform: translateX(-50%) translateY(-4px); }

/* Tabs to switch between clients */
.ba-tabs {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: rgba(250, 245, 238, 0.5);
  border: 1px solid rgba(201, 166, 106, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ba-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: var(--mocha, #3A2A20);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 240ms ease, color 240ms ease, transform 180ms ease;
}

.ba-tab:hover {
  background: rgba(184, 98, 63, 0.08);
}

.ba-tab.is-active {
  background: linear-gradient(135deg, var(--terracotta, #B8623F) 0%, #9c4f2f 100%);
  color: var(--cream, #FAF5EE);
  box-shadow: 0 6px 16px -6px rgba(184, 98, 63, 0.6);
}

.ba-tab-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  opacity: 0.75;
}

.ba-tab.is-active .ba-tab-num { opacity: 1; }

.ba-tab-name {
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ----- Tablet & up: bump width a bit ----- */
@media (min-width: 900px) {
  .ba-stage { max-width: 600px; gap: 32px; }
}

/* ----- Mobile polish ----- */
@media (max-width: 720px) {
  .ba-stage { gap: 22px; max-width: 100%; }
  .ba-wrap {
    border-radius: 16px;
    box-shadow:
      0 18px 40px -20px rgba(58, 42, 32, 0.5),
      0 8px 18px -8px rgba(184, 98, 63, 0.25);
  }
  .ba-handle-knob {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }
  .ba-label { font-size: 10px; padding: 6px 12px; letter-spacing: 0.18em; }
  .ba-label.left { left: 12px; }
  .ba-label.right { right: 12px; }
  .ba-hint { top: 14px; font-size: 9.5px; padding: 5px 12px; }
  .ba-tabs { gap: 6px; padding: 5px; }
  .ba-tab { padding: 9px 16px; gap: 8px; }
  .ba-tab-name { font-size: 11px; }
  .ba-tab-num { font-size: 13px; }
}

@media (max-width: 380px) {
  .ba-tab-num { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-wrap, .ba-img.after, .ba-handle, .ba-handle-arrow, .ba-tab, .ba-hint { transition: none !important; }
  .ba-wrap.ba-demo-running .ba-handle-knob { animation: none !important; }
}

/* Hint "ARRASTRA" — aparece sobre el handle durante el auto-demo,
   se oculta cuando el usuario interactúa o cuando termina el demo. */
.ba-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-46px);
  background: rgba(26, 20, 16, 0.85);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(184, 152, 92, 0.45);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 280ms ease;
  white-space: nowrap;
}
.ba-hint span {
  color: var(--gold);
  font-size: 14px;
  animation: baHintArrow 1.2s ease-in-out infinite;
}
.ba-hint span:last-child { animation-delay: 0.6s; }
@keyframes baHintArrow {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(3px); opacity: 1; }
}
/* Mostrar hint solo mientras corre el demo */
.ba-wrap.ba-demo-running .ba-hint { opacity: 1; }
.ba-wrap.ba-interacted .ba-hint,
.ba-wrap.ba-demo-done .ba-hint { opacity: 0; }

/* Pulse sutil del handle mientras el demo corre o hasta que el usuario
   interactúe — refuerza visualmente que es tocable. */
.ba-wrap:not(.ba-interacted) .ba-handle::before {
  animation: baHandlePulse 2.2s ease-in-out infinite;
}
@keyframes baHandlePulse {
  0%, 100% {
    box-shadow:
      0 4px 12px rgba(58, 42, 32, 0.3),
      0 0 0 0 rgba(184, 152, 92, 0.55);
  }
  50% {
    box-shadow:
      0 4px 12px rgba(58, 42, 32, 0.3),
      0 0 0 12px rgba(184, 152, 92, 0);
  }
}

@media (max-width: 720px) {
  .ba-hint {
    transform: translate(-50%, -50%) translateY(-40px);
    padding: 6px 14px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .ba-hint span { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-hint, .ba-hint span,
  .ba-wrap:not(.ba-interacted) .ba-handle::before {
    animation: none !important;
  }
}

/* ============================================================
   4. STICKY PRICE COMPARE BAR (servicios)
   ============================================================ */
.compare-bar {
  position: sticky;
  top: 64px;
  z-index: 80;
  background: rgba(250, 245, 238, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
}

.compare-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.compare-bar a {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: all 200ms ease;
}

.compare-bar a strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--terracotta-deep);
}

.compare-bar a:hover {
  border-color: var(--terracotta);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.compare-bar a.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.compare-bar a.active strong { color: var(--gold); }

@media (max-width: 720px) {
  .compare-bar { top: 56px; padding: 8px 0; }
  .compare-bar-inner { gap: 8px; }
  .compare-bar a { padding: 5px 10px; font-size: 11px; }
  .compare-bar a strong { font-size: 13px; }
}

body:has(.promo-banner:not(.hidden)) .compare-bar { top: 104px; }
@media (max-width: 720px) {
  body:has(.promo-banner:not(.hidden)) .compare-bar { top: 90px; }
}

/* ============================================================
   5. PROCESS STEPS ANIMATED REVEAL (servicios)
   ============================================================ */
.process-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-soft), transform 600ms var(--ease-soft);
}

.process-step.in-view {
  opacity: 1;
  transform: translateY(0);
}

.process-step:nth-child(1) { transition-delay: 0ms; }
.process-step:nth-child(2) { transition-delay: 120ms; }
.process-step:nth-child(3) { transition-delay: 240ms; }
.process-step:nth-child(4) { transition-delay: 360ms; }
.process-step:nth-child(5) { transition-delay: 480ms; }

.process-step .num {
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms,
              background 320ms ease,
              color 320ms ease;
}

.process-step.in-view .num {
  transform: scale(1.08);
  animation: process-num-pop 700ms ease;
}

@keyframes process-num-pop {
  0% { transform: scale(0.85); }
  50% { transform: scale(1.15); background: var(--gold); color: var(--mocha); }
  100% { transform: scale(1.08); }
}

/* Draw the connecting line progressively */
.process-grid::before {
  background: linear-gradient(to right,
    var(--terracotta) 0%,
    var(--terracotta) var(--process-progress, 0%),
    var(--hairline-strong) var(--process-progress, 0%),
    var(--hairline-strong) 100%);
  transition: --process-progress 1200ms ease;
}

/* ============================================================
   6. GIFT CARD MODAL
   ============================================================ */
.gift-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 42, 32, 0.6);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: var(--s-4);
  opacity: 0;
  transition: opacity 280ms ease;
}

.gift-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.gift-modal {
  background: var(--cream);
  border-radius: var(--r-xl);
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: var(--s-6);
  position: relative;
  transform: scale(0.94);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: var(--shadow-xl);
}

.gift-modal-overlay.open .gift-modal { transform: scale(1); }

.gift-close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--champagne);
  border: none;
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-card-preview {
  background: linear-gradient(135deg, var(--mocha) 0%, var(--terracotta-deep) 100%);
  color: var(--cream);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--s-5);
  box-shadow: var(--shadow-warm);
}

.gift-card-preview::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.4;
}

.gift-card-preview .label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.gift-card-preview .amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  margin: 6px 0;
}

.gift-card-preview .for-line {
  font-size: 13px;
  color: rgba(250, 245, 238, 0.85);
  margin-top: 8px;
}

.gift-card-preview .for-line strong { color: var(--cream); font-weight: 600; }

.gift-card-preview .message-preview {
  font-family: var(--font-script);
  font-size: 24px;
  margin-top: var(--s-3);
  color: var(--rose-blush);
  line-height: 1.3;
  min-height: 32px;
}

.gift-modal h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: var(--s-4);
}

@media (max-width: 720px) {
  .gift-modal { padding: var(--s-5); }
  .gift-card-preview .amount { font-size: 40px; }
}

/* ============================================================
   7. COURSE SOCIAL PROOF BADGES (cursos)
   ============================================================ */
.course-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.course-proof .proof-icon {
  font-size: 14px;
}

.course-proof strong {
  color: var(--terracotta-deep);
  font-weight: 700;
}

.proof-bar {
  flex: 1;
  height: 4px;
  background: var(--champagne);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  min-width: 60px;
}

.proof-bar::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--proof-pct, 50%);
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  border-radius: 999px;
  transform-origin: left;
  animation: proof-bar-fill 1200ms cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

@keyframes proof-bar-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================================
   8. FILTER RESULTS COUNTER
   ============================================================ */
.filter-counter {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: calc(-1 * var(--s-4)) 0 var(--s-5);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.filter-counter.visible {
  opacity: 1;
  transform: translateY(0);
}

.filter-counter strong {
  color: var(--terracotta-deep);
  font-weight: 700;
}

/* ============================================================
   9. COURSE MODULE PREVIEW (inline expand)
   ============================================================ */
.course-card .preview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px dashed var(--hairline-strong);
  color: var(--ink-soft);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: all 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.course-card .preview-toggle:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
  border-style: solid;
}

.course-card .preview-toggle .arrow {
  display: inline-block;
  transition: transform 240ms ease;
}

.course-card.expanded .preview-toggle .arrow { transform: rotate(180deg); }

.course-card .preview-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease;
  margin-top: 0;
}

.course-card.expanded .preview-list {
  max-height: 280px;
  margin-top: 10px;
}

.course-card .preview-list ul {
  list-style: none;
  padding: 12px 14px;
  margin: 0;
  background: var(--champagne);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.course-card .preview-list li {
  padding: 4px 0;
  padding-left: 22px;
  position: relative;
  color: var(--ink);
}

.course-card .preview-list li::before {
  content: "→";
  position: absolute;
  left: 4px;
  color: var(--terracotta);
  font-weight: 700;
}

.course-card .preview-list .more-note {
  margin-top: 6px;
  font-style: italic;
  color: var(--ink-faded);
  padding-left: 22px;
  font-size: 11px;
}

/* ============================================================
   10. FREE SHIPPING PROGRESS BAR (cart)
   ============================================================ */
.shipping-progress {
  background: var(--champagne);
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
  font-size: 12px;
  color: var(--ink);
}

.shipping-progress.unlocked {
  background: linear-gradient(90deg, rgba(201, 166, 106, 0.25), rgba(184, 98, 63, 0.18));
  color: var(--terracotta-deep);
}

.shipping-progress .msg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
}

.shipping-progress .msg .icon { font-size: 16px; }

.shipping-progress strong { color: var(--terracotta-deep); }

.shipping-progress .bar {
  height: 6px;
  background: var(--cream);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.shipping-progress .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--ship-pct, 0%);
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  border-radius: 999px;
  transition: width 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shipping-progress.unlocked .bar::after {
  background: linear-gradient(90deg, var(--terracotta), var(--gold-deep));
  width: 100% !important;
}

/* ============================================================
   11. INTERACTIVE SWATCHES (selectable on product card)
   ============================================================ */
.product-swatches .swatch {
  cursor: pointer;
}

.product-swatches .swatch.selected {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  transform: scale(1.15);
  z-index: 3;
}

.product-swatches .swatch.selected::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--terracotta);
  opacity: 1;
}

.product-swatch-name {
  font-size: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  min-height: 14px;
  transition: color 200ms ease;
}

.product-swatch-name strong {
  color: var(--terracotta-deep);
  font-weight: 700;
}

/* ============================================================
   12. RECENTLY VIEWED SECTION
   ============================================================ */
.recently-viewed-section {
  padding: var(--s-7) 0;
  background: var(--surface);
}

.recently-viewed-section h2 {
  text-align: center;
  margin-bottom: var(--s-5);
}

.rv-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.rv-card {
  background: var(--cream);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--hairline);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.rv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.rv-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.rv-card .rv-body {
  padding: 10px 12px;
}

.rv-card .name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 3px;
}

.rv-card .price {
  font-size: 12px;
  font-weight: 700;
  color: var(--terracotta-deep);
}

.rv-empty {
  text-align: center;
  color: var(--ink-faded);
  font-style: italic;
  padding: var(--s-5);
}

@media (max-width: 900px) {
  .rv-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .rv-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .rv-card {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }
}

/* ============================================================
   13. BOOKING STEPPER STICKY (agendar)
   ============================================================ */
.booking-stepper {
  position: sticky;
  top: 64px;
  z-index: 80;
  background: rgba(250, 245, 238, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 320ms ease, transform 320ms ease;
}

.booking-stepper.visible {
  opacity: 1;
  transform: translateY(0);
}

.booking-stepper-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booking-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--ink-faded);
  letter-spacing: 0.04em;
}

.booking-step-item .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-faded);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.booking-step-item.active .step-num {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

.booking-step-item.active { color: var(--ink); font-weight: 600; }

.booking-step-item.done .step-num {
  background: var(--gold);
  color: var(--mocha);
  border-color: var(--gold);
}

.booking-step-item.done { color: var(--terracotta-deep); }

.booking-step-divider {
  width: 24px;
  height: 1px;
  background: var(--hairline-strong);
}

@media (max-width: 720px) {
  .booking-stepper { top: 56px; padding: 8px 0; }
  .booking-step-item .step-num { width: 24px; height: 24px; font-size: 11px; }
  .booking-step-item { font-size: 10px; }
  .booking-step-item .step-label { display: none; }
  .booking-step-divider { width: 12px; }
}

body:has(.promo-banner:not(.hidden)) .booking-stepper { top: 104px; }
@media (max-width: 720px) {
  body:has(.promo-banner:not(.hidden)) .booking-stepper { top: 90px; }
}

/* ============================================================
   14. CALENDAR URGENCY
   ============================================================ */
.calendar-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(184, 98, 63, 0.12);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--terracotta-deep);
  font-weight: 600;
  margin-bottom: var(--s-4);
  animation: urgency-pulse 2.4s ease-in-out infinite;
}

.calendar-urgency .icon { font-size: 16px; }

@keyframes urgency-pulse {
  0%, 100% { background: rgba(184, 98, 63, 0.12); }
  50% { background: rgba(184, 98, 63, 0.22); }
}

.cal-day.almost-full {
  position: relative;
}

.cal-day.almost-full::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  animation: dot-pulse 1.8s ease-in-out infinite;
  z-index: 2;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

/* ============================================================
   15. "LO QUE TE LLEVAS" SECTION (agendar)
   ============================================================ */
.gain-section {
  padding: var(--s-7) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--champagne) 100%);
}

.gain-section .container { max-width: 880px; }

.gain-section h2 {
  text-align: center;
  margin-bottom: var(--s-6);
}

.gain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}

.gain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--s-4);
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.gain-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gain-item .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.gain-item .text { flex: 1; }

.gain-item .gain-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 2px;
  color: var(--ink);
}

.gain-item .gain-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .gain-grid { grid-template-columns: 1fr; gap: 10px; }
  .gain-item { padding: 12px; }
}

/* ============================================================
   16. GRACIAS — PERSONALIZED GREETING
   ============================================================ */
.welcome-name {
  font-family: var(--font-script);
  font-size: 32px;
  color: var(--terracotta);
  display: block;
  margin-top: 8px;
  line-height: 1;
  animation: welcome-in 800ms ease 200ms backwards;
}

@keyframes welcome-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   17. ORDER RECEIPT CARD (gracias)
   ============================================================ */
.order-receipt {
  max-width: 480px;
  margin: var(--s-6) auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--hairline);
  text-align: left;
}

.order-receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--s-3);
  border-bottom: 1px dashed var(--hairline-strong);
  margin-bottom: var(--s-3);
}

.order-receipt-header .receipt-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.order-receipt-header .receipt-id {
  font-size: 11px;
  color: var(--ink-faded);
  letter-spacing: 0.06em;
  font-family: "Courier New", monospace;
}

.order-receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
}

.order-receipt-row .lbl { color: var(--ink-soft); }
.order-receipt-row .val { color: var(--ink); font-weight: 500; }

.order-receipt-row.total {
  padding-top: var(--s-3);
  margin-top: var(--s-3);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: 20px;
}

.order-receipt-row.total .val {
  color: var(--terracotta-deep);
  font-weight: 600;
}

/* ============================================================
   18. SHARE BUTTONS (gracias)
   ============================================================ */
.share-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--s-5) auto;
  max-width: 480px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 200ms ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.share-btn.wa { color: #25D366; border-color: rgba(37, 211, 102, 0.4); }
.share-btn.wa:hover { background: rgba(37, 211, 102, 0.08); border-color: #25D366; }

.share-btn.ig { color: #E1306C; border-color: rgba(225, 48, 108, 0.4); }
.share-btn.ig:hover { background: rgba(225, 48, 108, 0.08); border-color: #E1306C; }

.share-btn.email { color: var(--ink-soft); }
.share-btn.email:hover { background: var(--champagne); }

.share-btn .icon { font-size: 18px; }

.share-title {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 12px;
}

/* ============================================================
   POLISH — Better focus visible for accessibility
   ============================================================ */
.wa-fab:focus-visible,
.promo-banner .promo-cta:focus-visible,
.share-btn:focus-visible,
.gift-close:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* =============================================================
   ROUND 2 — MAGIC + CLARITY (4 ENHANCEMENTS)
   ============================================================= */

/* ============================================================
   M1. CINEMATIC HERO — Ken Burns + animated gradient
   ============================================================ */
.hero-bg img {
  animation: ken-burns 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes ken-burns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2.5%, -1.5%); }
}

/* Subtle animated gradient overlay on hero (breathing warm light) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at 25% 80%, rgba(184, 98, 63, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 166, 106, 0.35) 0%, transparent 55%);
  mix-blend-mode: overlay;
  opacity: 0.7;
  animation: hero-breath 12s ease-in-out infinite alternate;
}

@keyframes hero-breath {
  0%   { opacity: 0.5; transform: scale(1) translate(0, 0); }
  100% { opacity: 0.85; transform: scale(1.06) translate(-2%, 2%); }
}

/* ============================================================
   M2. "3 PILARES" BAND (right after home hero)
   ============================================================ */
.pillars-band {
  padding: var(--s-7) 0 var(--s-6);
  background: linear-gradient(180deg, var(--cream) 0%, var(--champagne) 100%);
  position: relative;
  z-index: 5;
}

.pillars-band .container { max-width: 1080px; }

.pillars-eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: var(--s-3);
}

.pillars-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--s-6);
}

.pillars-heading em { font-style: italic; color: var(--terracotta-deep); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-6) var(--s-5);
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--ink);
  transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 360ms ease,
              border-color 360ms ease;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pillar-tint, radial-gradient(circle at 50% 100%, rgba(201, 166, 106, 0.18), transparent 60%));
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}

.pillar-card:hover,
.pillar-card:active {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(58, 42, 32, 0.16);
  border-color: var(--gold);
}

.pillar-card:hover::before { opacity: 1; }

.pillar-1 { --pillar-tint: radial-gradient(circle at 50% 100%, rgba(184, 98, 63, 0.22), transparent 65%); }
.pillar-2 { --pillar-tint: radial-gradient(circle at 50% 100%, rgba(201, 166, 106, 0.22), transparent 65%); }
.pillar-3 { --pillar-tint: radial-gradient(circle at 50% 100%, rgba(232, 196, 176, 0.32), transparent 65%); }

.pillar-icon {
  font-size: 48px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
  position: relative;
  z-index: 2;
  transition: transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08) rotate(-4deg);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.pillar-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: var(--s-3);
  max-width: 240px;
  position: relative;
  z-index: 2;
}

.pillar-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  transition: transform 280ms var(--ease-soft);
  position: relative;
  z-index: 2;
}

.pillar-arrow::after {
  content: "→";
  transition: transform 280ms var(--ease-soft);
  display: inline-block;
}

.pillar-card:hover .pillar-arrow::after { transform: translateX(6px); }

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .pillar-card { padding: var(--s-5); flex-direction: row; text-align: left; gap: var(--s-4); }
  .pillar-icon { width: 64px; height: 64px; font-size: 32px; margin-bottom: 0; flex-shrink: 0; }
  .pillar-card h3 { font-size: 18px; }
  .pillar-card p { font-size: 12px; max-width: none; }
  .pillar-arrow { font-size: 11px; }
}

@media (max-width: 480px) {
  .pillars-band { padding: var(--s-6) 0 var(--s-5); }
  .pillars-heading { font-size: 1.4rem; margin-bottom: var(--s-4); }
  .pillar-card { padding: var(--s-4); gap: var(--s-3); }
  .pillar-icon { width: 56px; height: 56px; font-size: 28px; }
}

/* ============================================================
   M3. PRICE COUNTERS (smooth count-up on view)
   ============================================================ */
.cp-price-anim {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: color 400ms ease, transform 400ms ease;
}

.cp-price-anim.counting {
  color: var(--gold-deep);
}

/* ============================================================
   M4. PRIMARY CTA — HALO GLOW + BOUNCING ARROW
   ============================================================ */
.btn-primary.btn-lg,
.lead-card .btn-primary,
.hero-actions .btn-primary {
  position: relative;
  isolation: isolate;
}

.btn-primary.btn-lg::before,
.lead-card .btn-primary::before,
.hero-actions .btn-primary::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(201, 166, 106, 0.55), transparent 70%);
  opacity: 0;
  z-index: -1;
  transition: opacity 360ms ease;
  pointer-events: none;
  animation: cta-halo 3s ease-in-out infinite;
}

.btn-primary.btn-lg:hover::before,
.lead-card .btn-primary:hover::before,
.hero-actions .btn-primary:hover::before {
  opacity: 1;
}

@keyframes cta-halo {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.08); }
}

/* Hero primary CTA gets a stronger glow */
.hero .btn-primary.btn-lg::before {
  inset: -12px;
  animation: cta-halo-strong 3.5s ease-in-out infinite;
}

@keyframes cta-halo-strong {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.95; transform: scale(1.12); }
}

/* Reduced motion: kill the halo pulse */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none !important; transform: scale(1.08) !important; }
  .hero::after { animation: none !important; opacity: 0.6; }
  .btn-primary::before { animation: none !important; }
}

/* ============================================================
   FIRST-SCROLL MAGIC PARTICLES (one-time delight)
   ============================================================ */
.first-scroll-burst {
  position: fixed;
  pointer-events: none;
  z-index: 9996;
  font-size: 28px;
  opacity: 0;
  animation: scroll-burst 1.6s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}

@keyframes scroll-burst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  20%  { opacity: 1; transform: translate(calc(-50% + var(--bx, 0px)), calc(-50% + var(--by, 0px))) scale(1.1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--bx, 0px) * 1.8), calc(-50% + var(--by, 0px) * 1.8 + 80px)) scale(0.6) rotate(var(--brot, 0deg)); }
}

/* Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-fab::before, .promo-banner,
  .calendar-urgency, .cal-day.almost-full::after,
  .proof-bar::after { animation: none !important; }
  .process-step { opacity: 1; transform: none; transition: none; }
  .booking-stepper, .compare-bar { transition: none; }
  .ken-burns, .hero::after, .first-scroll-burst { animation: none !important; }
  .pillar-card:hover { transform: none; }
}


/* ============================================================
   STICKY MOBILE CTA — píldora flotante glassmorphism
   ============================================================ */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  border-radius: 28px;
  background: rgba(245, 239, 230, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(184, 152, 92, 0.22);
  padding: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 32px -8px rgba(26, 20, 16, 0.25),
    0 4px 12px -4px rgba(26, 20, 16, 0.18);
  transform: translateY(calc(100% + 24px));
  transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 280ms ease;
  opacity: 0;
  pointer-events: none;
}
.sticky-mobile-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.sticky-mobile-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}
.sticky-mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease, filter 200ms;
  white-space: nowrap;
}
.sticky-mobile-cta a:active { transform: scale(0.96); }
.sticky-mobile-cta-wa {
  background: #25D366;
  color: #fff;
  flex: 0 0 auto;
  padding: 10px 16px;
  position: relative;
  overflow: visible;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.10),
    0 4px 10px rgba(37, 211, 102, 0.30);
}
/* Status "EN LÍNEA" — punto verde pulsante en la esquina superior derecha
   del botón de WhatsApp. Comunica "Carelis está disponible para responder". */
.sticky-mobile-cta-wa::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5FFF90;
  box-shadow:
    0 0 0 2px #FFFFFF,
    0 0 0 3px rgba(95, 255, 144, 0.45);
  animation: waOnlinePulse 1.9s ease-in-out infinite;
}
@keyframes waOnlinePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 2px #FFFFFF,
      0 0 0 3px rgba(95, 255, 144, 0.45);
  }
  50% {
    transform: scale(1.18);
    box-shadow:
      0 0 0 2px #FFFFFF,
      0 0 0 8px rgba(95, 255, 144, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-mobile-cta-wa::after { animation: none; }
}
.sticky-mobile-cta-wa::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.247-.694.247-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.sticky-mobile-cta-book {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(184, 152, 92, 0.30);
}
.sticky-mobile-cta-book::after {
  content: "→";
  font-size: 16px;
  font-weight: 400;
  transform: translateY(-1px);
  margin-left: 2px;
}
@media (min-width: 768px) {
  .sticky-mobile-cta { display: none !important; }
}
@media (max-width: 767px) {
  .sticky-mobile-cta { display: block; }
}

/* Próxima fecha disponible — micro-línea debajo de los 2 botones.
   Muestra "📅 Próxima fecha: Sábado 25 may · solo 2 cupos" para reducir
   la fricción de "¿cuándo puedo?" justo en el punto de decisión. */
.sticky-mobile-cta-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  transition: opacity 320ms ease 120ms;
}
.sticky-mobile-cta.visible .sticky-mobile-cta-date { opacity: 1; }
.sticky-mobile-cta-date .smcd-icon { font-size: 12px; flex-shrink: 0; }
.sticky-mobile-cta-date .smcd-text { white-space: nowrap; }
.sticky-mobile-cta-date strong {
  color: var(--ink);
  font-weight: 800;
}

/* Pantallas muy chicas (<360px): ocultar para no romper layout */
@media (max-width: 359px) {
  .sticky-mobile-cta-date { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-mobile-cta { transition: opacity 200ms ease; transform: translateY(0); }
  .sticky-mobile-cta:not(.visible) { opacity: 0; pointer-events: none; }
  .sticky-mobile-cta-date { transition: none; }
}

/* ============================================================
   ACTIVITY TOAST — social proof rotativo (FOMO sutil)
   Aparece bottom-left mobile, encima de la sticky CTA pill.
   Glass cream + borde dorado + avatar circular con inicial.
   ============================================================ */
.activity-toast {
  position: fixed;
  left: 12px;
  bottom: calc(105px + env(safe-area-inset-bottom));
  z-index: 89; /* debajo del bubble-nav y stick CTA */
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 290px;
  min-width: 240px;
  padding: 10px 36px 10px 10px;
  border-radius: 16px;
  background: rgba(245, 239, 230, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(184, 152, 92, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 12px 28px -8px rgba(26, 20, 16, 0.22),
    0 4px 10px -2px rgba(26, 20, 16, 0.14);
  opacity: 0;
  transform: translateY(8px) translateX(-6px) scale(0.96);
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  font-family: var(--font-body);
}
.activity-toast.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  pointer-events: all;
}

.at-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8DCC8 0%, #C9A86C 60%, #8B7340 100%);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 6px rgba(26, 20, 16, 0.18);
}

.at-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.at-line {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.at-line strong { font-weight: 700; }
.at-line .at-emoji { font-size: 13px; margin-right: 1px; }
.at-line .at-service {
  color: var(--gold-deep);
  font-weight: 600;
}

.at-time {
  font-size: 10px;
  color: var(--ink-faded);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.at-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(184, 152, 92, 0.2);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 1px 0;
  transition: background 180ms, transform 180ms;
}
.at-close:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.08);
}

/* Desktop: posicionar en bottom-left más alto (no compite con sticky CTA porque no existe) */
@media (min-width: 768px) {
  .activity-toast {
    left: 20px;
    bottom: 20px;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-toast { transition: opacity 200ms ease; transform: none; }
  .activity-toast:not(.visible) { opacity: 0; }
}
