/* ============================================================
   Технокем — стиль лендинга 2012 года
   Глянцевые градиенты, объёмные кнопки, Arial, ширина 1000px
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

section[id] {
  scroll-margin-top: 10px;
}

.site {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background: #dfe6ec repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.3) 0,
    rgba(255, 255, 255, 0.3) 1px,
    transparent 1px,
    transparent 7px
  );
  margin: 0;
}

.wrap {
  width: 1000px;
  margin: 0 auto;
}

.site a {
  color: #1a63b0;
  text-decoration: underline;
}

.site a:hover {
  color: #ff6a00;
  text-decoration: none;
}

/* ---------- ШАПКА ---------- */

.topbar {
  background: #ffffff;
  background: linear-gradient(to bottom, #ffffff 0%, #eef3f8 100%);
  border-bottom: 1px solid #b9c6d2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo-name {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 36px;
  font-weight: bold;
  color: #155a9e;
  text-decoration: none;
  text-shadow: 0 1px 0 #ffffff;
  letter-spacing: 0.5px;
}

.logo-name span {
  color: #ff6a00;
}

.logo-slogan {
  font-size: 12px;
  color: #6b7c8c;
  margin-top: 2px;
}

.top-contacts {
  text-align: right;
  font-size: 13px;
  color: #4a5a68;
}

.top-addr {
  margin-bottom: 3px;
}

.top-addr .ic {
  color: #ff6a00;
  font-weight: bold;
  margin-right: 4px;
}

.top-phone {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 26px;
  font-weight: bold;
  margin-top: 6px;
}

.top-phone a {
  color: #155a9e;
  text-decoration: none;
  text-shadow: 0 1px 0 #ffffff;
}

.top-phone a:hover {
  color: #ff6a00;
}

/* ---------- МЕНЮ ---------- */

.menu {
  background: linear-gradient(to bottom, #2e77c2 0%, #1a5da6 50%, #154f8f 51%, #1a5da6 100%);
  border-top: 1px solid #5b9bd5;
  border-bottom: 1px solid #0e3a6b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu li {
  flex: 1 1 auto;
  text-align: center;
}

.menu a {
  display: block;
  padding: 11px 10px;
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(0, 0, 0, 0.22);
}

.menu li:first-child a {
  border-left: none;
}

.menu li:last-child a {
  border-right: none;
}

.menu a:hover {
  background: linear-gradient(to bottom, #ff9a3d 0%, #ff7a00 50%, #e56a00 51%, #ff7a00 100%);
  color: #ffffff;
}

/* ---------- HERO ---------- */

.hero {
  background: linear-gradient(to bottom, #fdfefe 0%, #e8f0f7 100%);
  border-bottom: 1px solid #c3cedb;
}

.hero-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 30px 0 34px;
}

.hero-text {
  flex: 1;
}

.hero h1 {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 30px;
  line-height: 1.25;
  color: #12457c;
  margin: 0 0 16px;
  text-shadow: 0 1px 0 #ffffff;
}

.hero-sub {
  font-size: 15px;
  color: #40566b;
  margin: 0 0 14px;
}

.hero-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.hero-list li {
  padding: 4px 0 4px 26px;
  position: relative;
  color: #2c3e50;
}

.hero-list li::before {
  content: '✔';
  position: absolute;
  left: 4px;
  color: #4aa32c;
  font-weight: bold;
  text-shadow: 0 1px 0 #ffffff;
}

.hero-cta {
  margin: 0;
}

.btn-orange {
  display: inline-block;
  padding: 13px 26px;
  font-size: 17px;
  font-weight: bold;
  font-family: 'Trebuchet MS', Arial, sans-serif;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  background: linear-gradient(to bottom, #ffb35c 0%, #ff8a1e 50%, #f07300 51%, #ff8a1e 100%);
  border: 1px solid #c85e00;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-orange:hover {
  background: linear-gradient(to bottom, #ffc27a 0%, #ff9a3d 50%, #ff7f0d 51%, #ff9a3d 100%);
  color: #ffffff;
}

.hero-photo {
  flex: 0 0 460px;
}

.hero-photo img {
  width: 460px;
  display: block;
  border: 6px solid #ffffff;
  outline: 1px solid #b6c3d0;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

/* ---------- СЕКЦИИ ---------- */

.section {
  padding: 36px 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid #c3cedb;
  border-bottom: 1px solid #c3cedb;
  box-shadow: inset 0 1px 0 #ffffff;
}

.section h2 {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 26px;
  color: #12457c;
  margin: 0 0 8px;
  padding: 0 0 10px 14px;
  position: relative;
  text-shadow: 0 1px 0 #ffffff;
  background: linear-gradient(to bottom, #6f90ad, #9db4c9) left bottom / 100% 3px no-repeat;
}

.section-alt h2 {
  text-shadow: none;
}

.section-intro {
  color: #55677a;
  margin: 0 0 22px;
  padding-left: 14px;
}

/* ---------- ПРОДУКЦИЯ ---------- */

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

.product-card {
  background: #ffffff;
  border: 1px solid #c3cedb;
  border-radius: 8px;
  padding: 10px 10px 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.15s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  border: 1px solid #d4dde6;
  border-radius: 4px;
}

.product-card h3 {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 16px;
  color: #155a9e;
  margin: 10px 2px 6px;
}

.product-card p {
  margin: 0 2px;
  font-size: 13px;
  color: #55677a;
}

/* ---------- ПРАЙС ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #9fb2c4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 14px;
}

.price-table th {
  background: linear-gradient(to bottom, #2e77c2 0%, #1a5da6 50%, #154f8f 51%, #1a5da6 100%);
  color: #ffffff;
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 14px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  padding: 10px 12px;
  text-align: left;
  border: 1px solid #0e3a6b;
}

.price-table td {
  padding: 8px 12px;
  border: 1px solid #c3cedb;
}

.price-table .col-num {
  width: 46px;
  text-align: center;
  color: #7a8a99;
}

.price-table .col-price {
  width: 170px;
  text-align: center;
}

.price-table td.col-num {
  background: #f2f6fa;
}

.price-table td.col-price {
  background: #f2f6fa;
}

.price-table .price {
  font-weight: bold;
  color: #d95f00;
  font-size: 15px;
  white-space: nowrap;
}

.price-table tbody tr:nth-child(even) td {
  background: #eef4fa;
}

.price-table tbody tr:nth-child(even) td.col-num,
.price-table tbody tr:nth-child(even) td.col-price {
  background: #e3edf7;
}

.group-row td {
  background: linear-gradient(to bottom, #f5d9b8 0%, #f2c98f 100%) !important;
  color: #8a4b00;
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  border-color: #d8a763 !important;
  padding-left: 12px;
}

.price-note {
  margin-top: 12px;
  font-size: 12px;
  color: #7a8a99;
}

/* ---------- ДВЕ КОЛОНКИ ---------- */

.two-cols {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.two-cols-rev .col-photos {
  order: 0;
}

.two-cols-rev .col-text {
  order: 1;
}

.col-text {
  flex: 1;
  font-size: 14px;
}

.col-text p {
  margin: 0 0 12px;
}

.col-photos {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.col-photos img {
  width: 340px;
  display: block;
  border: 5px solid #ffffff;
  outline: 1px solid #b6c3d0;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.check-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.check-list li {
  padding: 5px 0 5px 26px;
  position: relative;
}

.check-list li::before {
  content: '✔';
  position: absolute;
  left: 4px;
  color: #4aa32c;
  font-weight: bold;
}

.section-alt .check-list li::before,
.section-alt .hero-list li::before {
  text-shadow: none;
}

/* ---------- КОНТАКТЫ ---------- */

.contacts-grid {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

.contacts-map {
  flex: 1;
  border: 6px solid #ffffff;
  outline: 1px solid #b6c3d0;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: #dfe6ec;
}

.contacts-map iframe {
  display: block;
  border: 0;
}

.contacts-info {
  flex: 0 0 340px;
  background: linear-gradient(to bottom, #fdfefe 0%, #e8f0f7 100%);
  border: 1px solid #c3cedb;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.contacts-info h3 {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 18px;
  color: #12457c;
  margin: 0 0 14px;
}

.contacts-info p {
  margin: 0 0 12px;
  font-size: 14px;
}

.contacts-info .ic {
  color: #ff6a00;
  font-weight: bold;
  margin-right: 5px;
}

.contacts-phone {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.contacts-hours {
  color: #55677a;
  font-size: 13px;
  border-top: 1px dashed #b6c3d0;
  padding-top: 12px;
  margin-bottom: 0 !important;
}

/* ---------- ПОДВАЛ ---------- */

.footer {
  background: linear-gradient(to bottom, #2a5f9e 0%, #16406f 100%);
  border-top: 1px solid #0e3a6b;
  color: #c8d8ea;
  font-size: 12px;
}

.footer a {
  color: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

/* ---------- АДАПТИВНОСТЬ (минимум) ---------- */

@media (max-width: 1020px) {
  .wrap {
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-inner,
  .two-cols,
  .contacts-grid,
  .footer-inner {
    flex-direction: column;
  }

  .hero-photo,
  .col-photos,
  .contacts-info {
    flex: 1 1 auto;
  }

  .hero-photo img,
  .col-photos img {
    width: 100%;
  }

  .menu ul {
    flex-wrap: wrap;
  }

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

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

  .topbar-inner {
    flex-direction: column;
    gap: 12px;
  }

  .top-contacts {
    text-align: center;
  }
}
