@font-face {
  font-family: "Archivo";
  src: url(fonts/archivo-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --concrete: #e6e5e1;
  --paper: #f1f0ec;
  --ink: #1f2b30;
  --slate: #2a383e;
  --stone: #cfc6b4;
  --gold: #c4974c;
  --gold-ink: #7a5720;
  --muted: #535f66;
  --rule: #c9c7c0;
  --wrap: 1180px;
  --r-btn: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--concrete);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
h1, h2, h3 { font-stretch: 112%; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 750; }
h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 680; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.lede { font-size: 19px; max-width: 62ch; margin-top: 18px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  border-radius: var(--r-btn);
  font: inherit; font-weight: 620; font-size: 16px;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 18px; }
.btn-wa { background: var(--ink); color: #fff; }
.btn-wa .wa-ico { color: #5fd38a; }
.btn-wa:hover { background: var(--slate); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(0,0,0,.05); }
.wa-ico { width: 20px; height: 20px; flex: none; }

/* header */
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand span { font-stretch: 118%; font-weight: 700; font-size: 18px; color: var(--gold); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: #d6d9d6; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.top .btn-wa { background: var(--gold); color: var(--ink); }
.top .btn-wa .wa-ico { color: var(--ink); }
.top .btn-wa:hover { background: #d4a95f; }

/* hero */
.hero { background: var(--ink); color: #eef0ee; padding: 64px 0 76px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { color: #c9cfcd; }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .btn-wa { background: var(--gold); color: var(--ink); }
.hero .btn-wa .wa-ico { color: var(--ink); }
.hero .btn-wa:hover { background: #d4a95f; }
.hero .btn-line { color: #eef0ee; }
.hero .btn-line:hover { background: rgba(255,255,255,.08); }
.xsec { margin: 0; }
.xsec-txt text { fill: #eef0ee; font-family: "Archivo", sans-serif; font-size: 15px; font-weight: 600; }
.xsec-txt text.sub { fill: #a9b2b1; font-size: 13px; font-weight: 400; }
.xsec figcaption { font-size: 14px; color: #a9b2b1; margin-top: 10px; padding-left: 8%; }
@media (prefers-reduced-motion: no-preference) {
  .xsec rect:nth-of-type(n+3) { animation: coat .7s cubic-bezier(.2,.7,.2,1) both; transform-box: fill-box; transform-origin: top; }
  .xsec rect:nth-of-type(3) { animation-delay: .15s; }
  .xsec rect:nth-of-type(4) { animation-delay: .45s; }
  .xsec rect:nth-of-type(5) { animation-delay: .75s; }
  .xsec-lines, .xsec circle, .xsec-txt { animation: fade .5s ease 1.3s both; }
}
@keyframes coat { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* home blocks */
.block { padding: 80px 28px; }
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.split h2 { max-width: 16ch; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
.tiles li { border-bottom: 1px solid var(--rule); }
.tiles li:nth-child(odd) { border-right: 1px solid var(--rule); }
.tiles a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 18px 18px 0; text-decoration: none; }
.tiles li:nth-child(even) a { padding-left: 18px; }
.tiles a:hover .t-name { color: var(--gold-ink); text-decoration: underline; }
.t-name { font-weight: 620; font-size: 18px; }
.t-meta { color: var(--muted); font-size: 14px; white-space: nowrap; }
.band { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 28px; }
.facts h3 { margin-bottom: 8px; }
.facts p { color: var(--muted); }
.clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.clients li { font-stretch: 112%; font-weight: 650; font-size: 21px; color: var(--slate); }

/* inner pages */
.page-head { padding-top: 56px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }

.catalog { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
.cat-index { position: sticky; top: 96px; padding-top: 28px; }
.cat-index ul { list-style: none; margin: 0; padding: 0; }
.cat-index a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--rule); text-decoration: none; font-size: 15px; color: var(--muted); }
.cat-index a:hover { color: var(--ink); border-left-color: var(--gold); }
.group { padding: 36px 0 24px; scroll-margin-top: 80px; }
.group + .group { border-top: 1px solid var(--rule); }
.group-head { margin-bottom: 8px; }
.group-head p { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.prod { display: grid; grid-template-columns: 104px 1fr 1fr; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.prod:last-child { border-bottom: 0; }
.prod-pic { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
.prod-pic svg, .prod-pic img { width: 104px; height: auto; }
.prod-pic img { object-fit: contain; aspect-ratio: 120 / 140; }
.prod h3 { grid-column: 2; display: flex; align-items: center; gap: 12px; }
.prod-line { grid-column: 2; color: #33414a; max-width: 52ch; }
.prod-spec { grid-column: 3; grid-row: 1 / span 2; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-content: start; font-size: 15px; }
.prod-spec div { display: contents; }
.prod-spec dt { color: var(--muted); }
.prod-spec dd { margin: 0; font-variant-numeric: tabular-nums; }
.prod-act { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.doc {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border: 1px solid var(--rule); border-radius: var(--r-btn); background: var(--paper);
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.doc::before { content: ""; width: 10px; height: 12px; background: linear-gradient(var(--gold-ink), var(--gold-ink)) bottom/100% 2px no-repeat, linear-gradient(var(--gold-ink), var(--gold-ink)) center/2px 9px no-repeat; }
.doc:hover { border-color: var(--gold-ink); }
.doc small { font-weight: 400; color: var(--muted); font-size: 12px; }
.doc-ask { background: transparent; border-style: dashed; }
.doc-ask::before { display: none; }
.ask { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 34px; }
.ask .wa-ico { width: 18px; height: 18px; color: #1c8a4a; }
.ask:hover span { text-decoration: underline; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 14px; font-weight: 700; flex: none; }

/* documents */
.search { display: block; margin: 28px 0 18px; max-width: 460px; }
.search span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.search input { width: 100%; min-height: 46px; padding: 0 14px; font: inherit; border: 1.5px solid var(--rule); border-radius: var(--r-btn); background: var(--paper); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.docs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.docs-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1.5px solid var(--ink); }
.docs-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.docs-table td:first-child a { font-weight: 620; }
.docs-table td:first-child .muted { font-size: 13px; display: block; }
.empty { padding: 28px 0; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding-top: 36px; padding-bottom: 80px; }
.contact-list { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; }
.contact-list div { display: contents; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; }
.contact-addr { background: var(--paper); border: 1px solid var(--rule); padding: 28px; }
.contact-addr p { margin: 14px 0 22px; font-size: 18px; }

/* footer */
.foot { background: var(--ink); color: #c9cfcd; margin-top: 64px; padding: 44px 0; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.foot strong { color: #fff; font-weight: 620; }
.foot p { margin-top: 8px; }
.foot .muted { color: #9aa4a3; }
.foot-copy { grid-column: 1 / -1; border-top: 1px solid #3a484e; padding-top: 18px; }

/* responsive */
@media (max-width: 920px) {
  .hero-in, .split, .contact { grid-template-columns: 1fr; gap: 36px; }
  .catalog { grid-template-columns: 1fr; gap: 0; }
  .cat-index { position: static; padding-top: 18px; }
  .cat-index ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-index a { border: 1px solid var(--rule); border-radius: var(--r-btn); padding: 6px 10px; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .block { padding: 56px 18px; }
  .top-in { gap: 14px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .brand span { display: none; }
  .nav { order: 3; width: 100%; gap: 20px; overflow-x: auto; }
  .hero { padding: 40px 0 52px; }
  .tiles { grid-template-columns: 1fr; }
  .tiles li:nth-child(odd) { border-right: 0; }
  .tiles li:nth-child(even) a { padding-left: 0; }
  .prod { grid-template-columns: 72px 1fr; gap: 6px 16px; }
  .prod-pic { grid-row: 1 / span 2; }
  .prod-pic svg, .prod-pic img { width: 72px; }
  .prod-spec { grid-column: 1 / -1; grid-row: auto; margin-top: 8px; }
  .prod-act { grid-column: 1 / -1; }
  .ask { margin-left: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .docs-table td:nth-child(3), .docs-table th:nth-child(3) { display: none; }
}
