/* ПЛК Софт — корпоративный сайт поставщика ПО.
   Визуальный язык вдохновлён типовым сайтом ИТ-поставщика:
   мятные плоскости, коралловый акцент, крупная гротескная типографика. */

:root {
  --ink: #142033;
  --text: #2c3a45;
  --muted: #52636e;
  --teal: #1f6e5c;
  --teal-mid: #2f8f78;
  --mint: #c5e4d8;
  --mint-deep: #7eb5a3;
  --circle: #8fbfb0;
  --coral: #c2412d;
  --coral-hover: #a73524;
  --sage: #d5e4de;
  --sage-deep: #c3d6cf;
  --paper: #f5f7f6;
  --white: #ffffff;
  --line: #e3e8ea;
  --footer: #142033;
  --shadow: 0 10px 28px rgba(20, 32, 51, 0.08);
  --shadow-hover: 0 16px 36px rgba(20, 32, 51, 0.12);
  --radius: 12px;
  --header-h: 78px;
  --nav-h: 54px;
  --container: 1140px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

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

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

h1, h2, .section-title {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 2.2rem;
  text-align: center;
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 100;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

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

.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;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(20, 32, 51, 0.08);
}

.header-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
  flex: 0 0 auto;
}

.logo__a { color: var(--coral); }
.logo__b { color: var(--ink); }

.header-links {
  display: flex;
  gap: 14px;
  margin-left: 8px;
}

.header-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.header-links a:hover,
.header-links a[aria-current="page"] {
  color: var(--teal);
}

.header-contacts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}

.contact-link .icon { color: var(--ink); }
.contact-link--mail { color: var(--coral); }
.contact-link--mail .icon { color: var(--coral); }
.contact-link:hover { color: var(--teal); }

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--paper);
  color: var(--teal);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--coral);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.nav-toggle { display: none; }

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.site-search {
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-search.is-open { display: block; }

.site-search .container {
  display: flex;
  gap: 10px;
  padding: 12px 0;
}

.site-search input[type="search"] {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
}

.main-nav {
  background: var(--teal);
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  min-height: var(--nav-h);
}

.menu__item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.menu__item > a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.menu__item > a:hover,
.menu__item > a[aria-current="page"],
.menu__item:hover > a,
.menu__item:focus-within > a {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.submenu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  width: 28px;
  cursor: pointer;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-hover);
  padding: 10px;
  z-index: 20;
}

.submenu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--sage);
  color: var(--ink);
}

.menu__item--mega .submenu {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-width: 460px;
}

@media (min-width: 992px) {
  .menu__item:hover > .submenu,
  .menu__item:focus-within > .submenu,
  .menu__item.is-open > .submenu {
    display: block;
  }

  .menu__item--mega:hover > .submenu,
  .menu__item--mega:focus-within > .submenu,
  .menu__item--mega.is-open > .submenu {
    display: grid;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 18px;
  line-height: 1.2;
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
}

.btn--coral:hover { background: var(--coral-hover); color: var(--white); }

.btn--white {
  background: var(--white);
  color: var(--coral);
}

.btn--white:hover { background: #fff4f1; color: var(--coral-hover); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--line:hover { background: var(--ink); color: var(--white); }

.btn--block { width: 100%; }

/* Hero */
.hero {
  background: var(--mint);
  padding: 72px 0 36px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  margin-bottom: 0.35rem;
}

.hero__sub {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero__art {
  width: min(640px, 100%);
  margin: 0 auto;
}

.page-hero {
  background: var(--mint);
  padding: 42px 0 32px;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 0.4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a { color: var(--teal); }
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--muted);
}

form.cta-panel { display: block; }

/* Categories */
.section { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--tight { padding: 48px 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 24px;
}

.category-card {
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.category-card__icon {
  width: 148px;
  height: 148px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--circle);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.category-card__icon svg {
  width: 64px;
  height: 64px;
}

.category-card:hover .category-card__icon,
.category-card:focus-visible .category-card__icon {
  transform: translateY(-4px);
  background: var(--mint-deep);
}

.category-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #24384a;
  line-height: 1.35;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(20, 32, 51, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-card__visual {
  height: 140px;
  border-radius: 10px;
  background: linear-gradient(160deg, #e7f4ef, #d5e7f2);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.product-card__visual svg { width: 72px; height: 72px; }
.product-card__visual:empty::before {
  content: "";
  width: 74px;
  height: 52px;
  border-radius: 8px;
  border: 3px solid #355f86;
  background:
    linear-gradient(#7eb5a3, #7eb5a3) 12px 12px / 28px 6px no-repeat,
    linear-gradient(#d5e0e4, #d5e0e4) 12px 26px / 42px 6px no-repeat,
    #fff;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  letter-spacing: 0;
  text-transform: none;
}

.product-card p { color: var(--muted); margin-bottom: 12px; flex: 1; }

.product-card__price {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.product-card__actions {
  display: flex;
  gap: 8px;
}

.product-card__actions .btn { flex: 1; padding: 10px 8px; font-size: 0.9rem; }

/* Equipment band */
.equip-band {
  background: var(--coral);
  color: var(--white);
  padding: 78px 0 36px;
  text-align: center;
}

.equip-band h2,
.equip-band .section-title { color: var(--white); }

.equip-band p {
  max-width: 820px;
  margin: 0 auto 22px;
  font-size: 1.05rem;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 18px;
  padding: 28px 0 20px;
}

.equip-card {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.equip-card svg {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
}

.equip-card:hover { color: #ffe8e3; }

/* Advantages */
.adv-grid,
.steps,
.news-grid,
.review-grid,
.solution-grid {
  display: grid;
  gap: 18px;
}

.adv-grid { grid-template-columns: repeat(4, 1fr); }

.adv-card,
.step-card,
.news-card,
.review-card,
.solution-card,
.vendor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
}

.adv-card__icon,
.step-card__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 12px;
}

.adv-card h3,
.step-card h3,
.news-card h3,
.solution-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  letter-spacing: 0;
  text-transform: none;
}

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

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.service-card {
  background: var(--sage);
  padding: 42px 32px 36px;
  text-align: center;
}

.service-card__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid #5d6e68;
  display: grid;
  place-items: center;
  color: #3e4d48;
}

.service-card__icon svg { width: 36px; height: 36px; }

.service-card h3 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  margin: 0 auto;
  max-width: 460px;
  color: #31423d;
}

/* Steps */
.steps { grid-template-columns: repeat(4, 1fr); }

/* Vendors */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.vendor-card {
  min-height: 84px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #5c6b73;
  text-align: center;
  filter: grayscale(1);
  transition: filter 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.vendor-card:hover {
  filter: none;
  color: var(--ink);
  transform: translateY(-2px);
}

.note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 14px;
}

/* Reviews */
.review-grid { grid-template-columns: repeat(3, 1fr); }

.review-card blockquote {
  margin: 0 0 14px;
  font-size: 1rem;
}

.review-card footer { color: var(--muted); font-size: 0.92rem; }
.review-card strong { color: var(--ink); display: block; }

/* News */
.news-grid { grid-template-columns: repeat(3, 1fr); }

.news-card time {
  display: block;
  color: var(--coral);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.news-card a { font-weight: 700; }

/* Solutions */
.solution-grid { grid-template-columns: repeat(5, 1fr); }

.solution-card { text-decoration: none; color: inherit; display: block; }
.solution-card:hover { border-color: var(--mint-deep); color: inherit; }

/* Promo */
.promo-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.promo-banner h2 {
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.promo-banner p { margin: 0; color: #d5dee6; }

/* Form */
.cta-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  background: var(--sage);
  border-radius: var(--radius);
  padding: 32px;
}

.cta-panel h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.8rem;
}

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

.form-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.form-field--full { grid-column: 1 / -1; }

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  border: 1px solid #c5d0d4;
  border-radius: 8px;
  padding: 12px 12px;
  background: var(--white);
  color: var(--ink);
}

textarea { min-height: 110px; resize: vertical; }

.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-status {
  margin: 10px 0 0;
  font-weight: 700;
}

.form-status.is-ok { color: var(--teal); }
.form-status.is-err { color: var(--coral); }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #d5dee6;
  padding: 48px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 24px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.site-footer a { color: #d5dee6; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }

.footer-brand {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-brand span:first-child { color: #f0a090; }
.footer-brand span:last-child { color: var(--white); }

.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #b7c4ce;
}

/* Filters, article, contacts */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.chip.is-active,
.chip:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.empty-state {
  display: none;
  text-align: center;
  padding: 28px;
  background: var(--paper);
  border-radius: var(--radius);
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.35rem;
  margin: 1.4rem 0 0.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.contact-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
}

.map-placeholder {
  margin-top: 16px;
  min-height: 180px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(31, 110, 92, 0.18), rgba(194, 65, 45, 0.12)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(20, 32, 51, 0.05) 18px, rgba(20, 32, 51, 0.05) 19px),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(20, 32, 51, 0.05) 18px, rgba(20, 32, 51, 0.05) 19px);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  padding: 16px;
}

/* Overlays */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 51, 0.45);
  z-index: 70;
}

.modal,
.drawer {
  position: fixed;
  z-index: 80;
  background: var(--white);
  box-shadow: var(--shadow-hover);
}

.modal {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100% - 24px));
  border-radius: 16px;
  padding: 24px;
}

.drawer {
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 100%);
  padding: 22px;
  overflow: auto;
}

.overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.overlay-head h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.3rem;
  margin: 0;
}

.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 90;
  display: none;
}

.toast.is-on { display: block; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--mint-deep);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: none;
}

.to-top.is-on { display: grid; place-items: center; }

[hidden] { display: none !important; }

/* Breakpoints: 1200 / 992 / 768 / 576 */
@media (max-width: 1200px) {
  .vendor-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
  .menu__item > a { padding: 0 10px; font-size: 0.88rem; }
}

@media (max-width: 992px) {
  .header-links { display: none; }
  .contact-link span { display: none; }
  .btn--ghost { display: none; }
  .nav-toggle { display: grid; }

  .main-nav {
    display: none;
    background: #163f42;
  }

  .main-nav.is-open { display: block; }

  .menu {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
  }

  .menu__item { flex-wrap: wrap; }
  .menu__item > a { flex: 1; padding: 12px 16px; }
  .submenu-toggle { display: grid; place-items: center; }

  .submenu,
  .menu__item--mega .submenu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    grid-template-columns: 1fr;
    width: 100%;
  }

  .menu__item.is-open > .submenu,
  .menu__item--mega.is-open > .submenu { display: block; }

  .submenu a { color: var(--white); }
  .submenu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

  .adv-grid,
  .steps { grid-template-columns: 1fr 1fr; }
  .product-grid,
  .news-grid,
  .review-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel,
  .promo-banner,
  .contact-layout,
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .category-grid,
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
}

@media (max-width: 576px) {
  .category-grid,
  .equip-grid,
  .product-grid,
  .news-grid,
  .review-grid,
  .adv-grid,
  .steps,
  .solution-grid,
  .vendor-grid,
  .form-grid { grid-template-columns: 1fr; }
  .product-card__actions { flex-direction: column; }
  .header-bar { gap: 8px; }
  .logo { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
