:root {
  --ink: #151515;
  --muted: #666b73;
  --line: #e7e7e7;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --dark: #111317;
  --accent: #ff5f13;
  --accent-strong: #e84f08;
  --container: 1180px;
  --shadow: 0 18px 45px rgba(16, 20, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.topbar {
  background: #1b1b1b;
  color: #f5f5f5;
  font-size: 13px;
}

.topbar__inner,
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar__inner {
  min-height: 44px;
  justify-content: space-between;
}

.topbar a {
  color: #f5f5f5;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.nav-hot-zone {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 19;
  height: 190px;
  pointer-events: none;
}

body.is-scrolled .nav-hot-zone {
  pointer-events: auto;
}

.navbar.is-compact {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

body.is-scrolled .navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

body.is-scrolled .site-header {
  padding-bottom: 72px;
}

.navbar__inner {
  display: flex;
  align-items: center;
  min-height: 86px;
  gap: 28px;
  transition: min-height 180ms ease;
}

.navbar.is-compact .navbar__inner {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
  font-family: "Montserrat", Arial, sans-serif;
}

.brand__logo {
  width: 214px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  transition: height 180ms ease, width 180ms ease;
}

.navbar.is-compact .brand__logo {
  width: 186px;
  height: 54px;
}

.brand__logo--footer {
  width: 230px;
  height: 140px;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease, max-width 180ms ease;
  max-width: 820px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  position: relative;
  padding: 32px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.dropdown-trigger::before {
  display: inline-block;
  margin-left: 0;
  color: var(--accent-strong);
  font-size: 10px;
  order: 2;
  transform: translateY(-1px);
  content: "▼";
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 30;
  width: 268px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-top: 4px solid var(--accent);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.sub-menu a {
  display: block;
  padding: 12px 18px;
  color: #222;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.sub-menu li:last-child a {
  border-bottom: 0;
}

.sub-menu a::after {
  display: none;
}

.sub-menu a:hover,
.sub-menu a:focus-visible {
  color: #111;
  background: #f7f7f7;
}

.has-dropdown:hover > .sub-menu,
.has-dropdown:focus-within > .sub-menu,
.has-dropdown.is-open > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (min-width: 821px) {
  body.is-scrolled:not(.nav-pointer-active) .navbar .nav-links {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }

  body.is-scrolled:not(.nav-pointer-active) .navbar .catalog-button,
  body.is-scrolled:not(.nav-pointer-active) .navbar .quote-button {
    margin-left: auto;
  }

  body.nav-pointer-active .navbar .nav-links,
  .navbar:hover .nav-links,
  .navbar:focus-within .nav-links {
    max-width: 760px;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.catalog-button,
.quote-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
}

.quote-button,
.button--primary {
  color: #fff;
  background: var(--accent);
}

.quote-button:hover,
.button--primary:hover {
  background: var(--accent-strong);
}

.catalog-button,
.button--dark {
  color: var(--ink);
  background: #fff;
  border-color: rgba(17, 17, 17, 0.16);
}

.catalog-button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 12px;
}

.catalog-button:hover,
.button--dark:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

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

.nav-toggle:hover span {
  background: var(--accent);
}

.button--light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.footer-catalog {
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-catalog:hover {
  color: var(--accent);
}

.quote-catalog-link {
  margin: 8px 0 20px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
}

.hero__media,
.hero__overlay,
.hero__content {
  grid-area: 1 / 1;
}

.hero__media {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.18)),
    url("assets/hero-cnc.jpg") center / cover;
  transform: scale(1.02);
}

.hero__overlay {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 120px);
}

.hero__content {
  position: relative;
  align-self: center;
  padding: 90px 0 110px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-strip h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 800;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.intro-band {
  position: relative;
  z-index: 2;
  margin-top: -70px;
}

.intro-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.intro-band article {
  min-height: 190px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.intro-band article:last-child {
  border-right: 0;
}

.intro-band span {
  color: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.intro-band h2 {
  margin: 8px 0 8px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
}

.intro-band p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 105px 0;
}

.section--split {
  padding-top: 120px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.split__image {
  position: relative;
}

.split__image::before {
  position: absolute;
  inset: 26px 26px -26px -26px;
  z-index: -1;
  background: var(--accent);
  content: "";
}

.split__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split__content h2,
.section-heading h2,
.vision h2,
.contact-strip h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
}

.split__content p {
  color: var(--muted);
  font-size: 17px;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.values div {
  padding: 18px;
  background: var(--soft);
  border-left: 4px solid var(--accent);
}

.values strong,
.values span {
  display: block;
}

.values strong {
  font-family: "Montserrat", Arial, sans-serif;
}

.values span {
  color: var(--muted);
  font-size: 14px;
}

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

.section-heading a {
  color: var(--accent-strong);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.service-card {
  min-height: 265px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.vision {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.92), rgba(17, 19, 23, 0.78)),
    url("assets/tools-orange.jpg") center / cover fixed;
}

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

.vision article {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.24);
}

.vision p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

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

.gallery figure {
  position: relative;
  min-height: 275px;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 275px;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.gallery figure:hover img {
  opacity: 0.82;
  transform: scale(1.05);
}

.references {
  background: var(--soft);
}

.references__text {
  max-width: 760px;
  margin: -20px 0 36px;
  color: var(--muted);
  font-size: 17px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}

.logo-grid img {
  width: 100%;
  height: 130px;
  padding: 24px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  filter: grayscale(0.2);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.logo-grid img:hover {
  filter: grayscale(0);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.contact-strip {
  padding: 90px 0;
  color: #fff;
  background: var(--dark);
}

.detail-hero {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
}

.detail-hero__media,
.detail-hero__overlay,
.detail-hero__content {
  grid-area: 1 / 1;
}

.detail-hero__media {
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.detail-hero__overlay {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 120px);
}

.detail-hero__content {
  position: relative;
  align-self: center;
  padding: 84px 0 96px;
}

.detail-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-section {
  background: linear-gradient(90deg, #fff 0 72%, var(--soft) 72% 100%);
}

.detail-layout {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 55px;
  align-items: start;
}

.detail-side {
  position: sticky;
  top: 105px;
  padding: 26px;
  background: var(--dark);
  color: #fff;
}

.detail-side h2 {
  margin: 0 0 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
}

.detail-side a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-side a:hover,
.detail-side a:focus-visible {
  color: var(--accent);
}

.detail-main > h2 {
  max-width: 840px;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
}

.detail-intro {
  max-width: 850px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 18px;
}

.detail-image-row {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: stretch;
  margin: 36px 0;
}

.detail-image-row img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.detail-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  color: #fff;
  background: var(--accent);
}

.detail-highlight strong {
  margin-bottom: 12px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.detail-highlight p {
  margin: 0;
  font-size: 16px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0;
}

.detail-grid article {
  min-height: 170px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.detail-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-grid p {
  margin: 0;
  color: var(--muted);
}

.detail-block {
  margin-top: 48px;
}

.detail-block h2 {
  margin: 0 0 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 30px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  color: var(--accent);
  content: "✓";
}

.detail-process > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-process article {
  padding: 22px;
  background: var(--soft);
  border-top: 4px solid var(--accent);
}

.detail-process span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.detail-process p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.detail-gallery > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-gallery figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.detail-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.detail-gallery figure:hover img {
  transform: scale(1.05);
}

.contact-strip__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.contact-strip p:not(.section-kicker) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 34px;
  color: #fff;
  background: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.contact-card span {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 700;
}

.footer {
  color: rgba(255, 255, 255, 0.8);
  background: #0c0d0f;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding: 60px 0;
}

.brand--footer {
  display: inline-flex;
  width: auto;
  height: auto;
  color: #fff;
  margin-bottom: 20px;
}

.footer-logo-badge {
  display: inline-flex;
  width: 245px;
  height: 245px;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: #050607;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.32);
}

.footer-logo-badge .brand__logo {
  width: 180px;
  height: 110px;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.85))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 9px;
}

.footer .footer-logo-badge {
  display: inline-flex;
  width: 245px;
  height: 245px;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: #050607;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.32);
}

.footer .footer-logo-badge .brand__logo {
  width: 180px;
  height: 110px;
  margin-bottom: 0;
}

.footer .brand__logo--footer-final {
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
  margin-bottom: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent-strong);
}

.back-to-top.is-visible,
body.is-scrolled .back-to-top {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.quote-page {
  padding: 100px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    url("assets/hero-cnc.jpg") center / cover;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.quote-intro h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  max-width: 620px;
  text-transform: uppercase;
}

.quote-intro p {
  color: var(--muted);
  font-size: 18px;
}

.quote-lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: #444a52;
  font-size: 19px;
  line-height: 1.75;
}

.quote-points {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.quote-points span {
  position: relative;
  display: block;
  padding-left: 26px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.quote-points span::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--accent);
  content: "✓";
}

.quote-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 26px;
  color: #fff;
  background: var(--dark);
  border-left: 5px solid var(--accent);
}

.quote-note strong,
.quote-note a {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.quote-note a {
  color: var(--accent);
}

.quote-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  font: 500 15px "Roboto", Arial, sans-serif;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(255, 95, 19, 0.28);
  border-color: var(--accent);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form small,
.form-help {
  color: var(--muted);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
}

.form-help {
  margin: 0;
}

.mail-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(17, 19, 23, 0.92), rgba(17, 19, 23, 0.82)),
    url("assets/hero-cnc.jpg") center / cover;
}

.mail-result__card {
  width: min(100%, 620px);
  padding: 42px;
  color: #fff;
  background: rgba(12, 13, 15, 0.94);
  border-top: 5px solid var(--accent);
  box-shadow: var(--shadow);
  text-align: center;
}

.mail-result__card img {
  width: 190px;
  margin: 0 auto 26px;
}

.mail-result__card .mail-result__logo {
  display: block;
  width: min(250px, 72vw);
  height: auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.mail-result__card h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(30px, 5vw, 46px);
  text-transform: uppercase;
}

.mail-result__card p {
  margin: 18px auto 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.mail-result__card.error {
  border-top-color: #d93636;
}

.mail-result__home {
  margin-top: 12px;
}

@media (max-width: 1060px) {
  .catalog-button,
  .quote-button {
    display: none;
  }

  .nav-links {
    gap: 12px;
    font-size: 11px;
    max-width: 690px;
  }

  .brand {
    min-width: 176px;
  }

  .brand__logo {
    width: 170px;
    height: 52px;
  }

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

@media (max-width: 820px) {
  .nav-hot-zone {
    display: none;
  }

  .topbar__inner,
  .topbar__contacts {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .topbar__inner {
    padding: 10px 0;
  }

  .navbar__inner {
    justify-content: space-between;
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
    max-width: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

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

  .nav-links a {
    display: block;
    padding: 14px 0;
  }

  .dropdown-trigger::before {
    float: right;
    margin-top: 4px;
  }

  .sub-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 6px 16px;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .has-dropdown.is-open > .sub-menu {
    display: block;
  }

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

  .nav-links a::after {
    bottom: 8px;
  }

  .hero {
    min-height: 570px;
  }

  .hero__content {
    padding: 70px 0 110px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .intro-band__grid,
  .split,
  .vision__grid,
  .contact-strip__inner,
  .footer__grid,
  .detail-layout,
  .detail-image-row,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .detail-section {
    background: #fff;
  }

  .detail-side {
    position: static;
  }

  .detail-grid,
  .detail-process > div,
  .detail-gallery > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 76px 0;
  }

  .split {
    gap: 48px;
  }

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

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

@media (max-width: 560px) {
  .brand {
    min-width: auto;
  }

  .brand__logo {
    width: 150px;
    height: 46px;
  }

  .brand__logo--footer {
    width: 170px;
    height: 104px;
  }

  .footer-logo-badge {
    width: 220px;
    height: 220px;
    padding: 28px;
  }

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

  .hero__actions,
  .button {
    width: 100%;
  }

  .values,
  .service-grid,
  .form-grid,
  .gallery,
  .logo-grid,
  .detail-grid,
  .detail-process > div,
  .check-list,
  .detail-gallery > div {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: 500px;
  }

  .detail-image-row img {
    height: 280px;
  }

  .split__image::before {
    inset: 16px 16px -16px -16px;
  }

  .service-card,
  .vision article,
  .contact-card {
    padding: 24px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
