:root {
  --header-height: 74px;
  --ink: #171b18;
  --muted: #5f6a63;
  --paper: #fffdfa;
  --surface: #f5f7f3;
  --line: #d9dfd6;
  --graphite: #252827;
  --moss: #496753;
  --water: #3f7d82;
  --amber: #d1a13a;
  --clay: #9a6044;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(21, 27, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 250, 0.92);
  border-bottom: 1px solid rgba(23, 27, 24, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  font-size: 1rem;
  color: var(--graphite);
}

.brand img {
  width: 86px;
  height: 37px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: #394039;
  font-weight: 650;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(73, 103, 83, 0.12);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  white-space: nowrap;
  color: var(--moss);
  font-weight: 800;
  font-size: 0.95rem;
}

.header-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  background:
    linear-gradient(90deg, rgba(14, 18, 15, 0.84) 0%, rgba(14, 18, 15, 0.58) 44%, rgba(14, 18, 15, 0.18) 100%),
    url("../img/vetrenka-hero.webp") center / cover no-repeat;
  color: var(--white);
  isolation: isolate;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(14, 18, 15, 0), rgba(14, 18, 15, 0.58));
  z-index: -1;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 150px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f0cf7d;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

.eyebrow.light {
  color: #f0cf7d;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 900;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  max-width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  background: var(--amber);
  color: #1e1a0f;
  box-shadow: 0 16px 36px rgba(209, 161, 58, 0.28);
}

.button-light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.facts-band {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: -118px auto 0;
}

.hero-facts {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-facts div {
  min-height: 118px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 16, 13, 0.46);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  margin: 0;
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 900;
}

.hero-facts dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  min-height: calc(58svh - var(--header-height));
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(14, 18, 15, 0.82), rgba(14, 18, 15, 0.42)),
    url("../img/vetrenka-overview.webp") center / cover no-repeat;
  color: var(--white);
}

.page-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 106px 0 74px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  overflow-wrap: break-word;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  line-height: 1.56;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 640px;
}

.section-heading h2,
.about-copy h2,
.request-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.45rem;
  line-height: 1.12;
  font-weight: 900;
  overflow-wrap: break-word;
}

.section-heading p,
.about-copy p,
.request-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.catalog-tabs {
  min-width: 0;
}

.catalog-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.catalog-tab {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--paper);
  color: #3d4741;
  font-weight: 850;
}

.catalog-tab span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.catalog-tab:hover,
.catalog-tab:focus-visible {
  border-color: rgba(73, 103, 83, 0.48);
  outline: none;
}

.catalog-tab.is-active,
.catalog-tab[aria-selected="true"] {
  border-color: var(--moss);
  background: var(--moss);
  color: var(--white);
}

.catalog-tab small {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(73, 103, 83, 0.12);
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 900;
}

.catalog-tab.is-active small,
.catalog-tab[aria-selected="true"] small {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.catalog-panel[hidden] {
  display: none;
}

.catalog-panel-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.catalog-panel-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.18;
}

.catalog-panel-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.catalog-empty {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
}

.product-card,
.step-card,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 27, 24, 0.06);
}

.product-card {
  position: relative;
  min-height: 330px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.product-card-link {
  overflow: hidden;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card-link:hover,
.product-card-link:focus-visible {
  border-color: rgba(73, 103, 83, 0.42);
  box-shadow: 0 22px 58px rgba(23, 27, 24, 0.16);
  outline: none;
  transform: translateY(-3px);
}

.product-card-link::after {
  content: "Перейти к выбору материалов";
  position: absolute;
  inset: auto 16px 16px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  background: rgba(23, 27, 24, 0.94);
  color: var(--white);
  font-weight: 900;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.product-card-link:hover::after,
.product-card-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.product-top {
  min-height: 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-top h3,
.product-top h4 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.product-top span {
  flex: 0 0 auto;
  max-width: 110px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(63, 125, 130, 0.13);
  color: #245b60;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.product-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 16px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.8);
}

.product-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.product-card ul {
  margin: 16px 0 24px;
  padding-left: 18px;
  color: #3d4741;
}

.product-card li + li {
  margin-top: 7px;
}

.product-bottom {
  min-height: 46px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-bottom strong {
  color: var(--ink);
  font-size: 1.03rem;
}

.product-bottom button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(73, 103, 83, 0.13);
  color: var(--moss);
  font-weight: 850;
}

.product-bottom button:hover,
.product-bottom button:focus-visible {
  background: var(--moss);
  color: var(--white);
  outline: none;
}

.product-card-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(73, 103, 83, 0.13);
  color: var(--moss);
  font-weight: 850;
}

.random-products-section {
  border-top: 1px solid var(--line);
}

.materials-teaser {
  min-width: 0;
  margin-top: 34px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.96), rgba(245, 247, 243, 0.96)),
    url("../img/vetrenka-water.webp") center / cover no-repeat;
  box-shadow: 0 18px 48px rgba(23, 27, 24, 0.08);
}

.materials-teaser h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.72rem;
  line-height: 1.12;
  font-weight: 900;
}

.materials-teaser p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.materials-info {
  margin-top: 42px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(23, 27, 24, 0.08);
}

.materials-page-section {
  padding-top: 64px;
}

.materials-info-page {
  margin-top: 0;
}

.materials-copy {
  min-width: 0;
}

.materials-copy h2,
.materials-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.12;
  font-weight: 900;
}

.materials-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.materials-side {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.material-groups {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.material-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf6;
}

.material-panel summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.material-panel summary::-webkit-details-marker {
  display: none;
}

.material-panel summary:focus-visible {
  outline: 3px solid rgba(63, 125, 130, 0.32);
  outline-offset: -3px;
}

.material-panel[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.material-panel-title,
.material-panel-kicker {
  display: block;
  min-width: 0;
}

.material-panel-title {
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 900;
}

.material-panel-kicker {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.material-panel-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(73, 103, 83, 0.12);
}

.material-panel-icon::before,
.material-panel-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--moss);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.material-panel-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.material-panel[open] .material-panel-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.material-panel-body {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.material-panel-body .assortment-box,
.material-panel-body .classification-box {
  background: var(--white);
}

.assortment-box,
.classification-box {
  min-width: 0;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8faf6;
}

.assortment-box h3,
.assortment-box h4,
.classification-box h3,
.classification-box h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.assortment-box ul {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  list-style: none;
}

.assortment-box li {
  position: relative;
  padding-left: 18px;
  color: #3d4741;
}

.assortment-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.classification-box p {
  margin: 12px 0 0;
  color: var(--muted);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.table-wrap table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.compact-table table {
  min-width: 360px;
}

.table-wrap caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.table-wrap th,
.table-wrap td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--graphite);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 850;
}

.table-wrap td {
  color: #3d4741;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.chips-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chips-list li {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(73, 103, 83, 0.12);
  color: var(--moss);
  font-weight: 850;
}

.chips-list li::before {
  display: none;
}

.strength-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.delivery-section {
  border-top: 1px solid var(--line);
}

.delivery-visual {
  width: 100%;
  aspect-ratio: 16 / 5;
  margin-bottom: 18px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(23, 27, 24, 0.08);
}

.delivery-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  min-height: 230px;
  padding: 24px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--graphite);
  color: var(--white);
  font-weight: 900;
}

.step-card h3 {
  margin: 26px 0 10px;
  font-size: 1.25rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 46px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.about-image {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-copy {
  min-width: 0;
}

.about-text {
  margin-top: 18px;
}

.about-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-text p + p {
  margin-top: 14px;
}

.metrics-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.metrics-grid div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.metrics-grid strong {
  display: block;
  color: var(--water);
  font-size: 1.5rem;
  line-height: 1.1;
}

.metrics-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.metric-coordinates {
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 8px;
}

.metric-coordinates li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.metric-coordinates b {
  color: var(--graphite);
  font-weight: 850;
}

.metric-coordinates span {
  margin-top: 0;
  color: var(--moss);
  font-weight: 850;
}

.request-section {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
  gap: 42px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(37, 40, 39, 0.96), rgba(48, 65, 56, 0.96)),
    url("../img/vetrenka-water.webp") center / cover no-repeat;
  color: var(--white);
}

.request-copy h2,
.request-copy p {
  color: var(--white);
}

.request-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.request-contacts {
  margin-top: 32px;
  display: grid;
  gap: 10px;
}

.request-contacts a {
  color: #f5d886;
  font-weight: 850;
}

.lead-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.97);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #334036;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd8ce;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 0 13px;
  outline: none;
}

.lead-form textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--water);
  box-shadow: 0 0 0 4px rgba(63, 125, 130, 0.14);
}

.radio-group {
  margin: 2px 0 16px;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-group legend {
  width: 100%;
  margin-bottom: 8px;
  color: #334036;
  font-weight: 800;
}

.radio-group label {
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #cfd8ce;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
}

.radio-group input {
  width: 16px;
  min-height: 16px;
}

.lead-form .consent-label {
  margin: 2px 0 18px;
  padding: 14px;
  border: 1px solid #cfd8ce;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  background: rgba(245, 247, 243, 0.78);
  color: #46534a;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.lead-form .consent-label input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.lead-form .consent-label a {
  color: var(--water);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.estimate {
  margin: 0;
  color: var(--moss);
  font-weight: 850;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--moss);
  font-weight: 800;
}

.contacts-section {
  border-top: 1px solid var(--line);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  min-height: 210px;
  padding: 24px;
}

.contact-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.contact-card p,
.contact-card span {
  margin: 0;
  color: var(--muted);
}

.contact-coordinates {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
  color: #3d4741;
}

.contact-coordinates li {
  overflow-wrap: anywhere;
}

.contact-coordinates strong {
  color: var(--ink);
}

.contact-card a {
  color: var(--water);
  font-weight: 850;
}

.contact-card > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 14px;
  border-radius: 6px;
  background: rgba(63, 125, 130, 0.12);
}

.contacts-map {
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(23, 27, 24, 0.06);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-margin-top: var(--header-height);
  background:
    linear-gradient(135deg, rgba(23, 27, 24, 0.98), rgba(50, 71, 57, 0.98));
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 28px;
  display: grid;
  gap: 26px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.footer-logo img {
  width: 86px;
  height: 37px;
  object-fit: contain;
}

.footer-logo span {
  display: grid;
  gap: 2px;
}

.footer-logo strong,
.footer-legal-title strong {
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.15;
}

.footer-logo small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-brand p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.site-footer a {
  color: #f0cf7d;
  font-weight: 850;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-contacts a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.footer-contacts .footer-social-link {
  width: 38px;
  justify-content: center;
  padding: 0;
  background: #4c75a3;
  color: var(--white);
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-contacts .footer-social-link:hover,
.footer-contacts .footer-social-link:focus-visible {
  background: #5b86b8;
  outline: none;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
}

.footer-legal-block {
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  gap: 18px;
}

.footer-legal-title {
  display: grid;
  gap: 4px;
}

.footer-legal-title span {
  color: rgba(255, 255, 255, 0.56);
}

.footer-legal {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
}

.footer-legal div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.footer-legal dt {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-legal dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: break-word;
}

.footer-bottom {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
}

.footer-top {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 70;
  width: min(920px, calc(100% - 32px));
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(23, 27, 24, 0.96);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
}

.cookie-consent p {
  margin: 4px 0 0;
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #f0cf7d;
  font-weight: 850;
}

.cookie-consent button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  background: var(--amber);
  color: #1e1a0f;
  font-weight: 900;
}

.legal-page {
  background: var(--surface);
}

.legal-hero {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 28px;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 900;
}

.legal-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
}

.legal-document {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto 68px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(23, 27, 24, 0.08);
}

.legal-document section + section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document p {
  margin: 0 0 12px;
}

.legal-document ul {
  margin: 0;
  padding-left: 20px;
}

.legal-document a {
  color: var(--water);
  font-weight: 850;
}

@media (max-width: 1020px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
  }

  .header-actions {
    display: none;
  }

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

  .materials-info {
    grid-template-columns: 1fr;
  }

  .about-section,
  .request-section {
    grid-template-columns: 1fr;
  }

  .about-section {
    gap: 28px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  body {
    font-size: 15px;
  }

  .header-inner,
  .section,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 78px;
    height: 34px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    background:
      linear-gradient(180deg, rgba(14, 18, 15, 0.82) 0%, rgba(14, 18, 15, 0.58) 54%, rgba(14, 18, 15, 0.32) 100%),
      url("../img/vetrenka-hero.webp") center / cover no-repeat;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
    padding: 54px 0 46px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 2.55rem;
    line-height: 1;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    min-height: 92px;
  }

  .facts-band {
    width: min(100% - 28px, 1180px);
    margin-top: -112px;
  }

  .hero-facts div {
    border-top: 0;
    background: var(--graphite);
  }

  .page-hero {
    min-height: 430px;
    background:
      linear-gradient(180deg, rgba(14, 18, 15, 0.84), rgba(14, 18, 15, 0.42)),
      url("../img/vetrenka-overview.webp") center / cover no-repeat;
  }

  .page-hero-inner {
    width: min(100% - 28px, 1180px);
    padding: 74px 0 46px;
  }

  .page-hero h1 {
    max-width: 340px;
    font-size: 2.55rem;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1.02rem;
  }

  .hero-actions {
    width: 100%;
    max-width: 360px;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .request-copy h2 {
    font-size: 1.86rem;
  }

  .products-grid,
  .steps-grid,
  .contacts-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .catalog-tabs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-tab {
    width: 100%;
    justify-content: space-between;
    padding: 0 11px;
  }

  .catalog-panel-head h3 {
    font-size: 1.24rem;
  }

  .materials-info {
    margin-top: 28px;
    padding: 20px;
    gap: 20px;
  }

  .materials-teaser {
    margin-top: 28px;
    padding: 20px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .materials-teaser h3 {
    font-size: 1.45rem;
  }

  .materials-teaser .button {
    width: 100%;
  }

  .materials-page-section {
    padding-top: 44px;
  }

  .materials-copy h2,
  .materials-copy h3 {
    font-size: 1.75rem;
  }

  .materials-copy p {
    font-size: 0.98rem;
  }

  .material-groups {
    gap: 12px;
  }

  .material-panel summary {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 12px;
    padding: 15px 16px;
  }

  .material-panel-title {
    font-size: 1.08rem;
  }

  .material-panel-kicker {
    font-size: 0.86rem;
  }

  .material-panel-icon {
    width: 34px;
    height: 34px;
  }

  .material-panel-body {
    gap: 12px;
    padding: 14px;
  }

  .assortment-box,
  .classification-box {
    padding: 18px;
  }

  .assortment-box ul {
    grid-template-columns: 1fr;
  }

  .chips-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-wrap {
    overflow-x: visible;
  }

  .table-wrap table {
    min-width: 0;
    table-layout: fixed;
  }

  .table-wrap th,
  .table-wrap td {
    padding: 12px 10px;
    overflow-wrap: break-word;
  }

  .table-wrap th {
    font-size: 0.86rem;
  }

  .product-card,
  .step-card,
  .contact-card {
    min-width: 0;
    min-height: auto;
  }

  .contacts-map iframe {
    height: 320px;
  }

  .product-card-link::after {
    display: none;
  }

  .delivery-visual {
    aspect-ratio: 16 / 8;
  }

  .about-image,
  .about-image img {
    min-height: 300px;
  }

  .about-text p {
    font-size: 0.98rem;
  }

  .request-section {
    padding: 58px 14px;
  }

  .lead-form {
    padding: 20px;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .footer-inner {
    padding: 76px 0 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-legal {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    justify-self: start;
  }

  .cookie-consent {
    bottom: 12px;
    width: min(100% - 24px, 920px);
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 0.92rem;
  }

  .cookie-consent-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-consent a,
  .cookie-consent button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    max-width: 300px;
    font-size: 2.28rem;
  }

  .hero-actions .button,
  .button {
    width: 100%;
  }

  .product-bottom {
    align-items: stretch;
    flex-direction: column;
  }
}
