/* dragocennosti.com.ua — single stylesheet */

/* ---------- fonts ---------- */
@font-face{font-family:"PT Sans";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/ptsans/v12/jizaRExUiTo99u79D0aEwA.ttf) format("truetype")}
@font-face{font-family:"PT Sans";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/ptsans/v12/jizfRExUiTo99u79B_mh0OqtKA.ttf) format("truetype")}
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/robotoslab/v13/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISma2Rm.ttf) format("truetype")}
@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/robotoslab/v13/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjoa4Oma2Rm.ttf) format("truetype")}

/* ---------- base ---------- */
:root{
  --green:#a0ce4e;
  --ink:#333;
  --text:#646464;
  --line:#e5e5e5;
  --slab:"Roboto Slab","Lucida Sans Unicode","Lucida Grande",sans-serif;
  --ui:"Roboto Slab",Arial,Helvetica,sans-serif;
  --btn:"PT Sans",Arial,Helvetica,sans-serif;
  --head:"Roboto Slab",serif;
  --side:280px;
  --h1:80px;
  --h2:48px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--text);font:400 16px/1.69 var(--slab)}
h1,h2,h3,p,ul,ol,figure{margin:0;padding:0}
ul,ol{list-style:none}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
strong{font-weight:700}
iframe{border:0}
.ic{display:inline-block;width:auto;height:1em;fill:currentColor;flex:none}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:#fff;color:#333;padding:8px 12px}
.skip:focus{left:0}

/* ---------- side header ---------- */
.side{position:fixed;top:0;bottom:0;left:0;z-index:10;width:var(--side);overflow-y:auto;background:#fff;box-shadow:1px 0 0 var(--line)}
.logo{display:block;padding:0 60px}
.logo img{width:160px;height:auto;margin:31px 0}
.burger{display:none}
.menu a{display:flex;align-items:center;height:41px;padding:0 60px;border-bottom:1px solid var(--line);color:var(--ink);font:400 14px/37px var(--ui)}
.menu li:first-child a{border-top:1px solid var(--line)}
.menu li:first-child a,.menu li:nth-last-child(2) a{align-items:flex-start;height:40px}
.menu li:first-child a{padding-top:0}
.menu a .ic{height:14px;margin-right:6.3px;align-self:center;color:inherit}
.menu li:first-child a .ic,.menu li:nth-last-child(2) a .ic{align-self:flex-start;margin-top:10.5px}
.menu a[aria-current]{color:var(--green);border-right:3px solid var(--green)}
.menu a[aria-current] .ic{color:var(--green)}
.menu a:hover{color:var(--green)}
.phones{margin:40px 0 0;padding:0 60px;color:#747474;font-size:12px;line-height:20.28px}
.page{margin-left:var(--side)}

/* ---------- title bar ---------- */
.titlebar{display:flex;align-items:center;justify-content:center;min-height:100px;padding:0 10px;background:#333;text-align:center}
.titlebar h1{color:#fff;font:400 var(--h2)/1.3 var(--head)}
.titlebar--alt{background:#363839}
.titlebar--tall{min-height:450px}
.titlebar--tall h1{font-size:70px}

/* ---------- bands ---------- */
.band{padding:0 30px}
.band--top{padding-top:50px;border-top:5px solid var(--green)}
.band--gap{height:21px;padding:0}
.main--details{padding-bottom:50px}
.band h2{font-weight:400}

/* column grid (replaces the Avada 1/2, 1/3, 1/6 ... columns) */
.cols{display:flex;flex-wrap:wrap;column-gap:4%;max-width:100%}
.cols--wide-gap{column-gap:6%}
.col{margin-bottom:20px;min-width:0}
.col--full{width:100%}
.col--half{width:48%}
.col--third{width:30.667%}
.col--sixth{width:15.333%}
.col--two-thirds{width:61.333%}
.col--two-fifths{width:37.6%}
.col--three-fifths{width:56.4%;margin-bottom:50px}
.col--pt50{padding-top:50px}
.col--pb20{padding-bottom:20px}

/* lead paragraphs: the original title block is a flex row with an empty 90px/8px heading before the text */
.lead{display:flex;align-items:center;margin:0 0 30px;font-size:20px;line-height:1.69}
.lead p{margin:0 0 20px}
.lead--center::before,.lead--center::after{content:"";flex:1 1 0}
.lead--center p{margin-left:90px;text-align:center}
.lead--left::before{content:"";flex:0 0 8px}
.lead--left .ta-c{text-align:center}
.lead ul{margin:20px 0;padding-left:40px;list-style:disc;text-align:left}
.lead--lg{font-size:30px}
.lead--top{margin-top:50px}
.lead--flush{margin-bottom:0}
.lead--tight{margin:15px 0}
.lead--h6{display:block;margin:0 0 20px}
.lead--h6 p{margin:0;color:#444;letter-spacing:3px;font-family:var(--ui);line-height:30.8px;text-align:center}

/* framed photos */
.photo{position:relative;margin-left:25px;overflow:hidden;box-shadow:0 0 3px rgba(0,0,0,.3)}
.photo--framed{border:5px solid #444}
.photo--small{width:calc(100% - 25px);max-width:735px;margin-left:auto}
.photo img{width:100%;transition:opacity 1s,transform 1s}
.photo:hover img{opacity:.9;transform:scale3d(1.1,1.1,1)}

/* price iframes */
.pricebox{text-align:center}
.pricebox--all{min-height:1000px}
.pricebox--parts{min-height:9000px}
.pricebox iframe{width:40%;overflow:hidden}
.map{width:100%;height:400px}

/* price tiles (page "tseny-na-detali") */
.tiles{display:grid;grid-template-columns:1fr 1fr;margin-bottom:70px;border-top:5px solid var(--green)}
.tile{position:relative;isolation:isolate;overflow:hidden;padding:20% 10%;text-align:center}
.tile::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(0,0,0,.7) var(--img) center/cover no-repeat;background-blend-mode:overlay;transform:scale(1.12);transition:opacity 1s,transform 1s}
.tile:hover::before{opacity:.9;transform:none}
.tile--metals{--img:url(/img/design/tile-metals.jpg)}
.tile--parts{--img:url(/img/upload/km-zelenye-ostatok.jpg)}
.tile h2{margin-bottom:20px;color:#fff;font:400 40px/1.6 var(--head)}

/* contacts page */
.band--contacts{padding-top:0}
.col--card{padding:27px 25px 18px;background:#fff}
.card-title{margin-bottom:10px;color:#444;font:400 28px/1.6 var(--head);text-align:center}
.checklist{margin-top:10px}
.checklist li{display:flex;gap:14px;padding:5.5px 0}
.checklist span{flex:1}
.checklist li:first-child{padding-top:0}
.checklist .ic{box-sizing:border-box;width:34px;height:34px;padding:7px;color:var(--green)}
.checklist--lg{font-size:20px;line-height:34px}
.checklist--lg li{align-items:flex-start}

/* ---------- buttons ---------- */
.btn{display:inline-block;padding:13px 29px;border:2px solid rgba(255,255,255,.8);border-radius:2px;background:rgba(255,255,255,.63) linear-gradient(to top,rgba(255,255,255,.5),rgba(255,255,255,.63));color:rgba(0,0,0,.8);font:700 14px/17px "PT Sans",serif;letter-spacing:1px;text-transform:uppercase;text-align:center;transition:all .2s}
.btn:hover,.btn:focus{border-color:#fff;background:rgba(255,255,255,.25);color:#fff}
.btn--xl{position:relative;padding:17px 40px 17px 85px;font-size:18px;line-height:21px}
.btn--xl .ic{position:absolute;top:50%;left:18.5px;height:18px;margin-top:-9px}

/* ---------- home ---------- */
.hero{margin-bottom:30px;padding:30px 0;background:rgba(0,0,0,.7) url(/img/design/bg-hero.jpg) center/cover no-repeat;background-blend-mode:hue}
.hero h1{margin-bottom:30px;color:#fff;font:400 var(--h1)/1.14 var(--head);text-align:center}
.hero-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:4%;margin-bottom:20px}
.hero-actions .btn{display:block;grid-column:2}
.hero-actions .btn+.btn{grid-column:3}

/* tabs */
.band--tabs{padding-bottom:70px}
.tabs-nav{display:table;width:100%;margin-bottom:-1px}
.tabs-nav li{display:table-cell;width:1%}
.tabs-nav button,.acc-head button{display:block;width:100%;padding:14px 15px;border:1px solid #e2e2e2;background:#f6f6f6;color:#444;font:400 18px/33.66px var(--head);text-align:center;cursor:pointer}
.tabs-nav button{width:calc(100% + 1px);margin-right:-1px}
.tabs-nav button[aria-selected="true"],.acc-head button[aria-expanded="true"]{background:var(--green)}
.tabs .ic{height:13px;margin-right:10px;vertical-align:-1px}
.acc-head{display:none}
.tab-panel{display:flex;gap:4%;margin-top:40px;padding:15px 0}
.tab-panel[hidden]{display:none}
.tab-panel .photo{flex:0 0 48%;margin:0;align-self:flex-start}
.tab-text{flex:0 0 48%;min-width:0;padding-bottom:22px}
.tab-text h2{margin-bottom:15px;color:var(--ink);font:400 24px/1.2 var(--head)}
.tab-text ul{padding:0 20px 5.5px;list-style:circle;font-size:18px;line-height:30.6px}

/* parallax-like backgrounds */
.band--bg{position:relative;isolation:isolate;background:rgba(0,0,0,.8)}
.band--bg::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(0,0,0,.8) var(--bg) var(--pos,center) / cover no-repeat;background-blend-mode:overlay}
.band--steps{--bg:url(/img/design/bg-steps.jpg);--pos:center bottom}
.band--counters{--bg:url(/img/design/bg-counters.jpg)}
.band--cta{--bg:url(/img/design/bg-cta.jpg);--pos:center top}

/* steps */
.band--steps{padding-top:60px;padding-bottom:90px}
.band--steps h2,.band--cta h2{color:#fff;font:400 var(--h2)/1.2 var(--head);text-align:center}
.band--steps h2{margin-bottom:30px}
.steps{display:flex;flex-wrap:wrap;margin:0 -15px}
.steps li{position:relative;flex:0 0 20%;min-width:0;margin-bottom:20px;padding:0 15px 15px;text-align:center}
.steps li::after{content:"";position:absolute;top:34px;left:50%;width:100%;margin-right:10px;border-top:1px solid var(--green)}
.steps li:last-child::after{display:none}
.steps .ring{display:block;position:relative;z-index:1;box-sizing:content-box;width:30px;height:30px;margin:0 auto 15px;padding:19px;border-radius:50%;background:var(--green);color:#fff}
.steps .ic{display:block;width:100%;height:100%}
.steps h3{color:#fff;font:400 22px/27px var(--head)}
.band-note{margin:0 0 20px;font-size:20px;line-height:1.69;font-weight:700;text-align:center}
.band-note--h6{color:#fff;letter-spacing:3px;font-family:var(--ui);line-height:30.8px}
.steps--3{margin-bottom:0}
.steps--3 li{flex:0 0 33.3333%}
.steps--3 li::after{top:50px}
.steps--big .ring{width:50px;height:50px;padding:25px}
.steps--big h3{color:var(--ink)}

/* process */
.band--process{padding-top:60px;padding-bottom:110px;background:rgba(255,255,255,.7)}
.band--process h2{margin-bottom:30px;color:#444;font:400 var(--h2)/1.2 var(--head);text-align:center}
.note{position:relative;margin-bottom:20px;padding:25px;border:1px solid #808080;background:#fff;color:#808080;text-transform:uppercase;display:flex;gap:16px}
.note .ic{width:21.3px;height:21.3px;margin-top:2px}
.note p{flex:1}
.note-close{position:absolute;top:-1px;right:-1px;width:27px;height:27px;padding:0;border:1px solid #808080;background:#fff;color:#808080;font:700 21px/1 Arial,sans-serif;cursor:pointer}

/* counters */
.band--counters{padding-top:100px;padding-bottom:90px}
.counters{display:flex;flex-wrap:wrap;margin:0 -7px}
.counters li{flex:0 0 20%;min-width:0;margin-bottom:14px;padding:21px 28px}
.counters li>*{text-align:center}
.counters .ic{display:block;width:100%;height:50px;color:#fff}
.counter-num{color:#fff;font-size:70px;line-height:normal}
.counter-label{color:#fff;font-size:18px;line-height:30.42px}

/* delivery */
.delivery{display:grid;grid-template-columns:1fr 1fr 1fr}
.delivery-img{position:relative;isolation:isolate;overflow:hidden;background:#1a1a1a}
.delivery-img::before{content:"";position:absolute;inset:0;z-index:-1;background:#1a1a1a var(--img) center top/cover no-repeat;transform:scale(1.12);transition:opacity 1s,transform 1s}
.delivery-img:hover::before{opacity:.9;transform:none}
.delivery-img--left{--img:url(/img/design/np-left.jpg)}
.delivery-img--right{--img:url(/img/design/np-right.jpg)}
.delivery-text{padding:10%;text-align:center}
.delivery-text img{margin:45px auto 20px}
.delivery-text h2{margin-bottom:15px;color:var(--ink);font:400 22px/27px var(--head)}
.delivery-text p{margin-bottom:60px;color:#747474}

/* cta + contact */
.band--cta{padding-top:80px;padding-bottom:80px}
.band--cta h2{margin-bottom:40px}
.band--cta p{text-align:center}
.band--contact{padding-top:60px;padding-bottom:90px}
.band--contact .map{margin-top:20px}
.contact-cols h2{margin:0 auto 50px;max-width:61.333%;color:#444;font:400 var(--h2)/1.2 var(--head);text-align:center}

/* footer */
.foot{padding:18px 10px 16px;border-top:1px solid #4b4c4d;background:#282a2b;color:#8c8989;font-size:13px;line-height:21.97px;text-align:center}
.foot:empty{padding-bottom:16px}
.foot a{color:inherit}

/* ---------- mobile header (<= 920px) ---------- */
@media (max-width:920px){
  .side{display:flow-root;position:static;width:auto;padding:20px 30px;overflow:visible;box-shadow:none}
  .logo{float:left;max-width:100%;padding:0}
  .logo img{width:356px;max-width:100%;margin:0}
  .burger{display:block;float:right;margin:20px 0 0 20px;padding:0;border:0;background:none;color:#000;cursor:pointer;line-height:0}
  .burger .ic{width:21px;height:21px}
  .menu{display:none;clear:both;margin:0 -30px -20px;padding-top:20px}
  .side.is-open .menu{display:block}
  .menu ul{border-top:1px solid #dadada}
  .menu a,.menu li:first-child a,.menu li:nth-last-child(2) a{height:50px;align-items:center;padding:0 12px 0 30px;border:0;border-bottom:1px solid #dadada;background:#f9f9f9;font:400 15px/50px "PT Sans",serif}
  .menu a[aria-current]{border-right:0;background:#f6f6f6;color:#333}
  .menu a .ic{display:none}
  .phones{display:none}
  .page{margin-left:0}
}

/* ---------- layout below the side-header breakpoint (content column <= 800px) ---------- */
@media (max-width:1080px){
  /* columns stack */
  .cols{display:block}
  .col{display:flow-root}
  .col,.col--half,.col--third,.col--sixth,.col--two-thirds,.col--two-fifths,.col--three-fifths{width:auto}
  .col--sixth{height:1px;padding:0}
  .lead,.lead--top,.lead--flush{margin:0 0 20px}
  .tiles{display:block}
  .titlebar{padding:5px 10px}
  .titlebar--tall{min-height:250px}
  .card-title{margin-bottom:20px}
  .band--contacts{display:flow-root}
  /* home page */
  .hero-actions{display:block;padding-top:10px;margin-bottom:40px}
  .hero-actions .btn{display:table;margin:0 auto 20px}
  .tab-panel{display:block}
  .tab-text{padding-bottom:27.4px}
  .tab-text h2{margin-bottom:20px}
  .tab-text ul{padding-bottom:0}
  .tab-panel .photo{margin-bottom:30px}
  .steps li,.counters li,.steps--3 li{flex:0 0 100%}
  .steps li{margin-bottom:55px;padding-bottom:0}
  .steps li::after{display:none}
  .band--steps h2,.band--process h2{margin-bottom:20px}
  .steps--3+.lead--tight{margin:0 0 20px}
  .counters li{padding:21px 36px 26.9px}
  .band--counters{padding-bottom:70px}
  .delivery{grid-template-columns:1fr;grid-auto-rows:1fr}
  .delivery-text p{margin-bottom:55px}
  .band--cta h2{margin-bottom:20px}
  .band--contact{padding-top:80px}
  .contact-cols h2{max-width:none;margin-bottom:61px}
}

/* the tab strip turns into an accordion one pixel earlier */
@media (max-width:1079px){
  .tabs-nav{display:none}
  .band--tabs{padding-top:20px}
  .acc-head{display:block;margin-bottom:10px}
  .tab-panel{margin:30px 0 20px}
}

/* 3-up steps and counters */
@media (min-width:768px) and (max-width:900px){
  .steps,.counters{align-items:flex-start}
  .steps li,.counters li{flex:0 0 33.3333%}
  .steps li{padding-bottom:20px}
  .steps li::after{display:block}
  .steps li:nth-child(3n)::after{display:none}
  .counters li{padding-bottom:21px;margin-bottom:20px}
}

@media (min-width:458px) and (max-width:920px){.burger{margin-top:28px}}

@media (max-width:800px){
  :root{--h1:calc(32px + 6vw);--h2:calc(19.2px + 3.6vw)}
  .titlebar--tall h1{font-size:calc(28px + 5.25vw)}
  .card-title{font-size:max(23.6px,calc(12.2px + 1.9vw))}
  .tile h2{font-size:calc(16px + 3vw)}
}
@media (max-width:767px){.delivery-img{display:none}}
@media (max-width:768px){
  .pricebox iframe{width:100%}
  .pricebox--parts{min-height:10000px}
}
@media (max-width:640px){
  .cols{display:flow-root}
  .tiles{margin-bottom:120px}
  .pricebox,.band--contact{margin-bottom:50px}
}

/* price iframe widths */
@media (min-width:768px){.pricebox iframe{width:90%}}
@media (min-width:1200px){.pricebox iframe{width:62%}}
@media (min-width:1440px){.pricebox iframe{width:40%}}

@media (prefers-reduced-motion:reduce){*,*::before{transition:none!important}}
