:root {
  --ink: #10202c;
  --ink-2: #183442;
  --ink-3: #234b5c;
  --paper: #f7f8f5;
  --white: #ffffff;
  --silver: #e7ecec;
  --silver-2: #d6dede;
  --line: #cdd7d8;
  --muted: #65767c;
  --accent: #ed6a3a;
  --accent-dark: #c94e21;
  --green: #1e795e;
  --shadow: 0 24px 70px rgba(16, 32, 44, .12);
  --radius: 22px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.cart-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; color: #4d626a; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 5.5vw, 5.9rem); font-weight: 660; }
h2 { font-size: clamp(2rem, 3.5vw, 3.8rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 650; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 890px; }
.section { padding: 92px 0; }
.section-dark { color: white; background: var(--ink); }
.section-dark p, .section-dark .fine { color: #b9c9cd; }
.section-silver { background: var(--silver); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.section-head > p { max-width: 530px; margin: 0; font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fine { margin-top: 12px; color: var(--muted); font-size: .82rem; }
.text-link { color: var(--accent-dark); font-weight: 750; }
.text-link:hover { color: var(--accent); }

.topline { color: #c9d6d8; background: #08141c; font-size: .75rem; letter-spacing: .035em; }
.topline .container { min-height: 34px; display: flex; justify-content: center; gap: 42px; align-items: center; }
.topline span + span::before { content: "•"; margin-right: 42px; color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(205, 215, 216, .8); background: rgba(247, 248, 245, .94); backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 12px 4px 12px 4px;
  background: linear-gradient(145deg, #34586a, #0b1c27);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .17);
  font-size: 1rem;
  font-weight: 850;
}
.brand strong { display: block; font-size: 1.08rem; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: .69rem; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: .9rem; font-weight: 650; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--accent); transition: right .2s; }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: .87rem; font-weight: 750; white-space: nowrap; }
.cart-button, .menu-toggle {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  padding: 0 15px;
  font-size: .83rem;
  font-weight: 750;
  cursor: pointer;
}
.cart-button b { min-width: 21px; height: 21px; display: inline-grid; place-items: center; margin-left: 6px; color: white; border-radius: 50%; background: var(--accent); font-size: .72rem; }
.menu-toggle { display: none; margin-left: auto; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 0 25px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--accent); box-shadow: 0 14px 28px rgba(237, 106, 58, .25); }
.button-primary:hover { background: var(--accent-dark); }
.button-light { color: var(--ink); background: white; }
.button-dark { color: white; background: var(--ink); }
.button-ghost { border-color: var(--line); background: transparent; }
.button-small { min-height: 38px; padding: 0 16px; font-size: .83rem; }
.button-wide { width: 100%; }
.button-cart { min-height: 38px; padding: 0 15px; color: white; background: var(--ink); white-space: nowrap; font-size: .82rem; }
.button-cart.added { color: white; background: var(--green); }

.hero { overflow: hidden; color: white; background: var(--ink); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 36px; }
.hero-copy { position: relative; z-index: 2; padding: 76px 0 84px; }
.hero-copy h1 em { display: block; color: #9fc0c7; font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 680px; margin: 28px 0; color: #c7d5d8; font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 44px; }
.hero-facts { display: flex; gap: 34px; }
.hero-facts div { padding-right: 34px; border-right: 1px solid #35505c; }
.hero-facts div:last-child { padding: 0; border: 0; }
.hero-facts strong { display: block; color: white; font-size: 1.25rem; }
.hero-facts span { color: #91aab0; font-size: .75rem; }
.hero-visual { position: relative; min-height: 630px; align-self: end; }
.hero-visual::before { content: ""; position: absolute; inset: 9% -20% -8% 5%; border-radius: 50%; background: radial-gradient(circle, rgba(79, 119, 134, .38), rgba(16, 32, 44, 0) 68%); }
.hero-visual > img { position: absolute; right: -5%; bottom: 5%; width: 108%; height: 88%; object-fit: cover; object-position: 58% center; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; box-shadow: 0 32px 70px rgba(0,0,0,.35); }
.visual-card { position: absolute; z-index: 2; width: 160px; min-height: 90px; padding: 15px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; background: rgba(17, 39, 50, .8); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.visual-card b { color: var(--accent); font-size: .72rem; }
.visual-card span { display: block; margin-top: 8px; color: #dce7e9; font-size: .78rem; line-height: 1.35; }
.card-cert { left: 0; top: 18%; }
.card-lab { right: 0; top: 34%; }
.card-pack { left: 10%; bottom: 12%; }
.trust-strip { color: white; background: #183442; }
.trust-strip .container { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.trust-strip span { display: flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 650; }
.trust-strip span::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: rgba(255, 255, 255, .1); }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 280px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s, box-shadow .2s, border-color .2s; }
.category-card:hover { transform: translateY(-5px); border-color: #9caaad; box-shadow: var(--shadow); }
.category-card h3 { margin: 62px 0 10px; font-size: 1.55rem; }
.category-card p { font-size: .91rem; }
.category-card .text-link { position: absolute; left: 30px; bottom: 25px; font-size: .86rem; }
.category-count { position: absolute; right: 22px; top: 20px; color: var(--muted); font-size: .74rem; }

.product-icon { position: relative; width: 58px; height: 58px; display: inline-block; flex: 0 0 auto; }
.product-icon::before, .product-icon::after { content: ""; position: absolute; display: block; }
.icon-sheet::before { inset: 10px 4px 8px 8px; border: 2px solid #52717c; transform: skewY(-10deg); background: linear-gradient(135deg, #f1f4f4, #b4c1c3); box-shadow: 7px 7px 0 #8fa2a6; }
.icon-plate::before { left: 3px; right: 3px; bottom: 8px; height: 24px; border: 2px solid #526e79; border-radius: 3px; transform: skewY(-8deg); background: linear-gradient(#e9eeee, #94a8ad); box-shadow: 0 -9px 0 -2px #c6d0d1; }
.icon-rod::before { left: 8px; top: 23px; width: 46px; height: 13px; border-radius: 99px; transform: rotate(-18deg); background: linear-gradient(#dbe3e4, #5f7a84); box-shadow: 0 5px 8px rgba(16,32,44,.2); }
.icon-rod::after { right: 2px; top: 15px; width: 13px; height: 13px; border-radius: 50%; transform: rotate(-18deg); background: #dfe7e8; box-shadow: inset 0 0 0 3px #789098; }
.icon-tube::before { left: 5px; top: 20px; width: 48px; height: 17px; border-radius: 99px; transform: rotate(-16deg); background: linear-gradient(#dce4e5, #6a838c); }
.icon-tube::after { right: 0; top: 13px; width: 17px; height: 17px; border: 4px solid #a9b9bc; border-radius: 50%; transform: rotate(-16deg); background: var(--ink); }
.icon-wire::before { inset: 8px; border: 5px solid #738d95; border-radius: 50%; box-shadow: inset 0 0 0 5px #dce4e5; }
.icon-wire::after { right: 0; bottom: 8px; width: 31px; height: 4px; border-radius: 99px; transform: rotate(-14deg); background: #718991; }
.icon-coil::before { left: 8px; top: 11px; width: 42px; height: 34px; border: 4px solid #728a92; border-radius: 50%; box-shadow: inset 0 0 0 5px #dce4e5, inset 0 0 0 8px #728a92; }
.icon-coil::after { right: 2px; bottom: 6px; width: 24px; height: 5px; background: #9cabb0; }
.icon-forging::before { inset: 8px 5px; border-radius: 50%; background: radial-gradient(circle at 45% 40%, #eef2f2 0 23%, #aebdc0 25% 45%, #516c77 48% 100%); box-shadow: 0 8px 12px rgba(16,32,44,.15); }
.icon-fitting::before { left: 10px; top: 9px; width: 31px; height: 31px; border: 10px solid #6d858e; border-right-color: transparent; border-radius: 50%; transform: rotate(42deg); }
.icon-fitting::after { right: 4px; bottom: 6px; width: 24px; height: 12px; border-radius: 3px; background: linear-gradient(#dce4e5, #718891); transform: rotate(42deg); }
.icon-disk::before { inset: 6px; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 22%, #607984 24% 31%, #c9d3d5 33% 65%, #6f8890 67%); box-shadow: 0 7px 14px rgba(16,32,44,.18); }

.stock-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stock-photo-card { position: relative; min-height: 330px; overflow: hidden; border-radius: 24px; background: var(--ink); box-shadow: 0 16px 38px rgba(16,32,44,.13); }
.stock-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,18,25,.88)); transition: background .25s; }
.stock-photo-card:hover::after { background: linear-gradient(180deg, transparent 25%, rgba(7,18,25,.92)); }
.stock-photo-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s ease; }
.stock-photo-card:hover img { transform: scale(1.025); }
.stock-photo-card > span { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 25px; color: white; }
.stock-photo-card b { display: block; font-size: 1.55rem; }
.stock-photo-card small { display: block; margin-top: 6px; color: #c6d5d8; font-size: .84rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 10px 0 40px; }
.process-grid article { min-height: 235px; padding: 27px; border: 1px solid #35505c; border-radius: var(--radius); }
.process-grid article b { color: var(--accent); font-size: .78rem; letter-spacing: .12em; }
.process-grid article h3 { margin: 45px 0 13px; color: inherit; }
.process-grid article p { margin: 0; font-size: .88rem; }
.process-light article { border-color: var(--line); background: white; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: white; }
.product-table { width: 100%; border-collapse: collapse; min-width: 1020px; }
.product-table th { padding: 14px 16px; color: var(--muted); background: #eef2f1; text-align: left; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.product-table td { padding: 16px; border-top: 1px solid #e2e8e7; vertical-align: middle; font-size: .87rem; }
.product-table tbody tr { transition: background .15s; }
.product-table tbody tr:hover { background: #f8faf9; }
.product-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; }
.product-name { display: block; max-width: 340px; font-weight: 750; }
.product-name:hover, .product-table td a:hover { color: var(--accent-dark); }
.origin-badge { display: inline-flex; padding: 5px 9px; border-radius: 99px; color: #274550; background: #e6edec; font-size: .73rem; font-weight: 750; white-space: nowrap; }
.catalog-filters { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) auto auto; align-items: end; gap: 12px; margin-bottom: 18px; }
.catalog-filters label, .request-form label, .delivery-calculator label { display: block; }
.catalog-filters label span, .request-form label > span, .delivery-calculator label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .73rem; font-weight: 750; }
.catalog-filters input, .catalog-filters select, .request-form input, .request-form textarea, .delivery-calculator input, .delivery-calculator select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: white;
  padding: 0 13px;
  color: var(--ink);
}
.request-form textarea { min-height: 110px; padding: 12px 13px; resize: vertical; }
.catalog-filters input:focus, .catalog-filters select:focus, .request-form input:focus, .request-form textarea:focus, .delivery-calculator input:focus, .delivery-calculator select:focus { border-color: var(--ink-3); box-shadow: 0 0 0 3px rgba(35,75,92,.1); }
.filter-count { padding-bottom: 13px; color: var(--muted); font-size: .79rem; white-space: nowrap; }
.catalog-summary { margin: -2px 0 16px; color: var(--muted); font-size: .86rem; }
.catalog-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 26px; }
.pagination-link, .pagination-gap { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 750; text-decoration: none; }
.pagination-link:hover, .pagination-link.active { border-color: var(--ink-3); background: var(--ink-3); color: #fff; }
.pagination-gap { border-color: transparent; background: transparent; }
.catalog-empty, .empty-state { padding: 42px; border: 1px dashed #aebdbf; border-radius: 16px; background: rgba(255,255,255,.55); text-align: center; }
.empty-state h3 { margin-bottom: 10px; }

.origin-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.origin-grid h2 { margin-bottom: 25px; }
.origin-grid > div:first-child p { margin-bottom: 28px; font-size: 1.05rem; }
.compare-card { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #aebbbc; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.compare-card > div { padding: 34px; }
.compare-card > div + div { color: white; background: var(--ink); }
.compare-card b { display: block; margin-bottom: 30px; color: var(--accent); font-size: 1.6rem; }
.compare-card span { display: block; padding: 13px 0; border-top: 1px solid rgba(107,128,134,.28); font-size: .89rem; }
.delivery-teaser { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 55px; border-radius: 26px; color: white; background: var(--ink-2); }
.delivery-teaser p { max-width: 590px; margin: 20px 0 25px; color: #c3d1d3; }
.route-line { display: flex; align-items: center; }
.route-line i { width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid #5c7a84; border-radius: 50%; color: white; font-size: .73rem; font-style: normal; }
.route-line span { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, #66828b 0 8px, transparent 8px 13px); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 50px 23px 0; cursor: pointer; list-style: none; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 10px; top: 18px; color: var(--accent); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { max-width: 760px; padding: 0 40px 20px 0; }

.request-section { color: white; background: linear-gradient(135deg, #173340, #0c1c26); }
.request-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.request-grid > div > p { margin: 22px 0; color: #bfd0d4; font-size: 1.02rem; }
.request-form { padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.08); }
.request-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.request-form .span-2 { grid-column: 1 / -1; }
.request-form .consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; }
.request-form .consent input { width: 18px; min-height: 18px; margin-top: 2px; }
.request-form .consent span { color: #c4d1d4; font-size: .78rem; }
.request-form .form-status { display: block; min-height: 22px; margin-top: 12px; color: #c7d9d3; font-size: .82rem; }
.request-form .form-status.error { color: #ffc0a8; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.check-list { list-style: none; margin: 20px 0; padding: 0; }
.check-list li { position: relative; padding: 7px 0 7px 29px; color: inherit; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

.page-hero { padding: 75px 0 68px; color: white; background: linear-gradient(135deg, var(--ink), #214656); }
.page-hero.compact { padding: 55px 0; }
.page-hero h1 { max-width: 1100px; font-size: clamp(2.5rem, 5vw, 5rem); }
.page-hero > .container > p { max-width: 850px; margin: 22px 0 0; color: #c2d1d4; font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 35px; color: #9fb3b8; font-size: .75rem; }
.breadcrumbs a:hover { color: white; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { display: inline-flex; min-height: 34px; align-items: center; padding: 0 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; color: inherit; font-size: .74rem; }
.page-hero .tag:hover, .tag.active { color: var(--ink); border-color: white; background: white; }
.catalog-section { padding-top: 50px; }

.product-hero { padding: 42px 0 80px; color: white; background: linear-gradient(130deg, #0d1d27, #214858); }
.product-layout { display: grid; grid-template-columns: 360px 1fr; gap: 65px; align-items: center; }
.product-visual-large { position: relative; min-height: 360px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: radial-gradient(circle at 50% 40%, #365d6c, #10202c 70%); }
.product-visual-large .product-icon { transform: scale(3); }
.product-visual-large i { position: absolute; right: 24px; bottom: 20px; color: #9db6bc; font-size: 1.2rem; font-style: normal; font-weight: 750; }
.product-main h1 { margin: 18px 0 20px; font-size: clamp(2.4rem, 4.2vw, 4.7rem); }
.product-subtitle { max-width: 740px; color: #c3d2d5; font-size: 1.05rem; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 28px 0; border: 1px solid #496673; border-radius: 15px; background: #496673; }
.spec-grid div { min-height: 88px; padding: 16px; background: #17303d; }
.spec-grid dt { margin-bottom: 8px; color: #86a2a9; font-size: .69rem; text-transform: uppercase; }
.spec-grid dd { margin: 0; font-size: .88rem; font-weight: 700; }
.spec-grid a { color: #f7a383; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.content-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 75px; align-items: start; }
.content-grid article h2 { margin-bottom: 24px; }
.content-grid article h3 { margin-top: 30px; }
.content-grid article p { font-size: 1.01rem; }
.info-panel, .certificate-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.info-panel h3, .certificate-card h3 { margin-bottom: 16px; font-size: 1.5rem; }
.info-panel.dark { border-color: #496470; background: #17333f; }
.certificate-card { position: sticky; top: 120px; }
.cert-stamp { width: 86px; height: 86px; display: grid; place-items: center; margin-bottom: 28px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: Georgia, serif; font-size: 1.3rem; transform: rotate(-8deg); }
.certificate-card a, .info-panel a { color: var(--accent-dark); font-weight: 750; }
.grade-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-top: 36px; border: 1px solid #526f7a; border-radius: 16px; background: #526f7a; }
.grade-facts div { padding: 22px; background: rgba(16,32,44,.86); }
.grade-facts span { display: block; margin-bottom: 9px; color: #95adb3; font-size: .72rem; }
.grade-facts strong { font-size: .91rem; }

.standard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.standard-card { min-height: 245px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s, box-shadow .2s; }
.standard-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.standard-card b { color: var(--accent-dark); font-size: .78rem; }
.standard-card h3 { margin: 34px 0 13px; }
.standard-card p { font-size: .85rem; }
.standard-card span { color: var(--accent-dark); font-size: .8rem; font-weight: 750; }
.grade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grade-card { min-height: 175px; padding: 24px; border-radius: 17px; background: white; }
.grade-card b { display: block; font-size: 1.7rem; }
.grade-card span { color: var(--accent-dark); font-size: .76rem; font-weight: 750; }
.grade-card p { margin-top: 20px; font-size: .78rem; }

.certificate-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid #46616d; border-radius: 24px; background: #46616d; }
.certificate-compare > div { padding: 42px; background: #132a35; }
.certificate-compare h2 { margin: 18px 0 22px; font-size: 2rem; }
.flag-label { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.document-card { min-height: 210px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.document-card span { color: var(--accent-dark); font-size: .72rem; font-weight: 750; }
.document-card h3 { margin: 35px 0 12px; }

.delivery-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.delivery-calculator { padding: 30px; border-radius: var(--radius); color: white; background: var(--ink); box-shadow: var(--shadow); }
.delivery-calculator h2 { margin-bottom: 22px; font-size: 2.2rem; }
.delivery-calculator form > label, .delivery-calculator .form-grid { margin-bottom: 13px; }
.delivery-calculator .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.delivery-result { margin-top: 20px; padding: 20px; border: 1px solid #466570; border-radius: 14px; background: #17333f; }
.delivery-result strong { display: block; color: #fff; font-size: 2rem; }
.delivery-result span { color: #b9cccf; font-size: .82rem; }
.packing-list { display: grid; gap: 13px; margin-top: 28px; }
.packing-list article { display: flex; gap: 22px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.packing-list h3 { margin-bottom: 7px; }
.packing-list p { margin: 0; font-size: .85rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.contact-cards { display: grid; gap: 13px; }
.contact-cards > * { display: block; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.contact-cards span, .contact-cards small { display: block; color: var(--muted); font-size: .75rem; }
.contact-cards strong { display: block; margin: 9px 0; font-size: 1.35rem; }
.contact-form-card { padding: 30px; border-radius: var(--radius); color: white; background: var(--ink); }
.contact-form-card h2 { margin-bottom: 20px; }
.contact-form-card .request-form { padding: 0; border: 0; background: transparent; }

.cart-drawer { position: fixed; z-index: 102; top: 0; right: 0; width: min(470px, 100%); height: 100dvh; display: flex; flex-direction: column; padding: 24px; background: var(--paper); transform: translateX(105%); transition: transform .25s ease; box-shadow: -25px 0 70px rgba(0,0,0,.18); }
.cart-open .cart-drawer { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 2rem; }
.cart-head .eyebrow { margin-bottom: 5px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 1.5rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 0; }
.cart-empty { padding: 55px 15px; text-align: center; }
.cart-line { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line-head { display: flex; justify-content: space-between; gap: 14px; }
.cart-line h3 { font-size: .95rem; }
.cart-line p { margin: 5px 0; font-size: .75rem; }
.cart-line-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.qty-control { display: flex; align-items: center; gap: 5px; }
.qty-control button { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.qty-control input { width: 66px; height: 34px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.cart-remove { border: 0; color: var(--accent-dark); background: transparent; cursor: pointer; font-size: .75rem; }
.cart-summary { display: flex; justify-content: space-between; margin: 12px 0 16px; padding: 15px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.cart-backdrop { position: fixed; z-index: 101; inset: 0; display: none; border: 0; background: rgba(6,15,21,.58); }
.cart-open .cart-backdrop { display: block; }
.cart-page-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 55px; align-items: start; }
.cart-page-items { min-height: 190px; }
.cart-page-items .cart-line { padding: 20px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.cart-page-total { display: flex; justify-content: space-between; margin: 18px 0; padding: 20px; border-radius: 14px; color: white; background: var(--ink-2); }
.cart-order { padding: 28px; border-radius: var(--radius); color: white; background: var(--ink); position: sticky; top: 115px; }
.cart-order > h2 { margin-bottom: 8px; }
.cart-order > p { color: #bed0d3; }
.cart-order .request-form { padding: 15px 0 0; border: 0; background: transparent; }
.cart-order .request-form .form-grid { grid-template-columns: 1fr; }
.cart-order .request-form .span-2 { grid-column: auto; }

.cookie-banner { position: fixed; z-index: 80; right: 20px; bottom: 20px; width: min(480px, calc(100% - 40px)); display: none; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }
.cookie-banner.visible { display: block; }
.cookie-banner p { margin: 0 0 13px; font-size: .79rem; }
.cookie-banner p a { text-decoration: underline; }
.cookie-actions { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.site-footer { padding: 70px 0 20px; color: #d5e0e2; background: #09161e; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 55px; }
.footer-grid h3 { margin-bottom: 18px; color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div > a { display: block; padding: 5px 0; color: #aebfc3; font-size: .82rem; }
.footer-grid p { max-width: 360px; margin-top: 20px; color: #869da3; font-size: .79rem; }
.footer-brand .brand-mark { background: #214656; }
.footer-brand strong { color: white; }
.footer-brand small { color: #879da3; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 18px; border-top: 1px solid #243740; color: #71898f; font-size: .72rem; }
.prose h2 { margin: 35px 0 14px; font-size: 1.8rem; }
.prose h2:first-child { margin-top: 0; }

@media (max-width: 1100px) {
  .main-nav { gap: 15px; }
  .main-nav a:nth-child(4) { display: none; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr .8fr; }
  .hero-visual { min-height: 580px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-filters { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .catalog-filters .button, .filter-count { align-self: end; }
  .standard-grid, .grade-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 64px 0; }
  .topline span:nth-child(n+2) { display: none; }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand small { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav a:nth-child(4) { display: block; padding: 12px; }
  .main-nav a::after { display: none; }
  .cart-button { padding: 0 11px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 65px 0 25px; }
  .hero-visual { min-height: 470px; }
  .hero-visual > img { right: 0; width: 100%; }
  .hero-facts { gap: 15px; }
  .hero-facts div { padding-right: 15px; }
  .trust-strip .container { flex-wrap: wrap; justify-content: center; padding: 18px 0; }
  .section-head { display: block; }
  .section-head > p, .section-head > a { display: block; margin-top: 15px; }
  .category-grid, .origin-grid, .delivery-teaser, .request-grid, .content-grid, .product-layout, .delivery-grid, .contact-grid, .cart-page-grid { grid-template-columns: 1fr; }
  .origin-grid, .request-grid, .content-grid, .delivery-grid, .contact-grid, .cart-page-grid { gap: 38px; }
  .delivery-teaser { gap: 38px; padding: 35px 25px; }
  .product-visual-large { min-height: 270px; }
  .certificate-card, .cart-order { position: static; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .grade-facts { grid-template-columns: 1fr; }
  .catalog-filters { grid-template-columns: 1fr 1fr; }
  .catalog-filters .search-field { grid-column: 1 / -1; }
  .certificate-compare, .compare-card { grid-template-columns: 1fr; }
  .document-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2rem; }
  .header-actions { gap: 5px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: .95rem; }
  .menu-toggle { min-width: 45px; overflow: hidden; font-size: 0; }
  .menu-toggle::before { content: "☰"; font-size: 1rem; }
  .cart-button { font-size: 0; }
  .cart-button::before { content: "Заказ"; font-size: .78rem; }
  .cart-button b { font-size: .7rem; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-facts div:nth-child(2) { border: 0; }
  .hero-facts div:last-child { grid-column: 1 / -1; }
  .hero-visual { min-height: 390px; }
  .stock-photo-grid { grid-template-columns: 1fr; }
  .stock-photo-card { min-height: 260px; }
  .visual-card { width: 130px; min-height: 75px; padding: 11px; }
  .visual-card span { font-size: .68rem; }
  .card-cert { top: 11%; }
  .card-lab { top: 35%; }
  .category-grid, .process-grid, .standard-grid, .grade-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 260px; }
  .catalog-filters { grid-template-columns: 1fr; }
  .catalog-filters .search-field { grid-column: auto; }
  .filter-count { padding: 0; }
  .request-form { padding: 20px; }
  .request-form .form-grid { grid-template-columns: 1fr; }
  .request-form .span-2 { grid-column: auto; }
  .spec-grid { grid-template-columns: 1fr; }
  .product-layout { gap: 35px; }
  .product-main h1 { font-size: 2.45rem; }
  .route-line i { width: 65px; height: 65px; }
  .delivery-calculator .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .cart-drawer { padding: 18px; }
}

.product-price { display: grid; gap: 3px; margin: 24px 0 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.65); }
.product-price span, .product-price small { color: var(--muted); font-size: .75rem; }
.product-price strong { font: 700 1.8rem/1 Georgia, serif; }
.cart-line-value { display: grid; gap: 3px; text-align: right; }
.cart-line-value small { color: var(--muted); font-size: .7rem; }
.request-form label small { color: var(--muted); font-size: .68rem; }
.facet-row { margin-top: 10px; opacity: .9; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card { min-height: 245px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: white; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card span { color: var(--accent); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.article-card h2 { margin: 16px 0 12px; font-size: 1.65rem; }
.article-card p { color: var(--muted); }
.article-card b { display: block; margin-top: 22px; color: var(--accent); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; }
.article-prose { max-width: 800px; }
.article-prose h2 { margin: 38px 0 12px; font-size: 2rem; }
.article-prose h2:first-child { margin-top: 0; }
.article-prose p { color: #42565f; font-size: 1.02rem; line-height: 1.8; }
.article-callout { margin-top: 35px; padding: 22px; border-left: 4px solid var(--accent); background: var(--silver); }
.article-callout p { margin: 5px 0 0; font-size: .9rem; }
.article-related { position: sticky; top: 110px; display: grid; gap: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.article-related h3 { margin: 0 0 12px; }
.article-related a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.calculator-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 45px; align-items: stretch; }
.weight-calculator, .calculator-result { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.weight-calculator { display: grid; gap: 16px; }
.weight-calculator label { display: grid; gap: 7px; }
.weight-calculator label span { color: var(--muted); font-size: .75rem; }
.weight-calculator input, .weight-calculator select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.calculator-result { display: grid; align-content: center; color: white; background: var(--ink-2); }
.calculator-result span { color: #9eb2ba; text-transform: uppercase; letter-spacing: .1em; }
.calculator-result strong { margin: 15px 0; font: 600 clamp(2.8rem, 7vw, 5.5rem)/1 Georgia, serif; }
.calculator-result p { color: #b8c8cd; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.sitemap-grid h2 { font-size: 1.5rem; }
.sitemap-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sitemap-grid a { color: var(--ink); }
.sitemap-cities { grid-column: 1 / -1; }
.sitemap-cities ul { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 820px) {
  .article-grid, .article-layout, .calculator-layout { grid-template-columns: 1fr; }
  .article-related { position: static; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-cities { grid-column: 1 / -1; }
  .sitemap-cities ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .article-grid, .sitemap-grid, .sitemap-cities ul { grid-template-columns: 1fr; }
  .sitemap-cities { grid-column: auto; }
  .weight-calculator, .calculator-result { padding: 22px; }
}

@media print {
  .topline, .site-header, .site-footer, .cart-drawer, .cart-backdrop, .cookie-banner, .button, .request-section { display: none !important; }
  body { background: white; }
  .section, .page-hero, .product-hero { padding: 25px 0; color: black; background: white; }
  .page-hero p, .product-subtitle { color: #333 !important; }
}
