/*
Theme Name: Бюро Перепланировок
Description: Адаптивная тема по утверждённому макету.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bureau-pereplanirovok
*/
:root{--red:#ff080d;--ink:#090c12;--max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:16px/1.25 Arial,Helvetica,sans-serif}a{color:inherit}address{font-style:normal}.wrap{width:min(var(--max),calc(100% - 84px));margin-inline:auto}
.masthead{background:#fff}.head-inner{width:min(1280px,calc(100% - 64px));height:94px;display:grid;grid-template-columns:37% 22.5% 27% 13.5%;align-items:center}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;padding-left:8px}.brand-mark{width:60px;height:60px;flex:none}.brand-title{line-height:.94;white-space:nowrap}.brand-title strong{display:block;color:var(--red);font-size:27px;font-weight:700;letter-spacing:-.9px}.brand-title small{display:block;font-size:10.4px;font-weight:700;letter-spacing:-.2px;margin-top:5px}.brand-title small i{font-style:normal;color:var(--red)}.head-address{border-left:1px solid #333;display:flex;align-items:center;gap:10px;padding:0 18px;min-height:54px;font-size:16px;font-weight:700;line-height:1.28}.head-address strong{font-size:16px}.contact-symbol{width:24px;height:27px;flex:none;fill:currentColor;vertical-align:middle}.head-address .contact-symbol,.head-phones .contact-symbol{color:var(--red)}.head-phones{display:grid;gap:7px;border-left:1px solid #333;padding-left:18px;font-size:21px;font-weight:700;white-space:nowrap;line-height:1.15}.head-phones a{display:flex;align-items:center;gap:9px;text-decoration:none}.social{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-left:1px solid #333;padding-left:16px;min-height:54px}.social a,.social-badge{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#00baff,#0065ff 70%);box-shadow:inset 0 1px 4px #fff6}.social a:last-child,.max-badge{background:linear-gradient(135deg,#00b5ff,#6100ff 80%)}.social svg,.social-badge svg{width:34px;height:34px;fill:currentColor}
.hero{height:352px;color:#fff;background:#18212c url('assets/hero-restored.jpg') center/cover no-repeat}.hero-content{width:min(1170px,calc(100% - 104px));padding-top:47px}.hero h1{margin:0;font-size:44px;line-height:1.035;letter-spacing:-.6px;font-weight:700;text-transform:uppercase}.hero h1 span{display:block}.red-rule{display:block;width:90px;height:4px;background:var(--red);margin:18px 0 14px}.hero p{margin:0;font-size:20px;line-height:1.2;max-width:385px}.hero .eyebrow,.hero .btn,.about-copy .eyebrow,.contact-info .eyebrow{display:none}
.section-title{display:flex;align-items:center;justify-content:center;gap:32px;margin:0 0 22px}.section-title h2{margin:0;font-size:32px;line-height:1.15;font-weight:700;letter-spacing:-1px;text-transform:uppercase}.section-title>span{width:140px;height:4px;background:var(--red)}.services{padding:22px 0 29px}.services .wrap{width:min(var(--max),calc(100% - 94px))}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.card{height:198px;padding:12px 10px 10px;text-align:center;border:1px solid #e9e9e9;border-radius:11px;background:#fff;box-shadow:0 2px 6px #0003}.service-icon{height:60px;display:grid;place-items:center;margin-bottom:8px;color:var(--red)}.service-icon svg{width:76px;height:70px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:square;stroke-linejoin:miter}.card h3{margin:0 0 7px;font-size:19px;font-weight:700;line-height:1.13;letter-spacing:-.8px;text-transform:uppercase}.card p{margin:0 auto;font-size:16px;line-height:1.18;max-width:220px}
.about{display:grid;grid-template-columns:48% 52%;min-height:248px;background:#f4f4f4}.about-art{background:url('assets/plans-approved.jpg') center/100% 100% no-repeat;min-height:248px}.about-copy{padding:8px 26px 16px}.about-copy h2{margin:0;font-size:34px;font-weight:700;letter-spacing:-.9px;line-height:1.1;text-transform:uppercase}.about-copy .red-rule{width:73px;margin:7px 0 10px}.about-copy p{margin:0;font-size:18px;line-height:1.2;max-width:620px}.about-copy ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:6px;font-size:18px;font-weight:700;letter-spacing:-.35px}.about-copy li{display:flex;align-items:center;gap:10px}.about-copy li:before{content:'';display:block;width:23px;height:12px;border-left:5px solid var(--red);border-bottom:5px solid var(--red);transform:rotate(-45deg);margin:0 1px 6px;flex:none}
.process{padding:18px 0 17px}.process .section-title{margin-bottom:16px}.process .section-title>span{width:118px}.steps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;text-align:center}.step{position:relative}.step:not(:last-child):after{content:'→';position:absolute;right:-29px;top:14px;font-size:42px;font-weight:400}.step-icon{position:relative;width:76px;height:72px;border:1.8px solid var(--red);border-radius:50%;display:grid;place-items:center;margin:0 auto 3px;color:var(--red)}.step-icon svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.step-icon span{position:absolute;right:-11px;top:-12px;background:var(--red);color:#fff;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;font-size:21px;font-weight:700}.step h3{margin:0 0 5px;font-size:21px;letter-spacing:-.6px;font-weight:700}.step p{margin:0 auto;font-size:16px;line-height:1.18;max-width:240px}
.contacts{min-height:236px;color:#fff;background:#172333 url('assets/contacts-restored.jpg') center/100% 100% no-repeat}.contact-content{position:relative;min-height:236px;padding:20px 0 46px;display:grid;grid-template-columns:62% 38%;gap:0;align-items:start}.contact-info h2{margin:0;font-size:30px;line-height:1.15;letter-spacing:-.6px;text-transform:uppercase;font-weight:700}.contact-info .red-rule{height:4px;width:72px;margin:5px 0 10px}.contact-lines{display:grid;gap:4px;font-weight:700;font-size:21px;line-height:1.1}.contact-lines a,.contact-lines address{display:flex;align-items:flex-start;gap:24px;text-decoration:none;max-width:365px}.contact-lines address{font-size:20px;line-height:1.15}.contact-lines .contact-symbol{width:22px;height:24px}.contact-social{padding-top:9px}.contact-social h3{margin:0 0 28px;text-align:center;font-size:22px;line-height:1.15;font-weight:700;white-space:nowrap;letter-spacing:-.6px;text-transform:uppercase}.social-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.social-cards>a{min-height:64px;display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:#fff;color:#080808;text-decoration:none;box-shadow:0 3px 8px #0004;font-size:14px;line-height:1.2}.social-cards>a>span:nth-child(2){display:grid}.social-cards small{margin-top:2px;font-size:13px;white-space:nowrap}.social-cards>a>b{margin-left:auto;font-size:24px;font-weight:400}.social-badge{width:40px;height:40px;border-radius:10px}.social-badge svg{width:31px;height:31px}.copyright{position:absolute;bottom:22px;left:0;margin:0;font-size:14px}.footer{display:none}a:focus-visible{outline:3px solid #ff5f61;outline-offset:4px}
@media(min-width:1200px){.hero{height:410px}.hero-content{padding-top:60px}.hero h1{font-size:50px}.hero p{font-size:22px;max-width:460px}.about-copy{padding:24px 36px}.contact-content{grid-template-columns:58% 42%}.brand-title strong{font-size:30px}}
@media(max-width:1000px) and (min-width:761px){.head-inner{width:calc(100% - 40px);grid-template-columns:35% 22% 28% 15%}.brand{gap:8px;padding:0}.brand-title strong{font-size:22px}.brand-title small{font-size:8.5px}.brand-mark{width:54px;height:54px}.head-address{font-size:13px;padding-inline:10px;gap:7px}.head-address strong{font-size:14px}.head-phones{font-size:17px;padding-left:10px;gap:9px}.head-phones a{gap:5px}.social{gap:8px;padding-left:10px}.social a{width:39px;height:39px}.contact-social h3{font-size:19px}.social-cards>a{gap:6px;padding:8px}.social-cards>a>b{display:none}.about-copy p{font-size:16px}.about-copy ul{font-size:16px}.card h3{font-size:17px}.card p{font-size:15px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.head-inner{height:auto;padding:14px 0;width:calc(100% - 32px);grid-template-columns:1fr auto;gap:14px 8px}.brand{padding:0;gap:8px}.brand-mark{width:48px;height:48px}.brand-title strong{font-size:21px}.brand-title small{font-size:8px;letter-spacing:-.25px}.social{grid-row:1;grid-column:2;gap:7px;padding:0;border:0;min-height:0}.social a{width:38px;height:38px;border-radius:10px}.social svg{width:28px;height:28px}.head-address{grid-row:2;grid-column:1;border:0;min-height:0;padding:0;gap:7px;font-size:12px}.head-address strong{font-size:13px}.head-address .contact-symbol{width:17px;height:22px}.head-phones{grid-row:2;grid-column:2;border:0;padding:0;font-size:13px;gap:7px}.head-phones a{gap:5px}.head-phones .contact-symbol{width:16px;height:18px}.hero{height:365px;background-position:57% center;position:relative;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0a15264d,#0a15261a);z-index:-1}.hero-content{padding-top:43px;width:calc(100% - 40px)}.hero h1{font-size:clamp(29px,5.9vw,42px);line-height:1.08;letter-spacing:-.6px}.hero p{font-size:18px;max-width:360px}.services{padding:24px 0 28px}.services .wrap{width:calc(100% - 36px)}.section-title{gap:15px;margin-bottom:22px}.section-title>span,.process .section-title>span{width:56px}.section-title h2{font-size:27px;letter-spacing:-.7px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{height:auto;min-height:198px}.card h3{font-size:18px}.card p{font-size:15px}.about{grid-template-columns:1fr 1fr}.about-art{background-size:cover}.about-copy{padding:20px}.about-copy h2{font-size:27px}.about-copy p{font-size:16px}.about-copy ul{font-size:15px}.about-copy li{gap:8px}.about-copy li:before{width:18px;height:10px;border-width:4px}.process{padding:26px 0 30px}.steps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px}.step:not(:last-child):after{display:none}.step h3{font-size:20px}.step p{font-size:15px}.contact-content{padding:24px 0 65px;grid-template-columns:1fr;gap:26px}.contact-social{padding:0}.contact-social h3{text-align:left;font-size:21px;margin-bottom:15px;white-space:normal}.social-cards{max-width:430px}.social-cards>a{gap:10px}.contact-lines{font-size:20px}.contact-lines address{font-size:18px}.copyright{bottom:22px}.contacts{background-position:56% center}}
@media(max-width:480px){.brand-mark{width:43px;height:43px}.brand-title strong{font-size:17px;letter-spacing:-.6px}.brand-title small{font-size:6.7px}.social{gap:6px}.social a{width:33px;height:33px;border-radius:9px}.social svg{width:25px;height:25px}.head-address{font-size:11px}.head-address strong{font-size:12px}.head-phones{font-size:12px}.hero{height:350px;background-position:55% center}.hero-content{padding-top:39px}.hero h1{font-size:clamp(25px,7.5vw,34px)}.hero p{font-size:17px;max-width:305px}.hero .red-rule{margin-block:20px 16px}.section-title h2{font-size:24px}.section-title>span,.process .section-title>span{width:32px}.card{padding:12px 8px;min-height:202px}.card h3{font-size:16px;letter-spacing:-.6px}.card p{font-size:14px}.about{grid-template-columns:1fr}.about-art{min-height:210px;background-size:100% 100%}.about-copy{padding:22px 20px 28px}.about-copy h2{font-size:30px}.about-copy p{font-size:17px}.about-copy ul{font-size:16px;gap:9px;margin-top:16px}.step h3{font-size:18px}.step p{font-size:14px}.social-cards{gap:10px}.social-cards>a{gap:8px;padding:10px 8px}.social-cards>a>b{display:none}.copyright{font-size:12px}}

.hero h1{font-weight:800;transform:scaleX(.86);transform-origin:left center;width:116%}.section-title h2,.about-copy h2,.contact-info h2{font-weight:800;transform:scaleX(.92)}.about-copy h2,.contact-info h2{transform-origin:left}.card h3{font-weight:800;font-size:19px;letter-spacing:-.7px}.card h3 span{display:block;white-space:nowrap;transform:scaleX(.86);width:116%;margin-left:-8%}.step h3{font-weight:800;transform:scaleX(.9)}.head-address{padding-inline:12px;font-size:14px}.head-address .contact-symbol{width:20px}.brand-title strong{font-weight:800;transform:scaleX(.94);transform-origin:left}.hero p{max-width:none}
@media(max-width:480px){.card h3{font-size:16px}.hero p{font-size:16px}.head-address{padding:0;font-size:11px}.hero h1{width:116%}}

.hero{overflow:hidden}.card h3 span{transform:scaleX(.82)}
@media(max-width:480px){.head-inner{grid-template-columns:minmax(0,1fr) auto}.head-address{min-width:0}.head-address span{min-width:0}.card h3{font-size:15px;font-weight:700;letter-spacing:-.6px}.card h3 span{white-space:normal;transform:none;width:auto;margin:0}.section-title{gap:8px}.section-title>span,.process .section-title>span{flex:0 0 20px;width:20px}.section-title h2{font-size:22px;white-space:nowrap;letter-spacing:-.8px}.process .section-title h2{font-size:21px}.contacts{background-image:linear-gradient(#111c3080,#111c3080),url('assets/contacts-restored.jpg');background-size:cover}}
@media(max-width:359px){.brand-mark{width:35px;height:35px}.brand{gap:6px}.brand-title strong{font-size:14px}.brand-title small{font-size:5.6px}.social a{width:29px;height:29px}.social svg{width:22px;height:22px}.head-phones{font-size:11px}.head-address{font-size:10px}.head-address strong{font-size:11px}.card h3{font-size:14px}.card p{font-size:13px}.about-copy ul{font-size:14px}.hero p{font-size:15px}}
