/*
Theme Name: Digital Promotion
Description: Тема агентства Digital Promotion (блочная, Gutenberg). Тёмный дизайн, акцент #ddff00.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: dp-promotion
*/
:root{--bg:#101217;--card:#1a1c21;--line:#24262b;--text:#c6c6c7;--white:#fff;--accent:#ddff00}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0}
a{text-underline-offset:3px}
img{max-width:100%;height:auto}

/* ---------- кнопки ---------- */
.wp-block-button__link{transition:transform .15s,opacity .15s}
.wp-block-button__link:hover{opacity:.88;transform:translateY(-1px)}
.is-style-outline>.wp-block-button__link,.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--white);border:1px solid var(--white)}
.is-style-outline>.wp-block-button__link:hover{background:var(--white);color:var(--bg)}
.dp-center{justify-content:center;margin-top:40px}

/* ---------- секции ---------- */
.dp-section{padding:90px 20px}
.dp-section>*{max-width:1200px}
.dp-tag{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text);margin:0 0 14px}
.dp-tag::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
.dp-h2{font-size:clamp(28px,3.1vw,40px);line-height:1.2;font-weight:600;color:var(--white);margin:0 0 .6em}
.dp-h1{font-size:clamp(32px,4vw,52px);line-height:1.12;font-weight:600;color:var(--white);margin:0 0 .5em}
.dp-h3{font-size:24px;color:var(--white);margin:1.4em 0 .5em}
.dp-lead{font-size:18px;line-height:1.45;color:var(--text)}
.dp-head{margin-bottom:48px;gap:32px}
.dp-head .dp-lead{margin-top:34px}
.has-accent-color{color:var(--accent)!important}

/* ---------- первый экран ---------- */
.dp-hero{padding:170px 20px 80px;min-height:640px;display:flex;align-items:flex-end;background:var(--bg) url(assets/img/sphere.webp) no-repeat 36% center/auto 100%}
.dp-hero>.wp-block-columns{max-width:1200px;width:100%;margin:0 auto}
.dp-hero-sub{font-size:25px;color:var(--white);margin:28px 0 0}
.dp-hero-lead{font-size:18px;color:var(--text);margin:0 0 22px}
.dp-hero-landing{min-height:0;padding:150px 20px 70px;align-items:center;background-position:98% 20%;background-size:auto 120%}
.dp-crumbs{font-size:14px;margin:0 0 22px}
.dp-crumbs a{color:var(--text);text-decoration:none}.dp-crumbs a:hover{color:var(--white)}
.dp-form-title{font-size:20px;font-weight:600;color:var(--white);margin:0 0 18px}
.dp-hero-form{padding:28px}

/* ---------- формы ---------- */
.dp-form{position:relative;display:flex;flex-direction:column;gap:20px;max-width:460px;margin:0}
.dp-form input[type=text],.dp-form>input[type=tel]{box-sizing:border-box;width:100%;height:60px;background:var(--bg);border:1px solid #383a3f;border-radius:60px;padding:0 20px;color:#fff;font:inherit;font-size:14px}
.dp-form input[type=text]:focus,.dp-form>input[type=tel]:focus{outline:none;border-color:var(--accent)}
.dp-form input::placeholder{color:#8a8b8e;opacity:1}
.dp-tel{display:flex;align-items:center;box-sizing:border-box;width:100%;height:60px;background:var(--bg);border:1px solid #383a3f;border-radius:60px;padding:0 20px;color:#fff}
.dp-tel:focus-within{border-color:var(--accent)}
.dp-tel__flag{flex:none}
.dp-tel__caret{flex:none;margin-left:6px;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #c6c6c7}
.dp-tel__code{flex:none;margin-left:10px;min-width:25px;font-size:14px;line-height:19px;color:#fff}
.dp-tel input[type=tel]{flex:1;min-width:0;height:58px;margin:0 0 0 5px;padding:0;background:none;border:0;border-radius:0;outline:none;color:#fff;font:inherit;font-size:14px}
.dp-check{display:flex;gap:10px;align-items:center;min-height:20px;font-size:12px;line-height:14px;color:#fff;cursor:pointer}
.dp-check input{-webkit-appearance:none;appearance:none;position:relative;flex:none;box-sizing:border-box;width:20px;height:20px;margin:0;border:2px solid #fff;border-radius:0;background:transparent;cursor:pointer}
.dp-check input:checked::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.dp-check a{color:#fff;text-decoration:none;border-bottom:1px solid #fff}
.dp-btn{box-sizing:border-box;height:60px;background:var(--accent);color:#000;border:1px solid var(--accent);border-radius:60px;padding:0 15px;font:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}
.dp-btn:hover{background:#101217;color:var(--accent)}
.dp-form-msg{margin:0;font-size:14px;color:var(--accent)}

/* ---------- карточки и сетки ---------- */
.dp-grid{gap:20px}
.dp-card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:32px;box-sizing:border-box}
.dp-card>*{margin-left:0!important;margin-right:0!important;max-width:none}
.dp-card-title{font-size:20px;font-weight:600;color:var(--white);margin:0 0 12px}
.dp-card-text{font-size:15px;line-height:1.5;color:var(--text);margin:0}
.dp-service{display:flex;flex-direction:column;padding:20px 20px 28px}
.dp-card-img{margin:0 0 22px}.dp-card-img img{width:100%;aspect-ratio:7/5;object-fit:cover;object-position:top;border-radius:12px;display:block}
.dp-service .dp-card-text{flex:1}
.dp-card-btns{margin-top:24px;gap:10px}
.dp-icon{margin:0 0 56px}.dp-icon img{width:60px;height:60px}
.dp-stat{display:flex;flex-direction:column;justify-content:space-between;min-height:240px}
.dp-bignum{font-size:75px;line-height:1;font-weight:600;color:var(--white);margin:0 0 8px!important}
.dp-bignum-xl{font-size:clamp(80px,10vw,140px);color:var(--accent)}
.dp-clients{margin:28px 0 0}
.dp-avatars{margin:28px 0 0;gap:0}.dp-ava{margin:0}.dp-ava+.dp-ava{margin-left:-14px}.dp-ava img{width:60px;height:60px;border-radius:50%;object-fit:cover;border:3px solid var(--card);display:block}
.dp-result{min-height:300px;display:flex;flex-direction:column;justify-content:flex-end}
.dp-result .dp-card-text{font-size:18px;max-width:360px}

/* ---------- текст страниц и FAQ ---------- */
.dp-prose-wrap{padding-top:40px}
.dp-prose{margin-bottom:56px!important}
.dp-prose>*{max-width:900px;margin-left:0!important;margin-right:0!important}
.dp-prose p,.dp-prose li{font-size:17px;line-height:1.6}
.dp-prose ul{padding-left:1.2em}.dp-prose li::marker{color:var(--accent)}
.dp-faq{border-top:1px solid var(--line);padding:22px 0;margin:0}
.dp-faq:last-of-type{border-bottom:1px solid var(--line)}
.dp-faq summary{font-size:20px;font-weight:600;color:var(--white);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:24px}
.dp-faq summary::-webkit-details-marker{display:none}
.dp-faq summary::after{content:"+";color:var(--accent);font-size:30px;line-height:.8}
.dp-faq[open] summary::after{content:"−"}
.dp-faq p{margin-top:16px;max-width:900px}

/* ---------- адаптив ---------- */
@media(max-width:1100px){.dp-grid-4{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:900px){
  .dp-grid{grid-template-columns:1fr!important}.dp-grid-4{grid-template-columns:1fr 1fr!important}
  .dp-section{padding:60px 20px}.dp-hero{min-height:540px;background-position:50% 12%;background-size:auto 70%}
  .dp-cta{padding:28px}.dp-case-title{font-size:24px}
}
@media(max-width:560px){.dp-grid-4{grid-template-columns:1fr!important}.dp-bignum{font-size:56px}}

/* ---------- страницы услуг: доп. блоки ---------- */
.dp-block{margin:0 0 56px}
.dp-about{margin:0 0 56px;padding:40px}
.dp-about .dp-card-text{max-width:780px;font-size:17px;margin-bottom:12px}
.dp-links{gap:12px;flex-wrap:wrap}
.dp-hero-landing{flex-direction:column;align-items:stretch;justify-content:center}
.dp-stats-row{max-width:1200px;width:100%;margin:48px auto 0}
.dp-stats-row .dp-stat{min-height:150px}

/* ---------- блог и кейсы ---------- */
.dp-post-card,.dp-case-card{padding:20px 20px 28px}
.dp-post-card .dp-card-img img,.dp-case-card .dp-card-img img{aspect-ratio:16/10;object-fit:cover;width:100%;border-radius:12px;display:block}
.dp-post-card .dp-card-title a,.dp-case-card .dp-card-title a{color:var(--white);text-decoration:none}
.dp-post-card .dp-card-title a:hover,.dp-case-card .dp-card-title a:hover{color:var(--accent)}
.dp-date{font-size:13px;color:#8a8b8e;margin:14px 0 8px}
.dp-case-card .dp-tag{margin:18px 0 8px}.dp-case-card .dp-tag a{color:var(--text);text-decoration:none}
.dp-readmore{display:inline-block;margin-top:22px;background:var(--accent);color:var(--bg)!important;border-radius:60px;padding:12px 28px;font-size:14px;font-weight:600;text-decoration:none}
.dp-readmore:hover{opacity:.88}
.dp-pagination{margin-top:40px;gap:14px}.dp-pagination a{color:var(--text);text-decoration:none}
.dp-article-wrap{padding-top:20px}
.dp-post-cover{margin:0 0 40px}.dp-post-cover img{width:100%;max-height:520px;object-fit:cover;border-radius:20px}
.dp-prose .wp-block-table{margin:24px 0}.dp-prose table{border-collapse:collapse;width:100%}
.dp-prose td,.dp-prose th{border:1px solid var(--line);padding:10px 14px;font-size:15px;text-align:left}.dp-prose th{background:var(--card);color:var(--white)}
.dp-prose a{color:var(--accent)}.dp-prose strong{color:var(--white)}
.dp-quote{border-left:3px solid var(--accent);padding:4px 0 4px 20px;font-size:17px;color:var(--white)}
.dp-content-img img{border-radius:16px;width:100%}
.dp-prose .dp-h2{margin-top:1.6em}
.dp-hero-landing>*{width:100%;max-width:1200px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
.dp-hero-landing .dp-date{margin:0 0 14px}

.dp-case-card .dp-niche{margin:20px 0 10px;font-size:20px;font-weight:600;color:var(--white)}.dp-case-card .dp-niche a{color:var(--white);text-decoration:none}

.dp-contact-card{margin-top:24px;max-width:480px}.dp-contact-card a{color:var(--white);font-weight:600;text-decoration:none}
.dp-thanks{min-height:520px;justify-content:center}.dp-thanks>*{text-align:left}

/* ---------- мобильные отступы и фон героя ---------- */
@media(max-width:900px){
  .dp-hero{padding:128px 20px 44px;min-height:0;background-size:auto 56%;background-position:50% 84px}
  .dp-hero-landing{padding:118px 20px 32px;background-size:auto 40%;background-position:100% 76px}
  .dp-hero-landing .dp-h1{font-size:30px}
  .dp-article-wrap,.dp-prose-wrap{padding-top:0}
  .dp-hero-cols{gap:20px}
  .dp-section{padding:52px 20px}
}
@media(max-width:900px){
  .dp-hero-landing{background-size:170px auto;background-position:calc(100% - 8px) 78px}
  .dp-hero-landing+.dp-section,.dp-hero-landing+.dp-article-wrap,.dp-hero-landing+.dp-prose-wrap{padding-top:24px}
  .dp-hero-landing .dp-h1{margin-bottom:.4em}
}

/* ---------- анимация шара: видео поверх статичного кадра ---------- */
.dp-hero{position:relative;overflow:hidden}
.dp-hero>*:not(.dp-hero-bg){position:relative;z-index:1}
.dp-hero-bg{position:absolute;z-index:0;height:100%;aspect-ratio:1/1;width:auto;left:36%;top:50%;transform:translate(-36%,-50%);pointer-events:none;object-fit:cover;opacity:0;transition:opacity .4s}
.dp-hero.has-video .dp-hero-bg{opacity:1}
.dp-hero.has-video{background-image:none}
.dp-hero-landing>.dp-hero-bg{height:120%;left:98%;top:20%;transform:translate(-98%,-20%)}
@media(max-width:900px){
  .dp-hero>.dp-hero-bg{height:56%;left:50%;top:84px;transform:translateX(-50%)}
  .dp-hero-landing>.dp-hero-bg{height:auto;width:170px;left:auto;right:8px;top:78px;transform:none}
}

.dp-hero-bg{-webkit-mask-image:radial-gradient(circle closest-side,#000 90%,transparent 100%);mask-image:radial-gradient(circle closest-side,#000 90%,transparent 100%)}

/* ================= сетка как в макете: 1200 / 960 / 640 / 480 / 320 ================= */
:root{--g:1200px}
@media(max-width:1199px){:root{--g:960px}}
@media(max-width:959px){:root{--g:640px}}
@media(max-width:639px){:root{--g:480px}}
@media(max-width:479px){:root{--g:320px}}

/* ================= шапка ================= */
.wp-site-blocks{position:relative}
.dp-header-wrap{position:absolute;top:0;left:0;right:0;z-index:50;margin:0}
.dp-header{position:relative;box-sizing:border-box;width:var(--g);max-width:none;margin:0 auto;padding:27px 0 0;height:77px;gap:0;align-items:flex-start;justify-content:space-between}
.dp-header>*{margin:0}
.dp-header>.dp-logo{margin:2px 0 0;flex:none;line-height:0}.dp-logo a{display:block}.dp-logo img{display:block;width:170px;height:45px}
.dp-header>.dp-header-right{flex:none;margin-top:2px}
.dp-nav .wp-block-navigation__responsive-container:not(.is-menu-open){background:transparent!important}
.dp-header-right .wp-block-button__link{box-sizing:border-box;width:165px;height:45px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;color:#fff;border:1px solid #fff;border-radius:60px;font-size:14px;font-weight:600;line-height:1}
.dp-header-right .wp-block-button__link:hover{background:#fff;color:var(--bg);opacity:1;transform:none}
nav.dp-nav{flex:none;box-sizing:border-box;width:717px;height:50px;background:rgba(26,28,33,.85);border:1px solid transparent;border-radius:60px}
.dp-nav .wp-block-navigation-item__content{color:var(--text);font-size:14px;line-height:21.7px;text-decoration:none;padding:0}
.dp-nav .wp-block-navigation-item__content:hover{color:#fff}
.dp-nav .wp-block-navigation-item.dp-nav-extra{display:none}
@media(min-width:960px){
  .dp-nav .wp-block-navigation__responsive-container,.dp-nav .wp-block-navigation__responsive-close,.dp-nav .wp-block-navigation__responsive-dialog,.dp-nav .wp-block-navigation__responsive-container-content{height:100%}
  .dp-nav .wp-block-navigation__container{height:100%;gap:0;flex-wrap:nowrap;align-items:center;justify-content:flex-start}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item{flex:none;justify-content:center}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(1){margin-left:37px;width:68px}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(2){margin-left:9px;width:120px}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(3){margin-left:23px;width:89px}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(4){margin-left:27px;width:51px}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(5){margin-left:25px;width:75px}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(6){margin-left:18px;width:75px}
  .dp-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(7){margin-left:20px;width:44px}
  /* выпадающее меню «Услуги» */
  .dp-nav .wp-block-navigation__submenu-icon{width:8px;height:8px;margin-left:6px;padding:0;color:var(--text)}
  .dp-nav .wp-block-navigation__submenu-icon svg{width:8px;height:8px;margin:0}
  .dp-nav .wp-block-navigation__submenu-container{left:50%!important;right:auto!important;top:calc(100% + 13px)!important;transform:translateX(-50%);min-width:310px!important;box-sizing:border-box;background:#1a1c21!important;border:0!important;border-radius:15px;box-shadow:0 0 7px rgba(0,0,0,.2);padding:18px 0!important}
  .dp-nav .wp-block-navigation__submenu-container::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
  .dp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item{width:100%;margin:0}
  .dp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item+.wp-block-navigation-item{margin-top:12px}
  .dp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:0 20px!important;font-size:14px;line-height:19px;color:var(--text);white-space:nowrap}
  .dp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{color:#fff}
}
@media(max-width:1199px){.dp-header>.dp-header-right{display:none}}

/* --- до 960px: логотип и круглая кнопка меню --- */
@media(max-width:959px){
  .dp-header{padding-top:31px;height:77px}
  .dp-header>.dp-logo{margin-top:0}
  nav.dp-nav{width:auto;height:auto;background:none;border:0;border-radius:0}
  .dp-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
  .dp-nav .wp-block-navigation__responsive-container-open{display:flex}
}
.dp-nav .wp-block-navigation__responsive-container-open{box-sizing:border-box;width:45px;height:46px;padding:0;align-items:center;justify-content:center;border:1px solid #fff;border-radius:60px;background:url(assets/img/burger.svg) center/17px 17px no-repeat;color:#fff}
.dp-nav .wp-block-navigation__responsive-container-open svg{display:none}

/* --- боковая панель меню (справа, 260px) --- */
.dp-nav .wp-block-navigation__responsive-container.is-menu-open{position:fixed;top:0;right:0;bottom:0;left:auto;width:260px;box-sizing:border-box;background:#101217!important;color:#fff!important;padding:42px 25px 25px;box-shadow:0 0 0 100vmax rgba(0,0,0,.6);opacity:1!important;animation:dp-slide .3s ease-in-out!important;overflow-y:auto;z-index:100000}
@keyframes dp-slide{from{transform:translateX(100%)}to{transform:none}}
.dp-nav .is-menu-open .wp-block-navigation__responsive-close{max-width:none;height:100%}
.dp-nav .is-menu-open .wp-block-navigation__responsive-dialog{position:relative;min-height:100%;display:flex;flex-direction:column;margin-top:0!important}
.dp-nav .is-menu-open .wp-block-navigation__responsive-container-close{position:absolute;top:-37px;right:-20px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#fff}
.dp-nav .is-menu-open .wp-block-navigation__responsive-container-content{flex:1;display:flex;flex-direction:column;align-items:flex-start!important;padding-top:0}
.dp-nav .is-menu-open .wp-block-navigation__responsive-container-content::before{content:"";flex:none;display:block;width:200px;height:53px;margin-bottom:25px;background:url(assets/img/logo.svg) left center/contain no-repeat}
.dp-nav .is-menu-open .wp-block-navigation__container{flex:1;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start!important;justify-content:flex-start!important;gap:15px;width:100%}
.dp-nav .is-menu-open .wp-block-navigation-item__content{color:#fff;font-size:16px;line-height:22px;font-weight:400;padding:0}
.dp-nav .is-menu-open .wp-block-navigation__submenu-container,.dp-nav .is-menu-open .wp-block-navigation__submenu-icon{display:none!important}
.dp-nav .is-menu-open .wp-block-navigation-item.dp-nav-extra{display:flex}
.dp-nav .is-menu-open .dp-nav-phone{margin-top:auto}
.dp-nav .is-menu-open .dp-nav-phone .wp-block-navigation-item__content{font-size:20px;line-height:27px;font-weight:300}
.dp-nav .is-menu-open .dp-nav-cta{margin-top:11px}
.dp-nav .is-menu-open .dp-nav-cta .wp-block-navigation-item__content{box-sizing:border-box;height:50px;display:flex;align-items:center;padding:0 24px!important;background:var(--accent);color:var(--bg)!important;border:1px solid var(--accent);border-radius:30px;font-size:14px;font-weight:700}

/* --- закреплённая шапка после прокрутки (666px): «стеклянная» плашка --- */
.dp-header-wrap.is-fixed{position:fixed;top:var(--wp-admin--admin-bar-height,0px);animation:dp-fade .25s ease}
@keyframes dp-fade{from{opacity:0}to{opacity:1}}
.dp-header-wrap.is-fixed .dp-header{height:80px;padding:0 20px;align-items:center}
.dp-header-wrap.is-fixed .dp-header>.dp-logo,.dp-header-wrap.is-fixed .dp-header>.dp-header-right{margin-top:0}
.dp-header-wrap.is-fixed .dp-header::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:100px;background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
@media(max-width:959px){.dp-header-wrap.is-fixed .dp-header{height:65px}}

/* ================= первый экран главной (координаты как в макете) ================= */
.dp-hh{position:relative;height:500px;overflow:hidden;background:var(--bg);margin:0}
.dp-hh>*{position:absolute;margin:0!important;max-width:none!important;z-index:2}
.dp-hh-sphere{z-index:0;left:calc(50% - var(--g)/2 + 252px);top:-58px;width:656px;height:656px;opacity:.4;filter:grayscale(1);animation:dp-spin 80s linear infinite;-webkit-mask-image:radial-gradient(circle closest-side,#000 94%,transparent 100%);mask-image:radial-gradient(circle closest-side,#000 94%,transparent 100%)}
@keyframes dp-spin{to{transform:rotate(360deg)}}
.dp-hh-plogo{z-index:1;left:calc(50% - var(--g)/2 + 490px);top:176px;width:180px;height:188px}
.dp-hh-plogo img{display:block;width:100%;height:100%}
.dp-hh .dp-brand{left:calc(50% - var(--g)/2 - 8px);top:174px;width:672px;font-size:110px;line-height:110px;letter-spacing:-3px;font-weight:500;text-transform:uppercase;color:#fff}
.dp-hh .dp-brand .dp-w{display:inline-block;white-space:nowrap}
.dp-hh .dp-brand .dp-l{display:inline-block;filter:blur(.15em);opacity:0;transition:filter .7s ease,opacity .7s ease}
.dp-hh .dp-brand.is-in .dp-l{filter:none;opacity:1}
.dp-hh .dp-brand.is-done .dp-l{transition:none;filter:none;opacity:1}
.dp-hh .dp-hero-sub{left:calc(50% - var(--g)/2 - 1px);top:413px;width:512px;font-size:25px;line-height:34px;letter-spacing:.5px;color:#fff}
.dp-hh .dp-hero-lead{left:calc(50% - var(--g)/2 + 871px);top:185px;width:322px;font-size:18px;line-height:26px;letter-spacing:.5px;color:var(--text)}
.dp-hh .dp-form{left:calc(50% - var(--g)/2 + 871px);top:262px;width:330px;max-width:none}
@media(prefers-reduced-motion:reduce){.dp-hh-sphere{animation:none}}
@media(max-width:1199px){
  .dp-hh-sphere{left:calc(50% - var(--g)/2 + 172px)}
  .dp-hh-plogo{left:calc(50% - var(--g)/2 + 410px)}
  .dp-hh .dp-hero-lead{left:calc(50% - var(--g)/2 + 710px);top:155px;width:244px}
  .dp-hh .dp-form{left:calc(50% - var(--g)/2 + 710px);top:256px;width:250px;gap:15px}
}
@media(max-width:959px){
  .dp-hh{height:560px}
  .dp-hh-sphere{left:calc(50% - var(--g)/2 + 164px);top:-64px}
  .dp-hh-plogo{left:calc(50% - var(--g)/2 + 402px);top:170px}
  .dp-hh .dp-brand{top:118px;width:578px;font-size:95px;line-height:95px}
  .dp-hh .dp-hero-sub{top:329px}
  .dp-hh .dp-hero-lead{left:calc(50% - var(--g)/2);top:392px;width:388px}
  .dp-hh .dp-form{left:calc(50% - var(--g)/2);top:467px;width:608px;display:grid;grid-template-columns:1fr 200px;gap:15px 10px}
  .dp-hh .dp-form>.dp-tel,.dp-hh .dp-form>input[type=tel]{grid-column:1;grid-row:1}
  .dp-hh .dp-form>.dp-btn{grid-column:2;grid-row:1}
  .dp-hh .dp-form>.dp-check,.dp-hh .dp-form>.dp-form-msg{grid-column:1/-1}
}
@media(max-width:639px){
  .dp-hh{height:650px}
  .dp-hh-sphere{left:calc(50% - var(--g)/2 + 45px);top:-140px}
  .dp-hh-plogo{left:calc(50% - var(--g)/2 + 283px);top:94px}
  .dp-hh .dp-brand{left:calc(50% - var(--g)/2 - 5px);top:121px;width:503px;font-size:87px;line-height:87px;letter-spacing:-2.5px}
  .dp-hh .dp-hero-sub{top:316px;width:472px;font-size:23px;line-height:31px}
  .dp-hh .dp-hero-lead{top:377px;width:291px;font-size:16px;line-height:23px}
  .dp-hh .dp-form{top:446px;width:480px;display:flex;gap:15px}
}
@media(max-width:479px){
  .dp-hh{height:610px}
  .dp-hh-sphere{left:calc(50% - var(--g)/2 - 15px);top:-102px;width:529px;height:529px}
  .dp-hh-plogo{left:calc(50% - var(--g)/2 + 177px);top:86px;width:145px;height:152px}
  .dp-hh .dp-brand{left:calc(50% - var(--g)/2 - 3px);width:325px;font-size:58px;line-height:58px;letter-spacing:-1.4px}
  .dp-hh .dp-hero-sub{top:253px;width:277px;font-size:20px;line-height:27px}
  .dp-hh .dp-hero-lead{top:336px}
  .dp-hh .dp-form{top:405px;width:320px}
}

/* ================= общая сетка секций и типографика как в макете ================= */
.dp-section{padding-left:0;padding-right:0}
.dp-section>*,.dp-footer>*,.dp-hero-landing>*{max-width:var(--g)!important;margin-left:auto!important;margin-right:auto!important}
.dp-tag{gap:10px;font-size:14px;line-height:21px;letter-spacing:.5px;margin:0 0 15px}
.dp-tag::before{width:5px;height:5px}
.dp-h2{font-size:35px;line-height:42px;font-weight:600;margin:0 0 .6em}
.dp-lead{font-size:18px;line-height:26px;letter-spacing:.5px}
@media(max-width:639px){.dp-h2{font-size:28px;line-height:34px}.dp-lead{font-size:16px;line-height:23px}}

/* ================= главная: блок «Услуги» ================= */
#uslugi{padding-top:56px}
#uslugi .dp-head{margin-bottom:42px;gap:0;justify-content:space-between;align-items:flex-start}
#uslugi .dp-head>.wp-block-column{flex:0 1 auto!important}
#uslugi .dp-head>.wp-block-column:first-child{max-width:600px}
#uslugi .dp-head>.wp-block-column:last-child{width:420px;max-width:100%}
#uslugi .dp-head .dp-h2{margin:0}
#uslugi .dp-head .dp-lead{margin:57px 0 0}
#uslugi .dp-grid{gap:15px}
.dp-service{position:relative;box-sizing:border-box;min-height:465px;padding:25px 30px 31px;border:1px solid var(--line);border-radius:20px}
.dp-service::before{content:"";position:absolute;top:-1px;right:-1px;width:71px;height:73px;background:url(assets/img/notch.svg) right top/71px 73px no-repeat;pointer-events:none}
.dp-service::after{content:"";position:absolute;top:-1px;right:-1px;box-sizing:border-box;width:45px;height:45px;border:1px solid #2e3035;border-radius:30px;background:url(assets/img/arrow.svg) center/12px 12px no-repeat;pointer-events:none}
.dp-service .dp-card-img{margin:0 0 19px -5px!important;width:280px;max-width:100%}
.dp-service .dp-card-img img{width:280px;height:192px;aspect-ratio:auto;object-fit:contain;object-position:left top;border-radius:0}
.dp-service .dp-card-title{font-size:20px;line-height:28px;margin:0 0 16px}
.dp-service .dp-card-text{font-size:14px;line-height:21px}
.dp-service .dp-card-btns{margin-top:auto;padding-top:20px;gap:5px}
.dp-service .dp-card-btns .wp-block-button__link{box-sizing:border-box;height:45px;padding:0 22px;display:flex;align-items:center;font-size:14px;font-weight:600}
@media(max-width:959px){
  #uslugi .dp-head{flex-direction:column}
  #uslugi .dp-head .dp-lead{margin-top:20px}
  #uslugi .dp-head>.wp-block-column:last-child{width:auto}
}
/* секции идут вплотную, как в макете */
.wp-block-post-content>*,.entry-content>*{margin-block-start:0!important}
.dp-nav .is-menu-open .wp-block-navigation__responsive-container-content{gap:0!important;padding-top:0!important}
.dp-nav .is-menu-open .wp-block-navigation__container{gap:15px!important}
.dp-nav .is-menu-open .dp-nav-cta .wp-block-navigation-item__content{font-weight:700!important}

/* ================= секции главной: размеры и позиции как в макете ================= */
.dp-section{padding-top:55px;padding-bottom:60px}
.dp-section .wp-block-group>*{margin-block-start:0}
.dp-tag{color:rgba(198,198,199,.45);margin:0 0 16px}
.dp-section>.dp-h2{margin-bottom:44px}
.dp-sphere img,.dp-sphere video{display:block;width:100%;height:100%;object-fit:cover}
.dp-sphere video{position:absolute;inset:0;opacity:0}
.dp-sphere.has-video video{opacity:1}
.dp-head{gap:0;justify-content:space-between;align-items:flex-start;margin-bottom:42px}
.dp-head>.wp-block-column{flex:0 1 auto!important}
.dp-head .dp-h2{margin:0}

/* --- услуги: кнопка «Все услуги» --- */
#uslugi{padding-bottom:19px}
#uslugi .dp-center{margin-top:85px}
#uslugi .dp-center .wp-block-button__link{box-sizing:border-box;width:170px;height:46px;padding:0;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}

/* --- преимущества --- */
#advantages{padding-bottom:67px}
.dp-adv-grid{gap:15px}
.dp-card.dp-adv{position:relative;box-sizing:border-box;height:300px;min-height:0;padding:30px;border-radius:20px;display:block}
.dp-adv .dp-icon{margin:0 0 33px}.dp-adv .dp-icon img{display:block;width:60px;height:60px}
.dp-adv .dp-card-title{font-size:20px;line-height:29px;letter-spacing:.5px;margin:0 0 15px}
.dp-adv .dp-card-text{font-size:14px;line-height:21px;letter-spacing:.5px}
.dp-stat .dp-bignum{font-size:75px;line-height:109px;font-weight:600;letter-spacing:.5px;color:#fff;margin:0 0 0 -3px!important}
.dp-stat-label{font-size:16px;line-height:24px;letter-spacing:.5px;color:var(--text);margin:-2px 0 0}
.dp-stat-clients .dp-clients{margin:3px 0 2px 3px}.dp-stat-clients .dp-clients img{display:block;width:246px;height:110px}
.dp-stat-team .dp-avatars{display:block;position:relative;height:105px;margin:0 0 4px}
.dp-stat-team .dp-ava{position:absolute;top:10px;margin:0!important}
.dp-stat-team .dp-ava img{display:block;width:85px;height:85px;border:0;border-radius:50%;object-fit:cover}
.dp-stat-team .dp-ava:nth-child(1){left:55px}
.dp-stat-team .dp-ava:nth-child(3){left:187px}
.dp-stat-team .dp-ava:nth-child(2){left:111px;top:0;z-index:1}
.dp-stat-team .dp-ava:nth-child(2) img{box-sizing:border-box;width:105px;height:105px;border:5px solid var(--card)}

/* --- результаты --- */
#results{padding-bottom:68px}
.dp-res-head{margin-bottom:54px}
.dp-res-head>.wp-block-column:last-child{width:419px;max-width:100%}
.dp-res-head .dp-lead{margin:84px 0 0;max-width:355px}
.dp-res-stage{position:relative;height:420px}
.dp-res-circle{position:absolute;top:0;z-index:1;box-sizing:border-box;width:420px;height:420px;border:1px solid var(--line);border-radius:50%;text-align:center}
.dp-res-circle:first-child{left:0}.dp-res-circle:last-child{right:0}
.dp-res-circle::after{content:"";position:absolute;inset:-1px;background:url(assets/img/res-arc.svg) center/100% 100% no-repeat;pointer-events:none;animation:dp-spin 40s linear infinite}
@keyframes dp-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.dp-res-circle::after{animation:none}}
.dp-res-stage .dp-res-num{display:flex;justify-content:center;align-items:flex-end;gap:10px;height:115px;margin:109px 0 0}
.dp-res-n{font-size:85px;line-height:115px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums}
.dp-res-pct{font-size:25px;line-height:34px;font-weight:600;color:var(--accent);margin-bottom:18px}
.dp-res-stage .dp-res-label{width:238px;margin:13px auto 0;font-size:16px;line-height:24px;letter-spacing:.5px;color:#fff}
.dp-res-stage .dp-res-sphere{position:absolute;left:290px;top:-101px;width:621px;height:621px;margin:0;opacity:.4;filter:grayscale(1);-webkit-mask-image:radial-gradient(circle closest-side,#000 94%,transparent 100%);mask-image:radial-gradient(circle closest-side,#000 94%,transparent 100%)}
.dp-res-stage .dp-res-plogo{position:absolute;left:510px;top:116px;width:180px;height:188px;margin:0}
.dp-res-plogo img{display:block;width:100%;height:100%}

/* --- акцентная форма-призыв --- */
.dp-cta-wrap{padding-top:60px;padding-bottom:60px}
.dp-cta{box-sizing:border-box;background:var(--accent);border:0;border-radius:20px;padding:27px 30px 19px 40px;color:#101217}
.dp-cta .dp-cta-cols{gap:40px;margin:0;flex-wrap:nowrap;align-items:stretch}
.dp-cta-cols>.wp-block-column:first-child{display:flex;flex-direction:column;min-height:289px}
.dp-cta .dp-cta-title{font-size:40px;line-height:48px;font-weight:700;letter-spacing:.5px;color:#101217;margin:0;max-width:503px}
.dp-cta .dp-cta-text{font-size:18px;line-height:27px;letter-spacing:.5px;color:#101217;margin:14px 0 0;max-width:433px}
.dp-cta .dp-cta-contacts{margin-top:auto;padding-bottom:21px;gap:10px;align-items:flex-start;margin-left:-1px}
.dp-cta .dp-cta-ic{margin:2px 0 0}.dp-cta-ic img{display:block;width:50px;height:50px}
.dp-cta .dp-cta-phone{margin:0 0 0 20px;font-size:25px;line-height:30px;font-weight:700;letter-spacing:.5px;color:#101217}
.dp-cta-phone a{color:#101217;text-decoration:none}
.dp-cta-hours{display:inline-flex;align-items:center;gap:5px;margin-top:4px;font-size:14px;line-height:21px;font-weight:400}
.dp-cta-hours::before{content:"";width:5px;height:5px;border-radius:50%;background:#101217}
.dp-form--light{max-width:none;gap:0;color:#101217}
.dp-form--light .dp-label{display:block;margin:0 0 5px;font-size:16px;line-height:22px;color:#000}
.dp-form--light input[type=text],.dp-form--light>input[type=tel],.dp-form--light .dp-tel{height:55px;margin-bottom:15px;background:transparent;border-color:#383a3f;color:#101217}
.dp-form--light .dp-tel input[type=tel]{height:53px;color:#101217}
.dp-form--light .dp-tel__code{color:#101217}
.dp-form--light .dp-tel__caret{border-top-color:#101217}
.dp-form--light input::placeholder{color:rgba(16,18,23,.5)}
.dp-form--light .dp-tel:focus-within,.dp-form--light input[type=text]:focus{border-color:#101217}
.dp-form--light .dp-check{margin-bottom:15px;font-size:14px;line-height:17px;color:#000}
.dp-form--light .dp-check input{border-color:#101217}
.dp-form--light .dp-check input:checked::after{border-color:#101217}
.dp-form--light .dp-check a{color:#000;border-bottom-color:#000}
.dp-form--light .dp-btn{background:#1a1c21;color:#fff;border-color:#1a1c21;border-radius:55px}
.dp-form--light .dp-btn:hover{background:#101217;color:var(--accent)}
.dp-form--light .dp-form-msg{margin-top:10px;color:#101217}

/* --- кейсы --- */
.dp-cases{padding-bottom:60px}
.dp-cases>.dp-h2{margin-bottom:46px}
.dp-case{box-sizing:border-box;display:grid;grid-template-columns:120px 1fr 500px 79px;height:365px;padding:34px 0 0;border-top:1px solid var(--line)}
.dp-case .dp-case-num{margin:3px 0 0;font-size:25px;line-height:36px;font-weight:600;letter-spacing:.5px;color:#fff}
.dp-case-body{display:flex;flex-direction:column;height:273px}
.dp-case .dp-case-title{margin:0;max-width:440px;font-size:25px;line-height:35px;font-weight:600;letter-spacing:.5px}
.dp-case .dp-case-text{margin:17px 0 0;max-width:370px;font-size:14px;line-height:21px;letter-spacing:.5px;color:var(--text)}
.dp-case-body .wp-block-buttons{margin-top:auto}
.dp-case-body .wp-block-button__link{box-sizing:border-box;width:165px;height:45px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:30px;font-size:14px;font-weight:600}
.dp-case .dp-case-img{margin:8px 0 0}
.dp-case-img img{display:block;width:500px;max-width:100%;height:265px;object-fit:cover;border-radius:15px}
.dp-case .dp-case-arrow{margin:7px 0 0;justify-self:end}
.dp-case-arrow a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border:1px solid #2e3035;border-radius:30px}
.dp-case-arrow img{width:12px;height:12px}
.dp-more-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dp-more-row .dp-more{margin:0}
.dp-more a{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;height:125px;padding:0 50px 0 37px;border:1px solid var(--line);border-radius:1000px;font-size:35px;line-height:51px;font-weight:500;letter-spacing:.5px;color:#fff;text-decoration:none}
.dp-more a::after{content:"";flex:none;width:60px;height:60px;background:url(assets/img/more-icon.svg) center/contain no-repeat}
.dp-more-row .dp-more-cta{margin:0}
.dp-more-cta img{display:block;width:100%;height:125px}

/* --- команда --- */
.dp-team{padding-bottom:39px}
.dp-team>.dp-h2{margin-bottom:38px}
.dp-team>.dp-h2{max-width:600px!important;margin-left:calc((100% - var(--g))/2)!important;margin-right:0!important}
.dp-team-grid{display:grid;grid-template-columns:repeat(4,288px);justify-content:space-between;align-items:start}
.dp-team-grid .dp-member{background:none;border:0;border-radius:0;padding:0;overflow:visible}
.dp-team-grid .dp-member:nth-child(even){margin-top:60px}
.dp-member .dp-photo{margin:0;background:none}
.dp-member .dp-photo img{display:block;width:288px;max-width:100%;height:300px;object-fit:cover;border-radius:20px}
.dp-member .dp-role{box-sizing:border-box;width:fit-content;height:25px;margin:29px 0 0;padding:0 14px;border:1px solid var(--line);border-radius:30px;background:var(--card);font-size:12px;line-height:23px;font-weight:600;letter-spacing:.5px;color:var(--accent)}
.dp-member .dp-member-name{margin:14px 0 0;font-size:20px;line-height:29px;font-weight:600;letter-spacing:.5px}
.dp-member .dp-member-text{margin:15px 0 0;font-size:14px;line-height:21px;letter-spacing:.5px;color:var(--text)}

/* --- отзывы --- */
.dp-reviews{padding-top:56px;padding-bottom:42px;overflow:hidden}
.dp-rev-head{display:flex;justify-content:space-between;align-items:flex-end}
.dp-rev-head .dp-h2{margin:0;line-height:46px}
.dp-rev-nav{display:flex;gap:5px;margin-bottom:9px}
.dp-rev-nav button{width:65px;height:45px;padding:0;border:1px solid #e7e7ef;border-radius:60px;background:transparent center/10px 10px no-repeat;cursor:pointer}
.dp-rev-prev{background-image:url(assets/img/arr-prev.svg)!important}
.dp-rev-next{background-image:url(assets/img/arr-next.svg)!important}
.dp-section>.dp-rev-track{box-sizing:border-box;display:flex;gap:15px;max-width:none!important;margin:41px 0 0!important;padding:0 calc((100% - var(--g))/2);scroll-padding-left:calc((100% - var(--g))/2);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.dp-rev-track::-webkit-scrollbar{display:none}
.dp-rev-track .dp-review{position:relative;box-sizing:border-box;flex:0 0 390px;display:flex;flex-direction:column;height:298px;padding:30px 30px 31px;border-radius:20px;scroll-snap-align:start}
.dp-review .dp-stars{margin:0 0 28px}.dp-review .dp-stars img{display:block;width:90px;height:14px}
.dp-review .dp-date{position:absolute;top:26px;right:30px;margin:0;font-size:14px;line-height:21px;letter-spacing:.5px;color:rgba(198,198,199,.4)}
.dp-review .dp-review-text{margin:0 0 0 -2px;font-size:14px;line-height:21px;letter-spacing:.5px;color:var(--text)}
.dp-review .dp-rev-person{margin-top:auto;gap:20px;align-items:center}
.dp-rev-person .dp-rev-ava{margin:0}.dp-rev-ava img{display:block;width:45px;height:45px}
.dp-rev-person .dp-review-who{margin:0;font-size:14px;line-height:21px;letter-spacing:.5px;color:var(--text)}
.dp-review-who strong{display:inline-block;margin-bottom:3px;font-size:16px;line-height:23px;font-weight:600;color:#fff}

/* --- подвал --- */
.dp-footer{background:var(--bg);padding:39px 0 0}
.dp-footer .wp-block-group>*{margin-block-start:0}
.dp-footer>.dp-foot-brand{position:relative;left:-6px;margin-top:0;margin-bottom:0;font-size:calc(var(--g)*.10834);line-height:1;font-weight:500;letter-spacing:-.023em;text-transform:uppercase;white-space:nowrap;color:#fff}
.dp-footer>.dp-foot-main{box-sizing:border-box;display:grid;grid-template-columns:419px 1fr;height:314px;margin-top:27px;border-top:1px solid var(--line)}
.dp-foot-left{position:relative;padding-top:39px}
.dp-foot-right{position:relative;padding:35px 0 0 40px;border-left:1px solid var(--line)}
.dp-foot-left .dp-foot-logo{margin:0}.dp-foot-logo img{display:block;width:45px;height:47px}
.dp-foot-cols{display:flex}
.dp-foot-left .dp-foot-cols{margin-top:27px}
.dp-foot-right .dp-foot-cols{margin-top:23px}
.dp-foot-cols .dp-foot-links{width:180px;margin:0;font-size:14px;line-height:33px;color:var(--text)}
.dp-foot-cols--wide .dp-foot-links{width:260px}
.dp-foot-cols--wide .dp-foot-links:last-child{width:auto}
.dp-foot-links a{color:var(--text);text-decoration:none}.dp-foot-links a:hover{color:#fff}
.dp-foot-contacts{display:flex;justify-content:space-between;align-items:flex-start}
.dp-foot-contacts .dp-foot-phone,.dp-foot-contacts .dp-foot-mail{margin:0;font-size:25px;line-height:30px;font-weight:500;letter-spacing:.5px}
.dp-foot-phone a,.dp-foot-mail a{color:#fff;text-decoration:none}
.dp-foot-hours{display:inline-flex;align-items:center;gap:5px;margin-top:4px;font-size:14px;line-height:21px;font-weight:400;color:#fff}
.dp-foot-hours::before{content:"";width:5px;height:5px;border-radius:50%;background:#fff}
.dp-foot-main .dp-foot-copy{position:absolute;left:0;top:266px;margin:0;font-size:14px;line-height:22px;color:rgba(198,198,199,.45);white-space:nowrap}
.dp-foot-right .dp-foot-copy{left:40px}
.dp-foot-copy a{margin-right:28px;color:inherit;text-decoration:none}.dp-foot-copy a:hover{color:#fff}

/* ================= адаптив секций ================= */
@media(max-width:1199px){
  .dp-adv-grid,#uslugi .dp-grid{grid-template-columns:repeat(2,1fr)!important}
  .dp-card.dp-adv{height:auto;min-height:300px}
  .dp-res-stage{height:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
  .dp-res-stage .dp-res-circle{position:relative;left:auto;right:auto}
  .dp-res-stage .dp-res-sphere,.dp-res-stage .dp-res-plogo{display:none}
  .dp-case{grid-template-columns:90px 1fr 380px 60px}
  .dp-case-img img{width:380px}
  .dp-team-grid{grid-template-columns:repeat(4,1fr);gap:15px}
  .dp-member .dp-photo img{width:100%;height:auto;aspect-ratio:288/300}
  .dp-cta .dp-cta-cols>.wp-block-column:last-child{flex-basis:420px!important}
  .dp-footer>.dp-foot-main{grid-template-columns:330px 1fr}
  .dp-foot-cols--wide .dp-foot-links{width:230px}
  .dp-foot-contacts .dp-foot-phone,.dp-foot-contacts .dp-foot-mail{font-size:20px}
}
@media(max-width:959px){
  .dp-head{flex-direction:column}
  .dp-head>.wp-block-column:last-child{width:auto}
  .dp-head .dp-lead,.dp-res-head .dp-lead{margin-top:20px;max-width:none}
  .dp-cta{padding:27px 30px 30px}
  .dp-cta .dp-cta-cols{flex-direction:column;gap:30px}
  .dp-cta-cols>.wp-block-column:first-child{min-height:0}
  .dp-cta .dp-cta-contacts{margin-top:30px;padding-bottom:0}
  .dp-cta .dp-cta-cols>.wp-block-column:last-child{flex-basis:auto!important}
  .dp-case{grid-template-columns:70px 1fr 45px;height:auto;padding:34px 0 40px;row-gap:24px}
  .dp-case-body{height:auto;grid-column:2}
  .dp-case-body .wp-block-buttons{margin-top:24px}
  .dp-case .dp-case-img{grid-column:1/-1;grid-row:2;margin:0}
  .dp-case-img img{width:100%;height:auto;aspect-ratio:500/265}
  .dp-case .dp-case-arrow{grid-column:3;grid-row:1}
  .dp-more-row{grid-template-columns:1fr}
  .dp-team-grid{grid-template-columns:repeat(2,1fr);row-gap:40px}
  .dp-team-grid .dp-member:nth-child(even){margin-top:0}
  .dp-footer>.dp-foot-main{display:block;height:auto;padding-bottom:30px}
  .dp-foot-right{border-left:0;border-top:1px solid var(--line);margin-top:30px;padding:30px 0 0}
  .dp-foot-contacts{flex-direction:column;gap:14px}
  .dp-foot-main .dp-foot-copy{position:static;margin-top:24px;white-space:normal}
  .dp-foot-copy a{display:inline-block}
}
@media(max-width:639px){
  .dp-adv-grid,#uslugi .dp-grid{grid-template-columns:1fr!important}
  .dp-cta .dp-cta-title{font-size:30px;line-height:36px}
  .dp-cta .dp-cta-contacts{flex-wrap:wrap}
  .dp-cta .dp-cta-phone{font-size:22px}
  .dp-more a{height:90px;font-size:24px;padding:0 30px}
  .dp-more a::after{width:44px;height:44px}
  .dp-more-cta img{height:auto}
  .dp-rev-track .dp-review{flex-basis:min(390px,86%)}
  .dp-rev-track .dp-review{height:auto;min-height:298px}
  .dp-foot-cols--wide{flex-direction:column}
  .dp-foot-cols--wide .dp-foot-links{width:auto}
}
@media(max-width:479px){
  .dp-res-stage .dp-res-circle{width:320px;height:320px}
  .dp-res-stage .dp-res-num{margin-top:60px}
  .dp-res-stage .dp-res-label{width:220px}
  .dp-cta{padding:24px 20px}
  .dp-case{grid-template-columns:1fr 45px}
  .dp-case .dp-case-num{grid-column:1;grid-row:1}
  .dp-case-body{grid-column:1/-1;grid-row:2}
  .dp-case .dp-case-img{grid-row:3}
  .dp-case .dp-case-arrow{grid-column:2}
  .dp-team-grid{grid-template-columns:1fr}
  .dp-foot-cols .dp-foot-links{width:50%}
}

/* --- точная подгонка по замерам --- */
.dp-card.dp-adv{padding:29px}
.dp-stat-label{margin-top:-4px}
.dp-stat-clients .dp-clients{position:relative;left:3px}
.dp-cta .dp-cta-contacts{height:50px}
.dp-cta .dp-cta-ic{margin-top:0}
.dp-cta .dp-cta-phone{margin-top:-2px}
.dp-cta-hours,.dp-foot-hours{display:flex}
.dp-case{padding-top:33px}
.dp-section>.dp-more-row{margin-top:0}
.dp-more-row>*{height:125px;overflow:hidden}
.dp-team>.dp-h2{line-height:47px;margin-top:-1px}
.dp-rev-head .dp-rev-nav{margin-bottom:9px}
.dp-review .dp-review-text{position:relative;left:-3px}
.dp-rev-track .dp-review{padding-bottom:29px}
.dp-foot-left{padding-top:38px}
.dp-foot-left .dp-foot-cols{margin-top:21px}
.dp-foot-right .dp-foot-cols{margin-top:15px}
@media(max-width:639px){.dp-more-row>*{height:auto}}
#uslugi .dp-center{margin-top:38px}
.dp-stat-clients .dp-stat-label{margin-top:-6px}
.dp-cta .dp-cta-contacts{height:71px}
.dp-foot-right .dp-foot-cols{margin-top:22px}
.dp-adv-grid>.dp-adv:nth-child(1) .dp-card-text{max-width:311px}
.dp-adv-grid>.dp-adv:nth-child(2) .dp-card-text{max-width:295px}
.dp-adv-grid>.dp-adv:nth-child(5) .dp-card-text{max-width:290px}
.dp-adv-grid>.dp-adv:nth-child(6) .dp-card-text{max-width:285px}
.dp-stat-clients .dp-clients img{-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.2) 0,#000 38%,#000 62%,rgba(0,0,0,.2) 100%);mask-image:linear-gradient(90deg,rgba(0,0,0,.2) 0,#000 38%,#000 62%,rgba(0,0,0,.2) 100%)}
.dp-res-head .dp-h2{max-width:555px}
/* услуги: второй ряд выше, кнопка «Все услуги» */
#uslugi{padding-bottom:15px}
#uslugi .dp-head{margin-bottom:41px}
#uslugi .dp-grid>.dp-service:nth-child(n+4){min-height:515px;padding-bottom:29px}
#uslugi .dp-center{margin-top:35px}
#uslugi .dp-center .wp-block-button__link{width:167px;height:50px;font-size:15px;border-radius:30px}
.dp-service .dp-card-btns{gap:9px}
/* ширина текстов как в макете (переносы строк совпадают) */
.dp-rev-track .dp-review .dp-review-text{max-width:none}
.dp-rev-track .dp-review:nth-child(1) .dp-review-text{width:310px}
.dp-rev-track .dp-review:nth-child(2) .dp-review-text{width:351px}
.dp-rev-track .dp-review:nth-child(3) .dp-review-text{width:337px}
.dp-rev-track .dp-review:nth-child(4) .dp-review-text{width:317px}
.dp-rev-track .dp-review:nth-child(5) .dp-review-text{width:324px}
.dp-rev-track .dp-review:nth-child(6) .dp-review-text{width:322px}
.dp-team-grid .dp-member:nth-child(1) .dp-member-text{max-width:228px}
.dp-team-grid .dp-member:nth-child(2) .dp-member-text{max-width:275px}
.dp-team-grid .dp-member:nth-child(3) .dp-member-text{max-width:277px}
.dp-rev-prev{background-image:url(assets/img/arr-next.svg)!important;transform:scaleX(-1)}
@media(max-width:639px){.dp-rev-track .dp-review .dp-review-text{width:auto!important}}
@media(max-width:1199px){#uslugi .dp-grid>.dp-service:nth-child(n+4){min-height:465px}.dp-team-grid .dp-member .dp-member-text{max-width:none}}
.dp-rev-track .dp-review{width:390px;min-width:0;max-width:86vw}
/* --- мобильные правки секций --- */
.dp-header-wrap.is-fixed{left:0;right:0;width:auto}
@media(max-width:959px){
  .dp-cta .dp-cta-contacts{height:auto}
  .dp-rev-head{flex-wrap:wrap;gap:16px}
}
@media(max-width:639px){
  .dp-foot-cols.dp-foot-cols--wide .dp-foot-links{width:auto}
  .dp-footer>.dp-foot-brand{left:-2px}
}
@media(max-width:479px){
  .dp-cta .dp-cta-title{font-size:26px;line-height:32px}
  .dp-cta .dp-cta-text{font-size:16px;line-height:24px}
  .dp-cta .dp-cta-phone{margin-left:10px;font-size:20px}
  .dp-rev-head .dp-h2{font-size:26px;line-height:32px}
}

/* ================= мобильная версия 320 (сетка Tilda), подгонка по замерам оригинала ================= */
@media(max-width:479px){
  html,body{overflow-x:clip}
  .dp-section{padding-top:26px;padding-bottom:0}
  .dp-tag{margin:0 0 7px}
  .dp-h2{font-size:25px;line-height:30px;margin:0;letter-spacing:0}
  .dp-lead{font-size:16px;line-height:23px;letter-spacing:.5px}

  /* услуги */
  #uslugi{padding-bottom:15px}
  #uslugi .dp-head{margin-bottom:34px}
  #uslugi .dp-head .dp-h2{letter-spacing:-1px;max-width:340px}
  #uslugi .dp-head .dp-lead{margin-top:21px}
  #uslugi .dp-grid{grid-template-columns:minmax(0,1fr)!important;gap:15px}
  .dp-service,#uslugi .dp-grid>.dp-service:nth-child(n+4){min-height:0!important;padding:25px 30px 33px!important}
  .dp-service .dp-card-img{margin:0 0 19px!important;width:100%}
  .dp-service .dp-card-img img{width:100%;height:161px;object-position:center}
  .dp-service .dp-card-title{font-size:20px;line-height:29px;margin:0 0 15px;max-width:none}
  .dp-service .dp-card-text{max-width:none}
  #uslugi .dp-grid>.dp-service:nth-child(1) .dp-card-text{max-width:242px}
  #uslugi .dp-grid>.dp-service:nth-child(2) .dp-card-text{max-width:268px}
  #uslugi .dp-grid>.dp-service:nth-child(3) .dp-card-text{max-width:258px}
  #uslugi .dp-grid>.dp-service:nth-child(4) .dp-card-text{max-width:265px}
  #uslugi .dp-grid>.dp-service:nth-child(5) .dp-card-text{max-width:258px}
  #uslugi .dp-grid>.dp-service:nth-child(6) .dp-card-text{max-width:261px}
  .dp-service .dp-card-btns{flex-wrap:nowrap;gap:10px;margin:0 0 0 -10px;padding-top:25px}
  .dp-service .dp-card-btns .wp-block-button__link{padding:0 20px}
  .dp-service .dp-card-btns .wp-block-button:nth-child(2) .wp-block-button__link{width:105px;padding:0;justify-content:center}
  #uslugi .dp-center{margin-top:21px}
  #uslugi .dp-center .wp-block-button__link{width:139px;font-size:14px}

  /* преимущества */
  #advantages .dp-h2{max-width:250px}
  #advantages .dp-adv-grid{grid-template-columns:minmax(0,1fr)!important;gap:15px;margin-top:34px}
  .dp-card.dp-adv{height:auto;min-height:0;padding:30px 30px 29px;display:grid;grid-template-columns:60px 1fr;column-gap:25px;align-items:center}
  .dp-adv .dp-icon{margin:0;grid-column:1;grid-row:1}
  .dp-adv .dp-card-title{margin:0;font-size:18px;line-height:26px;grid-column:2;grid-row:1}
  .dp-adv .dp-card-text{grid-column:1/-1;grid-row:2;margin:25px 0 0;max-width:262px!important;align-self:start}
  .dp-adv-grid>.dp-adv:nth-child(1) .dp-card-title,.dp-adv-grid>.dp-adv:nth-child(2) .dp-card-title{max-width:135px}
  .dp-adv-grid>.dp-adv:nth-child(5) .dp-card-title{max-width:124px}
  .dp-adv-grid>.dp-adv:nth-child(6) .dp-card-title{max-width:144px}
  .dp-card.dp-stat{display:block;min-height:0}
  .dp-stat-clients{padding:16px 29px 27px!important}
  .dp-stat-clients .dp-clients{margin:0 0 -7px -2px}
  .dp-stat-clients .dp-clients img{width:231px;height:103px}
  .dp-stat-team{padding:26px 29px 25px!important}
  .dp-stat-team .dp-avatars{margin:0 0 -2px}
  .dp-stat .dp-bignum{margin-top:0!important}
  .dp-stat .dp-stat-label,.dp-stat-clients .dp-stat-label{margin-top:-2px}

  /* результаты */
  #results{padding-top:24px;padding-bottom:33px;overflow:hidden}
  #results .dp-res-head{margin-bottom:34px}
  #results .dp-h2{max-width:327px}
  #results .dp-lead{margin-top:21px;max-width:314px}
  .dp-res-stage{display:block;height:896px;position:relative}
  .dp-res-stage .dp-res-circle{position:absolute;width:319px;height:319px;top:0;left:0;right:auto}
  .dp-res-stage .dp-res-circle:last-child{top:577px}
  .dp-res-stage .dp-res-sphere{display:block;left:-62px;top:213px;width:472px;height:472px}
  .dp-res-stage .dp-res-plogo{display:block;left:107px;top:378px;width:137px;height:143px}
  .dp-res-stage .dp-res-num{margin-top:50px}
  .dp-res-stage .dp-res-circle:last-child .dp-res-num{margin-top:57px}
  .dp-res-stage .dp-res-label{width:194px;margin-top:5px;font-size:14px;line-height:21px}
  .dp-res-stage .dp-res-circle:last-child .dp-res-label{width:212px;margin-top:7px}

  /* формы-призывы */
  #contact,#questions{padding-top:30px;padding-bottom:20px}
  .dp-cta{padding:24px 30px 30px}
  .dp-cta .dp-cta-cols{display:flex;flex-direction:column;gap:0}
  .dp-cta-cols>.wp-block-column:first-child{display:contents}
  .dp-cta-cols>.wp-block-column:last-child{order:3;flex-basis:auto!important;margin-top:19px}
  .dp-cta .dp-cta-title{order:1;font-size:25px;line-height:30px;margin:0 0 8px;max-width:252px}
  .dp-cta .dp-cta-text{order:2;font-size:16px;line-height:24px;margin:0;max-width:255px}
  .dp-cta .dp-cta-contacts{order:4;margin:34px 0 0;height:auto;gap:10px;align-items:flex-start;flex-wrap:nowrap}
  .dp-cta .dp-cta-ic,.dp-cta .dp-cta-ic img{width:35px;height:35px}
  .dp-cta .dp-cta-phone{margin:-2px 0 0 14px;font-size:16px;line-height:19px}
  .dp-cta-hours{font-size:12px;line-height:18px;margin-top:3px}
  #questions .dp-cta .dp-cta-title{max-width:none}
  #questions .dp-cta .dp-cta-text{margin-top:10px;max-width:279px}
  #questions .dp-cta-cols>.wp-block-column:last-child{margin-top:30px}
  #questions .dp-cta{padding-bottom:40px}

  /* кейсы */
  #cases{padding-top:27px}
  #cases .dp-h2{max-width:288px}
  #cases .dp-cases-list{margin-top:35px}
  .dp-case{display:flex;flex-direction:column;position:relative;height:auto;padding:0 0 67px;row-gap:0}
  .dp-case-body{display:contents}
  .dp-case .dp-case-num{order:1;margin:37px 0 0;font-size:20px;line-height:29px;height:29px}
  .dp-case .dp-case-title{order:2;margin:21px 0 0;font-size:20px;line-height:28px;max-width:306px}
  .dp-case .dp-case-img{order:3;margin:24px 0 0}
  .dp-case-img img{width:320px;height:200px;aspect-ratio:auto;object-fit:cover}
  .dp-case .dp-case-text{order:4;margin:25px 0 0;max-width:285px;font-size:14px;line-height:21px}
  .dp-case .wp-block-buttons{order:5;margin:21px 0 0}
  .dp-case .dp-case-arrow{position:absolute;right:0;top:32px;margin:0;width:40px;height:40px}
  .dp-more-row{gap:15px;grid-template-columns:1fr}
  .dp-more a,.dp-more-row>*{height:68px!important}
  .dp-more a{font-size:20px;line-height:26px;padding:0 15px 0 21px}
  .dp-more a::after{width:35px;height:35px}
  .dp-more-cta img{height:68px;width:100%;object-fit:cover}

  /* команда */
  #team{padding-bottom:26px}
  #team .dp-h2{max-width:311px}
  .dp-team-grid{grid-template-columns:minmax(0,1fr);row-gap:35px;margin-top:34px}
  .dp-member .dp-photo{margin:0}
  .dp-member .dp-photo img{width:320px;height:260px;aspect-ratio:auto;object-fit:cover}
  .dp-member .dp-role{margin:30px 0 0}
  .dp-member .dp-member-name{margin:14px 0 0;font-size:18px;line-height:26px}
  .dp-member .dp-member-text{margin:15px 0 0;max-width:none!important}

  /* отзывы */
  #reviews{padding-bottom:0}
  .dp-rev-head{display:block}
  .dp-rev-head .dp-h2{max-width:208px;font-size:25px;line-height:30px}
  .dp-rev-head .dp-rev-nav{margin:24px 0 0;display:flex;gap:5px}
  .dp-rev-track{margin-top:21px;padding-bottom:40px;gap:15px}
  .dp-rev-track .dp-review{flex:0 0 320px;width:320px!important;max-width:none;height:320px;min-height:0;padding:30px 30px 33px;display:flex;flex-direction:column;position:relative}
  .dp-review .dp-review-text{position:static;left:auto;margin:21px 0 0;max-width:none;width:auto!important}
  .dp-rev-track .dp-rev-person{margin-top:auto}
  .dp-rev-person .dp-rev-ava,.dp-rev-person .dp-rev-ava img{width:45px;height:45px}

  /* подвал */
  .dp-footer{display:grid!important;grid-template-columns:145px 1fr;column-gap:0;padding-top:25px;padding-bottom:0}
  .dp-footer>.dp-foot-main,.dp-foot-left,.dp-foot-right{display:contents}
  .dp-footer>.dp-foot-brand{grid-column:1/-1;font-size:36px;line-height:36px;margin:0!important;max-width:322px!important;left:0}
  .dp-foot-logo{display:none}
  .dp-foot-contacts{grid-column:1/-1;grid-row:2;margin-top:50px;display:block}
  .dp-foot-contacts .dp-foot-phone{margin:0}
  .dp-foot-contacts .dp-foot-phone a,.dp-foot-contacts .dp-foot-mail a{font-size:20px;line-height:24px;font-weight:500}
  .dp-foot-hours{font-size:14px;line-height:21px;margin:5px 0 0 10px}
  .dp-foot-contacts .dp-foot-mail{margin:17px 0 0}
  .dp-foot-left .dp-foot-cols{grid-column:1;grid-row:3;margin-top:51px;display:block}
  .dp-foot-right .dp-foot-cols{grid-column:2;grid-row:3;margin-top:51px;display:block}
  .dp-foot-links{margin:0;font-size:13px;line-height:22px;width:auto!important}
  .dp-foot-links a{display:block;margin-bottom:8px}
  .dp-foot-left>.dp-foot-copy{grid-column:1;grid-row:4;position:static;margin:37px 0 0;font-size:12px;line-height:19px;max-width:132px;white-space:normal}
  .dp-foot-right>.dp-foot-copy{grid-column:2;grid-row:4;position:static;margin:37px 0 0;font-size:12px;line-height:19px;white-space:normal}
  .dp-foot-right>.dp-foot-copy a{display:block;margin:0}
}
@media(max-width:479px){
  #uslugi{padding-top:26px}
  .dp-service .dp-card-text,.dp-case-text,.dp-member-text,.dp-review-text,.dp-cta-text,.dp-res-label,.dp-stat-label{letter-spacing:.5px}
  #uslugi .dp-grid>.dp-service:nth-child(1) .dp-card-title{max-width:242px}
}
@media(max-width:479px){
  #uslugi .dp-grid>.dp-service:nth-child(1) .dp-card-img img{height:161px}
  #uslugi .dp-grid>.dp-service:nth-child(2) .dp-card-img img{height:157px}
  #uslugi .dp-grid>.dp-service:nth-child(3) .dp-card-img img{height:166px}
  #uslugi .dp-grid>.dp-service:nth-child(4) .dp-card-img img{height:157px}
  #uslugi .dp-grid>.dp-service:nth-child(5) .dp-card-img img{height:168px}
  #uslugi .dp-grid>.dp-service:nth-child(6) .dp-card-img img{height:167px}
  #uslugi .dp-grid>.dp-service:nth-child(2){padding-bottom:30px!important}
  #uslugi .dp-grid>.dp-service:nth-child(3){padding-bottom:31px!important}
  #uslugi .dp-grid>.dp-service:nth-child(5){padding-bottom:34px!important}
  #uslugi .dp-grid>.dp-service:nth-child(6){padding-bottom:31px!important}
}
/* ---- мобильная: вторая итерация по замерам ---- */
@media(max-width:479px){
  .dp-service{padding-left:29px!important;padding-right:29px!important}
  .dp-service .dp-card-btns{margin-left:-9px}
  /* преимущества */
  #advantages .dp-h2{margin:0!important}
  #advantages .dp-adv-grid{margin-top:34px!important}
  .dp-card.dp-adv{padding:29px 29px 28px}
  .dp-adv .dp-card-text{max-width:261px!important}
  .dp-adv-grid>.dp-adv:nth-child(1) .dp-card-title,.dp-adv-grid>.dp-adv:nth-child(2) .dp-card-title{line-height:29px}
  .dp-adv-grid>.dp-adv:nth-child(2){padding-bottom:30px}
  .dp-stat-clients{padding:15px 29px 24px!important}
  .dp-stat-team{padding:25px 29px 24px!important}
  /* результаты */
  #results .dp-h2{width:327px;max-width:327px!important}
  .dp-res-stage .dp-res-num{margin-top:49px}
  .dp-res-stage .dp-res-circle:last-child .dp-res-num{margin-top:56px}
  /* формы */
  .dp-cta-cols>.wp-block-column:last-child{width:260px;flex:none!important}
  .dp-cta .dp-cta-contacts{height:35px}
  #questions .dp-cta .dp-cta-title{margin-bottom:0}
  /* кейсы */
  #cases .dp-cases-list{margin-top:24px!important}
  .dp-case .dp-case-num{margin-top:36px}
  .dp-case .dp-case-text{margin-top:19px}
  .dp-case:nth-child(1) .dp-case-title{max-width:306px}.dp-case:nth-child(1) .dp-case-text{max-width:285px}
  .dp-case:nth-child(2) .dp-case-title{max-width:340px}.dp-case:nth-child(2) .dp-case-text{max-width:292px}
  .dp-case:nth-child(3) .dp-case-title{max-width:253px}.dp-case:nth-child(3) .dp-case-text{max-width:304px}
  .dp-case:nth-child(4) .dp-case-title{max-width:259px}.dp-case:nth-child(4) .dp-case-text{max-width:314px}
  /* команда */
  #team .dp-h2{width:311px;max-width:311px!important}
  .dp-team-grid{margin-top:32px!important}
  /* отзывы */
  #reviews{padding-bottom:40px}
  .dp-rev-track{margin-top:17px;padding-bottom:0}
  .dp-rev-head .dp-rev-nav{margin-top:25px}
  .dp-rev-track .dp-review{padding:29px 29px 32px}
  .dp-review .dp-review-text{margin-top:-1px}
  .dp-rev-person{gap:20px;align-items:flex-start}
  .dp-rev-person .dp-rev-ava{flex:none}
  .dp-rev-person .dp-rev-ava img{width:45px!important;height:45px!important;max-width:none}
  .dp-review-who{font-size:12px;line-height:18px;margin:0}
  .dp-review-who strong{display:block;font-size:16px;line-height:23px;margin-bottom:3px;color:#fff}
  /* подвал */
  .dp-footer{padding:25px 28px 33px!important}
  .dp-footer>.dp-foot-brand{margin-left:-2px!important}
  .dp-foot-contacts{margin-top:50px!important}
  .dp-foot-contacts .dp-foot-phone a,.dp-foot-contacts .dp-foot-mail a{display:block;line-height:24px}
  .dp-foot-contacts .dp-foot-phone br{display:none}
  .dp-foot-links br{display:none}
  .dp-foot-links a{padding:0!important;min-height:0!important;height:auto!important;line-height:22px}
  .dp-foot-left .dp-foot-cols,.dp-foot-right .dp-foot-cols{margin-top:30px!important}
  .dp-foot-left>.dp-foot-copy,.dp-foot-right>.dp-foot-copy{margin-top:15px!important}
  .dp-foot-right>.dp-foot-copy{max-width:125px}
}
/* ---- мобильная: третья итерация ---- */
@media(max-width:479px){
  .dp-section>.dp-h2{margin:0!important;line-height:30px!important}
  #uslugi .dp-grid>.dp-service:nth-child(1){padding-bottom:31px!important}
  #uslugi .dp-grid>.dp-service:nth-child(2){padding-bottom:28px!important}
  #uslugi .dp-grid>.dp-service:nth-child(3){padding-bottom:29px!important}
  #uslugi .dp-grid>.dp-service:nth-child(4){padding-bottom:31px!important}
  #uslugi .dp-grid>.dp-service:nth-child(5){padding-bottom:32px!important}
  #uslugi .dp-grid>.dp-service:nth-child(5) .dp-card-title{line-height:26px}
  #uslugi .dp-grid>.dp-service:nth-child(6){padding-bottom:29px!important}
  .dp-case:nth-child(2){padding-bottom:43px}.dp-case:nth-child(2) .wp-block-buttons{margin-top:25px}
  .dp-case:nth-child(3){padding-bottom:30px}.dp-case:nth-child(3) .dp-case-img{margin-top:24px}.dp-case:nth-child(3) .wp-block-buttons{margin-top:20px}
  .dp-case:nth-child(4){padding-bottom:35px}.dp-case:nth-child(4) .dp-case-img{margin-top:20px}.dp-case:nth-child(4) .wp-block-buttons{margin-top:30px}
}
@media(max-width:479px){
  .dp-adv .dp-card-text{margin-right:-2px;max-width:262px!important}
  #cases .dp-cases-list{margin-top:35px!important}
  .dp-case:nth-child(2) .dp-case-title{width:340px;max-width:340px}
  .dp-team-grid{margin-top:35px!important}
}
/* ---- мобильная: формы, отзывы, подвал ---- */
@media(max-width:479px){
  .dp-cta .dp-form .dp-label{display:block;height:24px;line-height:24px;margin:0}
  .dp-cta .dp-form>input,.dp-cta .dp-form .dp-tel{box-sizing:border-box;height:50px;margin:0 0 15px}
  .dp-cta .dp-form .dp-tel input{height:48px}
  .dp-cta .dp-form .dp-check{height:32px;margin:0 0 15px}
  .dp-cta .dp-form .dp-btn{height:50px}
  .dp-rev-head .dp-rev-prev,.dp-rev-head .dp-rev-next{width:60px;height:40px}
  .dp-review-who br{display:none}
  .dp-review .dp-review-text{margin-top:0}
  .dp-foot-cols--wide{display:flex!important;flex-direction:column}
  .dp-foot-cols--wide .dp-foot-links{display:contents}
  .dp-foot-cols--wide a{white-space:nowrap;width:auto}
  .dp-foot-cols--wide a[href*="nastroyka"]{white-space:normal;width:175px}
  .dp-foot-cols--wide a[href*="lidogeneratsiya"]{order:9}
  .dp-foot-cols--wide a[href*="razrabotka"]{order:4}
  .dp-foot-cols--wide a[href*="ckvoznaya"]{order:5}
  .dp-foot-cols--wide a[href*="nastroyka"]{order:6;margin-bottom:4px}
}
@media(max-width:479px){
  .dp-card.dp-adv .dp-card-text{width:262px;max-width:none!important;margin-right:0;justify-self:start}
}
@media(max-width:479px){
  .dp-adv-grid>.dp-adv:nth-child(2){margin-top:2px}
  .dp-adv-grid>.dp-adv:nth-child(4){margin-top:1px}
  .dp-stat-clients{padding-bottom:26px!important}
  #advantages{padding-bottom:34px!important}
  #cases{padding-bottom:34px!important}
  #questions{padding-bottom:15px!important}
  .dp-footer{padding-bottom:27px!important}
}

/* ---- анимации карточек услуг (как в оригинале) ---- */
.dp-service::after{transition:border-color .2s ease-in-out,transform .2s ease-in-out}
.dp-service .wp-block-button__link{transition:background-color .2s ease-in-out,color .2s ease-in-out,border-color .2s ease-in-out}
@media(hover:hover){
  .dp-service:hover::after{border-color:#ddff00;transform:rotate(45deg)}
  .dp-service .wp-block-button__link:hover{background:#1a1c21!important;border-color:#ddff00!important;color:#ddff00!important}
}

/* ---- слои иллюстраций карточек услуг ---- */
.dp-service{position:relative}
.dp-service .dp-art{height:192px;margin:0 0 19px;pointer-events:none}
.dp-art-box{position:absolute;top:0;left:50%;width:390px;height:260px;margin-left:-195px;z-index:0}
.dp-art-box img,.dp-art-box i{position:absolute;display:block;max-width:none}
.dp-art-box img{object-fit:contain}
.dp-bar,.dp-slide{width:66px;height:14px;border-radius:4px;background:#ddff00}
@keyframes dp-bar-1000{0%,38.5%{transform:scale(0)}50.0%,100%{transform:scale(1)}}
.dp-bar-1000{animation:dp-bar-1000 2600ms linear infinite}
@keyframes dp-bar-1500{0%,41.7%{transform:scale(0)}50.0%,100%{transform:scale(1)}}
.dp-bar-1500{animation:dp-bar-1500 3600ms linear infinite}
@keyframes dp-bar-2000{0%,43.5%{transform:scale(0)}50.0%,100%{transform:scale(1)}}
.dp-bar-2000{animation:dp-bar-2000 4600ms linear infinite}
@keyframes dp-bar-2500{0%,44.6%{transform:scale(0)}50.0%,100%{transform:scale(1)}}
.dp-bar-2500{animation:dp-bar-2500 5600ms linear infinite}
@keyframes dp-fl{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.dp-fl{animation:dp-fl 2s linear infinite}
@keyframes dp-wg{0%,100%{transform:rotate(0)}25%{transform:rotate(2deg)}75%{transform:rotate(-2deg)}}
.dp-wg{animation:dp-wg 3.2s linear infinite}
@keyframes dp-slide{0%,25.6%{transform:translateX(0)}33.3%,59%{transform:translateX(85px)}66.7%,100%{transform:translateX(168px)}}
.dp-slide{animation:dp-slide 3.9s linear infinite}
.dp-service .dp-card-title,.dp-service .dp-card-text,.dp-service .dp-card-btns{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){.dp-art-box *{animation:none!important}}
@media(max-width:479px){
  .dp-art-box{transform:scale(.836);transform-origin:50% 0;top:4px}
  #uslugi .dp-grid>.dp-service:nth-child(1) .dp-art{height:161px}
  #uslugi .dp-grid>.dp-service:nth-child(2) .dp-art{height:157px}
  #uslugi .dp-grid>.dp-service:nth-child(3) .dp-art{height:166px}
  #uslugi .dp-grid>.dp-service:nth-child(4) .dp-art{height:157px}
  #uslugi .dp-grid>.dp-service:nth-child(5) .dp-art{height:168px}
  #uslugi .dp-grid>.dp-service:nth-child(6) .dp-art{height:167px}
  .dp-service .dp-art{margin-bottom:19px}
}

/* печатающийся текст в строке поиска (карточка SEO), как в оригинале */
.dp-typing{position:absolute;width:176px;height:14px;font-size:9px;line-height:14px;color:#fff;white-space:nowrap;letter-spacing:0}
@keyframes dp-cur{from{opacity:1}to{opacity:0}}
.dp-cur{animation:dp-cur .7s infinite alternate}

/* аватары «15+»: кольца по бокам и разъезд при появлении в окне, как в оригинале */
.dp-av{position:relative}
.dp-av img,.dp-av i{position:absolute;display:block;border-radius:50%;box-sizing:border-box;object-fit:cover;transition:transform .3s linear}
.dp-av .dp-ring{top:10px;width:85px;height:85px;border:1px solid #fff;opacity:.2}
.dp-av .dp-ring-l{left:-1px}.dp-av .dp-ring-r{left:243px}
.dp-av .dp-ava-l{left:55px;top:10px;width:85px;height:85px}
.dp-av .dp-ava-r{left:187px;top:10px;width:85px;height:85px}
.dp-av .dp-ava-c{left:111px;top:0;width:105px;height:105px;border:5px solid var(--card);z-index:1}
.dp-av-pre .dp-ring-l{transform:translateX(120px)}
.dp-av-pre .dp-ring-r{transform:translateX(-120px)}
.dp-av-pre .dp-ava-l{transform:translateX(60px)}
.dp-av-pre .dp-ava-r{transform:translateX(-60px)}
@media(prefers-reduced-motion:reduce){.dp-av *{transition:none}}

/* ================= страница «Спасибо» (как в оригинале) ================= */
.dp-th{height:535px}
.dp-th .dp-hh-sphere{left:calc(50% - var(--g)/2 + 342px);top:-68px}
.dp-th .dp-hh-plogo{left:calc(50% - var(--g)/2 + 580px);top:166px}
.dp-th .dp-brand{left:calc(50% - var(--g)/2 - 8px);top:122px;width:672px;font-size:100px;line-height:100px}
.dp-th .dp-hero-sub{left:calc(50% - var(--g)/2 - 1px);top:346px;width:512px}
.dp-th .dp-th-btn{left:calc(50% - var(--g)/2);top:413px;display:block}
.dp-th .dp-th-btn .wp-block-button,.dp-th .dp-th-btn .wp-block-button__link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:165px;height:60px;padding:0;margin:0;font-size:16px;line-height:24.8px;font-weight:600;border-radius:60px}
@media(max-width:1199px){
  .dp-th{height:530px}
  .dp-th .dp-hh-sphere{left:calc(50% - var(--g)/2 + 332px);top:-68px}
  .dp-th .dp-hh-plogo{left:calc(50% - var(--g)/2 + 570px);top:166px}
  .dp-th .dp-brand{top:120px;width:672px;font-size:100px;line-height:100px}
  .dp-th .dp-hero-sub{top:342px;font-size:25px;line-height:34px;width:512px}
  .dp-th .dp-th-btn{top:409px}
}
@media(max-width:959px){
  .dp-th{height:490px}
  .dp-th .dp-hh-sphere{left:calc(50% - var(--g)/2 + 214px);top:-115px}
  .dp-th .dp-hh-plogo{left:calc(50% - var(--g)/2 + 452px);top:119px}
  .dp-th .dp-brand{left:calc(50% - var(--g)/2 - 1px);top:118px;width:578px;font-size:95px;line-height:95px}
  .dp-th .dp-hero-sub{top:329px}
  .dp-th .dp-th-btn{top:395px}
}
@media(max-width:639px){
  .dp-th{height:480px}
  .dp-th .dp-hh-sphere{left:calc(50% - var(--g)/2 + 45px);top:-110px}
  .dp-th .dp-hh-plogo{left:calc(50% - var(--g)/2 + 283px);top:124px}
  .dp-th .dp-brand{left:calc(50% - var(--g)/2 - 2px);top:121px;width:503px;font-size:87px;line-height:87px;letter-spacing:-2.5px}
  .dp-th .dp-hero-sub{left:calc(50% - var(--g)/2 - 1px);top:319px;width:462px;font-size:23px;line-height:31px}
  .dp-th .dp-th-btn{top:384px}
}
@media(max-width:479px){
  .dp-th{height:410px}
  .dp-th .dp-hh-sphere{left:calc(50% - var(--g)/2 - 15px);top:-102px;width:529px;height:529px}
  .dp-th .dp-hh-plogo{left:calc(50% - var(--g)/2 + 177px);top:86px;width:145px;height:152px}
  .dp-th .dp-brand{left:calc(50% - var(--g)/2);top:109px;width:325px;font-size:58px;line-height:58px;letter-spacing:-1.4px}
  .dp-th .dp-hero-sub{left:calc(50% - var(--g)/2 + 1px);top:241px;width:207px;font-size:20px;line-height:27px}
  .dp-th .dp-th-btn{top:319px}
  .dp-th .dp-th-btn .wp-block-button,.dp-th .dp-th-btn .wp-block-button__link{width:320px}
}
.dp-header-plain .dp-logo{position:relative;top:3px}
@media(max-width:959px){.dp-header-plain .dp-logo{top:-2px}}
@media(max-width:959px){.dp-header-plain .dp-logo{top:1px}}
@media(max-width:479px){#questions .dp-cta .dp-cta-title{width:278px;max-width:none}}

/* ================= /keysy: 1 в 1 с оригиналом (Tilda) ================= */
.dp-ks-hero{position:relative;height:350px;margin:0!important;background:var(--bg)}
.dp-ks-crumbs{position:absolute;left:calc(50% - var(--g)/2 - 1px);top:149px;margin:0;display:flex;align-items:center;font-size:12px;line-height:18px;letter-spacing:.5px;color:var(--text)}
.dp-ks-crumbs a{color:inherit;text-decoration:none}
.dp-ks-crumbs i{display:block;width:3px;height:3px;border-radius:50%;background:var(--text);margin:0 10px 0 9px}
.dp-ks-h1{position:absolute;left:calc(50% - var(--g)/2 - 2px);top:186px;margin:0;font-size:110px;line-height:110px;font-weight:500;letter-spacing:-3px;text-transform:uppercase;color:#fff;white-space:nowrap}
/* верхняя упрощённая шапка (после прокрутки её заменяет закреплённая) */
.dp-hs{position:absolute;top:0;left:0;right:0;height:77px;z-index:50}
.dp-hs-in{position:relative;width:var(--g);height:100%;margin:0 auto}
.dp-hs-logo{position:absolute;left:0;top:29px;display:block;line-height:0}
.dp-hs-logo img{display:block;width:170px;height:45px}
.dp-hs-nav{position:absolute;left:50%;top:27px;width:370px;height:50px;margin-left:-185px;box-sizing:border-box;background:var(--card);border-radius:60px}
.dp-hs-nav a{position:absolute;top:13px;font-size:14px;line-height:21.7px;color:var(--text);text-decoration:none;white-space:nowrap}
.dp-hs-nav a:hover{color:#fff}
.dp-hs-nav a:nth-child(1){left:38px}.dp-hs-nav a:nth-child(2){left:131px}.dp-hs-nav a:nth-child(3){left:216px}.dp-hs-nav a:nth-child(4){left:297px}
.dp-hs-btn{position:absolute;right:0;top:29px;box-sizing:border-box;width:165px;height:45px;display:flex;align-items:center;justify-content:center;border:1px solid #fff;border-radius:60px;color:#fff;font-size:14px;font-weight:600;line-height:1;text-decoration:none}
.dp-hs-btn:hover{background:#fff;color:var(--bg)}
@media(min-width:960px){.dp-hf:not(.is-fixed){display:none}}
@media(max-width:959px){.dp-hs{display:none}}

/* сетка карточек */
.dp-ks-list{margin:0!important;padding:0 0 45px}
.dp-ks-list+.dp-cta-wrap{margin-block-start:0!important}
.dp-ks-list .wp-block-query{margin:0}
.dp-ks-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;width:var(--g);max-width:none;margin:0 auto!important;padding:0!important;list-style:none}
.dp-ks-grid>li{display:flex;margin:0!important}
.dp-ks-card{box-sizing:border-box;flex:1;min-width:0;display:grid;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:9px 9px 32px;margin:0!important}
.dp-ks-card>*{margin:0!important;min-width:0}
.dp-ks-img{position:relative;overflow:hidden;border-radius:15px}
.dp-ks-img a{display:block;height:100%}
.dp-ks-img img{position:absolute;display:block;max-width:none!important;width:var(--w,100%)!important;height:auto!important;left:var(--x,0%);top:var(--y,0%);transform:translate(calc(var(--x,0%) * -1),calc(var(--y,0%) * -1));border-radius:0!important}
.dp-ks-grid>li:nth-child(7n+1) .dp-ks-img img,.dp-ks-grid>li:nth-child(7n+3) .dp-ks-img img,.dp-ks-grid>li:nth-child(7n+5) .dp-ks-img img{width:100%!important;height:100%!important;left:0;top:0;transform:none;object-fit:cover}
.dp-ks-grid>li:nth-child(7n+2) .dp-ks-img{--w:445.856%;--x:46.125%;--y:0%}
.dp-ks-grid>li:nth-child(7n+4) .dp-ks-img{--w:102.295%;--x:0%;--y:100%}
.dp-ks-title{font-size:25px;line-height:33px;font-weight:600;color:var(--white)}
.dp-ks-title a{color:inherit;text-decoration:none}
.dp-ks-text{font-size:14px;line-height:21px;color:var(--text)}
.dp-ks-text,.dp-ks-text p{margin-bottom:0!important}.dp-ks-text p{margin-top:0!important}
.dp-ks-btn{box-sizing:border-box;display:flex!important;width:auto!important;justify-self:stretch;align-items:center;justify-content:center;height:45px;border-radius:60px;background:var(--accent);color:var(--bg)!important;font-size:14px;font-weight:600;line-height:21.7px;text-decoration:none;padding:0!important}
.dp-ks-btn:hover{opacity:.88}
/* малые карточки (1-2, 5-6): картинка слева */
.dp-ks-grid>li:nth-child(4n+1) .dp-ks-card,.dp-ks-grid>li:nth-child(4n+2) .dp-ks-card{height:300px;padding-bottom:34px;grid-template-columns:200px 1fr;grid-template-rows:auto 1fr 65px;column-gap:29px}
.dp-ks-grid>li:nth-child(4n+1) .dp-ks-img,.dp-ks-grid>li:nth-child(4n+2) .dp-ks-img{grid-column:1;grid-row:1/3;height:190px}
.dp-ks-grid>li:nth-child(4n+1) .dp-ks-title,.dp-ks-grid>li:nth-child(4n+2) .dp-ks-title{grid-column:2;grid-row:1}
.dp-ks-grid>li:nth-child(4n+1) .dp-ks-text,.dp-ks-grid>li:nth-child(4n+2) .dp-ks-text{grid-column:2;grid-row:2;max-width:311px;margin:15px 0 0 1px!important}
.dp-ks-grid>li:nth-child(5) .dp-ks-text,.dp-ks-grid>li:nth-child(6) .dp-ks-text{margin-top:10px!important}
.dp-ks-grid>li:nth-child(4n+1) .dp-ks-btn,.dp-ks-grid>li:nth-child(4n+2) .dp-ks-btn{grid-column:1/-1;grid-row:3;align-self:end}
.dp-ks-grid>li:nth-child(4n+2) .dp-ks-btn{position:relative;top:2px}
/* большие карточки (3-4, 7-8): картинка сверху */
.dp-ks-grid>li:nth-child(4n+3) .dp-ks-card,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-card{height:550px;grid-template-rows:280px auto 1fr 45px}
.dp-ks-grid>li:nth-child(4n+3) .dp-ks-img,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-img{height:280px}
.dp-ks-grid>li:nth-child(4n+3) .dp-ks-title,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-title{margin:25px 0 0 20px!important}
.dp-ks-grid>li:nth-child(4n+3) .dp-ks-text,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-text{margin:15px 0 0 21px!important}
.dp-ks-grid>li:nth-child(4n+3) .dp-ks-text{max-width:488px}.dp-ks-grid>li:nth-child(4n+4) .dp-ks-text{max-width:533px}
.dp-ks-grid>li:nth-child(4n+3) .dp-ks-btn,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-btn{margin:0 21px!important}

/* 960-1199: все карточки крупные, две колонки */
@media(max-width:1199px){
  .dp-ks-h1{left:calc(50% - var(--g)/2 - 6px)}
  .dp-ks-grid>li .dp-ks-card{height:570px!important;padding:9px 9px 29px!important;grid-template-columns:none!important;grid-template-rows:280px auto 1fr 45px!important;column-gap:0!important}
  .dp-ks-grid>li .dp-ks-img{grid-column:auto!important;grid-row:auto!important;height:280px!important}
  .dp-ks-grid>li .dp-ks-title{grid-column:auto!important;grid-row:auto!important;margin:25px 0 0 20px!important}
  .dp-ks-grid>li .dp-ks-text{grid-column:auto!important;grid-row:auto!important;margin:17px 0 0 21px!important;max-width:375px!important}
  .dp-ks-grid>li:nth-child(6) .dp-ks-text{margin-top:20px!important}
  .dp-ks-grid>li .dp-ks-btn{grid-column:auto!important;grid-row:auto!important;align-self:auto!important;top:0!important;margin:0 20px 0 21px!important}
  .dp-ks-grid>li:nth-child(7n+4) .dp-ks-img{--w:121.149%;--x:0%;--y:0%}
}
/* 640-959: одна колонка, картинка слева */
@media(max-width:959px){
  .dp-ks-hero{height:290px}
  .dp-ks-crumbs{top:131px}
  .dp-ks-h1{top:172px;font-size:90px;line-height:90px}
  .dp-ks-grid{grid-template-columns:1fr}
  .dp-ks-grid>li .dp-ks-card{height:auto!important;min-height:0;padding:9px 18px 29px 9px!important;grid-template-columns:200px 1fr!important;grid-template-rows:auto auto auto 1fr!important;column-gap:30px!important;align-content:start}
  .dp-ks-grid>li .dp-ks-img{grid-column:1!important;grid-row:1/5!important;height:170px!important;align-self:start}
  .dp-ks-grid>li:nth-child(4n+3) .dp-ks-card,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-card{min-height:280px!important}
  .dp-ks-grid>li:nth-child(4n+3) .dp-ks-img,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-img{height:260px!important}
  .dp-ks-grid>li .dp-ks-title{grid-column:2!important;grid-row:1!important;margin:0!important}
  .dp-ks-grid>li .dp-ks-text{grid-column:2!important;grid-row:2!important;margin:10px 0 0!important;max-width:none!important}
  .dp-ks-grid>li .dp-ks-btn{grid-column:2!important;grid-row:3!important;margin:20px 0 0!important}
  .dp-ks-grid>li:nth-child(4n+3) .dp-ks-title,.dp-ks-grid>li:nth-child(4n+4) .dp-ks-title{margin-top:13px!important}
  .dp-ks-grid>li:nth-child(7n+4) .dp-ks-img{--w:254.225%}
}
/* до 480: колонка, картинка сверху */
@media(max-width:479px){
  .dp-ks-hero{height:240px}
  .dp-ks-crumbs{top:111px}
  .dp-ks-h1{top:145px;font-size:60px;line-height:60px;left:calc(50% - var(--g)/2 - 4px)}
  .dp-ks-grid{gap:10px}
  .dp-ks-list{padding-bottom:45px}
  .dp-ks-grid>li .dp-ks-card{padding:9px 9px 19px!important;grid-template-columns:none!important;grid-template-rows:auto!important;min-height:0!important}
  .dp-ks-grid>li .dp-ks-img{grid-column:auto!important;grid-row:auto!important;height:200px!important}
  .dp-ks-grid>li .dp-ks-title{grid-column:auto!important;grid-row:auto!important;margin:25px 0 0!important;font-size:18px;line-height:23px}
  .dp-ks-grid>li:nth-child(even) .dp-ks-title{font-size:20px;line-height:26px}
  .dp-ks-grid>li .dp-ks-text{grid-column:auto!important;grid-row:auto!important;margin:15px 0 0!important}
  .dp-ks-grid>li .dp-ks-btn{grid-column:auto!important;grid-row:auto!important;margin:20px 0 0!important}
  .dp-ks-grid>li:nth-child(7n+2) .dp-ks-img{--w:318.957%;--x:40.336%;--y:40.134%}
  .dp-ks-grid>li:nth-child(7n+4) .dp-ks-img{--w:150.846%;--x:0%;--y:100%}
  .dp-ks-grid>li:nth-child(7n+7) .dp-ks-img{--w:120.284%;--x:0%;--y:100%}
}
