/*
Theme Name: Неон Мастерс
Description: Сайт производства наружной рекламы и портфолио выполненных работ.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: neon-masters
*/
@font-face{font-family:Manrope;src:url(assets/manrope-cyrillic.woff2) format('woff2');font-weight:400 800;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-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2190-21FF}
:root{--ink:#131416;--paper:#f3f3f5;--silver:#a9adb5;--red:#c82132;--red-hot:#a9192b;--line:#d6d6dc;--white:#fff;--dark-line:#3b3d42;--gutter:clamp(20px,5vw,78px);--shell:1440px;--travel:0px;color-scheme:dark;font-family:Manrope,Arial,sans-serif;background:var(--ink);color:var(--paper);scroll-behavior:smooth;scroll-padding-top:102px}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-size:16px;line-height:1.55}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #db4354;outline-offset:4px}
img{display:block;max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
h1,h2,h3,p,ul,ol,dl,dd{margin:0}
h1,h2,h3{line-height:1.02;letter-spacing:-.065em;font-weight:800;text-wrap:balance}
h1{font-size:clamp(50px,7vw,112px)}
h2{font-size:clamp(37px,5.1vw,78px)}
h3{font-size:clamp(24px,3vw,42px);letter-spacing:-.045em}
.shell{width:min(100%,var(--shell));padding-inline:var(--gutter);margin-inline:auto}
.section{padding-block:clamp(66px,8vw,126px)}
.light-section{color-scheme:light;background:var(--paper);color:var(--ink)}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:clamp(30px,4vw,60px)}
.micro,.eyebrow{font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.eyebrow{display:flex;align-items:center;gap:10px;color:#d4d4d9}
.eyebrow>span{width:16px;height:3px;background:#e53d4d}
.point{color:#e53d4d}
.skip-link{position:fixed;top:12px;left:12px;z-index:99;background:var(--white);color:var(--ink);padding:12px;transform:translateY(-150%)}
.skip-link:focus{transform:none}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.site-header{position:sticky;z-index:10;top:0;background:var(--ink);border-bottom:1px solid var(--dark-line)}
.admin-bar .site-header{top:32px}
.header-inner{min-height:81px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand img{width:86px;height:47px;object-fit:cover;object-position:center 35%;mix-blend-mode:lighten}
.brand span{color:#ededee;font-size:10px;line-height:1.08;font-weight:800;letter-spacing:.11em}
.site-nav{display:flex;gap:clamp(15px,2.5vw,38px);align-items:center}
.site-nav a{font-size:14px;font-weight:700;color:#dcdee3;white-space:nowrap;transition:color .18s ease}
.site-nav a:hover,.site-nav a[aria-current]{color:#ff6270}
.header-phone{white-space:nowrap;font-size:14px;font-weight:800}
.menu-toggle{display:none}
.button,.text-link{display:inline-flex;align-items:center;justify-content:center;gap:14px;font-weight:800;font-size:14px;min-height:44px}
.button{padding:14px 18px;min-height:55px;border:1px solid transparent;border-radius:5px;line-height:1.25;transition:background .2s ease,transform .2s ease;width:max-content;max-width:100%}
.button-red{color:#fff;background:var(--red)}
.button-red:hover{background:var(--red-hot);transform:translateY(-2px)}
.text-link{white-space:nowrap;transition:color .2s ease}
.text-link:hover{color:#f85e6a}
.light-section .text-link:hover{color:#a9192b}
.arrow{display:inline-block;width:15px;height:15px;position:relative;flex:none;color:inherit}
.arrow::before,.arrow::after{content:'';position:absolute;display:block}
.arrow::before{width:13px;height:1.5px;background:currentColor;top:6px;left:1px;transform:rotate(-45deg);transform-origin:center}
.arrow::after{width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;top:2px;right:2px}
.arrow-down{transform:rotate(135deg)}
.hero{display:grid;grid-template-columns:47% 53%;max-width:1800px;margin-inline:auto;min-height:min(630px,calc(100svh - 81px));position:relative}
.hero-content{display:flex;flex-direction:column;justify-content:center;padding:clamp(46px,6vw,104px) clamp(20px,3vw,54px) clamp(46px,6vw,104px) max(var(--gutter),calc((100vw - var(--shell)) / 2 + var(--gutter)));position:relative;z-index:1}
.hero-content h1{margin:20px 0 22px;font-size:clamp(43px,5.1vw,86px);line-height:.99;text-wrap:unset}
.hero-summary{font-size:clamp(16px,1.55vw,23px);color:#c6c8d0;max-width:520px;line-height:1.45}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:36px}
.hero-enter{animation:enter .65s cubic-bezier(.16,.65,.25,1) backwards}
.hero-enter:nth-child(2){animation-delay:.06s}.hero-enter:nth-child(3){animation-delay:.12s}.hero-enter:nth-child(4){animation-delay:.18s}
@keyframes enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero-media{position:relative;overflow:hidden;isolation:isolate;background:#22242a;min-width:0}
.hero-photo{position:absolute;width:100%;height:calc(100% + 52px);max-width:none;object-fit:cover;object-position:54% 48%;transform:translateY(calc(var(--travel) - 50px));filter:brightness(.84) saturate(.85)}
.hero-media::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,10,13,.52),transparent 34%);pointer-events:none}
.hero-image-caption{display:flex;gap:12px;align-items:center;position:absolute;z-index:1;bottom:22px;right:24px;padding:8px 13px;border-radius:4px;background:#17191fe0;color:#fff;font-size:13px;font-weight:800}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px}
.project-card{min-width:0}
.project-link{display:block}
.project-media{aspect-ratio:1.48;overflow:hidden;background:#dcdde1;border-radius:5px}
.project-media img{width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.2,.7,.25,1)}
.project-link:hover img,.project-link:focus-visible img{transform:scale(1.05)}
.project-caption{position:relative;padding:16px 35px 14px 0;border-bottom:1px solid var(--line);min-height:83px}
.project-caption .micro{color:#555963}
.project-caption h3{margin-top:5px;font-size:clamp(19px,2.2vw,31px);text-wrap:unset;line-height:1.15;overflow-wrap:anywhere}
.project-arrow{position:absolute;top:24px;right:2px;width:15px;height:15px;border-top:2px solid var(--red);border-right:2px solid var(--red);transition:transform .22s ease}
.project-arrow::after{content:'';width:18px;height:2px;position:absolute;right:-2px;top:5px;background:var(--red);transform:rotate(-45deg)}
.project-link:hover .project-arrow{transform:translate(3px,-3px)}
.service-list{border-top:1px solid var(--dark-line)}
.service-row{display:grid;grid-template-columns:1.4fr 1fr auto;gap:24px;align-items:center;padding:clamp(22px,3.6vw,54px) 0;border-bottom:1px solid var(--dark-line);transition:color .22s ease,padding .22s ease}
.service-row h3{text-wrap:unset}
.service-row p{color:var(--silver);max-width:350px}
.service-row:hover{padding-inline:12px;color:#ff6372}
.service-action{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800;white-space:nowrap}
.step-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:steps}
.step-list li{padding-top:18px;border-top:1px solid var(--line);counter-increment:steps}
.step-list li::before{content:'0' counter(steps);color:#a9192b;font-size:13px;font-weight:800}
.step-list h3{font-size:clamp(23px,2.8vw,37px);margin:13px 0 12px;text-wrap:unset}
.step-list p,.approval-grid p{max-width:400px;color:#51545d}
.site-footer{padding:clamp(40px,6vw,88px) 0 24px}
.footer-main{display:flex;justify-content:space-between;align-items:end;gap:20px;padding-bottom:28px;border-bottom:1px solid var(--dark-line)}
.footer-main .micro{color:var(--silver);margin-bottom:8px}
.footer-main h2{font-size:clamp(34px,5vw,68px)}
.footer-details{display:flex;flex-wrap:wrap;gap:12px 28px;padding:20px 0;color:#e9e9ed;font-size:14px}
.footer-details a:hover{text-decoration:underline}
.small{color:var(--silver);font-size:12px}
.page-intro{padding:clamp(55px,8vw,112px) 0;background:var(--ink)}
.page-intro h1{text-wrap:unset;overflow-wrap:anywhere}
.page-intro p:not(.eyebrow){color:#c6c8d0;font-size:clamp(16px,2vw,24px);margin-top:16px;max-width:700px}
.page-intro .button{margin-top:24px}
.page-intro .eyebrow{margin-top:18px;margin-bottom:13px}
.project-intro h1{font-size:clamp(39px,6vw,86px);max-width:1000px}
.back-link{color:#e0e1e6}
.catalog{padding-top:clamp(30px,5vw,72px)}
.filters,.nav-links{display:flex;gap:8px;flex-wrap:wrap}
.filters{margin-bottom:34px}
.filters a,.page-numbers{padding:8px 13px;border:1px solid #cccdd2;border-radius:4px;font-size:14px;font-weight:700}
.filters a:hover,.page-numbers:hover{border-color:var(--red)}
.filters a[aria-current],.page-numbers.current{background:var(--ink);color:#fff;border-color:var(--ink)}
.pagination{margin-top:36px}
.detail-grid,.contact-grid,.approval-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(20px,4vw,64px);align-items:start}
.detail-photos{display:grid;gap:14px}
.detail-photos img{width:100%;height:auto;border-radius:5px}
.detail-copy .button{margin-top:20px}
.detail-map,.contact-map{grid-column:1/-1}
.map{display:block;width:100%;height:clamp(280px,36vw,450px);border:0;border-radius:6px;background:#e1e4e8;margin-top:15px}
.detail-map h2,.contact-grid h2,.approval-grid h2{font-size:clamp(30px,4vw,55px);margin-bottom:16px}
.rich-text{max-width:760px;line-height:1.65;overflow-wrap:anywhere}
.rich-text p+p{margin-top:1em}
.rich-text a{text-decoration:underline}
.approval-list>div{padding:15px 0;border-top:1px solid var(--line)}
.approval-list dt{font-size:20px;font-weight:800}
.approval-list dd{color:#51545d}
.contact-grid{grid-template-columns:1fr 1.25fr}
.contact-details address{font-style:normal}
.contact-details>p{color:#51545d;margin-top:8px}
.contact-ways{list-style:none;padding:0;margin:20px 0 5px;font-weight:800}
.contact-ways a:hover{text-decoration:underline}
.contact-form{padding:clamp(20px,4vw,42px);border:1px solid var(--line);background:#fff;border-radius:6px}
.contact-form form,.contact-form label{display:grid;gap:7px}
.contact-form form{gap:16px}
.contact-form label{font-size:14px;font-weight:800}
.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;border:1px solid #c4c6cd;border-radius:4px;background:#fff;color:var(--ink);min-height:45px;padding:9px 10px;font-weight:500}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.contact-form .consent{display:flex;align-items:start;gap:8px;font-weight:600;color:#434750}
.consent input{accent-color:var(--red);margin-top:4px}
.consent a{text-decoration:underline}
.trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.form-message{margin-bottom:14px;padding:10px 12px;background:#f0f0f4;border-radius:4px}
.lightbox{width:min(96vw,1100px);max-width:none;max-height:92dvh;background:#16171a;color:#fff;border:0;padding:38px 8px 8px;border-radius:6px;overflow:auto}
.lightbox::backdrop{background:#08080ce6}
.lightbox img{width:auto;max-height:80dvh;object-fit:contain;margin-inline:auto}
.lightbox-close{position:absolute;top:3px;right:8px;color:#fff;background:none;border:0;font-size:27px;line-height:32px}
[data-reveal]{transition:transform .58s cubic-bezier(.2,.7,.22,1),opacity .58s ease}
[data-reveal].will-reveal{opacity:0;transform:translateY(24px)}
.project-grid>[data-reveal]:nth-child(3n+2){transition-delay:.08s}.project-grid>[data-reveal]:nth-child(3n){transition-delay:.16s}
@media(max-width:1100px){.hero-content{padding-left:var(--gutter)}.hero-actions{gap:6px 14px}.hero-content h1{font-size:clamp(43px,5.15vw,64px)}.header-phone{font-size:13px}.site-nav{gap:14px}.site-nav a{font-size:13px}}
@media(max-width:850px){.header-inner{min-height:68px}.brand img{width:72px;height:42px}.header-phone{margin-left:auto}.menu-toggle{order:3;display:flex;align-items:center;gap:7px;background:transparent;color:#fff;border:1px solid var(--dark-line);border-radius:4px;padding:7px 8px;font-size:13px;font-weight:800;min-height:44px}.menu-icon{width:14px;height:9px;border-top:1.5px solid;border-bottom:1.5px solid}.site-nav{display:none;position:absolute;top:100%;inset-inline:0;background:var(--ink);padding:12px var(--gutter) 20px;border-bottom:1px solid var(--dark-line)}.site-nav.is-open{display:grid}.site-nav a{padding:6px 0;font-size:16px}.hero{grid-template-columns:1fr;min-height:0}.hero-content{padding:46px var(--gutter) 34px}.hero-content h1{font-size:clamp(46px,8.9vw,75px)}.hero-media{aspect-ratio:1.75}.hero-photo{height:100%;transform:none}.hero-actions{margin-top:24px}.service-row{grid-template-columns:1fr 1fr auto}.service-action>span:first-child{display:none}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:600px){.site-header{position:relative;top:0!important}.header-inner{gap:10px}.header-phone{font-size:12px}.brand{gap:4px}.brand span{font-size:8px}.brand img{width:58px;height:38px}.hero-content{padding-top:38px}.hero-content h1{font-size:clamp(42px,9vw,57px)}.hero-media{aspect-ratio:1.42}.hero-image-caption{right:12px;bottom:12px}.section-heading{align-items:start;flex-direction:column;gap:8px}.section-heading a{min-height:35px}.project-grid,.step-list,.detail-grid,.contact-grid,.approval-grid{grid-template-columns:1fr}.project-grid{gap:25px}.project-caption{min-height:70px}.service-row{grid-template-columns:1fr auto;gap:8px}.service-row p{grid-row:2;grid-column:1}.service-action{grid-row:1;grid-column:2}.footer-main{align-items:start;flex-direction:column}.form-row{grid-template-columns:1fr}.detail-photos:empty{display:none}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}.hero-photo,[data-reveal].will-reveal{opacity:1;transform:none}}
@media(max-width:370px){.brand span{display:none}.header-inner{gap:8px}}
