/* =====================================================
   NeoEstetika — главная таблица стилей
   Дизайн: Apple Liquid Glass, минимализм, премиум
   Цвета: лиловая/фиолетовая палитра
   ===================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Акцентные цвета — лиловый/фиолетовый */
  --accent: #9b6aa6;
  --accent-hover: #7a4f85;
  --accent-light: #b687bd;
  --accent-soft: rgba(155, 106, 166, 0.12);
  --accent-glow: rgba(155, 106, 166, 0.22);

  /* Фоны */
  --bg: #ffffff;
  --bg-warm: #faf8fb;
  --bg-section: #f5f1f8;
  --bg-section-alt: #f8f5fc;

  /* Текст */
  --text: #1a1520;
  --text-secondary: #6a6070;
  --text-light: #9590a0;
  --text-inverse: #ffffff;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-shadow: 0 8px 40px rgba(100, 60, 130, 0.09), inset 0 1px 0 rgba(255,255,255,0.95);

  /* Cards */
  --card-shadow: 0 2px 24px rgba(100, 60, 130, 0.06);
  --card-hover-shadow: 0 8px 48px rgba(100, 60, 130, 0.14);

  /* Типографика */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Радиусы */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Анимации */
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Лейаут */
  --max-w: 1200px;
  --col-gap: 24px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== КОНТЕЙНЕР ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ШАПКА ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(200%) blur(28px);
  -webkit-backdrop-filter: saturate(200%) blur(28px);
  border-bottom: 1px solid rgba(155, 106, 166, 0.12);
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: 0 2px 24px rgba(100, 60, 130, 0.1); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo span { color: var(--accent); }
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: -2px;
}

/* Навигация */
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--t);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--accent); }
.nav a.active::after { transform: scaleX(1); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  letter-spacing: -0.01em;
}
.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(155, 106, 166, 0.38);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-cta--outline:hover {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-cta--large {
  font-size: 16px;
  padding: 14px 32px;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  padding-top: 72px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #faf8fb 0%, #f0ebf5 40%, #e8e0f0 100%);
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,106,166,0.14) 0%, transparent 70%);
  top: -150px; right: -150px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,135,189,0.10) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 6px 16px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero__sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 460px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(155,106,166,0.15);
}
.hero__stat-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.hero__stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

/* Hero иллюстрация */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__visual-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 36px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* ===== СЕКЦИИ ===== */
section { padding: 88px 0; }
.section--alt { background: var(--bg-section); }
.section--alt2 { background: var(--bg-section-alt); }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 40px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}
.section-header { margin-bottom: 52px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ===== КАРТОЧКИ УСЛУГ ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
}
.service-card {
  background: var(--bg);
  border: 1px solid rgba(155,106,166,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  cursor: pointer;
  display: block;
}
.service-card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-3px);
  border-color: rgba(155,106,166,0.28);
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.service-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}
.service-card__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 12px;
  opacity: 0;
  transition: opacity var(--t);
}
.service-card:hover .service-card__arrow { opacity: 1; }

/* ===== СТРАНИЦА ПРОЦЕДУРЫ ===== */
.procedure-hero {
  padding-top: 72px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #faf8fb 0%, #ede6f3 100%);
}
.procedure-hero .container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--t); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--text-light); }
.procedure-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.procedure-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
}

/* Price card */
.price-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 32px;
  position: sticky;
  top: 88px;
}
.price-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.price-card__amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 4px;
}
.price-card__note {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.price-card .btn-cta { width: 100%; margin-bottom: 12px; }
.price-card__consult {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}
.price-card__consult a { color: var(--accent); }
.price-card__features { margin-top: 24px; border-top: 1px solid rgba(155,106,166,0.12); padding-top: 20px; }
.price-card__feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.price-card__feature::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  background: var(--accent-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L9 1' stroke='%239b6aa6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* ===== ШАГИ ПРОЦЕДУРЫ ===== */
.steps { counter-reset: step; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step {
  counter-increment: step;
  background: var(--bg);
  border: 1px solid rgba(155,106,166,0.1);
  border-radius: var(--radius-sm);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -10px; right: 16px;
  font-size: 72px;
  font-weight: 900;
  color: var(--accent-soft);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(155,106,166,0.12);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid rgba(155,106,166,0.12); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t), background var(--t);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
}
.faq-icon svg { width: 14px; height: 14px; stroke: var(--accent); }
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 20px; }

/* ===== ОТЗЫВЫ ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg);
  border: 1px solid rgba(155,106,166,0.1);
  border-radius: var(--radius);
  padding: 28px;
}
.review-stars { color: #f0b429; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.review-name { font-size: 14px; font-weight: 600; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-light); }

/* ===== ВРАЧИ ===== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.doctor-card {
  background: var(--bg);
  border: 1px solid rgba(155,106,166,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.doctor-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-3px); }
.doctor-photo {
  height: 260px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.doctor-info { padding: 24px; }
.doctor-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.doctor-role { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 12px; }
.doctor-spec { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ===== БЛОГ ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg);
  border: 1px solid rgba(155,106,166,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-3px); }
.blog-card__img {
  height: 200px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.blog-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text);
  flex: 1;
}
.blog-card__excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 16px; }
.blog-card__meta { font-size: 12px; color: var(--text-light); display: flex; gap: 12px; }

/* ===== СТАТЬЯ БЛОГА ===== */
.article-hero {
  padding-top: 72px;
  padding-bottom: 48px;
  background: linear-gradient(135deg, #faf8fb 0%, #ede6f3 100%);
}
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  color: var(--text);
}
.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}
.article-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 16px 0 20px 20px; }
.article-content li { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }
.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  margin: 40px 0;
}
.article-author__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.article-author__name { font-size: 15px; font-weight: 600; }
.article-author__role { font-size: 13px; color: var(--text-light); }
.article-date { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }

/* ===== КОНТАКТЫ ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--accent); }
.contact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 4px; }
.contact-value { font-size: 16px; font-weight: 500; color: var(--text); }
.contact-value a { color: var(--text); transition: color var(--t); }
.contact-value a:hover { color: var(--accent); }

/* Карта */
.map-placeholder {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-section);
  border: 1px solid rgba(155,106,166,0.1);
}

/* ===== МОДАЛКА ЗАПИСИ ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(100, 60, 130, 0.2);
  width: 100%;
  max-width: 480px;
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-section);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.modal__close:hover { background: rgba(155,106,166,0.15); }
.modal h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.modal p { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(155,106,166,0.2);
  border-radius: var(--radius-xs);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-privacy { font-size: 12px; color: var(--text-light); margin: 16px 0 20px; text-align: center; }
.form-privacy a { color: var(--accent); }

/* ===== WHATSAPP BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== ПОКАЗАНИЯ / ПРОТИВОПОКАЗАНИЯ ===== */
.indications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.indications-box {
  border-radius: var(--radius-sm);
  padding: 28px;
}
.indications-box--green { background: rgba(76, 175, 80, 0.06); border: 1px solid rgba(76,175,80,0.15); }
.indications-box--red { background: rgba(244, 67, 54, 0.05); border: 1px solid rgba(244,67,54,0.12); }
.indications-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.indications-box--green h3 { color: #2e7d32; }
.indications-box--red h3 { color: #c62828; }
.indications-box li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.indications-box li:last-child { border-bottom: none; }

/* ===== ПОДВАЛ ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .logo { color: #fff; margin-bottom: 14px; display: block; }
.footer__brand .logo small { color: rgba(255,255,255,0.4); }
.footer__desc { font-size: 14px; line-height: 1.65; max-width: 280px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.footer__social a:hover { background: var(--accent); }
.footer__social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.75); }
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--t);
}
.footer a:hover { color: rgba(255,255,255,1); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer__legal { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer__legal a { color: rgba(255,255,255,0.4); display: inline; margin: 0 8px; }
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
  max-width: calc(var(--max-w) - 48px);
  margin-left: auto;
  margin-right: auto;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.cta-banner p { font-size: 17px; opacity: 0.88; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-cta { background: #fff; color: var(--accent); }
.cta-banner .btn-cta:hover { background: rgba(255,255,255,0.9); box-shadow: none; }

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid rgba(155,106,166,0.1);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn-cta { width: 100%; margin-top: 20px; justify-content: center; font-size: 16px; padding: 14px; }

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .hero__visual-card { max-width: 100%; }
  .hero h1 { font-size: 36px; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
  .nav { display: none; }
  .nav-desktop-cta { display: none; }
  .burger { display: flex; }
  .procedure-hero .container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .indications-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; margin: 0; border-radius: 0; max-width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .modal { padding: 28px 20px; }
  .price-card { position: static; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
}

/* ===== УТИЛИТЫ ===== */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.w-full { width: 100%; }
.pt-72 { padding-top: 72px; }

/* ===== АНИМАЦИИ ПОЯВЛЕНИЯ ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== SVG PLACEHOLDER ===== */
.svg-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
}
