/* style.css */
        :root {
            --primary-blue: #183544;
            --gradient-start: #FFA500;
            --gradient-end: #FF0000;
            --light-green: #E6F7E6;
            --dark-green: #2E7D32;
            --gray: #666;
            --white: #FFF;
        }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent; /* Прозрачный по умолчанию */
  color: white;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  box-shadow: none;
}

.header.scrolled {
 /* background: #001333;  Чёрный при скролле */
  background: linear-gradient(135deg, #183544 0%, #003366 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.headers {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, #183544 0%, #003366 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white;
  padding: 0.5rem 0;
  transition: all 0.3s ease;    
}
.headers .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


.logo img {
  height: 65px;
}

.menu-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-menu ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a {
  color: #1b93c1;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 17px;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #FFF;
}

.divider {
  border: 0;
  border-top: 1px solid white;
  margin: 0.5rem 0;
  width: 100%;
}

.contacts {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.contacts a {
  color: #1b93c1;
  text-decoration: none;
  transition: color 0.3s;
}

.contacts a:hover {
  color: #FFF;
}



/* Hero */
.hero {
  height: 100vh;
  background-image: url('banner.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease-out;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
  animation: fadeInUp 1.4s ease-out;
}

.btn-primary:hover {
  background: #c0392b;
  transform: translateY(-3px);
}

/* Features */
.features {
  padding: 3rem 0;
  background: white;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.icon {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 1rem;
}

/* Prices */
.prices {
  padding: 1rem 0;
  background: #f8f9fa;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.price-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: scale(1.02);
}

.price-card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.price-card ul {
  list-style: none;
  margin-top: 1rem;
}

.price-card li {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.btn-secondary {
  display: block;
  margin: 2rem auto 0; /* Отступ сверху, центрирование по горизонтали */
  padding: 10px 20px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: #2980b9;
}

/* Зебровая раскраска */
.price-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}



.price-card:hover {
  transform: scale(1.02);
}

.price-card h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.price-card ul {
  list-style: none;
  margin-top: 1rem;
}

.price-card li {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.price-card li:last-child {
  border-bottom: none;
}

/* Разделение прайсов */
.price-section {
  margin-bottom: 3rem;
}

.price-section h3 {
  text-align: center;
  color: #e74c3c;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}


/* Calculator */
.calculator {
  padding: 10rem 0;
  background: white;
}

.calculator h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.calculator p {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #e74c3c;
}

.btn-primary {
  display: block;
  margin: 2rem auto 0; /* Отступ сверху, центрирование */
  padding: 12px 30px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btns {width:200px; padding: 10px 20px;}

.btn-primary:hover {
  background: #c0392b;
}

/* Video */
.video {
  padding: 6rem 0;
  background: #f8f9fa;
  text-align: center;
}

/* Contact */
.contact {
  padding-top: 10rem;
  background: white;
  text-align: center;
}

/* Map */
.map {
  height: 400px;
  background: #eee;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  background: #001333;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    margin-top: 20px;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
     background: linear-gradient(135deg, #183544 0%, #003366 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 99;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .contacts {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .grid-container,
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* Зебра в CSS — по позиции строки */
.price-card ul li:nth-child(2),
.price-card ul li:nth-child(4) {
  background-color: #f6f7f6; /* Светло-зелёный */
}

.price-card ul li:nth-child(1),
.price-card ul li:nth-child(3) {
  background-color: white;
}


/* Бургер-меню (по умолчанию скрыт) */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: 0.3s;
}

/* Мобильное меню */
#nav-menu {
  /* Для десктопа */
  display: block;
}

#nav-menu ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* Адаптивность */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex; /* Показываем бургер на мобильных */
  }

  #nav-menu {
    position: fixed;
    top: 70px; /* Высота хедера */
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
      background: linear-gradient(135deg, #183544 0%, #003366 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    z-index: 99;
  }

  #nav-menu.active {
    left: 0; /* Сдвигаем меню влево при активации */
  }

  #nav-menu ul {
    flex-direction: column;
    gap: 2rem;
  }

  #nav-menu a {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
  }

  .menu-right {
    /* На мобильных контакты скрываем, показываем в бургере или в подвале */
    position: relative;
  }

  .contacts {
    display: none; /* Скрываем контакты в хедере на мобильных */
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
	
  }
  .logo img {
  height: 60px;
}
.header {background:#183544;}

  #nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
      background: linear-gradient(135deg, #183544 0%, #003366 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    z-index: 99;
  }

  #nav-menu.active {
    left: 0;
  }

  #nav-menu ul {
    flex-direction: column;
    gap: 2rem;
  }

  #nav-menu a {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
  }

.contacts {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: block;
  text-align: center; /* Выравнивание текста по центру */
  width: 80%; /* Ограничение ширины для лучшего вида */
  margin: 0 auto; /* Центрирование блока */
}

.contacts a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  display: block; /* Каждый контакт — отдельный блок */
  margin-bottom: 0.5rem;
  text-align: center; /* Центрирование внутри ссылки */
}

  .divider {
    margin: 1rem 0;
    border-top: 1px solid white;
    width: 80%;
  }
}


/* Gallery */
.gallery {
  padding: 6rem 0;
  background: #f8f9fa;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
}

.work-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: scale(1.00);
}

.work-box {
  position: relative;
  display: block;
  width: 100%;
  height: 100%; /* Фиксированная высота, можно заменить на "auto" если хочешь пропорции */
  overflow: hidden;
}

.work-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Картинка заполняет весь контейнер */
    vertical-align: top; /* ← Важно! */
  border: none;
  margin: 0;
  padding: 0;
  transition: transform 0.5s ease;
}

.work-item:hover img {
  transform: scale(1.1);
}

/* Overlay - красный полупрозрачный слой */
.work-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 0, 0, 0.7); /* Красный, 70% прозрачности */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none; /* Чтобы не мешал клику */
}

.work-item:hover .overlay {
  opacity: 1;
}

/* Надписи внутри overlay */
.overlay-caption {
  text-align: center;
  padding: 1rem;
  max-width: 80%;
  background: #183544; /* Чуть более плотный фон под текст */
  border-radius: 8px;
  backdrop-filter: blur(2px); /* Для красивого эффекта */
}

.overlay-caption h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}

.overlay-caption p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.gallery .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0; /* ← Убираем отступы */
  margin: 0 auto;
  width: 100%;
}

/* Анимация zoomInUp */
@keyframes zoomInUp {
  from {
    opacity: 0;
    transform: scale(0.1) translateY(100px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.feature-item {
  
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;

  /* Скрыто по умолчанию */
  visibility: hidden;
  opacity: 0;
}

.feature-item.visible {
  visibility: visible;
  opacity: 1;
  animation-name: zoomInUp;
  animation-duration: 0.6s;
  animation-fill-mode: both;
}

/* Задержки для каждого элемента */
.feature-item:nth-child(1).visible {
  animation-delay: 0.1s;
}

.feature-item:nth-child(2).visible {
  animation-delay: 0.3s;
}

.feature-item:nth-child(3).visible {
  animation-delay: 0.5s;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  opacity: 0; /* Невидимость */
  visibility: hidden; /* Не отображать */
}

.work-item.visible {
  opacity: 1;
  visibility: visible;
  animation-name: fadeIn;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}
.nav-menu a.active {
  color: white !important;
}

/* Кнопка "Наверх" */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #c0392b;
  transform: translateY(-3px);
}


/*popover*/
.popover {
  position: absolute;
  z-index: 1000;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 14px;
  max-width: 250px;
  color: #333;
  display: none;
  top: calc(100% + 8px);
  left: 0;
}

.popover.show {
  display: block;
}

.form-group {
  position: relative;
}
/* Кнопка подсказки внутри label */
.popover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #f0f0f0;
  color: #666;
  font-size: 10px;
  cursor: pointer;
    cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* убирает серый отклик на iOS */
  touch-action: manipulation; /* ускоряет отклик на тач */
  line-height: 1;
  text-decoration: none;
  appearance: none;
  transition: all 0.2s;
}

.popover-btn:hover,
.popover-btn:focus,
.popover-btn.active {

  background: #023363;
  color: white;
  border-color: #023363;
  outline: none;
}

.popover .popover-header {
  /*background: #f8f9fa;*/
  background: #023363;
  border-bottom: 1px solid #dee2e6;
  padding: 8px 12px;
  font-weight: bold;
  color: #fff;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.popover .popover-body {
  padding: 10px 12px;
  font-size: 14px;
  color: #555;
}



/* Стиль для переключателя (обработчик) */
.material-switch {
  display: inline-block;
  position: relative;
  width: 48px;
  height: 24px;
  cursor: pointer;
}
.material-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.material-switch label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  transition: .4s;
  border-radius: 24px;
  cursor: pointer;
}
.material-switch input:checked + label {
  background-color: #28a745;
}
.material-switch label:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Правильное смещение для состояния "включено" */
.material-switch input:checked + label:before {
  /* Рассчитываем правильное смещение: общая ширина минус отступы и размер кружка */
  transform: translateX(24px); /* 48px - 18px - 3px*2 = 24px */
}
/* Для мобильных устройств - более компактный переключатель */
@media (max-width: 768px) {
  .material-switch {
    width: 44px; /* Немного уменьшаем ширину для мобильных */
    height: 22px;
  }
  
  .material-switch label:before {
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
  }
  
  .material-switch input:checked + label:before {
    transform: translateX(22px); /* 44px - 16px - 3px*2 = 22px */
  }
}
.material-switch label:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #fff;
  pointer-events: none;
}


/* По умолчанию — обычный размер шрифта */
.result {
  font-size: 12pt; /* или любой другой */
}
.result td {padding-left:5px;}

/* На мобильных (ширина экрана до 768px) */
@media (max-width: 768px) {
  .result {
    font-size: 11pt;
  }
.result td {padding-left:2px;}
.material-switch {
    width: 80px;
}
}
/* лого типы (типа?) */
/* Усиленный селектор для логотипа */
.price-section .logo-text {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 2.5rem !important;
  color: #0047AB !important;
  letter-spacing: -1px;
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
  display: block;

  /* Очень тонкая серая обводка через text-shadow */
  text-shadow: 
    -0.6px -0.6px 0 #888,
     0.6px -0.6px 0 #888,
    -0.6px  0.6px 0 #888,
     0.6px  0.6px 0 #888;
}

/* Акцентная буква "Т" — крупнее и с градиентом */
.price-section .logo-text .accent {
  background: linear-gradient(to bottom, #FF8C00, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text !important;
  color: transparent;
  position: relative;
  font-size: 3.5rem !important;
  /* Убираем обводку с "Т", чтобы градиент был чистым */
  text-shadow: none; /* Отключаем тень для "Т" */

font-weight:700;

}

/* Fallback для старых браузеров */
.price-section .logo-text .accent::before {
  content: 'Т';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #FF8C00, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  z-index: -1;
  /* Если нужна обводка на "Т" — можно добавить */
  text-shadow: -0.7px -0.7px 0 #888; 
}




/* Центрируем содержимое секции */
.price-section .price-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрируем по горизонтали */
  gap: 2rem; /* Отступ между логотипом и сеткой */
  width: 100%;
}

/* Если нужно — центрировать текст внутри h3 */
.price-section .logo-text {
  text-align: center;
  
}

/* Для EXTRUFLEX — если используется logo-header */
.logo-header {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.logo-header .logo-img {

  height: auto;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

.logo-header .logo-text {
  font-family: inherit;
  font-size: inherit;
  font-weight: bold;
  color: #000;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  display: inline-block;
  
}



/* Центрируем всю секцию */
.price-section {
  text-align: center; /* Центрирует inline-элементы */
}

/* Обёртка для логотипа + h3 */
.logo-header {
  display: inline-flex;
  align-items: center;
  gap: 0; /* Нет отступа между картинкой и текстом */
  margin: 0 auto; /* Центрирует блок по горизонтали */
  padding: 0;
}

/* Стили для картинки */
.logo-img {
  width: 60px; /* Подберите под ваш логотип */
  height: auto;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

/* Стили для h3 внутри логотипа */
.logo-header h3 {
  margin: 0;
  padding: 0;
  padding-left:5px;
  font-size: inherit;
  font-weight: bold;
  color: #000; /* Чёрный текст */
  line-height: 3;
  vertical-align: middle;
  font-size: 2.5rem !important;
}

.contacttext {padding-bottom:10rem;}

.calcprew {
	padding-top:3rem;
    text-align: center;
    font-size: 1.5rem;
	font-weight:700;
    color: #000;
    margin-bottom: 1rem;
}

.arrow-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.calcarrow {
  max-width: 100%;
  height: auto;
  max-height: 60px; /* Ограничьте высоту, если нужно */
  animation: bounce 2s infinite;
}

.text-shadow-9 {
    color: white;
text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);}

.agreement-error {
  color: #e74c3c;
  font-size: 0.9em;
  margin-top: 8px;
  font-weight:bold;
  display: none;
}

/* лого типы (типа?) на шапка */
/* Усиленный селектор для логотипа */
.logo .logo-text {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 2.5rem !important;
  color: #0047AB !important;
  letter-spacing: -1px;
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
  display: block;

  /* Очень тонкая серая обводка через text-shadow */
  text-shadow: 
    -0.6px -0.6px 0 #888,
     0.6px -0.6px 0 #888,
    -0.6px  0.6px 0 #888,
     0.6px  0.6px 0 #888;
}

/* Акцентная буква "Т" — крупнее и с градиентом */
.logo .logo-text .accent {
  background: linear-gradient(to bottom, #FF8C00, #FF4500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text !important;
  color: transparent;
  position: relative;
  font-size: 3.5rem !important;
  /* Убираем обводку с "Т", чтобы градиент был чистым */
  text-shadow: none; /* Отключаем тень для "Т" */

font-weight:700;

}

/* Пирайс эта */
.allprice {
  background: #FFF;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-top: 30px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.price-table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

/* Заголовки групп */
.price-table .group-header td {
  background: #023363;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  border-bottom: 2px solid #023363;
}

/* Зебр */
.price-group tr:not(.group-header):nth-child(even) {
  background-color: #f5f5f5;
}

.price-group tr:not(.group-header):nth-child(odd) {
  background-color: #ffffff;
}
.price-group tr:last-child td {
  border-bottom: none;
}
.headt {
    background: #023363;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}
.price-group tr:not(.group-header):hover td {
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  font-weight:bold;
  /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}
.price-table td:first-child {
  width: 80%;
  word-wrap: break-word;
  word-break: break-word;
}

.price-table td:last-child {
  width: 20%;
  text-align: right; 
  white-space: nowrap;
}

.btn-disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  background: #6c757d !important;
}

.agreement-error {
  color: #e74c3c;
  margin-top: 10px;
  display: none;
}

.privacy-section {
    padding: 10rem 0;
    background: white;
}
/* Header */
@media (max-width: 768px) {
    .header {
        background: transparent;
    }
}
.price-grid.centered {
  justify-content: center;
  gap: 1.5rem;
}

/* Ссылка-обёртка для карточки */
.price-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.price-card-link:hover .price-card {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


        .cta-section {
            background: linear-gradient(135deg, var(--primary-blue), #003366);
            color: white;
            padding: 50px 20px;
            text-align: center;
            margin: 50px auto;
            border-radius: 15px;
        }

        .cta-title {
            font-size: 1.6rem !important;
            margin-bottom: 20px;
			color:#FFF !important;
        }

        .cta-button {
            display: inline-block;
            background: white;
            color: var(--primary-blue);
            padding: 15px 35px;
            border-radius: 30px;
            font-weight: bold;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .cta-button:hover {
            background: #f0f0f0;
            transform: scale(1.05);
        }
.product-desc {border-left: 3px solid #001333; font-style: italic; color: #555; padding-left: 10px; font-size:1.1rem;}
/* Таблица характеристик на странице товара */
.product-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.product-specs td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

/* Зебра: чётные строки — светло-серый фон */
.product-specs tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Жирный шрифт для левых ячеек */
.product-specs td:first-child {
  font-weight: bold;
  width: 40%;
  color: #333;
}

.product-specs td:last-child {
  color: #555;
}






/* === Секция товара: фото + описание === */
.product-layout {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.product-image {
  flex: 0 0 300px;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

.product-content {
  flex: 1;
  min-width: 0;
}

.product-price {
  text-align: right;
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
}

/* === Мобильная адаптация === */
@media (max-width: 768px) {
  .product-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .product-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .product-price {
    text-align: left; /* на мобиле — слева, чтобы не уезжало */
  }
}

.price-card-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  color: #e74c3c;
}
.price-card-footer span {
  display: inline-block;
  padding: 6px 12px;
  background: #f9f9f9;
  border-radius: 4px;
  transition: all 0.2s;
}
.price-card:hover .price-card-footer span {
  background: #e74c3c;
  color: white;
}