/* ===== YOGAMATIC — Главный CSS ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #CA2C92;
  --accent: #FBA0E3;
  --highlight: #FF00FF;
  --primary-dark: #9a2070;
  --primary-light: #f5c6e8;
  --bg: #fdf9fc;
  --bg-alt: #fff5fb;
  --text: #1a1a2e;
  --text-muted: #6b6b8a;
  --text-light: #a0a0b8;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(202, 44, 146, 0.12);
  --shadow-hover: 0 8px 40px rgba(202, 44, 146, 0.22);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
  --header-h: 70px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

button, input, select, textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
}

/* ===== UTILITIES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  position: relative;
}

.section-title span { color: var(--primary); }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(202, 44, 146, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(202, 44, 146, 0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary), var(--highlight));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 0, 255, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(255, 0, 255, 0.45);
  color: var(--white);
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(253, 249, 252, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(202, 44, 146, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(202, 44, 146, 0.1);
  background: rgba(253, 249, 252, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo svg { width: 36px; height: 36px; }

nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: right;
}

nav.main-nav a:hover { color: var(--primary); }
nav.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { margin-left: 16px; }

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #fdf9fc 0%, #fff0fa 40%, #fce8ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-bg-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent), transparent);
  top: -200px; right: -100px;
}

.hero-bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--highlight), transparent);
  bottom: -100px; left: -100px;
  opacity: 0.15;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(202, 44, 146, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(202, 44, 146, 0.15);
}

.hero-tag span { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse-dot 2s infinite; }

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

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); }

.hero-image {
  position: relative;
}

.hero-image-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(202, 44, 146, 0.25);
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrap:hover img { transform: scale(1.03); }

.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.hero-badge.b1 { bottom: 24px; left: -20px; }
.hero-badge.b2 { top: 24px; right: -20px; }

.hero-badge .icon { font-size: 1.4rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-badge.b2 { animation-delay: 1.5s; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== BLOCK 1: STEP-BY-STEP MAP + MINI PRICES + FORM ===== */
#how-it-works {
  background: linear-gradient(180deg, #fff5fb 0%, #fdf9fc 100%);
}

.steps-title-area { text-align: center; margin-bottom: 60px; }

.steps-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 80px;
  padding: 0 24px;
}

.steps-track::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(10% + 40px);
  right: calc(10% + 40px);
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  z-index: 0;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(202,44,146,0.18);
  transition: all var(--transition);
  position: relative;
}

.step-circle::after {
  content: attr(data-num);
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

.step-item:hover .step-circle {
  background: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(202,44,146,0.3);
}

.step-item:hover .step-circle { filter: invert(1) sepia(0) brightness(10); }

.step-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* MINI PRICE CARDS */
.mini-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.mini-price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mini-price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.mini-price-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.mini-price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fff0fa, #fff);
}

.mini-price-card.featured::after {
  content: '★ Популярный';
  position: absolute;
  top: 14px; right: 14px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
}

.mini-price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-weight: 500;
}

.mini-price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.mini-price-amount span { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 400; color: var(--text-muted); }

.mini-price-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* QUICK FORM */
.quick-form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(202,44,146,0.08);
  max-width: 720px;
  margin: 0 auto 36px;
}

.quick-form-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  text-align: center;
}

.quick-form-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field input, .form-field select, .form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(202,44,146,0.15);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(202,44,146,0.1);
  background: var(--white);
}

.form-submit { text-align: center; margin-top: 8px; }

.more-link {
  text-align: center;
}

/* ===== BLOCK 2: SLIDER / CAROUSEL ===== */
#gallery-slider { overflow: hidden; }

.slider-wrapper {
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.slide-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slide-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.slide-content { padding: 20px 0; }

.slide-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: rgba(202,44,146,0.1);
  line-height: 1;
  margin-bottom: -12px;
}

.slide-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.slide-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===== BLOCK 3: ACCORDION ===== */
#faq { background: var(--bg-alt); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.faq-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1.5px solid rgba(202,44,146,0.08);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.accordion-item:hover, .accordion-item.open {
  border-color: rgba(202,44,146,0.3);
  box-shadow: var(--shadow);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.accordion-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: color var(--transition);
}

.accordion-item.open .accordion-header h4 { color: var(--primary); }

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: all var(--transition);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
  border-color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-body.open {
  max-height: 500px;
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

/* ===== BLOCK 4: CIRCULAR ABOUT ===== */
#about { background: linear-gradient(135deg, #fff 0%, #fdf4fd 100%); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-circular {
  position: relative;
  width: 480px;
  height: 480px;
  margin: 0 auto;
}

.about-center-photo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 8px 40px rgba(202,44,146,0.25);
  z-index: 2;
}

.about-center-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(202,44,146,0.2);
  animation: spin-slow 30s linear infinite;
}

.about-ring-2 {
  inset: 40px;
  border: 2px dashed rgba(251,160,227,0.3);
  animation: spin-slow 20s linear infinite reverse;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-orbit-item {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  width: 130px;
  text-align: center;
  border: 1.5px solid rgba(202,44,146,0.1);
  font-size: 0.82rem;
  transition: all var(--transition);
  z-index: 3;
}

.about-orbit-item:hover {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.about-orbit-item .orbit-icon { font-size: 1.4rem; margin-bottom: 4px; }
.about-orbit-item .orbit-label { font-weight: 600; color: var(--text); font-size: 0.8rem; }
.about-orbit-item .orbit-sub { color: var(--text-muted); font-size: 0.72rem; margin-top: 2px; }

/* Positioning for orbital items */
.orbit-top    { top: -20px; left: 50%; transform: translateX(-50%); }
.orbit-right  { right: -15px; top: 50%; transform: translateY(-50%); }
.orbit-bottom { bottom: -20px; left: 50%; transform: translateX(-50%); }
.orbit-left   { left: -15px; top: 50%; transform: translateY(-50%); }
.orbit-tr     { top: 40px; right: 10px; }
.orbit-bl     { bottom: 40px; left: 10px; }

.about-text h2 { font-size: 2.4rem; margin-bottom: 20px; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-text h5 {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== BLOCK 5: TABLE — РАСПИСАНИЕ ===== */
#schedule { background: var(--bg-alt); }

.schedule-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table.yoga-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.93rem;
}

.yoga-table thead tr {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.yoga-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yoga-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(202,44,146,0.06);
  color: var(--text);
  vertical-align: middle;
}

.yoga-table tbody tr:hover { background: rgba(202,44,146,0.03); }
.yoga-table tbody tr:last-child td { border-bottom: none; }

.tag-beginner {
  display: inline-block;
  background: rgba(202,44,146,0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

.schedule-aside { padding-top: 20px; }

.schedule-note {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  margin-bottom: 24px;
}

.schedule-note h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.schedule-note p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ===== BLOCK 6: FULL PRICE CARDS ===== */
#prices { background: var(--bg); }

.prices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(202,44,146,0.2); }
.price-card:hover::before { transform: scaleX(1); }

.price-card.highlighted {
  background: linear-gradient(135deg, #fff0fa, #fce8ff);
  border-color: var(--primary);
}

.price-card.highlighted::before { transform: scaleX(1); }

.price-popular {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.price-icon { font-size: 2.2rem; margin-bottom: 16px; }

.price-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text);
}

.price-sessions {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.price-amount-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-features {
  flex: 1;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.price-btn { width: 100%; text-align: center; justify-content: center; }

/* ===== BLOCK 7: CALCULATOR ===== */
#calculator { background: linear-gradient(135deg, #fdf4fd 0%, #fff 100%); }

.calc-layout {
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center; */
}

.calc-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.calc-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.calc-box {
  background: var(--white);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 8px 48px rgba(202,44,146,0.12);
  border: 1.5px solid rgba(202,44,146,0.1);
}

.calc-box h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.calc-box .calc-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.calc-field { margin-bottom: 24px; }

.calc-field label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.calc-slider-wrap {
  position: relative;
}

.calc-slider {
  width: 100%;
  appearance: none;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(202,44,146,0.25);
  transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.calc-slider-value {
  text-align: right;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
  font-size: 1.1rem;
}

.calc-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calc-option {
  padding: 12px;
  border: 2px solid rgba(202,44,146,0.15);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  background: var(--bg);
  color: var(--text-muted);
}

.calc-option:hover { border-color: var(--accent); color: var(--primary); background: var(--white); }
.calc-option.selected { border-color: var(--primary); background: rgba(202,44,146,0.08); color: var(--primary); font-weight: 700; }

.calc-result {
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  color: var(--white);
  text-align: center;
}

.calc-result-label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-result-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.calc-result-note { font-size: 0.82rem; opacity: 0.75; }

/* ===== BLOCK 8: SELLING TEXT ===== */
#selling-text {
  background: linear-gradient(135deg, var(--primary) 0%, #7a1d5a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.selling-text-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.selling-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.selling-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.25;
}

.selling-inner .selling-lead {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 24px;
}

.selling-inner p {
  font-size: 1rem;
  opacity: 0.82;
  line-height: 1.85;
  margin-bottom: 20px;
}

.selling-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 40px 0;
}

.selling-pillar {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* ===== BLOCK 9: INFOGRAPHIC ===== */
#infographic { background: var(--bg-alt); }

.infographic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.info-card:hover {
  border-color: rgba(202,44,146,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.info-card:hover::before { transform: scaleX(1); }

.info-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-light), #f0d0ff);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.info-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-card-title {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px;
}

.info-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.infographic-bar-section {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.infographic-bar-section h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  text-align: center;
}

.progress-item { margin-bottom: 20px; }

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.progress-bar {
  height: 10px;
  background: rgba(202,44,146,0.1);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 5px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ===== BLOCK 10: PHOTO GALLERY ===== */
#photo-gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.85), transparent);
  color: var(--white);
  padding: 32px 16px 16px;
  font-size: 0.87rem;
  font-weight: 500;
  transform: translateY(0);
  transition: transform var(--transition);
}

.gallery-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  margin: 32px 0;
  border-radius: 2px;
}

/* ===== BLOCK 11: INTERACTIVE CARDS + POPUP ===== */
#yoga-focus { background: var(--bg-alt); }

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

.focus-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 24px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.focus-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(202,44,146,0.03), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.focus-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.focus-card:hover::after { opacity: 1; }

.focus-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: transform var(--transition);
}

.focus-card:hover .focus-card-icon { transform: scale(1.1) rotate(-5deg); }

.fc-color-1 { background: linear-gradient(135deg, #fce4f3, #f9c6e8); }
.fc-color-2 { background: linear-gradient(135deg, #e4f0ff, #c8e0ff); }
.fc-color-3 { background: linear-gradient(135deg, #e8ffe4, #c8f0c4); }
.fc-color-4 { background: linear-gradient(135deg, #fff4e4, #fde8c0); }
.fc-color-5 { background: linear-gradient(135deg, #f0e4ff, #e0c8ff); }
.fc-color-6 { background: linear-gradient(135deg, #ffe4ea, #ffc8d4); }

.focus-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
}

.focus-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.focus-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  border: 2px solid var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
}

.focus-card-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

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

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid rgba(202,44,146,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.modal-close:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.modal-icon { font-size: 2.5rem; margin-bottom: 12px; }

.modal h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.modal .form-field { margin-bottom: 16px; }

.modal-radio-group { display: flex; flex-direction: column; gap: 10px; }

.modal-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid rgba(202,44,146,0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
}

.modal-radio-option:hover { border-color: var(--accent); background: rgba(202,44,146,0.03); }
.modal-radio-option.selected { border-color: var(--primary); background: rgba(202,44,146,0.07); }

.modal-radio-option input[type="radio"] { accent-color: var(--primary); }

/* ===== REVIEWS ===== */
#reviews { background: var(--bg); }

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

.review-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1.5px solid rgba(202,44,146,0.06);
  transition: all var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(202,44,146,0.2);
}

.review-quote {
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 12px;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.review-name { font-weight: 600; font-size: 0.95rem; }
.review-city { font-size: 0.82rem; color: var(--text-muted); }

.review-stars {
  margin-left: auto;
  color: #f0a500;
  font-size: 0.9rem;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  background: var(--white);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.15);
  z-index: 3000;
  border: 1.5px solid rgba(202,44,146,0.1);
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}

#cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cookie-text { flex: 1; }
.cookie-text h4 { font-size: 1rem; font-family: 'Inter', sans-serif; margin-bottom: 6px; font-weight: 700; }
.cookie-text p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.cookie-text a { color: var(--primary); font-size: 0.84rem; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.cookie-btn-accept {
  background: var(--primary);
  color: var(--white);
}

.cookie-btn-accept:hover { background: var(--primary-dark); }

.cookie-btn-minimal {
  background: transparent;
  border-color: var(--accent);
  color: var(--primary);
}

.cookie-btn-minimal:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.cookie-btn-settings {
  background: transparent;
  color: var(--text-muted);
  text-decoration: underline;
  font-size: 0.82rem;
  border: none;
}

/* ===== FOOTER ===== */
#site-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1a3e 100%);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo { color: var(--accent); margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-legal-links a:hover { color: var(--accent); }

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(253,249,252,0.98);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text);
  font-weight: 700;
}

.mobile-nav a:hover { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .prices-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .infographic-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .burger { display: flex; }
  
  .hero-grid,
  .faq-grid,
  .about-layout,
  .schedule-layout,
  .calc-layout { grid-template-columns: 1fr; }
  
  .faq-image { display: none; }
  
  .about-circular { width: 340px; height: 340px; }
  .about-center-photo { width: 140px; height: 140px; }
  .about-orbit-item { width: 100px; font-size: 0.75rem; padding: 8px 10px; }
  
  .slide-inner { grid-template-columns: 1fr; }
  .slide-image img { height: 260px; }
  
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  
  .section { padding: 60px 0; }
  
  .hero-image { display: none; }
  
  .steps-track { flex-direction: column; align-items: center; gap: 24px; }
  .steps-track::before { display: none; }
  
  .mini-prices { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .prices-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .infographic-grid { grid-template-columns: 1fr; }
  
  .about-layout { gap: 40px; }
  .about-circular { width: 300px; height: 300px; }
  .about-center-photo { width: 120px; height: 120px; }
  
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; text-align: center; }
  
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; justify-content: center; }
  
  .modal { padding: 24px; }
  
  #site-footer { padding: 50px 0 20px; }
  
  .calc-box { padding: 28px 20px; }
  .calc-select-grid { grid-template-columns: 1fr; }
  
  .hero-badge { display: none; }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding-top: calc(var(--header-h) + 40px);
  min-height: 80vh;
}

.legal-hero {
  background: linear-gradient(135deg, #fff0fa, #fce8ff);
  padding: 60px 0;
  margin-bottom: 60px;
}

.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal-hero p { color: var(--text-muted); }

.legal-content { max-width: 800px; margin: 0 auto; padding-bottom: 80px; }

.legal-content h2 {
  font-size: 1.4rem;
  margin: 36px 0 16px;
  color: var(--primary);
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul { padding-left: 20px; list-style: disc; }

/* ===== THANKS PAGE ===== */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdf9fc, #fff0fa);
  padding-top: var(--header-h);
}

.thanks-box {
  text-align: center;
  max-width: 560px;
  padding: 60px 40px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 12px 60px rgba(202,44,146,0.15);
}

.thanks-icon { font-size: 4rem; margin-bottom: 24px; animation: bounceIn 0.7s cubic-bezier(0.4,0,0.2,1); }

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.thanks-box h1 { font-size: 2.2rem; margin-bottom: 16px; color: var(--primary); }
.thanks-box p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.75; }

/* ===== SCROLL TO TOP ===== */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 800;
  box-shadow: 0 4px 16px rgba(202,44,146,0.35);
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
