@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

/* --- Дизайн-система --- */
:root {
  --primary-color: #1e3d59;      /* Глубокий синий для контраста и доверия */
  --primary-light: #4b86b4;     /* Мягкий голубой для акцентов и вторичного текста */
  --secondary-color: #ffc107;   /* Мягкий золотистый для теплых акцентов */
  --accent-color: #00adb5;      /* Бирюзово-голубой для кнопок и ссылок */
  --accent-hover: #008f95;      /* Темный бирюзовый для ховеров */
  
  --bg-main: #f0f7fc;           /* Светло-голубой основной фон */
  --bg-gradient: linear-gradient(135deg, #f0f7fc 0%, #e0effa 100%);
  --bg-card: rgba(255, 255, 255, 0.75); /* Полупрозрачный белый для glassmorphism */
  
  --text-dark: #17252a;         /* Очень темный синий для читаемости */
  --text-muted: #5a6b7c;        /* Спокойный серый с синим подтоном */
  --text-light: #ffffff;        /* Белый для темных фонов */
  
  --border-color: rgba(75, 134, 180, 0.15);
  --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --shadow-hover: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-title: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --container-width: 1200px;
}

/* --- Сброс стилей --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Фоновые декоративные сферы (Blobs) --- */
.bg-blob {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
  transition: all 1s ease-in-out;
}
.bg-blob-1 {
  background: radial-gradient(circle, rgba(0, 173, 181, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  top: -10%;
  left: -10%;
  animation: float-blob-1 25s infinite alternate;
}
.bg-blob-2 {
  background: radial-gradient(circle, rgba(75, 134, 180, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: 10%;
  right: -10%;
  animation: float-blob-2 30s infinite alternate;
}
.bg-blob-3 {
  background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  top: 40%;
  left: 30%;
  animation: float-blob-3 20s infinite alternate;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 50px) scale(1.1); }
  100% { transform: translate(-40px, 90px) scale(0.9); }
}
@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, -60px) scale(0.95); }
  100% { transform: translate(50px, 40px) scale(1.05); }
}
@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -90px) scale(1.15); }
  100% { transform: translate(-70px, 50px) scale(0.85); }
}

/* --- Вспомогательные классы и разметка --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 100px 0;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 15px auto 0 auto;
  border-radius: var(--radius-pill);
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* Эффект стекла (Glassmorphism) */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-light);
  border-radius: var(--radius-md);
}

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 173, 181, 0.2);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 173, 181, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-light);
  color: var(--primary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: rgba(75, 134, 180, 0.08);
  transform: translateY(-2px);
}

/* --- Шапка (Header) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(240, 247, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-light);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-color);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition-normal);
  border-radius: var(--radius-pill);
}

/* --- Главный экран (Hero) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 193, 7, 0.12);
  color: #c48c02;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 193, 7, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-title span {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 35px;
  color: var(--text-muted);
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ff9800;
  background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 95%;
  height: 95%;
  background: linear-gradient(135deg, rgba(0, 173, 181, 0.3) 0%, rgba(75, 134, 180, 0.2) 100%);
  z-index: 1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 12s ease-in-out infinite alternate, pulse 8s infinite alternate;
  filter: blur(8px);
}

.hero-img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(31, 38, 135, 0.15);
  border: 6px solid var(--text-light);
  width: 90%;
  max-width: 400px;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.hero-img:hover {
  transform: translateY(-5px) scale(1.02);
}

@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
  100% { border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%; }
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.05); opacity: 0.9; }
}

/* --- С чем я помогаю (Запросы) --- */
.services-intro {
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.intro-quote {
  padding: 30px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  position: relative;
  text-align: left;
  border-left: 4px solid var(--primary-color);
  background: rgba(30, 61, 89, 0.03);
}

.intro-quote p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.services-intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: left;
}

.services-intro-text:last-of-type {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.service-card {
  padding: 35px 30px;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 173, 181, 0.1), var(--shadow-hover);
  border-color: rgba(0, 173, 181, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-color);
  transition: var(--transition-normal);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  background: rgba(0, 173, 181, 0.08);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--primary-color);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Блок решений */
.services-solutions {
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}

.solutions-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.solution-card {
  display: flex;
  gap: 20px;
  padding: 30px;
  border-radius: var(--radius-lg);
  align-items: flex-start;
  transition: var(--transition-normal);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 173, 181, 0.08), var(--shadow-hover);
  border-color: rgba(0, 173, 181, 0.3);
  background: rgba(255, 255, 255, 0.85);
}

.solution-icon-box {
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 173, 181, 0.2);
}

.solution-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.solution-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.solutions-footer-note {
  max-width: 800px;
  margin: 50px auto 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 500;
}

/* --- Обо мне (About) --- */
/* --- Обо мне (About) --- */
.about {
  background-color: rgba(255, 255, 255, 0.4);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  border: 8px solid var(--text-light);
}

.about-img-frame img {
  width: 100%;
  aspect-ratio: 0.85;
  object-fit: cover;
}

.about-img-decorator {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-left: 6px solid var(--accent-color);
  border-top: 6px solid var(--accent-color);
  z-index: 1;
  border-top-left-radius: var(--radius-md);
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  z-index: 3;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 220, 0.95) 100%);
  border: 1px solid rgba(255, 193, 7, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
}

.badge-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-text {
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.about-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.about-buttons .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: none;
}

.about-credo {
  padding: 20px 25px;
  border-left: 4px solid var(--accent-color);
  background: rgba(0, 173, 181, 0.05);
  font-style: italic;
  font-size: 1.05rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 30px;
}

/* --- Модальные окна (Modals) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 61, 89, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  background: linear-gradient(145deg, #faf5ec 0%, #fffdfa 100%);
  border: 1px solid rgba(220, 205, 185, 0.4);
  box-shadow: 0 20px 50px rgba(31, 38, 135, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transform: translateY(-30px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-light);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.modal-header h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-right: 30px;
}

.modal-header h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  margin-top: 10px;
  border-radius: var(--radius-pill);
}

.modal-body {
  color: var(--text-dark);
}

.modal-intro {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-outro {
  font-size: 1.05rem;
  margin-top: 25px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Модальные цитаты родителей */
.modal-quotes-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.modal-quote-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 25px;
  position: relative;
}

.quote-symbol {
  position: absolute;
  top: 5px;
  left: 15px;
  font-size: 3rem;
  font-family: serif;
  color: rgba(0, 173, 181, 0.1);
  line-height: 1;
}

.modal-quote-card p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 0.98rem;
}

/* Модальные списки и элементы действий */
.modal-feature-title {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
  padding-left: 0;
}

.modal-list.compact {
  gap: 8px;
  margin-bottom: 30px;
}

.modal-list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.5;
}

.modal-list-item.compact {
  font-size: 0.95rem;
}

.modal-list-item .bullet {
  color: var(--accent-color);
  font-weight: bold;
}

.modal-action-box {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.modal-action-box p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-color);
}

.modal-action-box .btn {
  width: 100%;
  max-width: 300px;
  display: inline-flex;
}

/* Модальные детали методов */
.modal-method-section + .modal-method-section {
  margin-top: 25px;
}

.modal-method-section h4 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.modal-method-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.modal-method-section p:last-child {
  margin-bottom: 0;
}

.modal-highlight {
  font-weight: 600;
  color: var(--primary-color) !important;
}

.modal-note {
  margin-bottom: 25px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-muted);
}

/* Шкала образования */
.education-timeline {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  padding-left: 20px;
}

.education-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 4px;
  width: 2px;
  height: calc(100% - 20px);
  background: var(--border-color);
}

.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
}

.timeline-badge {
  position: absolute;
  left: -28px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 3px solid var(--bg-main);
  box-shadow: var(--shadow-light);
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 700;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- Как проходит работа (Process) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  margin-top: 80px;
}

.process-item {
  padding: 40px 30px;
  position: relative;
  text-align: center;
  border-radius: var(--radius-md);
  height: 100%;
}

.process-num {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-light);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 4px solid var(--bg-main);
  box-shadow: var(--shadow-light);
}

.process-item h3 {
  font-size: 1.25rem;
  margin-top: 15px;
  margin-bottom: 15px;
}

.process-item p {
  font-size: 0.95rem;
}

/* --- Инструменты (Tools) --- */
.tools {
  background-color: rgba(255, 255, 255, 0.2);
}

.tools-intro {
  max-width: 800px;
  margin: -20px auto 50px auto;
  text-align: center;
}

.tools-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.tools-intro p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.tool-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 173, 181, 0.1), var(--shadow-hover);
  border-color: rgba(0, 173, 181, 0.35);
  background: rgba(255, 255, 255, 0.9);
}

.tool-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  line-height: 1;
}

.tool-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.tool-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

.tools-disclaimer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 35px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-color);
  background: rgba(0, 173, 181, 0.05);
}

.disclaimer-icon {
  color: var(--accent-color);
  flex-shrink: 0;
}

.tools-disclaimer p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* --- Отзывы (Reviews) --- */
.reviews {
  background-color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.reviews-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.review-card {
  padding: 50px;
  border-radius: var(--radius-lg);
  position: relative;
  display: none;
  animation: fadeIn var(--transition-normal);
}

.review-card.active {
  display: block;
}

.quote-icon {
  position: absolute;
  top: 30px;
  left: 40px;
  color: rgba(0, 173, 181, 0.08);
  font-size: 6rem;
  line-height: 1;
  font-family: serif;
  user-select: none;
}

.review-text {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--primary-light);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

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

.dot:hover {
  background: var(--primary-light);
  transform: scale(1.2);
}

.dot.active {
  background: var(--accent-color);
  width: 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 173, 181, 0.3);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
}

.control-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: var(--accent-color);
  color: var(--text-light);
  border-color: var(--accent-color);
  transform: scale(1.05);
}

/* --- Стоимость и форматы (Pricing) --- */
.pricing-intro {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.pricing-outro {
  text-align: center;
  max-width: 800px;
  margin: 50px auto 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 500;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1050px;
  margin: 0 auto;
}

.pricing-card {
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 173, 181, 0.1), var(--shadow-hover);
  border-color: rgba(0, 173, 181, 0.35);
}

.pricing-card.popular {
  border: 2px solid var(--accent-color);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--text-light);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 173, 181, 0.25);
}

.pricing-header {
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 25px;
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.pricing-price {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-features svg {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card .btn {
  width: 100%;
}

/* --- Форма записи и контакты (Contact) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.contact-info-text {
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.method-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 173, 181, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.method-details h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.method-details p, .method-details a {
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: 600;
}

.social-heading {
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 173, 181, 0.25);
}

.social-btn.tg { background-color: #24A1DE; }
.social-btn.wa { background-color: #25D366; }

.contact-form-box {
  padding: 50px;
  border-radius: var(--radius-lg);
}

.contact-form-box h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  border: none;
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background-color: rgba(37, 211, 102, 0.15);
  color: #1e7e34;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.form-message.error {
  display: block;
  background-color: rgba(220, 53, 69, 0.15);
  color: #bd2130;
  border: 1px solid rgba(220, 53, 69, 0.25);
}

/* Согласие на обработку данных (152-ФЗ) */
.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 5px;
  margin-bottom: 25px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-muted);
  cursor: pointer;
}

.form-agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-color);
  cursor: pointer;
  flex-shrink: 0;
}

.form-agreement label {
  cursor: pointer;
  user-select: none;
}

.form-agreement a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.form-agreement a:hover {
  color: var(--accent-hover);
}

.form-agreement.has-error label {
  color: #ff3860;
}

.form-agreement.has-error input[type="checkbox"] {
  outline: 2px solid #ff3860;
}

/* Модальное окно Политики Конфиденциальности */
.policy-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-section h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.policy-section p {
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.6;
}

.policy-section ul {
  padding-left: 20px;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.policy-section li {
  color: var(--text-muted);
}

/* --- Подвал (Footer) --- */
.footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 50px 0 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-about .logo {
  margin-bottom: 15px;
}

.footer-about .logo-title {
  color: var(--text-light);
}

.footer-about .logo-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.footer-about-text {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 350px;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-item svg {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 15px;
}

/* --- Анимации появления (Scroll Reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Блог (Blog) --- */
.blog {
  background-color: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

/* Панель управления блогом */
.blog-controls {
  margin-bottom: 40px;
}

.blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-search-sort {
  display: flex;
  gap: 15px;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 15px;
  transition: var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.15);
}

.search-box svg {
  color: var(--text-muted);
  margin-right: 8px;
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  width: 200px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

#blog-sort {
  padding: 8px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

#blog-sort:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Статистика блога */
.blog-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.blog-stats .stat-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

.blog-stats .stat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.filter-btn {
  padding: 8px 18px;
  background: transparent;
  border: 2px solid var(--primary-light);
  color: var(--primary-color);
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 0.9rem;
}

.filter-btn:hover {
  background: rgba(75, 134, 180, 0.08);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 61, 89, 0.2);
}

/* Основная обертка блога */
.blog-main-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Сайдбар блога */
.blog-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  transition: var(--transition-normal);
}

.sidebar-section:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-title svg {
  color: var(--accent-color);
}

/* Рекомендуемые статьи */
.recommended-articles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recommended-article {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.recommended-article:hover {
  background: rgba(0, 173, 181, 0.05);
  transform: translateX(5px);
}

.recommended-article img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.recommended-article-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 4px;
  line-height: 1.3;
}

.recommended-article-content .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.recommended-article-content .meta .read-time {
  background: rgba(0, 173, 181, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
}

/* Теги */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  background: rgba(75, 134, 180, 0.1);
  color: var(--primary-color);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.tag:hover {
  background: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 173, 181, 0.2);
}

/* Newsletter */
.newsletter {
  text-align: center;
}

.newsletter-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

#newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#newsletter-form input {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

#newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.15);
}

/* Архив */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.archive-month strong {
  color: var(--primary-color);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

.archive-month ul {
  list-style: none;
  padding-left: 0;
}

.archive-month li {
  margin-bottom: 5px;
}

.archive-month a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.archive-month a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

/* Просмотренные статьи */
.empty-state {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px 0;
}

.viewed-articles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viewed-article-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(0, 173, 181, 0.05);
  transition: var(--transition-fast);
}

.viewed-article-item:hover {
  background: rgba(0, 173, 181, 0.1);
}

.viewed-article-item img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.viewed-article-content h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2px;
  line-height: 1.3;
}

.viewed-article-content .meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.blog-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 173, 181, 0.1), var(--shadow-hover);
}

.blog-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: var(--text-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-date {
  font-weight: 500;
}

.blog-read-time {
  background: rgba(0, 173, 181, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.views-counter {
  background: rgba(255, 193, 7, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #c48c02;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.4;
}

.blog-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.blog-link {
  width: 100%;
  justify-content: center;
}

.blog-more {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

.blog-more p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

/* --- Онлайн-запись (Calendar) --- */
.calendar {
  background-color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.calendar-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.calendar-sidebar {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-light);
}

.calendar-booking-steps {
  margin-bottom: 40px;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  width: 2px;
  height: 30px;
  background: var(--border-color);
}

.step.active {
  color: var(--accent-color);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
  transition: var(--transition-normal);
}

.step.active .step-num {
  background: var(--accent-color);
  color: var(--text-light);
  border-color: var(--accent-color);
}

.step-text {
  font-weight: 600;
  color: var(--text-muted);
}

.step.active .step-text {
  color: var(--primary-color);
}

.calendar-info h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.calendar-info ul {
  list-style: none;
  margin-bottom: 30px;
}

.calendar-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.calendar-price-info h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
  border-bottom: none;
}

.price-name {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-value {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--accent-color);
}

.calendar-main {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-light);
}

.booking-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.booking-step.active {
  display: block;
}

.booking-step h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.format-options {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.format-option {
  cursor: pointer;
}

.format-option input[type="radio"] {
  display: none;
}

.format-card {
  padding: 25px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.format-option input[type="radio"]:checked + .format-card {
  border-color: var(--accent-color);
  background: rgba(0, 173, 181, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 173, 181, 0.1);
}

.format-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.format-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.format-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.calendar-widget {
  margin-bottom: 30px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.cal-nav {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.cal-nav:hover {
  background: rgba(75, 134, 180, 0.1);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 500;
  color: var(--text-dark);
}

.calendar-day:hover {
  background: rgba(75, 134, 180, 0.1);
}

.calendar-day.selected {
  background: var(--accent-color);
  color: var(--text-light);
}

.calendar-day.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-day.other-month {
  color: var(--text-muted);
  opacity: 0.3;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.time-slot {
  padding: 12px;
  background: var(--bg-main);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  font-weight: 600;
  color: var(--primary-color);
}

.time-slot:hover {
  border-color: var(--accent-color);
  background: rgba(0, 173, 181, 0.05);
}

.time-slot.selected {
  background: var(--accent-color);
  color: var(--text-light);
  border-color: var(--accent-color);
}

.time-slot.unavailable {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
  background: transparent;
}

.slots-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
}

/* Стили для статей в модальном окне */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article-modal {
  width: 100%;
  max-width: 600px;
  height: 85vh;
  max-height: 85vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #faf5ec 0%, #fffdfa 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(15, 30, 50, 0.25);
  border: 1px solid rgba(220, 205, 185, 0.5);
}

.blog-article-modal .modal-header {
  flex-shrink: 0;
  padding: 25px 30px 18px;
  background: #faf5ec;
  border-bottom: 1px solid rgba(220, 205, 185, 0.4);
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .blog-article-modal .modal-header {
    padding: 20px 20px 15px;
  }
}

.blog-article-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  padding: 0;
  overflow-y: auto;
  background: #faf5ec;
}

.blog-article-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

.blog-article-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.blog-article-modal .modal-body::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
  opacity: 0.6;
}

.blog-article-modal .modal-body::-webkit-scrollbar-thumb:hover {
  opacity: 0.8;
}

.blog-article-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-category {
  background: var(--accent-color);
  color: var(--text-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8rem;
}

.article-date, .article-read-time, .article-views {
  color: var(--text-muted);
}

.blog-article-content {
  padding: 40px;
  padding-left: 60px;
  padding-right: 60px;
}

@media (max-width: 768px) {
  .blog-article-content {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.blog-article-content h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  line-height: 1.3;
}

.blog-article-content h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--primary-color);
}

.blog-article-content h4 {
  font-size: 1.2rem;
  margin: 25px 0 12px;
  color: var(--primary-color);
}

.blog-article-content ul {
  padding-left: 20px;
  margin: 20px 0;
}

.blog-article-content li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.blog-article-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.article-cta {
  margin-top: 40px;
  padding: 30px;
  background: rgba(0, 173, 181, 0.05);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-color);
}

.article-cta p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Изображения внутри статей */
.article-img-box {
  margin: 30px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 61, 89, 0.12);
  transition: transform var(--transition-normal);
}

.article-img-box:hover {
  transform: translateY(-3px);
}

.article-img-box img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.article-img-caption {
  padding: 12px 18px;
  background: rgba(240, 247, 252, 0.85);
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  border-top: 1px solid var(--border-color);
}

/* Герой-баннер в модальном окне статьи */
.article-modal-hero-banner {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 30px;
}

.article-modal-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-modal-hero-banner .article-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 61, 89, 0.05) 0%, #faf5ec 100%);
}

/* Убираем все картинки из модального окна статьи (остается только текст и фон) */
#blog-article-modal img,
#blog-article-modal .article-img-box,
#blog-article-modal .article-modal-hero-banner,
.blog-article-modal img,
.blog-article-modal .article-img-box {
  display: none !important;
}

/* Оформление модального окна статьи */
#blog-article-modal .modal-window {
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(15, 30, 50, 0.25);
  background: linear-gradient(145deg, #faf5ec 0%, #fffdfa 100%) !important;
}

#blog-article-modal .modal-header {
  background: #faf5ec;
}

#blog-article-modal .blog-article-content {
  background: transparent;
  border-radius: 0;
  margin: 0;
  padding: 25px 30px 30px;
  box-shadow: none;
}

@media (max-width: 768px) {
  #blog-article-modal .blog-article-content {
    padding: 20px 20px 25px;
  }
}

/* Действия в модальном окне */
.modal-article-actions {
  flex-shrink: 0;
  padding: 16px 30px;
  border-top: 1px solid rgba(220, 205, 185, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7efe4;
  position: relative;
  z-index: 5;
}

@media (max-width: 768px) {
  .modal-article-actions {
    padding: 15px 20px;
    flex-direction: column;
    gap: 12px;
  }

  .share-article, .next-article {
    width: 100%;
    justify-content: center;
  }
}

.share-article, .next-article {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-article {
  border-color: var(--primary-light);
  color: var(--primary-color);
}

.share-article:hover {
  background: rgba(75, 134, 180, 0.1);
}

.next-article {
  border-color: var(--accent-color);
  color: var(--text-light);
}

.next-article:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 173, 181, 0.3);
}

/* Кнопка закрытия для полноэкранного режима */
.blog-article-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition-normal);
}

.blog-article-modal .modal-close:hover {
  background: var(--accent-color);
  color: var(--text-light);
  transform: rotate(90deg);
}

/* Уведомления */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  z-index: 9999;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 350px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-color: #37b24d;
  background: rgba(55, 178, 77, 0.1);
}

.notification.error {
  border-color: #f03e3e;
  background: rgba(240, 62, 62, 0.1);
}

.notification.info {
  border-color: var(--accent-color);
  background: rgba(0, 173, 181, 0.1);
}

/* --- Адаптивность (Responsive) --- */
@media (max-width: 992px) {
  h2 {
    font-size: 2.1rem;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-stats {
    width: 100%;
    justify-content: center;
    gap: 30px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-img-box {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .about-buttons {
    justify-content: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }

  .calendar-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .calendar-sidebar {
    order: 2;
  }

  .calendar-main {
    order: 1;
  }

  .blog-main-wrapper {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    order: -1;
    margin-bottom: 40px;
  }

  .sidebar-section {
    margin-bottom: 20px;
  }

  .blog-filters {
    flex-direction: column;
    gap: 20px;
  }

  .filter-group {
    justify-content: center;
  }

  .blog-search-sort {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }

  #blog-sort {
    width: 100%;
  }

  .blog-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .blog-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .format-options {
    grid-template-columns: 1fr;
  }

  .step-nav {
    flex-direction: column;
    gap: 15px;
  }

  .step-nav .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .services-grid, .solutions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #f0f7fc;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: var(--transition-normal);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 20px;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-wrap: wrap;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
  
  .review-card {
    padding: 30px 20px;
  }
  
  .quote-icon {
    top: 15px;
    left: 20px;
    font-size: 4rem;
  }
  
  .about-buttons {
    flex-direction: column;
    width: 100%;
  }

  .about-buttons .btn {
    width: 100%;
  }

  .modal-window {
    padding: 30px 20px;
  }

  .tool-card {
    padding: 30px 25px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .calendar-main {
    padding: 30px 20px;
  }

  .format-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .calendar-info ul {
    font-size: 0.9rem;
  }

  .blog-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .blog-filters::-webkit-scrollbar {
    height: 4px;
  }

  .blog-filters::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
  }

  .blog-filters::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
  }
  
  .tools-disclaimer {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
  
  .contact-form-box {
    padding: 30px 20px;
  }
  
  .service-card, .solution-card {
    padding: 25px 20px;
  }
  
  .solution-card {
    flex-direction: column;
    gap: 15px;
  }
  
  .solution-icon-box {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   КОМПЛЕКСНЫЕ МОДЕРНИЗАЦИИ (v2.0): Квиз, FAQ, Табы бронирования, Виджеты
   ========================================================================== */

/* Смещение для фиксированной шапки при переходе по якорям */
.anchor-offset {
  position: relative;
  top: -90px;
  visibility: hidden;
}

/* --- Секция экспресс-теста (Quiz) --- */
.quiz-section {
  padding: 90px 0;
  position: relative;
}

.quiz-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 45px 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 50px rgba(30, 61, 89, 0.08);
}

.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(75, 134, 180, 0.15);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.quiz-step-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.quiz-step-category {
  background: rgba(0, 173, 181, 0.12);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 13px;
}

.quiz-question-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(75, 134, 180, 0.18);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.45;
}

.quiz-option:hover {
  border-color: var(--accent-color);
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 173, 181, 0.12);
}

.quiz-option-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(75, 134, 180, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quiz-option:hover .quiz-option-radio {
  border-color: var(--accent-color);
}

.quiz-option.selected .quiz-option-radio {
  border-color: var(--accent-color);
  background: var(--accent-color);
}

.quiz-option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.quiz-option.selected .quiz-option-radio::after {
  opacity: 1;
}

.quiz-result-box {
  text-align: center;
  padding: 20px 10px;
  animation: fadeInTab 0.5s ease;
}

.quiz-result-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  background: rgba(0, 173, 181, 0.12);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-result-box h3 {
  font-size: 26px;
  font-family: var(--font-title);
  color: var(--primary-color);
  margin-bottom: 16px;
}

.quiz-result-text {
  font-size: 16px;
  color: var(--text-dark);
  max-width: 650px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.quiz-result-recommendation {
  background: rgba(255, 255, 255, 0.9);
  border-left: 4px solid var(--accent-color);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
  margin: 25px auto;
  max-width: 680px;
  font-size: 15px;
  color: var(--text-dark);
  box-shadow: var(--shadow-light);
}

.quiz-result-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* --- Секция FAQ (Часто задаваемые вопросы) --- */
.faq-section {
  padding: 90px 0;
  position: relative;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(75, 134, 180, 0.3);
  box-shadow: var(--shadow-light);
}

.faq-item.active {
  border-color: rgba(0, 173, 181, 0.4);
  box-shadow: 0 10px 30px rgba(30, 61, 89, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: transparent;
  border: none;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(75, 134, 180, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  color: var(--primary-color);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-color);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-dark);
  font-size: 15.5px;
  line-height: 1.7;
}

.faq-answer-inner p + p {
  margin-top: 12px;
}

/* --- Единый центр записи (Booking Tabs) --- */
.booking-section {
  padding: 100px 0;
  position: relative;
}

.booking-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.booking-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
}

.booking-tab-btn svg {
  transition: stroke var(--transition-fast);
}

.booking-tab-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--primary-color);
}

.booking-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(30, 61, 89, 0.25);
}

.booking-tab-btn.active svg {
  stroke: #fff;
}

.booking-tab-pane {
  display: none;
  animation: fadeInTab 0.4s ease forwards;
}

.booking-tab-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* --- Плавающий виджет быстрой связи --- */
.quick-contact-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.quick-contact-toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 173, 181, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.quick-contact-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0, 173, 181, 0.55);
}

.quick-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0.6;
  animation: pulseRing 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.quick-toggle-icons {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-chat, .icon-close {
  position: absolute;
  transition: all 0.3s ease;
}

.icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.quick-contact-widget.active .icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.quick-contact-widget.active .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.quick-contact-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quick-contact-widget.active .quick-contact-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.quick-contact-item:hover {
  transform: translateX(-4px);
}

.quick-item-label {
  background: rgba(23, 37, 42, 0.88);
  color: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.quick-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.quick-contact-item.tg .quick-item-icon {
  background: #2aabee;
}

.quick-contact-item.wa .quick-item-icon {
  background: #25d366;
}

.quick-contact-item.phone .quick-item-icon {
  background: var(--primary-color);
}

/* --- Кнопка «Наверх» с индикатором скролла --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-light);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: #fff;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.1s linear;
}

.arrow-up {
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast);
}

.back-to-top:hover .arrow-up {
  transform: translateY(-2px);
  color: var(--accent-color);
}

/* --- Премиальное оформление статей в модалке блога --- */
.blog-article-content .article-img-box {
  margin: 25px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.blog-article-content .article-img-box img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.blog-article-content .article-img-caption {
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.8);
  border-left: 3px solid var(--accent-color);
}

.blog-article-content .article-cta {
  margin: 30px 0 20px;
  padding: 20px 24px;
  background: rgba(0, 173, 181, 0.08);
  border-left: 4px solid var(--accent-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 500;
  color: var(--primary-color);
}

/* --- Адаптивность для мобильных экранов --- */
@media (max-width: 768px) {
  .quiz-card {
    padding: 30px 20px;
  }
  .quiz-question-title {
    font-size: 18px;
  }
  .booking-tabs-nav {
    flex-direction: column;
    width: 100%;
  }
  .booking-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .faq-question {
    font-size: 16px;
    padding: 18px 20px;
  }
  .faq-answer-inner {
    padding: 0 20px 20px;
  }
  .quick-contact-widget {
    bottom: 20px;
    right: 20px;
  }
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
  }
}

