/* ==============================================================================
   PRO ЛОКОНЫ — СТИЛИ САЙТА (style.css)
   Эстетика: Apple / MOS (mos.caldis.me) + High-End Beauty Studio в Сочи
   ============================================================================== */

/* ------------------------------------------------------------------------------
   1. ПЕРЕМЕННЫЕ И ОСНОВНАЯ ПАЛИТРА
   ------------------------------------------------------------------------------ */
:root {
  /* Палитра премиум-люкс */
  --bg-deep: #08080a;
  --bg-dark: #0f0f14;
  --bg-card: rgba(20, 20, 27, 0.65);
  --bg-card-hover: rgba(28, 28, 38, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.03);

  /* Золото и перламутр */
  --gold-primary: #d4af37;
  --gold-light: #f5e2b8;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-dim: rgba(212, 175, 55, 0.12);
  --pearl: #f3e5d8;
  --pearl-muted: #b8b2aa;

  /* Графика и текст */
  --text-main: #fbf9f5;
  --text-muted: #9f9b93;
  --text-dim: #6e6b66;

  /* Границы и тени */
  --border-glass: rgba(212, 175, 55, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(212, 175, 55, 0.45);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(212, 175, 55, 0.22);
  --shadow-elevated: 0 30px 60px rgba(0, 0, 0, 0.6);

  /* Радиусы скругления */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Шрифты (Apple-подобный современный стек) */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Cinzel", "Times New Roman", serif;

  /* Переходы */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------------------
   2. СБРОС И БАЗОВЫЕ НАСТРОЙКИ
   ------------------------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* ------------------------------------------------------------------------------
   3. ЖИВОЙ ФОН AURORA MESH GRADIENT (В СТИЛЕ MOS)
   ------------------------------------------------------------------------------ */
.aurora-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, #15141e 0%, #09090c 70%, #050507 100%);
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

.aurora-orb-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(212, 175, 55, 0) 70%);
  top: -150px;
  left: 15%;
  animation: floatOrb1 20s infinite;
}

.aurora-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(243, 229, 216, 0.3) 0%, rgba(243, 229, 216, 0) 70%);
  top: 25%;
  right: -100px;
  animation: floatOrb2 25s infinite;
}

.aurora-orb-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168, 122, 28, 0.28) 0%, rgba(168, 122, 28, 0) 70%);
  bottom: -100px;
  left: 30%;
  animation: floatOrb3 28s infinite;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
  100% { transform: translate(-80px, 140px) scale(0.9); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 90px) scale(1.1); }
  100% { transform: translate(70px, -60px) scale(0.95); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -80px) scale(1.12); }
  100% { transform: translate(-110px, 40px) scale(0.92); }
}

/* ------------------------------------------------------------------------------
   4. МАГНИТНЫЙ КУРСОР-АУРА (SPOTLIGHT)
   ------------------------------------------------------------------------------ */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
  background: radial-gradient(
    circle 280px at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(212, 175, 55, 0.08) 0%,
    rgba(243, 229, 216, 0.03) 40%,
    transparent 80%
  );
  transition: opacity var(--transition-normal);
}

.cursor-follower {
  display: none !important; /* Желтый кружок убран по запросу, остается только мягкий светящийся луч .cursor-spotlight */
}

/* ------------------------------------------------------------------------------
   5. ГРАДИЕНТНЫЙ ТЕКСТ И ТИПОГРАФИКА
   ------------------------------------------------------------------------------ */
.gold-text {
  background: linear-gradient(135deg, #ffffff 15%, #f5e2b8 55%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-gradient-glow {
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
}

h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px auto;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ------------------------------------------------------------------------------
   6. СТЕКЛОМОРФИЗМ (GLASSMORPHISM CARDS)
   ------------------------------------------------------------------------------ */
.glass-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.7;
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  transform: translateY(-4px);
}

/* ------------------------------------------------------------------------------
   7. КНОПКИ И ИНТЕРАКТИВНЫЕ ЭЛЕМЕНТЫ
   ------------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #f5e2b8 0%, #d4af37 50%, #aa820a 100%);
  color: #0b0b0e;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #f5e2b8 40%, #d4af37 100%);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
}

.btn-glass:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-telegram {
  background: rgba(42, 171, 238, 0.15);
  color: #ffffff;
  border: 1px solid rgba(42, 171, 238, 0.4);
}

.btn-telegram:hover {
  background: #2AABEE;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(42, 171, 238, 0.4);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* ------------------------------------------------------------------------------
   8. ШАПКА САЙТА (HEADER & NAV)
   ------------------------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(12, 12, 16, 0.94);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.site-header .container {
  max-width: 1400px;
  padding: 0 24px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

/* Логотип: каллиграфический logo.png */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 155px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  max-height: 52px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo-link:hover .logo-img {
  transform: scale(1.03);
}

/* Меню навигации (4 чистых пункта с выпадающим меню Услуг) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  margin: 0 auto;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-primary));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.dropdown-arrow {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
  color: var(--gold-light);
  display: inline-block;
  margin-left: 2px;
}

/* Выпадающее меню услуг (2 колонки) */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-wrap:hover .dropdown-arrow,
.nav-dropdown-wrap.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 580px;
  background: rgba(14, 14, 19, 0.97);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(212, 175, 55, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1100;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap:focus-within .nav-dropdown-menu,
.nav-dropdown-wrap.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.dropdown-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 0 8px 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateX(2px);
}

.dropdown-icon {
  font-size: 1.15rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--gold-light);
}

.dropdown-item-sub {
  font-size: 0.76rem;
  color: var(--pearl-muted);
  line-height: 1.35;
}

.dropdown-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.dropdown-all-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.dropdown-all-link:hover {
  color: #ffffff;
}

/* Блок действий в шапке (Телефон, мессенджеры Телега и МАКС, Записаться) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-phone-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  margin-right: 4px;
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  display: block;
  line-height: 1.25;
}

.header-phone:hover {
  color: var(--gold-light);
}

.header-phone-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  margin-top: 3px;
  line-height: 1.2;
}

.header-phone-sub::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 6px #25D366;
  flex-shrink: 0;
  display: inline-block;
}

/* Иконки мессенджеров (Telegram, MAX) */
.social-icon-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pearl);
  transition: all var(--transition-fast);
  padding: 0;
  box-sizing: border-box;
}

.social-icon-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  color: #ffffff;
}

.social-icon-btn img,
.social-icon-btn svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex-shrink: 0;
  display: block;
}

.social-icon-btn.btn-whatsapp {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.35);
}

.social-icon-btn.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25d366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.header-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.hamburger-btn {
  display: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  padding: 0;
}

.hamburger-btn span {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Мобильное меню */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: rgba(15, 15, 20, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 2000;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-glass);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

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

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--gold-light);
  padding-left: 8px;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------------------------------------------------
   9. ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS)
   ------------------------------------------------------------------------------ */
.breadcrumbs-bar {
  padding-top: 100px;
  padding-bottom: 16px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--pearl-muted);
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs-sep {
  opacity: 0.4;
}

.breadcrumbs-current {
  color: var(--gold-light);
  font-weight: 500;
}

/* ------------------------------------------------------------------------------
   10. ПЕРВЫЙ ЭКРАН (HERO SECTION & CANVAS)
   ------------------------------------------------------------------------------ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 50px;
  overflow: hidden;
  box-sizing: border-box;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--pearl-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-feat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-feat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}

.hero-feat-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

/* Декоративное мягкое золотистое свечение за фигурой модели */
.hero-visual-card::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}

/* Обертка для главной страницы: поднята на 20px вверх, центрирует плашку строго по нижнему краю модели */
.hero-main-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: -20px; /* Картинка поднята на 20px вверх */
}

.hero-main-picture {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

.hero-img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  max-height: 640px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.25));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  will-change: transform, filter;
}

.hero-visual-card:hover .hero-img {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 45px rgba(212, 175, 55, 0.35));
}

/* Бейдж на главной: отцентрирован горизонтально и выровнен строго впритык по нижнему срезу картинки */
.hero-main-wrapper .hero-floating-badge {
  position: absolute;
  bottom: 0; /* Впритык по низу картинки — картинка не вылезает ниже прямоугольника */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  z-index: 5;
}

/* Фотографии на внутренних страницах услуг (с элегантным закруглением и стеклянной рамкой) */
.hero-visual-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
}

.hero-visual-card:hover .hero-visual-img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.35);
}

.hero-floating-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  padding: 16px 20px;
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 0 30px rgba(212, 175, 55, 0.15);
  z-index: 5;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ------------------------------------------------------------------------------
   11. СЕТКА УСЛУГ И КАРТОЧКИ (SERVICES GRID)
   ------------------------------------------------------------------------------ */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.service-thumb-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.service-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-thumb {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(12, 12, 16, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.service-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.9);
  color: #0c0c0e;
  font-size: 0.85rem;
  font-weight: 700;
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.service-card:hover .service-title {
  color: var(--gold-light);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.spec-pill {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--pearl-muted);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.service-more-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-more-link:hover {
  gap: 10px;
  color: #ffffff;
}

/* ------------------------------------------------------------------------------
   12. БЛОК ОСОБЕННОСТЕЙ ДЛЯ КЛИМАТА СОЧИ (SOCHI ADVANTAGES)
   ------------------------------------------------------------------------------ */
.sochi-section {
  padding: 100px 0;
  position: relative;
}

.sochi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.sochi-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sochi-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.sochi-icon svg {
  width: 28px;
  height: 28px;
}

.sochi-card-title {
  font-size: 1.25rem;
}

.sochi-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------------------------
   13. ИНТЕРАКТИВНЫЙ СЛАЙДЕР ДО / ПОСЛЕ (BEFORE / AFTER COMPARISON)
   ------------------------------------------------------------------------------ */
.before-after-section {
  padding: 100px 0;
}

.ba-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.ba-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.ba-tab-btn:hover {
  color: #ffffff;
  border-color: var(--gold-primary);
}

.ba-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #0b0b0e;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.ba-slider-container {
  max-width: 960px;
  margin: 0 auto;
}

.ba-slider-box {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  user-select: none;
  cursor: ew-resize;
}

.ba-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-layer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-layer-before {
  z-index: 2;
  width: 50%; /* меняется динамически через js */
  overflow: hidden;
}

.ba-layer-before .ba-layer-img {
  width: 960px; /* совпадает с шириной контейнера */
  max-width: none;
}

.ba-layer-after {
  z-index: 1;
}

.ba-label {
  position: absolute;
  bottom: 24px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  z-index: 3;
}

.ba-label-before {
  left: 24px;
  color: #f3e5d8;
}

.ba-label-after {
  right: 24px;
  color: var(--gold-light);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  z-index: 4;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, var(--gold-light));
  border: 3px solid #0d0d10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  color: #0d0d10;
}

.ba-handle-circle svg {
  width: 20px;
  height: 20px;
}

.ba-details-card {
  margin-top: 24px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.ba-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ba-detail-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ba-detail-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ------------------------------------------------------------------------------
   14. 4-ШАГОВЫЙ КАЛЬКУЛЯТОР СТОИМОСТИ (CALCULATOR)
   ------------------------------------------------------------------------------ */
.calc-section {
  padding: 100px 0;
}

.calc-box {
  padding: 40px;
}

.calc-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.calc-stepper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.calc-progress-line {
  position: absolute;
  top: 20px;
  left: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-primary));
  z-index: 2;
  transition: width var(--transition-normal);
  width: 0%;
}

.calc-step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.calc-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #14141a;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.calc-step-node.active .calc-step-num {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #0b0b0e;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.calc-step-node.completed .calc-step-num {
  border-color: var(--gold-light);
  background: #1a1a24;
  color: var(--gold-light);
}

.calc-step-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-step-node.active .calc-step-label {
  color: #ffffff;
}

.calc-step-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.calc-step-content.active {
  display: block;
}

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

.calc-step-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.calc-step-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.calc-option-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.calc-option-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.calc-option-card.selected {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.calc-option-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.calc-option-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.calc-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-option-card.selected .calc-option-radio {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
}

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

.calc-option-badge {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: 8px;
}

.calc-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.calc-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.calc-result-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.calc-total-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.calc-total-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
}

.calc-time-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--pearl);
}

/* ------------------------------------------------------------------------------
   15. ТАБЛИЦЫ СРАВНЕНИЯ И ЦЕН (TABLES)
   ------------------------------------------------------------------------------ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  margin: 32px 0;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid var(--border-glass);
}

.custom-table td {
  padding: 18px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--pearl-muted);
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.custom-table .price-cell {
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

/* ------------------------------------------------------------------------------
   16. АККОРДЕОН FAQ
   ------------------------------------------------------------------------------ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--gold-primary);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 600;
  color: #ffffff;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  padding: 0 28px 24px 28px;
}

/* ------------------------------------------------------------------------------
   17. ОТЗЫВЫ И РАЙОНЫ СОЧИ
   ------------------------------------------------------------------------------ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.review-author {
  font-size: 1.1rem;
  font-weight: 700;
}

.review-location {
  font-size: 0.8rem;
  color: var(--gold-light);
}

.review-stars {
  color: #f7b731;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--pearl-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.district-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.district-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.district-title {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.district-address {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

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

/* ------------------------------------------------------------------------------
   18. СТЕКЛЯННОЕ МОДАЛЬНОЕ ОКНО И ФОРМА ЗАПИСИ
   ------------------------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(18, 18, 24, 0.96);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #ffffff;
  border-color: var(--gold-primary);
}

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

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--pearl);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.contact-method-radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.method-btn {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pearl-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.method-btn.selected {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #ffffff;
}

.method-btn svg {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------------------------
   19. ПЛАВАЮЩИЙ ВИДЖЕТ В ПРАВОМ НИЖНЕМ УГЛУ (FLOATING ACTION WIDGET)
   ------------------------------------------------------------------------------ */
.floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}

.floating-main-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5e2b8 0%, #d4af37 60%, #aa820a 100%);
  color: #0c0c0e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.floating-main-btn::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  animation: widgetPulse 2.5s infinite;
  opacity: 0.6;
}

@keyframes widgetPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-main-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.65);
}

.floating-main-btn svg {
  width: 26px;
  height: 26px;
}

.floating-sub-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
}

.floating-widget.expanded .floating-sub-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-sub-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: transform var(--transition-fast);
  white-space: nowrap;
}

.floating-sub-btn:hover {
  transform: translateX(-4px) scale(1.03);
}

.floating-sub-btn svg {
  width: 18px;
  height: 18px;
}

.floating-sub-btn.tg {
  background: rgba(42, 171, 238, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-sub-btn.wa {
  background: rgba(37, 211, 102, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-sub-btn.call {
  background: rgba(212, 175, 55, 0.85);
  color: #0b0b0e;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ------------------------------------------------------------------------------
   20. ПОДВАЛ (FOOTER)
   ------------------------------------------------------------------------------ */
.site-footer {
  padding: 80px 0 36px 0;
  background: #060608;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 10;
}

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

.footer-col-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 18px 0 24px 0;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--pearl-muted);
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ------------------------------------------------------------------------------
   21. TOAST УВЕДОМЛЕНИЯ
   ------------------------------------------------------------------------------ */
.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(18, 18, 24, 0.96);
  backdrop-filter: blur(25px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  color: #ffffff;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
  pointer-events: auto;
}

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

.toast.toast-success {
  border-color: rgba(37, 211, 102, 0.5);
}

.toast.toast-demo {
  border-color: rgba(212, 175, 55, 0.5);
}

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------------------
   22. МЕДИАЗАПРОСЫ И АДАПТИВНОСТЬ
   ------------------------------------------------------------------------------ */
@media (max-width: 1120px) {
  .nav-menu {
    gap: 18px;
  }
  .header-phone-sub {
    display: none;
  }
}

@media (max-width: 1040px) {
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-phone-box {
    display: none;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .logo-img {
    height: 42px;
  }
  .header-actions {
    gap: 8px;
  }
  .hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .ba-slider-box {
    height: 380px;
  }
  .ba-details-card {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-widget {
    bottom: 20px;
    right: 20px;
  }
}


/* ==============================================================================
   PRO ЛОКОНЫ — СТИЛИ ДЛЯ РАЗДЕЛА «БЛОГ» И СТАТЕЙ (/blog/*.html)
   ============================================================================== */

/* ------------------------------------------------------------------------------
   БЛОГ КАТАЛОГ (blog.html)
   ------------------------------------------------------------------------------ */
.blog-hero {
  padding: 120px 0 40px;
  text-align: center;
  position: relative;
}

.blog-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.blog-filters-wrap {
  margin: 36px 0 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--pearl-muted);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-filter-btn:hover {
  color: #fff;
  border-color: var(--gold-primary);
  background: rgba(35, 35, 48, 0.8);
  transform: translateY(-2px);
}

.blog-filter-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(245, 226, 184, 0.12));
  color: #fff;
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.blog-filter-count {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.18);
}

.blog-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #15151c;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.blog-card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.blog-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(12, 12, 16, 0.88);
  border: 1px solid var(--border-glass);
  color: var(--gold-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blog-read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--gold-light);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-author {
  font-size: 0.8rem;
  color: var(--pearl-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-read-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card-read-link {
  transform: translateX(4px);
  color: var(--gold-light);
}

/* ------------------------------------------------------------------------------
   СТРАНИЦА СТАТЬИ (/blog/*.html)
   ------------------------------------------------------------------------------ */
.article-header {
  padding: 120px 0 32px;
  max-width: 960px;
  margin: 0 auto;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--pearl-muted);
}

.article-author-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
}

.article-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.article-lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--pearl);
  margin-bottom: 32px;
  border-left: 3px solid var(--gold-primary);
  padding-left: 20px;
}

.article-hero-cover {
  width: 100%;
  max-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-elevated);
  margin-bottom: 48px;
  position: relative;
}

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

.article-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1220px;
  margin: 0 auto 80px;
}

/* Содержание (TOC) в сайдбаре */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.article-toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc-link {
  color: var(--pearl-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-decoration: none;
  display: block;
  padding: 4px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.article-toc-link:hover,
.article-toc-link.active {
  color: #fff;
  border-left-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  padding-left: 12px;
}

.article-sidebar-cta {
  background: linear-gradient(145deg, rgba(28, 26, 35, 0.9), rgba(18, 18, 24, 0.9));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.article-sidebar-cta h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.article-sidebar-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Основной контент статьи */
.article-content {
  color: #e3e0d8;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 44px 0 20px;
  scroll-margin-top: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-content h2::before {
  content: ;
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--gold-primary), var(--gold-light));
  border-radius: 2px;
  flex-shrink: 0;
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 32px 0 14px;
  scroll-margin-top: 100px;
}

.article-content p {
  margin-bottom: 22px;
}

.article-content strong {
  color: #fff;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content li {
  line-height: 1.7;
}

.article-content li::marker {
  color: var(--gold-primary);
}

.article-figure {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #111116;
}

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

.article-caption {
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--pearl-muted);
  text-align: center;
  background: rgba(12, 12, 16, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Экспертный блок «Совет технолога студии Prolokony» */
.tech-tip-box {
  margin: 36px 0;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(20, 20, 28, 0.85));
  border: 1px solid var(--gold-primary);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.tech-tip-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.tech-tip-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #0d0d10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tech-tip-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.tech-tip-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pearl);
  margin-bottom: 0 !important;
}

.tech-tip-author {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gold-light);
  text-align: right;
  font-style: italic;
}

/* Таблицы сравнения */
.article-table-wrap {
  margin: 36px 0;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: var(--bg-card);
}

.article-table th {
  background: rgba(30, 28, 38, 0.95);
  color: var(--gold-light);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border-glass);
  white-space: nowrap;
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--pearl);
  line-height: 1.6;
}

.article-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Чек-листы */
.article-checklist {
  list-style: none !important;
  margin: 24px 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-check-icon {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

/* Конверсионный блок внутри статьи */
.article-cta-box {
  margin: 48px 0;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(32, 30, 42, 0.9), rgba(18, 18, 24, 0.95));
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
}

.article-cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.article-cta-desc {
  max-width: 620px;
  font-size: 1rem;
  color: var(--pearl-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* FAQ блок в статье */
.article-faq {
  margin: 48px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--gold-primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--pearl-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

/* Читайте также */
.related-articles {
  margin: 64px 0 40px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  text-align: center;
}

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

/* Адаптив для статей */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-sidebar {
    position: static;
    order: 2;
  }
  .article-content {
    order: 1;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .article-content h2 {
    font-size: 1.45rem;
  }
  .article-content h3 {
    font-size: 1.2rem;
  }
  .article-cta-box {
    padding: 24px 18px;
  }
  .tech-tip-box {
    padding: 20px;
  }
}
