* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1f1f1f;
  background: #f4f6f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER */
/* Улучшенная шапка – логотип + текст */
header {
  background: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  color: #2f2f2f; /* графит */
}

.logo span {
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b; /* стальной серый */
}

.logo img {
  height: 130px; /* размер лого */
}

nav a {
  color: #2f2f2f;
  font-weight: 500;
}

nav a:hover {
  color: #1f4f7a; /* оттенок синего из логотипа */
}

/* HERO */

.hero {
  background: linear-gradient(rgba(14,42,71,0.85), rgba(14,42,71,0.85)),
              url('https://images.unsplash.com/photo-1581093588401-22d6e6f35e45?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* SECTIONS */

.section {
  padding: 80px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #0e2a47;
}

.gray {
  background: #e9edf2;
}

/* PRODUCTS */

.product-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: auto;
}

.product-list li {
  background: white;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #ff7a00;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.advantages {
  background: #f4f6f8;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.adv-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* CITIES */

.cities {
  text-align: center;
}

.cities span {
  display: inline-block;
  background: #0e2a47;
  color: white;
  padding: 8px 18px;
  margin: 6px;
  border-radius: 25px;
  font-size: 14px;  
}

/* FORM */

.form-section {
  background: white;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

input, select, textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #ff7a00;
}

.btn {
  background: #ff7a00;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  display: inline-block;
}

.btn:hover {
  background: #e56700;
}

/* CONTACTS */

#contacts p {
  text-align: center;
  font-size: 16px;
}

/* FOOTER */

footer {
  background: #0e2a47;
  color: white;
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
}
/* PRODUCTS GRID */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  padding: 20px 20px 10px;
  color: #0e2a47;
}

.product-card p {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}
/* Преимущества */
.advantages {
  background: #f5f5f5;
  padding: 80px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.adv-icon {
  font-size: 40px;
  margin-bottom: 15px;
}
/*Шапка*/
header {
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* разрешаем перенос */
    gap: 15px;
}

.logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 40px;   /* регулируй значение расположение лого*/
}

.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Контакты в шапке */
.header-contacts {
    text-align: right;
    font-size: 16px; /*размер контактов*/
}

.header-contacts a {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 500;
}

.header-contacts a:hover {
  color: #1f4f7a;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
}
.seo-text {
  background: #ffffff;
}

.seo-text p {
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.7;
  color: #444;
  font-size: 15px;
}

/*таблица*/
.table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}
.dn-separator td {
  background: #eef2f6;
  font-weight: 700;
  text-align: left;
  padding: 14px;
  color: #0e2a47;
  border-top: 3px solid #ff7a00;
  font-size: 15px;
}

.flange-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.flange-table th {
  background: #0e2a47;
  color: white;
  padding: 12px;
  font-size: 14px;
}

.flange-table td {
  text-align: center;
  padding: 10px;
  border: 1px solid #e5e5e5;
  font-size: 14px;
}

.flange-table tr:nth-child(even) {
  background: #f5f7fa;
}
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.phone {
  color: #0e2a47;
}

.phone:hover {
  color: #ff7a00;
}

/* Кнопка прокрутки вверх */
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  background: #ff7a00;
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: 0.3s ease;
  z-index: 999;
}

#scrollTopBtn:hover {
  background: #e56700;
  transform: translateY(-3px);
 }
 /* 📱 Мобильная версия */
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo img {
        max-width: 140px;
        margin-bottom: 10px;
    }

    .header-contacts {
        font-size: 14px;
    }

}
body {
    overflow-x: hidden;
}
.catalog-item {

  background: white;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #ff7a00;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);

} 
.catalog-item b {

  color: #000000;

}

.catalog-item a {

  color: #ff7a00;

}