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

body {
  font-family: 'Inter', sans-serif;
  background-color: #FFFFFF;
  color: #181818;
  line-height: 1.5;
}

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

/* Header Styles */
.header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8E8F4;
}

.header-top {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8E8F4;
  padding: 15px 0;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-info span,
.address span {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #181818;
}

.header-main {
  padding: 10px 0;
}

.header-main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #E65A02;
  letter-spacing: -0.96px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 35px;
}

.nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #181818;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #E65A02;
}

.cta-button {
  background-color: #E65A02;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #d14d02;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #181818;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  background-color: #FFFFFF;
  border-top: 1px solid #E8E8F4;
  padding: 20px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #181818;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #E8E8F4;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #E65A02;
}

.mobile-cta-button {
  background-color: #E65A02;
  color: #FFFFFF;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}

/* Main Content */
.main {
  padding: 40px 0;
}

.hero {
  margin-bottom: 60px;
}

.hero-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 48.41px;
  letter-spacing: -0.4px;
  color: #181818;
  margin-bottom: 15px;
}

.hero-description {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #838398;
  margin-bottom: 30px;
  max-width: 800px;
}

.search-section {
  margin-top: 30px;
}

.search-container {
  display: flex;
  gap: 10px;
  max-width: 1140px;
}

.search-input {
  flex: 1;
  background-color: #F4F5FB;
  border: none;
  padding: 20px;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  color: #A9A9C1;
}

.search-input::placeholder {
  color: #A9A9C1;
}

.search-button {
  background-color: #E65A02;
  color: #FFFFFF;
  border: none;
  padding: 20px 40px;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #d14d02;
}

/* Price Section */
.price-section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 48.41px;
  letter-spacing: -0.4px;
  color: #181818;
  margin-bottom: 30px;
}

.section-description {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #838398;
  margin-bottom: 30px;
  max-width: 800px;
}

.price-table {
  margin-bottom: 40px;
}

.price-table-header {
  margin-bottom: 15px;
}

.table-category {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #838398;
}

.price-table-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.price-row.special-row .service-name {
  padding: 15px;
}

.service-name {
  flex: 1;
  background-color: #F4F5FB;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #181818;
}

.service-unit {
  background-color: #F4F5FB;
  padding: 15px;
  border-radius: 8px;
  width: 90px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #838398;
}

.service-price {
  background-color: #F4F5FB;
  padding: 15px;
  border-radius: 8px;
  width: 173px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #181818;
}

/* Contact Section */
.contact-section {
  margin-bottom: 60px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.contact-card {
  background-color: #F4F5FB;
  padding: 35px 25px;
  border-radius: 15px;
}

.contact-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 24.2px;
  color: #181818;
  margin-bottom: 8px;
}

.contact-info {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #838398;
}

.contact-note {
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #838398;
  margin-top: 20px;
}

/* Footer */
.footer {
  background-color: #FFFFFF;
  border-top: 1px solid #E8E8F4;
  padding: 40px 0;
}

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

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

.footer-logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #E65A02;
  letter-spacing: -0.96px;
  text-transform: uppercase;
}

.footer-copyright {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #838398;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header-top-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header-main-content {
    flex-wrap: wrap;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .cta-button {
    display: none;
  }

  .mobile-menu.active {
    display: block;
  }

  .hero-title {
    font-size: 28px;
    line-height: 34px;
  }

  .section-title {
    font-size: 28px;
    line-height: 34px;
  }

  .search-container {
    flex-direction: column;
  }

  .search-input,
  .search-button {
    font-size: 18px;
    padding: 15px;
  }

  .price-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px; /* Увеличь gap для лучшего вида */
  }

  /* Чтобы элементы не сжимались слишком сильно, задай минимальные ширины */
  .service-name {
    flex: 1 1 auto; /* Занимает доступное пространство */
    min-width: 200px; /* Минимальная ширина, чтобы не сжималось */
  }

  .service-unit {
    flex: 0 0 auto; /* Фиксированная ширина */
    width: auto; /* Сними ограничение width: 100%, чтобы не растягивалось */
    min-width: 70px; /* Минимальная ширина */
  }

  .service-price {
    flex: 0 0 auto;
    width: auto;
    min-width: 100px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-logo-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
    line-height: 30px;
  }

  .section-title {
    font-size: 24px;
    line-height: 30px;
  }

  .logo-text {
    font-size: 18px;
  }

  .footer-logo-text {
    font-size: 18px;
  }

  .contact-card {
    padding: 25px 20px;
  }
}

/* Mobile menu animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
