/* =====================================================================
   Altyn Therapy — Conversion enhancements
   - Video testimonials section (mobile-first, Reels-friendly)
   - Sticky mobile bottom CTA bar
   ===================================================================== */

/* ---------- TESTIMONIAL SECTION ----------------------------------- */
.altyn-vt {
  position: relative;
  padding: 80px 0 96px;
  background: linear-gradient(180deg, #ffffff 0%, #FBF1F3 50%, #F5E0E3 100%);
  overflow: hidden;
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
}

.altyn-vt__head {
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 0 24px;
  text-align: center;
}

.altyn-vt__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6B2D3E;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.85;
}

.altyn-vt__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.15;
  font-weight: 500;
  color: #2D1A20;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.altyn-vt__title em {
  font-style: italic;
  font-weight: 400;
  color: #6B2D3E;
}

.altyn-vt__sub {
  font-size: 15px;
  line-height: 1.6;
  color: #6B5560;
  margin: 0;
  font-weight: 400;
}

/* Track / Carousel */
.altyn-vt__track-wrap {
  position: relative;
}

.altyn-vt__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 24px 28px;
  scrollbar-width: none;
}

.altyn-vt__track::-webkit-scrollbar { display: none; }

.altyn-vt__card {
  flex: 0 0 auto;
  width: min(78vw, 280px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  cursor: pointer;
  background: #1a1014;
  box-shadow: 0 18px 42px -16px rgba(107, 45, 62, 0.35), 0 6px 16px -8px rgba(107, 45, 62, 0.18);
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  display: block;
}

.altyn-vt__card:hover,
.altyn-vt__card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px -16px rgba(107, 45, 62, 0.45), 0 8px 20px -8px rgba(107, 45, 62, 0.22);
  outline: none;
}

.altyn-vt__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.6s ease;
}

.altyn-vt__card:hover .altyn-vt__poster { transform: scale(1.04); }

.altyn-vt__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,15,20,0.05) 0%, rgba(28,15,20,0.15) 50%, rgba(28,15,20,0.78) 100%);
  pointer-events: none;
}

.altyn-vt__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, background 0.3s ease;
}

.altyn-vt__card:hover .altyn-vt__play { transform: scale(1.08); background: #fff; }

.altyn-vt__play::after {
  content: '';
  display: block;
  width: 0; height: 0;
  margin-left: 4px;
  border-left: 16px solid #6B2D3E;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.altyn-vt__meta {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  color: #fff;
  text-align: left;
  pointer-events: none;
}

.altyn-vt__label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  font-weight: 600;
}

.altyn-vt__caption {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.altyn-vt__duration {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}

/* Tablet: bigger cards, peeking */
@media (min-width: 640px) {
  .altyn-vt__card { width: 260px; }
  .altyn-vt__track { gap: 18px; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}

/* Desktop: grid */
@media (min-width: 1024px) {
  .altyn-vt { padding: 110px 0 130px; }
  .altyn-vt__head { margin-bottom: 48px; }
  .altyn-vt__track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    overflow: visible;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 32px 32px;
  }
  .altyn-vt__card { width: 100%; }
}

/* Hint dots (mobile only) */
.altyn-vt__hint {
  text-align: center;
  font-size: 12px;
  color: #9A7A83;
  margin-top: -4px;
  letter-spacing: 0.08em;
}
@media (min-width: 1024px) {
  .altyn-vt__hint { display: none; }
}

/* CTA under videos */
.altyn-vt__cta-wrap {
  text-align: center;
  margin-top: 36px;
  padding: 0 24px;
}
.altyn-vt__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6B2D3E;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 10px 28px -8px rgba(107, 45, 62, 0.5);
  font-family: inherit;
}
.altyn-vt__cta:hover {
  background: #5A2434;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(107, 45, 62, 0.6);
}
.altyn-vt__cta-note {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #6B5560;
}

/* ---------- VIDEO MODAL --------------------------------------------- */
.altyn-vt-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.altyn-vt-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.altyn-vt-modal__inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.altyn-vt-modal--open .altyn-vt-modal__inner { transform: scale(1); }

.altyn-vt-modal__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  background: #000;
}

.altyn-vt-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.altyn-vt-modal__close:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.05);
}

.altyn-vt-modal__cta {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.altyn-vt-modal__cta a {
  flex: 1;
  text-align: center;
  padding: 12px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  font-family: 'Raleway', sans-serif;
}
.altyn-vt-modal__cta a.primary {
  background: #fff;
  color: #6B2D3E;
}
.altyn-vt-modal__cta a.primary:hover { background: #FBF1F3; transform: translateY(-1px); }
.altyn-vt-modal__cta a.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.altyn-vt-modal__cta a.secondary:hover { background: rgba(255, 255, 255, 0.26); }

/* lock body scroll */
body.altyn-vt-locked {
  overflow: hidden;
}

/* ---------- STICKY MOBILE BOTTOM CTA BAR ---------------------------- */
.altyn-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom)) 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(107, 45, 62, 0.10);
  box-shadow: 0 -4px 20px -8px rgba(107, 45, 62, 0.20);
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: 'Raleway', sans-serif;
}
.altyn-sticky-cta--visible {
  transform: translateY(0);
}
.altyn-sticky-cta a {
  flex: 1;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.altyn-sticky-cta a:active { transform: scale(0.97); }
.altyn-sticky-cta a.primary {
  flex: 1.7;
  background: #6B2D3E;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(107, 45, 62, 0.55);
}
.altyn-sticky-cta a.wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.55);
}
.altyn-sticky-cta a.tg {
  background: rgba(107, 45, 62, 0.08);
  color: #6B2D3E;
  border: 1px solid rgba(107, 45, 62, 0.18);
}
.altyn-sticky-cta svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .altyn-sticky-cta { display: none; }
}

/* Add bottom padding to body when sticky bar is visible so content isn't hidden */
body.altyn-sticky-pad {
  padding-bottom: 76px;
}
@media (min-width: 1024px) {
  body.altyn-sticky-pad { padding-bottom: 0; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .altyn-vt__card, .altyn-vt__cta, .altyn-vt-modal, .altyn-vt-modal__inner,
  .altyn-sticky-cta, .altyn-vt__poster {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- HERO PRICE BADGE (10$) -------------------------------- */
.altyn-price-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
  margin: 0 0 18px;
  padding: 12px 18px 13px;
  background: linear-gradient(135deg, #FBF6EE 0%, #F4E6CF 100%);
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 6px 22px -10px rgba(107, 45, 62, 0.28),
    0 2px 6px -2px rgba(45, 26, 32, 0.12);
  color: #2D1A20;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  max-width: 100%;
}
.altyn-price-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(201, 169, 110, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.altyn-price-badge:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 12px 28px -10px rgba(107, 45, 62, 0.32),
    0 4px 10px -2px rgba(45, 26, 32, 0.16);
}
.altyn-price-badge__row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.altyn-price-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9A96E;
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.18);
  flex-shrink: 0;
}
.altyn-price-badge__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #2D1A20;
  line-height: 1.2;
}
.altyn-price-badge__price {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: #6B2D3E;
  letter-spacing: 0.01em;
  margin-left: 2px;
  padding: 2px 9px;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(107, 45, 62, 0.18);
  white-space: nowrap;
}
.altyn-price-badge__note {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(45, 26, 32, 0.7);
  font-weight: 400;
  letter-spacing: 0.005em;
  position: relative;
  z-index: 1;
}
@media (max-width: 420px) {
  .altyn-price-badge { padding: 11px 14px 12px; border-radius: 12px; }
  .altyn-price-badge__title { font-size: 14.5px; }
  .altyn-price-badge__price { font-size: 15.5px; padding: 2px 8px; }
  .altyn-price-badge__note  { font-size: 11.5px; }
}

/* Sticky bar — single full-width button variant */
.altyn-sticky-cta a.primary--full {
  flex: 1 1 auto;
  width: 100%;
  justify-content: center;
}
