/* =============================================
   Zen Flow — "Массаж и релакс"
   Warm earth tones, calm zen feel
   Font: Lora + Karla
   ============================================= */

:root {
  --t-bg: #FAF8F5;
  --t-bg-alt: #F0EBE3;
  --t-text: #3D3832;
  --t-text-muted: #8A8178;
  --t-accent: #8B7355;
  --t-accent-hover: #7A6344;
  --t-accent-light: rgba(139, 115, 85, 0.1);
  --t-surface: #EDE5DA;
  --t-border: #DDD5C8;
  --t-gold: #D4AF37;
  --t-font-heading: 'Lora', 'Georgia', serif;
  --t-font-body: 'Karla', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

/* ---- Hero calm nature ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-zen {
  background: linear-gradient(160deg, var(--t-surface) 0%, var(--t-bg) 50%, var(--t-bg-alt) 100%);
  position: relative;
  overflow: hidden;
}
.hero-zen::before {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(139,115,85,0.06), transparent 70%);
  pointer-events: none;
}

/* ---- Nav scrolled shadow ---- */
.nav-scrolled { box-shadow: 0 2px 20px rgba(139,115,85,0.12); }

/* ---- Section divider ---- */
.section-divider {
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: var(--t-accent);
  margin: 0 auto 1.5rem;
}

/* ---- Price popular badge ---- */
.price-popular {
  background: var(--t-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* ---- Duration pills ---- */
.duration-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--t-accent-light);
  color: var(--t-accent);
  border: 1px solid var(--t-border);
}

/* ---- Gift cert section ---- */
.gift-section {
  background: linear-gradient(135deg, var(--t-accent), var(--t-accent-hover));
  border-radius: 1.5rem;
  padding: 2rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.gift-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

/* ---- FAQ ---- */
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.75rem;
  transition: background 0.3s;
  min-height: 48px;
  font-size: 0.95rem;
}
.faq-item summary:hover { background: var(--t-surface); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-chevron {
  transition: transform 0.3s;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* ---- Swiper pagination ---- */
.reviews-swiper .swiper-pagination-bullet-active {
  background: var(--t-accent) !important;
}
.portfolio-swiper .swiper-pagination-bullet-active {
  background: var(--t-accent) !important;
}

/* ---- Guarantee ---- */
.guarantee-banner::before {
  content: '\2713';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  color: var(--t-accent);
  opacity: 0.08;
  font-weight: 900;
}

/* ---- Floating desktop CTA ---- */
.floating-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.floating-cta a:hover { transform: scale(1.1); }

/* ==========================================
   MOBILE (max-width: 767px)
   ========================================== */
@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    background: rgba(250,248,245,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.625rem 0.75rem;
    padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
    gap: 0.5rem;
    border-top: 1px solid var(--t-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  }
  .mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  .floating-cta { display: none !important; }
  body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px)); }
  .guarantee-banner::before { font-size: 5rem; }
  .faq-item summary { padding: 0.875rem 1rem; font-size: 0.875rem; }
  .duration-pill { font-size: 0.65rem; padding: 0.15rem 0.5rem; }
}

/* ==========================================
   SMALL SCREENS (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
  .duration-pill { font-size: 0.6rem; padding: 0.125rem 0.4rem; }
}
