:root {
  --ink: #101314;
  --ink-2: #171d1f;
  --paper: #f5f2eb;
  --paper-2: #e9e2d7;
  --soft: #d8d0c4;
  --line: rgba(16, 19, 20, 0.15);
  --line-dark: rgba(245, 242, 235, 0.16);
  --muted: #6d675f;
  --muted-dark: rgba(245, 242, 235, 0.7);
  --accent: #b78b62;
  --accent-soft: #e7d1ba;
  --accent-deep: #6f5036;
  --blueprint: #1f3d46;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(16, 19, 20, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 20, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
  color: var(--ink);
  font-family:
    "Segoe UI", Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.48;
}

body.lightbox-open {
  overflow: hidden;
}

body::selection {
  background: var(--accent);
  color: var(--ink);
}

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

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

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin: 0 auto 24px;
  color: #fff;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 780;
  line-height: 0.98;
  text-align: center;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(32px, 4.6vw, 66px);
  font-weight: 740;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.06;
}

p {
  margin-bottom: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 12px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid rgba(245, 242, 235, 0.14);
  background: rgba(16, 19, 20, 0.82);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 204px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(245, 242, 235, 0.32);
  background:
    linear-gradient(135deg, rgba(245, 242, 235, 0.24), rgba(245, 242, 235, 0)),
    var(--accent-deep);
  color: #fff;
  font-weight: 900;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  line-height: 1;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 850;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 11px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  flex: 0 0 auto;
  padding: 10px 11px;
  border: 1px solid transparent;
  color: rgba(245, 242, 235, 0.75);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.is-active {
  border-color: rgba(231, 209, 186, 0.45);
  background: rgba(231, 209, 186, 0.1);
  color: #fff;
}

.header-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(245, 242, 235, 0.28);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    radial-gradient(circle at 50% 48%, rgba(16, 19, 20, 0.22), rgba(16, 19, 20, 0.74) 58%, rgba(16, 19, 20, 0.92)),
    linear-gradient(0deg, rgba(16, 19, 20, 0.88), rgba(16, 19, 20, 0.1) 56%, rgba(16, 19, 20, 0.64));
  pointer-events: none;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.85) contrast(1.08) brightness(0.9);
}

.hero-lightline {
  position: absolute;
  z-index: 3;
  top: 22%;
  left: 50%;
  width: min(72vw, 980px);
  height: min(38vw, 360px);
  border-top: 2px solid rgba(255, 255, 255, 0.48);
  border-right: 2px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(231, 209, 186, 0.5);
  transform: translateX(-50%) skewX(-14deg);
  filter: drop-shadow(0 0 18px rgba(245, 242, 235, 0.22));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  width: var(--container);
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  margin: 0 auto;
  padding: 104px 0 54px;
}

.hero-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 18px;
  color: rgba(245, 242, 235, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content {
  align-self: center;
  justify-self: center;
  max-width: 1060px;
  text-align: center;
}

.section-index {
  margin-bottom: 16px;
  color: var(--accent-deep);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .section-index {
  color: var(--accent-soft);
}

.hero-text {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(245, 242, 235, 0.8);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-outline {
  border-color: rgba(245, 242, 235, 0.36);
  color: #fff;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 104px 0;
  scroll-margin-top: 86px;
}

.section-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.85fr);
  gap: 28px 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-top .section-index {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-top p:not(.section-index),
.process-copy p:not(.section-index),
.lead-copy p,
.contacts p {
  color: var(--muted);
  font-size: 18px;
}

.section-top.compact {
  display: block;
  max-width: 880px;
}

.section-top.compact .section-index {
  margin-bottom: 18px;
}

.service-system {
  display: grid;
  gap: 18px;
}

.service-prime {
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.service-prime img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 460px;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.92) contrast(1.04);
}

.service-prime div {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink);
}

.service-prime span,
.service-stack span,
.doors-panel span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-prime span {
  color: var(--accent-soft);
}

.service-prime p {
  color: var(--muted-dark);
}

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

.service-stack article,
.advantage-grid article,
.trust-grid article {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(245, 242, 235, 0.74);
  overflow: hidden;
}

.service-stack article {
  min-height: 250px;
}

.service-stack article::after,
.advantage-grid article::after,
.trust-grid article::after {
  position: absolute;
  content: "";
  right: -70px;
  bottom: 26px;
  width: 170px;
  height: 1px;
  background: rgba(183, 139, 98, 0.42);
  transform: rotate(-34deg);
}

.service-stack p,
.advantage-grid p,
.steps-line p,
.trust-grid p,
.faq-list p,
.form-note {
  color: var(--muted);
}

.service-extra {
  background: var(--blueprint) !important;
  color: #fff;
}

.service-extra p {
  color: rgba(245, 242, 235, 0.78);
  font-size: 19px;
  font-weight: 650;
}

.doors-panel {
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  border: 1px solid var(--line);
  background: #fffaf1;
}

.doors-panel-copy {
  display: grid;
  align-content: center;
  padding: clamp(26px, 3.4vw, 46px);
}

.doors-panel-copy p {
  color: var(--muted);
}

.doors-panel-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  min-height: 330px;
  background: var(--line);
}

.doors-panel-photos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f5f2eb;
}

.advantages {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: #fff;
}

.advantages .section-index {
  color: var(--accent-soft);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
}

.advantage-grid article {
  min-height: 310px;
  border: 0;
  background: var(--ink-2);
}

.advantage-grid span {
  display: block;
  width: 56px;
  height: 2px;
  margin-bottom: 74px;
  background: var(--accent-soft);
  box-shadow: 0 0 22px rgba(231, 209, 186, 0.34);
}

.advantage-grid p {
  color: var(--muted-dark);
}

.production-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.production-photo,
.materials-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.production-photo {
  min-height: 520px;
}

.production-photo img,
.materials-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.production-photo img {
  object-position: center 54%;
}

.production-photo:hover img,
.materials-grid article:hover img {
  transform: scale(1.03);
  filter: contrast(1.04);
}

.production-copy {
  display: grid;
  align-content: end;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(183, 139, 98, 0.16), transparent 44%),
    #fffaf1;
}

.production-copy .section-index {
  margin-bottom: 22px;
  color: var(--accent-deep);
}

.production-copy h3 {
  max-width: 560px;
  font-size: clamp(28px, 3.2vw, 48px);
}

.production-copy p {
  max-width: 560px;
  color: var(--muted);
}

.production-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.production-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.production-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.materials-grid article {
  display: grid;
  min-height: 340px;
  grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.82fr);
  align-items: stretch;
}

.materials-grid img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  min-height: 0;
  object-fit: contain;
  background: #f2eee6;
}

.material-card-msd img {
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.materials-grid article:nth-child(2) img,
.materials-grid article:nth-child(3) img,
.materials-grid article:nth-child(4) img {
  object-fit: cover;
  object-position: center;
}

.materials-grid article:nth-child(3) {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.78fr);
}

.materials-grid article:nth-child(3) img,
.materials-grid article:nth-child(4) img {
  max-height: 320px;
}

.material-card-accessories {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  min-height: 340px;
}

.material-card-accessories > div:not(.accessories-photos) {
  align-content: center;
}

.accessories-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  min-height: 340px;
  max-height: 360px;
  background: var(--line);
}

.accessories-photos img {
  object-fit: cover;
  object-position: center;
}

.accessories-photos img:nth-child(2) {
  object-position: center;
}

.accessories-photos img:nth-child(3) {
  object-position: center 48%;
}

.materials-grid article > div:not(.accessories-photos) {
  display: grid;
  align-content: end;
  min-height: 0;
  padding: clamp(22px, 2.6vw, 32px);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.materials-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 950;
}

.materials-grid h3 {
  font-size: clamp(20px, 1.9vw, 26px);
}

.materials-grid p {
  color: var(--muted);
  font-size: 16px;
}

.process-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
}

.process-board figure,
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.process-board img,
.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 500ms ease, filter 500ms ease;
}

.process-board img {
  object-fit: cover;
}

.gallery-item img {
  object-fit: contain;
  background: #d8d0c4;
}

.process-board figure:hover img,
.gallery-item:hover img {
  transform: scale(1.035);
  filter: contrast(1.04);
}

.process-board figure {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.process-board figure:nth-child(2) img {
  object-position: center 58%;
}

.process-board figure:nth-child(3) img {
  object-position: center 42%;
}

figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 11px;
  background: rgba(16, 19, 20, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.steps {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-line li {
  position: relative;
  min-height: 270px;
  padding: 30px 24px 26px;
  border-right: 1px solid var(--line);
}

.steps-line li:first-child {
  border-left: 1px solid var(--line);
}

.steps-line li::before {
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.steps-line span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--accent-deep);
  font-weight: 950;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 260px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  display: block;
  min-height: 260px;
  padding: 0;
  cursor: zoom-in;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.trust {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(183, 139, 98, 0.17), transparent 38%),
    var(--blueprint);
  color: #fff;
}

.trust .section-index {
  color: var(--accent-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-grid article {
  min-height: 150px;
  border-color: rgba(245, 242, 235, 0.16);
  background: rgba(16, 19, 20, 0.28);
}

.trust-grid p {
  color: var(--muted-dark);
}

.certificates {
  scroll-margin-top: 86px;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.certificate-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffaf1;
}

.certificate-preview {
  display: grid;
  height: 390px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(16, 19, 20, 0.04), transparent 42%),
    var(--soft);
}

.certificate-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 420ms ease, filter 420ms ease;
}

.certificate-preview:hover img {
  transform: scale(1.025);
  filter: contrast(1.04);
}

.certificate-card div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.certificate-card span {
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.certificate-card h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.certificate-card p {
  color: var(--muted);
}

.certificate-card div a {
  width: fit-content;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  gap: 54px;
  align-items: start;
}

.lead-copy {
  padding-top: 16px;
}

.lead-copy h2 {
  margin-bottom: 22px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(183, 139, 98, 0.12), transparent 42%),
    #fffaf1;
  box-shadow: 22px 22px 0 rgba(16, 19, 20, 0.08);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(183, 139, 98, 0.32);
  outline-offset: 2px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.consent-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  text-transform: none;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
}

.consent-line a {
  color: var(--accent-deep);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}

.consent-note a {
  color: var(--accent-deep);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form button {
  min-height: 54px;
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(183, 139, 98, 0.08);
  font-size: 13px;
  line-height: 1.45;
}

.form-note a {
  color: var(--accent-deep);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: clamp(20px, 2.8vw, 31px);
  font-weight: 760;
  line-height: 1.12;
}

details p {
  max-width: 760px;
  padding-bottom: 24px;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contacts .section-index {
  margin-bottom: 18px;
}

.contact-panel {
  display: grid;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.contact-panel a,
.contact-panel span {
  padding: 20px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 20px;
  font-weight: 850;
}

.contact-panel a:hover {
  background: rgba(245, 242, 235, 0.08);
}

.contact-panel span {
  border-bottom: 0;
  color: var(--muted-dark);
  font-size: 16px;
}

.map-panel {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  min-height: 260px;
  align-content: end;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(31, 61, 70, 0.9), rgba(16, 19, 20, 0.7)),
    linear-gradient(rgba(245, 242, 235, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 235, 0.12) 1px, transparent 1px),
    var(--blueprint);
  background-size: auto, 42px 42px, 42px 42px, auto;
  color: #fff;
}

.map-panel::before,
.map-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.map-panel::before {
  inset: 34px 48px;
  border: 1px solid rgba(245, 242, 235, 0.22);
  transform: skewX(-12deg);
}

.map-panel::after {
  right: clamp(34px, 8vw, 120px);
  bottom: clamp(54px, 7vw, 92px);
  width: 18px;
  height: 18px;
  background: var(--accent-soft);
  box-shadow: 0 0 0 10px rgba(231, 209, 186, 0.14), 0 0 34px rgba(231, 209, 186, 0.4);
  transform: rotate(45deg);
}

.map-panel span,
.map-panel strong,
.map-panel em {
  position: relative;
  z-index: 1;
}

.map-panel span {
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-panel strong {
  max-width: 680px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
}

.map-panel em {
  margin-top: 18px;
  color: var(--muted-dark);
  font-style: normal;
  font-weight: 760;
}

.legal-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(245, 242, 235, 0.72);
}

.legal-panel h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2vw, 30px);
}

.legal-panel p {
  color: var(--ink);
  font-weight: 760;
}

.legal-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.legal-panel dl div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: var(--paper);
}

.legal-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.legal-panel details {
  border-bottom: 0;
}

.legal-panel summary {
  display: inline-flex;
  padding: 0;
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-panel details dl {
  margin-top: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px) 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 950;
}

.site-footer a {
  color: var(--ink);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-contact-bar {
  display: none;
}

.cookie-notice {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: min(420px, calc(100% - 36px));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(245, 242, 235, 0.16);
  background: rgba(16, 19, 20, 0.94);
  color: #fff;
  box-shadow: 0 24px 70px rgba(16, 19, 20, 0.32);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: rgba(245, 242, 235, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-notice a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice button {
  justify-self: start;
  min-height: 40px;
  border: 0;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.policy-page {
  background: var(--paper);
}

.policy-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 138px 0 80px;
}

.policy-content h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(42px, 5.6vw, 74px);
  text-align: left;
}

.policy-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.policy-content section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  margin-bottom: 16px;
  font-size: clamp(25px, 3vw, 40px);
}

.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.policy-content .button {
  margin-top: 34px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 74px;
  grid-template-rows: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 72px 24px 24px;
  background: rgba(12, 14, 15, 0.94);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  position: relative;
  grid-column: 2;
  width: 100%;
  height: calc(100svh - 152px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 0 6px;
}

.lightbox-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 214px);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  transition: transform 220ms ease;
}

.lightbox.is-zoomed .lightbox-frame img {
  max-width: none;
  max-height: none;
  transform: scale(1);
  cursor: zoom-out;
}

.lightbox.is-zoomed .lightbox-frame {
  align-items: flex-start;
  justify-content: flex-start;
}

.lightbox-frame figcaption {
  position: static;
  display: flex;
  width: min(100%, 980px);
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 0;
  background: transparent;
  color: rgba(245, 242, 235, 0.82);
  font-size: 13px;
  backdrop-filter: none;
}

.lightbox-close,
.lightbox-nav,
.lightbox-zoom {
  border: 1px solid rgba(245, 242, 235, 0.22);
  background: rgba(245, 242, 235, 0.08);
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 34px;
  line-height: 1;
}

.lightbox-nav {
  width: 64px;
  height: 92px;
  font-size: 54px;
  line-height: 1;
}

.lightbox-prev {
  grid-column: 1;
  justify-self: center;
}

.lightbox-next {
  grid-column: 3;
  justify-self: center;
}

.lightbox-zoom {
  grid-column: 2;
  justify-self: center;
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-action {
    display: none;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .section-top,
  .trust,
  .lead,
  .contacts {
    grid-template-columns: 1fr;
  }

  .service-prime,
  .service-stack,
  .doors-panel {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .steps-line,
  .gallery-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .production-showcase,
  .materials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .materials-grid article,
  .materials-grid article:nth-child(3),
  .materials-grid article:nth-child(4),
  .material-card-accessories {
    grid-template-columns: 1fr;
  }

  .materials-grid article > div:not(.accessories-photos) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .production-copy {
    align-content: start;
  }

  .doors-panel-photos {
    min-height: 300px;
  }
}

  @media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    justify-content: flex-start;
    margin-right: -14px;
  }

  .main-nav a {
    padding: 9px 10px;
    font-size: 11px;
  }

  .hero-grid {
    padding-top: 142px;
    min-height: 92svh;
  }

  .hero-kicker {
    display: grid;
  }

  h1 {
    font-size: 40px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
    line-height: 1.06;
  }

  .hero-actions {
    display: grid;
  }

  .section {
    padding: 74px 0;
    scroll-margin-top: 126px;
  }

  .section-top .section-index {
    margin-bottom: 0;
  }

  .advantages,
  .trust {
    padding-right: 26px;
    padding-left: 26px;
  }

  .advantages .section-top,
  .trust > div:first-child {
    padding-right: 2px;
    padding-left: 2px;
  }

  .service-prime {
    min-height: auto;
  }

  .service-prime div {
    min-height: auto;
    padding: 26px 22px 28px;
    border-top: 1px solid rgba(245, 242, 235, 0.14);
    background: var(--ink);
    box-shadow: none;
    backdrop-filter: none;
  }

  .service-prime img {
    width: 100%;
    height: 330px;
    min-height: 330px;
    max-height: none;
  }

  .service-prime span {
    margin-bottom: 18px;
  }

  .service-prime h3 {
    font-size: 28px;
  }

  .doors-panel-photos {
    grid-template-columns: 1fr;
  }

  .doors-panel-photos img {
    height: 260px;
  }

  .advantage-grid,
  .steps-line,
  .gallery-grid,
  .trust-grid,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .certificate-preview {
    height: 340px;
  }

  .process-board {
    grid-template-columns: 1fr;
  }

  .production-showcase,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .materials-grid article {
    min-height: auto;
  }

  .materials-grid img {
    height: 300px;
  }

  .accessories-photos {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }

  .accessories-photos img {
    height: 300px;
  }

  .production-photo {
    min-height: 360px;
  }

  .process-board figure {
    aspect-ratio: 4 / 5;
  }

  .steps-line li,
  .steps-line li:first-child {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .gallery-grid {
    grid-auto-rows: 360px;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .lead-form {
    padding: 20px;
    box-shadow: 12px 12px 0 rgba(16, 19, 20, 0.08);
  }

  .legal-panel {
    padding: 20px;
  }

  .legal-panel dl {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .cookie-notice {
    right: 10px;
    bottom: 76px;
    width: calc(100% - 20px);
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 70;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(245, 242, 235, 0.18);
    background: rgba(245, 242, 235, 0.18);
    box-shadow: 0 20px 50px rgba(16, 19, 20, 0.26);
  }

  .mobile-contact-bar a {
    display: grid;
    min-height: 54px;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .lightbox {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding: 64px 10px 18px;
  }

  .lightbox-frame {
    height: calc(100svh - 142px);
    padding: 0;
  }

  .lightbox-frame img {
    max-height: calc(100svh - 214px);
  }

  .lightbox-nav {
    width: 44px;
    height: 72px;
    font-size: 42px;
  }

  .lightbox-frame figcaption {
    display: grid;
    text-align: center;
  }

  .lightbox.is-zoomed {
    grid-template-columns: 1fr;
    padding: 72px 10px 72px;
  }

  .lightbox.is-zoomed .lightbox-frame {
    grid-column: 1;
    height: calc(100svh - 144px);
    align-items: flex-start;
    justify-content: flex-start;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox.is-zoomed .lightbox-frame img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    min-width: 100%;
    transform: scale(1);
  }

  .lightbox.is-zoomed .lightbox-frame figcaption,
  .lightbox.is-zoomed .lightbox-nav {
    display: none;
  }

  .lightbox.is-zoomed .lightbox-zoom {
    position: fixed;
    z-index: 2;
    right: 10px;
    bottom: 10px;
    grid-column: auto;
  }
}
