:root {
  color-scheme: light;
  --ink: #16181c;
  --muted: #5b6169;
  --line: #e4e6e2;
  --paper: #ffffff;
  --panel: #ffffff;
  --green: #3f8f3f;
  --green-strong: #235b2e;
  --clay: #a35f3f;
  --stone: #8a8f86;
  --shadow: 0 18px 50px rgba(22, 31, 24, 0.12);
  --font-heading: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding: 13px 32px;
  background: rgba(246, 245, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.15s ease;
}

.brand-link:hover {
  opacity: 0.78;
}

.brand-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(22, 31, 24, 0.16));
}

.brand-logo-partner {
  height: 22px;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.brand-phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-left: 4px;
}

.brand-phones a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.brand-phones a:hover {
  color: var(--green);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--green);
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta,
.button,
.text-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 700;
}

.primary {
  color: #fff;
  background: var(--green);
}

.primary:hover {
  background: var(--green-strong);
}

.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.nav-cta {
  color: #fff;
  background: var(--ink);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: min(76vh, 620px);
  display: grid;
  align-items: end;
  padding: 88px 32px 36px;
  overflow: hidden;
  background: #101611;
}

.hero-slides {
  position: absolute;
  inset: 0;
  background: #101611;
}

.slider-slide {
  position: absolute;
  inset: 0;
  background: #101611 center / cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease, transform 7s ease-out;
}

.slider-slide.active {
  opacity: 1;
  transform: scale(1.0);
}

.slider-clickable {
  cursor: pointer;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 13, 9, 0.35);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-arrow:hover {
  background: rgba(8, 13, 9, 0.6);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-slides .slider-dots {
  right: 32px;
  bottom: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 13, 9, 0.92), rgba(8, 13, 9, 0.62) 48%, rgba(8, 13, 9, 0.3)),
    linear-gradient(0deg, rgba(8, 13, 9, 0.82), rgba(8, 13, 9, 0.2) 42%);
}

.assortment-slider {
  position: relative;
  height: 220px;
  margin-bottom: 34px;
  border-radius: 8px;
  overflow: hidden;
  background: #e4e6e2;
}

.assortment-slider .slider-dots {
  right: 16px;
  bottom: 14px;
}

.assortment-slider .slider-dot {
  border-color: rgba(255, 255, 255, 0.85);
}

.hero-content {
  position: relative;
  max-width: 920px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7b391;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.12;
}

h2 {
  max-width: 780px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 600;
}

.hero h1 {
  font-weight: 650;
}

.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 8px;
}

.section {
  padding: 86px 32px;
}

.request-band {
  padding: 56px 32px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.compact {
  padding-bottom: 42px;
}

.product-grid,
.document-list,
.advantages {
  display: grid;
  gap: 16px;
}

.assortment-intro {
  max-width: 640px;
  margin: -14px 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

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

.assortment-grid h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafaf8;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip:hover {
  border-color: var(--green);
  color: var(--green);
  background: #fff;
}

.product-card,
.advantages article,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card p,
.advantages p,
.contacts p,
.request-band p,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.advantages-section {
  background: #f7f7f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantages {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.advantages article {
  padding: 22px 20px;
}

.advantages article h3 {
  font-size: 16px;
}

.advantages article p {
  font-size: 13.5px;
  line-height: 1.55;
}

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

.collection-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  border-radius: 8px;
  background: #101611 center / cover;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.collection-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.collection-card-premium {
  border: 2px solid #b8813c;
  box-shadow: 0 0 0 1px rgba(184, 129, 60, 0.25);
}

.collection-card-premium:hover {
  box-shadow: 0 14px 30px rgba(184, 129, 60, 0.35);
}

.premium-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #b8813c;
  color: #1b1815;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 13, 9, 0.92) 0%, rgba(8, 13, 9, 0.55) 55%, rgba(8, 13, 9, 0.1) 100%);
}

.collection-card-body {
  position: relative;
  padding: 18px 20px;
  color: #fff;
}

.collection-card-body h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.collection-card-body p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.tag.light {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
}

.product-body {
  padding: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fafaf7;
  font-size: 12px;
}

.tag-link {
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.tag-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: #fff;
}

.eyebrow-link {
  cursor: pointer;
  width: fit-content;
}

.eyebrow-link:hover {
  text-decoration: underline;
}

.catalog {
  background: #fff;
  border-top: 1px solid var(--line);
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 20px;
  color: var(--muted);
}

.text-button {
  padding: 0;
  color: var(--green);
  background: transparent;
  font-weight: 800;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-image {
  aspect-ratio: 1 / 1;
  background: #cfd4cb center / cover;
}

.product-card .product-body {
  padding: 14px;
}

.product-card .product-body h3 {
  min-height: 36px;
  font-size: 14px;
  line-height: 1.3;
}

.product-card .product-body p {
  font-size: 12px;
}

.product-card .tag {
  min-height: 22px;
  font-size: 11px;
}

.documents {
  background: #f4f4f1;
  border-top: 1px solid var(--line);
}

.documents .section-head h2 {
  font-size: clamp(22px, 2vw, 28px);
  color: var(--muted);
}

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

.document-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.document-link:hover {
  color: var(--ink);
}

.document-link-title {
  line-height: 1.4;
}

.document-link-meta {
  flex: none;
  color: var(--stone);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.show-more-wrap {
  margin-top: 18px;
  text-align: center;
}

.text-button.muted {
  color: var(--muted);
  font-weight: 600;
}

.text-button.muted:hover {
  color: var(--green);
}

.request-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 440px);
  gap: 40px;
  align-items: center;
  color: #fff;
  background: var(--green-strong);
}

.request-band .eyebrow {
  color: #e7b391;
}

.request-band p {
  color: rgba(255, 255, 255, 0.76);
}

.request-band h2 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.lead-form {
  display: grid;
  gap: 9px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.lead-form input,
.lead-form textarea {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 13.5px;
}

.lead-form textarea {
  min-height: unset;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.lead-form .form-note {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.4;
}

.lead-form .button {
  min-height: 40px;
  font-size: 13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
}

.legal-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.map-link {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.map-link:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  align-self: start;
}

.contact-brand {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
}

.contact-brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
}

.contact-card a {
  font-size: 22px;
  font-weight: 800;
}

.contact-card a.contact-email {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.contact-card a.contact-highlight {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  padding: 16px 44px 16px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  box-shadow: 0 10px 24px rgba(63, 143, 63, 0.35);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-card a.contact-highlight::after {
  content: "\2197";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 800;
}

.contact-card a.contact-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(63, 143, 63, 0.45);
}

.contact-highlight-label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-highlight-url {
  font-size: 21px;
  font-weight: 800;
}

.contact-secondary {
  padding-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.contact-card .contact-secondary a {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.contact-card .contact-secondary a:hover {
  color: var(--green);
}

.product-modal {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-modal::backdrop {
  background: rgba(10, 15, 11, 0.62);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 26px;
  cursor: pointer;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #e5e4df;
}

.modal-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #d2d5ce;
}

.modal-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.modal-gallery-item::after {
  content: "\2197 открыть";
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(8, 13, 9, 0.62);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.modal-gallery-item:hover::after {
  opacity: 1;
}

.modal-gallery-item:hover img {
  transform: scale(1.04);
}

.modal-gallery-item img {
  transition: transform 0.25s ease;
}

.modal-info {
  padding: 34px;
  overflow: auto;
}

.modal-info h2 {
  font-size: 34px;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  text-align: right;
  font-weight: 750;
}

.modal-docs {
  display: grid;
  gap: 8px;
}

.modal-docs a {
  color: var(--green);
  font-weight: 750;
}

@media (max-width: 980px) {
  .topbar {
    position: relative;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px 32px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 10px;
    padding: 12px 0;
    border: 0;
    border-radius: 4px;
    background: var(--ink);
    color: #fff;
    text-align: center;
    font-weight: 700;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .brand-phones {
    flex-basis: 100%;
    margin-left: 0;
    padding-top: 2px;
  }

  .brand-phones a {
    font-size: 14px;
  }

  .assortment-grid,
  .chip-grid,
  .collection-grid,
  .document-list,
  .filters,
  .split,
  .request-band,
  .contacts,
  .modal-layout {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 10px 16px;
  }

  .nav {
    padding: 10px 16px 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .section,
  .request-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-actions,
  .modal-gallery,
  .product-grid,
  .advantages,
  .form-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }
}
