:root {
  color-scheme: light;
  --bg: #f4f7f8;
  --ink: #142126;
  --muted: #607078;
  --line: #d9e2e5;
  --panel: #ffffff;
  --blue: #0b6d87;
  --copper: #b76a33;
  --steel: #2d454f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 70px;
  padding: 0 5vw;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 2px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--blue);
  border-radius: 6px;
}
nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
button, .primary, .hero-actions a {
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
button, .primary { background: var(--blue); color: white; }
.cart-button { background: var(--steel); }
.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 56px 5vw;
  background:
    linear-gradient(90deg, rgba(10,25,31,.92), rgba(10,25,31,.62) 43%, rgba(10,25,31,.12)),
    url("/static/img/hero-refrigeration-pipe-fixed.png") center / cover no-repeat;
  color: white;
}
.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 12px;
  color: #8dd6e7;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 52px; line-height: 1.04; letter-spacing: 0; margin-bottom: 20px; }
h2 { font-size: 30px; }
.hero p { font-size: 19px; line-height: 1.55; color: #edf7f8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions a:not(.primary) { background: white; color: var(--ink); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.stats div {
  padding: 26px 5vw;
  background: white;
}
.stats strong { display: block; font-size: 32px; color: var(--copper); }
.stats span { color: var(--muted); }
.section, .page-title { padding: 54px 5vw; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-head a { color: var(--blue); font-weight: 700; }
.band { background: white; }
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 0 5vw 60px;
}
.filters {
  align-self: start;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.filters label { font-size: 13px; color: var(--muted); }
.filters .checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfc;
  color: var(--ink);
}
.filters .checkline input { width: 16px; height: 16px; }
.filter-reset { background: #edf2f4; color: var(--ink); }
.filter-count { margin: 0; color: var(--muted); font-size: 14px; }
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.category-tabs a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
}
.category-tabs a.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.catalog-table-wrap {
  overflow: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.catalog-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 13px;
}
.catalog-table th,
.catalog-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.catalog-table th {
  background: #f8fbfc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.catalog-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.catalog-table button {
  padding: 8px 10px;
  white-space: nowrap;
}
label { display: grid; gap: 8px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  background: white;
}
textarea { min-height: 110px; resize: vertical; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.product-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tag {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 5px;
  background: #e8f4f7;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.price { color: var(--copper); font-weight: 800; font-size: 13px; }
.product-card h3 { margin: 18px 0 8px; line-height: 1.25; }
.size { color: var(--steel); font-weight: 800; }
.product-card p { color: var(--muted); line-height: 1.45; }
.params { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 16px; }
.params span { padding: 6px 8px; background: #f4f7f8; border-radius: 5px; font-size: 12px; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag-row span { padding: 7px 9px; background: #e8f4f7; color: var(--blue); border-radius: 5px; font-weight: 700; font-size: 13px; }
.category-grid, .city-cloud {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.category-grid a, .city-cloud a {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.category-grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.city-info, .contact-grid, .product-page {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  padding: 0 5vw 54px;
}
.city-info > div, .contact-grid > div, .lead-form.large, .spec {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.spec { border-collapse: separate; border-spacing: 0; width: 100%; }
.spec th, .spec td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.spec th { color: var(--muted); width: 40%; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.product-actions a { color: var(--blue); font-weight: 700; }
.delivery-grid, .tool-grid, .article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.info-card, .calc-box, .article-card, .article-cta {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.info-card h2, .calc-box h2, .article-card h2 {
  margin-top: 0;
  font-size: 22px;
}
.info-card p, .calc-box p, .article-card p {
  color: var(--muted);
  line-height: 1.55;
}
.calc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.calc-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.calc-result {
  min-height: 74px;
  margin-top: 14px;
  padding: 14px;
  background: #eef6f8;
  border: 1px solid #cce4ea;
  border-radius: 8px;
  color: var(--steel);
  line-height: 1.45;
}
.calc-result strong, .calc-result span {
  display: block;
}
.calc-result strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 20px;
}
.article-card {
  display: grid;
  align-content: start;
  gap: 10px;
}
.article-card h2 {
  line-height: 1.25;
}
.article-card h2 a {
  color: var(--ink);
}
.article-page {
  padding-top: 0;
}
.article-content {
  max-width: 920px;
  color: var(--steel);
  line-height: 1.7;
}
.article-content h2 {
  margin-top: 30px;
  color: var(--ink);
}
.article-cta {
  margin-top: 28px;
}
.article-cta .primary {
  display: inline-flex;
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--blue);
  color: white;
  border-radius: 6px;
  font-weight: 800;
}
.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 20;
  width: min(430px, 100vw);
  overflow-y: auto;
  padding: 20px;
  background: white;
  box-shadow: -20px 0 60px rgba(20,33,38,.18);
  transform: translateX(110%);
  transition: transform .2s ease;
}
.cart-panel.is-open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cart-head button { background: #edf2f4; color: var(--ink); font-size: 22px; padding: 6px 12px; }
.cart-items { display: grid; gap: 10px; margin-bottom: 18px; }
.cart-item { padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.lead-form { display: grid; gap: 10px; }
.lead-form label {
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
}
.inn-control {
  position: relative;
  display: block;
}
.inn-status {
  min-height: 17px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.inn-status[data-state="success"] { color: #237044; }
.inn-status[data-state="error"] { color: #9b3328; }
.lead-form input[aria-invalid="true"] {
  border-color: #9b3328;
  background: #fffafa;
}
.company-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(20,33,38,.18);
}
.company-suggestions[hidden] { display: none; }
.company-suggestions button {
  padding: 10px;
  color: var(--ink);
  background: #f7fafb;
  border: 1px solid transparent;
  text-align: left;
}
.company-suggestions button:hover {
  border-color: var(--blue);
  background: white;
}
.company-suggestions strong,
.company-suggestions span,
.company-suggestions small {
  display: block;
  overflow-wrap: anywhere;
}
.company-suggestions span,
.company-suggestions small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--steel);
  font-size: 13px;
}
.lead-form button:disabled {
  opacity: .65;
  cursor: wait;
}
.seo-text {
  line-height: 1.65;
}
.seo-text p {
  max-width: 980px;
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
}
.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}
.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--steel);
  background: #f6fafb;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 5vw;
  background: #17272d;
  color: white;
}
@media (max-width: 820px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  h1 { font-size: 36px; }
  .hero { min-height: 520px; }
  .stats, .catalog-layout, .city-info, .contact-grid, .product-page, .delivery-grid, .tool-grid, .article-grid, .calc-fields { grid-template-columns: 1fr; }
  .filters { position: static; }
}
