
/* Основные стили для body */
body {
    font-family: 'Open Sans', sans-serif;  /* Основной шрифт для тела сайта */
    background-color: #ffffff;  /* Белый фон */
    padding-top: 63px; /* Оставляем место для фиксированного меню */
}

/* БЛОК С ШАПКОЙ ===================================================== */
/* Стили для навигационной панели */
.navbar-brand {
    font-family: 'Open Sans', sans-serif;  /* Шрифт для бренда */
    font-size: 28px;  /* Размер шрифта для бренда */
    color: #04AA6D !important;  /* Цвет текста для бренда */
}

.navbar.fixed-top {
    position: fixed;  /* Закрепляем меню */
    top: 0;           /* Отступ сверху */
    left: 0;
    width: 100%;
    z-index: 1000;    /* Убираем перекрытие другими элементами */
    padding-top: 15px; /* Чтобы был отступ от верхнего края экрана */
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;  /* Шрифт для ссылок навигации */
    color: #ffffff !important;  /* Белый цвет для текста ссылок */
    padding-left: 15px;  /* Отступ слева */
    padding-right: 15px;  /* Отступ справа */
}
/* ============================================================================= */

/* Стили для заголовков h1, h2, h3, h4, h5, h6 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;  /* Шрифт для заголовков */
    font-weight: 600;  /* Жирность текста */
    opacity: 0;  /* Изначальная непрозрачность, скрыто */
    transform: scale(0.95);  /* Начальный масштаб, чуть уменьшены */
    animation: scaleFadeIn 0.8s ease-out forwards;  /* Анимация появления */
}

/* Стили для абзацев */
p {
    font-family: 'Open Sans', sans-serif;  /* Шрифт для абзацев */
    font-size: 16px;  /* Размер шрифта для абзацев */
    color: #000000;  /* Цвет текста абзацев */
}

/* Анимация для заголовков */
@keyframes scaleFadeIn {
    to {
        opacity: 1;  /* Устанавливаем полную непрозрачность */
        transform: scale(1);  /* Устанавливаем нормальный размер */
    }
}

/* Стили для шапки сайта (header) */
.seo-header {
  position: relative;
  width: 100%;
  height: 100vh; /* Баннер на весь экран */
  max-height: 850px; /* Фиксированная высота */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.seo-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.seo-header-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: left;
  color: #fff;
  font-family: 'Raleway', sans-serif;
}

.seo-header-inner h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.green-text {
  color: #04AA6D;
}

.orange-text {
  color: #ffa400;
}

.seo-header-inner p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 520px;
}

.seo-btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: #04AA6D;
  color: white;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.seo-btn:hover {
  background-color: #038d5d;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .seo-header {
    padding: 80px 20px 40px;
    text-align: center;
    justify-content: center;
  }

  .seo-header-inner {
    padding: 20px;
    margin: 0 auto;
    text-align: center;
  }

  .seo-header-inner h1 {
    font-size: 2rem;
  }

  .seo-header-inner p {
    font-size: 1rem;
  }
}

/* Десктопная версия */
@media (min-width: 769px) {
  .seo-header {
    justify-content: flex-start; /* Контент слева */
    padding-left: 60px; /* Отступ слева */
  }

  .seo-header-inner {
    text-align: left;
    max-width: 600px;
  }

  .seo-header-inner h1 {
    font-size: 64px; /* Крупный заголовок */
  }

  .seo-header-inner p {
    font-size: 22px;
  }

  .seo-btn {
    font-size: 18px;
    padding: 16px 32px;
  }
}

/* Стили для кнопок */
.btn {
    font-family: 'Open Sans', sans-serif;  /* Шрифт для кнопок */
    font-size: 16px;  /* Размер шрифта для кнопок */
}

/* Стили для всех ссылок */
a {
    text-decoration: none;  /* Убираем подчеркивание */
}

/* Дополнительные настройки для изображений */
img {
    max-width: 100%;  /* Ограничиваем максимальную ширину изображений */
    height: auto;  /* Автоматически регулируем высоту */
}

/* Стили для контейнеров */
.container {
    width: 100%;
    max-width: 1140px;  /* Максимальная ширина контейнера */
    margin: 0 auto;  /* Выравнивание контейнера по центру */
    padding: 0 15px;  /* Отступы с боков */
}

/* Стили для анимации при прокрутки */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
  }
  
/* Стили для виджета позвонить 
=============================================================================*/
.call-widget {
    position: fixed;
    bottom: 50px;
    right: 40px;
    z-index: 9999; /* Увеличиваем z-index */
}

.call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #04AA6D; /* Зеленый-с прокрутки */
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    position: relative;
}

.call-button:hover {
    transform: scale(1.1);
}

.call-button img {
    width: 45px; /* Изменяем размер иконки */
    height: 45px; /* Изменяем размер иконки */
    vertical-align: middle; /* Выравниваем иконку по вертикали */
}

.tooltip {
    position: absolute;
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    top: 50%; /* Центрируем по вертикали */
    left: -210px; /* Располагаем слева от кнопки с отступом */
    transform: translateY(-50%); /* Центрируем по вертикали */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.call-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/* Медиа-запрос для мобильных устройств (ширина экрана до 768px) */
@media (max-width: 768px) {
    .call-button {
        width: 60px; /* Уменьшаем ширину кнопки */
        height: 60px; /* Уменьшаем высоту кнопки */
    }

    .call-button img {
        width: 35px; /* Уменьшаем ширину иконки */
        height: 35px; /* Уменьшаем высоту иконки */
    }

    .tooltip {
        left: -200px; /* Корректируем положение подсказки */
    }
}
/* ============================================================================= */

/* Стиль для блока SEO-оптимизации */
.seo-block {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.seo-block-inner {
  display: inline-block;
  background: #fff;
  color: #212529;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 6px solid transparent;
  border-image: linear-gradient(to right, #04AA6D, #000000) 1;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}
.seo-block-inner:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* чуть сильнее тень при наведении */
}

/* Заголовок H2 */
.seo-block h2 {
    font-family: 'Raleway', sans-serif;  /* Шрифт для заголовка */
    font-size: 2rem;  /* Размер шрифта */
    color: #000000;  /* Цвет заголовка */
    font-weight: 700;  /* Жирность */
    margin-bottom: 20px;  /* Отступ снизу */
    text-align: center;  /* Центрируем текст */
}

/* Описание */
.seo-block p {
    font-family: 'Open Sans', sans-serif;  /* Шрифт для текста */
    font-size: 1rem;  /* Размер шрифта */
    color: #000000;  /* Цвет текста */
    line-height: 1.6;  /* Высота строки */
    text-align: center;  /* Центрируем текст */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .seo-block {
        padding: 20px 15px;  /* Уменьшаем отступы на мобильных */
    }

    .seo-block h2 {
        font-size: 1.5rem;  /* Уменьшаем размер заголовка на мобильных */
    }

    .seo-block p {
        font-size: 0.9rem;  /* Уменьшаем размер текста на мобильных */
    }
}
/* ============================================================================= */
/* Преимущества SEO-продвижения */
.seo-benefits {
    text-align: center;
    padding: 30px 20px 30px; /* было 80px снизу, стало 30px */
    background-color: #f9f9f9;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
  }
  
  .seo-benefits.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .seo-benefits h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #222;
  }
  
  .benefits-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .benefit-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px 20px;
    width: 300px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
  }
  
  .benefit-card:hover {
    transform: translateY(-5px);
  }
  
  .benefit-card i {
    font-size: 40px;
    color: #04AA6D;
    margin-bottom: 15px;
  }
  
  .benefit-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .benefit-card p {
    font-size: 16px;
    color: #666;
  }
  
/* ============================================================================= */

/* Наш подход к SEO */
.seo-approach-simple {
  max-width: 1000px;
  padding: 40px 20px;
  text-align: left;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  margin: 0 auto; /* Центрируем блок */
}

.seo-approach-simple.show {
  opacity: 1;
  transform: translateY(0);
}

.seo-approach-simple h2 {
  font-size: 32px;
  color: #212529;
  text-align: center;
  margin-bottom: 40px;
}

/* Стиль для .step-header для выравнивания иконки и заголовка */
.seo-approach-simple-content .step-header {
  display: flex;
  align-items: center;
  gap: 15px;  /* Расстояние между иконкой и заголовком */
}

.seo-approach-simple-content .step-header .icon {
  font-size: 30px;
  color: #04AA6D;
}

.seo-approach-simple-content .step-header h3 {
  color: #ffa400;
  margin: 0;
}

.seo-approach-simple-content .step {
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.seo-approach-simple-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .seo-approach-simple {
    padding: 30px 15px;
  }

  .seo-approach-simple h2 {
    font-size: 26px;
  }

  .seo-approach-simple-content h3 {
    font-size: 18px;
  }

  .seo-approach-simple-content p {
    font-size: 15px;
  }

  /* Мобильная адаптация: Иконки слева от заголовков */
  .seo-approach-simple-content .step-header {
    flex-direction: row; /* Меняем на строку */
    align-items: center; /* Выравниваем элементы по центру */
  }

  .seo-approach-simple-content .step-header .icon {
    font-size: 28px;
    margin-right: 10px; /* Добавляем отступ справа от иконки */
  }

  .seo-approach-simple-content h3 {
    font-size: 18px;
  }

  .seo-approach-simple-content p {
    font-size: 15px;
  }
}
/* ============================================================================= */
/* Тарифы на SEO-оптимизацию текст стили */
.seo-pricing-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 40px;
  position: relative;
}

@media (max-width: 768px) {
  .seo-pricing-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

/* ============================================================================= */
.tariff-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.tariff-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  background-color: #f9f9f9;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.tariff-card:hover {
  transform: translateY(-5px);
}

.tariff-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #04AA6D;
  text-align: center;
}

.tariff-price-wrapper {
  position: relative;
  text-align: center;
  margin: 15px 0 25px;
}

.price-hint {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.tariff-card:hover .price-hint {
  opacity: 0;
}

.price-hidden {
  filter: blur(5px);
  transition: filter 0.4s ease;
  font-size: 18px;
  font-weight: bold;
  color: #212529;
}

.tariff-card:hover .price-hidden {
  filter: blur(0);
}

.tariff-toggle {
  display: block;
  margin: 0 auto;
  background-color: #ffa400;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tariff-toggle:hover {
  background-color: #e59400;
}

.tariff-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.tariff-details.open {
  max-height: 500px;
  opacity: 1;
  margin-top: 15px;
}

.tariff-details ul {
  list-style: disc inside;
  padding-left: 10px;
}

.tariff-details li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #333;
}

/* Анимированная плашка "Хит" */
.tariff-hit-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: red;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  animation: pulse 1.5s infinite;
  z-index: 2;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .tariff-card {
    max-width: 100%;
  }

  .tariff-title {
    font-size: 20px;
  }

  .price-hidden {
    font-size: 16px;
  }

  .tariff-toggle {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* ПОДВАЛ */
.footer-section {
    background-color: #000000;
    border-radius: 0 0 0 0;
    padding-bottom: 15px;
    color: #ffffff;
  }
  
  .footer-logo {
    max-width: 180px;
    height: auto;
  }
  
  .footer-link {
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-link:hover {
    text-decoration: underline;
    color: #06d78d;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .footer-social-icons {
    display: inline-block;
    padding: 10px 20px;
    border: 3px solid transparent;
    border-image: linear-gradient(to right, #04AA6D, #000000) 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-width 0.3s ease;
    animation: fadeInUp 1s ease-out 0.2s both;
  }
  
  .footer-social-icons a {
    color: #ffffff;
    margin: 0 8px;
    font-size: 22px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .footer-social-icons a:hover {
    color: #04AA6D;
    transform: scale(1.2);
  }
  
  .footer-liveinternet {
    margin-top: 10px;
  }
  
  .footer-section p {
    color: #ffffff;
  }
  
  .footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  /* Копирайт */
  .footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 30px;
  }
  
  .footer-copy-text {
    color: #ffffff;
  }
  
  .footer-copy-text a {
    color: #04AA6D;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
  }
  
  .footer-copy-text a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #3399ff;
    transition: width 0.3s ease;
  }
  
  .footer-copy-text a:hover {
    color: #3399ff;
    transform: scale(1.05);
  }
  
  .footer-copy-text a:hover::after {
    width: 100%;
  }