:root {
  --ink: #1f2b35;
  --muted: #53616c;
  --line: #dde4e8;
  --paper: #ffffff;
  --soft: #f3f6f7;
  --navy: #263846;
  --navy-2: #31485b;
  --blue: #247fa8;
  --red: #d63c41;
  --green: #2a8747;
  --shadow: 0 18px 46px rgba(31, 43, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy-2);
  color: #dce4e8;
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(36, 49, 61, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

.main-nav a {
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: max(520px, min(700px, calc(100svh - 180px)));
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 30, 39, 0.97) 0%, rgba(18, 30, 39, 0.88) 46%, rgba(18, 30, 39, 0.38) 100%),
    url("https://images.unsplash.com/photo-1771530789155-b1f03fbf82b5?auto=format&fit=crop&fm=jpg&q=72&w=2200") center / cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: max(520px, min(700px, calc(100svh - 180px)));
  align-content: center;
  padding: 46px 0 78px;
}

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

.hero .eyebrow,
.section--dark .eyebrow,
.contacts .eyebrow,
.footer .eyebrow {
  color: #a8dff3;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.06;
  font-weight: 700;
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

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

.btn--primary:hover {
  background: var(--red);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.stats {
  display: grid;
  width: min(920px, 100%);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stats div {
  min-height: 118px;
  padding: 22px;
  background: #fff;
}

.stats strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: 96px 0;
}

.section--muted {
  background: var(--soft);
}

.section--dark {
  background: var(--navy);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
}

.split--center {
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.22;
  font-weight: 700;
}

h3 {
  margin: 0;
  line-height: 1.25;
}

.intro__text p {
  margin: 0 0 18px;
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin: 0 0 46px;
  text-align: left;
}

.section-head p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.section-head--light p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  display: flex;
  grid-column: span 3;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px;
  color: #fff;
  isolation: isolate;
}

.industry-card:nth-child(1),
.industry-card:nth-child(5) {
  grid-column: span 4;
}

.industry-card:nth-child(2),
.industry-card:nth-child(8) {
  grid-column: span 5;
}

.industry-card:nth-child(4),
.industry-card:nth-child(6) {
  grid-column: span 4;
}

.industry-card:nth-child(7) {
  grid-column: span 7;
}

.industry-card::before,
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.industry-card::before {
  background: var(--industry-image) center / cover;
  transition: transform 0.5s ease;
}

.industry-card::after {
  background: linear-gradient(180deg, rgba(17, 28, 37, 0.22), rgba(17, 28, 37, 0.94));
}

.industry-card:hover::before {
  transform: scale(1.06);
}

.industry-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  font-weight: 800;
}

.industry-card h3 {
  font-size: 21px;
}

.industry-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.industry-card--factory { --industry-image: url("https://images.unsplash.com/photo-1772306814076-ff65f53ac438?auto=format&fit=crop&fm=jpg&q=70&w=900"); }
.industry-card--parking { --industry-image: url("https://images.pexels.com/photos/20107654/pexels-photo-20107654.jpeg?auto=compress&cs=tinysrgb&w=900"); }
.industry-card--warehouse { --industry-image: url("https://images.unsplash.com/photo-1771530789155-b1f03fbf82b5?auto=format&fit=crop&fm=jpg&q=70&w=900"); }
.industry-card--food { --industry-image: url("https://images.unsplash.com/photo-1772300704502-410f0fbd43bb?auto=format&fit=crop&fm=jpg&q=70&w=900"); }
.industry-card--commercial { --industry-image: url("https://images.pexels.com/photos/29482812/pexels-photo-29482812.jpeg?auto=compress&cs=tinysrgb&w=900"); }
.industry-card--auto { --industry-image: url("https://images.unsplash.com/photo-1677617586879-ad2ae3b61099?auto=format&fit=crop&fm=jpg&q=70&w=900"); }
.industry-card--farm { --industry-image: url("https://images.unsplash.com/photo-1771918919734-23bd1f8cf192?auto=format&fit=crop&fm=jpg&q=70&w=900"); }
.industry-card--pharma { --industry-image: url("https://images.unsplash.com/photo-1772300704502-410f0fbd43bb?auto=format&fit=crop&fm=jpg&q=70&w=900"); }

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -14px 0 30px;
}

.filter-chip,
.selector-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.is-active,
.selector-btn.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (min-width: 1081px) {
  .product-card:nth-child(1),
  .product-card:nth-child(6) {
    grid-column: span 2;
  }

  .product-card:nth-child(1) img,
  .product-card:nth-child(6) img {
    height: 220px;
  }
}

.product-card.is-hidden,
.layer-card.is-hidden {
  display: none;
}

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

.product-card img {
  height: 180px;
  object-fit: cover;
}

.product-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card h3 {
  font-size: 18px;
}

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

.product-card strong {
  margin-top: auto;
  color: var(--red);
}

.systems-layer-head {
  max-width: 860px;
  margin: 54px 0 22px;
}

.systems-layer-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.layer-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(31, 43, 53, 0.08);
}

.layer-card__tag {
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(36, 127, 168, 0.1);
  color: var(--blue);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.layer-card h3 {
  margin-top: 14px;
  font-size: 19px;
}

.layer-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.layer-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.layer-list li > span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f4f6;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.layer-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.layer-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.system-table {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 43, 53, 0.09);
}

.system-table__row {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1.35fr 0.95fr;
  border-top: 1px solid var(--line);
}

.system-table__row:first-child {
  border-top: 0;
}

.system-table__row > * {
  min-width: 0;
  padding: 16px 18px;
  border-left: 1px solid var(--line);
}

.system-table__row > *:first-child {
  border-left: 0;
}

.system-table__head {
  background: #22313f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.system-table strong {
  color: var(--ink);
}

.system-table span {
  color: var(--muted);
}

.technology {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 249, 0.98)),
    url("https://images.unsplash.com/photo-1771530789155-b1f03fbf82b5?auto=format&fit=crop&fm=jpg&q=70&w=1800") center / cover;
}

.technology__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(36, 49, 61, 0.1);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #16222d;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__body {
  padding: 18px;
}

.video-card__body h3 {
  font-size: 20px;
}

.video-card__body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.18fr 0.9fr 0.92fr;
  gap: 12px;
  margin-top: 18px;
}

.photo-strip figure {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.photo-strip img {
  height: 190px;
  object-fit: cover;
  opacity: 0.9;
}

.photo-strip figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.technology__panel {
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  box-shadow: var(--shadow);
}

.technology__panel h3 {
  font-size: 28px;
  font-weight: 700;
}

.technology__panel > p {
  margin: 14px 0 0;
  color: #43515c;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.process-list strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.process-list p {
  margin: 5px 0 0;
  color: #43515c;
  font-size: 14px;
}

.topping-note {
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
}

.topping-note strong {
  display: block;
  color: var(--red);
  font-size: 16px;
}

.topping-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.selector {
  background:
    linear-gradient(90deg, rgba(245, 247, 249, 0.96), rgba(245, 247, 249, 0.88)),
    url("https://images.unsplash.com/photo-1772300704502-410f0fbd43bb?auto=format&fit=crop&fm=jpg&q=70&w=1800") center / cover fixed;
}

.selector p {
  color: var(--muted);
}

.selector__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.recommendation {
  border-radius: 8px;
  background: var(--paper);
  padding: 34px;
  box-shadow: var(--shadow);
}

.recommendation span {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.recommendation h3 {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 700;
}

.recommendation p {
  margin: 18px 0;
}

.recommendation ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.portfolio-card {
  position: relative;
  grid-column: span 4;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.portfolio-card:nth-child(1),
.portfolio-card:nth-child(5) {
  grid-column: span 5;
  min-height: 380px;
}

.portfolio-card:nth-child(2),
.portfolio-card:nth-child(4) {
  grid-column: span 3;
}

.portfolio-card img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
  opacity: 0.58;
}

.portfolio-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
}

.portfolio-card h3 {
  color: #fff;
  font-size: 22px;
}

.portfolio-card span {
  display: block;
  margin-top: 8px;
  color: #a8dff3;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.credentials {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
}

.license-panel {
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 42px;
}

.license-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.credential-grid div {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.credential-grid strong {
  display: block;
  color: var(--blue);
  font-size: 38px;
}

.credential-grid span {
  display: block;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.35;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
}

.timeline div {
  min-height: 260px;
  background: #fff;
  padding: 24px;
}

.timeline span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.timeline h3 {
  margin-top: 44px;
  font-size: 20px;
}

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

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-grid article {
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--soft);
  padding: 28px;
}

.article-grid span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.article-grid h3 {
  margin-top: 16px;
  font-size: 23px;
}

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

.contacts {
  background: var(--navy);
  color: #fff;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.contacts p {
  color: rgba(255, 255, 255, 0.86);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: #fff;
  font-size: 20px;
}

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

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(36, 127, 168, 0.28);
  border-color: var(--blue);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green) !important;
  font-weight: 700;
}

.footer {
  background: #22313f;
  color: rgba(255, 255, 255, 0.84);
  padding: 52px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
  gap: 40px;
}

.brand--footer strong,
.brand--footer small {
  color: #fff;
}

.footer h3 {
  margin-bottom: 14px;
  color: #fff;
}

.footer a {
  display: block;
  margin: 7px 0;
}

.footer blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--blue);
}

@media (max-width: 1080px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-card,
  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) {
    grid-column: auto;
  }

  .technology__grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .wrap {
    width: min(100% - 28px, 1140px);
  }

  .topbar {
    display: none;
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(31, 43, 53, 0.08);
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(36, 49, 61, 0.14);
  }

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

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .hero__content {
    min-height: max(520px, min(640px, calc(100svh - 110px)));
  }

  .hero__content {
    padding: 34px 0 56px;
  }

  .hero__bg {
    background-position: center;
  }

  .lead {
    font-size: 18px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 72px 0;
  }

  .split,
  .credentials,
  .contacts__grid,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-grid,
  .layer-systems,
  .video-grid,
  .portfolio-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .selector {
    background:
      linear-gradient(90deg, rgba(245, 247, 249, 0.96), rgba(245, 247, 249, 0.9)),
      url("https://images.unsplash.com/photo-1772300704502-410f0fbd43bb?auto=format&fit=crop&fm=jpg&q=70&w=1200") center / cover no-repeat;
  }

  .system-table__head {
    display: none;
  }

  .system-table__row {
    grid-template-columns: 1fr;
  }

  .system-table__row > * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .system-table__row > *:first-child {
    border-top: 0;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 18px;
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.12;
  }

  .lead {
    font-size: 16px;
    line-height: 1.62;
  }

  .stats,
  .industry-grid,
  .product-grid,
  .layer-systems,
  .video-grid,
  .photo-strip,
  .portfolio-grid,
  .credential-grid,
  .timeline,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .system-table__row > * {
    padding: 14px 16px;
  }

  .layer-card {
    padding: 18px;
  }

  .stats div {
    min-height: 96px;
  }

  .product-card img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .photo-strip figure {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .photo-strip img {
    height: 100%;
    object-fit: cover;
  }

  .industry-card,
  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 0;
    width: 100%;
  }

  .portfolio-card {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .portfolio-card img {
    height: 100%;
    min-height: 0;
    object-position: center;
  }

  .lead-form {
    padding: 22px;
  }

  .technology__panel {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.58;
  }

  .wrap {
    width: calc(100% - 28px);
  }

  .nav {
    min-height: 64px;
    gap: 12px;
  }

  .brand strong {
    font-size: 17px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .main-nav {
    top: 64px;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__bg {
    background:
      linear-gradient(180deg, rgba(18, 30, 39, 0.96), rgba(18, 30, 39, 0.9)),
      url("https://images.unsplash.com/photo-1771530789155-b1f03fbf82b5?auto=format&fit=crop&fm=jpg&q=72&w=1200") center / cover;
  }

  .hero__content {
    align-content: start;
    padding: 42px 0 54px;
  }

  .hero .eyebrow,
  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: 29px;
    line-height: 1.14;
  }

  .lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.62;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    text-align: center;
  }

  .stats-band {
    margin-top: 0;
    background: var(--soft);
    padding: 14px 0 0;
  }

  .stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: 0 10px 28px rgba(31, 43, 53, 0.1);
  }

  .stats div {
    min-height: 0;
    padding: 15px 14px;
  }

  .stats strong {
    font-size: 24px;
  }

  .stats span {
    font-size: 12px;
    line-height: 1.38;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  h2 {
    font-size: 27px;
    line-height: 1.18;
  }

  .section-head p:not(.eyebrow),
  .intro__text p,
  .selector p,
  .recommendation p,
  .article-grid p,
  .timeline p {
    font-size: 15px;
    line-height: 1.62;
  }

  .split,
  .credentials,
  .contacts__grid,
  .footer__grid,
  .technology__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .industry-grid,
  .product-grid,
  .layer-systems,
  .video-grid,
  .photo-strip,
  .portfolio-grid,
  .credential-grid,
  .timeline,
  .article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .industry-card,
  .industry-card:nth-child(1),
  .industry-card:nth-child(2),
  .industry-card:nth-child(4),
  .industry-card:nth-child(5),
  .industry-card:nth-child(6),
  .industry-card:nth-child(7),
  .industry-card:nth-child(8),
  .product-card,
  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) {
    grid-column: 1 / -1;
    width: 100%;
  }

  .industry-card {
    min-height: 255px;
    padding: 20px;
  }

  .industry-card h3 {
    font-size: 19px;
  }

  .industry-card p {
    font-size: 14px;
  }

  .catalog-controls,
  .selector__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    justify-content: stretch;
  }

  .catalog-controls {
    margin: -6px 0 24px;
  }

  .filter-chip,
  .selector-btn {
    width: 100%;
    min-height: 46px;
    padding: 10px 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
  }

  .product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }

  .product-card div,
  .video-card__body {
    padding: 16px;
  }

  .product-card h3,
  .video-card__body h3 {
    font-size: 18px;
  }

  .system-table {
    margin-top: 26px;
    border-radius: 8px;
  }

  .system-table__row > * {
    padding: 13px 14px;
    font-size: 14px;
  }

  .video-frame {
    aspect-ratio: 16 / 9;
  }

  .photo-strip figure {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .photo-strip figcaption {
    padding: 32px 12px 12px;
    font-size: 12px;
  }

  .technology__panel {
    border-top: 4px solid var(--blue);
    border-left: 0;
    padding: 20px;
  }

  .technology__panel h3,
  .recommendation h3 {
    font-size: 24px;
    line-height: 1.18;
  }

  .process-list li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .process-list span {
    width: 36px;
    height: 36px;
  }

  .process-list strong {
    font-size: 16px;
  }

  .selector {
    background:
      linear-gradient(180deg, rgba(245, 247, 249, 0.98), rgba(245, 247, 249, 0.93)),
      url("https://images.unsplash.com/photo-1772300704502-410f0fbd43bb?auto=format&fit=crop&fm=jpg&q=70&w=1200") center / cover no-repeat;
  }

  .recommendation,
  .license-panel,
  .article-grid article,
  .lead-form {
    padding: 20px;
  }

  .portfolio-card,
  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(5) {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .portfolio-card img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .portfolio-card div {
    padding: 58px 18px 18px;
  }

  .portfolio-card h3 {
    font-size: 21px;
  }

  .portfolio-card span {
    font-size: 11px;
    line-height: 1.35;
  }

  .credential-grid div,
  .timeline div {
    min-height: 0;
    padding: 20px;
  }

  .credential-grid strong {
    font-size: 31px;
  }

  .credential-grid span {
    margin-top: 14px;
    font-size: 16px;
  }

  .timeline h3 {
    margin-top: 22px;
    font-size: 19px;
  }

  .contact-list {
    font-size: 18px;
    line-height: 1.45;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    min-height: 46px;
  }

  .footer {
    padding: 40px 0;
  }
}

@media (max-width: 380px) {
  .stats,
  .catalog-controls,
  .selector__buttons {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 27px;
  }
}
