/* Рекламно Студио Чејков — static rebuild. One stylesheet, mobile-first.
   Values read from the original theme (Impreza 4.10 + theme options). 1rem = 15px. */

/* ---------- Fonts (self-hosted, Latin + Cyrillic) ---------- */
@font-face{font-family:"Fira Sans";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/fira-sans-regular.woff) format("woff")}
@font-face{font-family:"Fira Sans";font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/fira-sans-bold.woff) format("woff")}
@font-face{font-family:"Montserrat";font-weight:300;font-style:normal;font-display:swap;src:url(../fonts/montserrat-300.woff) format("woff")}
@font-face{font-family:"Montserrat";font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/montserrat-600.woff) format("woff")}
@font-face{font-family:"FontAwesome";font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/fontawesome-subset.woff) format("woff")}

/* ---------- Colours ---------- */
:root{
  --bg:#465568;          /* page / sections */
  --bg-dark:#242d39;     /* body, dropdown, copyright bar */
  --header:#323f4f;
  --text:#e8eff5;
  --heading:#fff;
  --primary:#fd6861;
  --secondary:#8ed8f5;
  --border:#596b80;
  --input:#323f4f;
  --gutter:22.5px;
  --side:1.5rem;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;font-family:"Fira Sans",sans-serif;font-size:15px;line-height:25px;font-weight:400;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg-dark);color:var(--text);-webkit-tap-highlight-color:rgba(253,104,97,.2);overflow-x:hidden}
img{max-width:100%;height:auto;border:0}
a{color:#fff;text-decoration:none;transition:color .3s}
a:hover{color:var(--secondary)}
p{margin:0 0 1.5rem}
p:last-child{margin-bottom:0}
h1,h2,h3,h4,h5,h6{font-family:"Fira Sans",sans-serif;font-weight:400;color:var(--heading);line-height:1.4;margin:0 0 1rem;padding-top:0}
h1:last-child,h2:last-child,h3:last-child,h4:last-child{margin-bottom:0}
h1{font-size:30px}h2{font-size:26px}h3{font-size:24px}h4{font-size:22px}
strong,b{font-weight:700}
button{font:inherit}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:0;z-index:200;background:var(--primary);color:#fff;padding:.5rem 1rem}
.skip-link:focus{left:0;color:#fff}
:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}
.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;speak:never}
.fa-chevron-down::before{content:"\f078"}
.fa-chevron-right::before{content:"\f054"}
.fa-map-marker::before{content:"\f041"}
.fa-phone::before{content:"\f095"}
.fa-envelope::before{content:"\f0e0"}
.fa-angle-left::before{content:"\f104"}
.fa-angle-right::before{content:"\f105"}
.fa-angle-up::before{content:"\f106"}
.fa-angle-down::before{content:"\f107"}
.fa-facebook::before{content:"\f09a"}
.fa-youtube-play::before{content:"\f16a"}
.fa-search::before{content:"\f002"}
.fa-instagram::before{content:"\f16d"}
@media (min-width:768px){
  html{font-size:15px}
  h1{font-size:40px}h2{font-size:34px}h3{font-size:28px}h4{font-size:24px}
  h1,h2,h3,h4,h5,h6{margin-bottom:1.5rem}
}

/* ---------- Layout ---------- */
.canvas{background:var(--bg);overflow:hidden}
.sec{position:relative;padding:0 var(--side)}
.sec__in{max-width:1140px;margin:0 auto;padding:1.5rem 0}
.sec--sm>.sec__in{padding:1.5rem 0}
.sec--auto>.sec__in{padding:0}
.sec--full{padding-left:0;padding-right:0}
.sec--full>.sec__in{max-width:none}
.cols{display:flex;flex-wrap:wrap;margin:0 calc(-1 * var(--gutter))}
.cols>*{width:100%;padding:0 var(--gutter);margin-bottom:2rem}
.cols>*:last-child{margin-bottom:0}
.cols--middle{align-items:center}
.sp-20{height:20px}.sp-50{height:50px}
.center{text-align:center}
.sep-short{width:100%;height:18px;margin:.5rem auto;position:relative}
.sep-short::before{content:"";position:absolute;left:0;right:0;top:50%;margin-top:-1px;border-top:2px solid var(--border)}
.sep-gap{height:1px;margin:.5rem 0}
/* the original's margins collapse into the column gap on phones */
@media (max-width:767px){
  .cols>*:not(:last-child) .sep-gap,.cols>*:not(:last-child)>.sep-short:last-child{margin-bottom:0}
  .cols>*:not(:first-child) .sep-gap{margin-top:0}
}
@media (min-width:601px){.sep-short{width:30%;margin:1rem auto}.sep-gap{margin:1rem 0}}
@media (min-width:1025px){.sep-short{margin:1.5rem auto}.sep-gap{margin:1.5rem 0}}
@media (min-width:601px){
  :root{--side:2.5rem}
  .sec__in{padding:2.5rem 0}
}
@media (min-width:768px){
  .cols>*{margin-bottom:0}
  .col-2{width:16.6666%}.col-3{width:25%}.col-4{width:33.3333%}.col-6{width:50%}.col-8{width:66.6666%}
}
@media (min-width:1025px){
  .sec__in{padding:4rem 0}
  .sec--sm>.sec__in{padding:2rem 0}
}

/* ---------- Header ---------- */
.hdr{position:fixed;top:0;left:0;right:0;z-index:111;color:var(--text);transition:background-color .3s}
.hdr__bar{height:50px;line-height:50px;padding:0 1rem;background:var(--header);box-shadow:0 1px 0 rgba(0,0,0,.08);transition:height .3s,line-height .3s,background-color .3s}
.hdr__in{position:relative;max-width:1140px;height:100%;margin:0 auto;display:flex;align-items:center}
.hdr__in .logo{margin-right:auto}
.hdr--transparent:not(.is-sticky) .hdr__bar{background:transparent;box-shadow:none;color:#fff}
.logo{display:block;flex:none}
.logo img{display:block;height:30px;width:auto;transition:height .3s}
.is-sticky .logo img{height:20px}
.nav-toggle{display:block;height:50px;padding:0 12px;background:none;border:0;color:inherit;cursor:pointer}
.nav-toggle__icon{display:inline-block;vertical-align:top;position:relative;font-size:20px;width:1em;height:100%}
.nav-toggle__icon i,.nav-toggle__icon i::before,.nav-toggle__icon i::after{content:"";display:block;position:absolute;height:0;width:1em;border-bottom:.15em solid}
.nav-toggle__icon i{top:50%;transform:translateY(-50%);transition:transform .15s cubic-bezier(0,1,.8,1)}
.nav-toggle__icon i::before{top:-.35em;transition:top .15s cubic-bezier(0,1,.8,1) .15s,opacity .15s cubic-bezier(0,1,.8,1)}
.nav-toggle__icon i::after{top:.35em;transition:top .15s cubic-bezier(0,1,.8,1) .15s,transform .15s cubic-bezier(0,1,.8,1)}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i{transform:translateY(-50%) rotate(45deg);transition-delay:.15s}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i::before{top:0;opacity:0;transition:top .15s cubic-bezier(0,1,.8,1),opacity .15s cubic-bezier(0,1,.8,1) .15s}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon i::after{top:0;transform:rotate(90deg);transition:top .15s cubic-bezier(0,1,.8,1),transform .15s cubic-bezier(0,1,.8,1) .15s}

/* mobile menu: drops down below the bar */
.nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--header);color:var(--text);box-shadow:0 3px 3px rgba(0,0,0,.1);max-height:calc(100vh - 50px);overflow-y:auto;line-height:1.6em}
.nav.is-open{display:block}
.nav ul{list-style:none;margin:0;padding:0}
.nav a{display:block;padding:.7rem;color:inherit;font-size:14px;line-height:1.6em}
.nav a:hover{color:var(--secondary)}
.nav .is-current>a,.nav .is-parent>a{color:var(--primary)}
.nav__sub{display:none}
.nav .is-open>.nav__sub{display:block}
.nav__sub a{padding-left:1.4rem}
.nav__has-sub>a .fa{display:inline-block;font-size:1.5em;vertical-align:top;margin-left:.4em;transition:transform .3s}
.nav__has-sub.is-open>a .fa{transform:rotate(180deg)}

@media (min-width:601px){
  .hdr__bar{height:80px;line-height:80px}
  .logo img{height:42px}
  .is-sticky .logo img{height:30px}
  .nav{max-height:calc(100vh - 80px)}
}
@media (max-width:900px){
  .hdr.is-sticky .hdr__bar{height:50px;line-height:50px}
}
@media (min-width:901px){
  .hdr__bar{height:100px;line-height:100px;padding:0 2.5rem}
  .hdr.is-sticky .hdr__bar{height:50px;line-height:50px}
  .logo img{height:50px}
  .is-sticky .logo img{height:35px}
}
/* desktop menu from 900 px, as on the original */
@media (min-width:900px){
  .nav-toggle{display:none}
  .nav{display:block;position:static;background:none;box-shadow:none;max-height:none;overflow:visible;color:inherit;line-height:inherit}
  .nav>ul{display:flex}
  .nav>ul>li{position:relative}
  .nav>ul>li>a{padding:0 19px;font-size:16px;line-height:50px}
  .nav>ul>li>a .nav__title{position:relative}
  .nav>ul>li>a .nav__title::after{content:"";position:absolute;left:0;bottom:-.4em;margin:0 auto -2px;height:2px;width:100%;opacity:0;background:var(--secondary);transition:all .3s}
  .nav>ul>li:hover>a{color:var(--secondary)}
  .nav>ul>li:hover>a .nav__title::after{bottom:-2px;opacity:1}
  .nav>ul>li.is-current>a,.nav>ul>li.is-parent>a{color:var(--primary)}
  .nav__has-sub>a .fa{font-size:1.3em;margin-left:.4em;vertical-align:top;transform:none!important;line-height:50px}
  .nav__sub{display:block;position:absolute;left:0;top:100%;z-index:10;min-width:12rem;background:var(--bg-dark);color:var(--text);text-align:left;box-shadow:0 8px 15px rgba(0,0,0,.1);opacity:0;visibility:hidden;transform:scaleY(0);transform-origin:0 0;transition:opacity .3s,transform .3s,visibility .3s;line-height:1.5}
  .nav__has-sub:hover>.nav__sub,.nav__has-sub:focus-within>.nav__sub{opacity:1;visibility:visible;transform:scaleY(1)}
  .nav__sub a{font-size:16px;line-height:24px;padding:.6em 20px;white-space:nowrap}
  .nav__sub a:hover{color:var(--secondary)}
  .nav__sub .is-current>a{color:var(--primary)}
}

/* space for the fixed header */
.page-top{padding-top:50px}
@media (min-width:601px){.page-top{padding-top:80px}}
@media (min-width:901px){.page-top{padding-top:100px}}

/* ---------- Page title (sub-pages) ---------- */
.titlebar{position:relative;text-align:center;color:#fff;background-color:var(--primary);padding:50px 1.5rem 2rem;overflow:hidden}
.titlebar__img{position:absolute;inset:0;background:var(--bg-sm,var(--bg-img)) center/cover no-repeat}
@media (min-width:801px){.titlebar__img{background-image:var(--bg-img)}}
.titlebar__overlay{position:absolute;inset:0}
.titlebar__in{position:relative;max-width:1140px;margin:0 auto;padding:1.5rem 0}
.titlebar h1{margin:0;color:#fff;font-size:30px;line-height:1.4}
.crumbs{display:none;font-size:.9rem;line-height:1.4;margin:.8rem 0 .3rem}
.crumbs a{color:inherit}
.crumbs a:hover{color:var(--secondary)}
.crumbs__sep{margin:0 .5rem}
.crumbs__sep::before{content:"\f105";font-family:FontAwesome;vertical-align:top}
@media (min-width:481px){.crumbs{display:block}}
@media (min-width:601px){
  .titlebar{padding:80px 2.5rem 2rem}
  .titlebar__in{padding:2.5rem 0}
}
@media (min-width:768px){.titlebar h1{font-size:40px}}
@media (min-width:901px){.titlebar{padding:100px 2.5rem 2rem}}
@media (min-width:1025px){.titlebar__in{padding:4rem 0}}

/* ---------- Homepage hero (static, first slide of the original slider) ---------- */
/* The slider fills the first screen: nothing of the next section shows on arrival (2nd round, on request).
   --base = the original slider height, --hdr = header height; extra height centres the text. */
.hero{--base:150vw;--hdr:50px;position:relative;container-type:inline-size;height:max(var(--base),calc(100vh - var(--hdr)));height:max(var(--base),calc(100svh - var(--hdr)));overflow:hidden;background:#000}
.hero .hero__layer{margin-top:max(0px,calc((100vh - var(--hdr) - var(--base)) / 2));margin-top:max(0px,calc((100svh - var(--hdr) - var(--base)) / 2))}
@media (min-width:601px){.hero{--hdr:80px}}
@media (min-width:901px){.hero{--hdr:100px}}
.hero__slides{position:absolute;inset:0}
.hero__slide{position:absolute;inset:0;visibility:hidden;z-index:0}
.hero__slide.is-active{visibility:visible;z-index:2}
.hero__slide.is-leaving{visibility:visible;z-index:1}
.hero__slide .hero__layer{opacity:0;transition:opacity .4s ease}
.hero__slide.is-active.is-shown .hero__layer{opacity:1;transition:opacity .9s ease .3s}
.hero__slide.is-active.is-shown .hero__text{transition-delay:.45s}
.hero__slide.is-active.is-shown .hero__cta{transition-delay:.6s}
.hero__arrow{position:absolute;top:50%;z-index:5;width:50px;height:50px;margin-top:-25px;padding:0;border:0;background:transparent;color:#fff;font-size:40px;line-height:50px;cursor:pointer;opacity:0;transition:opacity .3s}
.hero__arrow .fa{line-height:50px;vertical-align:top;transition:opacity .3s}
.hero__arrow:hover .fa{opacity:.75}
.hero__arrow--prev{left:20px}.hero__arrow--next{right:20px}
.hero:hover .hero__arrow,.hero__arrow:focus-visible{opacity:1}
@media (hover:none){.hero__arrow{opacity:1}}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__layer{position:absolute;left:50%;color:#fff;font-family:Montserrat,"Fira Sans",sans-serif}
.hero__title{margin:0;font-weight:600;color:#fff;letter-spacing:0;white-space:normal}
.hero__text{margin:0;font-weight:300}
.hero__btn{display:inline-block;white-space:nowrap;font-size:18px;line-height:20px;font-weight:400;color:#000;background:#23ccaa;border:3px solid #000;border-radius:30px;padding:12px 35px;transition:none}
.hero__btn:hover,.hero__btn:focus-visible{color:#000;background:#fff}
.hero__btn .fa{font-size:inherit;margin-left:10px;vertical-align:top;line-height:20px}
/* phones (< 480 px): 480 px design scaled to the width, left-aligned text */
.hero__title{top:calc(184 / 480 * 100cqw);width:calc(464 / 480 * 100cqw);transform:translateX(calc(-50% + 7 / 480 * 100cqw));font-size:calc(65 / 480 * 100cqw);line-height:calc(70 / 480 * 100cqw);text-align:left}
.hero__text{top:calc(361 / 480 * 100cqw);width:calc(430 / 480 * 100cqw);transform:translateX(calc(-50% - 10 / 480 * 100cqw));font-size:calc(26 / 480 * 100cqw);line-height:calc(30 / 480 * 100cqw);text-align:left}
.hero__cta{top:calc(489 / 480 * 100cqw);transform:translateX(calc(-50% - 45 / 480 * 100cqw))}
@media (min-width:480px){
  .hero{--base:calc(960 / 778 * 100vw)}
  .hero__title{top:calc(163 / 778 * 100cqw);width:calc(898 / 778 * 100cqw);transform:translateX(-50%);font-size:calc(70 / 778 * 100cqw);line-height:calc(80 / 778 * 100cqw);text-align:center}
  .hero__text{top:calc(274 / 778 * 100cqw);width:calc(743 / 778 * 100cqw);transform:translateX(-50%);font-size:calc(26 / 778 * 100cqw);line-height:calc(30 / 778 * 100cqw);text-align:center}
  .hero__cta{top:calc(387 / 778 * 100cqw);transform:translateX(-50%)}
}
@media (min-width:778px){
  .hero{--base:calc(650 / 1024 * 100vw)}
  .hero__title{top:calc(163 / 1024 * 100cqw);width:calc(898 / 1024 * 100cqw);font-size:calc(80 / 1024 * 100cqw);line-height:calc(80 / 1024 * 100cqw)}
  .hero__text{top:calc(274 / 1024 * 100cqw);width:calc(743 / 1024 * 100cqw);font-size:calc(26 / 1024 * 100cqw);line-height:calc(30 / 1024 * 100cqw)}
  .hero__cta{top:calc(387 / 1024 * 100cqw)}
}
@media (min-width:1024px){
  .hero{--base:650px}
  .hero__title{top:163px;width:898px;font-size:80px;line-height:80px}
  .hero__text{top:274px;width:743px;font-size:26px;line-height:30px}
  .hero__cta{top:387px}
}

/* ---------- Homepage: services ---------- */
.service{text-align:center}
.service img{display:block;margin:0 auto 1.5rem}
.service h3{text-align:center;margin-bottom:1rem}
.service h3 a{color:#fff}
.service h3 a:hover{color:var(--secondary)}
.service__text{text-align:center}
@media (min-width:768px){.service h3{margin-bottom:1.5rem}}

/* two photos side by side (the original section has 30 px padding on the right only) */
.duo-sec{padding:0 30px 0 0}
.duo{display:flex;flex-wrap:wrap;margin:0 -22.5px}
.duo__img{width:100%;height:445px;background:var(--img-sm,var(--img)) center/cover no-repeat}
@media (min-width:768px){.duo__img{width:50%;background-image:var(--img)}}

/* "Галерија" intro + arrow */
#galerija{scroll-margin-top:50px}
.down{display:block;width:36px;margin:0 auto;font-size:36px;line-height:36px;color:#fff;text-align:center}
.down:hover{color:var(--secondary)}

/* homepage gallery tiles (3:2, 3 columns) */
.tiles{display:flex;flex-wrap:wrap;margin:4px}
.tile{width:100%;padding:4px}
.tile a{display:block;position:relative;overflow:hidden;color:#fff;background-color:rgba(142,216,245,.5)}
.tile a::before{content:"";display:block;padding-bottom:66.6667%}
.tile__img{position:absolute;inset:0 -1px -1px 0;transition:transform .35s}
.tile__img img{width:100%;height:100%;object-fit:cover;display:block}
.tile__img::after{content:"";position:absolute;inset:0;opacity:0;transition:opacity .4s;background-color:rgba(142,216,245,.5)}
.tile__meta{position:absolute;left:0;right:0;bottom:0;padding:4rem 2rem 1.5rem;color:#fff;text-align:center}
.tile__meta::before{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(30,30,30,.8)) repeat-x;transition:opacity .4s}
.tile__title{position:relative;margin:0;font-size:1.2rem;line-height:1.4;color:inherit}
@media (hover:hover){
  .tile a:hover .tile__img{transform:scale(1.1)}
  .tile a:hover .tile__img::after{opacity:.9}
  .tile a:hover .tile__meta::before{opacity:0}
}
@media (min-width:601px){.tile{width:50%}.tile__title{font-size:18px}}
@media (min-width:901px){.tile{width:33.3333%}}

/* ---------- Galleries ---------- */
.gallery{margin:4px}
.gallery__item{display:block;width:100%;padding:4px;margin:0;border:0;background:none;cursor:zoom-in;position:relative;color:inherit}
.gallery__item img{display:block;width:100%;height:auto;margin:0 auto}
.gallery__img{position:relative;display:block}
.gallery__img::after{content:"";position:absolute;inset:0;opacity:0;transition:opacity .3s;background:#fff}
@media (hover:hover){.gallery__item:hover .gallery__img::after{opacity:.5}}
.gallery__item:focus-visible{outline:2px solid var(--secondary);outline-offset:-2px}
/* square thumbnails, 5 per row (За нас) */
.gallery--grid{display:flex;flex-wrap:wrap;justify-content:center}
.gallery--grid .gallery__item{width:50%}
@media (min-width:481px){.gallery--grid .gallery__item{width:25%}}
@media (min-width:768px){.gallery--grid{justify-content:flex-start}.gallery--grid .gallery__item{width:20%}}
/* 3 per row (portfolio pages). The theme calls it "masonry", but on the live site its script
   stops on an error, so the photos sit in rows, top-aligned. Kept like that. */
.gallery--rows{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;margin:-4px}
.gallery--rows .gallery__item{width:50%}
@media (min-width:481px){.gallery--rows .gallery__item{width:33.3333%}}
@media (min-width:768px){.gallery--rows{justify-content:flex-start}}
.gallery--rows .gallery__img{aspect-ratio:3/2;overflow:hidden}
.gallery--rows .gallery__img img{width:100%;height:100%;object-fit:cover}

/* ---------- Portfolio pages: previous / next ---------- */
.pnav__item{display:block;position:fixed;z-index:99;top:50%;width:16rem;margin-top:-4rem;transition:left .3s cubic-bezier(.78,.13,.15,.86),right .3s cubic-bezier(.78,.13,.15,.86)}
.pnav__item img{display:block;width:8rem;height:8rem;object-fit:cover}
.pnav__arrow{width:8rem;height:8rem;text-align:center;background:rgba(0,0,0,.3);color:#fff;transition:background-color .3s}
.pnav__arrow .fa{font-size:2rem;line-height:8rem;width:2.5rem;transition:transform .3s cubic-bezier(.78,.13,.15,.86)}
.pnav__row{display:flex}
.pnav__title{font-size:.9rem;line-height:1.4rem;overflow:hidden}
.pnav__title span{display:block;padding:.7rem 1rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:rgba(30,30,30,.9);color:#fff;opacity:0;transform:translate(0,-100%);transition:transform .3s cubic-bezier(.78,.13,.15,.86),opacity .3s cubic-bezier(.78,.13,.15,.86)}
.pnav__item--prev{left:-13.5rem;text-align:left}
.pnav__item--next .pnav__row{flex-direction:row-reverse}
.pnav__item--prev .pnav__arrow .fa{transform:translate(2.6rem,0)}
.pnav__item--next{right:-13.5rem;text-align:right}
.pnav__item--next .pnav__arrow .fa{transform:translate(-2.6rem,0)}
.pnav__item--prev:hover,.pnav__item--prev:focus-visible{left:0}
.pnav__item--next:hover,.pnav__item--next:focus-visible{right:0}
.pnav__item:hover .pnav__arrow .fa,.pnav__item:focus-visible .pnav__arrow .fa{transform:none}
.pnav__item:hover .pnav__title span,.pnav__item:focus-visible .pnav__title span{opacity:1;transform:none;transition-delay:.2s}
.pnav__item:hover{color:#fff}
@media (max-width:767px){
  /* on phones the links sit under the page, each over its own photo, as on the original */
  .pnav{display:flex}
  .pnav__item{display:flex;align-items:center;position:relative;overflow:hidden;top:auto;left:auto!important;right:auto!important;margin:0;padding:0 .8rem;width:50%}
  .pnav__item:only-child{width:100%}
  .pnav__item--next{flex-direction:row-reverse}
  .pnav__row{display:contents}
  .pnav__item img{position:absolute;top:50%;left:50%;min-height:101%;min-width:101%;max-width:none;width:auto;height:auto;transform:translate(-50%,-50%)}
  .pnav__arrow{position:relative;z-index:1;padding:0;width:auto;height:auto;background:none!important}
  .pnav__arrow .fa{transform:none!important;transition:none!important;width:auto}
  .pnav__title{position:relative;z-index:1;padding:1rem .8rem}
  .pnav__title span{display:inline;padding:0;opacity:1;white-space:normal;transform:none;transition:none;background:none}
  .pnav__item::after{content:"";position:absolute;inset:0;background:rgba(30,30,30,.66)}
}

/* ---------- Text pages ---------- */
.uslugi .center p:last-child{margin-bottom:0}
.uslugi h2 a{color:#fff}
.uslugi h2 a:hover{color:var(--secondary)}

/* ---------- Contact ---------- */
.form p{margin:0 0 1.5rem}
.form label{display:inline}
.form input[type=text],.form input[type=email],.form textarea{display:block;width:100%;margin-top:6px;font:inherit;font-size:15px;color:var(--text);background:var(--input);border:0;border-radius:.3rem;box-shadow:0 0 0 2px transparent,0 1px 0 rgba(0,0,0,.08) inset;transition:box-shadow .2s}
.form input[type=text],.form input[type=email]{height:42px;line-height:42px;padding:0 12px}
.form textarea{height:120px;padding:9px 15px;line-height:25px;resize:vertical;min-height:42px}
.form input:focus,.form textarea:focus{outline:none;box-shadow:0 0 0 2px var(--primary)}
.btn{display:inline-block;font:inherit;font-size:15px;line-height:42px;padding:0 1.8em;border:0;border-radius:.3em;background:var(--primary);color:var(--bg-dark);cursor:pointer;transition:background-color .3s,color .3s}
.btn:hover{background:var(--text);color:var(--bg-dark)}
@media (max-width:767px){.form p:last-of-type{margin-bottom:0}}
.form__note{font-size:.9rem;margin:0}
.form__note:not(:empty){margin-top:.8rem}
.map{display:block;width:100%;height:400px;border:0}
.iconbox{text-align:center;max-width:25rem;margin:0 auto}
.iconbox__icon{display:block;width:75px;height:75px;line-height:75px;margin:0 auto;border-radius:50%;background:var(--secondary);color:#fff;font-size:30px;text-align:center}
.iconbox__icon .fa,.iconbox__icon svg{vertical-align:top;line-height:75px}
.iconbox__icon svg{width:30px;height:75px;fill:currentColor}
.iconbox h3{padding:.6em 0;margin:0;line-height:1.4}
.iconbox__text a{color:inherit}
.iconbox__text a:hover{color:var(--secondary)}

@media (max-width:767px){.contact-boxes>*{margin-bottom:2rem}.contact-boxes>*:last-child{margin-bottom:0}}

/* ---------- Footer ---------- */
.ftr{background:var(--bg);color:var(--text)}
.ftr__main>.sec__in{padding:1.5rem 0}
.ftr .cols>*{margin-bottom:30px}
.ftr .cols>*:last-child{margin-bottom:0}
.ftr__logo{display:block;margin:0 22.5px 1.5rem 0}
.ftr__logo img{display:block;width:100%;max-width:800px;height:auto}
.ftr p{margin:0 0 1.5rem}
.ftr p:last-child{margin-bottom:0}
.ftr h2{margin-bottom:1rem}
.ftr a{color:#fff}
.ftr a:hover{color:var(--secondary)}
.socials{display:flex;flex-wrap:wrap;margin:0 0 15px;padding:0;list-style:none;font-size:20px}
.socials li{margin:0 4px 4px 0}
.socials a{display:block;position:relative;overflow:hidden;width:2.5em;height:2.5em;line-height:2.5em;text-align:center;border-radius:.25em;background:var(--header);z-index:0}
.socials a .fa{position:relative;line-height:inherit;vertical-align:top}
.socials__fb{color:#42599e!important}
.socials__yt{color:#f00!important}
.socials__ig{color:var(--text)!important}
.socials__ig .fa{font-size:1.2em}
.socials a::before{content:"";position:absolute;left:0;right:0;top:0;height:0;transition:height .3s;z-index:-1}
.socials__fb::before{background:#42599e}
.socials__yt::before{background:#f00}
.socials__ig::before{background:radial-gradient(circle farthest-corner at 32% 106%,#ffe17d 0%,#ffcd69 10%,#fa9137 28%,#eb4141 42%,transparent 82%),linear-gradient(135deg,#234bd7 12%,#c33cbe 58%)}
@media (hover:hover){.socials a:hover{color:#fff!important}.socials a:hover::before{height:100%}}
.copyright{background:var(--bg-dark);color:#9aa1a9;text-align:center}
.copyright .sec__in{padding:1.5rem 0}
.copyright a{color:#cbcfd4;text-decoration:underline;text-underline-offset:2px}
.copyright a:hover{color:var(--secondary)}
@media (min-width:601px){.ftr__main>.sec__in{padding:2.5rem 0}.copyright .sec__in{padding:1.5rem 0}}
@media (min-width:768px){.ftr .cols>*{margin-bottom:0}.ftr h2{margin-bottom:1.5rem}}
@media (min-width:1025px){.ftr__main>.sec__in{padding:4rem 0}.copyright .sec__in{padding:2rem 0}}

/* ---------- Back to top ---------- */
.toplink{position:fixed;z-index:100;right:0;bottom:0;margin:15px;width:50px;height:50px;line-height:50px;text-align:center;font-size:2rem;border-radius:.3rem;background:rgba(0,0,0,.3);color:#fff;transform:translate3d(0,5rem,0);transition:transform .3s}
.toplink.is-active{transform:none}
.toplink:hover{color:#fff}
.toplink .fa{line-height:50px;vertical-align:top}
@media (max-width:600px){.toplink{margin:10px}}

/* ---------- Lightbox ---------- */
.lb{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;background:rgba(11,11,11,.8);padding:40px 50px}
.lb.is-open{display:flex}
.lb-open{overflow:hidden}
.lb__img{max-width:100%;max-height:calc(100vh - 80px);width:auto;height:auto;box-shadow:0 0 8px rgba(0,0,0,.6)}
.lb__btn{position:absolute;background:none;border:0;color:#ccc;cursor:pointer;opacity:.65;padding:0}
.lb__btn:hover,.lb__btn:focus-visible{opacity:1;color:#fff}
.lb__close{top:0;right:0;width:44px;height:44px;font-size:28px;line-height:44px;font-family:Arial,sans-serif}
.lb__prev,.lb__next{top:50%;margin-top:-40px;width:50px;height:80px;font-size:60px}
.lb__prev{left:0}.lb__next{right:0}
.lb__count{position:absolute;right:50px;bottom:10px;color:#ccc;font-size:12px;line-height:18px}

/* ---------- 404 ---------- */
.notfound{text-align:center;min-height:40vh}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* ---------- Helpers ---------- */
.h3-size{font-size:24px}.h4-size{font-size:22px}
@media (min-width:768px){.h3-size{font-size:28px}.h4-size{font-size:24px}}
.title-row{padding-bottom:40px}
.services{padding-bottom:20px}
.sec--gal-intro{padding-top:40px}
.sec--gal-intro>.sec__in{padding:0}
.pt-20{padding-top:20px}.pb-20{padding-bottom:20px}.pb-40{padding-bottom:40px}
.service-icon img{display:block;margin:0 auto 1.5rem}
/* footer stays at the bottom of short pages, as in the original theme */
.canvas{display:flex;flex-direction:column;min-height:100vh}
.canvas>main{flex:1 0 auto}
.empty-col{height:1px}

/* ---------- Search (magnifier at the end of the menu; the form covers the header bar, as on the original) ---------- */
.search{flex:none;margin-right:-12px;line-height:42px}
.search__open{display:block;padding:0 12px;border:0;background:none;color:inherit;font-size:16px;line-height:inherit;cursor:pointer}
.search__open:hover{color:var(--secondary)}
.search__open .fa{vertical-align:top;line-height:inherit}
.search__form{position:absolute;z-index:100;top:0;left:-1.5rem;right:-1.5rem;height:0;overflow:hidden;background:var(--bg-dark);color:#fff;transition:height .3s cubic-bezier(.4,0,.2,1)}
.search.is-open .search__form{height:100%}
.search__form input{position:absolute;top:50%;left:0;width:100%;height:42px;margin-top:-21px;padding:0 3rem 0 1.5rem;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-size:1.4rem;line-height:42px;box-shadow:none;-webkit-appearance:none;appearance:none}
.search__form input::-webkit-search-cancel-button{display:none}
.search__form input::placeholder{color:inherit;opacity:.5}
.search__form input:focus{outline:none}
.search__close{position:absolute;top:50%;right:0;margin-top:-21px;padding:0 1.5rem 0 0;height:42px;line-height:42px;border:0;background:none;color:inherit;font-weight:700;font-size:15px;opacity:.5;cursor:pointer;transition:opacity .3s}
.search__close:hover,.search__close:focus-visible{opacity:1}
.hdr__bar .search{line-height:inherit}
@media (min-width:900px){.hdr__bar .search{line-height:42px}}
/* search results page */
.search-page__form{display:flex;gap:.5rem;max-width:40rem;margin:0 0 1.5rem}
.search-page__form input{flex:1;height:42px;padding:0 12px;font:inherit;color:var(--text);background:var(--input);border:0;border-radius:.3rem}
.search-page__form input:focus{outline:none;box-shadow:0 0 0 2px var(--primary)}
.search-results{list-style:none;margin:0;padding:0}
.search-results li{padding:1.2rem 0;border-top:1px solid var(--border)}
.search-results h2{font-size:22px;margin:0 0 .4rem}
.search-results mark{background:none;color:var(--secondary);font-weight:700}
@media (max-width:767px){.ftr__empty{display:none}}
