:root {
  --navy: #173d36;
  --navy2: #24564c;
  --gold: #b75f3a;
  --paper: #f5f1e9;
  --ink: #242621;
  --muted: #687069;
  --line: #d8d2c8;
  --cs-surface: #fffdf9;
  --cs-copper: #b75f3a;
  --cs-copper-dark: #8e4328;
  --cs-patina: #247468;
  --cs-brass: #ba8d2e;
  --cs-bronze: #7d5a42;
  --cs-radius: 22px;
  --cs-shadow: 0 18px 45px rgba(42, 47, 40, .09);
}

html { background: var(--paper); }
body {
  background:
    radial-gradient(circle at 5% 8%, rgba(183, 95, 58, .08), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
a { color: #17675c; }

.top {
  min-height: 86px;
  height: auto;
  padding: 14px clamp(20px, 4vw, 68px);
  gap: clamp(22px, 3vw, 52px);
  background: rgba(255, 253, 249, .97);
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(47, 44, 38, .05);
}
.top .brand { color: var(--ink); font-size: 21px; letter-spacing: -.7px; }
.top .brand span { max-width: none; color: var(--ink); }
.brand i {
  width: 34px;
  height: 34px;
  margin-right: 11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 66% 32%, #f2c68c 0 12%, transparent 13%),
    linear-gradient(135deg, var(--cs-copper) 0 46%, var(--cs-patina) 47% 100%);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.36);
}
.top nav { gap: clamp(14px, 1.6vw, 28px); align-items: center; }
.top nav a {
  position: relative;
  color: #39423d;
  font-size: 14px;
  font-weight: 650;
}
.top nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--cs-copper);
  transition: right .18s ease;
}
.top nav a:hover::after { right: 0; }
.phone small { color: var(--muted); }
.top .phone a { color: var(--cs-patina); }

.category-bar {
  gap: 8px;
  justify-content: center;
  padding: 10px clamp(20px, 4vw, 68px);
  background: #e9e4da;
  border-bottom: 1px solid #d3ccc1;
}
.category-bar a {
  padding: 8px 13px;
  color: #3d443f;
  background: rgba(255,255,255,.5);
  border: 1px solid transparent;
  border-radius: 999px;
}
.category-bar a:hover { background: var(--cs-surface); border-color: #c8c0b4; }
.category-bar small { opacity: .65; }

.home-hero {
  width: min(1440px, calc(100% - 48px));
  margin: 30px auto 20px;
  padding: clamp(40px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: clamp(42px, 7vw, 110px);
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255,255,255,.82), rgba(255,255,255,.34)),
    repeating-linear-gradient(135deg, transparent 0 42px, rgba(32,83,73,.035) 42px 43px),
    #e9dfd1;
  border: 1px solid #d9cdbc;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--cs-shadow);
}
.home-hero .kicker,
.section .kicker,
.dark-section .kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  color: var(--cs-copper-dark);
  background: rgba(183, 95, 58, .1);
  border-radius: 999px;
  letter-spacing: 1.35px;
}
.home-hero h1,
.catalog-head h1,
.section h2,
.dark-section h2,
.product-page h1,
.landing-hero h1,
.info-page h2,
.seo-copy h2,
.process-grid h3,
.document-grid h3 {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 780;
  letter-spacing: -.045em;
}
.home-hero h1 {
  max-width: 850px;
  margin: 24px 0 22px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: .98;
}
.home-hero h1 em { color: var(--cs-patina); }
.home-hero p { max-width: 760px; color: #515a54; font-size: 18px; line-height: 1.7; }
.hero-actions { flex-wrap: wrap; }
.btn {
  padding: 13px 19px;
  color: #2f3933;
  background: rgba(255,255,255,.55);
  border: 1px solid #b8b0a4;
  border-radius: 12px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(55,48,39,.09); }
.btn.primary { background: var(--cs-copper); border-color: var(--cs-copper); color: #fff; }

.home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}
.home-hero__proof span { display: flex; align-items: baseline; gap: 6px; }
.home-hero__proof strong { color: var(--ink); font-size: 16px; }
.home-hero__routes {
  align-self: center;
  padding: 16px;
  background: #173d36;
  border: 0;
  border-radius: 26px;
  box-shadow: 18px 22px 0 rgba(36,116,104,.13);
}
.home-hero__routes header { padding: 9px 10px 15px; }
.home-hero__routes header span,
.home-hero__routes header strong { display: block; }
.home-hero__routes header span { color: #99bcb4; font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; }
.home-hero__routes header strong { margin-top: 4px; color: #fff; font-size: 22px; }
.material-route {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}
.material-route:hover { background: rgba(255,255,255,.08); }
.material-route > b {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  color: #fff;
  background: var(--cs-copper);
  border-radius: 14px;
  font-size: 13px;
}
.material-route--latun > b { background: var(--cs-brass); }
.material-route--bronza > b { background: var(--cs-bronze); }
.material-route--vtulki > b { background: var(--cs-patina); }
.material-route span strong,
.material-route span small { display: block; }
.material-route span strong { font-size: 15px; }
.material-route span small { margin-top: 3px; color: #a9c4bd; }
.material-route > i { color: #a9c4bd; font-style: normal; font-size: 20px; }

.material-strip {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 28px;
  gap: 14px;
  background: transparent;
  border: 0;
}
.material-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  align-items: center;
  min-width: 0;
  padding: 18px;
  background: rgba(255,253,249,.82);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.trust-strip .material-card { border-right: 1px solid var(--line); }
.material-card > b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--cs-copper);
  border-radius: 50%;
  font-size: 14px;
}
.material-card--brass > b { background: var(--cs-brass); }
.material-card--bronze > b { background: var(--cs-bronze); }
.material-card span strong,
.material-card span small { display: block; }
.material-card span strong { font-size: 16px; }
.material-card span small { margin-top: 5px; color: var(--muted); line-height: 1.4; }

.home-stock-photo {
  position: relative;
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto 14px;
  overflow: hidden;
  background: #202722;
  border-radius: 24px;
  box-shadow: var(--cs-shadow);
}
.home-stock-photo img {
  display: block;
  width: 100%;
  height: clamp(280px, 43vw, 610px);
  object-fit: cover;
}
.home-stock-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 560px;
  padding: 11px 14px;
  color: #eef4f1;
  background: rgba(27, 35, 30, .82);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  backdrop-filter: blur(6px);
}

.section { padding: 64px 5vw; }
.section > header { max-width: 880px; }
.section h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.category-grid,
.home-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
}
.category-grid a {
  position: relative;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 145px;
  padding: 23px;
  background: var(--cs-surface);
  border: 1px solid var(--line);
  border-radius: var(--cs-radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(42,47,40,.04);
}
.category-grid a:hover {
  background: #fff;
  border-left: 1px solid var(--line);
  transform: translateY(-3px);
  box-shadow: var(--cs-shadow);
}
.category-grid a::before {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -31px;
  width: 105px;
  height: 105px;
  border: 18px solid rgba(183,95,58,.12);
  border-radius: 50%;
}
.home-category--latun::before { border-color: rgba(186,141,46,.14)!important; }
.home-category--bronza::before { border-color: rgba(125,90,66,.15)!important; }
.home-category--vtulki::before { border-color: rgba(36,116,104,.14)!important; }
.category-grid a > span { color: var(--cs-copper); font-size: 11px; letter-spacing: 1.2px; }
.category-grid a > strong { max-width: 80%; font-size: 19px; line-height: 1.15; }
.category-grid small { color: var(--muted); }

.feature-split { gap: 18px; }
.feature-panel,
.process-grid article,
.document-grid article,
.content-grid article,
.info-page > section,
.control-card {
  border: 1px solid var(--line);
  border-radius: var(--cs-radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(42,47,40,.05);
}
.feature-panel.dark-panel { background: var(--cs-patina); }
.feature-panel:not(.dark-panel) { background: #ded1bf; }
.link-grid { gap: 10px; border: 0; }
.link-grid a {
  display: grid;
  min-height: 105px;
  padding: 18px;
  background: var(--cs-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.link-grid a:hover { border-left: 1px solid var(--line); box-shadow: 0 10px 25px rgba(42,47,40,.07); }

.dark-section {
  width: min(1340px, calc(100% - 48px));
  margin: 24px auto;
  padding: clamp(34px, 5vw, 66px);
  color: #fff;
  background: linear-gradient(125deg, #1b5148, #173d36);
  border: 0;
  border-radius: 28px;
}
.dark-section p,
.dark-section li { color: #c3d8d2; }
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--cs-radius);
  box-shadow: var(--cs-shadow);
}
.quote-form input,
.quote-form textarea,
.quote-form select,
.filter-panel input,
.filter-panel select {
  border-color: #c9c2b7;
  border-radius: 10px;
}
.filter-panel,
.product-table,
.seo-copy,
.seo-managed,
.faq,
.cart-list,
.chemistry,
.product-page > div,
.product-page > aside {
  background: var(--cs-surface);
  border-color: var(--line);
  border-radius: var(--cs-radius);
  overflow: hidden;
}
.seo-copy,
.seo-managed,
.faq { border-left: 1px solid var(--line); box-shadow: 0 10px 30px rgba(42,47,40,.04); }
.table-head { background: var(--cs-patina); }
.row-action { border-color: var(--cs-patina); border-radius: 9px; }
.tag.ind { background: var(--cs-patina); }
.notice,
.info-callout { background: #ede2d2!important; border-left-color: var(--cs-copper)!important; }
.breadcrumbs { color: var(--muted); }
.breadcrumbs a { color: var(--cs-patina); }

footer {
  background: #173d36;
  border: 0;
  border-radius: 28px 28px 0 0;
}
footer .brand span { color: #fff; }
.mobile-contact-bar { background: #173d36; border-top-color: var(--cs-copper); }
.mobile-contact-bar .mobile-phone,
.mobile-contact-bar .mobile-quote { background: var(--cs-copper-dark); }

@media (max-width: 1320px) {
  .top { gap: clamp(16px, 2.5vw, 34px); }
  .top .phone { display: none; }
}

@media (max-width: 1100px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero__routes { width: 100%; box-shadow: none; }
  .category-grid,
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .top { padding: 12px 5vw; }
  .top nav { border-top: 1px solid var(--line); }
  .category-bar { justify-content: flex-start; }
  .home-hero,
  .material-strip,
  .home-stock-photo,
  .dark-section { width: calc(100% - 24px); }
  .home-hero { margin-top: 14px; padding: 34px 22px; border-radius: 24px; }
  .home-hero h1 { font-size: clamp(38px, 12vw, 56px); }
  .home-hero__proof { display: grid; }
  .material-strip { grid-template-columns: 1fr; }
  .category-grid,
  .home-category-grid { grid-template-columns: 1fr; }
  .category-grid a { min-height: 120px; }
  .dark-section { border-radius: 22px; }
}
