:root {
  --color-brand-primary: #c72222;
  --bg: #f3f5f7;
  --bg-soft: #edf1f4;
  --panel: #ffffff;
  --panel-alt: #eef3f7;
  --ink: #121a22;
  --ink-soft: #4b5863;
  --line: rgba(18, 26, 34, 0.12);
  --accent: var(--color-brand-primary);
  --accent-2: #9e1a1a;
  --accent-soft: rgba(199, 34, 34, 0.08);
  --navy: #0f2239;
  --navy-soft: #1a3658;
  --gold: #f8c35e;
  --shadow: 0 18px 40px rgba(13, 23, 35, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

p, h1, h2, h3, ul, li, strong, small, span, label, input, textarea, button {
  margin: 0;
}

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

button, input, textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

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

.section--dark {
  background: linear-gradient(135deg, #180d0d 0%, #2a1010 42%, #3d0f0f 100%);
  color: #fff;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.section-heading {
  margin-bottom: 46px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 245, 247, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand__logo {
  display: block;
  width: auto;
  height: 44px;
  max-height: 44px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-size: 1.15rem;
  color: var(--navy);
}

.brand__text strong .brand__word--primary {
  color: var(--color-brand-primary);
}

.brand__text small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 600;
}

.nav__item {
  position: relative;
}

.nav__dropdown-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.nav__dropdown-toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.8em;
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(10, 20, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav__submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav__submenu a:hover {
  background: rgba(17, 29, 39, 0.04);
  color: var(--navy);
}

.nav__item--dropdown:hover .nav__submenu,
.nav__item--dropdown:focus-within .nav__submenu,
.nav__item--dropdown.is-open .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__phone {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}

.topbar__phone:hover {
  color: var(--color-brand-primary);
}

.nav a,
.nav__dropdown-toggle {
  position: relative;
}

.nav a::after,
.nav__dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav__dropdown-toggle:hover::after,
.nav__dropdown-toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.nav__dropdown-toggle::after {
  content: "▾";
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  transform: none;
  margin-left: 6px;
  font-size: 0.8em;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(199, 34, 34, 0.22);
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1721 0%, #183654 100%);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(9 16 22 / 89%) 0%, rgb(9 16 22 / 66%) 38%, rgb(9 16 22 / 74%) 100%), url(../images/hero.jpg) center center / cover no-repeat;
  filter: saturate(0.85) contrast(1.06);
  transform: scale(1.02);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 42px;
  min-height: 760px;
  padding: 70px 0 58px;
}

.hero__copy {
  max-width: 680px;
}

.hero__copy h1 {
  font-size: clamp(3.1rem, 6vw, 5.2rem);
  line-height: 0.94;
  margin: 0 0 18px;
}

.lead {
  max-width: 620px;
  color: rgba(255,255,255,0.8);
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  line-height: 1.6;
}

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

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

.hero__metrics li {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 18px 12px;
  min-height: 112px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
}

.hero__metrics strong {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1;
}

.hero__metrics span {
  color: rgba(255,255,255,0.74);
  font-size: 0.9rem;
}

.hero__panel {
  position: relative;
  justify-self: end;
  width: min(500px, 100%);
}

.hero__panel img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow);
}

.hero__panel-card {
  position: absolute;
  right: -18px;
  bottom: 24px;
  min-width: 220px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(8, 14, 18, 0.82);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
}

.mini-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero__panel-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.hero__panel-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

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

.service-card {
  position: relative;
  padding: 28px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(9, 16, 22, 0.04);
}

.service-card--primary {
  background: linear-gradient(135deg, rgba(242, 79, 61, 0.06), rgba(255,255,255,1));
}

.service-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.service-card p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.65;
}

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

.catalog-card__media {
  margin: 0 0 18px;
}

.catalog-card__media img,
.catalog-card img,
.catalog-hero img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(9, 16, 22, 0.08);
}

.catalog-card__media img,
.catalog-card img {
  height: 220px;
}

.catalog-hero img {
  height: 320px;
  margin-bottom: 22px;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--color-brand-primary);
  font-weight: 700;
  text-decoration: none;
}

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

.page-intro {
  padding-top: 82px;
}

.catalog-page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 13, 13, 0.92) 0%, rgba(24, 13, 13, 0.72) 52%, rgba(24, 13, 13, 0.38) 100%),
    url("../images/hero.jpg") center / cover;
  color: #fff;
}

.catalog-page-hero h1,
.catalog-page-hero .lead {
  color: #fff;
}

.catalog-page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.catalog-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #3a0d12 0%, #6a1a20 100%);
  box-shadow: 0 22px 48px rgba(62, 11, 12, 0.2);
}

.catalog-showcase__content {
  padding: 46px 42px;
  color: #f9f3f4;
}

.catalog-showcase__content .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.catalog-showcase__content h1,
.catalog-showcase__content .lead {
  color: #fff;
}

.catalog-showcase__content .lead {
  margin: 0;
  max-width: 610px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.catalog-showcase__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.catalog-showcase__media img {
  display: block;
  width: min(100%, 480px);
  max-height: 430px;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

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

.catalog-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(9, 16, 22, 0.05);
}

.catalog-gallery img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-intro h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.08;
  color: var(--ink);
}

.catalog-showcase__content h1 {
  color: #fff;
}

.page-intro > .container > .lead,
.catalog-grid .service-card p {
  color: var(--ink-soft);
}

.catalog-intro-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 13, 13, 0.92) 0%, rgba(24, 13, 13, 0.72) 52%, rgba(24, 13, 13, 0.38) 100%),
    url("../images/factory-2.jpg") center / cover;
  color: #fff;
}

.catalog-intro-band__inner {
  min-height: 340px;
  display: flex;
  align-items: center;
}

.catalog-intro-band__content {
  max-width: 700px;
}

.catalog-intro-band h2,
.catalog-intro-band .lead {
  color: #fff;
}

.catalog-intro-band h2 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.catalog-intro-band .lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
}

.catalog-details {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.catalog-list,
.catalog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(9, 16, 22, 0.04);
  padding: 28px 24px;
}

.catalog-list h2,
.catalog-card h3 {
  margin-bottom: 18px;
}

.catalog-list ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 1.04rem;
}

.catalog-card p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.04rem;
  margin-bottom: 18px;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.about-copy h2 {
  max-width: 640px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.about-copy p {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
}

.about-copy p + p {
  margin-top: 16px;
}

.about-stats {
  display: grid;
  gap: 18px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(9, 16, 22, 0.04);
}

.stat-box strong {
  font-size: clamp(2.2rem, 3vw, 3.3rem);
  line-height: 1;
}

.stat-box span {
  color: var(--ink-soft);
  line-height: 1.5;
}

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

.advantage-card {
  padding: 26px 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(9, 16, 22, 0.04);
}

.advantage-card__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, #8b1414 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 20px rgba(199, 34, 34, 0.18);
}

.advantage-card__icon svg {
  display: block;
  width: 56px;
  height: 56px;
}

.advantage-card__icon .shape {
  fill: none;
  stroke: rgba(255, 255, 255, 0.97);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantage-card__icon .shape--filled {
  fill: rgba(255, 255, 255, 0.16);
}

.advantage-card h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.advantage-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  background: linear-gradient(135deg, rgba(199, 34, 34, 0.08), rgba(255,255,255,0.02));
  border-radius: 30px;
  padding: 20px;
}

.section-heading--left {
  text-align: left;
  margin-bottom: 32px;
}

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

.factory-showcase__item {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(9, 16, 22, 0.06);
}

.factory-showcase__item img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.factory-showcase__item figcaption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
}

.factory-showcase__item strong {
  font-size: 1.32rem;
}

.factory-showcase__item span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.capabilities__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

.capabilities__content h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
}

.capabilities__content ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.capabilities__content li {
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,0.82);
  font-size: 1.04rem;
  line-height: 1.7;
}

.capabilities__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  box-shadow: 0 0 0 5px rgba(199, 34, 34, 0.18);
}

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

.process-step {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.process-step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-weight: 800;
  font-size: 2rem;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.process-step p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.clients-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  color: var(--ink);
  font-weight: 700;
}

.cta-section {
  background: linear-gradient(180deg, #f3f5f7 0%, #edf1f4 100%);
}

.cta-wrap {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 32px;
  align-items: center;
}

.cta-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.cta-copy p:last-child {
  max-width: 530px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.cta-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.cta-form span {
  font-size: 0.86rem;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 26, 34, 0.12);
  border-radius: 14px;
  background: #f7f9fb;
  padding: 14px 16px;
  color: var(--ink);
  resize: vertical;
}

.cta-form input:focus,
.cta-form textarea:focus {
  outline: 2px solid rgba(242, 79, 61, 0.2);
  border-color: rgba(242, 79, 61, 0.5);
}

.smart-captcha-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 10px 0 4px;
  border-radius: 16px;
  background: rgba(82, 130, 255, 0.04);
  border: 1px solid rgba(82, 130, 255, 0.12);
}

.smart-captcha {
  width: 100%;
  min-height: 80px;
  display: flex;
  justify-content: center;
}

.smart-captcha iframe {
  max-width: 100%;
  border-radius: 14px;
}

.cta-form__status {
  min-height: 24px;
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-form__status.is-success {
  color: #0a8d4e;
}

.cta-form__status.is-error {
  color: #b12a2a;
}

.footer {
  background: #0b1825;
  color: #fff;
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand--footer .brand__text small {
  color: rgba(255,255,255,0.68);
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
}

@media (max-width: 980px) {
  .topbar__inner {
    flex-wrap: wrap;
    min-height: 74px;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 10px 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    margin-left: auto;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  .nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

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

  .nav a,
  .nav__dropdown-toggle {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(18, 26, 34, 0.03);
    text-align: left;
    width: 100%;
  }

  .nav a::after,
  .nav__dropdown-toggle::after {
    display: none;
  }

  .nav__item--dropdown {
    width: 100%;
  }

  .nav__submenu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .nav__item--dropdown.is-open .nav__submenu {
    display: flex;
  }

  .topbar__actions {
    margin-left: auto;
  }

  .hero__content,
  .about-wrap,
  .cta-wrap,
  .capabilities {
    grid-template-columns: 1fr;
  }

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

  .hero__panel {
    justify-self: stretch;
    width: 100%;
  }

  .hero__panel img {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }

  .container {
    width: min(92vw, 600px);
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .hero__content {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .hero__metrics,
  .services-grid,
  .advantages-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .topbar__inner,
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__inner {
    flex-direction: row;
    align-items: center;
  }

  .topbar__actions {
    width: auto;
    justify-content: space-between;
    margin-left: auto;
    gap: 10px;
  }

  .topbar__actions .btn {
    width: auto;
    min-height: 42px;
    padding: 0 16px;
  }

  .topbar__phone {
    display: inline-block;
    font-size: 0.76rem;
    letter-spacing: 0.01em;
  }

  .brand__text strong {
    font-size: 1rem;
  }
}
