/* =============================================
   #19 Wellness Spa — "Спокойствие и уход"
   Calm sage-green holistic cosmetology theme
   Font: Cormorant Garamond + Nunito Sans
   ============================================= */

:root {
  --t-bg: #F8FBF5;
  --t-bg-alt: #EEF4E6;
  --t-bg-dark: #2C3E2D;
  --t-text: #2C3E2D;
  --t-text-muted: #6B7D6C;
  --t-text-light: #9AAD9B;
  --t-accent: #7BA05B;
  --t-accent-hover: #6A8F4A;
  --t-accent-light: rgba(123, 160, 91, 0.12);
  --t-surface: #E8F0DE;
  --t-surface-warm: #F0F6E8;
  --t-border: #D4E0C8;
  --t-gold: #B8A44C;
  --t-font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --t-font-body: 'Nunito Sans', 'Nunito', system-ui, sans-serif;
  --t-radius: 1rem;
  --t-radius-lg: 1.5rem;
  --t-shadow-sm: 0 1px 3px rgba(44, 62, 45, 0.06);
  --t-shadow-md: 0 4px 16px rgba(44, 62, 45, 0.08);
  --t-shadow-lg: 0 8px 32px rgba(44, 62, 45, 0.10);
}

html { scroll-behavior: smooth; }

/* ---- Hero shimmer bg ---- */
@keyframes heroShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-bg {
  background: linear-gradient(135deg, #EEF4E6 0%, #DDE8D0 25%, #F0F6E8 50%, #D4E0C8 75%, #EEF4E6 100%);
  background-size: 400% 400%;
  animation: heroShimmer 12s ease infinite;
}

/* ---- Float anim ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---- Nav scrolled shadow ---- */
.nav-scrolled { box-shadow: 0 2px 20px rgba(123, 160, 91, 0.12); }

/* ---- Mobile menu overlay ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(248, 251, 245, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--t-text);
  text-decoration: none;
  font-family: var(--t-font-heading);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--t-accent); }

/* ---- 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;
}

/* ---- Price tab ---- */
.price-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid var(--t-border);
  background: transparent;
  color: var(--t-text-muted);
  font-size: 0.9rem;
}
.price-tab.active {
  background: var(--t-accent);
  border-color: var(--t-accent);
  color: #fff;
}

/* ---- Price row ---- */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--t-border);
}
.price-row:last-child { border-bottom: 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 overrides ---- */
.reviews-swiper .swiper-pagination-bullet-active {
  background: var(--t-accent) !important;
}
.portfolio-swiper .swiper-pagination-bullet-active {
  background: var(--t-accent) !important;
}

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

/* ---- 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) {
  /* Sticky CTA bar bottom */
  .mobile-cta-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    background: rgba(248, 251, 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;
  }

  /* Hide floating desktop buttons */
  .floating-cta { display: none !important; }

  /* Body padding for sticky bar */
  body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px)); }

  /* Price tab compact */
  .price-tab { padding: 0.4rem 1rem; font-size: 0.8rem; }

  /* FAQ smaller padding */
  .faq-item summary { padding: 0.875rem 1rem; font-size: 0.875rem; }
}

/* ==========================================
   SMALL SCREENS (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
  .price-tab { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
}
