:root {
    --wx-secondary: #F2A800; /* Оранжевый */
}

/* Базовые стили */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
/* Логотип */
.logo img {
    width: 75px;
    height: 75px;
  }



/* === Fake button === */
.fake-button {
  display: inline-block;
  background-color: #F2A800; /* оранжевый фон */
  color: #fff;               /* белый текст */
  padding: 10px 20px;        /* внутренние отступы */
  border-radius: 8px;        /* скругление углов */
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  user-select: none;
  pointer-events: none;      /* не кликабельно */
}

/* === Navbar === */
.navbar {
  background-color: rgba(240, 240, 240, 0.9);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.05);
}

/* === Mega Menu === */
.mega-dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; font-weight: 600; user-select: none; }

.main-dropdown-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
  padding: 80px 0;
}

.main-dropdown-menu.active {
  visibility: visible;
  opacity: 1;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}

/* === Row layout === */
.main-dropdown-menu__row {
  background: #fff;
  border-radius: 16px;
  max-width: 1240px;
  max-height: 80vh;
  margin: 0 auto;
  padding: 28px 48px;
  display: grid;
  grid-template-columns: 300px 1fr; /* Левая колонка + правая */
  grid-template-rows: auto min-content; /* вторая строка минимальной высоты */
  gap: 15px 40px; /* вертикальный gap уменьшен до 15px (было 20px) */
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Левая колонка */
.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* прижимаем к верху */
  gap: 20px;
}

/* Верхняя правая колонка "Эвакуация" */
.shift-left {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin-bottom: 60; /* убираем лишний отступ снизу */
}

/* Нижний ряд — минимальный отступ сверху */
.bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column: 2;
  grid-row: 2;
  gap: 20px;
  margin-top: 0; /* убираем отступ сверху */
  padding-top: 0;
}

.bottom-row .left,
.bottom-row .center,
.bottom-row .right {
  text-align: left;
}

.bottom-row h3.main-dropdown-menu-link__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111; /* черный заголовок */
}

.bottom-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bottom-row ul li {
  margin-bottom: 6px;
}

.bottom-row ul li a {
  color: #666 !important; /* серый текст под заголовком */
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.bottom-row ul li a:hover {
  color: var(--wx-secondary, #ff6600);
}

/* === Эвакуация: сетка ссылок === */
.links-col-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  grid-auto-rows: auto;
  gap: 10px 40px;
}

.main-dropdown-menu-links-wrap ul {
  list-style: none;
  margin:0;
  padding:0;
}

.main-dropdown-menu-links-wrap li {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.main-dropdown-menu-links-wrap a {
  color: #777 !important;
  text-decoration:none;
  transition:0.2s;
}

.main-dropdown-menu-links-wrap a:hover {
  color: var(--wx-secondary,#ff6600) !important;
}

.main-dropdown-menu-link__title {
  margin-bottom:16px;
  font-size:16px; /* заголовки 16px */
  font-weight:600;
  color:#111; /* черный цвет */
}

/* === Select styles === */
.selects select {
  width: 100%;
  padding: 12px;
  margin-bottom:16px;
  border-radius:8px;
  border:1px solid #ddd;
  font-size:14px;
  background:#fafafa;
}

/* === Navbar menu === */
.nav-menu {
  display:flex;
  gap:25px;
}

.nav-menu > ul {
  display:flex;
  gap:25px;
  list-style:none;
  margin:0;
  padding:0;
}

.nav-menu ul li a {
  color:#000;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}

.nav-menu ul li a:hover { color: var(--wx-secondary); }

/* === Button === */
.btn-order {
  background:transparent;
  color:#000;
  border:2px solid #000;
  padding:10px 20px;
  border-radius:25px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}

.btn-order:hover {
  background: var(--wx-secondary);
  color:#fff;
  border-color: var(--wx-secondary);
}

/* === Burger === */
.burger {
  display:none;
  width:30px;
  height:22px;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
  z-index:1001;
}

.burger span {
  display:block;
  height:3px;
  background:#000;
  border-radius:2px;
  transition:0.3s;
}

.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);}

/* === Container === */
.container {
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}



@media (max-width:768px){
  .burger{display:flex;}
  .nav-menu{
    position:fixed;top:0;right:-100%;width:100%;height:100%;background:rgba(0,0,0,0.8);
    display:flex;flex-direction:column;align-items:center;justify-content:center;transition:right 0.3s;z-index:1000;backdrop-filter:blur(5px);
  }
  .nav-menu.active{right:0;}
  .nav-menu ul{flex-direction:column;gap:10px;text-align:center;}
  .nav-menu ul li a{color:#fff;font-size:14px;font-weight:500;text-decoration:none;transition:all 0.2s ease;}
  .nav-menu ul li a:hover{color:#ffb347; transform:translateX(5px);}
  .nav-menu .menu-btn-wrapper{margin-top:30px;text-align:center;}
  .nav-menu .menu-btn-wrapper .btn-order{
    border:2px solid #fff;color:#fff;background:transparent;padding:8px 18px;border-radius:25px;font-size:14px;transition:all 0.3s;
  }
  .nav-menu .menu-btn-wrapper .btn-order:hover{background-color:rgb(223,117,41);color:#fff;border-color:#fff;}

  .main-dropdown-menu__row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    margin-bottom: 1.2rem;
  }
  .main-dropdown-menu.active {
    background: #dc3545; /* серый прозрачный фон на телефоне */
    backdrop-filter: none; /* можно убрать blur, если нужно */
  }

  .shift-left {
    grid-column: unset;
    grid-row: unset;
  }

  .bottom-row {
    grid-column: unset;
    grid-row: unset;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 1.2rem;
  }

  .bottom-row .left,
  .bottom-row .center,
  .bottom-row .right {
    text-align: left;
  }

  .bottom-row .left > ul,
  .bottom-row .center > ul,
  .bottom-row .right > ul {
    text-align: left;
  }
  .shift-left > h3 {
    text-align: left;
  }
  .main-dropdown-menu-links-wrap > ul {
    text-align: left;
  }

  .wrapper {
    display: flex;	  
    
    
    gap: 20px;
  }

  .links-col-3 {
    grid-template-columns: 1fr; /* Эвакуация по одной колонке */
    gap: 10px 0;
    
  }
}

@media (min-width: 769px) {
  .burger,
  .burger.active {
    display: none !important;
  }
}

/* === Fade animation === */
@keyframes fadeIn {
  from {opacity:0; transform:translateY(-10px);}
  to {opacity:1; transform:translateY(0);}
}


/* Секция Hero */
.hero {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.hero-container {
    background: rgba(240, 240, 240, 0.9);
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    transition: background 0.4s ease;
}
.hero-container:hover {
    background: rgba(212, 211, 211, 0.9);
}

/* Текст */
.hero-text {
    flex: 1;
    color: #000;
}
.hero-text h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.4s ease;
}
.hero-text h2 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333;
    transition: color 0.4s ease;
}

/* Меняем цвет текста при наведении */
/* .hero-container:hover .hero-text h1,
.hero-container:hover .hero-text h2 {
    color: #fff;
} */

/* Кнопка */
.hero-btn {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    border: 2px solid #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.hero-btn:hover {
    background-color: var(--wx-secondary);
    border-color: var(--wx-secondary);
    color: #fff;
}

/* 3D модель */
.hero-model {
    flex: 1;
    min-height: 350px;
    height: 100%;
}
.hero-model model-viewer {
    width: 100%;
    height: 350px;
    border-radius: 15px;
}
.model {
    width: 100%;
    height: 400px;
  }

/* ===== 📱 Адаптив для телефонов ===== */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 25px;
    }

    /* порядок элементов: текст → модель → кнопка */
    .hero-text {
        order: 1;
    }

    .hero-model {
        order: 2;
        width: 100%;
        min-height: 150px; /* уменьшили */
    }

    .hero-model model-viewer {
        height: 150px; /* уменьшили модель */
    }
    .model {
        width: 100%;
        height: 150px;
    }

    .hero-btn {
        order: 3;
        display: inline-block;
        margin-top: 15px;
        font-size: 14px;
        padding: 10px 20px;
    }

    .hero-text h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-text h2 {
        font-size: 12px;
        margin-bottom: 15px;
    }
}


/* Секция How to order */
.how-to-order {
  padding: 60px 20px;
  text-align: center;
}

/* Переопределяем поведение контейнера только для секции how-to-order */
.how-to-order-container {
  display: flex;
  flex-direction: column; /* вертикальный стек: заголовок -> карточки -> кнопка */
  align-items: center; /* всё по центру */
  gap: 30px; /* отступы между блоками */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* оставляем заголовок по центру */
.how-to-order .section-title {
  color: #000;
  font-size: 36px;
  font-weight: 700;
  margin: 0; /* убираем лишние отступы */
  text-align: center;
}

/* Карусель — добавлено для авто-прокрутки */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  margin-bottom: 40px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.cards {
  display: flex;
  gap: 20px;
  animation: scroll 40s linear infinite; /* авто-прокрутка */
  width: max-content;
}

.carousel-wrapper:hover .cards {
  animation-play-state: paused; /* пауза при hover */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* половина — потому что дублировали карточки */
  }
}

/* Карточки */
.card {
  position: relative;
  width: 300px;
  height: 420px;
  border-radius: 15px; /* радиус со всех сторон */
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px; /* повторяем радиус, чтобы картинка не "срезала" углы */
  transition: transform 0.3s;
}

.card:hover img {
  transform: scale(1.1);
}

.card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 78, 216, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 20px;
  text-align: center;
}

.card:hover .overlay {
  opacity: 1;
}

.card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
}

/* Кнопка снизу */
.btn-contact {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #000;
  border: 2px solid #000;
  font-weight: 600;
  border-radius: 25px;
  transition: 0.3s;
  text-decoration: none;
}

.btn-contact:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: #fff;
}

/* ===== Адаптив для телефонов ===== */
@media (max-width: 768px) {
  .how-to-order {
    padding: 40px 10px;
  }

  .how-to-order .section-title {
    font-size: 22px;
  }

  /* Карусель на телефоне */
  .cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 10px;
  }

  .card {
    width: 80vw;
    max-width: 250px;
    height: 260px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    border-radius: 15px;
    overflow: hidden;
  }

  /* Главное исправление: картинка точно по размеру карточки */
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* заполняет карточку, обрезая лишнее, но красиво */
    object-position: center; /* центр картинки всегда в центре */
    display: block;
  }

  .card .icon {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .card h3 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .card p {
    font-size: 12px;
  }

  /* Hover-эффекты на телефоне (touch) */
  .card:hover img {
    transform: none;
  }

  .card:hover .overlay {
    opacity: 1;
  }

  .btn-contact {
    font-size: 12px;
    padding: 8px 16px;
    margin-top: 10px;
  }

  /* Прячем скроллбар */
  .cards::-webkit-scrollbar {
    display: none;
  }

  .cards {
    scrollbar-width: none;
  }

  .how-to-order .cards {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 15px !important;
    padding-bottom: 10px !important;
    justify-content: flex-start !important;
  }

  .how-to-order .cards::-webkit-scrollbar {
    display: none;
  }

  .how-to-order .cards {
    scrollbar-width: none;
  }

  .how-to-order .card {
    flex: 0 0 80% !important;
    scroll-snap-align: center !important;
    height: 260px !important;
  }
}

/* ===== Эвакуатор любого транспорта ===== */
.transport-section {
  background: rgba(240, 240, 240, 0.9);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.transport-section .section-title {
  font-size: 32px;
  color: #000000;
  font-weight: 700;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* Контейнер со скроллом */
.transport-scroll {
  display: flex;
  gap: 25px;
  scroll-behavior: smooth;
  padding-bottom: 15px;
}

.transport-scroll::-webkit-scrollbar {
  height: 8px;
}

.transport-scroll::-webkit-scrollbar-thumb {
  background-color: #585857;
  border-radius: 10px;
}

.transport-card {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  padding: 20px;
}

.transport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(164, 164, 164, 0.4);
}

.transport-card img {
  width: 100%;
  height: 160px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 15px;
}

.transport-card h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

/* .btn-order {
  background: #ff7f27;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-order:hover {
  background: #e66d10;
} */

/* ===== Адаптив (все устройства остаются со скроллом) ===== */
@media (max-width: 768px) {

  .transport-scroll {
    overflow-x: auto;
  }

  .transport-card:hover {
    transform: none;
    box-shadow: 0 3px 6px rgba(61, 61, 61, 0.4);
  }

  .transport-section {
    padding: 50px 50px;
  }

  .transport-section .section-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .transport-card img {
    height: 130px;
  }

  .transport-card h3 {
    font-size: 14px;
  }

  /* .btn-order {
    font-size: 12px;
    padding: 8px 18px;
  } */
}


/* ===== Почему выбрать нас ===== */
/* Секция Why Choose Us */
.why-choose-us {
  background: rgba(240, 240, 240, 0.9);
  padding: 80px 20px;
  text-align: center;
}

.why-choose-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-us .section-title {
  color: #000000;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Карусель */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  margin-bottom: 40px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.why-cards {
  display: flex;
  gap: 30px;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.carousel-wrapper:hover .why-cards {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Карточки */
.why-card {
  background: #fff;
  color: #333;
  width: 270px;
  min-height: 260px;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(75, 75, 75, 0.039);
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 3px 5px rgba(102, 101, 100, 0.4);
}

.why-card .icon {
  font-size: 45px;
  margin-bottom: 20px;
  color: #d1d0d0;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

.why-card p {
  font-size: 15px;
  line-height: 1.5;
}

/* ===== Адаптив для телефонов ===== */
@media (max-width: 768px) {
  .why-choose-us {
    padding: 50px 10px;
  }

  .why-choose-us .section-title {
    font-size: 22px;
  }

  /* Карусель на телефоне — свайп + авто-прокрутка */
  .carousel-wrapper {
    overflow-x: auto;
  }

  .why-cards {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 15px !important;
    padding-bottom: 10px !important;
    justify-content: flex-start !important;
    animation-duration: 5s; /* авто-прокрутка работает и на телефоне */
  }

  .why-cards::-webkit-scrollbar {
    display: none;
  }

  .why-cards {
    scrollbar-width: none;
  }

  .why-card {
    flex: 0 0 40% !important;
    scroll-snap-align: center !important;
    min-height: 140px !important;
    width: 20px;
    
  }

  .why-card:hover {
    transform: none;
  }

  .why-card .icon {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .why-card h3 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .why-card p {
    font-size: 12px;
    line-height: 1.3;
  }
}

/* ===== Секция с текстом и картинкой ===== */
.info-section {
  background: rgba(240, 240, 240, 0.9);
  padding: 80px 20px;
}

.info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.info-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.info-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.info-image img:hover {
  transform: scale(1.05);
}

.info-text {
  flex: 1;
  text-align: left;
  color: #333;
}

.info-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.info-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #444;
}

.info-text .btn-contact {
  border-color: #000000;
  color: #000000;
}

.info-text .btn-contact:hover {
  background: #1D4ED8;
  color: #fff;
}

/* ===== Адаптив для телефонов ===== */
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .info-image img {
    max-width: 80%;
  }

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

  .info-text h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .info-text p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .info-text .btn-contact {
    font-size: 12px;
    padding: 8px 18px;
  }
}

/* ===== Секция Цены ===== */
.prices {
  background: #f8f8f8;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.prices-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* text-align: center; */
  width: 100%;
}

/* Заголовок */
.prices-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

/* Обёртка таблицы для центрирования и увеличения ширины */
.price-table-wrapper {
  width: 90%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
}

/* Таблица */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-table tr {
  border-bottom: 1px solid #eee;
}

.price-table tr:last-child {
  border-bottom: none;
}

.price-table td {
  padding: 18px 25px;
  font-size: 17px;
  color: #333;
}

.price-table td:last-child {
  text-align: right;
  font-weight: 600;
}

/* Ссылка-кнопка */
.price-link {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #000;
  background: transparent;
  transition: 0.3s ease;
}

.price-link:hover {
  background: #1D4ED8;
  color: #fff;
  border-color: #1D4ED8;
}

/* ===== Адаптив для телефонов ===== */
@media (max-width: 768px) {

  .prices {
    padding: 50px 20px;
  }
  /* Заголовок секции */
  .prices-title {
    font-size: 22px; /* размер заголовка */
    margin-bottom: 20px;
    text-align: center;
  }

  .prices-container {
    width: 90%;
  }

  /* Обёртка таблицы — по центру */
  .price-table-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Таблица */
  .price-table {
    width: 100%;
    max-width: 400px; /* ограничим, чтобы не растягивалась */
    font-size: 10px; /* уменьшаем текст */
    border-radius: 10px;
    overflow: hidden;
  }

  .price-table td {
    padding: 8px 10px;
    text-align: left; /* название услуги слева */
    font-size: 10px;
    max-width: 190px;
  }

  .price-table td:last-child {
    text-align: right; /* цена справа */
    font-weight: 500;
    font-size: 10px;
  }

  .price-table tr {
    border-bottom: 1px solid #eee;
  }

  .price-table tr:last-child {
    border-bottom: none;
  }

  /* Кнопка снизу */
  .price-link {
    font-size: 12px;
    padding: 8px 16px;
    margin-top: 20px;
  }
}

/* Для очень маленьких экранов, например 438px */
@media (max-width: 438px) {
  .price-table-wrapper {
    max-width: 100%;
  }

  .price-table {
    font-size: 10px;
  }
} 

/* ===== Секция Фото наших работ ===== */
.works {
  padding: 80px 20px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.works-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Заголовок */
.works-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 50px;
}

/* Галерея */
.works-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-content: center;
}

.work-item {
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Hover эффект */
.work-item:hover img {
  transform: scale(1.05);
}

.work-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Кнопка в стиле сайта */
.btn-contact {
  margin-top: 40px;
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #000;
  border: 2px solid #000;
  font-weight: 600;
  border-radius: 25px;
  transition: 0.3s;
  text-decoration: none;
}

.btn-contact:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: #fff;
}

/* ===== Адаптив для телефонов ===== */
@media (max-width: 768px) {
  .works {
  padding: 50px 20px;
  }

  /* Контейнер */
  .works-container {
    width: 90%;
    padding: 0;
  }

  /* Заголовок */
  .works-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  /* Галерея: 2 колонки */
  .works-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
  }

  .work-item {
    border-radius: 12px;
  }

  .work-item img {
    width: 100%;
    height: auto;
  }

  /* Кнопка */
  .btn-contact {
    font-size: 12px;
    padding: 8px 16px;
    margin-top: 20px;
  }
}

/* Для очень маленьких экранов (например 438px) */
@media (max-width: 438px) {
  .works-gallery {
    grid-template-columns: 1fr; /* 1 колонка */
    gap: 10px;
  }

  .works-title {
    font-size: 20px;
  }

  .btn-contact {
    font-size: 10px;
    padding: 6px 12px;
  }
}


/* Секция Калькулятор */
.calculator {
  padding: 60px 20px;
  background: #f8f9fa; /* Лёгкий фон, как на скрине */
}

.calculator-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.calculator-title {
  color: #000;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* Переключатель */
.switcher {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.switcher-btn {
  padding: 10px 25px;
  border: 2px solid #dc3545; /* Красный, как на скрине */
  background: transparent;
  color: #dc3545;
  font-weight: 600;
  font-size: 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.2s;
}

.active {
  background: #dc3545;
  color: #fff;
}

.switcher-btn:hover:not(.active) {
  background: #dc3545;
  color: #fff;
}

/* Выбор параметров */
.params-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.param-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.param-label {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.param-select,
.param-input {
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  height: 55px;
  transition: border-color 0.2s;
}

.param-select:focus,
.param-input:focus {
  outline: none;
  border-color: #dc3545;
}

/* Карта и расстояние */
.map-row {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

.map-container {
  flex: 1;
  min-width: 0;
  height: 300px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}

#map_map {
  width: 100%;
  height: 100%;
}

.distance-group {
  flex: 0 0 200px;
  display: flex;
 
  flex-direction: column;
  gap: 20px;
}

.map-row {
  flex-direction: column;
}

.map-container {
  order: 2;
}

.distance-group {
  order: 1;
  flex: none;
  width: 100%;
}

/* Дополнительные параметры */
.extras-section {
  width: 100%;
}

.extras-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
  text-align: left;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.extra-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #000;
}

.extra-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #dc3545;
}

/* Контактные данные */
.contact-section {
  width: 100%;
}

.contact-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
  text-align: left;
}

.contact-row,
.sub-row,
.option-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.contact-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
}

.option-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #dc3545;
}

.sub-row {
  gap: 20px;
}

/* Итог и комментарий */
.summary-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  margin: 20px 0;
}

.summary-group {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-label {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.summary-value {
  font-size: 18px;
  color: #000;
}

.summary-value strong {
  font-size: 26px;
  color: #dc3545;
}

.warning-text {
  display: block;
  font-size: 12px;
  color: #dc3545;
  margin-top: 5px;
  font-style: italic;
}

.comment-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.param-textarea {
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 7px;
  font-size: 16px;
  background: #fff;
  min-height: 100px;
  resize: vertical;
  transition: border-color 0.2s;
}

.param-textarea:focus {
  outline: none;
  border-color: #dc3545;
}

/* Кнопка */
.btn-submit {
  display: inline-block;
  padding: 15px 40px;
  background: #dc3545;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: center;
}

.btn-submit:hover {
  background: #c82333;
}

.form-feedback {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #dc3545;
}



/* FAQ Section */
.faq {
  padding: 60px 20px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.title-and-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.faq-title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.btn-contact {
  padding: 10px 20px;
  background: #e63946;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-contact:hover {
  background: #c81e2b;
}

/* Список вопросов */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Блок вопроса */
.faq-item {
  background: #f9fafb;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.faq-item .arrow {
  transition: transform 0.3s;
  font-size: 18px;
  color: #333;
}
.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

/* Кнопка в стиле сайта */
.btn-contact {
  margin-top: 40px;
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #000;
  border: 2px solid #000;
  font-weight: 600;
  border-radius: 25px;
  transition: 0.3s;
  text-decoration: none;
}

.btn-contact:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  color: #fff;
}


/* Rating-section */
.rating-section {
  background-color: #f2f2f2; /* светло-серый фон */
  padding: 30px 0; /* вертикальные отступы */
}


.rating-section h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  color: #FFD700; /* золотой цвет для звезд */
  font-size: 20px;
}

.score {
  font-weight: bold;
  font-size: 16px;
}

.reviews {
  color: #666;
  font-size: 14px;
}


/* Footer */
.footer {
  background-color: #1c1c1c; /* темно-серый/почти черный фон */
  color: #f2f2f2; /* светлый текст */
  padding: 30px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}
.footer-logo img {
  width: 75px;
  height: 75px;
}

/* Меню футера */
.footer-menu ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu ul li a {
  color: #f2f2f2;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.footer-menu ul li a:hover {
  color: var(--wx-secondary); /* например, оранжевый при наведении */
}

/* Кнопка футера */
.btn-order-footer {
  background-color: transparent;
  color: #f2f2f2;
  border: 2px solid #f2f2f2;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-order-footer:hover {
  background-color: var(--wx-secondary);
  color: #fff;
  border-color: var(--wx-secondary);
}


/* Секция Калькулятор */
  .calculator {
    padding: 40px 20px;
    background: #f9f9f9;
    font-family: Arial, sans-serif;
  }

  .calculator-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }

  .calculator-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
  }

  .calculator-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  /* Переключатель */
  .switcher-row {
    text-align: center;
    margin-bottom: 20px;
  }

  .switcher-group {
    display: inline-block;
  }

 .switcher-btn {
  padding: 10px 25px;
  border: 2px solid #dc3545;
  background: #fff; /* Начальный фон для всех кнопок (неактивных) */
  color: #dc3545; /* Начальный текст для всех кнопок */
  font-weight: 600;
  font-size: 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin: 0 5px;
}

.switcher-btn.active {
  background: #dc3545 !important; /* Увеличенный приоритет для активной кнопки */
  color: #fff !important;
}

.switcher-btn:hover:not(.active) {
  background: #c82333; /* Ховер только для неактивных кнопок */
  color: #fff;
}

  /* Форма */
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }

  .form-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #000;
  }

  .form-label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
  }

  .form-select,
  .form-input {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
    height: 50px;
    transition: border-color 0.2s;
    color: #000;
  }

  .form-input {
    height: 20px;
  }
  .form-select:focus,
  .form-input:focus {
    outline: none;
    border-color: #dc3545;
    color: #000;
  
  }

  .form-input[readonly] {
    background: #f0f0f0;
    cursor: not-allowed;
  }

  /* Карта */
  .map-container {
    width: 100%;
    height: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 20px;
  }

  #map_map {
    width: 100%;
    height: 100%;
  }

  .distance-group {
    flex: 0 0 300px;
    min-width: 200px;
  }

  /* Дополнительные параметры */
  .extras-section {
    margin-bottom: 20px;
  }

  .extras-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
  }

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

  .extra-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #000;
  }

  .extra-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #dc3545;
  }

  /* Контакты и опции */
  .contact-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: flex-end;
  }

  .contact-row .form-group.small {
    flex: 0 0 250px;
    min-width: 200px;
  }

  .options-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .option-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #000;
  }

  .option-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #dc3545;
  }

  .sub-options-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }

  .sub-options-row.hidden {
    display: none;
  }

  .sub-options-row .form-group {
    flex: none;
  }


  /* Итог */
  .summary-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .summary-group {
    flex: 0 0 200px;
  }

  .summary-label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
  }

  .summary-value {
    font-size: 18px;
    color: #000;
  }

  .summary-value strong {
    font-size: 26px;
    color: #dc3545;
  }

  .summary-note {
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    font-style: italic;
  }

  .form-textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    font-size: 16px;
    background: #fff;
    min-height: 100px;
    resize: vertical;
    transition: border-color 0.2s;
    width: 60%;
  }

  .form-textarea:focus {
    outline: none;
    border-color: #dc3545;
  }

  /* Кнопка */
  .submit-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #dc3545;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 300px;
  }

  .submit-btn:hover {
    background: #c82333;
  }

  .hidden {
    display: none;
  }

  /* Стили для ошибок */
  .error-msg {
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    display: none;
  }

  .error-msg.error {
    display: block;
  }

  .sub-options-row {
    display: flex;
    /* flex-wrap: nowrap; */
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .sub-options-row .form-input {
    box-sizing: border-box;
  }
  .sub-options-row.hidden {
    display: none;
  }

  
.custom-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.custom-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.custom-modal.visible .custom-modal-content {
  transform: scale(1);
}

.custom-modal-content h3 {
  margin-top: 0;
  font-size: 22px;
  color: #1e1e1e;
}

.custom-modal-content p {
  font-size: 16px;
  color: #444;
  margin: 10px 0 20px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #000;
}

.modal-btn {
  background: #0078ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.modal-btn:hover {
  background: #005ed1;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  /* Контейнер окна */
  .modal-content {
    background: #fff;
    padding: 25px 35px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
  }

  .modal-message {
    font-size: 18px;
    color: #111;
    margin-bottom: 20px;
  }

  /* Кнопка */
  .modal-close {
    /* padding: 10px 35px; */
    /* border: 2px solid #111; */
    background: transparent;
    color: #111;
    font-size: 16px;
    /* border-radius: 50px; */
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* .modal-close:hover {
    border-color: #1dbf73;
    color: #fff;
    background: #1dbf73;
    box-shadow: 0 0 10px #1dbf73;
  } */




/* 📱 Адаптив */
@media (max-width: 992px) {
  
  /* .why-cards {
    flex-wrap: wrap;
    justify-content: center;
  } */

  .works-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== Адаптив калькулятора ===== */
@media (max-width: 768px) {

  .calculator {
    padding: 40px 0px;
  }

  .calculator-container {
    width: 90%;
    gap: 15px;
  }

  .calculator-title {
    font-size: 22px;
    text-align: center;
  }

  .logo img {
    width: 75px;
    height: 75px;
  }

  /* Переключатели */
  .switcher-group {
    display: flex;
    justify-content: space-between;
  }

  .switcher-btn {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* Формы */
  .form-label {
    font-size: 10px;
  }

  .form-select {
    font-size: 10px;
    height: 40px;
    padding: 6px 8px;
    color: #000;
  }

  .form-input {
    font-size: 10px;
    padding: 8px;
  }

  /* Доп. параметры */
  .extras-title {
    font-size: 15px;
  }

  .extra-checkbox > span {
    font-size: 10px;
  }

  .extra-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }

  .option-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }

  .option-checkbox {
    font-size: 10px;
    color: #000;
  }

  /* Контакты */
  .contact-row .form-group.small {
    flex: none;
    width: 100%;
  }

  .summary-row {
    flex-direction: column;
    gap: 15px;
  }

  /* Итоговая стоимость */
  .summary-label {
    font-size: 15px;
    font-weight: 600;
    color: #000;
  }

  .summary-value {
    font-size: 14px;
    color: #000;
  }

  .summary-value strong {
    font-size: 18px;
    color: #dc3545;
  }

  .summary-note {
    font-size: 10px;
    color: #dc3545;
    margin-top: 5px;
    font-style: italic;
  }

  .summary-group {
    flex: 0 0 130px;
    order: 2; /* будет под комментарием */
  }

  /* Комментарий выше суммы */
  .form-textarea {
    order: 1; /* выше summary-group */
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    font-size: 10px;
    background: #fff;
    min-height: 30px;
    resize: vertical;
    transition: border-color 0.2s;
    width: 100%;
    margin-bottom: 10px;
  }

  /* Контактные ряды */
  .contact-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: flex-end;
  }

  /* Кнопка */
  .submit-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #dc3545;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 12px;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 300px;
    align-self: center;
  }

  .extras-grid {
      flex-direction: column;
      gap: 15px;
      grid-template-columns: 1fr;
    }
  
  .hidden {
    display: none !important;
  }





    /* FAQ Section */
  .faq {
    padding: 30px 10px;
  }

  .faq-container {
    width: 90%;
  }

  .title-and-button {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .faq-title {
    font-size: 22px; /* было 28px */
    text-align: center;
  }

  .btn-contact {
    font-size: 10px;
    padding: 8px 16px;
    border-radius: 20px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-question {
    font-size: 12px;
    padding: 12px 15px;
  }

  .faq-answer {
    font-size: 10px;
    line-height: 1.4;
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }

  .faq-item .arrow {
    font-size: 14px;
  }

  /* Rating section */
  .rating-section {
    padding: 20px 0;
  }

  .rating-section h3 {
    font-size: 10px;
    text-align: center;
    width: 180px;
  }

  .rating {
    flex-direction: column;
    gap: 5px;
  }

  .stars {
    font-size: 10px;
  }

  .score {
    font-size: 10px;
  }

  .reviews {
    font-size: 10px;
  }

  /* Footer */
  .footer {
    padding: 20px 0;
  }

  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-logo {
    font-size: 14px;
  }

  .footer-logo img {
    width: 30px;
    height: 30px;
  }

  .footer-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-menu ul li a {
    font-size: 10px;
  }

  .btn-order-footer {
    font-size: 10px;
    padding: 8px 18px;
    border-radius: 20px;
  }

}

/* ===== Модальное окно ===== */
.modal {
  display: none; /* скрыто по умолчанию */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.modal-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 380px;
  position: relative;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

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

.modal-close {
  position: absolute;
  right: 15px;
  font-size: 40px;
  color: #555;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}


.modal-close:hover {
  color: #e63946;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.modal-input {
  width: 90%;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-size: 12px;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: #1D4ED8;
  outline: none;
}

.modal-btn {
  background: #dc3545;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.modal-btn:hover {
  background: #b02a37;
}

.modal-message {
  font-size: 10px;
  margin-top: 10px;
  color: #30bb18;
}
.modal-content textarea.modal-input {
  resize: none;
  height: 80px;
}
.modal.show {
  display: flex !important;
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 480px) {
  .modal-content {
    width: 70%;
    padding: 20px 15px;
    border-radius: 12px;
    font-size: 12px;
  }
  .modal-title {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .modal-input {
    width: 90%;
    font-size: 12px;
  }
}


.articles-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.articles-detal-container {
  max-width: 800px; /* ограничим ширину для удобного чтения */
  margin: 80px auto; /* отступ сверху, центрирование, снизу небольшой отступ */
  padding: 0 20px; /* отступы по бокам */
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.article-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin-bottom: 25px;
  transition: transform 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
}

/* Дата статьи */
.article-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}


.article-card h3 {
  font-size: 1.3rem;
  margin: 5px 0 10px;
}

.article-card p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 20px;
}

.article-btn {
  display: inline-block;
  background: #ffd43b;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.article-btn:hover {
  background: #ffcd00;
}

/* Блок полной статьи */
.article-full {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Название статьи */
.article-full h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Текст статьи */
.article-full p {
    line-height: 1.6;
    font-size: 1rem;
}
/* Кнопка "Назад к статьям" */
.article-back {
    display: inline-block;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}
.article-back:hover {
    color: #007BFF;
}
/* Ограничение длины текста при маленькой ширине кнопки "назад" */
.article-back span {
    display: none; /* можно убрать текст, оставить только стрелку */
}

/* === 📱 Телефонный режим (адаптация) === */
@media (max-width: 768px) {
  .article-container {
    margin: 60px 20px; /* меньше сверху и по бокам */
  }

  .articles-detal-container {
    max-width: 800px; /* ограничим ширину для удобного чтения */
    margin: 40px auto; /* отступ сверху, центрирование, снизу небольшой отступ */
    padding: 0 20px; /* отступы по бокам */
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .article-card {
    padding: 18px;
    border-radius: 12px;
  }

  .article-date {
    font-size: 0.8rem;
  }

  .article-card h3 {
    font-size: 1rem;
  }

  .article-card p {
    font-size: 0.7rem;
    line-height: 1.5;
  }

  .article-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 0.8rem;
  }

  .article-full {
    padding: 20px;
  }
  
  .article-full h1 {
    font-size: 1.2rem;
  }

  .article-full p {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  /* Центрирование текста статьи на маленьких экранах */
  .article-full p, .article-full h1 {
      text-align: center;
  }

  .article-back {
    font-size: 0.8rem;
  }
}

.district-link {
    text-decoration: none !important;   /* убираем подчёркивание */
    color: inherit !important;          /* убираем синий цвет */
    display: block;                     /* важно для hover-эффекта */
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.district-link:hover {
    transform: translateY(-4px);
}

.districts {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.districts h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1b1b1b;
}

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

.district-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* добавили чуть больше базовой тени */
  cursor: pointer;
  transition: box-shadow 0.3s ease; /* плавное изменение только тени */
  will-change: box-shadow; /* помогает браузеру сгладить эффект */
}

.district-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.district-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: opacity 0.3s ease; /* если хочешь плавное появление цветной иконки */
  filter: grayscale(100%);
}
.district-card:hover img {
  filter: grayscale(0%);
}
.district-card span {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
}

.fake-select {
    margin-bottom: 12px;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.fake-select:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.fake-select__title {
    padding: 16px 20px;
    background: #e9ecef;
    font-weight: 600;
    font-size: 16px;                    /* десктоп */
    color: #000;
    position: relative;
}

/* НА ТЕЛЕФОНАХ — УМЕНЬШАЕМ ТЕКСТ */
@media (max-width: 768px) {
    .fake-select__title {
        font-size: 12px !important;     /* ← как ты хотел */
        padding: 14px 18px;
    }
}



/* Список */
.fake-select__list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #e9ecef;
}

.fake-select.active .fake-select__list {
    max-height: 220px;
    overflow-y: auto;
    padding: 8px 0;
    background: #e9ecef;
}

/* Ссылки — по умолчанию серый текст */
.fake-select__list a {
    display: block;
    padding: 11px 20px;
    color: #444 !important;             /* ← СЕРЫЙ, а не белый! */
    font-size: 15px;                    /* десктоп */
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* НА ТЕЛЕФОНАХ — ещё меньше текст + больше читаемости */
@media (max-width: 768px) {
    .fake-select__list a {
        font-size: 10px !important;     /* ← 14px как просил */
        padding: 12px 18px;
    }
}

/* Ховер — чёрный текст + серый фон */
.fake-select__list a:hover {
    background: #d9d9d9;
    color: #000 !important;
    padding-left: 28px;
}

/* Скроллбар */
.fake-select__list::-webkit-scrollbar {
    width: 5px;
}
.fake-select__list::-webkit-scrollbar-track {
    background: #ddd;
}
.fake-select__list::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}
.fake-select__list::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Адаптивность */
@media (max-width: 600px) {
  .districts h1 {
    font-size: 22px;
  }
  .district-card img {
    width: 70px;
    height: 70px;
  }
  .district-card span {
    font-size: 14px;
  }
}


/* Основной контейнер секции */
.order-section {
  position: relative;
  color: #fff;
  text-align: left;
  padding: 0;
}

/* Фон и чёрная прозрачная подложка */
.order-overlay {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
}

.order-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* Чёрный прозрачный слой */
  z-index: 0;
}

.order-container {
  position: relative;
  z-index: 1; /* Чтобы контент был поверх затемнения */
  max-width: 1100px;
  margin: 0 auto;
}

.order-section h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.order-section h2 span {
  color: #ff4b2b;
}

.order-subtitle {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* Форма */
.order-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.order-form input {
  flex: 1 1 auto; /* Инпуты растягиваются */
  min-width: 180px;
  padding: 15px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

.order-form .btn-send {
  flex: 0 0 auto; /* Не растягиваем, ширина по содержимому */
  padding: 15px 30px; /* Можно добавить побольше паддинга */
  background: #ff4b2b;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.order-form .btn-send:hover {
  background: #e13d1f;
}

/* Подпись под формой */
.order-agreement {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
  text-align: right;
}

.order-agreement a {
  color: #fff;
  text-decoration: underline;
}

/* Контактная часть */
.order-contact {
  margin-top: 25px;
}

.order-phone {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.order-phone a {
  color: white;
  font-weight: 700;
  font-size: 1.6rem;
}

.order-icons img {
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.order-icons img:hover {
  opacity: 0.7;
}

/* Адаптив */
@media (max-width: 768px) {
  .order-form {
    flex-direction: column;
  }
  .order-form input,
  .order-form .btn-send {
    flex: 1 1 100%;
  }
}


/* Центрирование основного контейнера */
.container-pluse {
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible !important;
}

/* Сам блок */
.evacuation-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 300px;
  background-color: rgba(240, 240, 240, 0.9); /* серый фон */
  border-radius: 12px;
  padding: 20px 40px;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

/* Левая часть с текстом */
.evacuation-content {
  max-width: 50%;
}

.evacuation-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.evacuation-content p {
  font-size: 16px;
  margin: 0 0 20px 0;
}

.callback-btn {
  background-color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.callback-btn:hover {
  background-color: #f0f0f0;
}

.evacuation-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: visible; /* важно — чтобы картинка могла выходить за границы */
}

.evacuation-image img {
  width: 650px;
  object-fit: contain;
  position: relative;
  right: -40px; /* немного сдвигаем за границу вправо */
  top: -120px; /* чуть поднимаем вверх */
  z-index: 2; /* чтобы картинка была поверх блока */
  transition: transform 0.3s ease;
}

/* Можно добавить лёгкий эффект при наведении */
.evacuation-image img:hover {
  transform: scale(1.05);
}

/* 📱 Адаптив под планшеты и телефоны */
@media (max-width: 992px) {
  .evacuation-block {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .evacuation-content {
    max-width: 100%;
  }

  .evacuation-image img {
    width: 80%;
    height: auto;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .evacuation-content h2 {
    font-size: 20px;
  }

  .evacuation-content p {
    font-size: 16px;
  }

  .callback-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
   .evacuation-image {
    justify-content: center !important; /* центрируем блок */
    margin-top: 0;
  }

  .evacuation-image img {
    right: 0 !important; /* убираем сдвиг вправо */
    top: 0 !important;   /* убираем сдвиг вверх */
    width: 100%;         /* занимаем всю доступную ширину */
    max-width: 400px;    /* при необходимости ограничиваем */
    margin-top: 0;
  }

}


.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1400px;
  margin: 50px auto;
  background-color: rgba(240, 240, 240, 0.9);
  
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Левая часть — карта */
.contact-map {
  flex: 2;
  max-width: 800px;
  min-height: 400px;
}

/* Правая часть — форма */
.contact-form {
  flex: 1;
  background-color: #e8e8e8;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}

.contact-form label {
  margin-top: 10px;
  color: #606060;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  box-sizing: border-box;
  font-size: 16px;
}

.contact-form button {
  background-color: #d92929;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #b92020;
}

/* 📱 Адаптив для планшетов и телефонов */
@media (max-width: 600px) {
  .contact-section {
    flex-direction: column;
  }

  .contact-map {
    min-height: 100px;
    height: 200px;
  }

  .contact-form {
    width: 100%;
    padding: 20px;
  }

  .contact-form {
    flex: 1;
    background-color: #e8e8e8;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.contact-form label {
  margin-top: 10px;
  color: #606060;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 13px;
}

.contact-form label > span {
  font-size: 8px;
}



.contact-form input {
  width: 80%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  box-sizing: border-box;
  font-size: 12px;
}

.contact-form button {
  background-color: #d92929;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  width: 80%;
}

}

.metro-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  display: flex;
  justify-content: center; /* центрирует внутренний блок */
}

.metro-hero-overlay {
  background: #f6f5fb;
  border-radius: 20px;
  overflow: hidden;
  width: 1400px;
  max-width: 95%; /* чтобы не ломалось на маленьких экранах */
  margin: 0 auto; /* центрирование */
}

.metro-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1400px; /* шире контейнер */
  margin: 0 auto; /* по центру */
  padding: 60px 40px;
  position: relative;
}

.metro-hero-content {
  flex: 1;
  max-width: 600px;
}

.metro-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1a1a1a;
  white-space: nowrap; /* не переносить строку */
}

.metro-hero-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
}

.metro-hero-content a {
  color: #8b2bff;
  text-decoration: underline;
}

/* Форма */
.metro-hero-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.metro-hero-form input {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
}

.metro-hero-form .policy {
  font-size: 0.85rem;
  color: #777;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.metro-hero-form .policy a {
  color: #e13d1f;
  text-decoration: underline;
}

.metro-hero-form .btn-send {
  background: #e13d1f;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.metro-hero-form .btn-send:hover {
  opacity: 0.9;
}

/* 3D модель */
.hero-model {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-model .model {
  width: 100%;
  max-width: 600px;
  height: 400px;
}

/* Адаптив */
@media (max-width: 1000px) {
  .metro-title {
    white-space: normal; /* разрешаем переносы */
  }
  .metro-hero-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .hero-model .model {
    height: 300px;
  }
}


.top-bar {
  background: #fefefe;
  color: #000000;
  font-size: 0.9rem;
  padding: 8px 0;
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-left a {
  color: #ff4b2b;
  font-weight: 600;
  text-decoration: none;
}

.top-bar-right a {
  color: #6f6f6f;
  font-size: 1.2rem;
  margin-left: 10px;
  transition: color 0.3s;
}

.top-bar-right a:hover {
  color: #ff4b2b;
}

/* Кнопка зонить  */
.call-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ff4b2b;
  color: #fff;
  font-size: 22px;
  padding: 18px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.3s, background 0.3s;
}

.call-button:hover {
  background: #e13d1f;
  transform: scale(1.1);
}

.call-button i {
  animation: ring 1.5s infinite;
}

@keyframes ring {
  0% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(5deg); }
  60% { transform: rotate(-5deg); }
  70%, 100% { transform: rotate(0); }
}

/* --- Адаптив для телефонов --- */
@media (max-width: 768px) {
   .top-bar {
    font-size: 0.5rem;
    padding: 6px 0;
  }

  .top-bar-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }

  .top-bar-left {
    flex-direction: column;
    align-items: center;
    gap: 1px;
  }

  .top-bar-left span {
    font-size: 0.6rem;
  }

  .top-bar-left a {
    font-size: 0.7rem;
  }

  .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 0;
  }

  .top-bar-right a {
    font-size: 0.8rem;
    margin: 0;
  }
  /* чтобы кнопка не перекрывала элементы меню и не мешала при скролле */
  .call-button {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    font-size: 10px;
  }

  /* можно сделать чуть меньше анимацию на мобильных */
  .call-button i {
    animation: ring 2s infinite;
  }
}


.payment-page {
    min-height: 100vh;
    background: #f5f5f5;                    /* серый фон */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.payment-container {
    max-width: 420px;
    width: 100%;
}

.payment-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.payment-text {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.5;
}

.qr-wrapper {
    width: 280px;
    height: 280px;
    background: white;
    padding: 20px;
    border-radius: 24px;                    /* круглые углы */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto 40px;
}

.qr-code {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-info {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #d32f2f;
}

.payment-phone {
    display: inline-block;
    background: #929191;
    color: white !important;
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.payment-phone:hover {
    background: #717171;
    transform: translateY(-3px);
}

/* Адаптация под телефон */
@media (max-width: 480px) {
    .payment-title {
        font-size: 1.5rem;
    }
    .payment-text {
        font-size: 1rem;
    }
    .qr-wrapper {
        width: 240px;
        height: 240px;
    }
    .payment-info {
        padding: 20px;
    }
    .price {
      font-size: 1.2rem;
    }
    .payment-phone {
      font-size: 1.1rem;
    }

    .policy-checkbox span {
      font-size: 14px;
    } 
}



