@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Фирменный цвет задаётся здесь. */
:root {
  color-scheme: dark;
  --accent: #e6bb86;
  --bg: #141514;
  --panel: #1b1d1b;
  --line: #373934;
  --text: #f4f3ee;
  --muted: #bfc1b9;
  --gutter: clamp(18px, 6vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-padding-block: 24px 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Manrope, Arial, sans-serif; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1296px); margin-inline: auto; }
.skip { position: fixed; z-index: 8; left: 12px; top: -100px; padding: 10px; background: var(--bg); }
.skip:focus { top: 10px; }
i[data-icon] { display: inline-flex; flex: none; align-items: center; justify-content: center; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: var(--bg); }
.head-row { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.mark { width: 44px; height: 38px; flex: none; display: grid; align-items: center; color: var(--accent); }
.brand-name { display: grid; gap: 5px; overflow-wrap: anywhere; }
.brand-name b { font-size: 20px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.brand-name small { font-size: 9px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.nav { display: flex; gap: clamp(22px, 3vw, 45px); }
.nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 650; color: var(--muted); }
.nav a:hover, .text-link:hover { color: var(--text); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.menu { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-top: clamp(35px, 4vw, 61px); }
.hero-location { display: flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 650; }
.hero-location .icon { width: 17px; height: 17px; }
h1 { margin: 15px 0 18px; font-size: clamp(40px, 5.1vw, 76px); line-height: 1.04; letter-spacing: -.052em; font-weight: 800; overflow-wrap: anywhere; }
.hero-copy > #description { max-width: 37ch; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); }
.hero-media { aspect-ratio: 1.35; border-radius: 16px; overflow: hidden; background: var(--panel); position: relative; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid #fff2; border-radius: inherit; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 800; line-height: 1.28; text-align: center; }
.btn .icon { width: 17px; height: 17px; }
.primary { background: var(--accent); color: #1c1b17; }
.primary:hover { background: color-mix(in srgb, var(--accent) 84%, white); }
.secondary { border-color: #53564d; }
.secondary:hover { background: var(--panel); border-color: var(--accent); }

.section { margin-top: clamp(49px, 6vw, 92px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 23px; }
h2 { font-size: clamp(30px, 3.4vw, 49px); line-height: 1.1; font-weight: 800; letter-spacing: -.043em; }
h3 { font-size: clamp(17px, 1.65vw, 22px); font-weight: 800; line-height: 1.24; letter-spacing: -.029em; overflow-wrap: anywhere; }
.section-head p, .price-note { color: var(--muted); font-size: 13px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 15px; border: 1px solid var(--line); border-radius: 12px; padding: clamp(17px, 2vw, 26px); background: var(--panel); }
.service > i { width: 46px; height: 46px; border: 1px solid #4b4437; border-radius: 8px; background: #25251f; color: var(--accent); }
.service > i .icon { width: 28px; height: 25px; stroke-width: 1.65; }
.service p, .steps p, .contact-intro p { color: var(--muted); font-size: 14px; }
.service p { margin-top: 6px; }
.service-meta { text-align: right; }
.price { display: flex; justify-content: flex-end; align-items: baseline; gap: 4px; color: var(--accent); white-space: nowrap; font-size: 12px; font-weight: 650; }
.price strong { font-size: 22px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; font-weight: 800; min-height: 44px; }
.text-link .icon { width: 14px; height: 14px; }
.price-note { margin-top: 11px; }

.estimate { padding: clamp(18px, 3.5vw, 47px); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.scenario-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(18px, 2.4vw, 30px); }
.scenario-button { min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 14px; font-weight: 750; text-align: left; }
.scenario-button:hover { border-color: var(--muted); color: var(--text); }
.scenario-button[aria-pressed="true"] { border-color: var(--accent); background: #2d281f; color: var(--accent); }
.estimate-head { margin-bottom: clamp(19px, 3vw, 34px); }
.estimate-head p { margin-top: 8px; font-size: 15px; }
.estimate-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); align-items: start; gap: clamp(18px, 4vw, 54px); }
.estimate-fields { display: grid; gap: 19px; }
.estimate-fields fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.estimate-fields legend, .model-field label { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.request-options { display: flex; flex-wrap: wrap; gap: 7px; }
.request-option { position: relative; cursor: pointer; }
.request-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.request-option span { display: flex; min-height: 44px; align-items: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 750; }
.request-option input:checked + span { border-color: var(--accent); background: #2d281f; color: var(--accent); }
.request-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.estimate-options { display: grid; gap: 7px; }
.estimate-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; min-height: 45px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px; }
.estimate-option:has(input:checked) { border-color: var(--accent); background: #2a261f; }
.estimate-option input { inline-size: 17px; block-size: 17px; margin: 0; accent-color: var(--accent); }
.estimate-option input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.estimate-option-price { color: var(--muted); text-align: right; font-size: 13px; white-space: nowrap; }
.model-field label { display: block; }
.model-field label span { margin-left: 5px; color: var(--muted); font-size: 13px; font-weight: 500; }
.model-field { min-width: 0; }
.model-field input, .model-field select, #booking-draft { width: 100%; max-width: 100%; min-width: 0; padding: 11px 12px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.model-field :is(input, select) { min-height: 45px; }
.model-field select { appearance: none; padding-right: 38px; background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 19px center / 5px 5px no-repeat, linear-gradient(135deg, var(--muted) 50%, transparent 50%) right 14px center / 5px 5px no-repeat, var(--bg); }
.model-field :is(input, select):focus-visible, #booking-draft:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.estimate-summary { padding: clamp(16px, 3vw, 35px); border: 1px solid #4b4437; border-radius: 12px; background: #24231e; }
.estimate-summary h3 { font-size: 16px; letter-spacing: 0; }
.estimate-summary output { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; margin-block: 6px 9px; color: var(--accent); }
#estimate-amount { font-size: clamp(25px, 3.15vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; overflow-wrap: anywhere; }
#estimate-unit { font-size: 14px; font-weight: 750; white-space: nowrap; }
.estimate-summary p { color: var(--muted); font-size: 14px; }
.estimate-summary .btn { width: 100%; margin-top: 16px; }
.estimate-summary .btn:disabled { opacity: .58; cursor: default; }
.estimate-summary .estimate-demo { margin-top: 9px; font-size: 13px; }

.gallery { display: grid; grid-template-columns: 1.24fr 1fr 1fr; gap: 12px; }
.photo { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; padding: 0; background: var(--panel); text-align: left; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.photo img { width: 100%; height: clamp(185px, 18vw, 265px); object-fit: cover; }
.photo-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 15px; font-size: 14px; font-weight: 750; }
.photo-label .icon { width: 15px; color: var(--accent); }
.photo:hover { border-color: var(--accent); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 7px 12px; border-top: 1px solid var(--line); padding-top: 17px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); color: var(--accent); border-radius: 50%; font-size: 13px; font-weight: 800; }
.steps p { grid-column: 2; max-width: 35ch; align-self: start; }

.contacts { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(22px, 4.4vw, 65px); padding: clamp(22px, 4vw, 57px); background: linear-gradient(120deg, #25241f, var(--panel) 65%); border: 1px solid var(--line); border-radius: 14px; }
.contact-intro p { margin: 11px 0 20px; font-size: 15px; max-width: 39ch; }
.contact-info { display: grid; gap: 13px; align-content: center; border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 56px); }
.contact-info dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.contact-info .icon { color: var(--accent); width: 16px; height: 16px; }
.contact-info dd { margin: 3px 0 0 24px; overflow-wrap: anywhere; }
.contact-info a { text-decoration: underline; text-underline-offset: 3px; }
.mobile-booking { display: none; }

.footer { margin-top: 50px; }
.portfolio { display: flex; gap: 12px 22px; justify-content: space-between; align-items: center; padding-block: 19px; border-top: 1px solid var(--line); }
.portfolio p { color: var(--muted); font-size: 13px; }
.portfolio .portfolio-title { color: var(--text); font-size: 16px; font-weight: 800; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; padding-block: 21px; border-top: 1px solid var(--line); }
.footer small { color: var(--muted); overflow-wrap: anywhere; }

dialog { color: var(--text); background: var(--panel); border: 1px solid #53564d; border-radius: 16px; padding: 28px; width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 36px); }
dialog::backdrop { background: #090a09dc; }
.dialog-x { position: absolute; right: 12px; top: 12px; }
.dialog-symbol { color: var(--accent); margin-bottom: 15px; }
.dialog-symbol .icon { width: 30px; height: 30px; }
dialog h2 { font-size: 28px; }
dialog p { color: var(--muted); margin: 10px 0 17px; font-size: 14px; }
#booking-draft { display: block; margin-bottom: 14px; border-left: 2px solid var(--accent); font-size: 14px; resize: vertical; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.copy-status { margin: 8px 0 0; font-size: 13px; }
#lightbox { width: fit-content; max-width: min(92vw, 1000px); padding: 0; }
#lightbox img { width: auto; max-height: 75dvh; object-fit: contain; }
#lightbox h3 { padding: 14px 18px; }

@media (max-width: 1050px) {
  .hero { gap: 24px; }
  .service { grid-template-columns: minmax(0, 1fr) auto; }
  .service > i { display: none; }
}
@media (max-width: 740px) {
  .head-row { min-height: 64px; }
  .brand-name b { font-size: 18px; }
  .mark { width: 38px; }
  .head-booking { display: none; }
  .menu { display: grid; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--panel); padding: 8px var(--gutter); border-bottom: 1px solid var(--line); }
  .nav.visible { display: grid; gap: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 26px; }
  .hero-location { font-size: 13px; }
  h1 { font-size: clamp(35px, 9.8vw, 59px); margin: 10px 0; }
  .actions { margin-top: 16px; gap: 8px; }
  .actions .btn { flex: 1 1 auto; padding-inline: 11px; }
  .hero-media { aspect-ratio: 1.72; border-radius: 11px; }
  .estimate-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-wrap: wrap; margin-bottom: 15px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .photo img { height: auto; aspect-ratio: 1.38; }
  .photo:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .photo:first-child:nth-last-child(odd) img { aspect-ratio: 1.85; }
  .photo-label { padding: 9px 10px; font-size: 12px; min-height: 42px; }
  .steps, .contacts { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 12px; }
  .steps li { padding-top: 11px; row-gap: 3px; }
  .steps p { max-width: none; }
  .contact-info { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer { margin-top: 34px; }
  .footer-row, .portfolio { flex-wrap: wrap; }
  .mobile-booking { display: block; position: fixed; z-index: 2; inset: auto 0 0; border-top: 1px solid var(--line); background: var(--bg); padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom)); }
  .mobile-booking .btn { display: flex; width: 100%; }
}
@media (max-width: 520px) {
  .services { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .service { padding: 13px 14px; gap: 5px 9px; align-items: baseline; }
  .service p { font-size: 13px; }
  .price strong { font-size: 19px; }
  .service-meta .text-link { min-height: 44px; }
}
