/*
Theme Name: ДКС Профиль
Version: 0.1.0
Requires PHP: 8.0
Text Domain: dks-profile
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;color:#272622;background:#f9f8f5;font:15px/1.6 Arial,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible,summary:focus-visible{outline:3px solid #892c47;outline-offset:5px}header{padding:20px 4%;display:flex;align-items:center;gap:35px;justify-content:space-between;background:#fff}.brand{display:flex;align-items:center;gap:14px;font-size:17px;font-weight:600;letter-spacing:1px}.brand img{width:62px;height:57px;object-fit:cover}.brand small{font-size:10px;letter-spacing:1px;display:block;font-weight:400;color:#7a625c;margin-top:3px}nav{display:flex;gap:25px;font-size:12px}.header-phone{font-size:12px;white-space:nowrap}nav a:hover,.text-link:hover{color:#8a2d48}.hero{display:grid;grid-template-columns:1fr 1.15fr;min-height:655px}.hero-copy{padding:62px 8% 30px;background:#f0eee8}.label{font-size:9px;letter-spacing:1.8px;font-weight:600;color:#866658;margin:0 0 20px}h1,h2,h3{font-weight:400}h1{font-size:clamp(60px,6.5vw,93px);letter-spacing:-4px;line-height:1.02;margin:28px 0;font-family:Arial,sans-serif}em{font-family:Georgia,serif;font-weight:400;color:#75283e}h1 em{letter-spacing:-2px}.intro{font-size:16px;color:#665f55;margin-bottom:28px}.hero-image{position:relative;background:url('assets/hero.svg') center/cover}.image-note{position:absolute;bottom:26px;right:25px;font-size:9px;letter-spacing:1.5px;background:#2228;color:white;padding:8px 12px}.button{display:inline-flex;align-items:center;gap:30px;background:#74283e;color:white;padding:15px 22px;font-size:12px;transition:background .2s}.button:hover{background:#913d54}.button span{margin-left:auto}.text-link{display:block;font-size:12px;margin-top:20px;max-width:300px;border-bottom:1px solid #a19585;padding-bottom:10px}.text-link span{float:right}.location{display:flex;justify-content:space-between;gap:20px;font-size:9px;letter-spacing:1px;margin-top:46px;color:#756c60}.direction-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-bottom:1px solid #e5e0d8}.direction-strip a{padding:26px 18px;text-align:center;border-right:1px solid #e5e0d8;font-size:12px}.direction-strip span{color:#a58779;margin-right:14px;font-size:10px}.direction-strip a:hover{background:#eee9e1}.section{padding:75px 5%}.section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:38px}h2{font:42px/1.15 Georgia,serif;letter-spacing:-1px;margin:0 0 20px}.section-head h2{margin-bottom:0}.section-head>p{font-size:13px;color:#7a7166}.catalog-layout{display:grid;grid-template-columns:210px 1fr;gap:38px}aside>a{display:block;font-size:13px;padding:15px 0;border-bottom:1px solid #d6cec3}aside span{float:right;color:#966d62}.help{margin-top:35px;padding:18px;background:#ece6dc}.help p{font:21px/1.3 Georgia,serif;margin-top:0}.help a{font-size:10px;color:#762b40}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.photo{aspect-ratio:1.12;background-image:url('assets/concept.png');background-size:431% auto;transition:filter .3s}.p1{background-position:4.5% 38.3%}.p2{background-position:35% 38.3%}.p3{background-position:65% 38.3%}.p4{background-position:96% 38.3%}.card .label{margin:20px 0 8px;font-size:8px}.card h3{font-size:17px;margin:0 0 8px;line-height:1.3}.card h3 span{float:right;color:#762b40}.card>p:last-child{font-size:12px;color:#7a7166;margin:0}.card:hover .photo{filter:brightness(1.12)}.furniture{display:grid;grid-template-columns:1.15fr 1fr;background:#e8e1d7}.light-interior{min-height:480px;background-image:url('assets/concept.png');background-size:auto 2300px;background-position:84% 64.5%}.furniture-copy{padding:65px 12%}.furniture h2{font-size:46px}.furniture-copy>p:not(.label){font-size:14px;color:#706457;margin:24px 0}.furniture .fine{font-size:10px!important}.details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.detail-photo{aspect-ratio:1.6;background-image:url('assets/concept.png');background-size:330% auto}.d1{background-position:4.9% 86.2%}.d2{background-position:50% 86.2%}.d3{background-position:95% 86.2%}.details-grid h3{font-size:14px;line-height:1.4}.details-grid h3 span{font-size:10px;margin-right:14px;color:#966c5c}.delivery{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-top:1px solid #dcd5ca;background:#efeee8}.delivery h3{font:24px Georgia,serif;margin:0 0 12px}.delivery p{font-size:14px;color:#6d655a;max-width:520px;margin-bottom:32px}.contacts{display:grid;grid-template-columns:1fr 1fr;gap:60px;background:#42212d;color:#f3eae3}.contacts .label{color:#d0ae97}.contacts h2{font-size:65px}.contacts em{color:#d9b99f}.contacts p{font-size:14px;color:#d5c2bf}.contact-links{padding-top:35px}.contact-links>a{display:block;font-size:30px}.contact-links .email{font-size:21px;color:#dfbba0;margin:22px 0}.contact-links .map{font-size:12px;text-decoration:underline}footer{padding:38px 5%;background:#f3f0ea;display:flex;justify-content:space-between;flex-wrap:wrap;gap:30px;font-size:11px}footer p{color:#7a7166}footer details{max-width:550px}summary{cursor:pointer}.fine{font-size:10px;color:#8b8073}footer>.fine{width:100%;border-top:1px solid #ded6ca;padding-top:20px;margin:0}.breadcrumb{font-size:11px;color:#8b8073;margin-bottom:35px}.category-hero{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.category-hero h1{font:60px/1.1 Georgia,serif;letter-spacing:-2px}.category-hero p{max-width:460px;color:#71675d}.category-hero .photo{min-height:360px}.category-info{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-top:1px solid #ded6ca}.category-info h2{font-size:34px}.category-info li{padding:8px 0;color:#71675d}.category-info ul{padding-left:18px}.notice{border-left:2px solid #8b344c;padding:15px 25px;background:#eee8df;font-size:13px;color:#73675d}.back{font-size:12px;text-decoration:underline}@media(min-width:1650px){body{max-width:1650px;margin:auto}}@media(max-width:1050px){header{gap:20px}.header-phone{display:none}nav{gap:18px}.catalog-layout{grid-template-columns:170px 1fr;gap:22px}.cards{gap:16px}.card h3{font-size:15px}.furniture-copy{padding:45px 8%}.furniture h2{font-size:39px}}@media(max-width:760px){header{flex-wrap:wrap;padding:17px 6%;gap:18px}.brand img{width:50px;height:46px}.brand{font-size:15px}nav{width:100%;justify-content:space-between;gap:12px;font-size:11px}.hero{grid-template-columns:1fr}.hero-copy{padding:40px 6% 25px}.hero h1{font-size:64px;letter-spacing:-3px}.hero .label{max-width:300px;line-height:1.7}.hero-image{min-height:350px;background-position:center 60%}.location{margin-top:30px}.direction-strip{grid-template-columns:1fr 1fr}.direction-strip a{text-align:left;padding:18px 15px;border-bottom:1px solid #e5e0d8;font-size:11px}.direction-strip span{margin-right:8px}.section{padding:48px 6%}.section-head{display:block;margin-bottom:28px}h2{font-size:35px}.section-head>p{margin-top:20px}.catalog-layout{grid-template-columns:1fr}.catalog-layout aside{display:none}.cards{grid-template-columns:1fr;gap:35px}.card .photo{aspect-ratio:1.12}.card h3{font-size:24px}.card .label{font-size:9px}.card>p:last-child{font-size:14px}.furniture{grid-template-columns:1fr}.light-interior{min-height:340px;background-size:auto 2100px}.furniture-copy{padding:42px 6%}.furniture h2{font-size:40px}.details-grid{grid-template-columns:1fr;gap:28px}.details-grid h3{font-size:16px}.delivery,.contacts,.category-info{grid-template-columns:1fr;gap:25px}.contacts h2{font-size:55px}.contact-links{padding-top:0}.contact-links>a{font-size:27px}.category-hero{grid-template-columns:1fr;gap:30px}.category-hero h1{font-size:47px}.category-hero .photo{min-height:0}.category-info h2{font-size:30px}.label{font-size:8px;letter-spacing:1.4px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.photo,.button{transition:none}}

.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:35px}.project-grid figure{margin:0}.project-grid img{width:100%;height:380px;object-fit:contain;background:#e8e4dd;display:block}.project-grid figcaption{font-size:13px;margin-top:12px}.real-projects>p{color:#73675d}.services{background:#ebe5db}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.service-grid h3{font:24px Georgia,serif;color:#74283e}.service-grid p{font-size:14px;color:#6f655a}@media(max-width:760px){.project-grid,.service-grid{grid-template-columns:1fr}.project-grid img{height:auto;max-height:600px}.service-grid{gap:15px}}

/* Clear homepage structure */
.home-intro{padding:52px 5% 38px;text-align:center;background:#f5f1ec}.home-intro h1{font-size:clamp(34px,4.3vw,64px);line-height:1.12;letter-spacing:-1.8px;margin:16px 0}.home-intro>p:not(.label){font-size:17px;color:#6f655a}.home-intro .button{margin-top:12px}.interior-scene{height:560px;position:relative;background:url('assets/hero.svg') center/cover}.scene-tag{position:absolute;padding:13px 18px;background:#fffef8;box-shadow:0 4px 22px #0002;font-size:14px;border-radius:3px}.scene-tag b{color:#842c47;margin-right:9px}.scene-tag:hover{background:#74283e;color:white}.scene-tag:hover b{color:white}.tag-furniture{left:12%;top:40%}.tag-panels{right:16%;top:26%}.tag-profiles{left:54%;bottom:15%}.direction-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.direction-card{background:white;border:1px solid #e5ddd2;display:flex;flex-direction:column}.direction-card>img,.direction-card>.photo{width:100%;height:290px;object-fit:cover;aspect-ratio:auto}.direction-card>img{object-position:center 45%}.direction-card>div:not(.photo){padding:25px}.direction-card h3{font:28px/1.2 Georgia,serif;margin:13px 0}.direction-card p{color:#6f655a;min-height:48px}.direction-card strong{font-size:13px;color:#74283e}.direction-card:hover{border-color:#74283e}.maker{display:grid;grid-template-columns:1fr 1fr;gap:60px;background:#e9e3d9}.maker-lead{font:29px/1.3 Georgia,serif;margin-top:0}.maker .button{margin-top:15px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:38px}.steps article{border-top:1px solid #cfc3b5;padding-top:22px}.steps span{color:#8a2d48;font:32px Georgia,serif}.steps h3{font-size:21px;margin:12px 0}.steps p,.process-note{color:#71675d;font-size:14px}.process-note{border-left:3px solid #74283e;padding:15px 20px;margin-top:30px;background:#eee8df}nav a{font-size:13px}html{scroll-padding-top:25px}@media(max-width:760px){nav{flex-wrap:wrap;justify-content:flex-start;gap:10px 20px}.home-intro{padding:35px 6%}.home-intro h1{letter-spacing:-1px}.interior-scene{height:380px}.scene-tag{font-size:11px;padding:10px}.tag-furniture{left:4%;top:38%}.tag-panels{right:4%;top:15%}.tag-profiles{left:40%;bottom:18%}.direction-cards,.maker,.steps{grid-template-columns:1fr}.direction-card>img,.direction-card>.photo{height:300px}.maker{gap:15px}.steps{gap:20px}.direction-card p{min-height:0}.image-note{font-size:7px;bottom:10px;right:10px}}
.interior-scene{background-image:url('assets/interior-concept.png');height:auto;aspect-ratio:1672/941}.tag-profiles{left:40%;bottom:30%}@media(max-width:760px){.interior-scene{min-height:230px;aspect-ratio:1672/941;background-size:100% 100%}.scene-tag{font-size:10px;padding:8px}.tag-furniture{left:3%;top:36%}.tag-panels{right:7%;top:16%}.tag-profiles{left:37%;bottom:27%}}
/* Warm greige palette */
body{background:#d8d0c5;color:#302a27}
header{background:#d0c5b8;border-bottom:1px solid #b8aa9b}
.home-intro,.hero-copy{background:#cfc3b5}
.home-intro>p:not(.label),.intro{color:#51483f}
.label{color:#64473f}
.direction-card{background:#e2d9ce;border-color:#b8a898}
.direction-card p,.steps p,.process-note,.real-projects>p{color:#554b42}
.maker{background:#65574e;color:#fff8ef}
.maker .label{color:#edc7b3}
.maker p{color:#f0e7dc}
.maker .button{background:#70273e}
.steps article{border-top-color:#a49382}
.process-note,.notice{background:#c9bcac;color:#493e35}
.project-grid img{background:#c8bcad}
.fine,footer p,.breadcrumb{color:#615247}
footer{background:#c7baaa}
footer>.fine{border-top-color:#aa9785}
.contacts{background:#482532}
.contacts .label{color:#e4bca7}
.services,.category-info{background:#cdc1b2}
.category-hero p,.category-info li{color:#55483d}
.direction-strip{background:#d8cbbd}
@media(prefers-contrast:more){.fine,.label{color:#3c3029}.maker .label{color:#fff8ef}}

/* Burgundy dark palette */
:root{color-scheme:dark}body{background:#291e23;color:#f2e9e1}header{background:#21191d;border-color:#59414a}.brand small{color:#cbb8b5}nav a:hover,.text-link:hover{color:#efb5c6}.home-intro,.hero-copy{background:#35242c}.home-intro>p:not(.label),.intro{color:#d9c9c5}.home-intro em,em{color:#e3acbc}.label{color:#d9a5b4}.direction-card{background:#402d35;border-color:#71515c}.direction-card:hover{border-color:#e2aabc}.direction-card p,.steps p,.process-note,.real-projects>p{color:#d9c9c5}.direction-card strong,.steps span{color:#f0bdcb}.maker{background:#4c303d;color:#fff3eb}.maker .label{color:#efbccb}.maker p{color:#eddbd8}.button,.maker .button{background:#90445e;color:#fff}.button:hover{background:#a4526e}.steps article{border-color:#785662}.process-note,.notice{background:#3c2b33;color:#e3d5ce;border-color:#d28da3}.project-grid img{background:#3e3035}.fine,footer p,.breadcrumb{color:#cbbab4}footer{background:#21191d}footer>.fine{border-color:#5f444f}.contacts{background:#4c2638}.contacts .label{color:#edbdcc}.services,.category-info{background:#38282f}.category-hero p,.category-info li{color:#ddccc5}.category-info{border-color:#6c4c59}.service-grid h3{color:#efbccb}.service-grid p{color:#dbc9c3}.direction-strip{background:#3a2831}.text-link{border-color:#987180}.section-head>p{color:#d1bdb6}.scene-tag{background:#38252eee;color:#fff0e7}.scene-tag b{color:#f0b8c8}.scene-tag:hover{background:#8d405a}.catalog-layout .help{background:#4c303d}.help a{color:#f0bdcb}h1{font-size:clamp(38px,5vw,68px);letter-spacing:-2px}.section{padding-top:58px;padding-bottom:58px}.home-intro{padding-top:38px;padding-bottom:32px}@media(max-width:760px){nav{gap:10px 18px}nav a{font-size:12px}.section{padding-top:40px;padding-bottom:40px}}@media(prefers-contrast:more){.fine,.label{color:#f5dfdf}}

/* Approved reference: graphite with local burgundy accents */
body{background:#252321;color:#f3eee8}header{background:linear-gradient(100deg,#49272c,#242220 65%);border-color:#51453e}.brand small{color:#ccb4a0}h1,h2,.direction-card h3{font-family:Georgia,serif;font-weight:400}.label{color:#d2ae8d}em{color:#d7b694}.reference-hero{min-height:590px;position:relative;display:flex;align-items:center;background:linear-gradient(90deg,rgba(33,24,25,.95),rgba(33,24,25,.75) 34%,rgba(20,18,16,.08) 70%),url('assets/interior-concept.png') center/cover}.reference-copy{padding:50px 4.5%;max-width:760px}.reference-copy h1{font-size:clamp(40px,4.7vw,68px);line-height:1.04;letter-spacing:-1.5px;margin:15px 0 22px}.reference-copy>p:not(.label){font-size:18px;line-height:1.5;color:#eee5dd}.hero-actions{display:flex;gap:16px;margin-top:25px;flex-wrap:wrap}.button{border-radius:30px;background:#77343f;padding:13px 27px;font-size:14px}.button:hover{background:#934554}.outline{background:transparent;border:1px solid #c2a07c}.outline:hover{background:#47362d}.direction-cards{grid-template-columns:repeat(4,1fr);gap:15px}.direction-card{background:#292624;border-color:#584a40;border-radius:4px;overflow:hidden}.direction-card>img,.direction-card>.photo{height:235px}.direction-card>div:not(.photo){padding:16px}.direction-card h3{font-family:Arial,sans-serif;font-size:18px;margin:0;line-height:1.3}.direction-card p,.direction-card .label,.direction-card strong{display:none}.direction-card:hover{border-color:#c6a382}.section-head h2{font-size:38px}.reference-feature{min-height:370px;position:relative;display:flex;align-items:center;background:linear-gradient(90deg,#42272bea,transparent 80%),url('assets/interior-concept.png') center 42%/cover}.reference-feature>div{padding:45px 5%}.reference-feature h2{font-size:46px}.reference-feature p{font-size:18px}.maker{background:#332d29}.maker .label{color:#d2ae8d}.maker .button{background:#77343f}.steps span{color:#d5b18d}.steps article{border-color:#665447}.process-note,.notice{background:#342e29;border-color:#ba9673}.services,.category-info{background:#302b27}.contacts{background:linear-gradient(100deg,#482a30,#2b2523)}footer{background:#292321}.fine,footer p,.breadcrumb{color:#c5b6a8}.project-grid img{background:#302b27}.scene-tag{background:#322824}.text-link{border-color:#af8d6a}.service-grid h3{color:#d7b694}.section{padding-top:48px;padding-bottom:48px}@media(max-width:1000px){.direction-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.reference-hero{min-height:570px;background-position:40% center}.reference-copy{padding:35px 6%}.reference-copy h1{font-size:43px}.reference-copy>p:not(.label){font-size:16px}.direction-cards{gap:12px}.direction-card>img,.direction-card>.photo{height:180px}.direction-card>div:not(.photo){padding:12px}.direction-card h3{font-size:15px}.reference-feature h2{font-size:38px}.section-head h2{font-size:33px}}@media(max-width:380px){.direction-cards{grid-template-columns:1fr}}
.reference-hero{background-image:linear-gradient(90deg,rgba(29,24,25,.55),rgba(29,24,25,.25) 38%,transparent 70%),url('assets/hero-dark-grey.png')}
/* Larger, readable header */
header{gap:24px;padding:22px 4%;flex-wrap:wrap}header nav{gap:24px;flex-wrap:wrap}header nav a{font-size:16px;line-height:1.5}header .brand{font-size:20px}header .brand small{font-size:13px;line-height:1.5;letter-spacing:.5px}header .header-phone{font-size:15px}.reference-copy>.label{font-size:13px;line-height:1.5;letter-spacing:1.4px}@media(max-width:760px){header nav{gap:12px 20px}header nav a{font-size:15px}header .brand{font-size:18px}header .brand small{font-size:12px}.reference-copy>.label{font-size:12px}}
/* Mobile readiness */
@media(max-width:760px){header{padding:16px 5%;gap:16px}header nav{width:100%;gap:8px 18px}header nav a{display:inline-flex;align-items:center;min-height:44px}.reference-copy h1{font-size:clamp(32px,8.7vw,43px);overflow-wrap:break-word}.reference-copy{width:100%}.hero-actions{gap:12px}.hero-actions .button{min-height:44px;padding:12px 20px}.contact-links>a{font-size:clamp(21px,6vw,27px);overflow-wrap:anywhere}.contact-links .email{font-size:20px}.category-hero h1{font-size:clamp(34px,9vw,47px)}.reference-feature{background-position:60% center}.reference-feature>div{width:100%}.brand{max-width:100%}.section-head{align-items:start}}
@media(max-width:420px){.hero-actions{flex-direction:column;align-items:flex-start}.reference-hero{min-height:620px}.direction-card h3{font-size:14px}.direction-card>img,.direction-card>.photo{height:160px}}

.wp-block-image img{max-width:100%;height:auto}.dks-editor-content{padding:40px 5%}.dks-editor-content input{max-width:100%}