/* ==========================================================================
   Уральская Трубная Индустрия - main styles
   Palette: deep ink navy, warm bone paper, steel, muted brass
   ========================================================================== */

:root {
  --ink-950: #050a10;
  --ink-900: #08111c;
  --ink-850: #0a1420;
  --ink-800: #0e1b28;
  --ink-700: #142534;
  --navy: #10263a;

  --steel-800: #2c3a47;
  --steel-700: #4d5c69;
  --steel-600: #647380;
  --steel-500: #7e8c98;
  --steel-400: #9aa7b2;
  --steel-300: #bec8d0;
  --steel-200: #dce2e7;
  --steel-100: #e9edf1;

  --paper: #f4f2ec;
  --paper-2: #ece9e1;
  --paper-3: #e3dfd5;
  --white: #ffffff;

  --brass: #c6a266;
  --brass-bright: #e3c68f;
  --brass-dark: #9a783f;

  --ink: var(--ink-900);
  --line: rgba(8, 17, 28, 0.13);
  --line-soft: rgba(8, 17, 28, 0.08);
  --line-light: rgba(255, 255, 255, 0.13);
  --line-light-soft: rgba(255, 255, 255, 0.07);

  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1440px;
  --header-h: 84px;
  --radius: 3px;

  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 80px rgba(8, 17, 28, 0.09);
  --shadow-card: 0 20px 50px rgba(8, 17, 28, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--steel-400) var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

::selection {
  background: var(--brass);
  color: var(--ink-950);
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--brass);
  color: var(--ink-950);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

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

/* subtle paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 144px);
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 104px);
}

.section--paper {
  background: var(--paper);
}

.section--paper-2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink-900);
  color: var(--paper);
}

.section--dark ::selection {
  background: var(--brass);
  color: var(--ink-950);
}

.section--flush-top {
  padding-top: 0;
}

.section--flush-bottom {
  padding-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--line);
}

.divider--light {
  background: var(--line-light);
}

/* ---------- Typography ---------- */
.display {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 6.1vw, 92px);
}

h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.03;
}

h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}

h4 {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.25;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.serif--brass {
  color: var(--brass);
}

.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--steel-700);
  max-width: 62ch;
}

.section--dark .lead {
  color: var(--steel-300);
}

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

.text-brass {
  color: var(--brass);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--steel-600);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
  flex: none;
}

.eyebrow--light {
  color: var(--steel-300);
}

.eyebrow--light::before {
  background: var(--brass);
}

.eyebrow--plain::before {
  display: none;
}

.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--steel-500);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-26px);
}

.reveal--left.is-in {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.97);
}

.reveal--scale.is-in {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

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

.btn:hover svg {
  transform: translate(2px, -2px);
}

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

.btn--brass {
  --btn-bg: var(--brass);
  --btn-fg: var(--ink-950);
  --btn-bd: var(--brass);
}

.btn--brass:hover {
  --btn-bg: var(--brass-bright);
  --btn-bd: var(--brass-bright);
}

.btn--dark {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink-900);
}

.btn--dark:hover {
  --btn-bg: var(--ink-700);
  --btn-bd: var(--ink-700);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  --btn-bd: rgba(8, 17, 28, 0.24);
}

.btn--ghost:hover {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink-900);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: rgba(255, 255, 255, 0.26);
}

.btn--ghost-light:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink-900);
  --btn-bd: var(--paper);
}

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

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 0.11em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--brass-dark);
  border-color: var(--brass);
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

.text-link--light {
  border-color: rgba(255, 255, 255, 0.22);
}

.text-link--light:hover {
  color: var(--brass-bright);
  border-color: var(--brass);
}

/* ---------- Top bar ---------- */
.topbar {
  position: relative;
  z-index: 110;
  background: var(--ink-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--steel-400);
  font-size: 13px;
  letter-spacing: 0.035em;
}

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

.topbar__group {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar__item svg {
  width: 12px;
  height: 12px;
  opacity: 0.66;
}

.topbar a {
  transition: color 0.2s var(--ease);
}

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

.topbar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}

.topbar__status {
  color: var(--steel-300);
}

.topbar__status strong {
  color: var(--brass-bright);
  font-weight: 600;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(8, 17, 28, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--paper);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header.is-scrolled {
  background: rgba(5, 10, 16, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
  transition: min-height 0.35s var(--ease);
}

.header.is-scrolled .header__inner {
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
  color: var(--paper);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--paper);
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(90deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand__name--accent {
  color: var(--brass);
}

.brand__tag {
  margin-top: 2px;
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__item--mega {
  position: static;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  color: rgba(244, 247, 249, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav__link svg {
  width: 9px;
  height: 9px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__item.is-active .nav__link {
  color: var(--paper);
}

.nav__item.is-active .nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--brass);
}

.nav__item--mega.is-mega-open > .nav__link svg {
  transform: rotate(180deg);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.header__phone {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: right;
}

.header__phone span {
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.header__phone strong {
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header__phone:hover strong {
  color: var(--brass-bright);
}

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  background: rgba(8, 17, 28, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
    visibility 0.28s var(--ease);
}

.nav__item--mega.is-mega-open .mega {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  padding-block: 38px 42px;
}

.mega__label {
  margin-bottom: 20px;
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
}

.mega__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  transition: color 0.2s var(--ease);
}

.mega__link span {
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  flex: none;
}

.mega__link strong {
  display: block;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}

.mega__link small {
  display: block;
  margin-top: 3px;
  color: var(--steel-500);
  font-size: 13px;
  line-height: 1.4;
}

.mega__link:hover strong {
  color: var(--brass-bright);
}

.mega__promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink-800);
}

.mega__promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.48) contrast(1.08);
  transition: transform 0.7s var(--ease);
}

.mega__promo:hover img {
  transform: scale(1.04);
}

.mega__promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 28, 0.05), rgba(8, 17, 28, 0.88));
}

.mega__promo > div {
  position: relative;
  z-index: 1;
}

.mega__promo .label {
  color: var(--brass);
  margin-bottom: 8px;
}

.mega__promo strong {
  display: block;
  max-width: 260px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mega__promo span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--brass-bright);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mega__promo span svg {
  width: 13px;
  height: 13px;
}

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  flex: none;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease),
    top 0.35s var(--ease);
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 26px;
}

.burger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

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

.burger.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brass);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--ink-950);
  color: var(--paper);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
}

.mobile-menu__close svg {
  width: 16px;
  height: 16px;
}

.mobile-menu__body {
  flex: 1;
  padding: 26px var(--gutter) 32px;
}

.mobile-nav__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--paper);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.mobile-nav__link small {
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.mobile-nav__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 0 18px;
}

.mobile-nav__sub a {
  color: var(--steel-300);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.mobile-nav__sub a:hover {
  color: var(--brass-bright);
}

.mobile-menu__footer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__phone {
  display: block;
  margin-bottom: 6px;
  color: var(--paper);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mobile-menu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 16px;
  color: var(--steel-400);
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 76% 34%, rgba(46, 71, 92, 0.5), transparent 46%),
    radial-gradient(ellipse at 8% 92%, rgba(198, 162, 102, 0.08), transparent 38%),
    linear-gradient(112deg, #050a10 0%, #08111c 48%, #0c1a26 100%);
  color: var(--paper);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(ellipse at 65% 45%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 65% 45%, #000 0%, transparent 72%);
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 16, 0.72));
}

.hero__art {
  position: absolute;
  z-index: 0;
  top: -7%;
  right: -14%;
  width: min(78vw, 1120px);
  height: auto;
  opacity: 0.92;
  filter: saturate(0.9) contrast(1.03);
  -webkit-mask-image: radial-gradient(ellipse at 48% 45%, #000 35%, transparent 72%);
  mask-image: radial-gradient(ellipse at 48% 45%, #000 35%, transparent 72%);
  will-change: transform;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(70px, 9vh, 120px);
  padding-bottom: clamp(44px, 6vh, 80px);
}

.hero__content {
  max-width: 920px;
}

.hero__eyebrow {
  margin-bottom: clamp(20px, 3vh, 34px);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.12s forwards;
}

.hero__title {
  max-width: 980px;
  font-size: clamp(50px, 7.4vw, 118px);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.93;
  color: var(--paper);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line > span {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1.05s var(--ease-out) forwards;
}

.hero__title .line:nth-child(1) > span {
  animation-delay: 0.18s;
}

.hero__title .line:nth-child(2) > span {
  animation-delay: 0.3s;
}

.hero__title .line:nth-child(3) > span {
  animation-delay: 0.42s;
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brass-bright);
}

.hero__lead {
  max-width: 540px;
  margin-top: clamp(22px, 3.2vh, 34px);
  color: rgba(222, 230, 236, 0.82);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.62s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 4vh, 40px);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.76s forwards;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(30px, 4.5vh, 46px);
  color: var(--steel-300);
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.9s forwards;
}

.hero__note-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero__note-item svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--brass);
}

.hero__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}

.hero__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}

.hero__badge {
  position: absolute;
  right: var(--gutter);
  bottom: 20%;
  z-index: 3;
  display: none;
  width: 178px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 17, 28, 0.48);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.05s forwards;
}

.hero__badge::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 1px;
  background: var(--brass);
}

.hero__badge .label {
  color: var(--brass-bright);
  margin-bottom: 8px;
}

.hero__badge strong {
  display: block;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero__badge small {
  display: block;
  margin-top: 5px;
  color: var(--steel-400);
  font-size: 12px;
  line-height: 1.4;
}

.hero__stats {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 10, 16, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 22px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stat strong {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.hero__stat strong span {
  color: var(--brass);
}

.hero__stat small {
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  70%,
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink-950);
  color: var(--steel-300);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 23px 34px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
  flex: none;
}

.marquee__item:hover {
  color: var(--brass-bright);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section headings ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: clamp(28px, 5vw, 90px);
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head__title {
  margin-top: 18px;
}

.section-head__aside {
  padding-bottom: 8px;
}

.section-head__aside .lead {
  max-width: 48ch;
}

.section-head--center {
  display: block;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.section-head--center .lead {
  margin: 20px auto 0;
}

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

.section-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.section-counter b {
  color: var(--brass);
  font-weight: 500;
}

/* ---------- Intro / about split ---------- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.about-split__media {
  position: relative;
  padding: 0 0 34px 34px;
}

.about-split__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-800);
}

.about-split__frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.about-split__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.66) contrast(1.08);
  transform: scale(1.02);
  transition: transform 1.1s var(--ease), filter 0.8s var(--ease);
}

.about-split__frame:hover img {
  transform: scale(1.06);
  filter: grayscale(0.55) brightness(0.7) contrast(1.05);
}

.about-split__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 17, 28, 0.12), rgba(8, 17, 28, 0.82)),
    linear-gradient(120deg, rgba(11, 31, 48, 0.5), transparent 55%);
}

.about-split__caption {
  position: absolute;
  left: 34px;
  right: 52px;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 2px solid var(--brass);
  background: rgba(8, 17, 28, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--paper);
}

.about-split__caption .label {
  color: var(--brass);
}

.about-split__caption strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.about-split__caption .mono {
  color: var(--steel-300);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.about-split__stamp {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--paper);
  transform: translate(-28%, -22%);
}

.about-split__stamp strong {
  color: var(--brass);
  font-family: var(--font-serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
  line-height: 0.9;
}

.about-split__stamp span {
  margin-top: 4px;
  color: var(--steel-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.about-split__body .eyebrow {
  margin-bottom: 18px;
}

.about-split__body h2 {
  max-width: 640px;
}

.about-split__body .lead {
  margin-top: 26px;
}

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

.about-features {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.about-feature {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.about-feature svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--brass-dark);
}

.about-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.about-feature span {
  display: block;
  margin-top: 1px;
  color: var(--steel-600);
  font-size: 13px;
  line-height: 1.5;
}

.about-split__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

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

.about-signature svg {
  width: 32px;
  height: 32px;
  color: var(--brass-dark);
}

.about-signature span {
  color: var(--steel-600);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Big stats row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row__item {
  padding: 30px 28px 30px 0;
  border-left: 1px solid var(--line);
}

.stat-row__item:first-child {
  border-left: 0;
}

.stat-row__item:not(:first-child) {
  padding-left: 28px;
}

.stat-row__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat-row__value em {
  color: var(--brass-dark);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.stat-row__label {
  margin-top: 9px;
  color: var(--steel-600);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.section--dark .stat-row {
  border-color: var(--line-light);
}

.section--dark .stat-row__item {
  border-color: var(--line-light);
}

.section--dark .stat-row__value {
  color: var(--paper);
}

.section--dark .stat-row__label {
  color: var(--steel-400);
}

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(8, 17, 28, 0.1);
  background: var(--ink-800);
  color: var(--paper);
  isolation: isolate;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.product-card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) brightness(0.56) contrast(1.08);
  transform: scale(1.02);
  transition: transform 0.9s var(--ease), filter 0.7s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 10, 16, 0.12) 0%, rgba(5, 10, 16, 0.36) 42%, rgba(5, 10, 16, 0.92) 100%),
    linear-gradient(100deg, rgba(8, 17, 28, 0.3), transparent 70%);
  transition: opacity 0.35s var(--ease);
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.45s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 162, 102, 0.5);
  box-shadow: 0 24px 48px rgba(5, 10, 16, 0.16);
}

.product-card:hover::after {
  width: 100%;
}

.product-card:hover .product-card__media {
  transform: scale(1.075);
  filter: grayscale(0.35) brightness(0.66) contrast(1.05);
}

.product-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 560px;
  padding: clamp(26px, 3vw, 42px);
  background: var(--ink-950);
}

.product-card--feature .product-card__media {
  object-fit: cover;
  object-position: 58% 52%;
  filter: saturate(0.7) brightness(0.82) contrast(1.03);
  opacity: 0.78;
}

.product-card--feature::before {
  background:
    linear-gradient(180deg, rgba(5, 10, 16, 0.24), rgba(5, 10, 16, 0.18) 34%, rgba(5, 10, 16, 0.94) 100%),
    radial-gradient(ellipse at 80% 20%, transparent 0 30%, rgba(5, 10, 16, 0.35) 70%);
}

.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: auto;
}

.product-card__index {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.product-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.product-card__icon svg {
  width: 22px;
  height: 22px;
}

.product-card:hover .product-card__icon {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink-950);
}

.product-card__body {
  position: relative;
  margin-top: 44px;
}

.product-card__kicker {
  margin-bottom: 8px;
  color: var(--brass-bright);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.product-card--feature h3 {
  max-width: 430px;
  font-size: clamp(34px, 4.1vw, 58px);
  letter-spacing: -0.045em;
}

.product-card__desc {
  max-width: 380px;
  margin-top: 12px;
  color: rgba(231, 236, 240, 0.7);
  font-size: 13.5px;
  line-height: 1.6;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.product-card__tags span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(231, 236, 240, 0.72);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.product-card__price {
  color: rgba(231, 236, 240, 0.7);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.product-card__price strong {
  display: block;
  margin-top: 2px;
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.product-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--paper);
  flex: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-card__arrow svg {
  width: 13px;
  height: 13px;
}

.product-card:hover .product-card__arrow {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink-950);
  transform: translate(2px, -2px);
}

.products-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--steel-600);
  font-size: 13px;
}

.products-footnote strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Advantages ---------- */
.advantages {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.advantages__sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.advantages__sticky .lead {
  margin-top: 22px;
}

.advantages__sticky .btn {
  margin-top: 30px;
}

.advantages__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-light);
}

.advantage {
  padding: 26px 28px 28px 0;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.3s var(--ease);
}

.advantage:nth-child(odd) {
  border-right: 1px solid var(--line-light);
}

.advantage:nth-child(even) {
  padding-left: 28px;
}

.advantage:hover {
  background: rgba(255, 255, 255, 0.025);
}

.advantage__num {
  display: block;
  margin-bottom: 40px;
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.advantage h3 {
  color: var(--paper);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.advantage p {
  margin-top: 9px;
  color: var(--steel-400);
  font-size: 13.5px;
  line-height: 1.65;
}

.section--dark .advantages__sticky h2 {
  color: var(--paper);
}

/* ---------- Calculator ---------- */
.calculator-section {
  overflow: hidden;
}

.calculator-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -18%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(198, 162, 102, 0.12), transparent 65%);
  pointer-events: none;
}

.calculator-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.calculator-intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.calculator-intro h2 {
  margin-top: 18px;
}

.calculator-intro .lead {
  margin-top: 22px;
}

.calculator-perks {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.calculator-perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--steel-700);
  font-size: 13px;
  line-height: 1.5;
}

.calculator-perk svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--brass-dark);
  flex: none;
}

.calculator {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.calculator__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.calculator__head .label {
  color: var(--steel-600);
}

.calculator__head strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.calculator__head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--brass-dark);
  flex: none;
}

.calculator__head-icon svg {
  width: 22px;
  height: 22px;
}

.calculator__body {
  padding: 24px 26px 26px;
}

.calc-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 22px;
}

.calc-type {
  min-height: 48px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--steel-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.calc-type:hover {
  border-color: var(--steel-300);
  color: var(--ink);
}

.calc-type.is-active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper);
}

.calc-fields {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--steel-600);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.field__label output {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2308111c' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(198, 162, 102, 0.12);
}

.field textarea {
  min-height: 110px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

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

.calc-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed rgba(8, 17, 28, 0.17);
  background: rgba(244, 242, 236, 0.6);
}

.calc-visual__ring {
  position: relative;
  width: 58px;
  height: 58px;
  flex: none;
}

.calc-visual__ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.calc-visual__ring .ring-wall {
  transition: stroke-width 0.35s var(--ease);
}

.calc-visual__meta {
  flex: 1;
  min-width: 0;
}

.calc-visual__meta span {
  display: block;
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.calc-visual__meta strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.calc-visual__length {
  color: var(--steel-600);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: right;
  white-space: nowrap;
}

.calculator__result {
  position: relative;
  margin: 22px -26px -26px;
  padding: 24px 26px 26px;
  overflow: hidden;
  background: var(--ink-900);
  color: var(--paper);
}

.calculator__result::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(198, 162, 102, 0.22), transparent 65%);
  pointer-events: none;
}

.calculator__result .label {
  color: var(--steel-400);
}

.calc-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
  color: var(--paper);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.calc-total small {
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.calc-breakdown div {
  min-width: 0;
}

.calc-breakdown span {
  display: block;
  color: var(--steel-400);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.calc-breakdown strong {
  display: block;
  margin-top: 4px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.calc-discount {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--brass-bright);
  font-size: 12px;
  line-height: 1.4;
}

.calc-discount::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brass);
  transform: rotate(45deg);
}

.calculator__result .btn {
  margin-top: 18px;
}

.calc-disclaimer {
  margin-top: 14px;
  color: var(--steel-400);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 530px;
  overflow: hidden;
  background: var(--ink-800);
  color: var(--paper);
  isolation: isolate;
}

.project-card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) brightness(0.6) contrast(1.06);
  transform: scale(1.02);
  transition: transform 1s var(--ease), filter 0.7s var(--ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 10, 16, 0.1) 0%, rgba(5, 10, 16, 0.24) 38%, rgba(5, 10, 16, 0.92) 100%);
}

.project-card:hover .project-card__media {
  transform: scale(1.07);
  filter: grayscale(0.3) brightness(0.66) contrast(1.04);
}

.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: auto;
  padding: 22px 22px 0;
}

.project-card__tag {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-card__year {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.project-card__body {
  padding: 26px 22px 24px;
}

.project-card__metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--brass-bright);
  font-family: var(--font-serif);
  font-size: 48px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.project-card__metric span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 300px;
  color: var(--paper);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.project-card p {
  max-width: 320px;
  margin-top: 10px;
  color: rgba(231, 236, 240, 0.76);
  font-size: 13.5px;
  line-height: 1.6;
}

.project-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.project-card__foot svg {
  width: 14px;
  height: 14px;
  color: var(--brass-bright);
}

.projects-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

/* ---------- Geography / delivery ---------- */
.geo {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.geo__content h2 {
  margin-top: 18px;
}

.geo__content .lead {
  margin-top: 20px;
}

.branches {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line-light);
}

.branch {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.25s var(--ease);
}

.branch:hover {
  background: rgba(255, 255, 255, 0.025);
}

.branch__city {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.branch__city::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
  flex: none;
}

.branch__role {
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.branch__address {
  grid-column: 1 / -1;
  color: var(--steel-500);
  font-size: 13.5px;
  line-height: 1.5;
  padding-left: 15px;
}

.branch__link {
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.branch__link:hover {
  color: var(--brass-bright);
}

.geo__visual {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.02);
}

.geo__visual::before,
.geo__visual::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--brass);
  border-style: solid;
  pointer-events: none;
}

.geo__visual::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.geo__visual::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.geo__visual img {
  width: 100%;
  height: auto;
}

.geo__visual-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.geo__visual-caption strong {
  color: var(--brass);
  font-weight: 500;
}

.delivery-terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.delivery-term {
  padding: 18px 16px 18px 0;
  border-left: 1px solid var(--line-light);
}

.delivery-term:first-child {
  border-left: 0;
  padding-left: 0;
}

.delivery-term:not(:first-child) {
  padding-left: 16px;
}

.delivery-term strong {
  display: block;
  color: var(--paper);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.delivery-term span {
  display: block;
  margin-top: 4px;
  color: var(--steel-500);
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- Reviews slider ---------- */
.reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.reviews__intro h2 {
  margin-top: 18px;
}

.reviews__rating {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.rating-score {
  color: var(--ink);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.rating-score small {
  color: var(--steel-500);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.rating-meta {
  display: grid;
  gap: 5px;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--brass-dark);
}

.stars svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.rating-meta span {
  color: var(--steel-600);
  font-size: 12px;
  line-height: 1.4;
}

.reviews__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}

.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.slider-btn svg {
  width: 15px;
  height: 15px;
}

.slider-btn:hover {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--paper);
}

.slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider-btn:disabled:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.reviews__slider {
  position: relative;
  min-width: 0;
}

.reviews__viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.reviews__track {
  display: flex;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.review-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
}

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

.review-slide__quote-mark {
  color: var(--brass);
  font-family: var(--font-serif);
  font-size: 72px;
  font-style: italic;
  font-weight: 500;
  line-height: 0.55;
  height: 34px;
}

.review-slide__tag {
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-slide blockquote {
  max-width: 640px;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.review-slide blockquote em {
  font-family: var(--font-serif);
  font-size: 1.1em;
  color: var(--brass-dark);
}

.review-slide__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198, 162, 102, 0.5);
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--brass-bright);
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  flex: none;
}

.review-slide__author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.review-slide__author > div span {
  display: block;
  margin-top: 2px;
  color: var(--steel-600);
  font-size: 12.5px;
  line-height: 1.4;
}

.reviews__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.slider-dots {
  display: flex;
  gap: 7px;
}

.slider-dot {
  width: 22px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(8, 17, 28, 0.18);
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}

.slider-dot.is-active {
  width: 44px;
  background: var(--brass-dark);
}

.slider-count {
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.slider-count strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Team preview ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.person-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.person-card:hover {
  border-color: rgba(198, 162, 102, 0.55);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.person-card__portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(198, 162, 102, 0.2), transparent 46%),
    radial-gradient(circle at 22% 80%, rgba(65, 99, 126, 0.4), transparent 52%),
    linear-gradient(145deg, #0d1b28, #060c12);
  color: var(--brass-bright);
}

.person-card__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}

.person-card__initials {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(64px, 7vw, 94px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.8;
  transform: translateY(2px);
}

.person-card__portrait::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(198, 162, 102, 0.38);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.person-card__portrait.person-card__portrait--photo {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.person-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04) brightness(0.88);
}

.person-card__portrait--photo::before {
  z-index: 1;
  background-image: linear-gradient(
    180deg,
    rgba(5, 11, 17, 0.64) 0%,
    rgba(5, 11, 17, 0.12) 30%,
    rgba(5, 11, 17, 0) 56%,
    rgba(5, 11, 17, 0.84) 100%
  );
  background-size: auto;
  mask-image: none;
  -webkit-mask-image: none;
}

.person-card__portrait--photo::after {
  inset: 12px;
  width: auto;
  height: auto;
  border: 1px solid rgba(198, 162, 102, 0.3);
  border-radius: 0;
  transform: none;
  z-index: 2;
  pointer-events: none;
}

.person-card__portrait--photo .person-card__index,
.person-card__portrait--photo .person-card__mark {
  z-index: 3;
}

.person-card__index {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.person-card__mark {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: rgba(198, 162, 102, 0.8);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.person-card__role {
  color: var(--brass-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.person-card h3 {
  margin-top: 7px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.person-card__exp {
  margin-top: 9px;
  color: var(--steel-600);
  font-size: 13px;
  line-height: 1.5;
}

.person-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.person-card__foot a {
  color: var(--brass-dark);
  transition: color 0.2s var(--ease);
}

.person-card__foot a:hover {
  color: var(--ink);
}

/* ---------- Certificates strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-item:not(:first-child) {
  padding-left: 20px;
}

.trust-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--brass-dark);
  flex: none;
}

.trust-item__icon svg {
  width: 17px;
  height: 17px;
}

.trust-item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: var(--steel-600);
  font-size: 11.5px;
  line-height: 1.4;
}

/* ---------- Contact section & form ---------- */
.contact-section {
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -40%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(198, 162, 102, 0.09), transparent 62%);
  pointer-events: none;
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-copy h2 {
  margin-top: 18px;
}

.contact-copy .lead {
  margin-top: 22px;
}

.contact-direct {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line-light);
}

.contact-direct__item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-direct__label {
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-direct__value {
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}

.contact-direct__value:hover {
  color: var(--brass-bright);
}

.contact-direct__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-light);
  color: var(--brass);
}

.contact-direct__icon svg {
  width: 14px;
  height: 14px;
}

.contact-section .contact-direct__label {
  color: var(--steel-400);
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--steel-300);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-map-link:hover {
  color: var(--brass-bright);
  border-color: var(--brass);
}

.contact-map-link svg {
  width: 13px;
  height: 13px;
}

.form-card {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.25);
}

.form-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 72px;
  height: 2px;
  background: var(--brass);
}

.form-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-card__head h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.form-card__head p {
  margin-top: 6px;
  color: var(--steel-600);
  font-size: 13px;
  line-height: 1.5;
}

.form-card__head .label {
  color: var(--brass-dark);
  text-align: right;
  flex: none;
}

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

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--steel-600);
  font-size: 12px;
  line-height: 1.5;
}

.form-consent input {
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  accent-color: var(--brass-dark);
  flex: none;
}

.form-consent a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.form-consent a:hover {
  color: var(--brass-dark);
  border-color: var(--brass-dark);
}

.form-submit {
  margin-top: 16px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--steel-500);
  font-size: 12px;
  line-height: 1.4;
}

.form-note svg {
  width: 12px;
  height: 12px;
  flex: none;
  color: var(--brass-dark);
}

.form-error {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 2px solid #a6402f;
  background: rgba(166, 64, 47, 0.07);
  color: #7f2f22;
  font-size: 13px;
  line-height: 1.5;
}

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

.form-success {
  display: none;
  padding: 32px 6px 18px;
  text-align: center;
}

.form-success.is-visible {
  display: block;
  animation: fadeUp 0.5s var(--ease-out);
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border: 1px solid rgba(198, 162, 102, 0.5);
  border-radius: 50%;
  color: var(--brass-dark);
}

.form-success__icon svg {
  width: 24px;
  height: 24px;
}

.form-success h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.form-success p {
  max-width: 380px;
  margin: 8px auto 0;
  color: var(--steel-600);
  font-size: 13px;
  line-height: 1.6;
}

.form-success small {
  display: block;
  margin-top: 16px;
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  color: var(--paper);
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 162, 102, 0.55), transparent);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--line-light);
}

.footer__brand {
  max-width: 470px;
}

.footer__brand .brand {
  margin-bottom: 22px;
}

.footer__statement {
  max-width: 420px;
  color: var(--steel-300);
  font-size: 15px;
  line-height: 1.6;
}

.footer__statement em {
  color: var(--brass-bright);
  font-family: var(--font-serif);
  font-size: 1.15em;
  font-style: italic;
}

.footer__cta {
  text-align: right;
}

.footer__cta .label {
  color: var(--steel-500);
  margin-bottom: 10px;
}

.footer__cta a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  transition: color 0.25s var(--ease);
}

.footer__cta a:hover {
  color: var(--brass-bright);
}

.footer__cta a svg {
  width: 20px;
  height: 20px;
  color: var(--brass);
  transition: transform 0.3s var(--ease);
}

.footer__cta a:hover svg {
  transform: translate(3px, -3px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line-light);
}

.footer__col-title {
  margin-bottom: 16px;
  color: var(--brass);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 8px;
}

.footer__links a {
  color: var(--steel-300);
  font-size: 12.5px;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--brass-bright);
}

.footer__contact {
  display: grid;
  gap: 12px;
}

.footer__contact a,
.footer__contact span {
  color: var(--steel-300);
  font-size: 12.5px;
  line-height: 1.5;
}

.footer__contact a:hover {
  color: var(--brass-bright);
}

.footer__contact strong {
  display: block;
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer__legal {
  padding-block: 24px;
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.footer__legal-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer__legal a {
  color: var(--steel-400);
  transition: color 0.2s var(--ease);
}

.footer__legal a:hover {
  color: var(--brass-bright);
}

.footer__watermark {
  position: absolute;
  right: -2%;
  bottom: -2%;
  z-index: -1;
  color: rgba(255, 255, 255, 0.022);
  font-size: clamp(100px, 19vw, 270px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.7;
  white-space: nowrap;
  pointer-events: none;
}

.footer__locations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__locations span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer__locations span::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(8, 17, 28, 0.82);
  color: var(--paper);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease),
    transform 0.3s var(--ease), background 0.25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--brass);
  color: var(--ink-950);
}

.to-top svg {
  width: 16px;
  height: 16px;
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.no-scrollbar {
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 1500px) {
  .hero__art {
    right: -8%;
  }
}

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

  .brand__name {
    font-size: 13.5px;
  }

  .nav__link {
    font-size: 12px;
  }
}

@media (min-width: 1200px) {
  .hero__badge {
    display: block;
  }
}

@media (min-width: 1121px) and (max-width: 1439px) {
  .header__actions .btn {
    display: none;
  }
}

@media (max-width: 1120px) {
  :root {
    --header-h: 76px;
  }

  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header__phone {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__actions .btn {
    display: none;
  }

  .hero__art {
    right: -22%;
    width: 90vw;
    opacity: 0.72;
  }

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

  .product-card--feature {
    grid-column: span 2;
    grid-row: auto;
    min-height: 460px;
  }

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

  .advantages__sticky {
    position: static;
    max-width: 680px;
  }

  .advantages__list {
    margin-top: 10px;
  }

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

  .geo__visual {
    max-width: 760px;
  }

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

  .reviews__intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
  }

  .reviews__rating {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .reviews__intro .eyebrow,
  .reviews__intro h2 {
    grid-column: 1;
  }

  .reviews__rating {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }

  .reviews__controls {
    display: none;
  }

  .reviews__slider {
    margin-top: 8px;
  }

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

  .contact-copy {
    max-width: 720px;
  }

  .contact-section .form-card {
    max-width: 760px;
  }

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

  .footer__col--contacts {
    grid-column: 3;
  }
}

@media (max-width: 960px) {
  .topbar__group--branches {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-top: clamp(64px, 10vh, 100px);
    padding-bottom: 54px;
  }

  .hero__title {
    font-size: clamp(46px, 9vw, 82px);
  }

  .hero__art {
    top: 2%;
    right: -38%;
    width: 110vw;
    opacity: 0.45;
  }

  .hero__stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stat {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero__stat:nth-child(-n + 2) {
    border-top: 0;
  }

  .hero__stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

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

  .about-split__media {
    order: 2;
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }

  .about-split__body {
    order: 1;
  }

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

  .stat-row__item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-row__item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .calculator-intro {
    position: static;
    max-width: 680px;
  }

  .calculator {
    max-width: 780px;
  }

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

  .project-card {
    min-height: 460px;
  }

  .project-card__body {
    max-width: 520px;
  }

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

  .person-card {
    display: grid;
    grid-template-columns: 220px 1fr;
  }

  .person-card__portrait {
    aspect-ratio: auto;
    min-height: 200px;
  }

  .person-card__body {
    padding: 22px;
  }

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

  .trust-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .delivery-terms {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-term:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .delivery-term:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__cta {
    text-align: left;
  }

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

  .footer__col--contacts {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --header-h: 68px;
  }

  .topbar {
    display: none;
  }

  .header {
    background: rgba(5, 10, 16, 0.92);
  }

  .header__inner {
    min-height: var(--header-h);
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__name {
    font-size: 13px;
    letter-spacing: 0.2em;
  }

  .brand__tag {
    font-size: 10.5px;
    letter-spacing: 0.16em;
  }

  .hero__title {
    font-size: clamp(42px, 12vw, 68px);
    letter-spacing: -0.05em;
  }

  .hero__lead {
    font-size: 14px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__note {
    gap: 10px 20px;
    font-size: 12px;
  }

  .hero__art {
    top: 8%;
    right: -58%;
    width: 140vw;
    opacity: 0.35;
  }

  .hero__stats-inner {
    padding-block: 12px;
  }

  .hero__stat strong {
    font-size: 20px;
  }

  .hero__stat small {
    font-size: 11px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-head__aside {
    padding-bottom: 0;
  }

  .about-split__media {
    padding: 0 0 24px 20px;
  }

  .about-split__caption {
    left: 20px;
    right: 20px;
    padding: 16px;
  }

  .about-split__caption strong {
    font-size: 15px;
  }

  .about-split__stamp {
    width: 92px;
    height: 92px;
    transform: translate(-14%, -20%);
  }

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

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

  .product-card--feature {
    grid-column: auto;
    min-height: 430px;
  }

  .product-card--feature h3 {
    font-size: 36px;
  }

  .product-card {
    min-height: 280px;
  }

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

  .advantage,
  .advantage:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }

  .advantage__num {
    margin-bottom: 20px;
  }

  .calc-types {
    grid-template-columns: 1fr 1fr;
  }

  .calc-fields {
    grid-template-columns: 1fr 1fr;
  }

  .calc-fields .field:first-child {
    grid-column: 1 / -1;
  }

  .calc-visual {
    align-items: flex-start;
  }

  .calc-visual__length {
    display: none;
  }

  .calc-breakdown {
    grid-template-columns: 1fr 1fr;
  }

  .calculator__result {
    margin-inline: -26px;
  }

  .reviews__intro {
    display: block;
  }

  .reviews__rating {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .review-slide {
    padding: 24px 20px;
  }

  .review-slide blockquote {
    font-size: 18px;
  }

  .review-slide__quote-mark {
    font-size: 56px;
  }

  .person-card {
    display: flex;
    flex-direction: column;
  }

  .person-card__portrait {
    aspect-ratio: 4 / 3;
  }

  .contact-direct__item {
    grid-template-columns: 74px 1fr auto;
  }

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

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

  .footer__legal-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }

  .section {
    padding-block: 64px;
  }
}

@media (max-width: 520px) {
  .hero__title {
    font-size: 40px;
  }

  .hero__stat {
    padding: 12px 12px;
  }

  .hero__stat strong {
    font-size: 18px;
  }

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

  .stat-row__item,
  .stat-row__item:not(:first-child) {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-row__item:first-child {
    border-top: 0;
  }

  .section--dark .stat-row__item {
    border-top-color: var(--line-light);
  }

  .calc-fields {
    grid-template-columns: 1fr;
  }

  .calc-fields .field:first-child {
    grid-column: auto;
  }

  .calc-breakdown {
    grid-template-columns: 1fr;
  }

  .calc-breakdown div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .calc-breakdown strong {
    margin-top: 0;
  }

  .delivery-terms {
    grid-template-columns: 1fr;
  }

  .delivery-term,
  .delivery-term:not(:first-child) {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .delivery-term:first-child {
    border-top: 0;
  }

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

  .trust-item,
  .trust-item:not(:first-child) {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:first-child {
    border-top: 0;
  }

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

  .footer__cta a {
    font-size: 22px;
  }

  .mobile-nav__link {
    font-size: 26px;
  }
}
