/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggmxSuXd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggexSg.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggmxSuXd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggexSg.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggmxSuXd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggexSg.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggqxSuXd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggSxSuXd.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggixSuXd.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggmxSuXd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/v20-xn7gYHE41ni1AdIRggexSg.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v22-6xKhdSpbNNCT-sWCCm7JLQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v22-6xKhdSpbNNCT-sWLCm7JLQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v22-6xKhdSpbNNCT-sWACm7JLQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/v22-6xKhdSpbNNCT-sWPCm4.woff2) format('woff2');
  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 {
  --black: #111110;
  --graphite: #1a1a18;
  --paper: #e8e4dc;
  --paper-dark: #d8d3ca;
  --text: #f0ede6;
  --muted: #99978f;
  --bronze: #ad8a60;
  --line: rgba(240, 237, 230, .17);
  --dark-line: rgba(17, 17, 16, .17);
  --shell: min(1360px, calc(100% - 64px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--text); background: var(--black); font-family: "Manrope", sans-serif; }
body.is-menu-open, body.is-dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 11px 16px; color: var(--black); background: var(--paper); transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

.header { position: fixed; z-index: 60; top: 0; left: 0; width: 100%; min-height: 78px; display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 38px; padding: 0 32px; color: var(--text); border-bottom: 1px solid rgba(255,255,255,.2); transition: min-height .35s var(--ease), background .35s ease, border-color .35s ease; }
.header.is-scrolled { min-height: 64px; border-color: var(--line); background: rgba(17,17,16,.9); backdrop-filter: blur(18px); }
.logo { font-family: "Prata", serif; font-size: 1.18rem; letter-spacing: .14em; text-decoration: none; }
.header__place { justify-self: end; margin: 0; color: rgba(240,237,230,.62); font-size: .64rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; font-size: .68rem; text-decoration: none; }
.nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--bronze); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__book { min-height: 40px; padding: 0 17px; color: var(--text); border: 1px solid rgba(255,255,255,.45); background: transparent; font-size: .68rem; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.header__book:hover { color: var(--black); border-color: var(--paper); background: var(--paper); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(.68) contrast(1.04) brightness(.8); transform: scale(1.035); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,11,.92) 0, rgba(12,12,11,.64) 36%, rgba(12,12,11,.08) 74%), linear-gradient(0deg, rgba(12,12,11,.75) 0, transparent 45%); }
.hero__copy { position: relative; z-index: 2; width: var(--shell); margin-inline: auto; padding: 150px 0 145px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 25px; color: var(--bronze); font-size: .65rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 1px; background: currentColor; content: ""; }
.hero h1 { max-width: 900px; margin: 0; font-family: "Prata", serif; font-size: clamp(4rem, 7.4vw, 7.7rem); font-weight: 400; letter-spacing: -.055em; line-height: .93; text-wrap: balance; }
.hero__lead { max-width: 510px; margin: 30px 0 0; color: rgba(240,237,230,.72); font-size: .9rem; line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 37px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; text-decoration: none; font-size: .72rem; font-weight: 600; transition: color .25s ease, background .25s ease, transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--black); background: var(--paper); }
.button--light:hover { color: var(--text); background: var(--bronze); }
.text-link { padding-bottom: 5px; border-bottom: 1px solid rgba(240,237,230,.5); font-size: .7rem; text-decoration: none; transition: border-color .2s ease; }
.text-link:hover { border-color: var(--bronze); }
.hero__foot { position: absolute; z-index: 2; right: 32px; bottom: 24px; left: 32px; display: flex; justify-content: space-between; color: rgba(240,237,230,.58); font-size: .6rem; }

.section { padding: clamp(105px, 11vw, 165px) max(32px, calc((100vw - min(1360px, calc(100vw - 64px))) / 2)); }
.section-head, .works__head { display: grid; grid-template-columns: .55fr 1.15fr .55fr; align-items: end; gap: 45px; margin-bottom: 78px; }
.section-head h2, .works h2, .calculator h2, .method h2, .contacts h2 { margin: 0; font-family: "Prata", serif; font-size: clamp(3.6rem, 6.3vw, 6.7rem); font-weight: 400; letter-spacing: -.055em; line-height: .94; text-wrap: balance; }
.section-head > p:last-child, .works__head > p:last-child, .calculator__head > p:last-child { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.62; }

.services { color: var(--black); background: var(--paper); }
.services .eyebrow { color: #745d42; }
.service-deck { position: relative; margin-left: 38%; border-top: 1px solid var(--dark-line); }
.service-deck__visual { position: absolute; top: -50px; right: calc(100% + 28px); width: min(34vw, 455px); height: calc(100% + 100px); overflow: hidden; }
.service-deck__visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(17,17,16,.22), transparent 45%); }
.service-deck__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.04); transition: opacity .28s ease, transform .7s var(--ease); }
.service-card { min-height: 124px; display: grid; grid-template-columns: 42px minmax(240px, 1fr) 1fr 120px; align-items: center; gap: 24px; border-bottom: 1px solid var(--dark-line); text-decoration: none; transition: padding .4s var(--ease), background .25s ease; }
.service-card:hover { padding-inline: 15px; background: rgba(255,255,255,.32); }
.service-card > span { color: #80694e; font-size: .6rem; }
.service-card h3 { margin: 0; font-family: "Prata", serif; font-size: clamp(1.45rem, 2.3vw, 2.35rem); font-weight: 400; letter-spacing: -.035em; }
.service-card p { margin: 0; color: #736f67; font-size: .72rem; line-height: 1.5; }
.service-card strong { font-size: .7rem; font-weight: 600; white-space: nowrap; }

.works { background: var(--black); }
.film { display: grid; grid-template-columns: 1.3fr .62fr .85fr; align-items: start; gap: 18px; }
.film__frame { position: relative; margin: 0; overflow: hidden; }
.film__frame--tall { margin-top: 12vh; }
.film__frame--square { margin-top: -4vh; }
/* height: auto обязателен — иначе браузер берёт высоту из атрибута height
   в разметке, и заданные ниже пропорции кадров не применяются вовсе */
.film__frame img { width: 100%; height: auto; object-fit: cover; filter: saturate(.65); transition: filter .5s ease, transform .8s var(--ease); }
.film__frame--wide img { aspect-ratio: 1.35 / 1; }
.film__frame--tall img { aspect-ratio: .72 / 1; }
.film__frame--square img { aspect-ratio: 1 / .92; }
.film__frame:hover img { filter: saturate(.9); transform: scale(1.02); }
.film__frame figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .65rem; }
.film__frame figcaption b { color: var(--muted); font-weight: 500; }

.calculator { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(65px, 10vw, 145px); color: var(--black); background: var(--paper-dark); }
.calculator__head { position: sticky; top: 115px; align-self: start; }
.calculator__head .eyebrow { color: #745d42; }
.calculator__head > p:last-child { max-width: 360px; margin-top: 28px; color: #736f67; }
.console { border-top: 1px solid var(--dark-line); }
.console fieldset { margin: 0; padding: 30px 0 34px; border: 0; border-bottom: 1px solid var(--dark-line); }
.console legend { padding: 0; color: #736f67; font-size: .65rem; }
.body-switch > div { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid var(--dark-line); }
.body-switch label { position: relative; cursor: pointer; }
.body-switch label + label { border-left: 1px solid var(--dark-line); }
.body-switch input, .option input { position: absolute; opacity: 0; pointer-events: none; }
.body-switch span { min-height: 56px; display: grid; place-items: center; padding: 10px; color: #716d65; font-size: .68rem; text-align: center; transition: color .2s ease, background .2s ease; }
.body-switch input:checked + span { color: var(--text); background: var(--black); }
.body-switch input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: -4px; }
.service-options { padding-bottom: 0 !important; }
.option { position: relative; min-height: 78px; display: grid; grid-template-columns: 21px 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--dark-line); cursor: pointer; }
.option:last-child { border-bottom: 0; }
.option__mark { width: 19px; height: 19px; border: 1px solid #8b857b; border-radius: 50%; transition: border-color .2s ease, background .2s ease; }
.option__mark::after { width: 5px; height: 8px; margin: 3px 0 0 6px; display: block; border: solid var(--text); border-width: 0 2px 2px 0; content: ""; opacity: 0; transform: rotate(45deg) scale(.5); transition: opacity .2s ease, transform .25s var(--ease); }
.option input:checked + .option__mark { border-color: var(--black); background: var(--black); }
.option input:checked + .option__mark::after { opacity: 1; transform: rotate(45deg) scale(1); }
.option input:focus-visible + .option__mark { outline: 2px solid var(--bronze); outline-offset: 3px; }
.option > span:nth-of-type(2) { font-size: .82rem; font-weight: 500; }
.option strong { font-size: .68rem; font-weight: 600; }
.summary { padding-top: 26px; }
.summary__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #736f67; font-size: .6rem; }
.summary__price { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 34px 0 27px; }
.summary__price span { padding-bottom: 7px; color: #736f67; font-size: .67rem; }
.summary__price strong { font-family: "Prata", serif; font-size: clamp(3.4rem, 5.5vw, 5.8rem); font-weight: 400; letter-spacing: -.06em; line-height: .82; white-space: nowrap; }
.console__submit, .contacts__book { width: 100%; min-height: 56px; padding: 0 19px; border: 0; cursor: pointer; font-size: .72rem; font-weight: 600; transition: color .25s ease, background .25s ease; }
.console__submit { color: var(--text); background: var(--black); }
.console__submit:hover { background: #6f5940; }

/* фото выравниваем по той же сетке, что и остальные секции, а не в край окна */
.method { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(55px, 9vw, 135px); padding-inline: max(32px, calc((100vw - min(1360px, calc(100vw - 64px))) / 2)); color: var(--black); background: var(--paper); }
.method__media { align-self: stretch; min-height: 720px; overflow: hidden; }
.method__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.03); }
.method .eyebrow { color: #745d42; }
.method__copy h2 { font-size: clamp(3.4rem, 5.5vw, 5.9rem); }
.method__copy ol { margin: 49px 0 0; padding: 0; border-top: 1px solid var(--dark-line); list-style: none; }
.method__copy li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--dark-line); }
.method__copy li b { color: #80694e; font-size: .6rem; font-weight: 500; }
.method__copy li span { max-width: 430px; font-size: .78rem; line-height: 1.55; }

.contacts { min-height: 720px; display: grid; grid-template-columns: .72fr 1.28fr; background: var(--graphite); }
.contacts__panel { display: flex; flex-direction: column; justify-content: center; padding: 95px max(32px, calc((100vw - min(1360px, calc(100vw - 64px))) / 2)); padding-right: clamp(42px, 6vw, 100px); }
.contacts__panel h2 { font-size: clamp(3.5rem, 5.5vw, 5.9rem); }
.contacts address { margin: 43px 0 34px; border-top: 1px solid var(--line); font-style: normal; }
.contacts address p { display: grid; grid-template-columns: 95px 1fr; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .74rem; line-height: 1.55; }
.contacts address span { color: var(--muted); font-size: .6rem; }
.contacts address a { text-decoration-color: var(--bronze); text-underline-offset: 4px; }
.contacts__book { color: var(--black); background: var(--paper); }
.contacts__book:hover { color: var(--text); background: var(--bronze); }
.map-shell { position: relative; min-height: 720px; overflow: hidden; background: #171717; }
.map { position: absolute; inset: 0; background: #171717; }
.map .leaflet-tile-pane { filter: grayscale(1) invert(.9) brightness(.5) contrast(1.22) sepia(.12); }
.map .leaflet-control-attribution { color: #aaa49b; background: rgba(17,17,16,.82); font-size: 9px; }
.map .leaflet-control-attribution a { color: #ccb18c; }
.map .leaflet-control-zoom { overflow: hidden; border: 1px solid var(--line) !important; border-radius: 0; box-shadow: none; }
.map .leaflet-control-zoom a { color: var(--text); border-color: var(--line); background: rgba(17,17,16,.9); }
.map .leaflet-control-zoom a:hover { color: var(--black); background: var(--paper); }
.map-marker { display: grid; place-items: center; }
.map-marker::before { width: 20px; height: 20px; border: 5px solid var(--black); border-radius: 50% 50% 50% 0; background: var(--bronze); box-shadow: 0 0 0 1px var(--bronze), 0 8px 24px rgba(173,138,96,.35); content: ""; transform: rotate(-45deg); }
.map-marker::after { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--black); content: ""; }
.map .leaflet-popup-content-wrapper { color: var(--text); border: 1px solid var(--line); border-radius: 0; background: rgba(17,17,16,.95); box-shadow: 0 15px 50px rgba(0,0,0,.4); }
.map .leaflet-popup-tip { background: var(--black); }
.map .leaflet-popup-content { display: grid; gap: 5px; font-family: "Manrope", sans-serif; }
.map .leaflet-popup-content strong { color: #ccb18c; font-family: "Prata", serif; font-size: 1rem; letter-spacing: .08em; }
.map-shell__route { position: absolute; z-index: 500; right: 22px; bottom: 22px; padding: 14px 17px; color: var(--black); background: var(--paper); font-size: .65rem; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease), background .25s ease; }
.map-shell__route:hover { background: #ccb18c; transform: translateY(-2px); }
.map--fallback { display: grid; place-items: center; padding: 30px; color: var(--muted); text-align: center; }

.footer { min-height: 94px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 32px; color: var(--muted); border-top: 1px solid var(--line); background: var(--black); font-size: .62rem; }
.footer p { margin: 0; }
.footer p:last-child { justify-self: end; }

.booking { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto 0 auto auto; padding: 0; color: var(--black); border: 0; background: var(--paper); opacity: 0; transform: translateX(45px); transition: opacity .35s ease, transform .5s var(--ease), overlay .5s ease allow-discrete, display .5s ease allow-discrete; }
.booking[open] { opacity: 1; transform: none; }
@starting-style { .booking[open] { opacity: 0; transform: translateX(45px); } }
.booking::backdrop { background: rgba(5,5,5,.75); backdrop-filter: blur(7px); opacity: 0; transition: opacity .35s ease, overlay .5s ease allow-discrete, display .5s ease allow-discrete; }
.booking[open]::backdrop { opacity: 1; }
@starting-style { .booking[open]::backdrop { opacity: 0; } }
.booking__panel { position: relative; min-height: 100dvh; padding: clamp(58px, 8vh, 84px) clamp(24px, 5vw, 58px) 34px; overflow-y: auto; }
.booking__close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; color: var(--black); border: 1px solid var(--dark-line); border-radius: 50%; background: transparent; font-size: 1.4rem; cursor: pointer; transition: transform .3s var(--ease); }
.booking__close:hover { transform: rotate(90deg); }
.booking .eyebrow { color: #745d42; }
.booking h2 { margin: 0; font-family: "Prata", serif; font-size: clamp(2.8rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.055em; line-height: .95; }
.booking__order { margin: 21px 0 32px; color: #736f67; font-size: .76rem; }
.date-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; padding: 0; border: 1px solid var(--dark-line); }
.date-list label { position: relative; cursor: pointer; }
.date-list label + label { border-left: 1px solid var(--dark-line); }
.date-list input { position: absolute; opacity: 0; }
.date-list span { min-height: 73px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #736f67; transition: color .2s ease, background .2s ease; }
.date-list b { font-size: .65rem; }
.date-list small { font-size: .58rem; }
.date-list input:checked + span { color: var(--text); background: var(--black); }
.date-list input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: -4px; }
.field { display: block; margin-top: 17px; }
.field > span { display: block; margin-bottom: 8px; color: #736f67; font-size: .6rem; }
.field input { width: 100%; height: 54px; padding: 0 14px; color: var(--black); border: 1px solid var(--dark-line); border-radius: 0; outline: 0; background: rgba(255,255,255,.2); }
.field input:focus { border-color: #80694e; }
.field input::placeholder { color: #8d887f; }
.booking__submit { width: 100%; min-height: 57px; margin-top: 25px; color: var(--text); border: 0; background: var(--black); font-size: .72rem; font-weight: 600; cursor: pointer; }
.privacy { margin: 12px 0 0; color: #777269; font-size: .56rem; line-height: 1.5; }
.toast { position: fixed; z-index: 110; right: 20px; bottom: 20px; max-width: calc(100% - 40px); padding: 14px 18px; color: var(--black); background: var(--paper); font-size: .72rem; font-weight: 600; opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity .25s ease, transform .35s var(--ease); }
.toast.is-visible { opacity: 1; transform: none; }

.inspection-cursor { display: none; }


/* ============================================================
   Редизайн 2026: тёмная студия премиального сегмента
   ============================================================ */

:root {
  --black: #080908;
  --graphite: #121311;
  --metal: linear-gradient(135deg, #8f6f4a 0%, #d9b483 46%, #a9865c 100%);
  --glow: rgba(173, 138, 96, .16);
}

/* мягкий студийный свет за ключевыми секциями — без blur и блендинга,
   чтобы не грузить отрисовку на прокрутке */
.services::before,
.calculator::before,
.contacts::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 55% at 78% 18%, var(--glow), transparent 70%);
  content: "";
}

.services,
.calculator,
.contacts { position: relative; }
.services > *,
.calculator > *,
.contacts > * { position: relative; z-index: 1; }

/* --- отметки услуг: иконка из Lucide вместо галочки из двух границ --- */

.option__mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1.5px solid #a8a299;
  border-radius: 7px;
  background: transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}

/* старая галочка на псевдоэлементе больше не нужна */
.option__mark::after { content: none; }

.option__mark svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #17140f;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* длина линии галочки — рисуем её штрихом, а не проявляем целиком */
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset .4s var(--ease);
}

.option:hover .option__mark { border-color: #d9b483; }

.option input:checked + .option__mark {
  border-color: transparent;
  background: var(--metal);
  transform: scale(1.06);
}

.option input:checked + .option__mark svg { stroke-dashoffset: 0; }
.option input:focus-visible + .option__mark { outline: 2px solid var(--bronze); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .option__mark,
  .option__mark svg { transition: none; }
}

/* Строки заголовков выезжают из-под маски. Запас по бокам обязателен:
   у антиквы глифы выходят за свою ширину, и обрезка съедала край буквы */
.line-mask {
  display: block;
  overflow: hidden;
  padding-inline: .09em;
  margin-inline: -.09em;
}

.line-inner { display: block; will-change: transform; }

/* --- типографика: крупнее и с более дорогой посадкой --- */

.section-head h2,
.works h2,
.calculator h2,
.method h2,
.contacts h2 { letter-spacing: -.06em; }

.eyebrow {
  font-size: .62rem;
  letter-spacing: .2em;
}

.eyebrow::before {
  width: 46px;
  background: var(--metal);
  height: 2px;
}

/* --- шапка тоньше и спокойнее --- */

.header { min-height: 72px; border-bottom-color: rgba(255, 255, 255, .1); }
.header.is-scrolled { min-height: 58px; background: rgba(8, 9, 8, .92); }

.logo { letter-spacing: .2em; }

/* --- кнопки: металл вместо плоской заливки --- */

.button--light {
  color: #1b1409;
  background: var(--metal);
  background-size: 160% 100%;
  background-position: 0 0;
  transition: background-position .55s var(--ease), transform .25s var(--ease), color .25s ease;
}

.button--light:hover {
  color: #14100a;
  background-position: 100% 0;
  transform: translateY(-2px);
}

.header__book {
  border-color: rgba(217, 180, 131, .5);
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.header__book:hover { color: #1b1409; background: var(--metal); border-color: transparent; }

/* --- карточки услуг: строка каталога, а не плитка --- */

.service-card {
  position: relative;
  overflow: hidden;
  transition: background-color .45s var(--ease), padding-left .45s var(--ease);
}

.service-card::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--metal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .55s var(--ease);
  content: "";
}

.service-card:hover { background: rgba(217, 180, 131, .05); }
.service-card:hover::after { transform: scaleX(1); }

/* --- кадры работ: рамка и спокойный зум --- */

.film__frame { position: relative; overflow: hidden; }

.film__frame img {
  transition: transform 1.1s var(--ease), filter .6s ease;
  will-change: transform;
}

.film__frame:hover img { transform: scale(1.04); filter: saturate(1.05) brightness(1.04); }

.film__frame::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(240, 237, 230, .14);
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s var(--ease);
  content: "";
}

.film__frame:hover::after { opacity: 1; }

/* --- итог расчёта держим на виду, пока листают список работ --- */

.summary {
  position: sticky;
  top: 92px;
}

.summary__price,
#total {
  font-family: "Prata", serif;
  letter-spacing: -.03em;
}

/* --- карта и контакты --- */

.contacts__card { border-color: rgba(217, 180, 131, .28); }

@media (max-width: 1050px) {
  .summary { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .film__frame img,
  .button--light { transition: none; }
}
@media (hover: hover) and (pointer: fine) {
  html.has-inspection-cursor body:not(.is-dialog-open),
  html.has-inspection-cursor body:not(.is-dialog-open) a,
  html.has-inspection-cursor body:not(.is-dialog-open) button,
  html.has-inspection-cursor body:not(.is-dialog-open) label { cursor: none; }

  html.has-inspection-cursor body:not(.is-dialog-open) .leaflet-container { cursor: grab; }
  html.has-inspection-cursor body:not(.is-dialog-open) .leaflet-container:active { cursor: grabbing; }
  html.has-inspection-cursor body:not(.is-dialog-open) .leaflet-control a { cursor: pointer; }
  html.has-inspection-cursor body:not(.is-dialog-open) input,
  html.has-inspection-cursor body:not(.is-dialog-open) textarea { cursor: text; }
  html.has-inspection-cursor body:not(.is-dialog-open) input[type="radio"],
  html.has-inspection-cursor body:not(.is-dialog-open) input[type="checkbox"] { cursor: pointer; }

  .inspection-cursor { position: fixed; z-index: 90; inset: 0 auto auto 0; display: block; pointer-events: none; opacity: 0; transition: opacity .16s ease; }
  .inspection-cursor.is-visible { opacity: 1; }
  .inspection-cursor__ring,
  .inspection-cursor__dot { position: fixed; top: 0; left: 0; pointer-events: none; }
  .inspection-cursor__ring i { position: absolute; top: -15px; left: -15px; width: 30px; height: 30px; border: 1px solid rgba(205, 174, 135, .88); border-radius: 50%; box-shadow: 0 0 0 1px rgba(17,17,16,.16), 0 5px 18px rgba(17,17,16,.16); transition: border-color .22s ease, background .22s ease, transform .32s var(--ease); }
  .inspection-cursor__ring i::before,
  .inspection-cursor__ring i::after { position: absolute; background: #d7b98f; content: ""; opacity: .9; }
  .inspection-cursor__ring i::before { top: -3px; left: 50%; width: 1px; height: 5px; }
  .inspection-cursor__ring i::after { top: 50%; right: -3px; width: 5px; height: 1px; }
  .inspection-cursor__dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #d7b98f; box-shadow: 0 0 0 1px rgba(17,17,16,.32); }
  .inspection-cursor.is-interactive .inspection-cursor__ring i { border-color: #d7b98f; background: rgba(173,138,96,.14); transform: scale(1.46); }
  .inspection-cursor.is-media .inspection-cursor__ring i { border-color: rgba(240,237,230,.92); transform: scale(1.22); }
  .inspection-cursor.is-pressed .inspection-cursor__ring i { transform: scale(.78); }
}

@media (max-width: 1050px) {
  .header { gap: 22px; }
  .header__place { display: none; }
  .service-deck { margin-left: 32%; }
  .service-card { grid-template-columns: 38px minmax(220px, 1fr) .8fr 100px; }
  .calculator { gap: 60px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 36px); }
  .header { min-height: 68px; grid-template-columns: 1fr auto auto; padding: 0 18px; }
  .header__book { min-height: 38px; }
  .menu-toggle { position: relative; z-index: 3; width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; padding: 0; color: var(--text); border: 1px solid var(--line); background: rgba(17,17,16,.8); cursor: pointer; }
  .menu-toggle span { width: 19px; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; z-index: 2; top: 0; right: 0; width: min(390px, 100%); height: 100dvh; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 90px 28px 40px; border-left: 1px solid var(--line); background: rgba(17,17,16,.98); transform: translateX(101%); transition: transform .5s var(--ease); }
  .nav.is-open { transform: none; }
  .nav a { padding: 19px 0; border-bottom: 1px solid var(--line); font-family: "Prata", serif; font-size: 1.55rem; }
  .nav a::after { display: none; }
  .hero__media img { object-position: 67% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(12,12,11,.9), rgba(12,12,11,.18)), linear-gradient(0deg, rgba(12,12,11,.88), transparent 58%); }
  .hero__copy { padding: 125px 0 120px; }
  .hero h1 { max-width: 700px; font-size: clamp(3.7rem, 11vw, 6rem); }
  .section { padding: 100px 18px; }
  .section-head, .works__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 55px; }
  .section-head > p:last-child, .works__head > p:last-child { max-width: 390px; }
  .service-deck { margin-left: 0; }
  .service-deck__visual { display: none; }
  .service-card { min-height: 112px; grid-template-columns: 32px 1fr auto; gap: 13px; }
  .service-card p { display: none; }
  .film { grid-template-columns: 1.2fr .8fr; }
  .film__frame--tall { margin-top: 10vh; }
  .film__frame--square { grid-column: 1 / -1; width: 72%; margin: 18px 0 0 auto; }
  .calculator { grid-template-columns: 1fr; gap: 55px; }
  .calculator__head { position: static; }
  .method { grid-template-columns: 1fr; gap: 65px; padding: 0 18px 100px; }
  .method__media { min-height: 580px; margin-inline: -18px; }
  .contacts { grid-template-columns: 1fr; }
  .contacts__panel { padding: 100px 18px; }
  .map-shell { min-height: 600px; }
  .footer { padding: 0 18px; }
}

@media (max-width: 560px) {
  .header__book { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .hero__copy { padding-bottom: 105px; }
  .hero h1 { font-size: clamp(3.15rem, 13vw, 4.6rem); }
  .hero__lead { font-size: .8rem; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero__foot { right: 18px; bottom: 18px; left: 18px; }
  .hero__foot span:last-child { display: none; }
  .section-head h2, .works h2, .calculator h2, .method h2, .contacts h2 { font-size: clamp(2.8rem, 12.5vw, 4.2rem); }
  .service-card { grid-template-columns: 28px 1fr 82px; }
  .service-card h3 { font-size: 1.3rem; }
  .service-card strong { font-size: .58rem; }
  .film { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .film::-webkit-scrollbar { display: none; }
  .film__frame, .film__frame--square { flex: 0 0 82vw; width: auto; margin: 0; scroll-snap-align: center; }
  .film__frame img, .film__frame--wide img, .film__frame--tall img, .film__frame--square img { aspect-ratio: 4 / 5; }
  .body-switch span { min-height: 61px; font-size: .6rem; }
  .option { grid-template-columns: 20px 1fr auto; gap: 11px; }
  .option > span:nth-of-type(2) { font-size: .73rem; }
  .option strong { font-size: .58rem; }
  .summary__meta { display: grid; grid-template-columns: 1fr 1fr; }
  .summary__meta span:last-child { grid-column: 1 / -1; }
  .summary__price { align-items: flex-start; flex-direction: column; gap: 15px; }
  .summary__price strong { font-size: clamp(3rem, 14vw, 4.2rem); }
  .method__media { min-height: 470px; }
  .method__copy li { grid-template-columns: 34px 1fr; }
  .contacts address p { grid-template-columns: 76px 1fr; }
  .map-shell { min-height: 500px; }
  .map-shell__route { right: 12px; bottom: 12px; left: 12px; text-align: center; }
  .footer { min-height: 120px; grid-template-columns: 1fr auto; }
  .footer > p:nth-child(2) { display: none; }
  .date-list { grid-template-columns: 1fr; }
  .date-list label + label { border-top: 1px solid var(--dark-line); border-left: 0; }
  .date-list span { min-height: 58px; flex-direction: row; justify-content: space-between; padding: 0 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- своя полоса прокрутки ---------- */

/* системную прячем только там, где своя реально включена */
html.has-rail { scrollbar-width: none; }
html.has-rail::-webkit-scrollbar { width: 0; height: 0; }

.rail {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  width: 14px;
  height: 100vh;
  display: none;
  opacity: .45;
  transition: opacity .35s ease;
}

html.has-rail .rail { display: block; }
.rail:hover,
.rail.is-grabbing { opacity: 1; }

.rail::before {
  position: absolute;
  top: 0;
  right: 6px;
  width: 2px;
  height: 100%;
  background: var(--line);
  content: "";
}

.rail__thumb {
  position: absolute;
  top: 0;
  right: 5px;
  width: 4px;
  background: var(--bronze);
  border-radius: 999px;
  cursor: grab;
  transition: width .3s ease, right .3s ease;
}

.rail:hover .rail__thumb,
.rail.is-grabbing .rail__thumb { width: 6px; right: 4px; }
.rail.is-grabbing .rail__thumb { cursor: grabbing; }

@media (hover: none), (pointer: coarse) {
  html.has-rail .rail { display: none; }
  html.has-rail { scrollbar-width: auto; }
}

