/*
Theme Name: Leadmarketing
Description: Вёрстка страниц digital-агентства LEADMARKETING.
Text Domain: leadmarketing
*/
@font-face{font-family:Manrope;src:url(assets/manrope-cyrillic.woff2) format("woff2");font-weight:400 800;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url(assets/manrope-latin.woff2) format("woff2");font-weight:400 800;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--paper:#f0eef4;--white:#fdfcfe;--ink:#191626;--muted:#554f60;--violet:#6957c9;--deep:#1b153b;--rule:#dcd7e6;--r:22px;--wide:1460px;--pad:clamp(20px,4.8vw,90px)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:500 16px/1.6 Manrope,Arial,sans-serif}
p,ul,ol,h1,h2,h3,h4,figure{margin:0}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;object-fit:cover}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #aa94ff;outline-offset:5px}
[hidden]{display:none!important}
::selection{background:#d8cdfd;color:#241a4a}
.wrap{width:min(100% - 2*var(--pad),var(--wide));margin-inline:auto}
.band{padding-block:clamp(64px,8.2vw,142px)}
.band-small{padding-block:clamp(42px,5.2vw,88px)}
h1,h2,h3,h4{font-weight:650;line-height:1.09;letter-spacing:-.055em}
h1{font-size:clamp(49px,7.1vw,130px)}
h2{font-size:clamp(38px,5.1vw,91px)}
h3{font-size:clamp(24px,2.65vw,44px)}
h4{font-size:23px}
h1,h2,h3,p{overflow-wrap:break-word}
p+p{margin-top:1em}
.prose a,.inline-link{text-decoration:underline;text-underline-offset:.22em;text-decoration-color:#a28fdf}
.prose a:hover,.inline-link:hover{color:var(--violet)}
.skip{position:fixed;top:10px;left:10px;z-index:9;transform:translateY(-150%);background:var(--white);padding:12px 18px}
.skip:focus{transform:translateY(0)}
.site-header{position:relative;z-index:4}
.header-row{min-height:89px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:11px;font-size:19px;font-weight:800;letter-spacing:-.07em;line-height:1;white-space:nowrap}
.brand-mark{display:grid;place-items:center;background:var(--violet);color:white;border-radius:10px;width:39px;height:39px;flex:none}
.brand-mark svg{width:25px;height:25px}
.site-nav{display:flex;align-items:center;gap:clamp(14px,2.3vw,40px);font-weight:700;font-size:14px}
.site-nav a{padding-block:9px}
.site-nav a[aria-current],.site-nav a:hover{color:var(--violet)}
.menu-toggle{display:none}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:50px;padding:12px 22px;border:1px solid transparent;border-radius:10px;background:var(--violet);color:white;font-size:15px;font-weight:750;text-align:center;transition:background .18s,color .18s,border-color .18s}
.button:hover{background:#5643b7}
.button-light{background:white;color:#211934}
.button-light:hover{background:#e0d7fa}
.button-outline{background:transparent;border-color:currentColor;color:inherit}
.button-outline:hover{background:var(--deep);border-color:var(--deep);color:white}
.dark .button-outline:hover,.hero .button-outline:hover{background:white;border-color:white;color:var(--deep)}
.button-small{min-height:42px;padding:8px 14px;font-size:14px}
.text-link{display:inline-flex;align-items:center;gap:9px;color:var(--ink);font-size:15px;font-weight:800;text-decoration:underline;text-underline-offset:.24em;text-decoration-color:#a69acb}
.text-link:hover{color:var(--violet)}
.hero{isolation:isolate;position:relative;margin-inline:clamp(8px,1.5vw,28px);min-height:clamp(590px,77vh,880px);display:flex;flex-direction:column;justify-content:flex-end;color:#fff;background:var(--deep);border-radius:28px;overflow:hidden}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-position:62% 52%}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(24,17,49,.96) 0%,rgba(28,20,55,.74) 43%,rgba(30,19,59,.12) 100%),linear-gradient(0deg,rgba(23,16,45,.83),transparent 35%)}
.hero-content{margin-top:auto;padding-block:clamp(56px,8vw,126px) clamp(48px,5.6vw,91px)}
.hero .tag{margin-bottom:24px}
.hero h1{max-width:12ch}
.hero-lead{max-width:540px;margin:23px 0 30px;color:#f0eaf8;font-size:clamp(17px,1.45vw,23px)}
.hero-links{display:flex;flex-wrap:wrap;gap:12px}
.hero-foot{padding-block:19px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #ffffff4a;color:#e6def2;font-size:13px;letter-spacing:.01em}
.hero-foot ul,.tag-list,.footer-social{list-style:none;padding:0;display:flex;gap:10px;flex-wrap:wrap}
.hero-foot ul{gap:clamp(16px,2.4vw,40px)}
.hero-foot a:hover{text-decoration:underline;text-underline-offset:4px}
.hero-foot span{white-space:nowrap}
.tag{display:inline-flex;align-items:center;gap:9px;padding:5px 11px;border:1px solid #cfc6e3;border-radius:8px;font-size:14px;font-weight:750;line-height:1.45;width:max-content;max-width:100%}
.tag::before{content:"";width:6px;height:6px;border-radius:2px;background:#8e79d4;flex:none}
.dark .tag,.hero .tag{border-color:#9990c676;color:#fff}
.dark .tag::before,.hero .tag::before{background:#aa96f3}
.section-head{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,3fr);gap:clamp(16px,4vw,64px);align-items:start;margin-bottom:clamp(32px,5.5vw,88px)}
.section-head>div:first-child{padding-top:clamp(0px,2.6vw,44px)}
.section-head h2{max-width:15ch}
.section-head p{font-size:clamp(17px,1.45vw,21px);max-width:65ch;margin-top:22px;color:var(--muted)}
.dark .section-head p{color:#dfd8ee}
.section-head.row-end{grid-template-columns:minmax(130px,1fr) minmax(0,2.2fr) minmax(150px,1fr)}
.section-head.row-end>p{align-self:end;margin:0;font-size:16px}
.on-white{background:var(--white)}
.dark{background:radial-gradient(ellipse at 54% -24%,#515673 0%,#2e244f 44%,#1b1539 83%);color:white;border-radius:27px;margin-inline:clamp(8px,1.5vw,28px)}
.grid{display:grid;gap:clamp(14px,1.7vw,28px)}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{min-width:0;background:var(--white);border-radius:var(--r);padding:clamp(22px,2.6vw,42px)}
.on-white .card{background:var(--paper)}
.card-icon{width:60px;height:60px;color:var(--violet);margin-bottom:28px}
.card-icon svg{display:block;width:100%;height:100%}
.service-tile{display:flex;flex-direction:column;min-height:clamp(315px,29vw,460px)}
.service-tile .card-icon{margin-bottom:auto}
.service-tile h3{margin-top:clamp(30px,5vw,82px)}
.service-tile p,.card-copy{color:var(--muted);margin-top:12px}
.service-tile .text-link{align-self:flex-start;margin-top:20px}
.photo-tile{position:relative;isolation:isolate;overflow:hidden;background:#6551c5;color:white;display:flex;flex-direction:column;justify-content:flex-start}
.photo-tile img{position:absolute;width:100%;height:100%;inset:0;z-index:-2;object-position:51% 78%}
.photo-tile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#25174dc9,transparent 60%,#25174d7e)}
.photo-tile h3{margin:12px 0 14px;font-size:clamp(24px,2.5vw,40px)}
.photo-tile .button{align-self:flex-start;margin-top:auto}
.partner-note{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,3fr);align-items:start;gap:clamp(16px,4vw,65px);margin-top:clamp(22px,3vw,49px);padding:clamp(22px,3.4vw,56px);border-radius:var(--r);background:#e5def4}
.partner-note p{max-width:72ch;font-size:clamp(16px,1.45vw,21px)}
.media-accordion{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.17fr);gap:clamp(22px,5vw,82px);align-items:start}
.media-accordion figure{position:relative}
.media-accordion img{border-radius:var(--r);width:100%;aspect-ratio:1.13;object-position:center}
.media-accordion figcaption{margin-top:12px;font-size:14px;color:#ded6ea}
.accordions{border-top:1px solid currentColor}
.accordions details{border-bottom:1px solid var(--rule)}
.dark .accordions details{border-color:#ffffff3a}
.accordions summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(16px,2.3vw,37px) 0;cursor:pointer;list-style:none;font-size:clamp(21px,2.75vw,44px);letter-spacing:-.045em;line-height:1.16;font-weight:650}
.accordions summary::-webkit-details-marker{display:none}
.accordions summary::after{content:"+";font-size:.9em;font-weight:400;min-width:1.1em;text-align:center}
.accordions details[open] summary::after{content:"×"}
.accordion-body{padding:0 30px 26px 0}
.accordion-body p{max-width:59ch;margin-bottom:18px}
.tag-list li{border:1px solid #b8aecb;border-radius:7px;padding:4px 10px;font-size:13px}
.accordion-body a{display:inline-block;margin-top:20px}
.dark .text-link{color:white}
.mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(200px,auto));gap:clamp(14px,1.7vw,28px)}
.mosaic img{width:100%;height:100%;object-fit:cover;border-radius:var(--r)}
.mosaic .tall{grid-column:3;grid-row:1/3}
.metric{display:flex;min-height:clamp(260px,28vw,430px);flex-direction:column;justify-content:space-between;gap:30px}
.metric.minor{min-height:0}
.metric strong{display:block;font-size:clamp(45px,6.3vw,112px);letter-spacing:-.08em;line-height:1;font-weight:650;margin-bottom:12px}
.metric p{max-width:29ch;color:var(--muted)}
.metric .metric-label{color:var(--ink);font-size:15px;font-weight:800}
.metric-label::before{display:inline-block;content:"";width:.54em;height:.54em;border-radius:2px;background:#826bd7;margin-right:9px}
.wash{background:radial-gradient(ellipse at 30% 0%,#e3d8f5 0%,transparent 45%),radial-gradient(ellipse at 78% 6%,#e8efd8 0%,transparent 43%),#fcfbfd}
.project-card{display:block;position:relative;border-radius:var(--r);overflow:hidden;background:var(--project,#263947);color:white;transition:transform .2s}
.project-card:hover{transform:translateY(-4px)}
.project-card figure{aspect-ratio:1.6;position:relative;overflow:hidden;border-radius:0 0 var(--r) var(--r)}
.project-card img{width:100%;height:100%;transition:transform .25s}
.project-card figure::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#17112b5e)}
.project-card:hover img{transform:scale(1.045)}
.project-card figcaption{position:absolute;z-index:1;bottom:16px;left:17px;background:#211936b8;border-radius:8px;padding:4px 9px;font-size:13px;font-weight:750}
.project-info{padding:clamp(18px,2vw,34px)}
.project-info h3{font-size:clamp(22px,2.15vw,36px)}
.project-info p{color:#f0eaf9;font-size:14px;margin-top:7px}
.end-link{display:flex;justify-content:flex-end;margin-top:clamp(20px,3vw,42px)}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,5vw,86px);align-items:center}
.split img{width:100%;aspect-ratio:1.2;border-radius:var(--r)}
.split h2{font-size:clamp(35px,4.35vw,72px);margin-top:18px}
.split p{color:var(--muted);margin-block:18px}
.split p:last-child{margin-bottom:0}
.steps{counter-reset:step}
.step{min-height:244px;display:flex;flex-direction:column}
.step::before{counter-increment:step;content:counter(step,decimal-leading-zero);display:block;margin-bottom:35px;color:var(--violet);font-weight:800;font-size:17px;letter-spacing:.02em}
.step h3{margin-top:auto}
.step p{margin-top:12px;color:var(--muted)}
.signal{background:#e5ddf5;border-radius:var(--r);padding:clamp(22px,5vw,82px)}
.signal .section-head{margin-bottom:32px}
.signal .grid{border-top:1px solid #c1b2df;padding-top:29px}
.signal h3{font-size:clamp(22px,2vw,32px)}
.signal p{color:var(--muted);margin-top:9px}
.small-card h3{margin-bottom:12px;font-size:clamp(23px,2.2vw,36px)}
.small-card p{color:var(--muted)}
.list-card{display:flex;flex-direction:column}
.list-card .text-link{align-self:flex-start;margin-top:20px}
.article-card{background:var(--white);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.article-card img{width:100%;aspect-ratio:1.9}
.article-card .entry-summary{padding:clamp(20px,2.3vw,36px);display:flex;flex-direction:column;align-items:flex-start;flex:1}
.article-card h3{margin:15px 0 10px;font-size:clamp(23px,2.3vw,36px)}
.article-card h3 a:hover{color:var(--violet)}
.article-card p{color:var(--muted);margin-bottom:20px}
.article-card .text-link{margin-top:auto}
.entry-type{font-size:13px;font-weight:800;color:#604bb5}
.entry-type:hover{text-decoration:underline}
.cta-box{padding:clamp(29px,6vw,106px);border-radius:var(--r);background:var(--violet);color:white;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:28px;align-items:end;background-image:radial-gradient(ellipse at 95% 18%,#8d79e8,transparent 63%)}
.cta-box h2{max-width:13ch}
.cta-box p{margin:0 0 20px;color:#fbf7ff;max-width:33ch}
.cta-box a:not(.button){color:white;text-decoration-color:#e2d7fc}
.site-footer{background:#201934;color:#faf7fc;padding:clamp(42px,6.4vw,100px) 0 26px}
.footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.25fr;gap:25px}
.footer-grid p{max-width:27ch;color:#ded5ed;margin-top:14px}
.footer-head{font-size:18px;font-weight:800;margin-bottom:12px}
.footer-list{display:grid;gap:9px;list-style:none;padding:0;color:#ede6f6;font-size:14px}
.footer-list a:hover,.site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.footer-social{margin-top:16px;color:#d5c9e9;font-size:13px}
.footer-social span{border:1px solid #827392;padding:3px 7px;border-radius:6px}
.footer-bottom{margin-top:clamp(34px,5.5vw,80px);padding-top:19px;border-top:1px solid #514663;font-size:14px;color:#ede6f6}
.cookie-banner{position:fixed;z-index:6;bottom:18px;left:clamp(12px,3vw,42px);max-width:min(530px,calc(100vw - 24px));padding:17px 18px;background:#fdfbff;color:var(--ink);border:1px solid #d9cdee;border-radius:15px;box-shadow:0 10px 45px #21153a26}
.cookie-banner p{font-size:14px}
.cookie-banner .button{margin-top:10px}
.top{position:fixed;z-index:5;right:clamp(12px,2vw,33px);bottom:18px;width:47px;height:47px;display:grid;place-items:center;border:1px solid #d3ccdf;background:#e6e0ef;color:#211934;border-radius:50%;font-size:23px;line-height:1;transition:background .2s}
.top:hover{background:#d7caef}
.page-intro{padding:clamp(36px,7vw,117px) 0 clamp(45px,6vw,92px);background:radial-gradient(ellipse at 80% 1%,#e6dcf5,transparent 65%)}
.crumbs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:25px;list-style:none;padding:0;font-size:14px;color:var(--muted)}
.crumbs li+li::before{content:"/";margin-right:9px;color:#8b7fa6}
.crumbs a{text-decoration:underline;text-underline-offset:.22em}
.page-intro h1{font-size:clamp(43px,6.35vw,103px);max-width:16ch}
.page-intro p{max-width:65ch;margin-top:21px;font-size:clamp(17px,1.5vw,23px);color:var(--muted)}
.page-cover{border-radius:var(--r);width:100%;aspect-ratio:2.65;object-fit:cover}
.prose{font-size:clamp(16px,1.32vw,19px);line-height:1.8}
.prose h2{font-size:clamp(26px,3.1vw,47px);margin:1.4em 0 .52em;scroll-margin:22px}
.prose h3{font-size:clamp(21px,2.4vw,34px);margin:1.25em 0 .5em}
.prose :first-child{margin-top:0}
.prose ul,.prose ol{padding-left:1.25em;margin:1em 0}
.prose li+li{margin-top:.36em}
.prose blockquote{margin:1.2em 0;padding:20px 25px;border-left:4px solid var(--violet);background:#e9e1f6;border-radius:0 12px 12px 0}
.reading{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(220px,1fr);gap:clamp(25px,6vw,95px);align-items:start}
.reading .prose{max-width:80ch}
.reading-aside{background:var(--white);border-radius:var(--r);padding:clamp(19px,2.6vw,38px);position:sticky;top:22px}
.reading-aside h2{font-size:23px;margin-bottom:14px}
.reading-aside ol{padding-left:1.2em;display:grid;gap:9px;color:var(--muted);font-size:14px}
.reading-aside a:hover{color:var(--violet);text-decoration:underline}
.narrow{max-width:850px;margin-inline:auto}
.filter-nav{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:25px}
.filter-nav a{border-radius:8px;border:1px solid #cac0dc;padding:6px 11px;font-size:14px;font-weight:750}
.filter-nav a:hover,.filter-nav a[aria-current]{background:var(--violet);border-color:var(--violet);color:white}
.contact-card a{overflow-wrap:anywhere}
.contact-card h3{margin-bottom:14px}
.not-found{min-height:58vh;display:grid;align-items:center}
.not-found .button{margin-top:25px}
@media(max-width:1050px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .header-row{gap:17px}
  .site-nav{gap:15px}
  .header-cta{display:none}
  .service-tile{min-height:305px}
  .photo-tile img{object-position:center 65%}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .header-row{min-height:66px}
  .menu-toggle{display:inline-flex;align-items:center;gap:8px}
  .site-nav{position:absolute;top:100%;left:0;right:0;padding:14px var(--pad) 22px;display:none;flex-direction:column;align-items:stretch;gap:0;background:var(--paper);border-bottom:1px solid var(--rule);box-shadow:0 12px 20px #24113e14}
  .site-nav[data-open]{display:flex}
  .site-nav a{padding:10px 0;border-bottom:1px solid var(--rule)}
  .hero{min-height:595px;border-radius:20px}
  .hero::before{background:linear-gradient(90deg,#181131e6,#18113160),linear-gradient(0deg,#17102df0,transparent 55%)}
  .hero-photo{object-position:63% center}
  .hero-foot{flex-direction:column;align-items:flex-start;gap:8px}
  .hero-foot ul{gap:8px 14px}
  .hero-content{padding-bottom:42px}
  .section-head,.section-head.row-end,.partner-note,.media-accordion,.split,.reading,.cta-box{grid-template-columns:minmax(0,1fr);gap:16px}
  .section-head>div:first-child{padding:0}
  .section-head p{margin-top:12px}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
  .mosaic .tall{grid-column:1/-1;grid-row:auto;max-height:340px}
  .metric{min-height:190px;gap:20px}
  .metric strong{font-size:48px}
  .reading-aside{position:static;grid-row:1}
  .page-cover{aspect-ratio:1.65}
  .footer-grid{gap:26px 18px}
  .step{min-height:200px}
}
@media(max-width:460px){
  .grid-2,.grid-3,.grid-4,.footer-grid{grid-template-columns:minmax(0,1fr)}
  .service-tile{min-height:240px}
  .card-icon{width:46px;height:46px;margin-bottom:16px}
  .service-tile h3{margin-top:25px}
  .photo-tile{min-height:345px}
  .mosaic{gap:10px}
  .mosaic .card{padding:16px}
  .mosaic .metric-label{font-size:13px}
  .mosaic p{font-size:14px}
  .top{width:41px;height:41px;bottom:12px}
  .cookie-banner{bottom:62px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important}
}
