:root {
  --black: #000;
  --ink: #151515;
  --muted: #5f5f5f;
  --line: #d8d8d8;
  --paper: #fff;
  --soft: #efefef;
  --accent: #bf292e;
  --accent-dark: #961d22;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Oswald", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.modal-open,
body.lightbox-open,
body.gallery-viewer-open,
body.policy-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 100;
  background: var(--black);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.header-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 410px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 39px 0 31px;
  border-bottom: 1px solid var(--accent);
}

.brand img {
  width: 390px;
  transform: translate(40px, 11px);
}

.header-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.contact-line {
  display: grid;
  grid-template-columns: 36px minmax(150px, max-content);
  gap: 12px;
  align-items: center;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.3;
}

.contact-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.contact-line-address .contact-icon {
  align-self: center;
}

.address-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.address-link:hover,
.address-link:focus-visible {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.header-contacts .btn {
  min-height: 64px;
  padding: 0 36px;
  font-size: 20px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent);
  color: #000;
}

.btn-ghost {
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #fff;
  color: #000;
}

.btn-wide {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 7px 0;
  background: #fff;
}

.site-nav {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-title {
  min-width: max-content;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.nav-item {
  position: static;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-parent-link {
  display: inline-flex;
  align-items: center;
  min-height: 82px;
}

.nav-dropdown-toggle {
  display: inline-grid;
  width: 24px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-item-has-dropdown + a {
  margin-left: -12px;
}

.nav-dropdown-toggle span {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.22s ease, color 0.22s ease;
}

.nav-item-has-dropdown:hover .nav-dropdown-toggle,
.nav-item-has-dropdown:focus-within .nav-dropdown-toggle,
.nav-item-has-dropdown.is-open .nav-dropdown-toggle {
  color: var(--accent);
}

.nav-item-has-dropdown:hover .nav-dropdown-toggle span,
.nav-item-has-dropdown:focus-within .nav-dropdown-toggle span,
.nav-item-has-dropdown.is-open .nav-dropdown-toggle span {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  right: 0;
  left: 0;
  z-index: 120;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #111;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown,
.nav-item-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 17px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.nav-dropdown a:last-child {
  border-right: 0;
}

.hero {
  min-height: clamp(540px, 68svh, 760px);
  display: grid;
  align-items: start;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.22)), var(--bg);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(46px, 5vw, 70px) 0 84px;
}

.hero-kicker {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.95;
  font-weight: 300;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: #fff;
}

.hero ul {
  max-width: 850px;
  margin: 0;
  padding-left: 24px;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.35;
}

.hero-actions {
  margin-top: 34px;
  display: none;
}

.metal-cards,
.about-section,
.services-section,
.advantages-section {
  padding: 75px 0;
}

.metal-cards-compact {
  padding-bottom: 24px;
}

.metal-cards-compact .section-heading {
  margin-bottom: 0;
}

.metal-cards-compact + .about-section {
  padding-top: 24px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 300;
  text-transform: uppercase;
}

.section-heading p {
  margin: 22px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
}

.section-heading-light h2,
.section-heading-light p {
  color: #fff;
}

.metal-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metal-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  padding: 28px 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-align: center;
  background: #fff;
}

.metal-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.metal-card h3 {
  margin: 0;
  color: var(--accent);
  font-size: 20px;
  line-height: 1.24;
  font-weight: 400;
}

.metal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 52px;
  align-items: center;
}

.about-section .split {
  align-items: start;
}

.about-image {
  min-height: 560px;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.about-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 300;
  text-transform: uppercase;
}

.about-copy p {
  margin: 0 0 18px;
  color: #222;
  font-size: clamp(21px, 1.6vw, 24px);
  font-weight: 300;
  line-height: 1.48;
}

.about-copy strong {
  color: var(--accent);
  font-weight: 500;
}

.cover-cta {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.9)), var(--bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cover-content {
  max-width: 860px;
}

.cover-content h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 300;
}

.cover-content p {
  margin: 0 0 32px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  line-height: 1.28;
}

.engineer-phone-btn {
  min-height: 74px;
  padding: 0 42px;
  border-width: 3px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
}

.services-section {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d4d4d4;
  border: 1px solid #d4d4d4;
}

.service-item {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: start;
  box-sizing: border-box;
  padding: 34px 30px;
  background: var(--soft);
}

.service-number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 500;
}

.service-item h3 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 400;
  text-transform: uppercase;
}

.service-item p {
  margin: 0;
  color: #2c2c2c;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}

.process-section {
  color: #fff;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

.process-overlay {
  padding: 86px 0;
  background: rgba(0, 0, 0, 0.82);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 70px;
  align-items: center;
}

.process-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 300;
  text-transform: uppercase;
}

.process-copy p {
  margin: 0 0 30px;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.46;
}

.benefit-list {
  display: grid;
  gap: 26px;
}

.benefit {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
}

.checkmark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 400;
}

.benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-card {
  min-height: 230px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.advantage-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.advantage-card h3 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 400;
}

.advantage-card p {
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}

.quote-section {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 78px 0 28px;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.9)), var(--bg);
  background-size: cover;
  background-position: center;
}

.quote-content {
  max-width: 980px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quote-form > input,
.quote-form > button {
  width: 100%;
}

.quote-form > button {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  min-height: 54px;
  width: 100%;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 15px;
  background: transparent;
  color: #fff;
  outline: 0;
}

textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

select {
  background: #fff;
  color: #000;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.form-note,
.form-status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}

.form-status {
  color: #fff;
  font-size: 16px;
}

.quote-form .form-note {
  display: grid;
  justify-items: center;
  gap: 1px;
  line-height: 1.55;
}

.policy-consent-line {
  display: block;
  white-space: nowrap;
}

.policy-link {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-link:hover,
.policy-link:focus-visible {
  color: #ff4a50;
  outline: none;
}

.lead-form button:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.portfolio-section {
  padding: 18px 0 48px;
  background: #fff;
  color: var(--ink);
}

.portfolio-section .section-heading {
  margin-bottom: 28px;
}

.portfolio-section .section-heading h2 {
  color: var(--ink);
}

.portfolio-gallery-section {
  padding-top: 8px;
}

.portfolio-gallery .portfolio-viewport {
  width: 60%;
  margin: 0 auto;
}

.portfolio-gallery .portfolio-gallery-slide {
  flex-basis: 100%;
  aspect-ratio: 3 / 2;
  border: 0;
  border-radius: 4px;
  background: #111;
  cursor: zoom-in;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.portfolio-gallery-slide:hover {
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  transform: none;
}

.portfolio-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-carousel {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.portfolio-viewport {
  overflow: hidden;
  background: #fff;
}

.portfolio-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  transition: transform 0.38s ease;
  will-change: transform;
}

.portfolio-slide {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.portfolio-slide:hover {
  border-color: rgba(207, 35, 43, 0.48);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  transform: translateY(-3px);
}

.portfolio-slide:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.portfolio-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}

.portfolio-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-slide:hover .portfolio-card-image img {
  transform: scale(1.035);
}

.portfolio-card-body {
  display: flex;
  min-height: 152px;
  padding: 18px 18px 16px;
  flex-direction: column;
}

.portfolio-card-body strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.18;
}

.portfolio-card-meta {
  display: block;
  margin-top: 12px;
  color: rgba(16, 16, 16, 0.56);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.portfolio-card-more {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.portfolio-arrow {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.portfolio-arrow:hover,
.portfolio-arrow:focus-visible {
  background: var(--accent);
  transform: translateY(-1px);
}

.portfolio-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.portfolio-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.portfolio-dot.is-active {
  border-color: var(--accent);
  background: var(--accent);
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  overflow-y: auto;
  padding: 0 28px;
  background: #fff;
  color: var(--ink);
}

.portfolio-lightbox.is-open {
  display: block;
}

.portfolio-lightbox-dialog {
  position: relative;
  width: min(1000px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 82px 0 72px;
}

.portfolio-project {
  width: 100%;
  margin: 0;
}

.portfolio-project-kicker {
  margin: 0 0 2px;
  color: rgba(16, 16, 16, 0.54);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

.portfolio-project h3 {
  max-width: 900px;
  margin: 0;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.06;
}

.portfolio-project-meta {
  margin: 2px 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.portfolio-project-media {
  position: relative;
  width: 100%;
  height: 590px;
  overflow: hidden;
  border-radius: 4px;
}

.portfolio-project-media-button,
.portfolio-project-gallery-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #111;
  cursor: zoom-in;
}

.portfolio-project-media-button {
  height: 100%;
}

.portfolio-project-media-button:focus-visible,
.portfolio-project-gallery-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.portfolio-project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.portfolio-image-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 42px 44% 42px 56px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.86) 43%, rgba(0, 0, 0, 0.48) 60%, rgba(0, 0, 0, 0) 82%);
  color: #fff;
  pointer-events: none;
  text-align: left;
}

.portfolio-image-overlay:empty {
  display: none;
}

.portfolio-image-overlay p {
  max-width: 650px;
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.portfolio-image-overlay p + p {
  margin-top: 2px;
}

.portfolio-image-overlay-brand {
  color: var(--accent);
  font-weight: 700;
}

.portfolio-project-copy {
  padding: 2px 0 0;
}

.portfolio-project-copy > p {
  max-width: 860px;
  margin: 0;
  font-size: 23px;
  font-weight: 300;
  line-height: 1.5;
  white-space: pre-line;
}

.portfolio-project-copy ul {
  display: grid;
  margin: 2px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  list-style: none;
}

.portfolio-project-gallery {
  display: grid;
  margin-top: 2px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.portfolio-project-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
}

.portfolio-project-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.portfolio-project-gallery-button:hover img,
.portfolio-project-gallery-button:focus-visible img {
  transform: scale(1.025);
  opacity: 0.9;
}

.portfolio-project-copy li {
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: #f2f2f2;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}

.portfolio-lightbox-close,
.portfolio-lightbox-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-close:focus-visible,
.portfolio-lightbox-arrow:hover,
.portfolio-lightbox-arrow:focus-visible {
  background: var(--accent);
}

.portfolio-lightbox-close {
  top: 22px;
  left: 0;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
}

.portfolio-lightbox-arrow {
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  font-size: 44px;
  line-height: 1;
}

.portfolio-lightbox-prev {
  left: -78px;
}

.portfolio-lightbox-next {
  right: -78px;
}

.portfolio-lightbox.photo-viewer-open {
  overflow: hidden;
}

.portfolio-photo-viewer,
.portfolio-gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 360;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.94);
}

.portfolio-photo-viewer.is-open,
.portfolio-gallery-viewer.is-open {
  display: grid;
}

.portfolio-photo-viewer-dialog {
  position: relative;
  display: flex;
  width: min(1480px, 100%);
  max-height: calc(100svh - 48px);
  flex-direction: column;
  align-items: center;
}

.portfolio-photo-viewer-stage {
  display: grid;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  place-items: center;
}

.portfolio-photo-viewer-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100svh - 150px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
}

.portfolio-photo-viewer-close,
.portfolio-photo-viewer-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.82);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.portfolio-photo-viewer-close:hover,
.portfolio-photo-viewer-close:focus-visible,
.portfolio-photo-viewer-arrow:hover,
.portfolio-photo-viewer-arrow:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
}

.portfolio-photo-viewer-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  font-size: 31px;
  line-height: 1;
}

.portfolio-photo-viewer-controls {
  display: flex;
  min-height: 58px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.portfolio-photo-viewer-controls[hidden] {
  display: none;
}

.portfolio-photo-viewer-arrow {
  width: 52px;
  height: 52px;
  font-size: 39px;
  line-height: 1;
}

.portfolio-photo-viewer-arrow:hover,
.portfolio-photo-viewer-arrow:focus-visible {
  transform: translateY(-2px);
}

.portfolio-photo-viewer-counter {
  min-width: 72px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
}

.site-footer {
  padding: 14px 0 42px;
  background: var(--black);
  color: #fff;
}

.footer-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo img {
  width: min(340px, 78vw);
  margin: 0 auto;
  display: block;
}

.footer-phone {
  color: #fff;
  text-decoration: none;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.1;
  transform: translateX(24px);
  transition: color 0.2s ease;
}

.footer-phone:hover,
.footer-phone:focus-visible {
  color: var(--accent);
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}

.footer-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.round-link {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover,
.to-top:focus-visible {
  background: var(--accent);
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  overflow: auto;
  padding: 44px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.modal-panel h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.16;
}

.modal-panel > p {
  margin: 0 0 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.modal .lead-form {
  display: grid;
  gap: 16px;
}

.modal label {
  display: grid;
  gap: 8px;
  font-size: 16px;
  font-weight: 300;
}

.modal input:not([type="file"]),
.modal textarea {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.modal input::placeholder,
.modal textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.modal input[type="file"] {
  min-height: auto;
  padding: 14px;
  border-style: dashed;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.8);
}

.policy-modal.is-open {
  display: grid;
}

.policy-panel {
  display: flex;
  width: min(880px, 100%);
  max-height: calc(100svh - 48px);
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.policy-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.policy-header p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
}

.policy-header h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.18;
}

.policy-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
}

.policy-close:hover,
.policy-close:focus-visible {
  color: var(--accent);
}

.policy-scroll {
  overflow-y: auto;
  padding: 28px 34px 36px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.policy-scroll:focus-visible {
  outline: 3px solid rgba(191, 41, 46, 0.32);
  outline-offset: -3px;
}

.policy-operator {
  margin: 0 0 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: #f1f1f1;
  font-size: 17px;
  line-height: 1.55;
}

.policy-section + .policy-section {
  margin-top: 28px;
}

.policy-section h3 {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.policy-section p,
.policy-section li {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

.policy-section p {
  margin: 0 0 12px;
}

.policy-section ul {
  margin: 0;
  padding-left: 22px;
}

.policy-section li + li {
  margin-top: 7px;
}

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: 340px 1fr auto;
  }

  .brand img {
    width: 320px;
    transform: translate(26px, 8px);
  }

  .header-contacts {
    gap: 16px;
  }

  .contact-line {
    font-size: 20px;
  }

  .header-contacts .btn {
    min-height: 56px;
    padding: 0 24px;
    font-size: 17px;
  }

  .nav-links a {
    font-size: 21px;
  }

  .metal-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-slide {
    flex-basis: calc((100% - 48px) / 3);
  }
}

@media (max-width: 860px) {
  .header-shell {
    grid-template-columns: 270px 1fr auto;
  }

  .brand img {
    width: 250px;
    transform: translate(18px, 5px);
  }

  .header-contacts .contact-line {
    display: none;
  }

  .site-nav {
    align-items: center;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: center;
  }

  .split,
  .process-layout {
    grid-template-columns: 1fr;
  }

  .about-image,
  .about-image img {
    min-height: 380px;
  }

  .about-copy p {
    font-size: 21px;
    line-height: 1.5;
  }

  .cover-cta,
  .hero {
    background-attachment: scroll;
  }

  .portfolio-slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 760px) {
  .container,
  .header-shell,
  .site-nav,
  .footer-shell,
  .hero-inner {
    width: min(100% - 28px, var(--max));
  }

  .header-shell {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 22px 0 18px;
  }

  .header-contacts {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .menu-open .site-nav {
    display: flex;
  }

  .nav-title {
    font-size: 18px;
  }

  .nav-links {
    display: grid;
    width: 100%;
    gap: 12px;
    text-align: center;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-item {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 48px;
    align-self: auto;
  }

  .nav-parent-link {
    min-height: 0;
    padding-left: 48px !important;
  }

  .nav-dropdown-toggle {
    width: 48px;
    height: 100%;
    min-height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-item-has-dropdown + a {
    margin-left: 0;
  }

  .nav-dropdown {
    position: static;
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border-top: 0;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    transition: max-height 0.28s ease;
  }

  .nav-item-has-dropdown:not(.is-open) .nav-dropdown {
    max-height: 0;
    pointer-events: none;
    transform: none;
  }

  .nav-item-has-dropdown.is-open .nav-dropdown {
    max-height: 280px;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    display: block;
    min-height: 0;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 0;
    border-bottom: 0;
    font-size: 17px;
    white-space: normal;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 38px 0 62px;
  }

  .hero ul {
    font-size: 20px;
  }

  .hero-actions {
    display: block;
  }

  .metal-cards,
  .about-section,
  .services-section,
  .advantages-section {
    padding: 56px 0;
  }

  .metal-cards-compact {
    padding-bottom: 18px;
  }

  .metal-cards-compact .section-heading {
    margin-bottom: 0;
  }

  .metal-cards-compact + .about-section {
    padding-top: 20px;
  }

  .about-copy p {
    font-size: 19px;
    line-height: 1.5;
  }

  .metal-card-grid,
  .service-grid,
  .advantage-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: 0;
  }

  .advantage-card {
    grid-template-columns: 72px 1fr;
    padding: 22px;
  }

  .advantage-card img {
    width: 72px;
    height: 72px;
  }

  .process-overlay {
    padding: 62px 0;
  }

  .portfolio-section {
    padding: 14px 0 38px;
  }

  .portfolio-section .section-heading {
    margin-bottom: 14px;
  }

  .portfolio-controls {
    gap: 14px;
  }

  .portfolio-lightbox {
    padding: 0 18px;
  }

  .portfolio-lightbox-dialog {
    min-height: 100svh;
    padding: 72px 0 52px;
  }

  .portfolio-lightbox-close {
    top: 14px;
    left: 0;
  }

  .portfolio-project h3 {
    font-size: 38px;
  }

  .portfolio-project-copy > p {
    font-size: 20px;
  }

  .portfolio-project-media.has-image-overlay {
    min-height: 0;
  }

  .portfolio-project-media {
    height: 650px;
  }

  .portfolio-project-media.has-image-overlay img {
    height: 100%;
  }

  .portfolio-project-media.has-image-overlay .portfolio-project-media-button {
    height: 100%;
  }

  .portfolio-image-overlay {
    padding: 28px 24px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62));
  }

  .portfolio-image-overlay p {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.4;
  }

  .portfolio-project-copy ul {
    grid-template-columns: 1fr;
  }

  .portfolio-project-gallery {
    grid-template-columns: 1fr;
  }

  .portfolio-gallery .portfolio-gallery-slide {
    flex-basis: 100%;
  }

  .portfolio-gallery .portfolio-viewport {
    width: 100%;
  }

  .portfolio-lightbox-prev {
    left: 10px;
  }

  .portfolio-lightbox-next {
    right: 10px;
  }

  .portfolio-photo-viewer {
    padding: 16px;
  }

  .portfolio-photo-viewer-dialog {
    max-height: calc(100svh - 32px);
  }

  .portfolio-photo-viewer-stage img {
    max-height: calc(100svh - 132px);
  }

  .quote-section {
    padding: 58px 0 24px;
  }

  .modal-panel {
    padding: 38px 22px 24px;
  }

  .policy-modal {
    padding: 12px;
  }

  .policy-panel {
    max-height: calc(100svh - 24px);
  }

  .policy-header {
    gap: 12px;
    padding: 18px 18px 15px;
  }

  .policy-header h2 {
    font-size: 25px;
  }

  .policy-header p {
    font-size: 13px;
  }

  .policy-scroll {
    padding: 22px 20px 28px;
  }

  .policy-operator {
    margin-bottom: 24px;
    padding: 15px 16px;
    font-size: 15px;
  }

  .policy-section h3 {
    font-size: 20px;
  }

  .policy-section p,
  .policy-section li {
    font-size: 15px;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 230px;
    transform: translate(12px, 5px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-kicker {
    font-size: 22px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
  }

  .engineer-phone-btn {
    min-height: 66px;
    font-size: 27px;
  }

  .portfolio-arrow {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }

  .portfolio-dots {
    gap: 8px;
  }

  .portfolio-slide {
    flex-basis: 100%;
  }

  .portfolio-card-body {
    min-height: 132px;
  }

  .portfolio-project h3 {
    font-size: 31px;
  }

  .portfolio-project-meta {
    margin-bottom: 22px;
  }

  .portfolio-project-copy {
    padding-top: 2px;
  }

  .portfolio-project-copy > p {
    font-size: 18px;
  }

  .portfolio-lightbox-arrow {
    width: 46px;
    height: 46px;
    font-size: 36px;
  }

  .portfolio-photo-viewer {
    padding: 10px;
  }

  .portfolio-photo-viewer-close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .portfolio-photo-viewer-controls {
    min-height: 50px;
    margin-top: 12px;
    gap: 16px;
  }

  .portfolio-photo-viewer-arrow {
    width: 46px;
    height: 46px;
    font-size: 35px;
  }

  .footer-phone {
    font-size: 18px;
    transform: translateX(18px);
  }

  .advantage-card {
    grid-template-columns: 1fr;
  }

  .to-top {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
  }
}
