@font-face {
  font-family: 'YandexSansText';
  src: url('../fonts/YS Text-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'YandexSansText';
  src: url('../fonts/YS Text-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'YS Text', 'Segoe UI', sans-serif;
  color: #1f1f1f;
  background-color: #fff;
}

header {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 16px;
}


.region-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.region-list div {
  flex: 1 1 22%; /* 4 колонки */
  min-width: 120px;
}

.region-list a {
  display: block;
  margin: 8px 0;
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

.region-list a:hover {
  text-decoration: underline;
}

.region-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 20px;
  background-color: #fff;
  font-size: 13px; /* уменьшенный шрифт */
  border-bottom: 1px solid #ddd;
}

.region-label {
  font-weight: 500;
  font-size: 13px;
}

.region-name {
  font-weight: bold;
  color: #000; /* чёрный цвет */
  cursor: pointer;
  font-size: 13px;
}

.change-region-btn {
  padding: 4px 10px;
  font-size: 12px;
  background-color: #e2e8f0;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  cursor: pointer;
}

.change-region-btn:hover {
  background-color: #cbd5e0;
}
.region-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: middle;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-text {
  font-size: 28px;
  font-weight: 600;
  color: #2ea843;
  white-space: nowrap;
  text-decoration: none;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transform: translateY(-4px);
  z-index: 1100;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1f1f1f;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.header__nav-wrapper {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.header__nav-wrapper.active {
  display: flex;
}

.header__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.header__nav a {
  position: relative;
  padding: 6px 10px;
  white-space: nowrap;
  font-size: 16px;
  text-decoration: none;
  color: #1f1f1f;
  transition: color 0.3s ease;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px; /* сдвиг вниз */
  height: 2px;
  background-color: #2ea843;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.header__nav a:hover::after {
  transform: scaleX(1);
}

.header__nav a:hover {
  color: #2ea843;
}
.header__nav a.active::after {
  transform: scaleX(1);
}
.header__nav a.active {
  color: #2ea843;
}

.header__right {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.header__right.active {
  display: flex;
}

.phone {
  font-weight: 500;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 15px;
}

.messengers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  transition: 0.2s ease;
}
.icon:hover {
  opacity: 1;
}
.icon.telegram {
  background-image: url('../images/telegram.png');
}
.icon.whatsapp {
  background-image: url('../images/whatsapp.png');
}
.icon.email {
  background-image: url('../images/mail.png');
}

.btn-primary {
  background-color: #f4c542;
  color: #1f1f1f;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 24px;
}

.btn-primary:hover {
  background-color: #d6a623;
}

.container {
  padding: 40px 32px;
  max-width: 960px;
  margin: auto;
}

.hero {
  position: relative; 
  width: 100%;
  min-height: 600px;
  background-image: url('../images/fuel.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 32px;
}

.hero-content {
  flex: 1;
  width: 100%;
  padding: 0;
}

.hero-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  margin-bottom: 28px;
}

.hero-title .desktop-only {
  display: block;
  font-size: 52px;
}

.hero-title .mobile-only {
  display: none;
  font-size: 28px;
  text-align: left;
}

.hero-subtitle {
  color: #fff;
  font-size: 18px;
  max-width: 540px;
  margin-top: 8px;
  margin-bottom: 30px;
}
.price-inner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* Стили для блока с ценами */
.price-widget {
  margin-top: 40px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px 32px;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-sizing: border-box;
  max-width: 360px;       /* или другая нужная ширина */
  margin-left: auto;      /* прижимает блок к правому краю */
  text-align: right;
}

/* Стили для заголовка */
#priceTitle {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 16px;
  text-align: center;
}

/* Стили таблицы */
.price-widget table {
  width: 100%;
  border-collapse: collapse;
}

.price-widget td {
  padding: 12px 8px;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-widget td:first-child {
  text-align: left;
}

.price-widget td:last-child {
  text-align: right;
}
.price-date {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.5rem;
}

/* === О компании === */
.about {
  width: 100%;
  background-color: #f9f9f9;
  padding: 60px 0;
  margin-top: 0;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 16px;
}

.about-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1f1f1f;
  text-align: center;
}

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

.about-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box; /* 🔹 важно */
  width: 100%;            /* 🔹 важно */
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-card .emoji {
  font-size: 24px;
  margin-bottom: 8px;
  display: inline-block;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f1f1f;
}

.about-card p {
  font-size: 14px;
  color: #444;
}

/* === РЕШЕНИЯ === */
.solutions {
  background-color: #ffffff;
  padding: 60px 0;
}

.solutions-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 16px;
}

.solutions-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #1f1f1f;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.tab {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  background-color:transparent;
  color: #1f1f1f;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.tab:focus{outline:none;}

.tab:hover {
  background-color: #e4e4e4;
}

.tab.active {
  background-color: #f4c542;
  color: #1f1f1f;
}

.tab-content {
  display: none;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tab-content.active {
  display: flex;
}
.solutions-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.solution-tabs h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.solution-tabs p {
  font-size: 14px;
  color: #444;
}
.hidden {
    display: none !important;
  }
.slide-group {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

}

.slide-card {
  background-color: #fff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  flex: 0 0 360px; scroll-snap-align: start;
  max-width: 360px;
  min-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.slide-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f1f1f;
}

.slide-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}
.slide-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

/* === ДОБАВЛЕНИЯ ДЛЯ FAQ-МОДАЛКИ === */
.faq-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px; /* ← вот это */
  color: #1f1f1f;
  text-align: center;
}
.faq-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.faq-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.faq-question {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #1f1f1f;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  color: #2ea843;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  margin-top: 12px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.faq-item.active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  width: 90%;
  max-width: 600px;
  background-color: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon::before {
  content: "−";
}

/* Удалить или переопределить старые .faq-answer и .faq-item.open стили */
.faq-item.open .faq-answer, .faq-item.open .faq-icon {
  display: none;
}
.faq-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.faq-popup-overlay.visible {
  display: flex;
}

.faq-popup-content {
  background-color: #fff;
  padding: 32px;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  position: relative;
  text-align: left;
}

.faq-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}
#faqPopupQuestion {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px; /* ← вот он */
  color: #1f1f1f;
}

#faqPopupAnswer {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* === BLOG SECTION === */
.blog-section {
  position: relative;
  background-image: url('../images/fura.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
}

.blog-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* затемнение фона */
  z-index: 1;
}
.blog-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.blog-heading {
  position: absolute;
  top: 32px;
  left: 40px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  z-index: 2;
}
.blog-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 0; /* 👈 вот сюда добавили верхний отступ */
}

/* Блок слайдера */
.blog-slider {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 16px;
}

.blog-slide {
  flex: 0 0 calc(100% / 3 - 3px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.blog-slider::-webkit-scrollbar {
  display: none; /* скрываем скроллбар */
}

.blog-slide h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1f1f1f;
}

.blog-slide p {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

.blog-slide a {
  color: #2ea843;
  text-decoration: none;
  font-weight: 600;
}

.blog-slide a:hover {
  text-decoration: underline;
}

/* === Контакты === */
.contacts {
  background-color: #f9f9f9;
  padding: 60px 0;
}
.contacts-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 16px;
}

.contacts-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
  color: #1f1f1f;
}

.contacts-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacts-info {
  font-size: 16px;
  color: #1f1f1f;
  line-height: 1.5;
}

.contacts-info a {
  color: inherit;
  text-decoration: none;
}

.contacts-info a:hover {
  text-decoration: none;
}

.contacts-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.styled-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contacts .btn-primary {
  margin-top: 20px;
  display: inline-block;
}
.company-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}


/* === ФУТЕР === */
footer {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid #eee;
}


/* === ДЕСКТОПНАЯ ВЕРСИЯ === */
@media (min-width: 769px) {
  header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
  }

  .burger {
    display: none !important;
  }

  .header__nav-wrapper {
    display: flex !important;
    justify-content: flex-start;
  }

  .header__nav {
    flex-direction: row;
  }

  .header__right {
    display: flex !important;
    flex-direction: row;
  }

  .phone {
    margin-right: 12px;
  }

  .hero {
    position: relative;   /* 👈 фиксируем контекст позиционирования */
  }

  .hero-title .desktop-only {
    display: block;
  }

  .hero-title .mobile-only {
    display: none;
  }
  .contacts-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }

  .contacts-info {
    flex: 1;
    max-width: 33.3333%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 🔹 по вертикали */
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .contacts-info p {
    margin-bottom: 12px;
  }

  .contacts-info .btn-primary {
    align-self: center; /* 🔹 по горизонтали */
  }

  .contacts-map {
    flex: 2;
    max-width: 66.6667%;
    padding-left: 32px;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }
  /* Переиспользуем стили и усиливаем селектор */
  .messengers-contacts {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .messengers-contacts .icon {
    width: 28px;
    height: 28px;
    opacity: 0.9;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.2s ease;
  }

  .messengers-contacts .icon:hover {
    opacity: 1;
  }

}

/* === МОБИЛЬНАЯ ВЕРСИЯ === */
@media (max-width: 768px) {
  header {
    border-radius: 0 0 12px 12px; /* только нижние углы */
  }

  .logo-text {
    font-size: 24px;
    color: #2ea843;
    font-weight: 600;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding: 0 24px;
  }

  .hero-title {
    align-items: flex-start;
    text-align: left;
  }

  .hero-title .desktop-only {
    display: none;
  }

  .hero-title .mobile-only {
    display: block;
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
    text-align: left;
    margin-top: 8px;
  }

  .btn-primary {
    align-self: flex-start;
    margin-top: 20px;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .about-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .about-card {
    padding: 16px;
  }

  .about-inner {
    padding: 40px 16px;
  }
  .consent-popup-inner {
    width: 92%;
    max-width: none;
  }

  .contacts-map iframe {
    height: 300px;
  }

  .contact-icon {
    width: 16px;
    height: 16px;
  }
  .contacts-info {
    font-size: 14px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  .contacts-info span.copyable {
    text-decoration: none !important;
    border: none !important;
    color: inherit;
  }
  .messengers-contacts {
    justify-content: flex-start;
    margin-left: 0;
    margin-top: 16px;
  }
  .tab-content {
    flex-direction: column;
  }

  .solution-card {
    flex: 1 1 100%;
  }
  .slide-group {
    flex-direction: column;
    align-items: center;
  }

  .slide-card {
    width: 100%;
    max-width: 100%;
  }
  .slide-icon {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    display: block;
    object-fit: contain;
  }
   .blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
  }

  .blog-slider {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    padding: 0 16px;
    gap: 16px;
  }

  .blog-section .inner {
    padding: 0 16px;
  }

  .blog-slider::-webkit-scrollbar {
    display: none; /* скрываем скроллбар */
  }
}

/* === Форма обратной связи === */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  font-family: 'YS Text', sans-serif;
}

.modal-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #1f1f1f;
}

.modal-content label {
  display: block;
  margin-bottom: 6px;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 500;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal .btn-primary {
  background-color: #f4c542;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal .btn-primary:hover {
  background-color: #d6a623;
}

.consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin: 16px 0 24px;
  color: #1f1f1f;
  flex-wrap: nowrap;
}
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 20px;           /* фиксированная ширина */
  min-width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
}

.consent-checkbox input[type="checkbox"] {
  display: block;
  margin: 0;
  padding: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  appearance: checkbox; /* сброс Safari */
  -webkit-appearance: checkbox;
}

.consent-link {
  text-decoration: underline;
  color: #007bff; /* классический синий */
  cursor: pointer;
}

.consent-link:hover {
  color: #0056b3; /* тёмно-синий при наведении */
}

.consent-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.consent-popup-inner {
  background-color: #fff;
  max-width: 400px;
  width: 90%;
  padding: 24px;
  border-radius: 12px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}

.consent-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

.contacts-info .btn-primary {
  color: #1f1f1f; /* основной текстовый цвет */
  text-decoration: none; /* убираем подчёркивание */
}
.contacts-info .btn-primary:hover {
  text-decoration: none;
}

.copyable {
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.copyable::after {
  content: "Скопировано!";
  position: absolute;
  top: -24px;
  left: 0;
  background-color: #2ea843;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.copyable.copied::after {
  opacity: 1;
}
.faq-toggle-btn {
  margin-top: 24px;
  text-align: center;
  display: none; /* по умолчанию скрыта */
}

@media (max-width: 768px) {
  .faq-toggle-btn {
    display: block; /* показывать только на мобильных */
  }
}

.faq-toggle-btn img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.faq-toggle-btn img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Скрываем лишние элементы на мобилке */
@media (max-width: 768px) {
  .faq-item.hidden-mobile {
    display: none;
  }
}

@media (max-width: 1024px) {
  .blog-slide {
    flex: 0 0 calc(100% / 2 - 0.1px);
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .region-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .region-list > div {
    flex: 0 0 48%; /* две колонки на маленьких экранах */
  }

  .modal-content {
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
  }
}
/* accessibility helper */
[hidden] { display: none !important; }
