/* Вариант 01: GRAPHITE ATELIER — графитовая основа, пыльный беж, строгий изумруд */
body.theme-atelier{--ink:#282a2c;--muted:#6f6d68;--line:#d6c7b7;--paper:#f6f0e8;--sand:#e7dacb;--accent:#126353;--dark:#252728;overflow-x:clip;background:#e8ddd0}
.theme-atelier .site-header,.theme-atelier .section,.theme-atelier .hero{border-color:#d2c1b0;background:#f8f2eb}.theme-atelier .site-header{background:#f8f2ebeF}.theme-atelier .hero-art{background:linear-gradient(145deg,#dce1da,#ece0d3)}.theme-atelier .arch{background:#e7ece5;border-color:#f7f4ef}.theme-atelier .sun{background:#d2ddcf}.theme-atelier .hero-art p{color:#31554d}.theme-atelier .leaf,.theme-atelier .features span,.theme-atelier .help>span{color:#11705d}.theme-atelier .features article,.theme-atelier .service-card,.theme-atelier .calendar{border-color:#c8b5a2}.theme-atelier .service-card{background:linear-gradient(135deg,#f9f4ed,#e9eee7)}.theme-atelier .button{background:#242627;border-color:#242627}.theme-atelier .button:hover{background:#0f5b4c}.theme-atelier .button.ghost{background:transparent;border-color:#0f5b4c;color:#0f5b4c}.theme-atelier .trust,.theme-atelier .help, .theme-atelier blockquote{background:#e9eee7}.theme-atelier .photo,.theme-atelier .atmos-grid div{background:linear-gradient(145deg,#cbd6ce,#eee4d8)}.theme-atelier footer{background:#d8c7b5}.theme-atelier .copyright{border-color:#bfa995}

/* Вариант 02: EMERALD LOUNGE — глубокий изумрудный интерьер, шампань и графит */
body.theme-emerald{--ink:#f3eee7;--muted:#c8c4ba;--line:#49665d;--paper:#1d3430;--sand:#15302b;--accent:#d5b580;--dark:#d5b580;background:#102522}.theme-emerald .site-header,.theme-emerald .section,.theme-emerald .hero{border-color:#3d5952;background:#1a302c;box-shadow:0 10px 28px #00000022}.theme-emerald .site-header{background:#19302cE8}.theme-emerald .logo,.theme-emerald h1,.theme-emerald h2,.theme-emerald h3{color:#f5efe8}.theme-emerald .hero-copy>p:not(.eyebrow),.theme-emerald .intro,.theme-emerald .features p,.theme-emerald .service-card p,.theme-emerald .service-card ul,.theme-emerald .team-grid p,.theme-emerald .help p,.theme-emerald .works-copy>p:not(.eyebrow),.theme-emerald .calendar p,.theme-emerald form label,.theme-emerald .footer-grid p{color:#c8c5bc}.theme-emerald .hero-art{background:linear-gradient(145deg,#29564d,#183c35)}.theme-emerald .arch{background:#23463f;border-color:#41645c}.theme-emerald .sun{background:#467165}.theme-emerald .hero-art p{color:#e6cfab}.theme-emerald .leaf,.theme-emerald .features span,.theme-emerald .help>span{color:#d5b580}.theme-emerald .features article,.theme-emerald .service-card,.theme-emerald .calendar,.theme-emerald .team-grid article{background:#213b36;border-color:#49665d}.theme-emerald .service-card{background:linear-gradient(145deg,#25443e,#1c3530)}.theme-emerald .service-card div{border-color:#49665d}.theme-emerald .button{background:#d5b580;border-color:#d5b580;color:#1d302b}.theme-emerald .button:hover{background:#f0d3a4}.theme-emerald .button.ghost{background:transparent;color:#ead4b2;border-color:#b89c74}.theme-emerald .trust,.theme-emerald .help,.theme-emerald blockquote{background:#29473f;color:#f4ede3}.theme-emerald .photo,.theme-emerald .atmos-grid div{background:linear-gradient(145deg,#426a60,#1d3732)}.theme-emerald .photo:before{border-color:#98afa4}.theme-emerald .photo:after{color:#bdc9c2}.theme-emerald input{background:#17302b!important;border-color:#49665d!important;color:#f4ede3}.theme-emerald footer{background:#0e211e}.theme-emerald footer a,.theme-emerald .copyright{color:#c6c2b9}.theme-emerald .copyright{border-color:#38544d}

/* Вариант 03: JADE GALLERY — светлый бежевый фон, графитовый текст и ясный jade-акцент */
body.theme-jade{--ink:#333536;--muted:#77756f;--line:#e0d3c4;--paper:#fffaf4;--sand:#f1e5d7;--accent:#087766;--dark:#343637;background:#f2e8dc}.theme-jade .site-header,.theme-jade .section,.theme-jade .hero{background:#fffaf5;border-color:#e3d5c7}.theme-jade .site-header{background:#fffaf5eF}.theme-jade .hero-art{background:linear-gradient(145deg,#e6eee7,#efe2d5)}.theme-jade .arch{background:#f4f7f1}.theme-jade .sun{background:#c9ded3}.theme-jade .hero-art p{color:#176f61}.theme-jade .leaf,.theme-jade .features span,.theme-jade .help>span{color:#07806b}.theme-jade .features article,.theme-jade .service-card,.theme-jade .calendar{border-color:#d9c5af}.theme-jade .service-card{background:linear-gradient(135deg,#fffaf5,#eef4ef)}.theme-jade .button{background:#087766;border-color:#087766}.theme-jade .button:hover{background:#055f51}.theme-jade .button.ghost{background:transparent;border-color:#087766;color:#087766}.theme-jade .trust,.theme-jade .help,.theme-jade blockquote{background:#eff5ef}.theme-jade .photo,.theme-jade .atmos-grid div{background:linear-gradient(145deg,#d9e7de,#f1e2d4)}.theme-jade footer{background:#e8d9ca}.theme-jade .copyright{border-color:#d2bdab}

/* Основной hero: фоновое видео мягко растворяется в общем фоне по краям. */
body.theme-atelier .hero{position:relative;isolation:isolate;height:clamp(470px,42vw,540px);min-height:0;aspect-ratio:auto;overflow:hidden;border:0;border-radius:30px 30px 12px 12px;background:#e8ddd0;box-shadow:0 -8px 46px 14px rgba(232,221,208,.68)}
body.theme-atelier .hero::before{content:"";position:absolute;inset:0;z-index:-3;background:#e8ddd0}
body.theme-atelier .hero-video{position:absolute;inset:0 0 -12px;z-index:-2;width:100%;height:calc(100% + 12px);object-fit:cover;object-position:center;border:0;pointer-events:none;filter:saturate(.82) contrast(.96) brightness(.94);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 9%,#000 91%,transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 9%,#000 91%,transparent 100%)}
body.theme-atelier .hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,rgba(232,221,208,.98) 0%,rgba(232,221,208,.46) 8%,transparent 20%,transparent 91%,rgba(232,221,208,.12) 96%,rgba(232,221,208,.9) 100%),linear-gradient(to right,rgba(232,221,208,.98) 0%,rgba(232,221,208,.42) 9%,transparent 20%,transparent 80%,rgba(232,221,208,.42) 91%,rgba(232,221,208,.98) 100%),linear-gradient(90deg,rgba(248,243,237,.94) 0%,rgba(248,243,237,.72) 34%,rgba(248,243,237,.18) 62%,transparent 100%)}
body.theme-atelier .hero-copy{display:flex;flex-direction:column;justify-content:flex-start;width:min(700px,70%);padding-top:58px;padding-right:34px}
body.theme-atelier .hero h1{max-width:670px;font-size:clamp(48px,4.5vw,68px);line-height:1.1;letter-spacing:-.7px}
body.theme-atelier .hero-subtitle{margin:30px 0 0!important;font-family:'Playfair Display',serif;font-size:18px!important;font-weight:500;color:#514842}
body.theme-atelier .hero-buttons{gap:18px;margin-top:28px}
body.theme-atelier .hero .button:not(.ghost){background:#4a4c4f;border-color:#4a4c4f}
body.theme-atelier .hero .button:not(.ghost):hover{background:#35373a;border-color:#35373a}
body.theme-atelier .hero-art{display:none}
@media(prefers-reduced-motion:reduce){body.theme-atelier .hero-video{display:none}body.theme-atelier .hero::before{background:linear-gradient(135deg,#e8ddd0,#d9d4cb 52%,#c7cbc5)}}
body.theme-atelier #about{position:relative;isolation:isolate;border:0;padding-bottom:52px;background:transparent;box-shadow:none}
body.theme-atelier #about::before{content:"";position:absolute;inset:-36px;z-index:-1;border-radius:48px;background:radial-gradient(ellipse 88% 88% at center,rgba(248,242,235,.98) 35%,rgba(248,242,235,.86) 55%,rgba(248,242,235,.42) 72%,rgba(232,221,208,0) 100%);filter:blur(16px);pointer-events:none}
body.theme-atelier #services{position:relative;isolation:isolate;border:0;background:transparent;box-shadow:none}
body.theme-atelier #services.is-service-open{z-index:20}
body.theme-atelier #services::before{content:"";position:absolute;inset:-36px;z-index:-1;border-radius:48px;background:radial-gradient(ellipse 88% 88% at center,rgba(248,242,235,.98) 32%,rgba(248,242,235,.84) 55%,rgba(248,242,235,.38) 74%,rgba(232,221,208,0) 100%);filter:blur(16px);pointer-events:none}
body.theme-atelier #works{position:relative;isolation:isolate;border:0;background:transparent;box-shadow:none}
body.theme-atelier #works::before{content:"";position:absolute;inset:-36px;z-index:-1;border-radius:48px;background:radial-gradient(ellipse 88% 88% at center,rgba(248,242,235,.98) 32%,rgba(248,242,235,.84) 55%,rgba(248,242,235,.38) 74%,rgba(232,221,208,0) 100%);filter:blur(16px);pointer-events:none}
body.theme-atelier #team{position:relative;isolation:isolate;border:0;background:transparent;box-shadow:none}
body.theme-atelier #team::before{content:"";position:absolute;inset:-36px;z-index:-1;border-radius:48px;background:radial-gradient(ellipse 88% 88% at center,rgba(248,242,235,.98) 32%,rgba(248,242,235,.84) 55%,rgba(248,242,235,.38) 74%,rgba(232,221,208,0) 100%);filter:blur(16px);pointer-events:none}
body.theme-atelier .atmosphere,body.theme-atelier #booking{position:relative;isolation:isolate;border:0;background:transparent;box-shadow:none}
body.theme-atelier .atmosphere::before,body.theme-atelier #booking::before{content:"";position:absolute;inset:-36px;z-index:-1;border-radius:48px;background:radial-gradient(ellipse 88% 88% at center,rgba(248,242,235,.98) 32%,rgba(248,242,235,.84) 55%,rgba(248,242,235,.38) 74%,rgba(232,221,208,0) 100%);filter:blur(16px);pointer-events:none}
body.theme-atelier #reviews{position:relative;isolation:isolate;display:block;border:0;background:transparent;box-shadow:none}
body.theme-atelier #reviews::before{content:"";position:absolute;inset:-36px;z-index:-1;border-radius:48px;background:radial-gradient(ellipse 88% 88% at center,rgba(248,242,235,.98) 32%,rgba(248,242,235,.84) 55%,rgba(248,242,235,.38) 74%,rgba(232,221,208,0) 100%);filter:blur(16px);pointer-events:none}
body.theme-atelier #reviews h2{text-align:center}
body.theme-atelier .reviews-track{display:flex;gap:16px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x mandatory;scrollbar-color:#bba48e transparent}
body.theme-atelier .reviews-track blockquote{flex:0 0 min(560px,100%);margin:0;scroll-snap-align:start}
body.theme-atelier #reviews .review-card{background:rgba(233,238,231,.78);border-color:#bba48e}
body.theme-atelier #reviews .reviews-arrow::before{border-right-color:#4a4c4f}
body.theme-atelier #reviews .reviews-arrow--next::before{border-right-color:transparent;border-left-color:#4a4c4f}

/* Будущие фотографии: более свободная журнальная сетка с разными форматами кадров. */
body.theme-atelier #works{display:block;padding-block:46px}
body.theme-atelier #works .works-copy{max-width:620px;margin:0 auto;text-align:center}
body.theme-atelier #works h2{text-align:center}
body.theme-atelier #works .works-copy>p:not(.eyebrow){margin:14px 0 0;font:400 14px/1.35 'Playfair Display',serif;color:#5e5148}
body.theme-atelier .gallery{display:flex;flex-wrap:wrap;justify-content:center;gap:32px;margin-top:42px;padding:14px 24px}
body.theme-atelier .gallery .photo{min-height:0;border:5px solid rgba(255,253,249,.8);border-radius:5px;box-shadow:0 10px 22px rgba(87,63,45,.12);transition:transform .25s ease,box-shadow .25s ease}
body.theme-atelier .gallery .p1,body.theme-atelier .gallery .p3{flex:0 1 340px;height:250px}
body.theme-atelier .gallery .p2{flex:0 0 250px;height:250px}
body.theme-atelier .gallery .p4,body.theme-atelier .gallery .p5,body.theme-atelier .gallery .p7{flex:0 0 220px;height:220px}
body.theme-atelier .gallery .p6{flex:0 1 370px;height:220px}
body.theme-atelier .gallery .p8,body.theme-atelier .gallery .p9{flex:0 1 340px;height:220px}
body.theme-atelier .gallery .p8,body.theme-atelier .gallery .p9{order:7}
body.theme-atelier .gallery .p7{order:8}
body.theme-atelier .gallery .photo:hover{transform:translateY(-4px) rotate(0);box-shadow:0 16px 28px rgba(87,63,45,.18)}
body.theme-atelier .atmosphere{padding-block:46px}
body.theme-atelier .atmos-grid{display:flex;align-items:center;gap:clamp(12px,1.7vw,22px);margin-top:30px;padding:10px 18px 16px}
body.theme-atelier .atmos-grid div{min-width:0;min-height:0;border:5px solid rgba(255,253,249,.8);border-radius:5px;padding:14px;box-shadow:0 10px 22px rgba(87,63,45,.12);transition:transform .25s ease,box-shadow .25s ease}
body.theme-atelier .atmos-grid div:nth-child(1),body.theme-atelier .atmos-grid div:nth-child(5){flex:1.05;height:210px}
body.theme-atelier .atmos-grid div:nth-child(2),body.theme-atelier .atmos-grid div:nth-child(4){flex:.78;height:150px}
body.theme-atelier .atmos-grid div:nth-child(3){flex:1.28;height:270px}
body.theme-atelier .atmos-grid div:hover{transform:translateY(-4px);box-shadow:0 16px 28px rgba(87,63,45,.18)}
@media(max-width:800px){body.theme-atelier #works{padding-block:36px}body.theme-atelier .gallery{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:150px;gap:20px;padding:10px 12px}body.theme-atelier .gallery .p1,body.theme-atelier .gallery .p3{height:auto;grid-column:1 / span 4;grid-row:auto}.theme-atelier .gallery .p2,body.theme-atelier .gallery .p4{height:auto;grid-column:5 / span 2;grid-row:auto}.theme-atelier .gallery .p5,body.theme-atelier .gallery .p7{height:auto;grid-column:1 / span 2;grid-row:auto}.theme-atelier .gallery .p6{height:auto;grid-column:3 / span 4;grid-row:auto}.theme-atelier .gallery .p8,.theme-atelier .gallery .p9{height:auto;grid-column:span 3;grid-row:auto}.theme-atelier .gallery .photo{transform:none}body.theme-atelier .atmosphere{padding-block:36px}body.theme-atelier .atmos-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:150px;gap:16px;margin-top:24px;padding:8px}.theme-atelier .atmos-grid div:nth-child(n){height:auto;grid-column:auto;grid-row:auto}}
@media(max-width:520px){body.theme-atelier .gallery,body.theme-atelier .atmos-grid{grid-template-columns:1fr 1fr;grid-auto-rows:130px}body.theme-atelier .gallery{gap:16px;padding:8px}body.theme-atelier .gallery .p1{grid-column:1;grid-row:span 2}body.theme-atelier .gallery .p2{grid-column:2;grid-row:span 1}body.theme-atelier .gallery .p3{grid-column:2;grid-row:span 1}body.theme-atelier .gallery .p4{grid-column:1;grid-row:span 2}body.theme-atelier .gallery .p5,body.theme-atelier .gallery .p6{grid-column:2;grid-row:span 1}body.theme-atelier .atmos-grid{grid-auto-rows:150px;gap:12px;padding:4px}body.theme-atelier .atmos-grid div:nth-child(n){height:auto;grid-column:auto;grid-row:auto}}
body.theme-atelier main{overflow-x:clip}

/* На планшете журнальная раскладка становится спокойной регулярной сеткой. */
@media (min-width:521px) and (max-width:800px){
body.theme-atelier .gallery{grid-template-columns:repeat(4,1fr);grid-auto-rows:160px;gap:20px;padding:12px 10px}
body.theme-atelier .gallery .photo{height:auto;order:0!important}
body.theme-atelier .gallery .p1{grid-column:1 / span 2;grid-row:1}
body.theme-atelier .gallery .p2{grid-column:3;grid-row:1}
body.theme-atelier .gallery .p4{grid-column:4;grid-row:1}
body.theme-atelier .gallery .p3{grid-column:1 / span 2;grid-row:2}
body.theme-atelier .gallery .p5{grid-column:3;grid-row:2}
body.theme-atelier .gallery .p7{grid-column:4;grid-row:2}
body.theme-atelier .gallery .p6{grid-column:1 / span 2;grid-row:3}
body.theme-atelier .gallery .p8{grid-column:3 / span 2;grid-row:3}
body.theme-atelier .gallery .p9{grid-column:2 / span 2;grid-row:4}
body.theme-atelier .atmos-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px;gap:20px;padding:10px}
body.theme-atelier .atmos-grid div:nth-child(5){grid-column:1 / -1}
}

/* Телефон: только первая компактная подборка работ — без третьего ряда и наложений. */
@media (max-width:520px){
body.theme-atelier .gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:128px;gap:16px;padding:8px}
body.theme-atelier .gallery .photo{height:auto;order:0!important}
body.theme-atelier .gallery .p1{grid-column:1 / -1;grid-row:1}
body.theme-atelier .gallery .p2{grid-column:1;grid-row:2}
body.theme-atelier .gallery .p4{grid-column:2;grid-row:2}
body.theme-atelier .gallery .p3{grid-column:1 / -1;grid-row:3}
body.theme-atelier .gallery .p5{grid-column:1;grid-row:4}
body.theme-atelier .gallery .p6{grid-column:2;grid-row:4}
body.theme-atelier .gallery .p7,body.theme-atelier .gallery .p8,body.theme-atelier .gallery .p9{display:none}
body.theme-atelier .atmos-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:132px;gap:16px;padding:8px}
body.theme-atelier .atmos-grid div:nth-child(5){grid-column:1 / -1}
}

/* Квадратные кадры атмосферы: три сверху, два по центру снизу. */
@media (max-width:800px){
body.theme-atelier .atmos-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:auto;gap:16px;padding:8px}
body.theme-atelier .atmos-grid div:nth-child(n){height:auto;aspect-ratio:1;grid-row:auto}
body.theme-atelier .atmos-grid div:nth-child(1){grid-column:1 / span 2;grid-row:1}
body.theme-atelier .atmos-grid div:nth-child(2){grid-column:3 / span 2;grid-row:1}
body.theme-atelier .atmos-grid div:nth-child(3){grid-column:5 / span 2;grid-row:1}
body.theme-atelier .atmos-grid div:nth-child(4){grid-column:2 / span 2;grid-row:2}
body.theme-atelier .atmos-grid div:nth-child(5){grid-column:4 / span 2;grid-row:2}
}

@media (max-width:520px){
body.theme-atelier .atmos-grid{gap:12px;padding:6px}
}
body.theme-atelier .services .service-grid{grid-template-columns:repeat(2,1fr)}
body.theme-atelier .about .feature-icon{display:block;flex:0 0 auto;width:60px;height:60px;object-fit:contain;margin:0 auto}
body.theme-atelier .about .features{grid-template-columns:repeat(4,1fr)}
body.theme-atelier .about .features article{position:relative;isolation:isolate;overflow:hidden;border:0;background:linear-gradient(145deg,rgba(255,253,249,.96),rgba(252,247,240,.82));box-shadow:0 10px 24px rgba(124,98,78,.07);backdrop-filter:blur(4px);transition:transform .28s ease,box-shadow .28s ease,background .28s ease,backdrop-filter .28s ease}
body.theme-atelier .about .features article{display:flex;flex-direction:column;align-items:center;padding:22px 14px}
body.theme-atelier .about .features article h3{margin:auto 0 3px;font:500 16px/1.2 'Playfair Display',serif;color:#514842}
body.theme-atelier .about .features article::before{content:"";position:absolute;inset:-45%;z-index:-1;background:radial-gradient(circle,rgba(255,255,255,.95) 0%,rgba(255,250,244,.42) 34%,transparent 68%);filter:blur(18px);opacity:0;transform:translateY(16px);transition:opacity .28s ease,transform .28s ease}
body.theme-atelier .about .features article:hover{transform:translateY(-5px);background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(250,244,237,.68));box-shadow:0 16px 34px rgba(112,86,68,.14);backdrop-filter:blur(12px)}
body.theme-atelier .about .features article:hover::before{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){body.theme-atelier .about .features article,body.theme-atelier .about .features article::before{transition:none}body.theme-atelier .about .features article:hover{transform:none}}
body.theme-atelier .about .intro,body.theme-atelier .team .intro{max-width:820px;margin:16px auto 0;font:400 14px/1.35 'Playfair Display',serif;color:#5e5148}
body.theme-atelier .works-copy>p:not(.eyebrow){margin:16px 0 20px;font:400 14px/1.35 'Playfair Display',serif;color:#5e5148}
@media(max-width:800px){body.theme-atelier .hero{aspect-ratio:auto;min-height:560px;border-radius:24px 24px 10px 10px;box-shadow:0 -6px 26px 10px rgba(232,221,208,.62)}body.theme-atelier .hero-video{object-position:center;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%)}body.theme-atelier .hero::before{background-size:cover;background-position:center}body.theme-atelier .hero::after{background:linear-gradient(to bottom,rgba(232,221,208,.95),rgba(232,221,208,.36) 15%,transparent 90%,rgba(232,221,208,.14) 96%,rgba(232,221,208,.88) 100%),linear-gradient(90deg,rgba(248,243,237,.88),rgba(248,243,237,.44) 72%,rgba(248,243,237,.2))}body.theme-atelier .hero-copy{width:100%;padding-right:24px}body.theme-atelier .hero-buttons{margin-top:36px}body.theme-atelier .about .features{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.theme-atelier .about .features article{min-height:150px;padding:18px 12px}body.theme-atelier .about .feature-icon{width:42px;height:42px}body.theme-atelier .about .features article h3{max-width:100%;margin:auto 0 1px;font-size:14px;line-height:1.15;text-align:center;text-wrap:balance}body.theme-atelier .services .service-card:last-child{grid-column:auto}}

/* Прозрачная шапка: фоновое изображение остаётся главным визуальным слоем. */
body.theme-atelier .site-header{display:grid;grid-template-columns:170px minmax(0,1fr) 170px;background:rgba(224,207,190,.25);border-color:transparent;box-shadow:0 10px 28px rgba(87,63,45,.18);backdrop-filter:blur(18px)}
body.theme-atelier .site-header nav{justify-content:center;margin:0;gap:clamp(28px,4vw,60px)}
body.theme-atelier .site-header nav a{font-size:13px;font-weight:700;color:#2f2824}
body.theme-atelier .site-header .header-actions>a:not(.button){font-size:12px;font-weight:700;color:#2f2824}
body.theme-atelier .site-header .header-actions{justify-self:end;gap:34px}
body.theme-atelier .site-header .button.small{min-width:128px;padding:11px 24px;border-color:#4a4c4f;background:#4a4c4f;border-radius:14px;box-shadow:0 10px 24px rgba(50,44,41,.22)}
body.theme-atelier .site-header .button.small:hover{background:#35373a;border-color:#35373a;box-shadow:0 14px 30px rgba(50,44,41,.30)}
@media(max-width:800px){body.theme-atelier .site-header{display:flex}body.theme-atelier .site-header .header-actions{gap:16px}body.theme-atelier .site-header .button.small{min-width:0;padding:8px 12px;border-radius:10px}body.theme-atelier .menu-toggle{width:36px;height:36px;padding:7px;border-radius:10px;gap:5px;transition:background .22s ease,transform .22s ease}body.theme-atelier .menu-toggle i{width:22px;height:1.5px;margin:0 auto;border-radius:2px;background:#4a4c4f;transition:transform .22s ease,opacity .22s ease}body.theme-atelier .menu-toggle:hover{background:rgba(207,193,178,.52);transform:translateY(-1px)}body.theme-atelier .site-header nav.open{top:61px;padding:9px;background:rgba(238,231,222,.97);border:1px solid rgba(199,181,164,.76);border-radius:14px;box-shadow:0 14px 30px rgba(87,63,45,.18);backdrop-filter:blur(16px);animation:atelier-mobile-menu-in .24s ease both}body.theme-atelier .site-header nav.open a{padding:12px 14px;border-radius:9px;color:#3b3430;transition:background .2s ease,color .2s ease,transform .2s ease}body.theme-atelier .site-header nav.open a:hover{background:#cfc1b2;color:#272321;transform:translateX(3px)}@keyframes atelier-mobile-menu-in{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}}
@media(prefers-reduced-motion:reduce){body.theme-atelier .menu-toggle,body.theme-atelier .menu-toggle i,body.theme-atelier .site-header nav.open,body.theme-atelier .site-header nav.open a{transition:none;animation:none}}
@media(max-width:800px){body.theme-atelier .about .features article{display:flex;min-height:124px;height:124px;align-items:center;justify-content:flex-start;padding:16px 10px 13px}body.theme-atelier .about .feature-icon{display:block;width:32px;height:32px;max-width:32px;max-height:32px;margin:0;object-fit:contain;object-position:center;flex:0 0 auto}body.theme-atelier .about .features article h3{display:block;min-height:0;margin:10px 0 0!important;line-height:1.15;flex:0 0 auto}}
@media (min-width:521px) and (max-width:800px){body.theme-atelier .about .features{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body.theme-atelier .about .features article{padding:14px 8px 11px}body.theme-atelier .about .features article:last-child{grid-column:auto}}
body.theme-atelier .services .service-grid{gap:16px;margin-top:49px}
body.theme-atelier .services .service-item{position:relative;z-index:0;min-width:0;padding-bottom:55px}
body.theme-atelier .services .service-card{position:relative;min-height:0;aspect-ratio:1.38;overflow:hidden;padding:0;border:0;border-radius:18px;background:transparent;box-shadow:0 0 44px 14px rgba(248,242,235,.76);isolation:isolate;-webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.2) 14%,rgba(0,0,0,.7) 31%,#000 47%,#000 53%,rgba(0,0,0,.7) 69%,rgba(0,0,0,.2) 86%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.2) 14%,rgba(0,0,0,.7) 31%,#000 47%,#000 53%,rgba(0,0,0,.7) 69%,rgba(0,0,0,.2) 86%,transparent 100%);transition:box-shadow .45s ease}
body.theme-atelier .services .service-card::before{content:"";position:absolute;inset:-18px;z-index:0;background:var(--service-image) center/cover no-repeat;filter:blur(18px) saturate(.58) brightness(.88);transform:scale(1.08);opacity:.72;transition:filter .45s ease,opacity .45s ease}
body.theme-atelier .services .service-card img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;filter:saturate(.62) brightness(.91) contrast(.94);transform:scale(1);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 13%,#000 87%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,#000 13%,#000 87%,transparent 100%);transition:filter .45s ease,transform .55s cubic-bezier(.2,.7,.2,1)}
body.theme-atelier .services .service-item:nth-child(1) .service-card{--service-image:url("assets/service-hair-new.webp")}
body.theme-atelier .services .service-item:nth-child(2) .service-card{--service-image:url("assets/service-makeup.webp")}
body.theme-atelier .services .service-item:nth-child(3) .service-card{--service-image:url("assets/service-manicure.webp")}
body.theme-atelier .services .service-item:nth-child(4) .service-card{--service-image:url("assets/service-pedicure.webp")}
body.theme-atelier .services .service-card::before{display:none}
body.theme-atelier .services .service-card::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 76% 84% at 50% 48%,rgba(248,242,235,0) 20%,rgba(248,242,235,.14) 40%,rgba(248,242,235,.52) 62%,rgba(248,242,235,.9) 82%,#f8f2eb 100%);opacity:1;transition:opacity .45s ease}
body.theme-atelier .services .service-card img{object-fit:cover;object-position:center;filter:saturate(.72) brightness(.96);transform:scale(1);-webkit-mask-image:none;mask-image:none;transition:filter .45s ease,transform .55s cubic-bezier(.2,.7,.2,1)}
body.theme-atelier .services .service-card{-webkit-mask-image:radial-gradient(ellipse 76% 84% at 50% 48%,#000 22%,rgba(0,0,0,.9) 43%,rgba(0,0,0,.54) 65%,rgba(0,0,0,.16) 84%,transparent 100%)!important;mask-image:radial-gradient(ellipse 76% 84% at 50% 48%,#000 22%,rgba(0,0,0,.9) 43%,rgba(0,0,0,.54) 65%,rgba(0,0,0,.16) 84%,transparent 100%)!important;box-shadow:0 0 76px 30px rgba(248,242,235,.82)}
body.theme-atelier .services .service-card:hover{box-shadow:0 0 46px 13px rgba(248,242,235,.76)}
body.theme-atelier .services .service-card:hover img{filter:saturate(1) brightness(1);transform:scale(1.01)}
body.theme-atelier .services .service-card:hover::after{opacity:.72}
body.theme-atelier .services .service-details{position:absolute;right:0;bottom:0;left:0;z-index:1;margin-top:0}
body.theme-atelier .services .service-details summary{display:flex;width:100%;min-height:43px;padding:11px 17px;cursor:pointer;font-size:11px;list-style:none}
body.theme-atelier .services .service-details summary::-webkit-details-marker{display:none}
body.theme-atelier .services .service-details summary span{margin-left:auto;font-size:16px;line-height:.7;transition:transform .2s ease}
body.theme-atelier .services .service-details[open] summary span{transform:rotate(180deg)}
body.theme-atelier .services .service-item.is-open{z-index:10}
body.theme-atelier .services .service-details{z-index:2}
body.theme-atelier .services .service-list{display:none;position:absolute;top:100%;right:0;left:0;z-index:3;margin:8px 0 0;padding:14px 16px;border:1px solid #e7dcd2;border-radius:12px;background:#fff7ee!important;background-image:none!important;background-blend-mode:normal!important;mix-blend-mode:normal!important;opacity:1!important;filter:none!important;box-shadow:0 12px 28px rgba(87,63,45,.18);color:#242627!important;font-size:13px;font-weight:700;line-height:1.45}
body.theme-atelier .services .service-list.is-open{display:block}
body.theme-atelier .services .service-list p{margin:0;color:#242627!important;font:inherit}
body.theme-atelier .hero .button.ghost,body.theme-atelier .works .button.ghost{min-width:128px;padding:11px 24px;border-radius:14px}
@media(max-width:800px){body.theme-atelier .services .service-grid{gap:12px}body.theme-atelier .services .service-item{padding-bottom:49px}body.theme-atelier .services .service-card{aspect-ratio:1.3;border-radius:14px}body.theme-atelier .services .service-details summary{min-height:40px;padding:10px 12px;font-size:10px}body.theme-atelier .hero .button.ghost,body.theme-atelier .works .button.ghost{min-width:0;padding:8px 12px;border-radius:10px}}
@media(prefers-reduced-motion:reduce){body.theme-atelier .services .service-card,body.theme-atelier .services .service-card::before,body.theme-atelier .services .service-card img,body.theme-atelier .services .service-card::after{transition:none}body.theme-atelier .services .service-card:hover img{transform:scale(1)}}

/* Портретные карточки для будущих фотографий мастеров. */
body.theme-atelier .team-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
body.theme-atelier .team-grid article{padding:12px}
body.theme-atelier .team-grid img,body.theme-atelier .team-grid .master-placeholder{height:auto;aspect-ratio:3/4}
@media(max-width:800px){body.theme-atelier .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body.theme-atelier .team-grid article{padding:10px}}
@media(max-width:420px){body.theme-atelier .team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.theme-atelier .team-grid article{padding:8px}}

/* Иконка блока помощи повторяет размер и подачу иконок «О студии». */
body.theme-atelier .help .help-icon{display:block;flex:0 0 60px;width:60px;height:60px;object-fit:contain;mix-blend-mode:multiply}
@media(max-width:800px){body.theme-atelier .help .help-icon{flex-basis:42px;width:42px;height:42px}}

body.theme-atelier .team .help{position:relative;isolation:isolate;gap:10px;background:transparent;box-shadow:none}
@media(min-width:801px){body.theme-atelier .team .help{margin-top:48px}}
body.theme-atelier .team .help::before{content:"";position:absolute;inset:-18px;z-index:-1;border-radius:34px;background:radial-gradient(ellipse 92% 120% at center,#f6f0e8 30%,rgba(246,240,232,.9) 57%,rgba(246,240,232,.48) 76%,rgba(246,240,232,0) 100%);box-shadow:0 0 30px 8px rgba(246,240,232,.58);filter:blur(10px);pointer-events:none}
body.theme-atelier .team .help h3{font:500 18px/1.2 'Playfair Display',serif;color:#514842}
body.theme-atelier .team .help p{margin:5px 0 0;font:400 14px/1.35 'Playfair Display',serif;color:#5e5148}
body.theme-atelier .hero .button:not(.ghost),body.theme-atelier .team .help .button{min-width:128px;padding:11px 24px;border-color:#4a4c4f;background:#4a4c4f;border-radius:14px;box-shadow:0 10px 24px rgba(50,44,41,.22)}
body.theme-atelier .hero .button:not(.ghost):hover,body.theme-atelier .team .help .button:hover{background:#35373a;border-color:#35373a;box-shadow:0 14px 30px rgba(50,44,41,.3)}
@media(max-width:800px){body.theme-atelier .team .help{gap:12px}}
@media(max-width:800px){body.theme-atelier .team .help .help-icon+div{flex:1 1 0;min-width:0}}
@media(max-width:800px){body.theme-atelier .hero .button:not(.ghost),body.theme-atelier .team .help .button{min-width:0;padding:8px 12px;border-radius:10px}}

/* Шапка остаётся над раскрытыми списками услуг во время прокрутки. */
body.theme-atelier .site-header{z-index:30}

/* Онлайн-запись вынесена в компактную строку над формой администратора. */
body.theme-atelier #booking{display:flex;flex-direction:column;gap:20px}
body.theme-atelier #booking .calendar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:18px;align-items:center;width:100%;padding:18px 24px;border:0}
body.theme-atelier #booking .calendar>span{grid-column:1;grid-row:1 / span 2;margin:0}
body.theme-atelier #booking .calendar>span img{display:block;width:42px;height:42px;border-radius:9px;object-fit:cover}
body.theme-atelier #booking .calendar h3{grid-column:2;grid-row:1;margin:0}
body.theme-atelier #booking .calendar p{grid-column:2;grid-row:2;margin:4px 0 0}
body.theme-atelier #booking .calendar .button{grid-column:3;grid-row:1 / span 2;width:auto;margin:0;padding:11px 20px}
body.theme-atelier #booking form{width:100%}
@media(max-width:800px){body.theme-atelier #booking .calendar{grid-template-columns:auto minmax(0,1fr);padding:16px 18px}body.theme-atelier #booking .calendar .button{grid-column:1 / span 2;grid-row:3;width:100%;margin-top:14px}}
body.theme-atelier #booking .calendar p{font:400 14px/1.35 'Playfair Display',serif;color:#5e5148;text-wrap:balance}
body.theme-atelier #booking .calendar .button{min-width:168px;border-color:#4a4c4f;background:#4a4c4f;border-radius:14px;box-shadow:0 10px 24px rgba(50,44,41,.22);font:700 11px Manrope}
body.theme-atelier #booking .calendar .button{padding:11px 24px;transition:.2s}
body.theme-atelier #booking .calendar .button:hover{transform:translateY(-2px);background:#35373a;border-color:#35373a;box-shadow:0 14px 30px rgba(50,44,41,.3)}
body.theme-atelier #booking form>.button{min-width:218px;padding:11px 24px;border-color:#4a4c4f;background:#4a4c4f;border-radius:14px;box-shadow:0 10px 24px rgba(50,44,41,.22);font:700 11px Manrope}
body.theme-atelier #booking .consent,body.theme-atelier #booking .privacy-consent{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:8px;background:rgba(255,253,249,.78);color:#514842!important;font-size:11px!important;font-weight:600}
body.theme-atelier #booking .consent input,body.theme-atelier #booking .privacy-consent input{width:16px;height:16px;accent-color:#4a4c4f}
.text-link,.footer-legal button{padding:0;border:0;background:none;color:#176f61;font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.footer-legal{display:flex;flex-direction:column;gap:8px}.footer-legal button{text-align:left;font-size:10px}

/* Увеличенный просмотр фотографий работ и студии. */
.gallery .photo,.atmos-grid>div{cursor:zoom-in}
.gallery .photo:focus-visible,.atmos-grid>div:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.gallery-lightbox{width:min(960px,calc(100% - 28px));max-width:none;height:min(86vh,760px);max-height:none;padding:0;border:0;border-radius:20px;background:transparent;overflow:visible}
.gallery-lightbox::backdrop{background:rgba(30,27,25,.78);backdrop-filter:blur(7px)}
.gallery-lightbox-content{position:relative;width:100%;height:100%;display:grid;place-items:center}
.gallery-lightbox-preview{position:relative;display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%;min-height:0;padding:18px;overflow:hidden;border:0;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.38);background-position:center;background-size:cover;background-repeat:no-repeat;cursor:default}
.gallery-lightbox-preview img{display:block;width:100%;height:100%;object-fit:contain;border-radius:16px}
.gallery-lightbox-preview span{font-size:12px}
.gallery-lightbox-preview.photo::before,.gallery-lightbox-preview.photo::after{content:none;display:none}
.gallery-lightbox-close{position:absolute;z-index:2;top:-14px;right:-12px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:#fffdfb;color:#39302c;font:32px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.28)}
.gallery-lightbox-close:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:520px){.gallery-lightbox{width:calc(100% - 20px);height:min(78vh,620px)}.gallery-lightbox-close{top:-12px;right:-4px}}

/* На телефоне фотографии работ и студии идут одной крупной колонкой. */
@media(max-width:520px){
  body.theme-atelier .gallery,
  body.theme-atelier .atmos-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-auto-rows:auto;
    gap:18px;
    padding:6px 0;
  }

  body.theme-atelier .gallery .photo,
  body.theme-atelier .gallery .photo:nth-child(n),
  body.theme-atelier .atmos-grid div,
  body.theme-atelier .atmos-grid div:nth-child(n){
    display:flex;
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:4/3;
    grid-column:1;
    grid-row:auto;
    order:0;
  }
}
.privacy-dialog{width:min(680px,calc(100% - 32px));max-height:80vh;padding:0;border:0;border-radius:18px;background:#fffdfb;color:#39302c;box-shadow:0 24px 70px rgba(50,44,41,.28)}.privacy-dialog::backdrop{background:rgba(50,44,41,.38);backdrop-filter:blur(4px)}.privacy-dialog article{position:relative;padding:32px;overflow:auto;max-height:80vh}.privacy-dialog h2{text-align:left;margin-bottom:18px}.privacy-dialog h3{margin:18px 0 6px;font-size:18px}.privacy-dialog p{margin:0 0 10px;color:#5e5148;font-size:12px}.privacy-dialog .privacy-note{padding:12px;border-radius:9px;background:#f5eee8}.privacy-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border:0;border-radius:50%;background:#f5eee8;font-size:22px;cursor:pointer}

/* Жемчужно-greige палитра, собранная с кадров hero-видео. */
body.theme-atelier{
  --line:#c9c6be;
  --paper:#efede7;
  --sand:#d8d5ce;
  background:#dedcd6;
  background-image:linear-gradient(180deg,#dedcd6 0%,#e2e0da 46%,#dad8d2 100%);
}

body.theme-atelier .site-header,
body.theme-atelier .section{
  border-color:rgba(166,163,156,.32);
  background:rgba(239,237,231,.72);
  box-shadow:0 8px 22px rgba(72,73,70,.055);
}

body.theme-atelier .site-header{
  background:rgba(232,230,224,.4);
  border-color:rgba(255,255,255,.22);
  box-shadow:0 7px 20px rgba(72,73,70,.08);
  backdrop-filter:blur(16px);
}

body.theme-atelier .demo-notice{
  border-color:rgba(151,139,111,.22);
  background:rgba(239,236,225,.76);
  box-shadow:0 6px 16px rgba(72,73,70,.055);
}

body.theme-atelier .hero{
  background:#dedcd6;
  box-shadow:0 -3px 22px rgba(72,73,70,.07);
}

body.theme-atelier .hero::before{background:#dedcd6}
body.theme-atelier .hero-video{filter:saturate(.76) contrast(.94) brightness(.98)}
body.theme-atelier .hero::after{
  background:
    linear-gradient(to bottom,rgba(222,220,214,.94) 0%,rgba(222,220,214,.28) 8%,transparent 19%,transparent 92%,rgba(222,220,214,.1) 97%,rgba(222,220,214,.88) 100%),
    linear-gradient(to right,rgba(222,220,214,.96) 0%,rgba(222,220,214,.35) 9%,transparent 20%,transparent 81%,rgba(222,220,214,.28) 92%,rgba(222,220,214,.92) 100%),
    linear-gradient(90deg,rgba(240,238,233,.94) 0%,rgba(240,238,233,.69) 35%,rgba(232,230,224,.16) 63%,transparent 100%);
}

body.theme-atelier #about::before,
body.theme-atelier #services::before,
body.theme-atelier #works::before,
body.theme-atelier #team::before,
body.theme-atelier .atmosphere::before,
body.theme-atelier #booking::before,
body.theme-atelier #reviews::before{
  inset:-22px;
  border-radius:38px;
  background:radial-gradient(ellipse 96% 92% at center,rgba(239,237,231,.84) 0%,rgba(239,237,231,.76) 52%,rgba(229,227,220,.38) 78%,rgba(222,220,214,0) 100%);
  filter:blur(6px);
}

body.theme-atelier .about .features article{
  background:linear-gradient(145deg,rgba(244,243,239,.86),rgba(230,228,222,.72));
  box-shadow:0 8px 20px rgba(72,73,70,.055);
}

body.theme-atelier .services .service-card,
body.theme-atelier .services .service-card:hover{
  box-shadow:0 12px 28px rgba(72,73,70,.07);
}

body.theme-atelier .services .service-card::after{
  background:radial-gradient(ellipse 78% 86% at 50% 48%,rgba(239,237,231,0) 24%,rgba(239,237,231,.08) 48%,rgba(239,237,231,.34) 68%,rgba(239,237,231,.72) 86%,#efede7 100%);
}

body.theme-atelier .team .help::before{
  inset:-12px;
  background:radial-gradient(ellipse 96% 110% at center,rgba(239,237,231,.78) 30%,rgba(232,230,224,.48) 72%,rgba(222,220,214,0) 100%);
  box-shadow:none;
  filter:blur(5px);
}

body.theme-atelier footer{
  background:#d5d3cd;
  box-shadow:inset 0 1px rgba(255,255,255,.22);
}

@media(max-width:800px){
  body.theme-atelier .hero{box-shadow:0 -2px 16px rgba(72,73,70,.06)}
  body.theme-atelier .hero::after{
    background:linear-gradient(to bottom,rgba(222,220,214,.92),rgba(222,220,214,.22) 15%,transparent 91%,rgba(222,220,214,.82) 100%),linear-gradient(90deg,rgba(240,238,233,.88),rgba(240,238,233,.42) 72%,rgba(232,230,224,.14));
  }
}

/* Чистые стыки секций без радиальных ореолов и видимых прямоугольных подложек. */
body.theme-atelier main .section{
  border:0;
  background:transparent;
  box-shadow:none;
}

body.theme-atelier #about::before,
body.theme-atelier #services::before,
body.theme-atelier #works::before,
body.theme-atelier #team::before,
body.theme-atelier .atmosphere::before,
body.theme-atelier #booking::before,
body.theme-atelier #reviews::before,
body.theme-atelier .team .help::before{
  display:none;
}

body.theme-atelier .hero{
  border-radius:30px 30px 0 0;
  box-shadow:none;
}

body.theme-atelier .hero::after{
  background:
    linear-gradient(to bottom,rgba(222,220,214,.94) 0%,rgba(222,220,214,.28) 8%,transparent 19%,transparent 72%,rgba(222,220,214,.08) 82%,rgba(222,220,214,.3) 90%,rgba(222,220,214,.72) 97%,#dedcd6 100%),
    linear-gradient(to right,rgba(222,220,214,.96) 0%,rgba(222,220,214,.35) 9%,transparent 20%,transparent 81%,rgba(222,220,214,.28) 92%,rgba(222,220,214,.92) 100%),
    linear-gradient(90deg,rgba(240,238,233,.94) 0%,rgba(240,238,233,.69) 35%,rgba(232,230,224,.16) 63%,transparent 100%);
}

body.theme-atelier #about{
  margin-top:0;
  padding-top:52px;
}

body.theme-atelier footer{
  background:linear-gradient(to bottom,#dad8d2 0%,#d5d3cd 28%,#d1cfc9 100%);
  box-shadow:none;
}

body.theme-atelier footer::before{
  display:none!important;
  content:none;
}

@media(max-width:800px){
  body.theme-atelier .hero{
    border-radius:24px 24px 0 0;
    box-shadow:none;
  }

  body.theme-atelier .hero::after{
    background:
      linear-gradient(to bottom,rgba(222,220,214,.92) 0%,rgba(222,220,214,.22) 15%,transparent 70%,rgba(222,220,214,.08) 82%,rgba(222,220,214,.34) 91%,#dedcd6 100%),
      linear-gradient(90deg,rgba(240,238,233,.88),rgba(240,238,233,.42) 72%,rgba(232,230,224,.14));
  }

  body.theme-atelier #about{padding-top:44px}
}

/* Точечная полировка карты, блока помощи и строки YCLIENTS. */
body.theme-atelier .footer-map-frame{
  box-shadow:0 14px 28px rgba(72,73,70,.1);
}

body.theme-atelier .footer-map-frame::after{
  box-shadow:inset 0 0 12px 2px rgba(209,207,201,.46);
}

body.theme-atelier .help .help-icon{
  border-radius:14px;
  opacity:.74;
  filter:saturate(.55) contrast(.9) brightness(.94);
  box-shadow:none;
}

body.theme-atelier #booking .calendar{
  padding:8px 0 10px;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
}

body.theme-atelier #booking .calendar h3{
  font-size:22px;
  color:#343633;
}

body.theme-atelier .team .help h3{
  color:#343633;
  font:500 22px/1.05 'Playfair Display',serif;
}

body.theme-atelier #booking .calendar p{
  max-width:720px;
  margin-top:7px;
  color:#514842;
  font:500 18px/1.4 'Playfair Display',serif;
  text-wrap:pretty;
}

@media(max-width:800px){
  body.theme-atelier #booking .calendar{padding:6px 0 10px}
  body.theme-atelier #booking .calendar h3{font-size:20px}
  body.theme-atelier .team .help h3{font-size:20px}
  body.theme-atelier #booking .calendar p{font-size:16px;line-height:1.45}
}

/* Более мягкое растворение краёв фотографий в фоне карточек услуг. */
body.theme-atelier .services .service-card{
  -webkit-mask-image:radial-gradient(ellipse 78% 86% at 50% 48%,#000 18%,rgba(0,0,0,.9) 39%,rgba(0,0,0,.52) 63%,rgba(0,0,0,.14) 83%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse 78% 86% at 50% 48%,#000 18%,rgba(0,0,0,.9) 39%,rgba(0,0,0,.52) 63%,rgba(0,0,0,.14) 83%,transparent 100%)!important;
}

body.theme-atelier .services .service-card::after{
  background:radial-gradient(ellipse 77% 85% at 50% 48%,transparent 18%,rgba(239,237,231,.1) 42%,rgba(239,237,231,.38) 66%,rgba(239,237,231,.76) 85%,#efede7 100%);
}

body.theme-atelier .services .service-item:first-child .service-card{
  -webkit-mask-image:radial-gradient(ellipse 75% 83% at 50% 48%,#000 14%,rgba(0,0,0,.86) 34%,rgba(0,0,0,.46) 59%,rgba(0,0,0,.1) 80%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse 75% 83% at 50% 48%,#000 14%,rgba(0,0,0,.86) 34%,rgba(0,0,0,.46) 59%,rgba(0,0,0,.1) 80%,transparent 100%)!important;
}

body.theme-atelier .services .service-item:first-child .service-card::after{
  background:radial-gradient(ellipse 74% 82% at 50% 48%,transparent 14%,rgba(239,237,231,.12) 36%,rgba(239,237,231,.44) 62%,rgba(239,237,231,.82) 83%,#efede7 100%);
}

/* Мягкий контур и свечение карточек команды в стилистике блока услуг. */
body.theme-atelier .team-grid article{
  position:relative;
  isolation:isolate;
  border:0;
  background:transparent;
  box-shadow:none;
}

body.theme-atelier .team-grid article::before{
  content:"";
  position:absolute;
  inset:-13px -11px;
  z-index:-1;
  border-radius:28px;
  background:radial-gradient(ellipse 86% 92% at center,rgba(250,248,244,.96) 26%,rgba(246,244,239,.82) 52%,rgba(239,237,231,.42) 73%,rgba(239,237,231,.12) 87%,transparent 100%);
  filter:blur(10px);
  opacity:.58;
  pointer-events:none;
  transition:opacity .45s ease,filter .45s ease,box-shadow .45s ease;
}

body.theme-atelier .team-grid article img{
  -webkit-mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.5) 3%,rgba(0,0,0,.85) 6%,#000 10%,#000 90%,rgba(0,0,0,.85) 94%,rgba(0,0,0,.5) 97%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.52) 3%,rgba(0,0,0,.86) 6%,#000 10%,#000 90%,rgba(0,0,0,.86) 94%,rgba(0,0,0,.52) 97%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.5) 3%,rgba(0,0,0,.85) 6%,#000 10%,#000 90%,rgba(0,0,0,.85) 94%,rgba(0,0,0,.5) 97%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.52) 3%,rgba(0,0,0,.86) 6%,#000 10%,#000 90%,rgba(0,0,0,.86) 94%,rgba(0,0,0,.52) 97%,transparent 100%);
  mask-composite:intersect;
  transition:filter .45s ease,transform .55s cubic-bezier(.2,.7,.2,1);
}

body.theme-atelier .team-grid article:hover{
  background:transparent;
  box-shadow:none;
}

body.theme-atelier .team-grid article:hover::before{
  filter:blur(13px);
  opacity:.8;
  box-shadow:0 0 30px 11px rgba(239,237,231,.42),0 14px 28px rgba(72,73,70,.07);
}

body.theme-atelier .team-grid article:hover img{
  filter:saturate(.92) brightness(1.02);
  transform:scale(1.015);
}

@media(prefers-reduced-motion:reduce){
  body.theme-atelier .team-grid article,
  body.theme-atelier .team-grid article::before,
  body.theme-atelier .team-grid article img{transition:none}
  body.theme-atelier .team-grid article:hover img{transform:none}
}

/* Плавное появление контента при прокрутке на мобильных устройствах. */
@media(max-width:800px){
  .mobile-reveal{
    opacity:0;
    transform:translate3d(0,24px,0);
    filter:blur(6px);
    transition:
      opacity .72s ease var(--reveal-delay,0ms),
      transform .78s cubic-bezier(.2,.72,.2,1) var(--reveal-delay,0ms),
      filter .72s ease var(--reveal-delay,0ms);
    will-change:opacity,transform,filter;
  }

  .mobile-reveal.is-visible{
    opacity:1;
    transform:translate3d(0,0,0);
    filter:blur(0);
  }
}

@media(max-width:800px) and (prefers-reduced-motion:reduce){
  .mobile-reveal,
  .mobile-reveal.is-visible{
    opacity:1;
    transform:none;
    filter:none;
    transition:none;
  }
}

/* Фотогалерея работ: лёгкая журнальная сетка без рамок и подписей. */
body.theme-atelier #works{
  display:block;
  overflow:visible;
  padding:44px 36px 40px;
  border:0;
  background:transparent;
  box-shadow:none;
}

body.theme-atelier #works .works-copy{
  position:relative;
  z-index:1;
  max-width:620px;
  margin:0 auto;
  text-align:center;
}

body.theme-atelier #works .works-copy h2{
  text-align:center;
}

body.theme-atelier .gallery{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-auto-rows:auto;
  gap:16px;
  margin-top:36px;
  padding:0;
}

body.theme-atelier .gallery .photo,
body.theme-atelier .gallery .photo:nth-child(n){
  display:block;
  position:relative;
  isolation:isolate;
  grid-column:span 4;
  grid-row:auto;
  order:0!important;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:4/5;
  overflow:visible;
  border:0;
  border-radius:12px;
  background:transparent;
  box-shadow:none;
  transform:none;
  transition:transform .3s ease,box-shadow .3s ease;
}

body.theme-atelier .gallery .photo::before{
  content:none;
}

body.theme-atelier .gallery .photo::after{
  content:none;
}

body.theme-atelier .gallery .photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
  -webkit-mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%);
  mask-composite:intersect;
  transition:transform .55s cubic-bezier(.2,.7,.2,1),filter .3s ease;
}

body.theme-atelier .gallery .photo.p9 img,
body.theme-atelier .gallery .photo.p10 img{
  -webkit-mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.72) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.72) 97.5%,transparent 100%);
  mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.72) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.72) 97.5%,transparent 100%);
}

body.theme-atelier .gallery .photo.p9,
body.theme-atelier .gallery .photo.p10{
  grid-column:span 6;
  aspect-ratio:3/2;
}

body.theme-atelier .gallery .photo.p7,
body.theme-atelier .gallery .photo.p8,
body.theme-atelier .gallery .photo.p8b{
  grid-column:span 4;
  aspect-ratio:4/3;
}

body.theme-atelier .gallery .manicure-row{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-column:1 / -1;
  gap:16px;
}

body.theme-atelier .gallery .photo.p7 img,
body.theme-atelier .gallery .photo.p8 img,
body.theme-atelier .gallery .photo.p8b img{
  -webkit-mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.72) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.72) 97.5%,transparent 100%);
  mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.72) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.72) 97.5%,transparent 100%);
}

body.theme-atelier .gallery .photo:hover{
  transform:translateY(-4px);
  box-shadow:none;
}

body.theme-atelier .gallery .photo:hover img{
  transform:scale(1.025);
}

@media(max-width:800px){
  body.theme-atelier #works{padding:36px 24px 32px}
  body.theme-atelier .gallery{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:30px;padding:0}
  body.theme-atelier .gallery .photo,
  body.theme-atelier .gallery .photo:nth-child(n){grid-column:span 2;grid-row:auto;aspect-ratio:4/5}
  body.theme-atelier .gallery .photo.p7,
  body.theme-atelier .gallery .photo.p8,
  body.theme-atelier .gallery .photo.p8b{grid-column:span 2;aspect-ratio:4/3}
  body.theme-atelier .gallery .manicure-row{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
  body.theme-atelier .gallery .photo.p9,
  body.theme-atelier .gallery .photo.p10{grid-column:span 3;aspect-ratio:3/2}
}

@media(max-width:560px){
  body.theme-atelier #works{padding:30px 16px 24px}
  body.theme-atelier .gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:12px;margin-top:24px;padding:0}
  body.theme-atelier .gallery .photo,
  body.theme-atelier .gallery .photo:nth-child(n){display:block!important;grid-column:span 1!important;grid-row:auto!important;aspect-ratio:4/5;border-radius:0}
  body.theme-atelier .gallery .photo.p7,
  body.theme-atelier .gallery .photo.p8,
  body.theme-atelier .gallery .photo.p8b{grid-column:span 1!important;aspect-ratio:4/3}
  body.theme-atelier .gallery .manicure-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  body.theme-atelier .gallery .photo.p9,
  body.theme-atelier .gallery .photo.p10{grid-column:1 / -1!important;aspect-ratio:3/2}
}

@media(prefers-reduced-motion:reduce){
  body.theme-atelier .gallery .photo,
  body.theme-atelier .gallery .photo img{transition:none}
  body.theme-atelier .gallery .photo:hover{transform:none}
  body.theme-atelier .gallery .photo:hover img{transform:none}
}

/* Центрированная композиция блока помощи без декоративной иконки. */
body.theme-atelier .team .help{
  display:grid;
  grid-template-columns:minmax(0,540px) max-content;
  align-items:center;
  justify-content:center;
  column-gap:52px;
  padding:20px clamp(28px,7vw,88px);
}

body.theme-atelier .team .help>div{
  min-width:0;
}

body.theme-atelier .team .help .button{
  margin:0;
}

@media(max-width:800px){
  body.theme-atelier .team .help{
    grid-template-columns:minmax(0,1fr) max-content;
    column-gap:24px;
    padding:18px 22px;
  }
}

@media(max-width:560px){
  body.theme-atelier .team .help{
    grid-template-columns:1fr;
    justify-items:center;
    row-gap:16px;
    padding:18px;
    text-align:center;
  }
}

/* Фотографии интерьера: мягкая цветокоррекция и журнальная сетка. */
body.theme-atelier .atmos-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-auto-rows:auto;
  gap:18px;
  margin-top:30px;
  padding:0;
}

body.theme-atelier .atmos-grid>.atmos-photo,
body.theme-atelier .atmos-grid>.atmos-photo:nth-child(n){
  display:block;
  position:relative;
  grid-column:span 2;
  grid-row:auto;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:4/3;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:12px;
  background:transparent;
  box-shadow:none;
  transform:translateZ(0);
  transition:transform .35s ease,box-shadow .35s ease;
}

body.theme-atelier .atmos-grid>.atmos-photo.a4{grid-column:2 / span 2}
body.theme-atelier .atmos-grid>.atmos-photo.a5{grid-column:4 / span 2}

body.theme-atelier .atmos-grid>.atmos-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
  -webkit-mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.68) 2.5%,#000 7%,#000 93%,rgba(0,0,0,.68) 97.5%,transparent 100%);
  mask-composite:intersect;
  filter:saturate(.56) contrast(.94) brightness(.94);
  transform:scale(1.001);
  transition:filter .5s ease,transform .7s cubic-bezier(.2,.7,.2,1);
}

body.theme-atelier .atmos-grid>.atmos-photo:hover{
  transform:translateY(-4px);
  box-shadow:none;
}

body.theme-atelier .atmos-grid>.atmos-photo:hover img{
  filter:saturate(1) contrast(1) brightness(1);
  transform:scale(1.035);
}

@media(max-width:800px){
  body.theme-atelier .atmos-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:26px;padding:0}
  body.theme-atelier .atmos-grid>.atmos-photo,
  body.theme-atelier .atmos-grid>.atmos-photo:nth-child(n){grid-column:span 2;grid-row:auto;aspect-ratio:4/3}
  body.theme-atelier .atmos-grid>.atmos-photo.a4{grid-column:span 2}
  body.theme-atelier .atmos-grid>.atmos-photo.a5{grid-column:2 / span 2}
}

@media(max-width:560px){
  body.theme-atelier .atmos-grid{grid-template-columns:1fr;gap:14px}
  body.theme-atelier .atmos-grid>.atmos-photo,
  body.theme-atelier .atmos-grid>.atmos-photo:nth-child(n){grid-column:1;aspect-ratio:4/3;border-radius:15px}
  body.theme-atelier .atmos-grid>.atmos-photo.a4,
  body.theme-atelier .atmos-grid>.atmos-photo.a5{grid-column:1}
}

@media(prefers-reduced-motion:reduce){
  body.theme-atelier .atmos-grid>.atmos-photo,
  body.theme-atelier .atmos-grid>.atmos-photo img{transition:none}
  body.theme-atelier .atmos-grid>.atmos-photo:hover{transform:none}
  body.theme-atelier .atmos-grid>.atmos-photo:hover img{transform:none}
}

/* Спокойные карточки отзывов в общей стилистике студии. */
body.theme-atelier #reviews .review-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:220px;
  padding:28px 26px 24px;
  border:0;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(242,240,235,.9),rgba(229,227,221,.76));
  box-shadow:none;
  -webkit-mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(to right,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%),
    linear-gradient(to bottom,transparent 0,rgba(0,0,0,.72) 2%,#000 6%,#000 94%,rgba(0,0,0,.72) 98%,transparent 100%);
  mask-composite:intersect;
  color:#4d4945;
  text-align:left;
  transition:transform .3s ease,box-shadow .3s ease,background .3s ease;
}

body.theme-atelier #reviews .review-card:hover{
  transform:translateY(-3px);
  background:linear-gradient(145deg,rgba(245,243,238,.94),rgba(232,230,224,.82));
  box-shadow:none;
}

body.theme-atelier #reviews .review-text{
  margin:0;
  color:#514d49;
  font:italic 400 16px/1.52 'Playfair Display',serif;
  letter-spacing:.005em;
  text-wrap:pretty;
}

body.theme-atelier #reviews .review-author{
  margin:22px 0 0;
  color:#817b75;
  font:600 11px/1.3 Manrope,Arial,sans-serif;
  letter-spacing:.02em;
}

@media(max-width:800px){
  body.theme-atelier #reviews .review-card{min-height:205px;padding:24px 22px 21px}
  body.theme-atelier #reviews .review-text{font-size:15px}
}

@media(prefers-reduced-motion:reduce){
  body.theme-atelier #reviews .review-card{transition:none}
  body.theme-atelier #reviews .review-card:hover{transform:none}
}

/* Мобильное меню продолжает полупрозрачную поверхность шапки. */
@media(max-width:800px){
  body.theme-atelier .site-header,
  body.theme-atelier .site-header nav.open{
    background:rgba(232,230,224,.88);
    border-color:rgba(255,255,255,.22);
    backdrop-filter:blur(18px) saturate(.9);
  }

  body.theme-atelier .site-header nav.open{
    box-shadow:0 10px 24px rgba(72,73,70,.1);
  }

  body.theme-atelier .site-header nav.open a{
    color:#2f2824;
    text-shadow:0 1px 0 rgba(255,255,255,.2);
  }

  body.theme-atelier .site-header nav.open a:hover,
  body.theme-atelier .site-header nav.open a:focus-visible{
    background:rgba(255,255,255,.24);
    color:#25211f;
  }
}
