/* ====================================
   Обнуление и базовые стили
   ==================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #222;
}

body {
  background-color: #f9f9f9;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Утилитарные классы */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  padding: 0;
}

/* ====================================
   Цвета и шрифты (Esquire-стиль)
   ==================================== */
:root {
  --color-primary: #0056b3; /* насыщенный синий акцент */
  --color-dark: #111111;
  --color-light: #f2f2f2;
  --color-gray: #555555;
  --font-heading: Georgia, serif;
  --font-body: Arial, sans-serif;
}

/* ====================================
   Стили для заглушек (плейсхолдеров)
   ==================================== */
/* Блок-заглушка вместо изображения */
.img-placeholder {
 
  width: 100%;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: "";
  display: block;

}

/* Круглая заглушка для аватара клиента */
.avatar-placeholder {

  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* ====================================
   Навигация
   ==================================== */
.site-header {
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-list--left li,
.nav-list--right li {
  margin: 0 1rem;
}

.nav-list--left li a,
.nav-list--right li a,
.nav-list--left li button,
.nav-list--right li button {
  font-size: 0.95rem;
  color: var(--color-dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-list--left li a:hover,
.nav-list--right li a:hover,
.nav-list--left li button:hover,
.nav-list--right li button:hover {
  color: var(--color-primary);
}

/* Логотип по центру */
.logo a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-dark);
}

/* Кнопки */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: center;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  background-color: var(--color-primary);
  color: white;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: white;
  color: var(--color-primary);
}

/* Мобильное меню */
.nav-mobile {
  display: none;
  background-color: white;
  border-top: 1px solid #e0e0e0;
}

.nav-mobile .nav-list {
  flex-direction: column;
  padding: 1rem;
}

.nav-mobile .nav-list li {
  margin: 0.5rem 0;
}

/* Кнопка-гамбургер */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* ====================================
   Герой-секция
   ==================================== */
.hero {
  background-color: white;
  padding: 4rem 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}

/* ====================================
   Информационные блоки
   ==================================== */
.info-block {
  padding: 4rem 0;
  background-color: var(--color-light);
}
/* ====================================
   Responsible Play section
   ==================================== */
.responsible-play {
  padding: 4rem 0;
  background-color: transparent; /* фон секции можно оставить пустым или задать свой */
}

.responsible-play .section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 2rem;
}

.rp-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;               /* примерно соответствует Tailwind gap-6 */
  margin-bottom: 2.5rem;     /* примерно соответствует Tailwind mb-10 */
  background-color: rgba(255, 255, 255, 0.5); /* белый с 50% прозрачностью */
  border-radius: 1rem;       /* примерно соответствует Tailwind rounded-xl */
  padding: 1.25rem 0;        /* примерно соответствует Tailwind py-5 */
}

.rp-links a,
.rp-links img {
  display: inline-flex;
}

.rp-icon {
  height: 3rem; /* примерно соответствует Tailwind h-12 */
  width: auto;
}

/* Адаптивность (если нужно подложить отступы на очень узких экранах) */
@media (max-width: 480px) {
  .rp-links {
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
  }
  .rp-icon {
    height: 2.5rem;
  }
}
.rp-text,
.rp-footer-text {
  text-align: center;
  font-size: 1rem;
  color: var(--color-dark);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.rp-footer-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.rp-footer-text a:hover {
  color: var(--color-dark);
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1rem;
  color: var(--color-gray);
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-row--reverse {
  flex-direction: row-reverse;
}

.info-image,
.info-content {
  flex: 1;
}

.info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.info-text {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ====================================
   Отзывы
   ==================================== */
.testimonials {
  padding: 4rem 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: var(--color-light);
  padding: 1.5rem;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  font-size: 1.1rem;
  color: #f5a623;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
  min-height: 60px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.author-photo {
  display: inline-block;
}

.author-name {
  font-size: 0.95rem;
  color: var(--color-dark);
  font-weight: bold;
}

/* ================================
   FAQ (плашки)
   ================================ */
.faq {
  padding: 4rem 0;
  background-color: var(--color-light);
}

.faq .section-title {
  margin-bottom: 2rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* ====================================
   Cookie Consent Modal (центрированная плашка)
   ==================================== */
.cookie-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* полупрозрачный тёмный фон */
  display: none; /* по умолчанию скрыт */
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.cookie-modal {
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  max-width: 400px;
  width: 90%;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-modal__text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #333333;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cookie-modal__link {
  color: var(--color-primary);
  text-decoration: underline;
  margin-left: 0.25rem;
}

.cookie-modal__link:hover {
  color: var(--color-dark);
}

.cookie-modal__button {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-modal__button:hover {
  background-color: #004494; /* чуть темнее primary */
}

/* Адаптивность для очень узких экранов */
@media (max-width: 360px) {
  .cookie-modal {
    padding: 0.75rem 1rem;
  }
  .cookie-modal__text {
    font-size: 0.85rem;
  }
  .cookie-modal__button {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

.faq-item {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

/* При наведении — лёгкая тень */
.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Кнопка-вопрос */
.faq-question {
  width: 100%;
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ================================
   About Us Section
   ================================ */
.about-us {
  padding: 4rem 0;
  background-color: white;
}

.about-us .section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.about-us-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-us-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.about-us-text p {
  margin-bottom: 1rem;
}

.about-us-image {
  flex: 1;
  text-align: center;
}

.about-us-image .img-placeholder {
  background-color: #e0e0e0;
  width: 100%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
/* ================================
   Responsible Gambling Section
   ================================ */
.responsible-gambling {
  padding: 4rem 0;
  background-color: #f7f7f7;
}

.responsible-gambling .section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.rg-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.6;
}

.rg-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.rg-content p {
  margin-bottom: 1rem;
}

.rg-content ul {
  list-style: disc inside;
  margin-bottom: 1rem;
}

.rg-resources a {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  text-decoration: underline;
}

.rg-resources a:hover {
  color: var(--color-dark);
}

.rg-footer-text {
  margin-top: 2rem;
  text-align: center;
}
/* ====================================
   Contact Us Section
   ==================================== */
.contact-us {
  padding: 4rem 0;
  background-color: #ffffff;
}

.contact-us .section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-us .section-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Форма: общий контейнер */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Ряд внутри формы (для колонок) */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Группа «метка + поле» */
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Когда поле должно занимать всю ширину */
.form-group.full-width {
  flex: 1 1 100%;
}

/* Стили для label */
.form-group label {
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

/* Стили для input и textarea */
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: #fdfdfd;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999999;
}

/* Фокус на поле */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

/* Кнопка отправки */
.btn--contact-submit {
  align-self: flex-end;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

/* Ховер на кнопку */
.btn--contact-submit:hover {
  background-color: #ffffff;
  color: var(--color-primary);
}

/* Медиазапросы для адаптивности */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .btn--contact-submit {
    width: 100%;
    text-align: center;
  }
}

/* ====================================
   Modal Styles (тот же паттерн, что и ранее)
   ==================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;           /* изначально скрыт */
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.active {
  display: flex;           /* показываем, когда добавят класс .active */
}

.modal-content {
  background-color: #ffffff;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.modal-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.5;
}

.close-button {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-gray);
  cursor: pointer;
  transition: color 0.3s;
}

.close-button:hover {
  color: var(--color-dark);
}

.rg-footer-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.rg-footer-text a:hover {
  color: var(--color-dark);
}

/* Адаптивность */
@media (max-width: 768px) {
  .rg-content {
    padding: 0 1rem;
  }
}

.about-us-image .img-placeholder::before {
  content: "";
  display: block;
}
/* ====================================
   Lottery Results Section
   ==================================== */
.lottery-results {
  padding: 4rem 0;
  background-color: #fafafa;
}

.lottery-results .section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ====================================
   Lottery Card
   ==================================== */
.lottery-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.lottery-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lottery-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.draw-date {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.number,
.ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #ffffff;
}

.number {
  background-color: var(--color-primary);
}

.ball {
  background-color: #555555;
}

.prize {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 500;
}

/* ====================================
   Responsive Adjustments
   ==================================== */
@media (max-width: 576px) {
  .lottery-card {
    padding: 1rem;
  }
  .number,
  .ball {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .about-us-content {
    flex-direction: column;
    text-align: center;
  }
  .about-us-text {
    max-width: 100%;
  }
}

/* Иконка плюс/минус справа */
.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s;
}

/* Блок-ответ, изначально скрыт */
.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
  background-color: #FAFAFA;
}

/* Когда .faq-item имеет класс .active — показываем ответ */
.faq-item.active .faq-answer {
  display: block;
}

/* Поворот иконки при открытии */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Точка останова: если нужно убрать внутренние отступы на мобильных */
@media (max-width: 768px) {
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}
/* ================================
   Responsible Gambling Guidelines Section
   ================================ */
.responsible-gambling-guidelines {
  padding: 4rem 0;
  background-color: #f7f7f7;
}

.responsible-gambling-guidelines .section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 1rem;
}

.responsible-gambling-guidelines .section-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.responsible-gambling-guidelines h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.responsible-gambling-guidelines p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.responsible-gambling-guidelines ul {
  list-style: disc inside;
  margin-bottom: 1rem;
}

.responsible-gambling-guidelines ul li {
  margin-bottom: 0.5rem;
}

.rg-guidelines-resources a {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  text-decoration: underline;
}

.rg-guidelines-resources a:hover {
  color: var(--color-dark);
}

.rg-guidelines-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--color-gray);
}

.rg-guidelines-footer a {
  color: var(--color-primary);
  text-decoration: underline;
}

.rg-guidelines-footer a:hover {
  color: var(--color-dark);
}

/* Адаптивность */
@media (max-width: 768px) {
  .responsible-gambling-guidelines .section-title {
    font-size: 1.75rem;
  }
  .responsible-gambling-guidelines .section-text {
    font-size: 0.95rem;
    padding: 0 1rem;
  }
  .responsible-gambling-guidelines h3 {
    font-size: 1.1rem;
  }
  .rg-guidelines-resources a {
    font-size: 0.95rem;
  }
}

/* ====================================
   Статистика
   ==================================== */
.stats {
  padding: 3rem 0;
  background-color: white;
}

.stats-wrapper {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 1rem;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-gray);
}

/* ====================================
   Блок с формой подписки
   ==================================== */
.subscribe {
  padding: 4rem 0;
  background-color: var(--color-light);
}

.subscribe-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.subscribe-text {
  flex: 1;
}

.subscribe-image {
  flex: 1;
  text-align: center;
}

.subscribe-form {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.subscribe-form button {
  white-space: nowrap;
}

/* ====================================
   Финальный призыв
   ==================================== */
.final-cta {
  padding: 4rem 0;
  background-color: white;
}

.icons-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 120px;
}

.icon-circle {
  font-size: 2rem;
  background-color: var(--color-light);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.icon-text {
  font-size: 0.95rem;
  color: var(--color-gray);
  text-align: center;
}

/* ====================================
   Футер
   ==================================== */
.site-footer {
  background-color: #111111;
  color: white;
  padding: 2rem 0 1rem;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-nav-list li {
  margin: 0 0.75rem;
}

.footer-nav-list li a,
.footer-nav-list li button {
  font-size: 0.95rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-nav-list li a:hover,
.footer-nav-list li button:hover {
  color: var(--color-primary);
}

.footer-copy {
  font-size: 0.85rem;
  color: #bbbbbb;
}

/* ====================================
   Медиазапросы для адаптивности
   ==================================== */
@media (max-width: 1024px) {
  .hero-wrapper,
  .subscribe-wrapper,
  .stats-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .info-row,
  .info-row--reverse {
    flex-direction: column;
    text-align: center;
  }

  .info-row--reverse {
    flex-direction: column;
  }

  .icons-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Показываем кнопку-гамбургер */
  .nav-toggle {
    display: block;
  }

  /* Прячем обычную навигацию */
  .nav-primary,
  .nav-secondary {
    display: none;
  }

  /* Мобильное меню */
  .nav-mobile {
    display: none; /* по умолчанию скрыто, появляется при клике */
  }

  /* Герой-секция */
  .hero-wrapper {
    flex-direction: column;
  }

  /* Инфо-блоки */
  .info-row,
  .info-row--reverse {
    flex-direction: column;
  }

  /* Подписка */
  .subscribe-wrapper {
    flex-direction: column;
  }

  /* Статистика */
  .stats-wrapper {
    flex-direction: column;
  }

  /* FAQ */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Отзывы */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Показать мобильное меню при активном классе */
.nav-mobile.active {
  display: block;
}

/* Показать ответ в FAQ при активном классе */
.faq-item.active .faq-answer {
  display: block;
}

/* ====================================
   Стили для модальных окон
   ==================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.close-button {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-gray);
  cursor: pointer;
  transition: color 0.3s;
}

.close-button:hover {
  color: var(--color-dark);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.btn--modal-submit {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.6rem 0;
  font-size: 1rem;
}

.modal-message {
  font-size: 1rem;
  color: var(--color-dark);
  text-align: center;
  margin-top: 1rem;
}
