/* BLACKLINE / сдержанный сайт мастерской. Все материалы хранятся локально. */
@font-face { font-family:Manrope; src:url('assets/Manrope.ttf') format('truetype'); font-weight:200 800; font-display:swap; }
:root { --ink:#252827; --paper:#f6f5f1; --white:#fff; --accent:#88644c; --muted:#6c706d; --line:#dddcd6; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:25px; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Manrope,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
body.dialog-open { overflow:hidden; }
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
button { color:inherit; }
button,summary { cursor:pointer; }
h1,h2,h3,p,figure { margin:0; }
::selection { background:#dbcec2; color:var(--ink); }
:focus-visible { outline:3px solid #b18158; outline-offset:5px; }
.skip-link { position:fixed; top:-100px; left:15px; z-index:30; padding:15px; background:white; color:var(--ink); }
.skip-link:focus { top:15px; }
.section { padding:85px max(6%,calc((100% - 1240px)/2)); }
.eyebrow { font-size:10px; letter-spacing:1.5px; font-weight:600; color:var(--accent); }
h2 { font-size:clamp(31px,3.3vw,46px); line-height:1.2; font-weight:500; letter-spacing:-1.6px; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:35px; margin-bottom:36px; }
.section-heading .eyebrow { margin-bottom:18px; }
.section-heading>p { color:var(--muted); font-size:12px; line-height:1.9; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:25px; padding:17px 22px; border:1px solid var(--accent); border-radius:2px; background:var(--accent); color:white; font-weight:600; font-size:12px; transition:background .2s; }
.button:hover { background:#6e4e3a; }
.button:disabled { opacity:.5; cursor:not-allowed; }
.button-white { background:white; border-color:white; color:var(--ink); }
.button-white:hover { background:#e8e2db; border-color:#e8e2db; }
.button-outline { border-color:#7d827e; background:none; color:var(--ink); }
.button-outline:hover { color:white; background:var(--ink); }
/* Навигация и идентичность. */
.demo-bar { min-height:32px; padding:8px 6%; display:flex; justify-content:space-between; gap:20px; align-items:center; background:#292d2b; color:#e1e3de; font-size:9px; }
.demo-bar a { text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.header { min-height:100px; padding:0 6%; display:flex; align-items:center; justify-content:space-between; gap:30px; background:var(--paper); }
.brand { display:inline-flex; align-items:center; gap:13px; flex-shrink:0; }
.brand>b { display:flex; align-items:center; height:45px; width:45px; padding-left:9px; border:1px solid currentColor; font-size:29px; font-weight:500; letter-spacing:-4px; }
.brand>b>span { font-size:25px; margin-left:2px; color:var(--accent); }
.brand-name { font-size:20px; font-weight:700; letter-spacing:1px; }
.brand-name small { display:block; margin-top:5px; font-size:7px; letter-spacing:2.7px; font-weight:500; color:var(--muted); }
nav { display:flex; gap:27px; align-items:center; font-size:11px; }
nav>a { padding:10px 0; }
nav>a:hover { color:var(--accent); }
nav .nav-cta { padding:13px 17px; border:1px solid #b9b8b0; margin-left:15px; }
.nav-cta>span { margin-left:14px; }
.menu-toggle { display:none; }
/* Первый экран — реальный процесс ухода вместо рекламной афиши. */
.hero { position:relative; min-height:620px; padding:85px 6%; display:flex; align-items:center; color:white; background:#252827; overflow:hidden; }
.hero-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 48%; }
.hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#0c1213e6 0%,#0c1213a6 36%,#0c12131f 73%); }
.hero-copy { position:relative; z-index:1; }
.hero-copy .eyebrow { color:#d2bdac; margin-bottom:24px; }
h1 { font-size:clamp(43px,4.7vw,66px); font-weight:500; letter-spacing:-2.5px; line-height:1.13; }
.hero-copy>p:not(.eyebrow) { margin-top:25px; font-size:13px; line-height:1.9; color:#e0e3df; }
.hero-actions { display:flex; align-items:center; gap:28px; margin-top:32px; }
.hero-link { font-size:12px; padding-bottom:5px; border-bottom:1px solid #cdd0cb88; }
.hero-caption { position:absolute; z-index:1; right:6%; bottom:24px; max-width:290px; font-size:8px; line-height:1.8; color:#d6ddd7; }
.quick-services { display:grid; grid-template-columns:repeat(3,1fr); padding:0 6%; background:white; border-bottom:1px solid var(--line); }
.quick-services>a { position:relative; padding:28px 35px; border-right:1px solid var(--line); }
.quick-services>a:first-child { border-left:1px solid var(--line); }
.quick-services span { display:block; font-size:8px; letter-spacing:1px; color:var(--accent); margin-bottom:9px; }
.quick-services strong { font-size:17px; font-weight:500; letter-spacing:-.3px; }
.quick-services b { position:absolute; right:27px; bottom:30px; font-weight:400; font-size:23px; color:var(--accent); }
.quick-services a:hover { background:#f1efe9; }
/* Услуги с вкладками: состав, фотография процесса, пример цены. */
.services { background:var(--paper); }
.service-tabs { display:none; border-bottom:1px solid #cccbc4; margin-bottom:28px; }
.js .service-tabs { display:flex; }
.service-tabs button { position:relative; flex:1; text-align:left; padding:19px 15px; border:0; border-bottom:2px solid transparent; background:none; font-size:13px; line-height:1.5; }
.service-tabs button>span { color:#8d908b; margin-right:10px; font-size:10px; }
.service-tabs button[aria-selected="true"] { border-color:var(--accent); color:var(--accent); }
.service-tabs button:hover { background:#edece5; }
.service-panel { display:grid; grid-template-columns:1fr 1fr; min-height:440px; background:#fff; border:1px solid #e4e2da; }
.service-panel[hidden] { display:none; }
.service-panel+.service-panel { margin-top:25px; }
.js .service-panel { margin-top:0; }
.service-photo { position:relative; min-width:0; }
.service-photo>img { display:block; width:100%; height:100%; min-height:440px; object-fit:cover; }
.service-photo>figcaption { position:absolute; bottom:15px; left:20px; right:20px; font-size:8px; color:white; text-shadow:0 1px 4px #000; }
.service-description { padding:38px; display:flex; flex-direction:column; }
.service-description>.eyebrow { font-size:8px; }
.service-description h3 { font-size:26px; line-height:1.35; letter-spacing:-.7px; font-weight:500; margin:18px 0; max-width:360px; }
.service-description>p:not(.eyebrow) { font-size:11px; line-height:1.9; color:var(--muted); }
.service-description ul { list-style:none; margin:21px 0 28px; padding:0; font-size:11px; line-height:2.1; color:#5b615c; }
.service-description li::before { content:"—"; margin-right:10px; color:var(--accent); }
.service-bottom { display:flex; flex-wrap:wrap; align-items:center; gap:20px; justify-content:space-between; margin-top:auto; padding-top:22px; border-top:1px solid var(--line); }
.service-price { font-size:23px; letter-spacing:-.5px; }
.service-bottom small { display:block; font-size:8px; margin-top:5px; color:var(--muted); }
.service-bottom .button { padding:15px 16px; font-size:11px; }
.price-note { color:var(--muted); font-size:9px; line-height:1.8; margin-top:19px; }
/* Подход. */
.approach { display:grid; grid-template-columns:.95fr 1.1fr; gap:85px; background:#eeede7; }
.approach-photo { align-self:start; }
.approach-photo>img { width:100%; height:520px; object-fit:cover; object-position:38% center; display:block; }
.approach-photo figcaption { font-size:9px; color:var(--muted); margin-top:14px; line-height:1.7; }
.approach-copy .eyebrow { margin-bottom:20px; }
.approach-copy>p:not(.eyebrow) { color:var(--muted); font-size:12px; line-height:1.95; margin-top:22px; max-width:430px; }
.approach-steps { list-style:none; padding:0; margin:28px 0 0; }
.approach-steps li { display:flex; gap:20px; padding:20px 0; border-top:1px solid #d4d4cc; }
.approach-steps li>span { font-size:10px; color:var(--accent); padding-top:4px; }
.approach-steps h3 { font-weight:600; font-size:13px; margin-bottom:8px; }
.approach-steps p { font-size:11px; line-height:1.8; color:var(--muted); }
/* Прокрутка — сдержанный переход между разделами. */
.drive-section { position:relative; }
.drive-stage { position:relative; height:100svh; min-height:620px; overflow:hidden; background:#d9ddda; }
.drive-section.is-moving { height:180svh; }
.drive-section.is-moving .drive-stage { position:sticky; top:0; min-height:0; }
.drive-top { position:absolute; top:35px; left:6%; right:6%; display:flex; justify-content:space-between; gap:20px; color:#6e7670; font-size:8px; letter-spacing:1px; }
.drive-title { position:absolute; left:6%; top:15%; font-size:clamp(34px,4.5vw,62px); font-weight:400; letter-spacing:-2px; }
.drive-car { position:absolute; left:50%; top:56%; width:min(950px,82vw); height:auto; transform:translate(calc(-50% + var(--car-x,0px)),-50%); filter:drop-shadow(0 25px 18px #233b2520); will-change:transform; pointer-events:none; }
.drive-road { position:absolute; left:6%; right:6%; bottom:21%; height:1px; background:#bfc7c1; }
.drive-bottom { position:absolute; left:6%; right:6%; bottom:35px; display:flex; align-items:center; justify-content:space-between; gap:25px; }
.drive-bottom>p { font-size:12px; color:#5f6961; }
.drive-progress { display:flex; align-items:center; gap:12px; font-size:8px; color:var(--accent); }
.drive-progress>div { width:150px; height:1px; background:#b2bcb4; }
.drive-progress i { display:block; width:100%; height:100%; background:var(--accent); transform:scaleX(var(--drive-progress,.5)); transform-origin:left; }
/* Галерея. */
.gallery { background:white; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.gallery-item { background:#faf9f5; padding:0; border:1px solid #e5e3db; text-align:left; overflow:hidden; }
.gallery-item>img { width:100%; height:310px; display:block; object-fit:cover; transition:filter .3s; }
.gallery-item:first-child>img { object-position:60% center; }
.gallery-item:hover>img { filter:brightness(1.08); }
.gallery-item>span { position:relative; display:block; padding:22px; }
.gallery-item strong { display:block; font-size:15px; font-weight:500; }
.gallery-item small { display:block; color:var(--muted); font-size:9px; line-height:1.8; margin-top:7px; padding-right:22px; }
.gallery-item b { position:absolute; right:20px; top:22px; font-weight:400; font-size:23px; color:var(--accent); }
.gallery-note { margin-top:20px; font-size:9px; color:var(--muted); line-height:1.8; }
/* Вопросы. */
.faq { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; background:white; padding-top:10px; }
.faq-heading .eyebrow { margin-bottom:20px; }
.faq-heading>p:last-child { font-size:11px; color:var(--muted); line-height:1.9; margin-top:20px; }
.questions { border-top:1px solid var(--line); }
.questions details { border-bottom:1px solid var(--line); }
.questions summary { position:relative; padding:21px 35px 21px 0; list-style:none; font-size:13px; line-height:1.6; }
.questions summary::-webkit-details-marker { display:none; }
.questions summary::after { content:"+"; position:absolute; right:0; top:18px; color:var(--accent); font-size:23px; }
.questions details[open] summary::after { content:"−"; }
.questions p { padding:0 25px 23px 0; font-size:11px; line-height:1.9; color:var(--muted); }
.questions a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
/* Расчёт. */
.request { background:#eeede7; }
.request-form { display:grid; grid-template-columns:1.1fr 1fr; gap:70px; align-items:start; }
.form-fields>label,.form-row>label { display:flex; flex-direction:column; gap:12px; font-size:11px; }
.form-fields input[type="text"],select { width:100%; min-height:52px; padding:14px; background:white; color:var(--ink); border:1px solid #cecec5; border-radius:0; font-size:13px; }
.form-fields input::placeholder { color:#7e837c; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:24px; }
fieldset { padding:0; margin:28px 0 0; border:0; }
legend { margin-bottom:14px; font-size:11px; }
.checkbox { display:flex; align-items:center; gap:10px; padding:10px 0; font-size:12px; cursor:pointer; }
.checkbox input { width:17px; height:17px; margin:0; accent-color:var(--accent); }
.checkbox>span { margin-left:auto; font-size:11px; color:var(--muted); }
.form-note { font-size:10px; color:var(--muted); line-height:1.8; max-width:390px; margin:25px 0; }
.estimate { padding:32px; background:#343b37; color:#f5f5ef; }
.estimate>.eyebrow { color:#d4c0ad; }
#estimate-price { display:block; font-size:clamp(42px,4.5vw,62px); font-weight:400; letter-spacing:-2px; line-height:1; margin-top:25px; }
.estimate-service { font-size:11px; line-height:1.8; color:#d5dcd4; margin-top:20px; }
.estimate-line { display:flex; justify-content:space-between; gap:15px; border-top:1px solid #667368; padding-top:20px; margin-top:25px; font-size:10px; }
.estimate-note { max-width:300px; font-size:10px; line-height:1.9; margin-top:24px; color:#c2ccc1; }
.estimate-mark { display:block; font-size:65px; font-weight:500; letter-spacing:-5px; line-height:1; color:#6c776c; margin-top:32px; }
.estimate-mark>span { color:#c6ab90; }
.request-result { margin-top:35px; padding:30px; border:1px solid #b9bdb3; background:#f8f8f4; }
.request-result[hidden] { display:none; }
.request-result h3 { margin-top:15px; font-size:24px; font-weight:400; letter-spacing:-.5px; }
.request-result p { font-size:12px; color:var(--muted); margin-top:12px; line-height:1.8; }
.request-result pre { white-space:pre-wrap; overflow-wrap:anywhere; font-family:Manrope,Arial,sans-serif; font-size:13px; line-height:1.9; margin:25px 0; }
.noscript-note { padding:20px; border:1px solid var(--accent); margin-bottom:25px; line-height:1.8; }
.author { padding:55px 6%; background:#292f2c; color:white; display:flex; align-items:center; justify-content:space-between; gap:40px; }
.author>div>p { font-size:10px; color:#c4cdc2; margin-bottom:17px; }
.author h2 { font-size:29px; letter-spacing:-.8px; font-weight:400; }
.author span { display:block; font-size:8px; line-height:1.8; color:#c4cdc2; margin-top:15px; }
footer { padding:30px 6%; display:flex; align-items:center; justify-content:space-between; gap:25px; background:#f6f5f1; }
footer .brand { transform:scale(.85); transform-origin:left; }
footer p,footer>a:last-child { font-size:10px; color:var(--muted); }
.photo-dialog { padding:0; border:1px solid #6b736c; background:#292f2c; color:white; width:min(1000px,92vw); max-height:90vh; }
.photo-dialog::backdrop { background:#0b100de0; backdrop-filter:blur(4px); }
.photo-dialog img { display:block; width:100%; max-height:75vh; object-fit:contain; }
.photo-dialog p { font-size:11px; line-height:1.8; padding:18px 22px; color:#d6ded5; }
.dialog-close { position:absolute; right:10px; top:10px; width:42px; height:42px; padding:0; border:1px solid #99a294; background:#292f2ce6; color:white; font-size:28px; }
@media(max-width:1050px) {
  nav { gap:17px; } nav .nav-cta { margin-left:0; padding:12px; }
  .brand-name { font-size:17px; } .brand { gap:10px; }
  .service-description { padding:28px; } .service-description h3 { font-size:23px; }
  .quick-services>a { padding-left:22px; } .quick-services strong { font-size:15px; }
  .approach { gap:45px; } .request-form { gap:35px; } .faq { gap:45px; }
  .gallery-grid { gap:16px; } .gallery-item>img { height:270px; } .gallery-item>span { padding:18px; }
}
@media(max-width:700px) {
  .demo-bar { padding:8px 5%; font-size:8px; }
  .demo-bar p>span { display:none; }
  .header { min-height:84px; padding:0 5%; gap:0; flex-wrap:wrap; }
  .brand>b { width:37px; height:37px; font-size:25px; padding-left:7px; }
  .brand-name { font-size:17px; } .brand-name small { font-size:6px; letter-spacing:2px; }
  .menu-toggle { display:flex; gap:10px; align-items:center; border:0; padding:14px 0 14px 15px; background:none; font-size:12px; }
  nav { width:100%; flex-direction:column; align-items:stretch; gap:0; padding:10px 0 25px; }
  nav>a { padding:13px 0; } nav .nav-cta { margin-top:8px; text-align:center; }
  .js nav:not(.is-open) { display:none; }
  .hero { min-height:600px; align-items:flex-end; padding:50px 5% 66px; }
  .hero-photo { object-position:62% center; }
  .hero::after { background:linear-gradient(0deg,#111914ef 0%,#111914a6 46%,#1119140a 100%); }
  .hero-copy .eyebrow { font-size:8px; margin-bottom:20px; }
  h1 { font-size:clamp(36px,10.7vw,58px); letter-spacing:-1.7px; }
  .hero-copy>p:not(.eyebrow) { font-size:12px; line-height:1.9; max-width:320px; margin-top:22px; }
  .hero-copy>p br { display:none; }
  .hero-actions { gap:20px; margin-top:27px; flex-wrap:wrap; }
  .button { font-size:11px; padding:16px 19px; }
  .hero-link { font-size:10px; }
  .hero-caption { left:5%; right:5%; bottom:19px; font-size:7px; }
  .quick-services { padding:0 5%; grid-template-columns:1fr; }
  .quick-services>a { border-right:0; border-bottom:1px solid var(--line); padding:18px 8px; display:flex; flex-wrap:wrap; gap:8px 15px; align-items:center; }
  .quick-services>a:first-child { border-left:0; } .quick-services>a:last-child { border-bottom:0; }
  .quick-services span { font-size:7px; margin:0; width:83px; }
  .quick-services strong { font-size:13px; } .quick-services b { right:5px; bottom:15px; font-size:21px; }
  .section { padding:52px 5%; }
  h2 { font-size:31px; letter-spacing:-1px; }
  .section-heading { display:block; margin-bottom:27px; }
  .section-heading .eyebrow { margin-bottom:16px; }
  .section-heading>p { margin-top:19px; font-size:11px; }
  .service-tabs { flex-wrap:wrap; margin-bottom:20px; }
  .service-tabs button { flex:0 0 50%; padding:14px 8px; font-size:11px; }
  .service-tabs button>span { font-size:8px; margin-right:6px; }
  .service-panel { grid-template-columns:1fr; }
  .service-photo>img { height:240px; min-height:0; }
  .service-description { padding:26px 23px; }
  .service-description h3 { font-size:23px; margin:16px 0; }
  .service-bottom { gap:20px; } .service-price { font-size:22px; }
  .price-note { font-size:8px; }
  .approach { grid-template-columns:1fr; gap:30px; }
  .approach-photo>img { height:310px; }
  .approach-copy>p:not(.eyebrow) { font-size:12px; }
  .drive-section.is-moving { height:180svh; }
  .drive-stage { min-height:550px; }
  .drive-top { top:24px; left:5%; right:5%; font-size:7px; letter-spacing:.3px; }
  .drive-title { left:5%; top:18%; font-size:31px; letter-spacing:-1px; }
  .drive-car { width:110vw; top:56%; max-width:none; }
  .drive-bottom { left:5%; right:5%; bottom:30px; display:block; }
  .drive-bottom>p { font-size:11px; }
  .drive-progress { margin-top:20px; } .drive-progress>div { width:125px; }
  .gallery-grid { grid-template-columns:1fr; gap:20px; }
  .gallery-item>img { height:300px; }
  .gallery-item>span { padding:22px; } .gallery-item strong { font-size:16px; }
  .gallery-note { font-size:8px; }
  .faq { grid-template-columns:1fr; gap:28px; padding-top:10px; }
  .questions summary { font-size:12px; } .questions p { font-size:11px; }
  .request-form { grid-template-columns:1fr; gap:30px; }
  .form-row { grid-template-columns:1fr; gap:24px; }
  .estimate { padding:27px; } #estimate-price { font-size:53px; }
  .request-result { padding:22px; } .request-result h3 { font-size:21px; }
  .request-result pre { font-size:12px; }
  .author { padding:43px 5%; display:block; }
  .author h2 { font-size:27px; } .author>div:last-child { margin-top:28px; }
  footer { padding:25px 5%; flex-wrap:wrap; gap:20px; } footer .brand { width:100%; }
  footer p,footer>a:last-child { font-size:9px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; animation:none!important; } .drive-car { will-change:auto; } }
