/* Основные стили для агрегатора ДЕЗ-ЭКО с современным дизайном */

/* Поддержка эмодзи */
.service-icon, .icon, .link-icon, .option-card .icon {
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols', sans-serif !important;
    font-style: normal;
    font-weight: normal;
    text-rendering: auto;
    font-variant-emoji: emoji;
}

/* === ЦВЕТОВАЯ ПАЛИТРА === */
:root {
  /* Основные цвета */
  --primary-green: #2E8B57;      /* Лесной зелёный (доверие) */
  --primary-blue: #007BFF;       /* Яркий синий (профессионализм) */
  --primary-light-blue: #17A2B8; /* Голубой (свежесть) */
  --accent-orange: #FF6B35;      /* Оранжевый (CTA) */
  --accent-red: #DC143C;         /* Красный (срочность) */
  
  /* Дополнительные цвета */
  --success-green: #28A745;      /* Успех */
  --warning-yellow: #FFC107;     /* Предупреждение */
  --info-cyan: #17A2B8;         /* Информация */
  --dark-blue: #0056B3;         /* Тёмно-синий */
  
  /* Расширенная палитра для новых компонентов */
  --blue-50: #EBF8FF;
  --blue-100: #BEE3F8;
  --blue-700: #2B6CB0;
  --green-400: #68D391;
  --green-500: #48BB78;
  --green-600: #38A169;
  --orange-500: #ED8936;
  --gray-50: #F7FAFC;
  
  /* Нейтральные цвета */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray-100: #E9ECEF;
  --gray-200: #DEE2E6;
  --gray-300: #CED4DA;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;
  --black: #000000;
  
  /* Градиенты */
  --gradient-blue: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
  --gradient-green: linear-gradient(135deg, #2E8B57 0%, #228B22 100%);
  --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FF4500 100%);
  --gradient-light: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  --gradient-hero: linear-gradient(135deg, #007BFF 0%, #17A2B8 50%, #2E8B57 100%);
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);
  
  /* Радиусы */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --radius-round: 50%;
  
  /* Шрифты */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Courier New', Consolas, Monaco, monospace;
}

/* === КОНТЕЙНЕРЫ === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* === БАЗОВЫЕ СТИЛИ === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  padding-top: 180px; /* Отступ под фиксированную шапку */
}

@media (max-width: 768px) {
  body {
    padding-top: 160px;
  }
}

/* === КНОПКИ === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  text-decoration: none;
}

.btn-success {
  background: var(--gradient-green);
  color: var(--white);
}

.btn-warning {
  background: var(--gradient-orange);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* === УТИЛИТЫ === */
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.gap-2 { gap: 1rem; }

/* === СОВРЕМЕННАЯ ШАПКА === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.header-top {
  background: var(--gradient-blue);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

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

@media (max-width: 768px) {
  .header-top-content {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.header-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .header-info {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .info-item {
    font-size: 0.75rem;
  }
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
}

.contact-link:hover {
  opacity: 0.8;
  color: var(--white);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-round);
  color: var(--white);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  color: var(--white);
}

.header-main {
  background: var(--white);
  padding: 1rem 0;
}

.header-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

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

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-blue);
  line-height: 1;
}

.logo-accent {
  color: var(--accent-orange);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .header-contact {
    display: none;
  }
}

.phone-block {
  text-align: right;
}

.phone-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-blue);
  text-decoration: none;
}

.phone-number:hover {
  color: var(--dark-blue);
  text-decoration: none;
}

.phone-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.header-cta {
  position: relative;
}

.pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-md);
  transform: translate(-50%, -50%);
  animation: pulse-ring 2s infinite;
  opacity: 0.6;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.header-indicators {
  background: var(--light-gray);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.indicators-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .indicators-content {
    gap: 1rem;
    font-size: 0.8rem;
  }
}

.activity-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.activity-indicator.discount {
  color: var(--accent-orange);
  font-weight: 600;
}

.activity-indicator strong {
  color: var(--primary-blue);
  font-weight: 700;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--gradient-blue);
  color: var(--white);
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon-mobile {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.logo-text-mobile {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 35px;
  height: 35px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1.5rem;
}

.mobile-contact {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.mobile-phone {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-blue);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.mobile-email, .mobile-address {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.mobile-cta {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* === ПОДВАЛ === */
.site-footer {
  background: var(--gray-800);
  color: var(--white);
  margin-top: auto;
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--gradient-blue);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
}

.footer-logo .logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1;
}

.footer-logo .logo-accent {
  color: var(--accent-orange);
}

.footer-logo .logo-subtitle {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.company-description p {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.company-achievements {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.achievement-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
}

.achievement-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.services-links .footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: var(--radius-md);
}

.services-links .footer-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transform: translateX(5px);
}

.link-icon {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.link-content {
  flex: 1;
}

.link-name {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.125rem;
}

.link-price {
  display: block;
  font-size: 0.75rem;
  color: var(--primary-blue);
  font-weight: 500;
}

.info-links .footer-links li {
  margin-bottom: 0.5rem;
}

.info-links .footer-link {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.info-links .footer-link:hover {
  color: var(--primary-blue);
  text-decoration: none;
  transform: translateX(3px);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
  margin-top: 0.25rem;
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.contact-value:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

.contact-item.phone .contact-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.social-networks h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.social-networks .social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-networks .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  white-space: nowrap;
  min-width: fit-content;
}

.social-networks .social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--white);
  text-decoration: none;
}

.social-networks .social-link.whatsapp:hover {
  background: #25D366;
}

.social-networks .social-link.telegram:hover {
  background: #0088CC;
}

/* Убираем стили для Viber, так как его больше нет */
.social-networks .social-link.whatsapp .social-icon {
  font-size: 1.1rem;
}

.social-networks .social-link.telegram .social-icon {
  font-size: 1.1rem;
}

.footer-form-section {
  background: var(--gradient-hero);
  padding: 2rem 0;
}

.footer-form-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-form-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

.form-content {
  flex: 1;
}

.form-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.form-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.footer-contact-form {
  flex: 1;
  max-width: 400px;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
  }
}

.form-input {
  flex: 2;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--white);
  color: var(--gray-800);
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.trust-elements {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-certificates {
  background: var(--gray-700);
  padding: 1.5rem 0;
}

.certificates-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .certificates-content {
    flex-direction: column;
    text-align: center;
  }
}

.certificates-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.certificates-text p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin: 0;
}

.certificates-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .certificates-list {
    justify-content: center;
  }
}

.certificate-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-icon {
  font-size: 1.25rem;
}

.cert-name {
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1;
}

.cert-number {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-top: 0.125rem;
}

.footer-bottom {
  background: var(--black);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

.footer-copyright {
  flex: 1;
}

.copyright-text {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.company-info {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-legal {
    justify-content: center;
  }
}

.legal-link {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-decoration: none;
}

.legal-link:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-blue);
  color: var(--white);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === ПЛАВАЮЩИЕ ЭЛЕМЕНТЫ === */
.floating-elements {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-widget {
  opacity: 0;
  visibility: hidden;
  transform: translateX(100px);
  transition: all 0.5s ease;
}

.floating-widget.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.floating-widget a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: var(--gray-800);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.floating-widget a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--gray-800);
  text-decoration: none;
}

.widget-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.widget-text {
  display: block;
}

@media (max-width: 480px) {
  .widget-text {
    display: none;
  }
}

.widget-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.widget-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.whatsapp-widget a {
  border-color: #25D366;
}

.whatsapp-widget a:hover {
  background: rgba(37, 211, 102, 0.05);
}

.whatsapp-widget .widget-icon {
  background: #25D366;
}

.telegram-widget a {
  border-color: #0088CC;
}

.telegram-widget a:hover {
  background: rgba(0, 136, 204, 0.05);
}

.telegram-widget .widget-icon {
  background: #0088CC;
}

/* === COOKIE УВЕДОМЛЕНИЕ === */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-800);
  color: var(--white);
  padding: 1rem 0;
  z-index: 10000;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.cookie-message {
  font-size: 0.9rem;
}

.cookie-message a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.cookie-message a:hover {
  color: var(--primary-light-blue);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--gray-400);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.btn-close:hover {
  color: var(--white);
}

/* === АНИМАЦИИ === */
@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

/* === ФОРМЫ === */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group {
  margin-bottom: 1rem;
}

/* === МОДАЛЬНЫЕ ОКНА === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

/* Стили для exit-intent модального окна */
.exit-modal .modal-content {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 2px solid #2E8B57;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.offer-badge {
  background: linear-gradient(135deg, #DC143C 0%, #B91C1C 100%);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.offer-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.discount-percent {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.discount-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.offer-details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.offer-details p {
  color: #6C757D;
  margin-bottom: 1rem;
}

.countdown-wrapper {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.countdown-label {
  display: block;
  font-size: 0.875rem;
  color: #6C757D;
  margin-bottom: 0.5rem;
}

.countdown-timer {
  font-size: 1.5rem;
  font-weight: 700;
  color: #DC143C;
}

.social-proof {
  background: #e8f5e8;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.social-proof p {
  margin: 0;
  font-size: 0.875rem;
  color: #2E8B57;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
}

.modal-close:hover {
  color: var(--gray-800);
}

.modal-header h2 {
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.modal-header p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* === ПРЕЛОАДЕР === */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 

/* === УЛУЧШЕННЫЕ СТИЛИ ДЛЯ ТАЙМЕРОВ === */

/* Таймер обратного звонка */
.callback-timer {
    background: #dc3545;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.callback-timer span {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Таймер срочности */
.urgency-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.urgency-timer .time {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Таймер обратного отсчета */
.countdown-timer {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #dc3545;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: rgba(220, 53, 69, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #dc3545;
}

/* Сообщение об успехе */
.success-message {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.success-message .success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.success-message h3 {
    color: #155724;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-message p {
    color: #155724;
    font-size: 16px;
    margin-bottom: 8px;
}

.success-message strong {
    color: #0f5132;
    font-weight: 700;
}

/* Таймер в модальном окне */
.exit-modal .countdown-timer {
    background: #dc3545;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Анимация пульсации для таймеров */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }
}

/* Улучшенные стили для мобильных устройств */
@media (max-width: 768px) {
    .callback-timer,
    .urgency-timer,
    .countdown-timer {
        font-size: 16px;
        padding: 10px 14px;
    }
    
    .success-message {
        padding: 16px;
        margin: 16px 0;
    }
    
    .success-message h3 {
        font-size: 20px;
    }
    
    .success-message p {
        font-size: 14px;
    }
} 