﻿:root{--ink:#071a40;--blue:#064cf4;--paper:#f7f5f2;--muted:#626a78;--line:#e4e7ed;--radius:24px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}img{max-width:100%;display:block}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #59a0ff;outline-offset:4px}.container{width:min(1280px,calc(100% - 96px));margin:auto}.header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid #eceef2}.header-inner{display:flex;align-items:center;gap:30px;min-height:100px}.brand{display:flex;align-items:center;gap:9px;flex-shrink:0}.brand img{width:62px;height:66px;object-fit:cover;object-position:center;clip-path:inset(0 0 38% 0);margin-bottom:-23px}.brand>span{font-size:31px;letter-spacing:-1.7px;font-weight:800;line-height:1}.blue{color:var(--blue)}.brand small{display:block;font-size:8px;letter-spacing:3.7px;text-align:center;margin-top:9px;color:var(--ink)}.navigation{display:flex;align-items:center;gap:27px;margin-left:auto}.navigation a{font-size:14px;font-weight:700}.navigation a:hover{color:var(--blue)}.header-actions{display:flex;align-items:center;gap:25px}.languages{display:flex;gap:7px;font-size:13px;white-space:nowrap}.languages .active{color:var(--blue);font-weight:800}.button{background:var(--blue);color:#fff;border:1px solid var(--blue);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:16px 24px;font-size:15px;font-weight:700;line-height:1.4;transition:background .2s,transform .2s}.button:hover{background:#003bd1;transform:translateY(-1px)}.button.compact{padding:13px 18px;white-space:nowrap;font-size:13px}.menu-toggle{display:none}.hero{background:var(--paper);overflow:hidden}.hero-grid{display:grid;grid-template-columns:44% 56%;min-height:650px;align-items:center;padding:52px 0 62px}.hero-copy{position:relative;padding-right:36px;z-index:1}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--blue);margin:0 0 23px}.hero h1{font-size:clamp(42px,4.7vw,70px);letter-spacing:-3.2px;line-height:1.06;max-width:550px;margin:0 0 28px;font-weight:800}.hero h1 span{color:var(--blue)}.hero-lead{font-size:19px;line-height:1.55;max-width:400px;color:#303d52;margin:0 0 36px}.hero-buttons{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.text-link{font-size:14px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:3px;display:inline-block}.hero-photo{margin:0;position:relative;width:calc(100% + 48px);height:530px}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:58% center;border-radius:100px 0 0 30px}.hero-photo figcaption{position:absolute;right:18px;bottom:14px;background:rgba(255,255,255,.9);border-radius:4px;padding:4px 9px;font-size:10px;color:#374151}.paint-stroke{position:absolute;right:-28px;bottom:-60px;width:180px;height:25px;background:linear-gradient(175deg,transparent 2%,#3786ff 4%,#0045ed 25%,#0756f4 65%,transparent 94%);transform:rotate(-16deg);z-index:-1;clip-path:polygon(0 25%,100% 0,96% 25%,100% 31%,98% 65%,93% 83%,100% 87%,0 100%,10% 65%)}.section{padding:82px 0}.section-heading{margin-bottom:38px}.section-heading h2,h2{font-size:clamp(30px,3vw,44px);line-height:1.15;letter-spacing:-1.5px;margin:0 0 15px}.section-heading>.eyebrow{margin-bottom:14px}.section-heading>p:last-child{color:var(--muted);font-size:16px;margin-bottom:0}.cards{background:var(--paper);padding-top:18px}.cards .section-heading{text-align:center}.grid{display:grid;gap:24px}.cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item{min-width:0}.cards .item{background:#fff;border-radius:var(--radius);padding:33px 30px 32px;box-shadow:0 10px 40px #15284b05}.item h3{font-size:23px;letter-spacing:-.65px;line-height:1.2;margin:0 0 13px}.item p{margin:0 0 15px;color:#525d70;font-size:15px;line-height:1.6}.service-icon{width:49px;height:49px;margin:0 0 25px}.service-icon svg{width:100%;height:100%;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.card-image{width:100%;height:180px;object-fit:cover;border-radius:14px;margin-bottom:24px}.about{border-top:1px solid var(--line)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:start}.about-grid h2{max-width:460px}.about-text{color:#4d596c;font-size:18px;margin:0;line-height:1.8}.multiline{white-space:pre-line;overflow-wrap:anywhere}.about-photo{border-radius:20px;margin-top:25px;width:100%}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-item h3{margin-top:17px;font-size:20px}.photo-button{border:0;padding:0;background:transparent;width:100%;display:block;border-radius:20px;overflow:hidden}.photo-button img{width:100%;aspect-ratio:1.55;object-fit:cover;transition:transform .4s}.photo-button:hover img{transform:scale(1.025)}.partners{background:#f8f9fc}.partners-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.partners .item{background:#fff;padding:28px;border:1px solid var(--line);border-radius:18px}.partner-logo{width:100%;height:90px;object-fit:contain;margin-bottom:25px}.contact{background:#061c44;color:#fff}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.contact .eyebrow{color:#83acff}.contact h2{max-width:460px;font-size:46px}.contact-intro{max-width:400px;color:#c5cee0;font-size:17px}.contact-details{display:flex;flex-direction:column;gap:14px;margin-top:36px}.contact-details a{font-size:22px;width:fit-content}.contact-details a:hover{text-decoration:underline}.contact-form{background:white;color:var(--ink);padding:32px;border-radius:22px}.contact-form label{display:block;font-size:12px;font-weight:700;margin-bottom:16px}.contact-form input,.contact-form textarea{display:block;width:100%;border:1px solid #d9dee8;border-radius:7px;padding:12px;color:var(--ink);background:#fff;margin-top:6px}.contact-form textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.captcha{display:flex!important;align-items:center;gap:10px}.captcha input{width:75px;margin:0}.privacy{font-size:11px;color:#6b7280;line-height:1.5}.contact-form .button{width:100%}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.notice{padding:15px;border-radius:7px;margin-bottom:20px;font-size:14px}.notice.success{background:#e7f7ed;color:#155431}.notice.error{background:#fff0ec;color:#963626}.footer{padding:30px 0}.footer-inner{display:flex;gap:20px;justify-content:space-between;align-items:center;font-size:12px;color:#717c8e}.footer strong{font-size:17px;color:var(--ink)}.skip{position:absolute;left:20px;top:-70px;z-index:100;padding:12px;background:white}.skip:focus{top:15px}dialog{border:0;border-radius:15px;max-width:min(1100px,94vw);padding:20px}dialog::backdrop{background:#04132ce6}dialog img{max-height:76vh;object-fit:contain}dialog p{margin:10px 0 0}.lightbox-close{display:block;margin:0 0 12px auto;background:none;border:0;color:var(--ink)}
@media(min-width:1500px){.hero-photo{width:calc(100% + (100vw - 1280px)/2)}}
@media(max-width:1150px){.container{width:calc(100% - 56px)}.header-inner{gap:20px}.header-actions{gap:18px}.navigation{gap:16px}.navigation a{font-size:12px}.brand>span{font-size:27px}.header .compact{display:none}.hero-grid{min-height:600px}.hero h1{font-size:57px}.hero-photo{height:480px}.contact-grid{gap:50px}.hero-lead{font-size:17px}}
@media(max-width:800px){html{scroll-padding-top:100px}.container{width:calc(100% - 40px)}.header-inner{min-height:82px;gap:14px;flex-wrap:wrap}.brand{margin-right:auto}.brand img{width:46px;height:54px;margin-bottom:-18px}.brand>span{font-size:26px}.brand small{font-size:7px;letter-spacing:3px}.header-actions{order:2}.menu-toggle{display:block;order:3;background:none;border:1px solid var(--line);border-radius:7px;padding:7px 10px;color:var(--ink);font-size:12px}.navigation{display:none;width:100%;order:4;align-items:stretch;gap:0;padding-bottom:15px}.navigation.open{display:flex;flex-direction:column}.navigation a{font-size:15px;padding:10px 0}.hero-grid{grid-template-columns:1fr;padding:45px 0 30px;gap:30px}.hero-copy{padding:0}.hero h1{font-size:clamp(44px,8vw,65px);letter-spacing:-2.2px;max-width:620px}.hero-lead{max-width:500px;font-size:18px}.hero-photo{width:calc(100% + 20px);height:360px}.hero-photo img{border-radius:70px 0 0 24px}.paint-stroke{bottom:-28px;right:20px}.section{padding:55px 0}.cards{padding-top:30px}.cards-grid{grid-template-columns:1fr}.cards .item{padding:27px;position:relative}.service-icon{margin-bottom:20px}.about-grid,.contact-grid{grid-template-columns:1fr;gap:25px}.about h2{max-width:550px}.partners-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact h2{font-size:38px}.contact-form{padding:24px}.contact-details{margin:22px 0 10px}.footer-inner{flex-wrap:wrap}.gallery-grid{gap:18px}.hero-buttons{gap:20px}.section-heading h2,h2{letter-spacing:-1px}.eyebrow{margin-bottom:18px}}
@media(max-width:460px){.container{width:calc(100% - 32px)}.header-inner{gap:10px}.languages{gap:5px}.brand>span{font-size:24px}.menu-toggle{font-size:0;padding:5px 9px}.menu-toggle:after{content:'☰';font-size:18px}.hero h1{font-size:44px}.hero-photo{height:290px}.hero-photo figcaption{right:12px;bottom:12px;font-size:9px}.hero-buttons .button{width:100%}.partners-grid,.gallery-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr;gap:0}.contact-details a{font-size:20px}.footer-inner>span:last-child{margin-left:auto}.contact-form{padding:20px}.hero-copy>.eyebrow{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.brand-mark{display:block;position:relative;width:59px;height:66px;overflow:hidden;flex-shrink:0}.brand .brand-mark img{position:absolute;width:100px;max-width:none;height:100px;left:-20px;top:-2px;object-fit:contain;clip-path:none;margin:0}.navigation{flex-wrap:wrap;justify-content:flex-end;row-gap:8px}.header-actions{flex-shrink:0}@media(max-width:800px){.brand-mark{width:45px;height:54px}.brand .brand-mark img{width:81px;height:81px;left:-17px;top:-1px}.navigation{justify-content:flex-start}}
.brand-mark{height:58px}.brand .brand-mark img{width:96px;height:96px;left:-18px;top:-3px}@media(max-width:800px){.brand-mark{height:48px}.brand .brand-mark img{width:81px;height:81px;left:-17px;top:-3px}}
.arrow-icon{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none;display:inline-block;vertical-align:middle;flex-shrink:0}.hero-grid.no-photo{grid-template-columns:1fr;min-height:500px}.no-photo .hero-copy{max-width:760px}.no-photo .hero-copy h1{max-width:760px}
/* Убираем прежний угловатый мазок */
.paint-stroke {
    display: none;
}

/* Новый мазок привязан к фотографии */
.hero-photo {
    isolation: isolate;
}

.hero-photo::before {
    content: "";
    position: absolute;
    left: -42px;
    bottom: -18px;

    width: 250px;
    height: 58px;

    z-index: -1;
    pointer-events: none;

    transform: rotate(-8deg);
    transform-origin: center;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 72' fill='none'%3E%3Cpath d='M17 48C91 30 191 37 295 20' stroke='%23064cf4' stroke-width='23' stroke-linecap='round'/%3E%3Cpath d='M10 40C86 24 192 29 306 12' stroke='%23377aff' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M22 60C111 39 209 46 290 30' stroke='%23064cf4' stroke-opacity='.45' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M37 44C113 30 188 34 266 23' stroke='%235991ff' stroke-opacity='.7' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M7 50L24 46M285 19L313 14M278 30L304 25' stroke='%23064cf4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.hero-photo > img {
    position: relative;
    z-index: 0;
}

.hero-photo > figcaption {
    z-index: 1;
}

/* На телефоне — меньший, аккуратный акцент */
@media (max-width: 800px) {
    .hero-photo::before {
        left: -14px;
        bottom: -15px;
        width: 180px;
        height: 44px;
        transform: rotate(-6deg);
    }
}
/* След малярного валика вместо стрелки */
.hero-photo::before {
    left: -38px;
    bottom: -20px;
    width: 260px;
    height: 68px;

    transform: rotate(-7deg);
    opacity: .95;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 80'%3E%3Cdefs%3E%3Cfilter id='edge' x='-5%25' y='-20%25' width='110%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' seed='7' result='noise'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='noise' scale='4' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpattern id='texture' width='19' height='17' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='3' cy='4' r='.8' fill='white' opacity='.22'/%3E%3Ccircle cx='13' cy='11' r='1' fill='white' opacity='.15'/%3E%3Ccircle cx='8' cy='15' r='.6' fill='%2309299b' opacity='.25'/%3E%3C/pattern%3E%3C/defs%3E%3Cg filter='url(%23edge)'%3E%3Cpath d='M14 14L304 12L307 65L13 67Z' fill='%23064cf4'/%3E%3Cpath d='M14 14L304 12L307 65L13 67Z' fill='url(%23texture)'/%3E%3Cpath d='M19 17L299 15M18 63L301 61' stroke='%236198ff' stroke-width='2' opacity='.45'/%3E%3C/g%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 800px) {
    .hero-photo::before {
        left: -12px;
        bottom: -16px;
        width: 185px;
        height: 50px;
        transform: rotate(-5deg);
    }
}
/* Новый мазок — изображение на прозрачном фоне */
.paint-stroke {
    display: none;
}

.hero-photo {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.hero-photo::before {
    content: "";
    display: block;
    position: absolute;

    top: auto;
    right: auto;
    bottom: -20px;
    left: -95px;

    width: 330px;
    height: 110px;

    background: transparent
        url("../images/blue-brush.png")
        center / contain no-repeat;

    transform: none;
    clip-path: none;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 1;

    pointer-events: none;
    z-index: 0;
}

.hero-photo > img {
    position: relative;
    z-index: 1;
}

.hero-photo > figcaption {
    z-index: 2;
}

@media (max-width: 800px) {
    .hero-photo::before {
        width: 230px;
        height: 77px;
        left: -38px;
        bottom: -14px;
    }
}
.hero-photo::before {
    width: 410px;
    height: 137px;
    left: -135px;
    bottom: -32px;
}

@media (max-width: 800px) {
    .hero-photo::before {
        width: 270px;
        height: 90px;
        left: -55px;
        bottom: -22px;
    }
}
