/* Cube Art — металлообработка landing
   THESIS: услуга → возможность → доказательство → расчёт по чертежу; не корпоративный каталог.
   OWN-WORLD: светлый цех + графит + стальной бирюзовый акцент; линии чертежа; крупная промышленная типографика Barlow Condensed.
   STORY: посетитель видит операции, понимает что можно изготовить, отправляет чертёж.
   FIRST VIEWPORT: full-bleed производство, бренд + H1 + маркеры + два CTA снизу слева.
   FORM: современное технологичное производство (ТЗ §26), не «тяжёлая промышленность».
   FINISH: unreviewed and undocumented is unfinished; this build ends with the finish review, the verdict, and DESIGN.md
*/

:root {
  --bg: #f3f4f6;
  --bg-elevated: #ffffff;
  --graphite: #171a1f;
  --graphite-mid: #2a3038;
  --steel: #5c6672;
  --steel-soft: #8a939e;
  --line: #d5dae2;
  --line-strong: #b8c0cb;
  --accent: #0d7c8c;
  --accent-deep: #0a5f6b;
  --accent-soft: #e6f4f6;
  --ok: #1f7a4c;
  --err: #b42318;
  --shadow: 0 18px 50px rgba(23, 26, 31, 0.12);
  --radius: 4px;
  --header-h: 72px;
  --mobile-cta-h: 76px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--graphite);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-mobile-cta {
  padding-bottom: var(--mobile-cta-h);
}

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

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

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

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

.section {
  padding: 88px 0;
  position: relative;
}

.section--tight {
  padding: 56px 0;
}

.section--graphite {
  background: var(--graphite);
  color: #f2f4f6;
}

.section--graphite .section-kicker,
.section--graphite .muted {
  color: rgba(242, 244, 246, 0.72);
}

.section--graphite .section-lead {
  color: rgba(242, 244, 246, 0.78);
}

.section--graphite .form-side-note {
  border-left-color: #7ec8d2;
  margin-top: 28px;
}

.section--graphite .form-side-note strong {
  color: #fff;
}

.section--graphite .form-side-note li {
  color: rgba(242, 244, 246, 0.82);
}

.section--graphite .form-side-note li::before {
  background: #7ec8d2;
}

.mid-cta {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: end;
}

.mid-cta-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mid-cta-list li {
  position: relative;
  padding-left: 16px;
  color: rgba(242, 244, 246, 0.82);
  font-size: 0.95rem;
}

.mid-cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: #7ec8d2;
}

.mid-cta-actions {
  flex-direction: column;
  align-items: stretch;
  min-width: 220px;
}

.img-focus-top {
  object-position: center 28%;
}

.img-focus-left {
  object-position: 20% center;
}

.mobile-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-cta .btn--outline {
  background: #fff;
  border-color: var(--line-strong);
}

.section--photo {
  padding: 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}

.section-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--steel);
  font-size: 1.05rem;
}

.muted {
  color: var(--steel);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(243, 244, 246, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 1;
  text-decoration: none;
  color: inherit;
}

.logo__mark {
  flex-shrink: 0;
  line-height: 0;
}

.logo__mark img {
  display: block;
  height: 52px;
  width: auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.logo__name {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--graphite);
  white-space: nowrap;
}

.logo__tagline {
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--steel);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite-mid);
  transition: color 0.2s;
}

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

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

.header-phone {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.burger:hover {
  background: rgba(23, 26, 31, 0.06);
}

.burger-lines {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.burger-lines span {
  position: absolute;
  left: 0;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--graphite);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease, top 0.25s var(--ease);
}

.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 6px; }
.burger-lines span:nth-child(3) { top: 12px; }

.site-header.is-nav-open .burger-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.site-header.is-nav-open .burger-lines span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .burger-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-mobile-actions {
  display: none;
}

.nav-backdrop {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}

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

.btn:active {
  transform: translateY(0);
}

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

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

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

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

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--graphite);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--light {
  background: #fff;
  color: var(--graphite);
}

.btn--light:hover {
  background: var(--accent-soft);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: 48px 0 56px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(12, 14, 18, 0.94) 0%, rgba(12, 14, 18, 0.82) 38%, rgba(12, 14, 18, 0.45) 62%, rgba(12, 14, 18, 0.28) 100%),
    linear-gradient(to top, rgba(12, 14, 18, 0.55) 0%, transparent 35%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 380px);
  gap: 40px;
  align-items: center;
  width: min(100% - 40px, var(--container));
}

.hero-copy {
  max-width: 620px;
  padding: 8px 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  margin: 0 0 20px;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.45;
}

.hero-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hero-markers li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}

.hero-note {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.hero-magnet {
  position: relative;
  z-index: 1;
}

.hero-form {
  background: #fff;
  color: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 24px 22px 22px;
  border-radius: var(--radius);
}

.hero-form-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-form-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.hero-form-lead {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--steel);
  line-height: 1.4;
}

.hero-form-fields {
  display: grid;
  gap: 12px;
}

.hero-form .form-field label:not(.file-drop) {
  font-size: 12px;
}

.hero-form .form-field input {
  min-height: 44px;
}

.file-drop--compact {
  padding: 14px 12px;
  text-align: left;
}

.file-drop--compact strong {
  font-size: 14px;
}

.file-drop--compact span,
.file-drop--compact .file-name {
  font-size: 12px;
}

.hero-form .form-consent {
  margin: 12px 0;
  font-size: 12px;
}

.hero-form-trust {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--steel-soft);
}

.hero-form .form-field.is-invalid .file-drop {
  border-color: var(--err);
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}

.adv-card {
  background: var(--bg-elevated);
  padding: 28px 24px;
}

.adv-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.adv-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}

.adv-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--graphite-mid);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
  flex: 1;
}

.services-cta {
  margin-top: 36px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--accent-soft);
  border: 1px solid #c5e4e8;
}

.services-cta h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.services-cta p {
  margin: 0;
  color: var(--steel);
}

/* Forms */
.form-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
  margin-top: 36px;
}

.form-side-note {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  margin-top: 28px;
}

.form-side-note ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.form-side-note li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  color: var(--steel);
  font-size: 0.95rem;
}

.form-side-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.calc-form,
.lead-form {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.section--graphite .calc-form,
.section--graphite .lead-form {
  background: #fff;
  color: var(--graphite);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--graphite);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 124, 140, 0.15);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: var(--err);
}

.field-error {
  display: none;
  color: var(--err);
  font-size: 12px;
}

.form-field.is-invalid .field-error {
  display: block;
}

.file-drop {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--bg);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.file-drop input {
  display: none;
}

.file-drop strong {
  display: block;
  margin-bottom: 4px;
}

.file-drop span,
.file-name {
  font-size: 13px;
  color: var(--steel);
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--steel);
  margin: 14px 0;
}

.form-consent input {
  margin-top: 3px;
}

.form-consent a {
  color: var(--accent);
  text-decoration: underline;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  background: #e8f6ee;
  color: var(--ok);
}

.form-status--err {
  background: #fdeceb;
  color: var(--err);
}

.form-status--pending {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.cap-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 14px;
}

.cap-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cap-card li {
  padding-left: 18px;
  position: relative;
  color: rgba(242, 244, 246, 0.78);
}

.cap-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 2px;
}

.specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.spec-chip {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 124, 140, 0.12);
}

.spec-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.spec-chip span {
  font-size: 13px;
  color: rgba(242, 244, 246, 0.65);
}

.disclaimer {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(242, 244, 246, 0.5);
}

.cap-card--light {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.cap-card--light h3 {
  color: var(--graphite);
}

.cap-card--light li {
  color: var(--steel);
}

.spec-chip--light {
  background: var(--accent-soft);
  border: 1px solid #c5e4e8;
  color: var(--graphite);
}

.spec-chip--light span {
  color: var(--steel);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eaee;
}

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

.product-card__body {
  padding: 16px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--steel);
}

.product-ops {
  margin: 0;
  font-size: 13px;
  color: var(--steel);
}

/* Aluminum */
.alum-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-top: 36px;
}

.alum-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.alum-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.alum-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.alum-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.alum-pin::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 124, 140, 0.35);
}

.alum-pin--1 { top: 18%; left: 12%; }
.alum-pin--2 { top: 42%; left: 48%; }
.alum-pin--3 { top: 62%; left: 28%; }
.alum-pin--4 { bottom: 18%; right: 14%; }

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.flow-step:not(:last-child)::after {
  content: "→";
  color: var(--accent);
  margin-left: 2px;
}

/* Structures process */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 22px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  min-height: 140px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--steel);
}

/* Equipment */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.equip-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.equip-card__media {
  aspect-ratio: 4 / 3;
  background: #111;
}

.equip-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.equip-card__body {
  padding: 16px;
}

.equip-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.equip-card .role {
  font-size: 13px;
  color: rgba(242, 244, 246, 0.55);
  margin: 0 0 10px;
}

.equip-card .does {
  margin: 0;
  font-size: 14px;
  color: #d7ecef;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

/* Works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.work-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
}

.work-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__body {
  padding: 18px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.work-dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px 10px;
  margin: 0;
  font-size: 14px;
}

.work-dl dt {
  color: var(--steel-soft);
}

.work-dl dd {
  margin: 0;
}

.synthetic-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--steel-soft);
}

/* How we work */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.how-item {
  padding: 24px;
  background: var(--bg-elevated);
  border-top: 3px solid var(--accent);
  border: 1px solid var(--line);
  border-top-width: 3px;
  border-top-color: var(--accent);
}

.how-item .n {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.how-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.how-item p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}

/* Quality */
.quality-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.quality-item {
  padding: 20px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  min-height: 120px;
}

.quality-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.quality-item span {
  font-size: 0.9rem;
  color: var(--steel);
}

/* Lead form section */
.lead-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}

/* FAQ */
.faq-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--steel);
  max-width: 70ch;
}

/* Final CTA */
.final-cta {
  padding: 96px 0;
  background:
    linear-gradient(120deg, rgba(17, 20, 24, 0.88), rgba(13, 124, 140, 0.55)),
    url("../assets/images/steel-frame.jpg") center / cover;
  color: #fff;
  text-align: center;
}

.final-cta .section-title {
  max-width: 18ch;
  margin-inline: auto;
}

.final-cta .section-lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.8);
}

.final-cta .btn-row {
  justify-content: center;
  margin-top: 28px;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  margin-top: 32px;
}

.contact-card {
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.contact-lines {
  display: grid;
  gap: 12px;
}

.contact-lines a {
  color: var(--accent);
  font-weight: 600;
}

.contact-lines p {
  margin: 0;
  color: var(--steel);
}

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--steel);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mobile-cta .btn {
  width: 100%;
  min-height: 46px;
  padding: 0 10px;
  font-size: 14px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card__media img,
  .btn {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .logo__tagline {
    display: none;
  }
}

@media (max-width: 1100px) {
  .services-grid,
  .equip-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .header-phone {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    background: rgba(17, 20, 24, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
    z-index: 90;
  }

  .site-header.is-nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(23, 26, 31, 0.12);
    padding: 8px 0 20px;
    z-index: 95;
  }

  .nav.is-open > a {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 0;
    color: var(--graphite);
  }

  .nav.is-open > a:hover {
    background: var(--bg);
    color: var(--accent);
  }

  .nav-mobile-actions {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 16px 20px 0;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-phone {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--graphite);
    text-align: center;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: auto;
    align-items: stretch;
    padding: 28px 0 36px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .hero-magnet {
    max-width: 440px;
  }

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

  .form-panel,
  .alum-layout,
  .lead-layout,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .specs-row {
    grid-template-columns: 1fr;
  }

  .mid-cta {
    grid-template-columns: 1fr;
  }

  .mid-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .mobile-cta {
    display: block;
  }

  body.has-mobile-cta {
    padding-bottom: var(--mobile-cta-h);
  }

  body.nav-locked {
    overflow: hidden;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 20px 0 28px;
  }

  .hero-shell {
    width: min(100% - 28px, var(--container));
  }

  .logo__mark img {
    height: 40px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .adv-grid,
  .services-grid,
  .cap-grid,
  .products-grid,
  .equip-grid,
  .works-grid,
  .how-grid,
  .quality-list,
  .process-track,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .calc-form,
  .lead-form {
    padding: 20px;
  }

  .header-actions .header-cta {
    display: none;
  }
}

/* Lead result modal */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 31, 0.62);
  backdrop-filter: blur(6px);
}

.lead-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 36px 32px 28px;
  outline: none;
}

.lead-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--steel);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal__close:hover {
  color: var(--graphite);
}

.lead-modal__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead-modal--err .lead-modal__kicker {
  color: var(--err);
}

.lead-modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

.lead-modal__text {
  margin: 0 0 24px;
  color: var(--steel);
  font-size: 1.02rem;
}

.lead-modal--ok .lead-modal__title {
  color: var(--graphite);
}

.lead-modal--err .lead-modal__title {
  color: var(--err);
}

body.modal-locked {
  overflow: hidden;
}

/* Cookie notice (nominal, does not block analytics) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 92;
  padding: 14px 0;
  background: rgba(18, 24, 31, 0.96);
  color: #f4f7fa;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

body.has-mobile-cta .cookie-banner {
  bottom: var(--mobile-cta-h);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(244, 247, 250, 0.92);
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__btn {
  flex: 0 0 auto;
  min-width: 120px;
}

/* Legal / privacy page */
.legal-page {
  padding: 120px 0 72px;
}

.legal-content {
  max-width: 760px;
  margin-top: 28px;
  color: var(--steel);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-content p + p {
  margin-top: 18px;
}

.legal-content a {
  color: var(--accent);
}

.legal-back {
  margin-top: 36px;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

.header__contacts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}