/* Третья композиция: асимметричные блоки, спокойные цвета, компактный портрет. */
body{background-color:#f1f2ed;background-image:radial-gradient(ellipse at 0% 5%,#c4d4c577,transparent 40%),radial-gradient(ellipse at 100% 35%,#d7cbdc66,transparent 42%),radial-gradient(ellipse at 15% 85%,#e4d7c955,transparent 40%)}
.wrap{width:min(1120px,calc(100% - 72px))}.header{min-height:100px}.header-contact{background:#f9faf67a;border-color:#bfccbf}.brand{font-weight:550}main{width:min(1120px,calc(100% - 72px));margin:auto;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:26px;align-items:stretch;padding-bottom:26px}main>.wrap{width:100%;margin:0;min-width:0}.hero,.services,.contact{grid-column:1/-1}.hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:start;gap:35px;padding-bottom:14px}.hero-copy{min-height:430px;border-radius:32px;padding:45px 43px;background:#e1e9dc;color:#2d4738;border:1px solid #d2decc;box-shadow:0 12px 40px #2f49350a}.hero-copy:before{inset:-15px;background:radial-gradient(ellipse at 100% 0,#c1d4bf88,transparent 60%),radial-gradient(ellipse at 0 100%,#f4f4e999,transparent 60%);filter:blur(20px)}h1{font-size:clamp(44px,4.6vw,62px);letter-spacing:-.055em;margin-bottom:23px;font-weight:500}h1 em{color:#647f58}.hero-role{font-size:22px;margin-bottom:20px;line-height:1.4}.hero-description{color:#4c6152;font-size:16px;max-width:480px;margin-bottom:27px}.primary{background:#42664e;color:#fff;box-shadow:none}.primary:hover{background:#30513c}.portrait{width:min(100%,318px);height:365px;min-height:0;align-self:center;justify-self:center;transform:rotate(3deg);border-radius:29px;box-shadow:0 13px 30px #293f3718;border:7px solid #ffffffad;overflow:visible;background:#e7e3da}.portrait-frame{overflow:hidden;border-radius:22px}.portrait img{position:static;height:100%;width:100%;object-fit:cover;object-position:50% 30%;border-radius:22px}.portrait:after{border-radius:22px;box-shadow:inset 0 0 55px #173c2910;background:linear-gradient(0deg,#173c2908,transparent 45%)}.portrait:before{content:"";position:absolute;inset:30px -18px -18px 18px;background:#d9d4e099;border:1px solid #c9c0d188;border-radius:27px;z-index:-1;transform:rotate(-7deg)}
.section{border:0;border-radius:0;box-shadow:none;padding:0;margin:0;background:none;backdrop-filter:none;scroll-margin-top:28px}h2{font-size:37px;font-weight:500;letter-spacing:-.045em}.section-heading{margin:10px 0 24px}.service-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:22px;align-items:stretch}.service-card{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:0;min-width:0;padding:30px 31px;border:1px solid #d9dfd2;border-radius:27px;background:#e4eadc;overflow:hidden;box-shadow:0 8px 28px #31453708}.service-card h3{font-size:25px;font-weight:550;line-height:1.25;margin:18px 0 13px;letter-spacing:-.035em}.service-card p{font-size:16px;line-height:1.65;color:#4c5d51;max-width:450px}.icon{width:43px;height:43px;border-radius:13px;flex:none;background:#ffffff9c}.icon svg{width:25px;height:25px}.service-card:nth-child(1){grid-column:1/8;grid-row:1/3;padding:35px 36px;min-height:490px;background:linear-gradient(135deg,#e6ecdf,#dce6d8);padding-bottom:224px}.service-card:nth-child(2){grid-column:8/-1;grid-row:1;background:#e9e3ed;border-color:#ded6e3;padding:27px 29px}.service-card:nth-child(3){grid-column:8/-1;grid-row:2;background:#eee7df;border-color:#e2d8cc;padding:27px 29px}.service-card:nth-child(2) h3,.service-card:nth-child(3) h3{font-size:23px;margin-top:15px}.service-card:nth-child(4){grid-column:2/-1;grid-row:3;min-height:225px;background:linear-gradient(110deg,#e3e9e7,#eef1eb);border-color:#d5dfda;margin-top:2px;padding:29px 34px 32px 99px}.service-card:nth-child(4) .icon{position:absolute;left:31px;top:31px}.service-card:nth-child(4) h3{margin-top:0}.service-card:nth-child(4) p{max-width:660px;padding-right:70px}.service-card:nth-child(4):after{content:"";position:absolute;right:45px;bottom:42px;width:78px;height:78px;border:1px solid #a5b8a8;border-radius:20px;transform:rotate(12deg);box-shadow:-15px -15px 0 -1px #c3d2c1,0 0 0 12px #ffffff60;z-index:-1}.site-illustration{position:absolute;bottom:-18px;left:55px;right:36px;height:200px;border:1px solid #bdcdb6;border-radius:15px 15px 0 0;background:#f7f8f1;transform:rotate(-4deg);box-shadow:0 8px 20px #2945300e;padding:16px 18px}.site-illustration:before{content:"";display:block;height:10px;width:52px;border-radius:8px;background:radial-gradient(circle at 5px 5px,#b4c4a9 3px,transparent 4px),radial-gradient(circle at 22px 5px,#c6d2be 3px,transparent 4px),radial-gradient(circle at 39px 5px,#d0d8c9 3px,transparent 4px);margin-bottom:14px}.illustration-layout{border-top:1px solid #dbe3d4;padding-top:18px;display:grid;grid-template-columns:1.35fr 1fr;gap:14px}.illustration-lines{padding-top:8px}.illustration-lines i{display:block;width:90%;height:9px;margin-bottom:9px;border-radius:5px;background:#c3d1b9}.illustration-lines i:nth-child(2){width:62%}.illustration-lines i:nth-child(3){height:24px;width:70px;border-radius:20px;background:#8ca780;margin-top:19px}.illustration-patch{height:115px;border-radius:40px 40px 9px 9px;background:linear-gradient(135deg,#d8cfe0,#adc3a4)}
.approach{grid-column:1/8;display:flex;flex-direction:column;gap:25px;padding:35px 36px 33px;margin-top:12px;background:#e2e9da;border:1px solid #d3ddc9;border-radius:29px;box-shadow:0 9px 28px #31453708}.approach h2 br{display:none}.approach-intro h2{max-width:none}.lead{font-size:20px;line-height:1.55;font-weight:500}.approach-copy>p:not(.lead){font-size:16px;color:#4f5f4b}.approach-copy p+p,.about-copy p+p{margin-top:17px}.result-quote{background:#f7f9f0b3;border:1px solid #fafcf6;border-radius:20px;margin-top:23px;padding:23px}.result-quote p{font-size:14px}.result-quote blockquote{font-size:26px;font-weight:500;line-height:1.3}.about{grid-column:8/-1;align-self:start;margin-top:60px;border:1px solid #ded5e3;border-radius:29px;background:linear-gradient(135deg,#e9e3ed,#f0ecef);box-shadow:0 9px 28px #31453708;overflow:hidden}.about-card{display:flex;flex-direction:column;gap:25px;padding:34px 30px}.about h2{font-size:34px}.about h2 em{color:#786782}.about-copy .lead{font-size:19px}.about-copy .lead br{display:none}.about-copy>p:not(.lead){font-size:16px;line-height:1.7;color:#62596a}.contact{width:calc(100% - 94px)!important;justify-self:center;padding:44px 35px 25px;margin-top:8px!important;border:1px solid #d8dfd2;border-radius:28px;background:#f7f8f0c9;box-shadow:0 9px 28px #31453708}.contact:before{opacity:.45}.contact h2{font-size:37px}.contact-copy{font-size:16px}.contact-links{gap:12px}.messenger{background:#5a775f;box-shadow:none}.messenger[data-contact=max]{background:#81748e}.messenger[data-contact=whatsapp]{background:#66836c}.footer{padding-block:20px 30px}
@media(max-width:1000px){main{width:calc(100% - 48px);gap:22px}.wrap{width:calc(100% - 48px)}.hero{gap:26px;grid-template-columns:1.45fr 1fr}.hero-copy{padding:34px 30px;min-height:0}.hero-role{font-size:20px}.portrait{width:270px;height:330px}.service-card:nth-child(1){padding-inline:27px}.service-card:nth-child(2),.service-card:nth-child(3){padding:25px}.site-illustration{left:30px;right:25px}.approach{padding:30px}.about-card{padding:30px 25px}.approach h2,.about h2{font-size:31px}.contact{width:calc(100% - 40px)!important}}
@media(max-width:760px){main{width:calc(100% - 32px);gap:20px}.wrap{width:calc(100% - 32px)}.hero{grid-template-columns:1fr;gap:24px;padding-bottom:12px}.hero-copy{border-radius:26px;padding:33px 28px}h1{font-size:50px}.hero-role br{display:none}.hero-description{font-size:16px}.portrait{width:235px;height:275px;justify-self:end;margin-right:24px;margin-block:0 12px;transform:rotate(2deg);border-width:5px;border-radius:25px}.portrait-frame,.portrait img,.portrait:after{border-radius:20px}.portrait:before{inset:15px -14px -13px 14px;border-radius:23px}.service-grid{gap:16px;grid-template-columns:1fr}.service-card:nth-child(n){grid-column:1;grid-row:auto;margin:0;border-radius:24px;padding:27px}.service-card:nth-child(1){padding-bottom:196px;min-height:410px}.site-illustration{left:38px;right:25px;height:175px;bottom:-13px}.service-card:nth-child(2){margin-left:20px}.service-card:nth-child(3){margin-right:20px}.service-card:nth-child(4){padding-left:27px;min-height:0}.service-card:nth-child(4) .icon{position:static}.service-card:nth-child(4) h3{margin-top:17px}.service-card:nth-child(4) p{padding:0;max-width:none}.service-card:nth-child(4):after{display:none}.service-card p{font-size:16px}.service-card h3,.service-card:nth-child(2) h3,.service-card:nth-child(3) h3{font-size:23px}.section-heading{margin:4px 0 20px}h2{font-size:32px}.approach{grid-column:1/-1;gap:23px;margin-top:8px;padding:29px 26px;border-radius:25px}.about{grid-column:1/-1;margin-top:0;margin-left:20px!important;width:calc(100% - 20px)!important;border-radius:25px}.about-card{padding:29px 26px;gap:23px}.about h2 br{display:none}.about h2{font-size:32px}.contact{width:100%!important;padding:34px 25px 22px;margin-top:0!important;border-radius:25px}.contact h2{font-size:32px}.contact-links{max-width:360px;margin-inline:auto}.contact-copy br{display:none}.footer{gap:16px}.result-quote blockquote{font-size:25px}}
/* Согласованная правка: компактный портрет по центру на узком экране. */
@media(max-width:760px){.hero{gap:16px;padding-bottom:4px}.portrait{justify-self:center;margin:0 0 4px;transform:none}.portrait:before{inset:10px -10px -10px 10px;transform:rotate(-3deg)}}
