@font-face {
  font-family: "Armstrong";
  src: url("../fonts/Armstrong-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Armstrong";
  src: url("../fonts/Armstrong-Extrabold.otf") format("opentype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Armstrong";
  src: url("../fonts/Armstrong-Oblique.otf") format("opentype");
  font-style: oblique;
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #002865;
  --navy-950: #061832;
  --navy-900: #0d2043;
  --navy-800: #123264;
  --red: #b1001a;
  --red-dark: #8f0015;
  --blue: #24589f;
  --ink: #111b2d;
  --muted: #5f6b7d;
  --line: #dce2eb;
  --line-dark: rgba(255, 255, 255, 0.14);
  --surface: #f3f6fa;
  --surface-warm: #f7f6f2;
  --white: #fff;
  --green: #18794e;
  --whatsapp: #25d366;
  --whatsapp-dark: #1fb958;
  --amber: #a85d00;
  --shadow: 0 24px 70px rgba(6, 24, 50, 0.12);
  --container: 1220px;
  --radius: 4px;
  --font-display: "Armstrong", "Arial Narrow", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* Decorative artwork and the horizontal product rail may extend past the
     viewport, but they must never make the document itself scroll sideways. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  line-height: 1.06;
}

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

.container--narrow {
  max-width: 980px;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  left: 16px;
  top: 16px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

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

.header-shell {
  position: sticky;
  z-index: 100;
  top: 0;
  isolation: isolate;
  box-shadow: 0 12px 34px rgba(2, 15, 38, 0.2);
}

.header-shell::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-170%) skewX(-18deg);
  animation: header-light-sweep 8s ease-in-out infinite;
}

.topbar {
  position: relative;
  z-index: 1;
  background: #04142d;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 800;
}

.topbar__phone-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(177, 0, 26, 0.88);
  color: var(--white);
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 0 0 0 rgba(177, 0, 26, 0.34);
  animation: phone-icon-ring 4.8s ease-in-out infinite;
}

.topbar__phone-number {
  animation: phone-number-glow 4.8s ease-in-out infinite;
}

.topbar a:hover {
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 1;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 10%, rgba(54, 112, 190, 0.35), transparent 32%),
    linear-gradient(112deg, #061a3b 0%, #082a5b 54%, #0a3977 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: block;
  width: 220px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 3142 / 1156;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.18));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 31px;
  color: rgba(255, 255, 255, 0.9);
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 23px;
  height: 2px;
  background: var(--red);
  transition: right 0.2s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: 0.2s ease;
}

.header-shell a:focus-visible,
.header-shell button:focus-visible {
  outline-color: rgba(255, 255, 255, 0.7);
}

#sobre,
#pecas,
#contato {
  scroll-margin-top: 142px;
}

@keyframes header-light-sweep {
  0%,
  62% {
    transform: translateX(-170%) skewX(-18deg);
  }
  82%,
  100% {
    transform: translateX(460%) skewX(-18deg);
  }
}

@keyframes phone-icon-ring {
  0%,
  72%,
  100% {
    transform: rotate(0deg);
    box-shadow: 0 0 0 0 rgba(177, 0, 26, 0.34);
  }
  76% {
    transform: rotate(-10deg);
  }
  79% {
    transform: rotate(10deg);
    box-shadow: 0 0 0 6px rgba(177, 0, 26, 0);
  }
  82% {
    transform: rotate(-7deg);
  }
  85% {
    transform: rotate(0deg);
  }
}

@keyframes phone-number-glow {
  0%,
  70%,
  100% {
    color: var(--white);
    text-shadow: none;
  }
  80% {
    color: #fff3f5;
    text-shadow: 0 0 14px rgba(255, 118, 136, 0.78);
  }
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 88, 159, 0.3);
  outline-offset: 3px;
}

.button--header {
  min-height: 44px;
  padding-inline: 18px;
  background: var(--red);
  color: var(--white);
}

.button--header:hover,
.button--primary:hover {
  background: var(--red-dark);
}

.button--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(177, 0, 26, 0.22);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.button--outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.button--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.button--light {
  background: var(--white);
  color: var(--navy);
}

.button--light:hover {
  background: var(--surface);
}

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

.button--large {
  min-height: 58px;
  padding-inline: 28px;
  font-size: 15px;
}

.button--whatsapp,
.button--whatsapp:hover {
  border-color: var(--whatsapp);
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.24);
}

.button--whatsapp:hover {
  border-color: var(--whatsapp-dark);
  background: var(--whatsapp-dark);
}

.button__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border: 120px solid rgba(36, 88, 159, 0.15);
  border-radius: 50%;
  right: -310px;
  top: -270px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 86%);
}

.hero__inner {
  position: relative;
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
  padding-block: 88px;
}

.hero__content {
  max-width: 690px;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.3vw, 94px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero h1 em {
  position: relative;
  color: var(--red);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 2px;
  bottom: -5px;
  height: 5px;
  background: var(--red);
}

.hero__content > p {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

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

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.hero__proof div {
  display: grid;
  gap: 2px;
}

.hero__proof strong {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__proof span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.hero-machine {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(36, 88, 159, 0.28), rgba(255, 255, 255, 0.035));
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  animation: catalog-card-float 7s ease-in-out infinite;
}

.hero-machine::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  pointer-events: none;
  transform: translateX(-160%) skewX(-18deg);
  animation: catalog-light-sweep 8s ease-in-out infinite;
}

.hero-machine::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 3;
}

.hero-machine__top,
.hero-machine__bottom {
  position: relative;
  z-index: 2;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-machine__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-machine__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-machine__bottom a {
  color: var(--white);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32c77f;
  box-shadow: 0 0 0 5px rgba(50, 199, 127, 0.12);
  animation: catalog-status-pulse 2.4s ease-in-out infinite;
}

.hero-machine__visual {
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(30px, 5vw, 52px);
}

.hero-machine__visual img {
  position: relative;
  z-index: 2;
  width: min(90%, 560px);
  height: auto;
  aspect-ratio: 3142 / 1156;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
  animation: catalog-logo-drift 5.4s ease-in-out infinite;
}

.hero-machine__ring {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 54px solid rgba(177, 0, 26, 0.22);
  border-radius: 50%;
  right: -95px;
  bottom: -130px;
  animation: catalog-ring-breathe 5.8s ease-in-out infinite;
}

.hero-machine__ring::after {
  content: "";
  position: absolute;
  inset: -23px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: catalog-orbit 18s linear infinite;
}

@keyframes catalog-card-float {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 40px 82px rgba(0, 0, 0, 0.34);
  }
}

@keyframes catalog-light-sweep {
  0%,
  18% {
    opacity: 0;
    transform: translateX(-160%) skewX(-18deg);
  }
  28% {
    opacity: 1;
  }
  58%,
  100% {
    opacity: 0;
    transform: translateX(430%) skewX(-18deg);
  }
}

@keyframes catalog-logo-drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.012);
  }
}

@keyframes catalog-ring-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.86;
  }
  50% {
    transform: scale(1.07);
    opacity: 1;
  }
}

@keyframes catalog-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes catalog-status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(50, 199, 127, 0.12);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(50, 199, 127, 0.02);
  }
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-strip span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.trust-strip span:first-child {
  padding-left: 0;
}

.trust-strip span:last-child {
  border-right: 0;
}

.trust-strip b {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 15px;
}

.section {
  padding-block: 105px;
}

.section--catalog-preview {
  background: var(--surface);
}

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

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  gap: 80px;
  align-items: end;
}

.section-heading--split > p {
  margin-bottom: 3px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading h2,
.about-content h2,
.cta-band h2,
.product-info-grid h2 {
  margin-bottom: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

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

.machine-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(6, 24, 50, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.machine-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 40, 101, 0.25);
  box-shadow: var(--shadow);
}

.machine-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #e9eef5;
}

.machine-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.machine-card:hover .machine-card__media > img {
  transform: scale(1.035);
}

.machine-image-note {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  padding: 6px 8px;
  background: rgba(5, 18, 38, 0.78);
  color: rgba(255, 255, 255, 0.9);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.machine-image-note--large {
  right: 18px;
  bottom: 18px;
  font-size: 9px;
}

.machine-card__badges {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: 2px;
  padding: 5px 9px;
  background: var(--navy);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.badge--available {
  background: var(--green);
}

.badge--reserved {
  background: var(--amber);
}

.badge--order {
  background: var(--blue);
}

.badge--sold {
  background: #5f6670;
}

.badge--draft {
  background: var(--navy);
}

.badge--demo {
  background: #e8b20f;
  color: #211700;
}

.machine-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  overflow: hidden;
  background-color: var(--navy-950);
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--white);
}

.machine-placeholder::before,
.machine-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.machine-placeholder::before {
  width: 220px;
  height: 220px;
  border: 38px solid rgba(36, 88, 159, 0.56);
  right: -55px;
  top: -48px;
}

.machine-placeholder::after {
  width: 136px;
  height: 136px;
  border: 22px solid rgba(177, 0, 26, 0.68);
  right: 8px;
  top: -6px;
}

.machine-placeholder__code,
.machine-placeholder__category {
  position: relative;
  z-index: 2;
}

.machine-placeholder__code {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.machine-placeholder__category {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.machine-placeholder--large {
  height: 100%;
  min-height: 0;
}

.machine-placeholder--large .machine-placeholder__code {
  font-size: clamp(56px, 8vw, 108px);
}

.machine-card__body {
  padding: 24px 24px 21px;
}

.machine-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.machine-card h3 {
  min-height: 50px;
  margin-bottom: 12px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  text-transform: uppercase;
}

.machine-card h3 a:hover {
  color: var(--red);
}

.machine-card__body > p {
  min-height: 72px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.machine-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.machine-card__footer strong {
  color: var(--navy);
  font-size: 15px;
}

.machine-card__footer a {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

.empty-state {
  padding: 70px 30px;
  text-align: center;
}

.empty-state--bordered {
  border: 1px dashed #b7c2d1;
  background: var(--surface);
}

.empty-state > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.empty-state h2,
.empty-state h3 {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
}

.empty-state p {
  max-width: 580px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.empty-state > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.section--parts {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(36, 88, 159, 0.12), transparent 28%),
    linear-gradient(180deg, var(--surface) 0%, #eaf0f7 100%);
}

.parts-grid-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(0, 40, 101, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 40, 101, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}

.section--parts .container {
  position: relative;
}

.parts-heading {
  margin-bottom: 36px;
}

.parts-carousel {
  position: relative;
}

.parts-carousel__toolbar {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.parts-carousel__progress {
  height: 3px;
  overflow: hidden;
  background: rgba(0, 40, 101, 0.14);
}

.parts-carousel__progress > span {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--red), #e33a4f);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.parts-carousel__count {
  min-width: 58px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.parts-carousel__controls {
  display: flex;
  gap: 8px;
}

.parts-carousel__controls button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 40, 101, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(6, 24, 50, 0.08);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.parts-carousel__controls button:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.parts-carousel__controls button:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.parts-carousel__viewport {
  margin-inline: -10px;
  padding: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.parts-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.parts-carousel__viewport:active {
  cursor: grabbing;
}

.parts-carousel__track {
  width: max-content;
  min-width: 100%;
  display: flex;
  gap: 24px;
  padding-inline-end: 10px;
}

.part-card {
  flex: 0 0 clamp(300px, 31vw, 380px);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 40, 101, 0.12);
  box-shadow: 0 18px 42px rgba(6, 24, 50, 0.09);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.parts-carousel.is-enhanced .part-card {
  opacity: 0.68;
  transform: scale(0.965);
}

.parts-carousel.is-enhanced .part-card.is-active,
.part-card:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1);
  border-color: rgba(177, 0, 26, 0.28);
  box-shadow: 0 26px 58px rgba(6, 24, 50, 0.15);
}

.part-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: #dce4ee;
}

.part-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 0.65s cubic-bezier(0.2, 0.72, 0.2, 1), filter 0.35s ease;
}

.part-card.is-active .part-card__media > img,
.part-card:hover .part-card__media > img {
  transform: scale(1.055);
  filter: saturate(1) contrast(1.04);
}

.part-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(3, 18, 39, 0.42));
}

.part-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 70% 20%, rgba(177, 0, 26, 0.62), transparent 25%),
    linear-gradient(135deg, var(--navy-950), var(--navy));
  font-family: var(--font-display);
  font-size: 56px;
}

.part-card__status,
.part-card__number {
  position: absolute;
  z-index: 2;
}

.part-card__status {
  top: 16px;
  left: 16px;
  border-radius: 2px;
  padding: 7px 10px;
  background: var(--green);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.part-card__status--order {
  background: var(--blue);
}

.part-card__number {
  right: 16px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}

.part-card__body {
  min-height: 276px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 25px 26px 24px;
}

.part-card__code {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.part-card h3 {
  margin-bottom: 13px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.part-card h3 a {
  color: inherit;
}

.part-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.part-card__link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.part-card__link span {
  color: var(--red);
  font-size: 17px;
  transition: transform 0.2s ease;
}

.part-card__link:hover {
  color: var(--red);
}

.part-card__link:hover span {
  transform: translate(2px, -2px);
}

.parts-empty {
  padding: 52px;
  border: 1px solid rgba(0, 40, 101, 0.16);
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.parts-empty > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.parts-empty p {
  margin: 10px auto 22px;
  color: var(--muted);
}

.parts-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.section--categories {
  background: var(--navy-950);
  color: var(--white);
}

.section--categories .section-heading h2 {
  color: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.category-card {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.2s ease;
}

.category-card:hover {
  background: var(--navy-800);
}

.category-card__index {
  position: absolute;
  top: 24px;
  left: 28px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}

.category-card h3 {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.category-card__arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.category-card:hover .category-card__arrow {
  transform: translate(3px, -3px);
  color: var(--white);
}

.section--about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
  background: var(--surface);
  padding: 34px;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 40, 101, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 40, 101, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.about-visual__panel {
  position: absolute;
  inset: 70px -26px 70px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  background: var(--navy-950);
  color: var(--white);
  box-shadow: var(--shadow);
}

.about-visual__panel::after {
  content: "";
  position: absolute;
  right: 42px;
  top: 42px;
  width: 94px;
  height: 94px;
  border: 18px solid var(--red);
  border-radius: 50%;
  box-shadow: 28px 20px 0 -12px var(--blue);
}

.about-visual__panel > span {
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
}

.about-visual__panel strong {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 35px;
  line-height: 1.05;
  text-transform: uppercase;
}

.about-visual__stamp {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 38px;
  background: var(--red);
  color: var(--white);
  padding: 11px 18px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-content h2 {
  margin-bottom: 28px;
}

.about-content p {
  color: var(--muted);
  line-height: 1.8;
}

.about-content .lead {
  color: var(--ink);
  font-size: 19px;
  font-weight: 650;
}

.check-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.text-link > span:last-child {
  transition: transform 0.2s ease;
}

.text-link:hover > span:last-child {
  transform: translateX(5px);
}

.text-link--whatsapp {
  color: #168f44;
}

.whatsapp-mark {
  width: 27px;
  height: 27px;
  display: grid;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
}

.whatsapp-mark img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}

.section--steps {
  background: var(--surface-warm);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps-grid article {
  min-height: 260px;
  background: var(--white);
  padding: 36px;
}

.steps-grid article > span {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}

.steps-grid h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
}

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

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
}

.cta-band::after {
  content: "DM";
  position: absolute;
  right: -10px;
  bottom: -75px;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 260px;
  font-weight: 800;
  line-height: 1;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-band h2 {
  max-width: 760px;
  color: var(--white);
}

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 80px;
  padding-block: 74px 58px;
}

.site-footer__brand img {
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 3142 / 1156;
  object-fit: contain;
  margin-bottom: 24px;
}

.site-footer__brand p {
  max-width: 430px;
  margin-bottom: 0;
  font-size: 13px;
}

.site-footer h2 {
  margin-bottom: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--white);
}

.contact-list li:last-child {
  max-width: 290px;
}

.site-footer__social-title {
  margin: 25px 0 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.site-footer .social-links li {
  margin: 0;
}

.social-links a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.social-links img {
  width: 19px;
  height: 19px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer__bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.site-footer__legal {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.site-footer__credits {
  position: relative;
  font-size: 10px;
}

.site-footer__credits summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer__credits p {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(520px, 82vw);
  margin: 0;
  border: 1px solid var(--line-dark);
  padding: 14px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.68);
  text-align: left;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.site-footer__credits a {
  color: rgba(255, 255, 255, 0.88);
}

.whatsapp-float {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.flash-stack {
  position: fixed;
  z-index: 100;
  top: 134px;
  right: 20px;
  width: min(420px, calc(100% - 40px));
  display: grid;
  gap: 10px;
}

.flash {
  border-left: 4px solid var(--navy);
  background: var(--white);
  padding: 15px 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.flash--success {
  border-color: var(--green);
}

.flash--error {
  border-color: var(--red);
}

.page-hero {
  background: var(--navy-950);
  color: var(--white);
}

.page-hero__inner {
  min-height: 310px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-block: 68px;
}

.page-hero h1 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.page-hero p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
}

.page-hero__count {
  flex: 0 0 auto;
  border: 1px solid var(--line-dark);
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-section {
  padding-block: 70px 110px;
  background: var(--white);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 24px;
  border: 1px solid var(--line);
  padding: 24px;
}

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

.filters__heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
}

.filters__heading a {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.filters form {
  display: grid;
  gap: 10px;
}

.filters label,
.field label,
.admin-form label {
  margin-top: 10px;
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filters input,
.filters select,
.field input,
.field select,
.field textarea,
.admin-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd6e1;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 13px;
  font-size: 14px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.filters input:focus,
.filters select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.admin-form input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(36, 88, 159, 0.12);
}

.search-field {
  display: grid;
  grid-template-columns: 1fr 46px;
}

.search-field input {
  min-width: 0;
  border-right: 0;
}

.search-field button {
  border: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
}

.catalog-results__top {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-results__top strong {
  color: var(--ink);
}

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

.breadcrumbs {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 9px;
}

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

.product-section {
  padding-block: 62px 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: start;
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
}

.product-gallery__open {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.product-gallery__open > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.product-gallery__zoom-hint {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 24, 50, 0.82);
  color: var(--white);
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.product-gallery__open:hover .product-gallery__zoom-hint,
.product-gallery__open:focus-visible .product-gallery__zoom-hint {
  background: var(--red);
  transform: translateY(-2px);
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.product-gallery__thumbs button {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface);
  padding: 0;
}

.product-gallery__thumbs button.is-active {
  border-color: var(--red);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  background: rgba(2, 10, 23, 0.94);
  color: var(--white);
  padding: clamp(14px, 2.5vw, 30px);
  backdrop-filter: blur(12px);
}

.gallery-lightbox__topbar {
  width: min(100%, 1380px);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.gallery-lightbox__counter {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gallery-lightbox__tools {
  display: flex;
  align-items: center;
  gap: 7px;
}

.gallery-lightbox__tools button,
.gallery-lightbox__nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0;
  font-size: 22px;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.gallery-lightbox__tools button:hover,
.gallery-lightbox__nav:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-1px);
}

.gallery-lightbox__tools button[data-lightbox-zoom-reset] {
  width: auto;
  min-width: 48px;
  border-radius: 22px;
  padding-inline: 10px;
  font-size: 11px;
  font-weight: 850;
}

.gallery-lightbox__tools [data-lightbox-zoom-label] {
  min-width: 48px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.gallery-lightbox__tools .gallery-lightbox__close {
  margin-left: 7px;
  border-color: rgba(255, 255, 255, 0.4);
  font-size: 29px;
}

.gallery-lightbox__stage {
  position: relative;
  width: min(100%, 1480px);
  min-height: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: clamp(8px, 1.5vw, 22px);
  margin-inline: auto;
}

.gallery-lightbox__nav {
  width: 52px;
  height: 52px;
  font-size: 39px;
}

.gallery-lightbox__nav[disabled] {
  visibility: hidden;
}

.gallery-lightbox__viewport {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  cursor: zoom-in;
  touch-action: none;
}

.gallery-lightbox__viewport.is-zoomed {
  cursor: grab;
}

.gallery-lightbox__viewport.is-dragging {
  cursor: grabbing;
}

.gallery-lightbox__viewport img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 0.16s ease;
  will-change: transform;
}

.gallery-lightbox__viewport.is-dragging img {
  transition: none;
}

.gallery-lightbox__hint {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-align: center;
}

.product-summary {
  position: static;
}

.product-summary h1 {
  max-width: 14ch;
  margin-bottom: 18px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(36px, 3.7vw, 52px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-transform: uppercase;
}

.product-summary__specs {
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background: var(--surface);
  padding: 18px 20px 14px;
}

.product-summary__specs h2 {
  margin: 0 0 10px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-summary__specs dl {
  margin: 0;
}

.product-summary__specs dl > div {
  display: grid;
  grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.product-summary__specs dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-summary__specs dd {
  min-width: 0;
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

.product-summary__lead {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.product-price {
  display: grid;
  gap: 1px;
  margin-bottom: 24px;
}

.product-price span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-price strong {
  color: var(--navy);
  font-size: 26px;
}

.product-summary__note {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.product-contact--mobile {
  display: none;
}

.product-trust {
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.product-trust span::before {
  content: "\2022";
  margin-right: 9px;
  color: var(--red);
}

.product-trust--details {
  display: none;
}

.product-info-section {
  padding-block: 80px;
  background: var(--surface);
}

.product-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 850px);
  align-items: start;
}

.product-info-grid article {
  max-width: 850px;
}

.product-info-grid article p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.product-info-grid h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 4vw, 50px);
}

.section--related {
  background: var(--white);
}

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

.login-section {
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 70px 20px;
  background-color: var(--surface);
  background-image: linear-gradient(rgba(0, 40, 101, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 40, 101, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
}

.login-card {
  width: min(100%, 470px);
  background: var(--white);
  border-top: 5px solid var(--red);
  padding: 42px;
  box-shadow: var(--shadow);
}

.login-card__brand {
  width: 190px;
  margin-bottom: 28px;
}

.login-card__brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 3142 / 1156;
  object-fit: contain;
}

.login-card h1 {
  margin-bottom: 12px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 38px;
  text-transform: uppercase;
}

.login-card > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}

.admin-form {
  display: grid;
  gap: 9px;
}

.admin-form .button {
  margin-top: 14px;
}

.login-card__back {
  display: inline-block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.login-card__back:hover {
  color: var(--red);
}

.admin-shell {
  min-height: 720px;
  padding-block: 70px 100px;
}

.admin-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.admin-top h1 {
  margin-bottom: 9px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  text-transform: uppercase;
}

.admin-top p {
  margin: 0;
  color: var(--muted);
}

.admin-top__actions {
  display: flex;
  gap: 10px;
}

.admin-top__actions form {
  margin: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.admin-stats article {
  display: grid;
  gap: 3px;
  background: var(--white);
  padding: 18px 20px;
}

.admin-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-stats strong {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 32px;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.admin-catalog-section {
  margin-top: 72px;
  scroll-margin-top: 150px;
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.admin-section-heading h2 {
  margin: 5px 0 8px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  text-transform: uppercase;
}

.admin-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.carousel-settings {
  scroll-margin-top: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 22px 24px;
  background: linear-gradient(115deg, #ffffff 0%, #f4f7fb 100%);
}

.carousel-settings__copy {
  max-width: 650px;
}

.carousel-settings__copy label {
  display: block;
  margin: 5px 0 6px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
}

.carousel-settings__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.carousel-settings__controls,
.carousel-settings__input {
  display: flex;
  align-items: center;
}

.carousel-settings__controls {
  flex: 0 0 auto;
  gap: 12px;
}

.carousel-settings__input {
  overflow: hidden;
  border: 1px solid #cfd6e1;
  background: var(--white);
}

.carousel-settings__input input {
  width: 76px;
  min-height: 48px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 10px 12px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.carousel-settings__input input:focus {
  outline: 3px solid rgba(36, 88, 159, 0.14);
  outline-offset: -3px;
}

.carousel-settings__input span {
  padding: 0 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #eef2f7;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--muted);
  font-size: 12px;
}

.admin-machine {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-machine > img,
.admin-machine > span {
  width: 58px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

.admin-machine div {
  display: grid;
  gap: 3px;
}

.admin-machine strong {
  color: var(--ink);
  font-size: 13px;
}

.admin-machine small {
  color: var(--muted);
  font-size: 10px;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-actions a,
.admin-actions button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.admin-actions a:hover,
.admin-actions button:hover {
  color: var(--red);
}

.admin-back {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.admin-top--form {
  align-items: start;
}

.machine-form {
  display: grid;
  gap: 22px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}

.form-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-card__heading > span {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}

.form-card__heading h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
}

.form-card__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

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

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field--small {
  max-width: 150px;
}

.field label {
  margin: 0;
}

.field__label-row {
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field__add-button {
  border: 0;
  padding: 2px 0;
  background: transparent;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.field__add-button:hover,
.field__add-button:focus-visible {
  color: var(--blue);
}

.category-creator {
  margin-top: 5px;
  border: 1px solid rgba(0, 40, 101, 0.16);
  padding: 12px;
  background: var(--surface);
}

.category-creator[hidden] {
  display: none;
}

.category-creator__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.category-creator__controls .button {
  min-height: 48px;
  padding-inline: 16px;
}

.category-creator > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.category-creator > p.is-success {
  color: var(--green);
}

.category-creator > p.is-error {
  color: var(--red);
}

.field small {
  color: var(--muted);
  font-size: 10px;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.watermark-option {
  display: grid;
  grid-template-columns: 20px 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #c9d6e6;
  border-left: 3px solid var(--blue);
  background: linear-gradient(120deg, #f8fbff, #eef4fb);
  color: var(--ink);
  cursor: pointer;
}

.watermark-option:hover {
  border-color: var(--blue);
}

.watermark-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--red);
}

.watermark-option__mark {
  display: grid;
  width: 42px;
  height: 32px;
  place-items: center;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.watermark-option > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.watermark-option strong {
  color: var(--navy);
  font-size: 12px;
  line-height: 1.35;
}

.watermark-option small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.existing-images,
.upload-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.existing-images--single {
  grid-template-columns: minmax(220px, 360px);
}

.existing-images label {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.existing-images img,
.upload-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.existing-images span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  color: var(--muted);
  font-size: 10px;
}

.upload-field {
  position: relative;
  min-height: 135px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  overflow: hidden;
  border: 2px dashed #b8c3d2;
  background: var(--surface);
  text-align: center;
  cursor: pointer;
}

.upload-field:hover {
  border-color: var(--blue);
}

.upload-field strong {
  color: var(--navy);
  font-size: 14px;
}

.upload-field span {
  color: var(--muted);
  font-size: 11px;
}

.upload-field input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-preview {
  margin-top: 14px;
  margin-bottom: 0;
}

.upload-preview figure {
  margin: 0;
  border: 1px solid var(--line);
}

.upload-preview figcaption {
  overflow: hidden;
  padding: 7px;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-progress {
  margin-top: 18px;
  border: 1px solid rgba(0, 40, 101, 0.2);
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(0, 40, 101, 0.06), rgba(20, 82, 150, 0.025));
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.upload-progress__heading strong {
  color: var(--navy);
  font-size: 14px;
}

.upload-progress__heading span {
  min-width: 46px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.upload-progress__track {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 40, 101, 0.12);
  border-radius: 999px;
  background: rgba(0, 40, 101, 0.09);
}

.upload-progress__bar {
  position: relative;
  width: 0;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #2475c8);
  transition: width 0.22s ease;
}

.upload-progress.is-processing .upload-progress__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: upload-progress-shimmer 1.1s linear infinite;
}

.upload-progress.is-complete {
  border-color: rgba(20, 170, 92, 0.35);
  background: rgba(20, 170, 92, 0.07);
}

.upload-progress.is-complete .upload-progress__bar {
  background: var(--green);
}

.upload-progress.is-error {
  border-color: rgba(190, 0, 25, 0.38);
  background: rgba(190, 0, 25, 0.06);
}

.upload-progress.is-error .upload-progress__bar {
  background: var(--red);
}

.upload-progress > p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@keyframes upload-progress-shimmer {
  from { transform: translateX(-130%); }
  to { transform: translateX(340%); }
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

.error-page {
  min-height: 650px;
  display: grid;
  place-items: center;
  background: var(--surface);
  text-align: center;
}

.error-page span {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
}

.error-page h1 {
  max-width: 700px;
  margin: 0 auto 18px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 66px);
  text-transform: uppercase;
}

.error-page p {
  margin-bottom: 28px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }

  .hero__inner {
    grid-template-columns: 1fr 390px;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.8vw, 76px);
  }

  .machine-grid {
    gap: 18px;
  }

  .machine-card h3 {
    font-size: 20px;
  }

  .catalog-layout {
    grid-template-columns: 230px 1fr;
    gap: 28px;
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: block;
  }

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

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

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

  .main-nav {
    position: fixed;
    inset: 122px 0 auto;
    max-height: calc(100vh - 122px);
    overflow-y: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 22px 20px 30px;
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(6, 24, 50, 0.16);
  }

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

  .main-nav > a:not(.button) {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 18px;
  }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 78px;
  }

  .hero__content {
    max-width: none;
  }

  .hero-machine {
    width: min(100%, 560px);
    min-height: 420px;
  }

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

  .trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .trust-strip span:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-strip span:first-child,
  .trust-strip span {
    padding: 16px 20px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .parts-carousel__track {
    gap: 18px;
  }

  .part-card {
    flex-basis: min(70vw, 380px);
  }

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

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

  .about-visual {
    width: min(100%, 600px);
  }

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

  .steps-grid article {
    min-height: auto;
  }

  .steps-grid article > span {
    margin-bottom: 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .filters form {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
  }

  .filters form > label {
    display: none;
  }

  .filters .button {
    grid-column: 1 / -1;
  }

  .product-layout,
  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .product-summary {
    position: static;
  }

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

  .admin-section-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .product-section {
    padding-bottom: 12px;
  }

  .product-info-section {
    padding-block: 22px 52px;
  }

  .product-price {
    margin-bottom: 0;
  }

  .product-info-grid h2 {
    margin-bottom: 22px;
    font-size: clamp(21px, 6.2vw, 25px);
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .product-trust--summary {
    display: none;
  }

  .product-trust--details {
    display: grid;
    margin-top: 26px;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__inner > span,
  .topbar__links > span:last-child,
  .topbar__links > span[aria-hidden] {
    display: none;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .brand {
    width: 174px;
  }

  .brand img {
    height: auto;
  }

  .main-nav {
    inset-block-start: 112px;
    max-height: calc(100vh - 112px);
  }

  .section--parts {
    padding-block: 72px;
  }

  .parts-heading {
    margin-bottom: 26px;
  }

  .parts-carousel__toolbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .parts-carousel__progress {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .parts-carousel__track {
    gap: 14px;
    padding-inline-end: 4px;
  }

  .part-card {
    flex-basis: min(calc(100vw - 56px), 340px);
  }

  .parts-carousel__controls button {
    width: 42px;
    height: 42px;
  }

  .part-card__body {
    min-height: 250px;
    padding: 22px 20px;
  }

  .part-card h3 {
    font-size: clamp(22px, 7vw, 27px);
  }

  .parts-empty {
    padding: 36px 20px;
  }

  .hero__inner {
    padding-block: 62px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 44px;
    padding-top: 24px;
  }

  .hero__proof div {
    grid-template-columns: minmax(142px, 42%) minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    min-width: 0;
  }

  .hero__proof strong {
    font-size: 15px;
    white-space: nowrap;
  }

  .hero__proof span {
    min-width: 0;
    line-height: 1.35;
  }

  .hero-machine {
    min-height: 340px;
  }

  .hero-machine__visual img {
    width: 92%;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 76px;
  }

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

  .machine-grid,
  .machine-grid--catalog {
    grid-template-columns: 1fr;
  }

  .machine-card h3,
  .machine-card__body > p {
    min-height: 0;
  }

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

  .category-card {
    min-height: 150px;
  }

  .about-visual {
    min-height: 440px;
    padding: 20px;
  }

  .about-visual__panel {
    inset: 46px -8px 55px 28px;
    padding: 30px;
  }

  .about-visual__panel > span {
    font-size: 68px;
  }

  .about-visual__panel strong {
    font-size: 28px;
  }

  .cta-band__inner {
    min-height: 360px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-block: 20px;
  }

  .site-footer__legal {
    justify-items: start;
    text-align: left;
  }

  .site-footer__credits p {
    right: auto;
    left: 0;
  }

  .page-hero__inner {
    min-height: 280px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .page-hero__count {
    align-self: flex-start;
  }

  .filters form {
    grid-template-columns: 1fr;
  }

  .filters .button {
    grid-column: auto;
  }

  .product-gallery__main,
  .product-gallery__open > img,
  .machine-placeholder--large {
    min-height: 0;
  }

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

  .product-gallery__zoom-hint {
    left: 10px;
    bottom: 10px;
    padding: 6px 8px;
    font-size: 8px;
  }

  .gallery-lightbox {
    gap: 8px;
    padding: 10px;
  }

  .gallery-lightbox__topbar {
    gap: 10px;
  }

  .gallery-lightbox__tools {
    gap: 4px;
  }

  .gallery-lightbox__tools button {
    width: 38px;
    height: 38px;
  }

  .gallery-lightbox__tools button[data-lightbox-zoom-reset],
  .gallery-lightbox__tools [data-lightbox-zoom-label] {
    display: none;
  }

  .gallery-lightbox__tools .gallery-lightbox__close {
    margin-left: 3px;
  }

  .gallery-lightbox__stage {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 4px;
  }

  .gallery-lightbox__nav {
    width: 40px;
    height: 48px;
    border: 0;
    background: transparent;
    font-size: 35px;
  }

  .gallery-lightbox__hint {
    font-size: 9px;
  }

  .product-summary h1 {
    max-width: 100%;
    font-size: clamp(19px, 5vw, 21px);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  .product-summary__specs {
    padding: 16px 17px 12px;
  }

  .product-summary__specs h2 {
    font-size: 14px;
    line-height: 1.2;
  }

  .product-contact--summary {
    display: none;
  }

  .product-contact--mobile {
    display: block;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .product-contact--mobile .product-summary__note {
    margin-bottom: 0;
  }

  .product-summary__specs dl > div {
    grid-template-columns: minmax(92px, 0.75fr) minmax(0, 1.25fr);
    gap: 12px;
  }

  .product-summary__lead {
    font-size: 15px;
  }

  .login-card {
    padding: 28px 22px;
  }

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

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

  .admin-top__actions .button,
  .admin-top__actions form,
  .admin-top__actions form .button {
    width: 100%;
  }

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

  .form-card {
    padding: 22px 18px;
  }

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

  .category-creator__controls {
    grid-template-columns: 1fr;
  }

  .category-creator__controls .button {
    width: 100%;
  }

  .field--wide {
    grid-column: auto;
  }

  .existing-images,
  .upload-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .existing-images--single {
    grid-template-columns: 1fr;
  }

  .admin-section-heading .button {
    width: 100%;
  }

  .carousel-settings,
  .carousel-settings__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .carousel-settings {
    gap: 18px;
    padding: 20px 18px;
  }

  .carousel-settings__input,
  .carousel-settings__controls .button {
    width: 100%;
  }

  .carousel-settings__input input {
    flex: 1 1 auto;
    width: auto;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
