ка

/* === БАЗОВЫЕ СТИЛИ === */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
  line-height: 1.6;
  padding-top: 100px;
}

/* === ШАПКА === */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
  color: #333;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 12px;
}

/* Левый блок: логотип + телефон-иконка */
.logo-phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 52px;
  display: block;
  transition: transform 200ms ease;
}

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

.phone-icon-mobile {
  width: 40px;
  height: 40px;
  display: none;
}

/* === НАВИГАЦИЯ === */
.main-nav {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
  background: rgba(76, 175, 80, 0.05);
  padding: 6px 12px;
  border-radius: 50px;
}

.main-nav li {
  margin: 0;
  display: flex;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 10px 16px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}

.main-nav a:hover {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
}

.main-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* === ПРАВАЯ ЧАСТЬ ШАПКИ === */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  font-size: 18px;
}

.header-phone {
  font-weight: 700;
  text-decoration: none;
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.header-phone:hover {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

.callback-btn {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.callback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.callback-btn:active {
  transform: translateY(0);
}

.mobile-only {
  display: none;
}

.main-nav li.mobile-only {
  display: none;
}

.header-phone-text {
  display: none;
  font-size: 12px;
  color: #888;
}

.whatsapp-icon img {
  width: 48px;
  height: 48px;
  display: block;
  transition: transform 200ms ease;
  border-radius: 50%;
  padding: 4px;
  background: rgba(37, 211, 102, 0.1);
}

.whatsapp-icon img:hover {
  transform: scale(1.1);
  background: rgba(37, 211, 102, 0.2);
}

.telegram-icon svg {
  width: 48px;
  height: 48px;
  display: block;
  transition: transform 200ms ease;
  border-radius: 50%;
  padding: 4px;
  background: rgba(0, 136, 204, 0.1);
}

.telegram-icon svg:hover {
  transform: scale(1.1);
  background: rgba(0, 136, 204, 0.2);
}

/* Выпадающее меню мессенджеров */
.messenger-dropdown {
  position: relative;
  display: inline-block;
}

.messenger-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.messenger-toggle svg {
  width: 48px;
  height: 48px;
  display: block;
  transition: transform 200ms ease;
  border-radius: 50%;
  /* Убрали padding и background, т.к. иконка уже содержит круг */
  padding: 0;
  background: transparent;
}

.messenger-toggle:hover svg {
  transform: scale(1.1);
  background: rgba(76, 175, 80, 0.1);
}

.messenger-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  min-width: 180px;
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.messenger-dropdown.open .messenger-menu {
  display: flex;
}

.messenger-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.2s;
}

.messenger-item:hover {
  background: rgba(76, 175, 80, 0.08);
}

.messenger-item img,
.messenger-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.messenger-item span {
  white-space: nowrap;
}

/* Бургер */
.burger {
  display: none;
  padding: 8px;
  width: 44px;
  height: 40px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: none;
  align-items: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.burger:hover {
  background: rgba(76, 175, 80, 0.08);
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* === ПЛАНШЕТНАЯ ВЕРСИЯ (967px и ниже) === */
@media (max-width: 967px) {
  .logo-img {
    height: 44px;
    max-width: 180px;
    width: auto;
  }

  .header-container {
    padding: 12px 20px;
  }

  .header-phone {
    font-size: 15px;
  }

  .callback-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .logo-phone-box {
    gap: 8px;
  }
}

/* === МОБИЛЬНАЯ ВЕРСИЯ === */
@media (max-width: 900px) {
  body {
    padding-top: 88px;
  }

  .phone-icon-mobile {
    display: block;
  }

  .header-phone {
    display: none;
  }

  .header-phone-text {
    display: block;
  }

  .burger {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-top: 2px solid #4CAF50;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
    background: transparent;
    border-radius: 0;
  }

  .main-nav li {
    padding: 4px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
  }

  .main-nav li:first-child {
    border-top: none;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-radius: 0;
    background: transparent;
  }

  .main-nav a:hover {
    background: rgba(76, 175, 80, 0.08);
  }

  .main-nav a.active {
    color: #4CAF50;
    background: transparent;
    box-shadow: none;
  }

  .header-container {
    padding: 10px 16px;
  }

  .whatsapp-icon img,
  .telegram-icon svg {
    width: 44px;
    height: 44px;
  }

  .messenger-toggle svg {
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
  }

  .callback-btn {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .main-nav li.mobile-only {
    display: block;
  }

  .callback-menu-item {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    padding: 16px 24px !important;
    margin-top: 10px;
  }

  .callback-menu-btn {
    width: auto;
    display: inline-block;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    min-width: 200px;
    text-align: center;
  }

  .callback-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
  }

  /* Адаптация модального окна для мобильных */
  .modal-content {
    padding: 24px 20px;
    width: calc(100% - 30px);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .callback-form input,
  .callback-form select {
    padding: 10px 14px;
    font-size: 15px;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Перенос текста чекбокса в мобильной версии */
  .checkbox-container {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .checkbox-container label {
    white-space: normal;
    line-height: 1.4;
  }

  .callback-form .checkbox-container {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* Десктоп */
@media (min-width: 901px) {
  .main-nav {
    display: flex;
    position: static;
  }

  .main-nav ul {
    display: flex;
  }

  .burger {
    display: none;
  }

  .phone-icon-mobile {
    display: none;
  }
}

/* === ОБЩИЕ СЕКЦИИ === */
h1 {
  text-align: center;
  color: #1a1a1a;
  font-size: 36px;
  margin-top: 10px;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  text-align: center;
  color: #1a1a1a;
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  color: #333;
  font-weight: 600;
}

.subtitle {
  text-align: center;
  font-size: 17px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
  line-height: 1.6;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-top: -20px;
  margin-bottom: 32px;
}

section {
  padding: 50px 20px;
  text-align: center;
}

/* === INTRO === */
.intro {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.intro h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.intro-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 32px;
  max-width: 1100px;
}

.intro-content p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* === УСЛУГИ === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-item {
  background: linear-gradient(145deg, #fff 0%, #f8f9fa 100%);
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  font-weight: 500;
  color: #333;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #4CAF50 0%, #45a049 100%);
  opacity: 0;
  transition: opacity 250ms ease;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(76, 175, 80, 0.3);
}

.service-item:hover::before {
  opacity: 1;
}

/* === ПРЕИМУЩЕСТВА === */
.clients-choose {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.reason {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 250ms ease, box-shadow 250ms ease;
  position: relative;
  overflow: hidden;
}

.reason::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
  transform: scaleX(0);
  transition: transform 250ms ease;
}

.reason:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

.reason h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #1a1a1a;
  font-size: 20px;
}

.reason p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* === SEO-ТЕКСТ === */
.seo-text {
  background: #fff;
  padding: 80px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.seo-content {
  max-width: 950px;
  margin: 0 auto;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  padding: 0 20px;
}

.seo-content h2 {
  text-align: left;
  margin-bottom: 28px;
  font-size: 30px;
  color: #1a1a1a;
}

.seo-content h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 22px;
  color: #1a1a1a;
  font-weight: 600;
}

.seo-content p {
  margin-bottom: 20px;
}

.seo-content ul {
  margin: 20px 0;
  padding-left: 28px;
}

.seo-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.seo-content a {
  color: #4CAF50;
  text-decoration: none;
  border-bottom: 2px solid rgba(76, 175, 80, 0.2);
  transition: all 0.2s ease;
  font-weight: 500;
}

.seo-content a:hover {
  color: #2e7d32;
  border-bottom-color: rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
  .seo-text {
    padding: 60px 16px;
  }

  .seo-content h2 {
    font-size: 24px;
  }

  .seo-content h3 {
    font-size: 20px;
  }
}

/* === СЛАЙДЕР ФОТО РАБОТ === */
.product-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 450px;
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
}

.slider-img.active {
  opacity: 1;
  z-index: 10;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.98);
  border: none;
  border-radius: 50%;
  font-size: 26px;
  color: #4CAF50;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 200ms ease;
}

.slider-btn:hover {
  background: #4CAF50;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 28px rgba(76, 175, 80, 0.35);
}

.slider-prev {
  left: 16px;
}

.slider-next {
  right: 16px;
}

.slider-captions {
  text-align: center;
  margin-top: 24px;
  min-height: 28px;
  padding: 0 20px;
}

.slider-caption {
  display: none;
  font-size: 16px;
  color: #555;
  margin: 0;
  font-weight: 500;
}

.slider-caption.active {
  display: block;
  animation: fadeIn 300ms ease;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 15;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 200ms ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.slider-dot.active {
  background: #4CAF50;
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .product-slider {
    height: 300px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

/* === КАК ЗАКАЗАТЬ === */
.how-to-order {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.how-to-order .container {
  max-width: 1100px;
  margin: 0 auto;
}

.how-to-order h2 {
  text-align: center;
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.step-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 300ms ease;
  position: relative;
  overflow: visible;
  border: 2px solid transparent;
  z-index: 1;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
  transform: scaleX(0);
  transition: transform 300ms ease;
}

.step-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
  border-color: rgba(76, 175, 80, 0.2);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
  position: relative;
}

.step-number::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(76, 175, 80, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.step-card h3 {
  font-size: 22px;
  color: #1a1a1a;
  margin: 16px 0;
  font-weight: 600;
}

.step-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-link {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 200ms ease;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.step-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.step-messengers {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-messengers-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.step-messengers-icons {
  display: flex;
  gap: 12px;
}

.step-messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transition: transform 200ms ease, background 200ms ease;
}

.step-messenger-icon:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.1);
}

.step-messenger-icon svg {
  width: 24px;
  height: 24px;
}

/* Выпадающее меню мессенджеров в карточке */
.step-messenger-option {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-messenger-dropdown {
  position: relative;
  display: inline-block;
}

.step-messenger-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-messenger-toggle svg {
  width: 36px;
  height: 36px;
  display: block;
  transition: transform 200ms ease;
  border-radius: 50%;
  padding: 0;
  background: transparent;
}

.step-messenger-toggle:hover svg {
  transform: scale(1.1);
  background: rgba(76, 175, 80, 0.1);
}

.step-messenger-menu {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 0;
  display: none;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  min-width: 180px;
  z-index: 9999;
}

.step-messenger-dropdown.open .step-messenger-menu {
  display: flex;
  flex-direction: column;
}

.step-messenger-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background 0.2s;
}

.step-messenger-item:hover {
  background: rgba(76, 175, 80, 0.08);
}

.step-messenger-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .how-to-order {
    padding: 60px 16px;
  }

  .how-to-order h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .steps-grid {
    gap: 20px;
  }

  .step-card {
    padding: 30px 24px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }

  .step-card h3 {
    font-size: 20px;
  }

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

/* === КАЛЬКУЛЯТОР === */
.calculator {
  border-radius: 20px;
  padding: 40px 32px;
  margin: 40px auto;
  max-width: 650px;
  background: linear-gradient(145deg, #fff 0%, #f8f9fa 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: #333;
}

.slider-container {
  position: relative;
  margin: 20px 0 40px;
}

.calculator label {
  display: block;
  text-align: center;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.range-value {
  position: absolute;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 20px;
  white-space: nowrap;
  height: auto;
  line-height: 24px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

input[type="range"] {
  width: 100%;
  height: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e0e0e0 0%, #d0d0d0 100%);
  outline: none;
  appearance: none;
  margin-top: 80px;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
  transition: transform 150ms ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.checkbox-container {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.checkbox-container label {
  color: #333;
  font-weight: 500;
  font-size: 17px;
  margin: 0;
}

.checkbox-container input[type="checkbox"] {
  width: 26px;
  height: 26px;
  cursor: pointer;
  margin: 0;
  accent-color: #4CAF50;
}

.checkbox-container#concreteBase input[type="checkbox"] {
  width: 26px;
  height: 26px;
  accent-color: #4CAF50;
}

/* Иконка вопроса и тултип */
.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4CAF50;
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: help;
  margin-left: 8px;
  position: relative;
  user-select: none;
}

.tooltip-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip-icon:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.85);
  margin-bottom: 2px;
  z-index: 1001;
}

/* Адаптация тултипа для мобильных устройств */
@media (max-width: 768px) {
  .tooltip-icon:hover::after {
    white-space: normal;
    max-width: min(280px, 90vw);
    width: max-content;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: auto;
    top: 20%;
    margin-bottom: 0;
    word-wrap: break-word;
    word-break: break-word;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.4;
    position: fixed;
    z-index: 10000;
  }

  .tooltip-icon:hover::before {
    display: none;
  }
}

.price-result {
  margin-top: 32px;
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
}

.highlight {
  color: #4CAF50;
  font-size: 28px;
}

/* === КНОПКИ === */
.cta-btn {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  padding: 16px 36px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 200ms ease;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(76, 175, 80, 0.4);
}

.cta-btn.secondary {
  background: linear-gradient(135deg, #43A047 0%, #388E3C 100%);
  font-size: 16px;
  padding: 14px 28px;
}

/* === КАТАЛОГ === */
.catalog-hero {
  padding: 80px 20px;
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.product-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 250ms ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  border-color: rgba(76, 175, 80, 0.2);
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 300ms ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card h3 {
  margin: 16px 0 10px;
  font-size: 19px;
  color: #1a1a1a;
  font-weight: 600;
}

.product-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.product-price {
  font-weight: 700;
  color: #2e7d32;
  margin-top: auto;
  padding-top: 12px;
  font-size: 18px;
}

.product-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 200ms ease;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.35);
}

/* === СТРАНИЦА ТОВАРА === */
.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.product-buttons {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-info {
  padding: 10px;
}

.product-features {
  text-align: left;
  list-style: none;
  margin-left: 0;
  color: #444;
  padding: 0;
}

.product-features li {
  padding: 8px 0 8px 32px;
  position: relative;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
}

.product-price-big {
  font-size: 30px;
  font-weight: 800;
  color: #2e7d32;
  margin: 20px 0;
  background: linear-gradient(90deg, #2e7d32 0%, #4CAF50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-text {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 20px;
  text-align: left;
}

.product-text ul {
  margin: 20px 0;
  padding-left: 28px;
}

@media (max-width: 768px) {
  .product-container {
    grid-template-columns: 1fr;
  }
}

/* === ПОДВАЛ === */
footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  padding: 60px 20px;
  border-top: none;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

footer a {
  color: #4CAF50;
  text-decoration: none;
  transition: all 200ms ease;
}

footer a:hover {
  color: #66bb6a;
  text-decoration: underline;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.footer-phone {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50px;
  transition: all 200ms ease;
}

.footer-phone:hover {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.footer-hours {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-address {
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin: 16px 0;
}

.footer-nav {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 200ms ease;
}

.footer-nav a:hover {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
  text-decoration: none;
}

/* === МОДАЛ === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.modal.open {
  display: flex;
}

.modal-content {
  background: linear-gradient(145deg, #fff 0%, #f8f9fa 100%);
  padding: 36px 32px;
  border-radius: 20px;
  width: 75%;
  max-width: 560px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 300ms ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content h2 {
  margin-top: 0;
  color: #1a1a1a;
}

.close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

.close:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

/* Дополнительные стили для модала заказа звонка */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  color: #1a1a1a;
}

.modal-body {
  padding-top: 10px;
}

.modal-body p {
  margin-top: 0;
  margin-bottom: 20px;
  color: #555;
}

.callback-form select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.callback-form select:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

/* Чекбокс в модальном окне */
.callback-form .checkbox-container {
  display: flex;
  margin-top: 0;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  white-space: normal;
}

.callback-form .checkbox-container input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0;
}

.checkbox-link {
  color: #4CAF50;
  text-decoration: underline;
  transition: color 0.2s;
}

.checkbox-link:hover {
  color: #388E3C;
  text-decoration: none;
}

/* === КОНТЕЙНЕР === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === ТЕХНОЛОГИИ МОЩЕНИЯ === */
.tech-methods {
  padding: 70px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.tech-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease;
  border: 2px solid transparent;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.tech-card.featured {
  border-color: #4CAF50;
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
}

.tech-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.tech-card h3 {
  font-size: 18px;
  color: #4CAF50;
  margin: 0 0 8px;
  font-weight: 600;
}

.tech-title {
  font-size: 22px;
  color: #1a1a1a;
  margin: 0 0 20px;
  font-weight: 700;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.tech-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.tech-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
  font-size: 18px;
}

.tech-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.tech-price:last-of-type {
  border-bottom: none;
}

.price-label {
  font-size: 14px;
  color: #888;
}

.price-value {
  font-size: 18px;
  font-weight: 700;
  color: #2e7d32;
}

.tech-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-walk {
  background: #e3f2fd;
  color: #1976d2;
}

.badge-popular {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  top: -17px;
  right: 20px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.badge-car {
  background: #fff3e0;
  color: #f57c00;
}

.badge-heavy {
  background: #ffebee;
  color: #c62828;
}

.tech-note {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 28px;
  background: rgba(76, 175, 80, 0.08);
  border-radius: 12px;
  border-left: 4px solid #4CAF50;
}

.tech-note p {
  margin: 0;
  color: #2e7d32;
  font-size: 15px;
  line-height: 1.6;
}

/* === КАЧЕСТВО И ВНИМАНИЕ ДЕТАЛЯМ === */
.quality-focus {
  padding: 70px 20px;
  background: #1a1a2e;
  color: #fff;
}

.quality-focus h2 {
  color: #fff;
}

.quality-focus .subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.quality-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 200ms ease, border-color 200ms ease;
  position: relative;
  overflow: hidden;
}

.quality-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #4CAF50 0%, #45a049 100%);
}

.quality-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(76, 175, 80, 0.3);
}

.quality-marker {
  font-size: 48px;
  font-weight: 900;
  color: rgba(76, 175, 80, 0.2);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}

.quality-item h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 12px;
  position: relative;
}

.quality-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  position: relative;
}

/* === FAQ === */
.faq-section {
  padding: 70px 20px;
  background: #f8f9fa;
}

.faq-list {
  max-width: 850px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 200ms ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  gap: 16px;
}

.faq-icon {
  font-size: 28px;
  font-weight: 300;
  color: #4CAF50;
  transition: transform 200ms ease;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-answer p {
  padding: 0 28px 22px;
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px dashed #ddd;
}

.faq-cta p {
  font-size: 18px;
  color: #666;
  margin: 0 0 20px;
}

/* === ДЕТАЛИЗИРОВАННАЯ ГАЛЕРЕЯ === */
.portfolio-detailed {
  padding: 70px 20px;
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.project-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.tag-residential {
  background: rgba(76, 175, 80, 0.9);
}

.tag-commercial {
  background: rgba(33, 150, 243, 0.9);
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.spec-item {
  font-size: 13px;
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 6px;
  color: #555;
}

.project-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Адаптив для новых секций */
@media (max-width: 768px) {

  .tech-methods,
  .quality-focus,
  .faq-section,
  .portfolio-detailed {
    padding: 50px 16px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tech-card.featured {
    order: -1;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .faq-answer p {
    padding: 0 20px 18px;
  }
}

/* === ФОРМА === */
form label {
  display: block;
  text-align: left;
  margin-bottom: 4px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

form input,
form textarea {
  width: 93%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  background: #fff;
}

form input:focus,
form textarea:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button[type="submit"] {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 24px;
  }

  section {
    padding: 60px 16px;
  }
}

/* === СТРАНИЦА КОНТАКТОВ === */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 40px 0;
  max-width: 800px;
}

.form-description {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 25px;
}

.contacts-info h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  font-size: 24px;
  margin-right: 16px;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-details p {
  margin: 0 0 6px;
  font-size: 16px;
}

.contact-details small {
  color: #666;
  font-size: 14px;
}

.contact-details a {
  color: #4CAF50;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}


.contacts-form-section {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 16px;
  margin: 60px 0;
}

.contacts-form-section h2 {
  margin-top: 0;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form .cta-btn {
  display: block;
  margin: 30px auto 0;
  width: fit-content;
  min-width: 200px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  margin-bottom: 8px;
  font-weight: 500;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.step {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #4CAF50;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Адаптив для контактов */
@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .contacts-form-section {
    padding: 25px;
  }

  .contact-form .cta-btn {
    min-width: 180px;
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* === ХЛЕБНЫЕ КРОШКИ === */
.breadcrumbs {
  background: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
  padding: 12px 0;
  font-size: 14px;
}

.breadcrumbs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  color: #4CAF50;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: #388E3C;
  text-decoration: underline;
}

.breadcrumb-current {
  color: #666;
  font-weight: 500;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #aaa;
  user-select: none;
}

/* Адаптив */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 10px 0;
    font-size: 13px;
  }

  .breadcrumbs .container {
    padding: 0 16px;
  }

  .breadcrumb-separator {
    margin: 0 6px;
  }
}

/* === УТИЛИТЫ === */
img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* === УВЕДОМЛЕНИЯ (NOTIFICATIONS) === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.notification {
  position: fixed;
  top: max(15px, calc(50% + 25px));
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 30px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
  min-width: 300px;
  max-width: calc(100% - 30px);
  max-height: calc(100% - 30px);
  overflow-y: auto;
  box-sizing: border-box;
}

.notification.success {
  background: #4CAF50;
}

.notification.error {
  background: #f44336;
}

/* Кнопка закрытия уведомления */
.notification .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.notification .close-btn:hover {
  opacity: 1;
}

/* Добавляем отступ справа, чтобы текст не заезжал под крестик */
.notification {
  padding-right: 40px;
}