:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --cream: #fcfaf6;
  --ink: #222722;
  --soft-ink: #544f47;
  --line: #d8d0c3;
  --night: #202421;
  --blue: #055c9e;
  --serif: Georgia, Cambria, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  font: 16px/1.5 var(--sans);
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
a { color: inherit; text-underline-offset: 0.16em; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, input:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(calc(100% - 9rem), 80rem); margin-inline: auto; }

.top { background: var(--cream); border-bottom: 1px solid #dfd9ce; }
.top-inner { min-height: 5.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; }
.brand { flex: none; display: inline-flex; }
.brand img { width: 10rem; height: auto; }
.top nav { display: flex; align-items: center; gap: clamp(1.25rem, 3.5vw, 3.9rem); }
.top a, .footer a { text-decoration: none; }
.top nav a { color: #353833; font-size: 0.94rem; font-weight: 600; }
.top nav a:hover, .header-phone:hover { color: var(--blue); }
.header-phone { font-size: 0.96rem; font-weight: 650; white-space: nowrap; }

.hero { position: relative; isolation: isolate; background: var(--night); color: #fcfaf6; }
.hero-picture { position: absolute; inset: 0 0 0 22%; z-index: -2; overflow: hidden; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #202421 0%, #202421 20%, #202421eb 31%, #20242183 48%, #20242113 66%, #201d182a 100%); }
.hero-inner { min-height: 40rem; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 23.25rem); align-items: center; column-gap: 2.5rem; padding-block: 3.2rem; }
.hero-content { padding-bottom: 0.8rem; }
.locations { display: flex; align-items: center; flex-wrap: wrap; gap: 0.48rem; color: #f4e5cf; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.locations::before { content: ""; width: 1.85rem; height: 1px; margin-right: 0.26rem; background: #c8ab86; }
.locations span { color: #d8bfa0; }
h1 { margin: 1.05rem 0 1.25rem; font: 400 clamp(3.1rem, 5.9vw, 6.15rem)/0.99 var(--serif); letter-spacing: -0.075em; text-wrap: nowrap; }
h1 em { display: block; color: #ecdbc2; font-weight: 400; }
.intro { color: #f0ede6; font-size: clamp(1.08rem, 1.55vw, 1.35rem); max-width: 29rem; line-height: 1.44; text-wrap: pretty; }
.request { color: var(--ink); width: 100%; padding: 1.65rem 1.7rem 1.7rem; border: 1px solid #e8decd; background: var(--cream); box-shadow: 0 0.95rem 2.6rem #1e1e1b26; }
.request h2 { font: 400 1.875rem/1.13 var(--serif); letter-spacing: -0.046em; }
.form-intro { margin-top: 0.42rem; margin-bottom: 1.12rem; color: var(--soft-ink); font-size: 0.91rem; line-height: 1.36; }
.field { display: grid; gap: 0.26rem; margin-bottom: 0.7rem; color: #302e28; font-size: 0.86rem; font-weight: 650; }
.field input { height: 2.77rem; padding: 0.6rem 0.72rem; border: 1px solid #d3cbbe; border-radius: 0.15rem; background: #fffeff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.field input::placeholder { color: #686760; opacity: 1; }
.attachment { display: flex; position: relative; align-items: center; gap: 0.65rem; padding: 0.5rem 0.65rem; border: 1px dashed #b7aea0; border-radius: 0.15rem; color: #23445c; cursor: pointer; }
.attachment:hover { background: #f5f3ed; }
.attachment input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attachment:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.attachment svg { flex: 0 0 1.14rem; height: 1.14rem; }
.attachment strong, .attachment small { display: block; }
.attachment strong { font-size: 0.85rem; line-height: 1.2; font-weight: 650; }
.attachment small { color: var(--soft-ink); font-size: 0.79rem; }
.consent { display: flex; gap: 0.42rem; align-items: flex-start; margin-top: 0.85rem; color: var(--soft-ink); font-size: 0.79rem; line-height: 1.35; }
.consent input { flex: none; width: 0.94rem; height: 0.94rem; margin: 0.12rem 0 0; accent-color: var(--blue); }
.nt-submit, .end-cta { display: inline-flex; justify-content: center; align-items: center; min-height: 3.1rem; padding: 0.6rem 1rem; color: #fff; background: var(--blue); border: 0; border-radius: 0.15rem; text-decoration: none; font-size: 0.99rem; font-weight: 650; }
.nt-submit { width: 100%; margin-top: 1rem; }
.nt-submit:hover, .end-cta:hover { background: #044e86; }

.materials { background: #eeebe3; border-bottom: 1px solid var(--line); }
.material-grid { min-height: 9.25rem; display: grid; grid-template-columns: 1.05fr 0.98fr 1.13fr 1.04fr; gap: 1rem; align-items: center; padding-block: 1.9rem; }
.material-grid h2 { font: 400 clamp(1.5rem, 2.6vw, 2.4rem)/1.07 var(--serif); letter-spacing: -0.06em; }
.material-grid > div { padding-left: 1.35rem; border-left: 1px solid #c8bfad; }
.material-grid h3 { font-size: 1.03rem; font-weight: 680; }
.material-grid p { margin-top: 0.16rem; font-size: 0.9rem; color: var(--soft-ink); }

.examples { padding-block: 5.25rem 5.5rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 1.7rem; border-bottom: 1px solid var(--line); }
.section-head h2, .process h2 { font: 400 clamp(2.45rem, 4.85vw, 4.55rem)/1.03 var(--serif); letter-spacing: -0.064em; }
.section-head > p { min-width: 10rem; max-width: 18rem; padding-bottom: 0.22rem; color: var(--soft-ink); font-size: 0.9375rem; text-wrap: pretty; }
.examples-grid { display: grid; grid-template-columns: minmax(0, 1.21fr) minmax(0, 1fr); gap: clamp(2rem, 4.25vw, 4.25rem); align-items: start; margin-top: 2.25rem; }
.case { border-bottom: 1px solid var(--line); }
.case:nth-child(2) { margin-top: 4.2rem; }
.case img { width: 100%; height: auto; aspect-ratio: 1.51; object-fit: cover; object-position: 50% 58%; }
.case-body { padding-block: 1.3rem 1.65rem; }
.case h3 { font: 400 clamp(1.55rem, 2.35vw, 2.3rem)/1.1 var(--serif); letter-spacing: -0.045em; }
.case p { margin-top: 0.52rem; max-width: 35rem; color: var(--soft-ink); text-wrap: pretty; }

.process { padding-block: 4.5rem; background: #ece8de; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.process-grid > div { border-top: 1px solid #b7aa96; padding-top: 1rem; }
.process-grid h3 { font-size: 1.15rem; }
.process-grid p { margin-top: 0.45rem; color: var(--soft-ink); }
.end-cta { margin-top: 2rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 2rem; }

@media (max-width: 70rem) {
  .wrap { width: calc(100% - 5rem); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(19rem, 21rem); }
  .hero-picture { left: 16%; }
}

@media (max-width: 54rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-inner { min-height: 36rem; gap: 1rem; grid-template-columns: minmax(0, 1fr) 18.5rem; }
  h1 { font-size: clamp(2.95rem, 6vw, 3.75rem); }
  .material-grid { grid-template-columns: repeat(3, 1fr); }
  .material-grid h2 { grid-column: 1 / -1; }
  .material-grid > div:first-of-type { padding-left: 0; border: 0; }
  .case:nth-child(2) { margin-top: 2rem; }
}

@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .top-inner { min-height: 4.22rem; gap: 0.6rem; }
  .brand img { width: 7.75rem; }
  .top nav { display: none; }
  .header-phone { font-size: 0.84rem; }
  .hero-picture { inset: 0 0 auto; height: 27rem; }
  .hero-picture img { object-position: 57% 48%; }
  .hero::before { bottom: auto; height: 27rem; background: linear-gradient(180deg, #1d211dbf 0%, #1d211d57 66%, #202421 100%), linear-gradient(90deg, #1d211da8, transparent 100%); }
  .hero-inner { display: block; min-height: auto; padding-block: 2.25rem 1.4rem; }
  .hero-content { min-height: 20.1rem; padding-bottom: 1rem; }
  .locations { font-size: 0.69rem; letter-spacing: 0.07em; gap: 0.31rem; }
  .locations::before { width: 1.25rem; margin-right: 0.14rem; }
  h1 { margin-block: 0.8rem 1rem; font-size: clamp(2.24rem, 10.4vw, 4.35rem); }
  .intro { max-width: 19.75rem; font-size: 1.06rem; line-height: 1.42; }
  .request { max-width: 30rem; padding: 1.18rem 1.12rem 1.23rem; }
  .request h2 { font-size: 1.7rem; }
  .form-intro { margin-bottom: 0.85rem; }
  .material-grid { grid-template-columns: 1fr; align-items: start; gap: 0.7rem; padding-block: 1.6rem; }
  .material-grid > div, .material-grid > div:first-of-type { padding: 0.65rem 0 0; border: 0; border-top: 1px solid var(--line); }
  .material-grid h2 { margin-bottom: 0.15rem; font-size: 1.95rem; }
  .examples { padding-block: 3.35rem; }
  .section-head { display: grid; gap: 0.75rem; padding-bottom: 1.1rem; }
  .examples-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.25rem; }
  .case:nth-child(2) { margin-top: 0; }
  .process { padding-block: 3rem; }
  .process-grid { grid-template-columns: 1fr; gap: 1.15rem; }
}

[hidden] { display: none !important; }
section[id], #zayavka { scroll-margin-top: 1rem; }
.nt-file-row { display: flex; align-items: center; justify-content: space-between; gap: 0.55rem; margin-top: 0.35rem; font-size: 0.875rem; }
.nt-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-remove { padding: 0.2rem; border: 0; color: var(--blue); background: none; text-decoration: underline; }
.nt-submit:disabled { opacity: 0.7; cursor: default; }
.nt-demo { margin-top: 0.55rem; color: var(--soft-ink); font-size: 0.79rem; text-align: center; text-wrap: balance; }
.nt-form-status { margin-top: 0.65rem; padding: 0.55rem 0.65rem; color: #18523a; background: #e9f2e8; border-radius: 0.15rem; font-size: 0.875rem; overflow-wrap: anywhere; }
.nt-form-status[data-state="error"] { color: #862b28; background: #f7ebe7; }
.nt-form-status[data-state="pending"] { color: #23445c; background: #e9f0f5; }
.nt-form-status:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.footer { flex-wrap: wrap; font-size: 0.9rem; }
.footer-contact { display: grid; text-align: right; }
@media (max-width: 43rem) {
  .footer-contact { text-align: left; }
}
