/*
Theme Name: MOS DETAIL
Description: Детейлинг в Москве и Мытищах. Калькуляторы, каталог работ и запись.
Version: 1.0.0
Text Domain: mos-detail
*/
:root{--ink:#181818;--soft:#f4f3ef;--paper:#faf9f6;--red:#b82e43;--line:#d6d4ce;--muted:#5c5a57}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:16px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 "Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,summary,select{cursor:pointer}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin:0}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d05165;outline-offset:4px}
.max{width:min(1280px,89%);margin-inline:auto}.flex{display:flex}.align-center{align-items:center}.skip{position:absolute;z-index:20;left:15px;top:-100px;background:white;padding:12px}.skip:focus{top:10px}
.mast,footer{background:#181819;color:#fff}.mast{position:relative;z-index:5}.mast .max{height:76px;gap:5%;justify-content:space-between}.logo{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.logo b{font-size:25px;font-weight:900;line-height:1;letter-spacing:-1.7px;font-style:italic}.logo b span{font-weight:400}.monogram{display:flex;gap:3px;transform:skewX(-18deg)}.monogram i{display:block;width:6px;height:21px;background:#ce4156}.monogram i:first-child{height:11px;align-self:flex-end}.monogram i:nth-child(2){height:16px;align-self:flex-end}
.menu{display:flex;gap:32px}.menu a,.header-cta{font-size:14px;font-weight:600}.menu a:hover,.foot a:hover{text-decoration:underline}.header-cta{border:1px solid #565657;border-radius:4px;padding:10px 18px}.header-cta span{margin-left:19px;color:#e27b89}.menu-toggle{display:none}
.hero{background:#141414;color:#fff;isolation:isolate;position:relative;overflow:hidden}.hero-photo,.hero-veil{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;object-position:65% 54%}.hero-veil{z-index:-1;background:linear-gradient(90deg,#111e 0%,#111a 25%,#1112 52%,transparent 78%)}
.hero-inner{padding-block:clamp(58px,6vw,100px);min-height:clamp(450px,39vw,640px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.geo{display:inline-flex;gap:10px;align-items:center;font-size:12px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}.geo i{background:#d74359;width:23px;height:3px}.hero h1{font-size:clamp(58px,6.7vw,108px);letter-spacing:-.065em;line-height:.94;margin:26px 0 21px;font-weight:750}.hero h1 em{font-weight:460}.hero-inner>p{color:#e3e0de;max-width:380px;font-size:17px;line-height:1.55}
.button,.wpcf7-submit{display:inline-flex;align-items:center;justify-content:center;gap:24px;border:0;border-radius:4px;background:var(--red);color:#fff;padding:15px 22px;min-height:48px;font-size:15px;font-weight:650;cursor:pointer}.hero .button,.service-intro .button{margin-top:25px}.button:hover,.wpcf7-submit:hover{background:#9e2134}.button span{font-size:19px;line-height:1}
.models{border-bottom:1px solid var(--line);background:#efeee9}.models .max{justify-content:space-between;gap:18px;min-height:66px}.models span{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.1em}.models b{color:#454443;font-size:clamp(17px,1.65vw,24px);letter-spacing:-.045em}.models b:last-child{letter-spacing:.13em;font-size:1em}
.section{padding-block:clamp(56px,6vw,92px)}h2{font-size:clamp(36px,4.4vw,70px);letter-spacing:-.055em;line-height:1.07}h2>span{color:var(--red)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}.section-head p{max-width:370px;color:var(--muted);font-size:15px}
.service-list{border-top:1px solid var(--line)}.service-row{display:grid;grid-template-columns:1fr 1fr 42px;align-items:center;gap:28px;padding:23px 6px;border-bottom:1px solid var(--line)}.service-row:hover{background:#eeece7}.service-name{font-size:clamp(23px,2.2vw,35px);font-weight:650;letter-spacing:-.045em}.service-row p{color:var(--muted)}.round{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;border:1px solid #bcbab4;font-size:20px}.service-row:hover .round{background:var(--ink);border-color:var(--ink);color:white}
.studios{background:#eeede8}.locations,.works-grid,.service-pics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.locations article{border-top:1px solid #b5b3ad;padding-top:22px}.locations h3{font-size:clamp(24px,2.1vw,34px);margin:13px 0 20px;letter-spacing:-.035em}.locations a,.back{font-size:14px;text-decoration:underline;text-underline-offset:4px}
.foot{padding-block:28px;flex-wrap:wrap;gap:22px;font-size:13px;color:#ddd}.foot small{margin-left:auto}.foot .logo{color:white}
.service-intro{background:var(--ink);color:white}.service-intro .section{display:flex;flex-direction:column;align-items:flex-start}.service-intro .back{margin-bottom:35px}.service-intro h1,.prose h1,.section>h1{font-size:clamp(40px,5.7vw,88px);letter-spacing:-.055em;line-height:1.04;margin:18px 0}.service-intro p{max-width:720px;color:#ddd;font-size:18px}.prose p,.prose ul,.prose details{max-width:780px;margin-block:20px}.prose li{padding:6px 0}.prose details{border-block:1px solid var(--line);padding:18px 0}.prose summary{font-weight:650}.article_item img{aspect-ratio:1.6;object-fit:cover;width:100%}.article_item h2{font-size:28px}.work-detail{color:var(--muted);margin:14px 0}.service-pics{gap:18px;margin-top:32px}.service-pics a{position:relative;overflow:hidden;border-radius:4px;background:var(--ink);color:white}.service-pics img{width:100%;height:clamp(180px,20vw,285px);object-fit:cover}.service-pics strong{position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#151515e6);padding:40px 20px 16px;font-size:18px}
@media(max-width:760px){.max{width:90%}.mast .max{height:60px;gap:10px}.logo b{font-size:22px}.menu-toggle{display:block;background:none;color:white;border:0;margin-left:auto;padding:10px;font-size:14px}.menu-toggle span{margin-left:4px}.menu{display:none;position:absolute;top:100%;left:0;right:0;padding:12px 5%;background:#202020}.menu.open{display:flex;flex-direction:column;gap:0}.menu a{padding:12px 0}.header-cta{padding:8px 10px}.header-cta span{margin-left:4px}.hero-inner{min-height:520px;padding:40px 0 30px;justify-content:flex-start}.hero h1{font-size:clamp(52px,11vw,78px);margin:15px 0}.hero-photo{height:58%;top:auto;object-position:75% 70%}.hero-veil{background:linear-gradient(180deg,#141414 42%,#141414bb 51%,transparent 69%)}.hero-inner>p{max-width:330px;font-size:15px}.hero .button{margin-top:17px}.models .max{min-height:52px;gap:8px}.models span{display:none}.models b{font-size:16px}.models b:last-child{font-size:13px}.section-head{display:block;margin-bottom:23px}.section-head p{margin-top:13px}.service-row{grid-template-columns:1fr 36px;gap:3px 12px;padding:16px 0}.service-row p{grid-row:2;font-size:14px}.service-row .round{grid-column:2;grid-row:1/3;width:34px;height:34px}.locations,.works-grid{grid-template-columns:1fr}.foot{gap:16px}.foot small{margin-left:0}.service-pics{gap:9px}.service-pics img{height:135px}.service-pics strong{font-size:14px;padding:30px 10px 10px}.geo{font-size:10px}}
@media(max-width:360px){.header-cta{display:none}.hero h1{font-size:48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.calc-section{padding-block:clamp(54px,6vw,90px);background:#232323;color:#fcfbf8}.calc-section h2{margin-bottom:30px}.calc-panel{background:#303031;border:1px solid #474748;border-radius:6px;padding:clamp(20px,3vw,42px)}.calc-grid,.calc-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.calc-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:22px 0}.calc-field,.calc-form-grid label{display:block;font-size:14px;font-weight:600}.calc-panel select,.calc-panel input:not([type=submit]):not([type=hidden]){display:block;width:100%;min-height:48px;border-radius:3px;border:1px solid #747474;background:#242424;color:white;padding:9px 10px;margin-top:7px;color-scheme:dark}.calc-result{border-top:1px solid #626263;margin:25px 0 20px;padding:22px 0 0}.calc-result>span,.calc-note,.calc-form>p{font-size:15px;color:#dedbd7}.calc-quote{display:block;font-size:clamp(29px,3vw,46px);letter-spacing:-.04em;margin:2px 0}.calc-booking>summary{list-style:none}.calc-booking>summary::-webkit-details-marker{display:none}.calc-form{border-top:1px solid #626263;margin-top:24px;padding-top:24px}.calc-form h3{font-size:26px;margin-bottom:6px}.wpcf7-not-valid-tip{color:#ffb1bb}.wpcf7-response-output{padding:10px}.service-intro h1,.prose h1{overflow-wrap:anywhere}
@media(max-width:760px){.calc-grid,.calc-form-grid{grid-template-columns:1fr;gap:14px}.calc-booking>summary{display:flex}.calc-panel{padding:18px}}
.menu-toggle,.header-cta{white-space:nowrap;flex-shrink:0}
@media(max-width:430px){.mast .max{gap:5px}.menu-toggle{padding:10px 3px}.menu-toggle span{display:none}.header-cta{padding:8px}.mast .logo{gap:7px}}
