/* Tokens */
:root {
  /* Core palette */
  --paper-rgb: 248, 242, 236;
  --paper-soft-rgb: 248, 243, 237;
  --ivory-rgb: 255, 250, 244;
  --surface-rgb: 255, 252, 249;
  --white-rgb: 255, 255, 255;
  --shadow-rgb: 72, 48, 32;
  --bronze-rgb: 183, 119, 66;
  --bronze-dark-rgb: 158, 96, 48;
  --bronze-border-rgb: 160, 95, 54;
  --line-strong-rgb: 214, 185, 162;
  --text-body-rgb: 35, 40, 46;

  --paper: #f8f2ec;
  --paper-2: #fbf6f1;
  --paper-warm: #f7efe8;
  --paper-gradient-top: #fbf4ed;
  --paper-gradient-mid: #f6eee6;
  --white: #fffaf5;
  --surface-control-bright: #fffdf9;

  /* Text */
  --ink: #121820;
  --text-nav: #14191f;
  --text-heading-deep: #171c22;
  --text-body: #23282e;
  --text-card: #2f353b;
  --text-control: #343a40;
  --text-field: #3a4046;
  --text-muted: #5f6468;
  --muted: var(--text-muted);
  --text-footer: #6d7478;
  --text-link-muted: #697078;
  --text-note: #77716d;
  --text-soft: #76716d;
  --text-hint: #8a8078;
  --text-small: #81776e;
  --text-subtle: #81807f;
  --text-on-accent: #ffffff;
  --text-hero-trust: rgba(var(--text-body-rgb), 0.7);

  /* Accent and lines */
  --bronze: #b77742;
  --bronze-dark: #9e6030;
  --bronze-text: #8d552d;
  --bronze-soft-text: #8f5f39;
  --bronze-mid-text: #9f6c43;
  --line: #e5cdbd;
  --line-strong: #d6b9a2;
  --line-header: rgba(120, 82, 54, 0.12);
  --line-header-mobile: rgba(120, 82, 54, 0.1);
  --line-bronze-soft: rgba(var(--bronze-border-rgb), 0.42);
  --line-bronze-hero: rgba(var(--bronze-border-rgb), 0.45);
  --line-bronze-hover: rgba(var(--bronze-rgb), 0.52);
  --line-bronze-hover-soft: rgba(var(--bronze-rgb), 0.5);
  --line-bronze-control: rgba(var(--bronze-rgb), 0.58);
  --line-tabs: rgba(var(--line-strong-rgb), 0.72);
  --line-hero-trust: rgba(var(--bronze-dark-rgb), 0.28);

  /* Backgrounds and overlays */
  --bg-hero: url("assets/backgrounds/01-hero-background2.png");
  --bg-process: url("assets/backgrounds/02-remote-order-background.png");
  --bg-production: url("assets/backgrounds/03-production-background.png");
  --bg-catalog: url("assets/backgrounds/04-catalog-background.png");
  --bg-portfolio: url("assets/backgrounds/05-portfolio-background.png");
  --bg-calculation: url("assets/backgrounds/06-calculation-background.png");
  --bg-contract: url("assets/backgrounds/07-contract-background.png");
  --bg-reviews: url("assets/backgrounds/08-reviews-background.png");
  --bg-questions: url("assets/backgrounds/09-questions-cta-background.png");
  --bg-footer: url("assets/backgrounds/10-footer-background.png");

  --body-glow-opacity: 0.72;
  --body-bg-desktop:
    radial-gradient(circle at 12% 0%, rgba(var(--white-rgb), var(--body-glow-opacity)), transparent 34rem),
    linear-gradient(180deg, var(--paper-gradient-top) 0%, var(--paper-gradient-mid) 46%, var(--paper) 100%);

  --surface-header: rgba(var(--ivory-rgb), 0.86);
  --surface-header-mobile: rgba(var(--ivory-rgb), 0.78);
  --surface-header-button: rgba(var(--ivory-rgb), 0.5);
  --surface-button-outline: rgba(255, 250, 245, 0.58);
  --surface-button-outline-hero: rgba(var(--ivory-rgb), 0.45);
  --surface-button-outline-hover: rgba(255, 250, 245, 0.9);
  --surface-card: rgba(var(--surface-rgb), 0.54);
  --surface-card-process: rgba(var(--surface-rgb), 0.58);
  --surface-card-feature: rgba(var(--surface-rgb), 0.48);
  --surface-card-desktop: rgba(var(--surface-rgb), 0.68);
  --surface-panel: rgba(var(--surface-rgb), 0.42);
  --surface-panel-weak: rgba(var(--surface-rgb), 0.36);
  --surface-process-cta: rgba(var(--surface-rgb), 0.52);
  --surface-control: rgba(var(--surface-rgb), 0.7);
  --surface-tabs: rgba(var(--surface-rgb), 0.56);
  --surface-tabs-hover: rgba(255, 250, 245, 0.78);
  --surface-card-ring: rgba(var(--surface-rgb), 0.72);
  --surface-chip-hover: rgba(var(--surface-rgb), 0.9);

  --process-overlay-base:
    linear-gradient(rgba(var(--paper-soft-rgb), 0.72), rgba(var(--paper-soft-rgb), 0.92)),
    var(--bg-process);
  --process-overlay-desktop:
    linear-gradient(180deg, rgba(var(--paper-rgb), 0.9) 0%, rgba(var(--paper-soft-rgb), 0.68) 38%, rgba(var(--paper-soft-rgb), 0.88) 100%),
    var(--bg-process);
  --section-overlay-bg:
    linear-gradient(180deg, rgba(var(--ivory-rgb), 0.48) 0%, rgba(var(--ivory-rgb), 0) 12%),
    radial-gradient(circle at 50% 0%, rgba(var(--white-rgb), 0.42), transparent 28rem);
  --surface-process-cta-desktop:
    linear-gradient(90deg, rgba(var(--surface-rgb), 0.84), rgba(var(--surface-rgb), 0.56));
  --surface-form-desktop:
    linear-gradient(180deg, rgba(var(--surface-rgb), 0.86), rgba(var(--surface-rgb), 0.62));
  --surface-question-desktop:
    linear-gradient(90deg, rgba(var(--surface-rgb), 0.82), rgba(var(--surface-rgb), 0.58));

  /* Hero */
  --hero-content-max: 1280px;
  --hero-gutter-min: 56px;
  --hero-gutter: max(var(--hero-gutter-min), calc((100vw - var(--hero-content-max)) / 2));
  --hero-min-height: min(780px, 100svh);
  --hero-desktop-min-height: min(720px, 100svh);
  --hero-desktop-height: min(820px, 100svh);
  --hero-padding-bottom: 52px;
  --hero-desktop-padding-bottom: 48px;
  --hero-mobile-min-height: 780px;
  --hero-mobile-padding-bottom: 44px;
  --hero-bg-filter: saturate(1.02) contrast(1.03);
  --hero-bg-position-desktop: right -34px bottom -8px;
  --hero-bg-size-desktop: auto 94%;
  --hero-bg-position-mobile: 56% bottom;
  --hero-bg-size-mobile: auto 100%;
  --hero-overlay-left: 0.96;
  --hero-overlay-mid: 0.78;
  --hero-overlay-fade: 0.08;
  --hero-overlay-stop-left: 0%;
  --hero-overlay-stop-mid: 36%;
  --hero-overlay-stop-fade: 55%;
  --hero-overlay-stop-clear: 68%;
  --hero-overlay-bg:
    linear-gradient(90deg,
      rgba(var(--ivory-rgb), var(--hero-overlay-left)) var(--hero-overlay-stop-left),
      rgba(var(--ivory-rgb), var(--hero-overlay-mid)) var(--hero-overlay-stop-mid),
      rgba(var(--ivory-rgb), var(--hero-overlay-fade)) var(--hero-overlay-stop-fade),
      rgba(var(--ivory-rgb), 0) var(--hero-overlay-stop-clear),
      rgba(var(--ivory-rgb), 0) 100%
    );

  /* Layout */
  --container-max: 1420px;
  --container-gutter: 96px;
  --container-tablet-max: 1120px;
  --container-tablet-gutter: 48px;
  --container-mobile-gutter: 40px;
  --container: min(var(--container-max), calc(100vw - var(--container-gutter)));
  --section-inline: max(48px, calc((100vw - var(--container-max)) / 2));
  --section-pad-top: 56px;
  --section-pad-bottom: 60px;
  --section-pad-top-desktop: 48px;
  --section-pad-bottom-desktop: 52px;
  --process-pad-top-desktop: 52px;
  --process-pad-bottom-desktop: 44px;
  --process-head-margin-desktop: 28px;
  --process-title-margin-bottom: 16px;
  --process-content-width: min(1240px, var(--container));
  --process-subtitle-size: 19px;
  --process-subtitle-line-height: 1.45;
  --process-grid-gap: clamp(30px, 3vw, 48px);
  --process-card-min-height: 300px;
  --process-card-padding: 24px 22px 22px;
  --process-step-number-size: 40px;
  --process-step-rule-margin: 11px 0 16px;
  --process-step-icon-size: 52px;
  --process-step-icon-margin-bottom: 16px;
  --process-step-title-size: 24px;
  --process-step-text-size: 17px;
  --process-step-text-line-height: 1.38;
  --process-step-connector-top: 118px;
  --process-cta-margin-top: 20px;
  --process-cta-min-height: 86px;
  --process-cta-padding: 14px 30px 14px 34px;
  --process-cta-gap: 24px;
  --process-cta-divider-height: 38px;
  --process-cta-title-size: 32px;
  --process-cta-button-height: 54px;
  --mobile-page-gutter: 20px;
  --footer-container-max: 1780px;
  --footer-container-gutter: 108px;
  --footer-inline: max(54px, calc((100vw - var(--footer-container-max)) / 2));
  --footer-container: min(var(--footer-container-max), calc(100vw - var(--footer-container-gutter)));
  --header-height: 96px;

  /* Radius */
  --radius-xs: 5px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-card: 10px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-photo: 24px;
  --radius-round: 50%;

  /* Shadows */
  --shadow: 0 20px 48px rgba(var(--shadow-rgb), 0.08);
  --shadow-none: 0 0 0 rgba(0, 0, 0, 0);
  --shadow-header: 0 12px 38px rgba(var(--shadow-rgb), 0.04);
  --shadow-card: 0 18px 48px rgba(var(--shadow-rgb), 0.07);
  --shadow-card-hover: 0 26px 70px rgba(var(--shadow-rgb), 0.12);
  --shadow-process-cta: 0 22px 58px rgba(var(--shadow-rgb), 0.08);
  --shadow-photo: 0 30px 80px rgba(var(--shadow-rgb), 0.15);
  --shadow-form: 0 30px 90px rgba(var(--shadow-rgb), 0.12);
  --shadow-question: 0 34px 90px rgba(var(--shadow-rgb), 0.12);
  --shadow-button-primary: 0 12px 26px rgba(var(--bronze-dark-rgb), 0.16);
  --shadow-button-primary-hero: 0 14px 28px rgba(128, 73, 34, 0.18);
  --shadow-button-primary-hover: 0 18px 34px rgba(var(--bronze-dark-rgb), 0.22);
  --shadow-focus: 0 0 0 3px rgba(var(--bronze-rgb), 0.12);
  --shadow-step-dot: 0 0 0 6px var(--surface-card-ring);
  --shadow-footer-line: inset 0 1px 0 rgba(var(--line-strong-rgb), 0.5);
  --scrollbar-size: 10px;
  --scrollbar-track: rgba(var(--paper-soft-rgb), 0.86);
  --scrollbar-thumb: rgba(var(--bronze-rgb), 0.46);
  --scrollbar-thumb-hover: rgba(var(--bronze-rgb), 0.72);

  /* Buttons, motion and media */
  --btn-height: 50px;
  --btn-height-header: 50px;
  --btn-height-hero: 62px;
  --btn-height-question: 70px;
  --btn-pad-x: 28px;
  --btn-radius: var(--radius-sm);
  --btn-primary-bg: linear-gradient(180deg, #bd824f 0%, #a86937 100%);
  --btn-primary-hero-bg: linear-gradient(180deg, #c4874b 0%, #a76534 100%);
  --btn-primary-hover-bg: linear-gradient(180deg, #c88a54 0%, #a56232 100%);
  --photo-filter: saturate(0.96) contrast(1.02);
  --duration-fast: 160ms;
  --duration-card: 180ms;
  --duration-portfolio: 980ms;
  --duration-portfolio-mobile: 640ms;
  --ease-standard: ease;
  --ease-portfolio: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-link: color var(--duration-fast) var(--ease-standard);
  --transition-button:
    transform var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
  --transition-surface:
    transform var(--duration-card) var(--ease-standard),
    box-shadow var(--duration-card) var(--ease-standard),
    border-color var(--duration-card) var(--ease-standard);
  --transition-controls:
    border-color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

/* Base / Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body, var(--sans, "Segoe UI", Arial, sans-serif));
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  min-height: 72px;
  border: 3px solid var(--scrollbar-track);
  border-radius: 999px;
  background:
    linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--scrollbar-thumb));
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, var(--bronze), var(--bronze-dark));
}

::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

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

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

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

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

h1,
h2 {
  font-family: var(--font-display, var(--serif, "Times New Roman", Georgia, serif));
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(56px, 5.1vw, 76px);
}

/* Layout / Sections */
.section {
  position: relative;
  padding: var(--section-pad-top) var(--section-inline) var(--section-pad-bottom);
  background-color: var(--paper);
  background-position: center;
  background-size: cover;
}

.mobile-only {
  display: none;
}

.section-head {
  width: min(1040px, 100%);
}

.section-head.centered {
  margin: 0 auto 54px;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 28px;
}

.section-head h2,
.production-copy h2,
.calc-copy h2,
.contract-copy h2,
.question-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(54px, 5vw, 80px);
}

.section-head p:not(.eyebrow),
.lead {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.section-kicker-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.section-kicker-line .eyebrow {
  margin-bottom: 0;
}

.section-kicker-line span {
  height: 1px;
  background: var(--bronze);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(500px, 0.95fr) minmax(520px, 1fr);
  align-items: center;
  gap: 88px;
  width: var(--container);
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 26px;
  width: var(--container);
  margin: 0 auto;
}

.button-row {
  width: var(--container);
  margin: 14px auto 0;
}

.centered-row {
  justify-content: center;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--bronze-dark);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-height);
  padding: 0 var(--btn-pad-x);
  border: 1px solid var(--bronze);
  border-radius: var(--btn-radius);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: var(--transition-button);
}

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

.btn-primary {
  color: var(--text-on-accent);
  background: var(--btn-primary-bg);
  border-color: transparent;
}

.btn-outline {
  color: var(--bronze-dark);
  background: var(--surface-button-outline);
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button-row .btn {
  min-width: 286px;
}

.wide-btn {
  min-width: 420px;
  gap: 14px;
  justify-content: center;
  padding-inline: 28px;
}

.wide-btn span[aria-hidden] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  line-height: 1;
  transform: translateY(-1px);
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 230px minmax(360px, 1fr) auto 162px;
  align-items: center;
  gap: 24px;
  width: 100vw;
  height: var(--header-height);
  margin-left: calc(-1 * var(--hero-gutter));
  padding: 0 var(--hero-gutter);
  border-bottom: 1px solid var(--line-header);
  background: var(--surface-header);
  box-shadow: var(--shadow-header);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-link img {
  width: 194px;
  height: auto;
  filter: saturate(1.12) contrast(1.08);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  color: var(--text-nav);
  font-size: 16px;
}

.header-contacts,
.phone-stack {
  display: grid;
  gap: 2px;
  font-size: 16px;
  line-height: 1.45;
  white-space: nowrap;
}

.header-contacts {
  color: var(--text-nav);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header-btn {
  width: 162px;
  padding: 0 16px;
  text-transform: uppercase;
  color: var(--bronze-text);
  border-color: var(--line-bronze-soft);
  background: var(--surface-header-button);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: var(--hero-min-height);
  padding: 0 var(--hero-gutter) var(--hero-padding-bottom);
  overflow: hidden;
  background: var(--paper-warm);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-hero) center center / cover no-repeat;
  filter: var(--hero-bg-filter);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--hero-overlay-bg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 52vw);
  margin-top: clamp(76px, 10vh, 96px);
  margin-left: 24px;
}

.hero .eyebrow {
  display: none;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--bronze-soft-text);
  font-size: 21px;
  font-weight: 600;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--text-body);
  font-size: 20px;
  line-height: 1.52;
}

.hero-actions {
  gap: 20px;
  margin-top: 36px;
}

.hero-actions .btn {
  min-width: 230px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  max-width: 680px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--text-hero-trust);
  font-size: 14px;
  line-height: 1.35;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
}

.hero-trust li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 16px;
  margin: 0 14px;
  background: var(--line-hero-trust);
}

/* Shared Cards / Forms */
.image-card,
.work-card,
.review-card {
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.image-card h3,
.step-card h3,
.work-card h3,
.feature-row h3 {
  margin-bottom: 8px;
  font-family: var(--font-display, var(--serif, "Times New Roman", Georgia, serif));
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
}

.image-card p,
.step-card p,
.feature-row p {
  margin: 0;
  color: var(--text-card);
  font-size: 18px;
  line-height: 1.45;
}

.step-card h3 {
  font-size: var(--process-step-title-size);
}

.step-card p {
  font-size: var(--process-step-text-size);
  line-height: var(--process-step-text-line-height);
}

.calc-form input,
.calc-form textarea,
.calc-form select,
.upload-field {
  width: 100%;
  min-height: var(--btn-height);
  padding: 0 16px;
  color: var(--text-control);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-control);
}

/* Sections */
.process {
  min-height: 0;
  background-image: var(--process-overlay-base);
}

.process .section-head p {
  max-width: 740px;
  margin: 0 auto;
  font-size: var(--process-subtitle-size);
  line-height: var(--process-subtitle-line-height);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--process-grid-gap);
  width: var(--process-content-width);
  margin: 0 auto;
}

.step-card {
  position: relative;
  min-height: var(--process-card-min-height);
  padding: var(--process-card-padding);
  background: var(--surface-card-process);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: var(--process-step-connector-top);
  right: calc(-1 * var(--process-grid-gap) - 1px);
  width: var(--process-grid-gap);
  border-top: 1px solid var(--bronze);
}

.step-card:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(var(--process-step-connector-top) - 4px);
  right: calc(-1 * var(--process-grid-gap) - 4px);
  z-index: 2;
  width: 8px;
  height: 8px;
  background: var(--paper-2);
  border: 1px solid var(--bronze);
  border-radius: var(--radius-round);
}

.step-num,
.feature-num {
  color: var(--bronze);
  font-family: var(--font-decorative, var(--serif, "Times New Roman", Georgia, serif));
  font-size: 44px;
  line-height: 1;
}

.step-num {
  font-size: var(--process-step-number-size);
}

.step-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: var(--process-step-rule-margin);
  background: var(--line-strong);
}

.step-icon {
  width: var(--process-step-icon-size);
  height: var(--process-step-icon-size);
  object-fit: contain;
  margin-bottom: var(--process-step-icon-margin-bottom);
}

.process-cta {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--process-cta-gap);
  width: var(--process-content-width);
  min-height: var(--process-cta-min-height);
  margin: var(--process-cta-margin-top) auto 0;
  padding: var(--process-cta-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-process-cta);
}

.process-cta > span:first-child {
  height: var(--process-cta-divider-height);
  border-right: 1px solid var(--line);
}

.process-cta strong {
  font-family: var(--font-display, var(--serif, "Times New Roman", Georgia, serif));
  font-size: var(--process-cta-title-size);
  font-weight: 400;
}

.process-cta .btn {
  gap: 14px;
  justify-self: end;
  min-width: 220px;
  min-height: var(--process-cta-button-height);
  padding: 0 28px;
  background: var(--btn-primary-hero-bg);
  box-shadow: var(--shadow-button-primary-hero);
}

.process-cta .btn span[aria-hidden] {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.production,
.catalog,
.portfolio,
.calculation,
.contract,
.reviews,
.questions,
.site-footer {
  background-image: var(--bg-production);
}

.production .two-col {
  grid-template-columns: minmax(520px, 0.9fr) minmax(570px, 1fr);
}

.production-copy h2 {
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(44px, 3.5vw, 52px);
  line-height: 1.02;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 12px;
}

.feature-row {
  display: grid;
  grid-template-columns: 48px 1px 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 11px 16px;
  background: var(--surface-card-feature);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.feature-divider {
  align-self: stretch;
  width: 1px;
  background: var(--line);
}

.feature-row img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.production-copy .lead {
  font-size: 17px;
  line-height: 1.45;
}

.feature-row h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.feature-row p {
  font-size: 14px;
  line-height: 1.34;
}

.production-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-photo) 0 0 var(--radius-photo);
}

.production-photo img {
  width: 100%;
  height: clamp(540px, 42vw, 600px);
  object-fit: cover;
}

.catalog {
  background-image: var(--bg-catalog);
}

.catalog .section-head {
  width: var(--container);
  margin: 0 auto 22px;
}

.catalog .section-head h2,
.portfolio .section-head h2 {
  font-size: clamp(38px, 3.8vw, 50px);
}

.catalog .section-head h2 {
  max-width: 1180px;
  margin-bottom: 16px;
  font-size: clamp(54px, 4.8vw, 70px);
  line-height: 1.02;
}

.catalog .section-head p:not(.eyebrow) {
  max-width: 720px;
  color: var(--bronze-dark);
  font-size: 18px;
  line-height: 1.4;
}

.image-card h3 {
  font-size: 21px;
}

.image-card p {
  font-size: 15px;
  line-height: 1.35;
}

.image-card img {
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.image-card div {
  min-height: 80px;
  padding: 12px 16px 14px;
}

.catalog .catalog-grid {
  gap: 24px 26px;
}

.catalog .image-card {
  background: rgba(var(--surface-rgb), 0.82);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-none);
}

.catalog .image-card h3 {
  font-size: 25px;
}

.catalog .image-card p {
  font-size: 17px;
  line-height: 1.4;
}

.catalog .image-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.catalog .image-card div {
  min-height: 108px;
  padding: 16px 24px 18px;
}

.catalog .button-row {
  margin-top: 20px;
}

.catalog .button-row .btn {
  min-width: 286px;
}

.catalog .button-row .btn:nth-child(2) {
  min-width: 356px;
}

.portfolio {
  overflow: hidden;
  background-image: var(--bg-portfolio);
}

.portfolio .section-head.compact {
  max-width: 940px;
  margin-bottom: 36px;
}

.portfolio .eyebrow {
  display: none;
}

.portfolio .section-head h2 {
  margin-bottom: 18px;
  font-size: clamp(58px, 5.2vw, 74px);
  line-height: 1.02;
}

.portfolio .section-head p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.4;
}

.portfolio .tabs {
  display: none;
}

.portfolio-grid {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(240px, 0.82fr) minmax(420px, 1.72fr) minmax(240px, 0.82fr);
  align-items: center;
  gap: 78px;
  width: 100%;
  margin: 0;
  overflow: visible;
  touch-action: pan-y;
}

.portfolio-grid:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 8px;
}

.portfolio-carousel {
  position: relative;
  width: min(1530px, calc(100% - 100px));
  margin: 0 auto;
  overflow: visible;
}

.portfolio-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--bronze-dark);
  border: 1px solid rgba(var(--bronze-rgb), 0.66);
  border-radius: 50%;
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow: none;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    transform var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    opacity var(--duration-fast) var(--ease-standard);
}

.portfolio-control:hover {
  color: var(--bronze-dark);
  border-color: rgba(var(--bronze-rgb), 0.78);
  background: rgba(var(--surface-rgb), 0.9);
  transform: translateY(-50%);
}

.portfolio-control:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

.portfolio-control:disabled {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}

.portfolio-control span {
  line-height: 1;
  transform: translateY(-1px);
}

.portfolio-control-prev {
  left: calc(28.6% - 28px);
}

.portfolio-control-next {
  right: calc(28.6% - 28px);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 14px;
  align-items: center;
  width: min(880px, 100%);
  margin: 0 auto 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}

.tabs button {
  min-height: 40px;
  color: var(--text-heading-deep);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.tabs .active {
  color: var(--text-on-accent);
  background: var(--btn-primary-bg);
}

.work-card img {
  width: 100%;
  height: 126px;
  object-fit: cover;
}

.portfolio .work-card {
  display: none;
  position: relative;
  background: rgba(var(--surface-rgb), 0.9);
  border-color: rgba(var(--line-strong-rgb), 0.54);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 38px rgba(var(--shadow-rgb), 0.14);
  backface-visibility: hidden;
  transform-origin: center center;
  user-select: none;
  will-change: transform, opacity;
}

.portfolio-grid.is-animating .work-card {
  pointer-events: none;
}

.portfolio .work-card.is-prev,
.portfolio .work-card.is-next,
.portfolio .work-card.is-active {
  display: block;
}

.portfolio .work-card.is-transition-clone {
  display: block;
  pointer-events: none;
}

.portfolio .work-card.is-prev {
  grid-column: 1;
  grid-row: 1;
}

.portfolio .work-card.is-next {
  grid-column: 3;
  grid-row: 1;
}

.portfolio .work-card.is-active {
  grid-column: 2;
  grid-row: 1;
  z-index: 2;
}

.portfolio .work-card img {
  height: 380px;
}

.portfolio .work-card.is-active img {
  height: 470px;
}

.work-card h3 {
  min-height: 42px;
  margin: 0;
  padding: 10px 16px 12px;
  font-size: 20px;
}

.portfolio .work-card h3 {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 18px 22px;
  text-align: center;
}

.portfolio .work-card.is-active h3 {
  font-size: 22px;
}

.portfolio-note {
  display: block;
  margin: 28px auto 0;
  color: var(--text-note);
  text-align: center;
  font-size: 0;
  width: 10px;
  height: 6px;
  border-radius: 999px;
  background: var(--bronze);
  box-shadow: -24px 0 0 rgba(var(--bronze-rgb), 0.22), 24px 0 0 rgba(var(--bronze-rgb), 0.22);
}

.portfolio .button-row {
  margin-top: 32px;
}

.portfolio .button-row .btn-primary {
  display: none;
}

.portfolio .button-row .btn-outline {
  min-width: 360px;
  min-height: 70px;
  color: var(--bronze);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio .work-card,
  .portfolio-control {
    transition-duration: 1ms;
  }
}

.calculation {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(500px, 570px);
  gap: clamp(58px, 4.5vw, 88px);
  align-items: center;
  min-height: 0;
  padding-inline: clamp(56px, 5.6vw, 112px);
  background-image: var(--bg-calculation);
}

.calc-copy h2 {
  font-size: clamp(58px, 4.8vw, 78px);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  max-width: 680px;
  margin-top: 46px;
}

.chip-grid span {
  min-height: 52px;
  min-width: 176px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-panel);
  font-size: 18px;
  text-align: center;
}

.calc-form {
  display: grid;
  gap: 8px;
  padding: 24px 34px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface-panel);
}

.calc-form h2 {
  margin: 0;
  text-align: center;
  font-family: var(--font-display, var(--serif, "Times New Roman", Georgia, serif));
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
}

.form-flourish {
  width: 76px;
  height: 16px;
  object-fit: contain;
  margin: -4px auto 0;
}

.calc-form label,
.calc-form fieldset {
  margin: 0;
}

.calc-form > .form-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.calc-form legend {
  padding: 0 0 10px;
  color: var(--bronze-dark);
  font-size: 14px;
}

.select-field {
  position: relative;
}

.select-field::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 17px;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-right: 1px solid var(--bronze-dark);
  border-bottom: 1px solid var(--bronze-dark);
  transform: rotate(45deg);
}

.calc-form select {
  appearance: none;
  padding-right: 44px;
}

.calc-form input,
.calc-form select {
  min-height: 42px;
}

.contact-hint {
  margin: -5px 0 0;
  color: var(--text-hint);
  font-size: 14px;
}

.calc-form textarea {
  min-height: 56px;
  padding-top: 14px;
  resize: vertical;
}

.calc-form fieldset {
  padding: 8px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-panel-weak);
}

.radio-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.radio-row label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface-control);
  font-size: 14px;
  cursor: pointer;
}

.radio-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-row span {
  color: var(--text-field);
}

.radio-row label::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-round);
  background: var(--surface-control-bright);
}

.radio-row label:has(input:checked) {
  border-color: var(--bronze);
  background: var(--white);
}

.radio-row label:has(input:checked)::before {
  border-color: var(--bronze);
  box-shadow: inset 0 0 0 2px var(--surface-control-bright);
  background: var(--bronze);
}

.upload-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px;
  color: var(--text-field);
  border-style: dashed;
  cursor: pointer;
}

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

.upload-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--bronze-dark);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-round);
  background: var(--surface-button-outline-hover);
  font-family: var(--font-decorative, var(--serif, "Times New Roman", Georgia, serif));
  font-size: 30px;
  line-height: 1;
}

.upload-copy {
  display: grid;
  gap: 2px;
}

.upload-copy strong {
  font-size: 16px;
  font-weight: 500;
}

.upload-copy small {
  color: var(--text-small);
  font-size: 13px;
}

.calc-form button {
  width: 100%;
  border: 0;
}

.calc-form > p {
  margin: -4px 0 0;
  color: var(--text-subtle);
  text-align: center;
  font-size: 16px;
}

.contract {
  display: grid;
  grid-template-columns: minmax(520px, 1.05fr) minmax(420px, 0.8fr);
  gap: 64px;
  align-items: start;
  min-height: 0;
  background-image: var(--bg-contract);
}

.contract-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.contract-photo img {
  width: 100%;
  height: clamp(500px, 36vw, 560px);
  object-fit: cover;
}

.contract-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(50px, 4.35vw, 64px);
}

.contract-copy .lead {
  font-size: 19px;
  line-height: 1.45;
}

.list-label {
  margin: 26px 0 8px;
  color: var(--bronze-dark);
  font-size: 18px;
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}

.check-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contract-btn {
  min-width: 320px;
  min-height: 60px;
  font-size: 19px;
}

.reviews {
  min-height: 720px;
  background-image: var(--bg-reviews);
}

.review-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 2.35vw, 36px);
  align-items: stretch;
  width: min(1560px, calc(100vw - 180px));
  margin: 0 auto;
}

.review-grid::before,
.review-grid::after {
  content: "";
  position: absolute;
  top: calc(50% - 26px);
  z-index: 1;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(var(--bronze-rgb), 0.28);
  border-radius: var(--radius-round);
  background:
    linear-gradient(45deg, transparent 46%, var(--bronze-dark) 47% 54%, transparent 55%) center / 18px 18px no-repeat,
    rgba(var(--ivory-rgb), 0.74);
  box-shadow: 0 12px 30px rgba(var(--shadow-rgb), 0.07);
}

.review-grid::before {
  left: -66px;
  transform: rotate(180deg);
}

.review-grid::after {
  right: -66px;
}

.reviews .section-head {
  margin-bottom: 38px;
}

.reviews .section-head p:not(.eyebrow) {
  font-size: 20px;
  line-height: 1.45;
}

.review-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 390px;
  padding: 42px 32px 28px;
  border-color: rgba(var(--bronze-rgb), 0.28);
  border-radius: var(--radius-lg);
}

.review-card::before {
  content: "“";
  width: auto;
  height: 32px;
  margin-bottom: 20px;
  color: var(--bronze);
  background: none;
  font-family: Georgia, var(--font-decorative, var(--serif, "Times New Roman", Georgia, serif));
  font-size: 56px;
  font-weight: 700;
  line-height: 0.75;
}

.review-text {
  color: var(--text-heading-deep);
  font-size: 18px;
  line-height: 1.58;
}

.review-author {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.review-card strong {
  display: block;
  color: var(--bronze-dark);
  font-family: var(--font-display, var(--serif, "Times New Roman", Georgia, serif));
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.review-card span {
  color: var(--text-soft);
  font-size: 17px;
}

.review-btn {
  position: relative;
  display: flex;
  width: 354px;
  min-height: 66px;
  margin: 68px auto 0;
  font-size: 21px;
}

.review-btn::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 1px solid var(--bronze);
  border-radius: var(--radius-round);
  background: var(--bronze);
  box-shadow:
    34px 0 0 -1px rgba(var(--ivory-rgb), 0.96),
    34px 0 0 0 var(--bronze),
    68px 0 0 -1px rgba(var(--ivory-rgb), 0.96),
    68px 0 0 0 var(--bronze);
  transform: translateX(-50%);
}

.questions {
  display: grid;
  align-items: center;
  min-height: 0;
  background-image: var(--bg-questions);
}

.question-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(44px, 4.4vw, 78px);
  align-items: center;
  width: var(--container);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(34px, 3.8vw, 54px) clamp(36px, 4.4vw, 68px) clamp(34px, 3.2vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-panel);
}

.question-panel::before {
  content: "";
  position: absolute;
  top: clamp(48px, 4.8vw, 64px);
  bottom: clamp(138px, 9.4vw, 154px);
  left: 50%;
  display: block;
  width: 1px;
  background: var(--line-strong);
  opacity: 0.78;
  pointer-events: none;
}

.question-copy {
  grid-column: 1;
}

.question-copy h2 {
  font-size: clamp(48px, 4.3vw, 68px);
  white-space: nowrap;
}

.question-copy p {
  max-width: 650px;
  font-size: 21px;
  line-height: 1.5;
}

.question-actions {
  grid-column: 2;
}

.question-actions .phone-stack {
  margin-bottom: 28px;
  font-size: clamp(32px, 2.8vw, 42px);
  font-family: var(--font-ui, var(--sans, "Segoe UI", Arial, sans-serif));
  line-height: 1.28;
}

.question-actions .button-row {
  width: auto;
  margin: 0 0 22px;
  gap: clamp(14px, 1.6vw, 24px);
}

.question-actions .btn {
  min-width: min(280px, 44%);
  min-height: 58px;
  font-size: 20px;
}

.messenger {
  display: inline-block;
  color: var(--text-link-muted);
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.question-note {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 24px;
  color: var(--text-hint);
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.site-footer {
  padding: 32px var(--footer-inline) 28px;
  background-image: var(--bg-footer);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 1px minmax(210px, 0.44fr) 1px minmax(320px, 0.72fr);
  gap: clamp(28px, 3.5vw, 64px);
  align-items: start;
  width: var(--footer-container);
  margin: 0 auto;
  padding: 38px clamp(32px, 3.6vw, 86px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.footer-main::before,
.footer-main::after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  align-self: stretch;
  background: rgba(var(--line-strong-rgb), 0.58);
}

.footer-main::before {
  grid-column: 2;
  grid-row: 1;
}

.footer-main::after {
  grid-column: 4;
  grid-row: 1;
}

.footer-brand {
  grid-column: 1;
}

.footer-brand img {
  width: 236px;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(18px, 1.12vw, 21px);
  line-height: 1.45;
}

.footer-nav {
  grid-column: 3;
  display: grid;
  gap: 20px;
  font-size: clamp(19px, 1.15vw, 22px);
}

.footer-contacts {
  grid-column: 5;
  display: grid;
  gap: 18px;
  font-style: normal;
  font-size: clamp(20px, 1.25vw, 24px);
  line-height: 1.28;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
  padding-top: 24px;
  color: var(--text-footer);
  font-size: 17px;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom span {
  width: 1px;
  height: 24px;
  background: var(--line-strong);
}

/* Responsive */
@media (min-width: 821px) {
  body {
    background: var(--body-bg-desktop);
  }

  .hero {
    min-height: var(--hero-desktop-min-height);
    height: var(--hero-desktop-height);
    padding-top: 0;
    padding-bottom: var(--hero-desktop-padding-bottom);
    background: var(--paper-warm);
  }

  .hero::after {
    background-position: var(--hero-bg-position-desktop);
    background-size: var(--hero-bg-size-desktop);
  }

  .hero::before {
    display: block;
  }

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

  .logo-link {
    margin-left: 0;
  }

  .main-nav a,
  .header-contacts a,
  .footer-nav a,
  .footer-contacts a {
    transition: var(--transition-link);
  }

  .main-nav a:hover,
  .header-contacts a:hover,
  .footer-nav a:hover,
  .footer-contacts a:hover {
    color: var(--bronze-dark);
  }

  .hero-content {
    width: min(730px, 54vw);
    margin-top: clamp(122px, 17vh, 150px);
    margin-left: 48px;
  }

  .hero-content::before {
    display: none;
  }

  h1 {
    max-width: 700px;
    text-wrap: balance;
  }

  .hero h1 {
    font-size: clamp(62px, 5.4vw, 76px);
    line-height: 0.96;
  }

  .hero-subtitle {
    color: var(--bronze-mid-text);
  }

  .hero-copy {
    max-width: 700px;
    line-height: 1.5;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero-actions .btn {
    min-height: var(--btn-height-hero);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
  }

  .hero-actions .btn-primary {
    min-width: 260px;
    background: var(--btn-primary-hero-bg);
    box-shadow: var(--shadow-button-primary-hero);
  }

  .hero-actions .btn-outline {
    min-width: 228px;
    color: var(--bronze-text);
    border-color: var(--line-bronze-hero);
    background: var(--surface-button-outline-hero);
    box-shadow: none;
  }

  .header-btn {
    position: relative;
    left: 0;
    min-height: var(--btn-height-header);
    padding: 0 14px;
  }

  .header-contacts {
    position: relative;
    left: 0;
  }

  .btn {
    box-shadow: var(--shadow-none);
  }

  .btn-primary {
    box-shadow: var(--shadow-button-primary);
  }

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

  .btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    box-shadow: var(--shadow-button-primary-hover);
  }

  .btn-outline:hover {
    background: var(--surface-button-outline-hover);
    border-color: var(--bronze);
  }

  .section {
    padding-top: var(--section-pad-top-desktop);
    padding-bottom: var(--section-pad-bottom-desktop);
  }

  .section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--section-overlay-bg);
  }

  .section > * {
    position: relative;
    z-index: 1;
  }

  .section-head h2,
  .production-copy h2,
  .calc-copy h2,
  .contract-copy h2,
  .question-copy h2 {
    text-wrap: balance;
  }

  .process {
    margin-top: -1px;
    padding-top: var(--process-pad-top-desktop);
    padding-bottom: var(--process-pad-bottom-desktop);
    background-image: var(--process-overlay-desktop);
  }

  .process .section-head {
    margin-bottom: var(--process-head-margin-desktop);
  }

  .process .section-head h2 {
    margin-bottom: var(--process-title-margin-bottom);
  }

  .step-card,
  .image-card,
  .work-card,
  .review-card,
  .feature-row,
  .calc-form,
  .question-panel {
    background: var(--surface-card-desktop);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
  }

  .step-card,
  .image-card,
  .work-card,
  .review-card {
    transition: var(--transition-surface);
  }

  .step-card:hover,
  .image-card:hover,
  .work-card:hover,
  .review-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-bronze-hover);
    box-shadow: var(--shadow-card-hover);
  }

  .step-card {
    min-height: var(--process-card-min-height);
    padding: var(--process-card-padding);
  }

  .step-card:not(:last-child)::after {
    opacity: 0.42;
  }

  .step-card:not(:last-child)::before {
    box-shadow: 0 0 0 4px var(--surface-card-ring);
    opacity: 0.72;
  }

  .process-cta {
    margin-top: var(--process-cta-margin-top);
    background: var(--surface-process-cta-desktop);
    box-shadow: var(--shadow-process-cta);
  }

  .two-col {
    gap: 72px;
  }

  .production-photo,
  .contract-photo {
    box-shadow: var(--shadow-photo);
  }

  .production-photo img,
  .contract-photo img,
  .image-card img,
  .work-card img {
    filter: var(--photo-filter);
  }

  .feature-list {
    gap: 14px;
  }

  .feature-row {
    transition: var(--transition-surface);
  }

  .feature-row:hover {
    transform: translateX(4px);
    border-color: var(--line-bronze-hover-soft);
  }

  .card-grid {
    gap: 20px;
  }

  .portfolio-grid {
    gap: 72px;
  }

  .image-card,
  .work-card {
    border-radius: var(--radius-lg);
  }

  .image-card img {
    height: 116px;
  }

  .image-card div {
    min-height: 80px;
    padding: 12px 16px 14px;
  }

  .tabs {
    width: min(960px, 100%);
    gap: 18px;
    padding: 8px;
    border: 1px solid var(--line-tabs);
    border-radius: var(--radius-card);
    background: var(--surface-tabs);
  }

  .tabs button {
    transition: background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
  }

  .tabs button:not(.active):hover {
    color: var(--bronze-dark);
    background: var(--surface-tabs-hover);
  }

  .calculation {
    gap: 54px;
    min-height: 0;
  }

  .calc-form {
    background: var(--surface-form-desktop);
    box-shadow: var(--shadow-form);
  }

  .calc-form input,
  .calc-form textarea,
  .calc-form select,
  .upload-field,
  .radio-row label,
  .chip-grid span {
    transition: var(--transition-controls);
  }

  .calc-form input:focus,
  .calc-form textarea:focus,
  .calc-form select:focus {
    outline: none;
    border-color: var(--bronze);
    background: var(--surface-control-bright);
    box-shadow: var(--shadow-focus);
  }

  .chip-grid span:hover,
  .radio-row label:hover {
    border-color: var(--line-bronze-control);
    background: var(--surface-chip-hover);
  }

  .question-panel {
    background: var(--surface-question-desktop);
    box-shadow: var(--shadow-question);
  }

  .questions {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .site-footer {
    box-shadow: var(--shadow-footer-line);
  }
}

@media (max-width: 1260px) {
  :root {
    --container: min(var(--container-tablet-max), calc(100vw - var(--container-tablet-gutter)));
  }

  .site-header {
    grid-template-columns: 180px 1fr auto;
  }

  .logo-link img {
    width: 176px;
  }

  .main-nav {
    gap: 20px;
    font-size: 15px;
  }

  .header-btn {
    display: none;
  }

  .hero-content {
    width: min(600px, 64vw);
    margin-left: 0;
  }

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

  .step-card::before,
  .step-card::after {
    display: none;
  }

  .two-col,
  .calculation,
  .contract {
    grid-template-columns: 1fr;
  }

  .production .two-col {
    grid-template-columns: 1fr;
  }

  .two-col > *,
  .calculation > *,
  .contract > * {
    min-width: 0;
  }

  .production-photo img,
  .contract-photo img {
    height: auto;
    max-height: 520px;
  }

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

  .review-grid::before,
  .review-grid::after {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: minmax(210px, 0.82fr) minmax(360px, 1.5fr) minmax(210px, 0.82fr);
    gap: 48px;
    width: 100%;
  }

  .portfolio-carousel {
    width: min(1000px, calc(100% - 56px));
  }

  .portfolio-control-prev {
    left: calc(29% - 26px);
  }

  .portfolio-control-next {
    right: calc(29% - 26px);
  }

  .portfolio .work-card img {
    height: 300px;
  }

  .portfolio .work-card.is-active img {
    height: 390px;
  }

  .question-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .question-panel::before {
    display: none;
  }

  .question-copy h2 {
    white-space: normal;
  }

  .question-copy,
  .question-actions {
    grid-column: 1;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding-inline: 24px;
  }

  .footer-main::before,
  .footer-main::after {
    display: none;
  }

  .footer-brand,
  .footer-nav,
  .footer-contacts {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  :root {
    --container: calc(100vw - var(--container-mobile-gutter));
    --hero-gutter: var(--mobile-page-gutter);
  }

  body {
    font-size: 16px;
  }

  .section,
  .hero,
  .site-footer {
    padding-left: var(--mobile-page-gutter);
    padding-right: var(--mobile-page-gutter);
  }

  .hero {
    min-height: var(--hero-mobile-min-height);
    padding-bottom: var(--hero-mobile-padding-bottom);
  }

  .hero::after {
    background-position: var(--hero-bg-position-mobile);
    background-size: var(--hero-bg-size-mobile);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100% + (var(--mobile-page-gutter) * 2));
    height: auto;
    min-height: 0;
    margin-left: calc(-1 * var(--mobile-page-gutter));
    padding: 12px var(--mobile-page-gutter) 14px;
    border-bottom-color: var(--line-header-mobile);
    background: var(--surface-header-mobile);
    box-shadow: none;
  }

  .logo-link img {
    width: 138px;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: 14px;
  }

  .header-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero-content {
    width: 100%;
    margin-top: 56px;
  }

  h1,
  .section-head h2,
  .production-copy h2,
  .calc-copy h2,
  .contract-copy h2,
  .question-copy h2 {
    font-size: 46px;
    line-height: 1;
  }

  .hero-copy br {
    display: none;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero h1 {
    font-size: clamp(40px, 10.6vw, 44px);
    line-height: 1.05;
  }

  h1,
  .hero-subtitle,
  .hero-copy {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .mobile-only {
    display: inline;
  }

  .hero-subtitle {
    max-width: 320px;
    font-size: 18px;
    line-height: 1.35;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-copy strong {
    display: block;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    min-height: 50px;
  }

  .hero-trust {
    display: grid;
    gap: 7px;
    max-width: 330px;
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-trust li:not(:last-child)::after {
    display: none;
  }

  .process .section-head h2 {
    font-size: 40px;
  }

  .catalog .section-head {
    margin-bottom: 18px;
  }

  .catalog .section-head h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .catalog .section-head p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.42;
  }

  .section-kicker-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-kicker-line span {
    width: 100%;
  }

  .hero-actions .btn,
  .button-row .btn,
  .wide-btn,
  .contract-btn {
    width: 100%;
    min-width: 0;
  }

  .process-grid,
  .card-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    width: 100%;
    gap: 20px;
  }

  .portfolio .section-head.compact {
    margin-bottom: 24px;
  }

  .portfolio .section-head h2 {
    font-size: 42px;
    line-height: 1.04;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    padding: 0;
  }

  .portfolio-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
  }

  .portfolio-carousel .portfolio-grid {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .portfolio-control {
    position: static;
    width: 100%;
    height: 46px;
    border-radius: var(--radius-sm);
    transform: none;
  }

  .portfolio-control:hover {
    transform: none;
  }

  .portfolio-control-prev {
    grid-column: 1;
    grid-row: 2;
  }

  .portfolio-control-next {
    grid-column: 2;
    grid-row: 2;
  }

  .portfolio .work-card.is-prev,
  .portfolio .work-card.is-next {
    display: none;
  }

  .portfolio .work-card.is-active {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }

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

  .tabs {
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px;
  }

  .tabs button {
    min-height: 42px;
    font-size: 14px;
  }

  .image-card img,
  .work-card img {
    height: 156px;
  }

  .portfolio .work-card img,
  .portfolio .work-card.is-active img {
    height: clamp(226px, 68vw, 280px);
  }

  .catalog .image-card img {
    height: 156px;
  }

  .image-card div,
  .work-card h3 {
    min-height: 0;
  }

  .portfolio .work-card h3,
  .portfolio .work-card.is-active h3 {
    min-height: 74px;
    padding: 14px 16px 16px;
    font-size: 19px;
  }

  .catalog .image-card div {
    min-height: 0;
    padding: 14px 16px 16px;
  }

  .catalog .image-card h3 {
    font-size: 21px;
  }

  .catalog .image-card p {
    font-size: 15px;
    line-height: 1.35;
  }

  .catalog .button-row {
    margin-top: 14px;
  }

  .catalog .button-row .btn,
  .catalog .button-row .btn:nth-child(2) {
    width: 100%;
    min-width: 0;
  }

  .review-card:nth-child(2),
  .review-card:nth-child(3) {
    margin-top: 0;
  }

  .review-card {
    min-height: 0;
    padding: 28px 24px 24px;
  }

  .review-card::before {
    height: 26px;
    margin-bottom: 14px;
    font-size: 46px;
  }

  .review-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .review-author {
    margin-top: 20px;
    padding-top: 18px;
  }

  .review-card strong {
    font-size: 26px;
  }

  .review-card span {
    font-size: 16px;
  }

  .review-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 62px;
    font-size: 16px;
  }

  .process-cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .process-cta > span:first-child {
    display: none;
  }

  .process-cta strong {
    font-size: 30px;
  }

  .feature-row {
    grid-template-columns: 42px 46px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .feature-num {
    font-size: 30px;
  }

  .feature-divider {
    display: none;
  }

  .feature-row img {
    width: 42px;
    height: 42px;
  }

  .feature-row h3 {
    font-size: 21px;
  }

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

  .production-photo img,
  .contract-photo img {
    max-height: 300px;
    object-fit: cover;
  }

  .calc-copy h2 {
    font-size: 42px;
  }

  .chip-grid {
    gap: 10px;
    margin-top: 22px;
  }

  .chip-grid span {
    min-height: 40px;
    min-width: 0;
    padding: 8px 14px;
    font-size: 15px;
  }

  .calc-form h2 {
    font-size: 34px;
  }

  .question-panel {
    min-height: auto;
    padding: 26px 20px;
  }

  .question-copy p,
  .question-actions .phone-stack,
  .question-actions .btn,
  .messenger,
  .question-note {
    font-size: 20px;
  }

  .question-actions .button-row {
    gap: 14px;
  }

  .question-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0;
  }

  .footer-brand img {
    width: 220px;
  }

  .footer-brand p,
  .footer-nav,
  .footer-contacts,
  .footer-bottom {
    font-size: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }

  .footer-bottom span {
    display: none;
  }
}
