:root{
  --yellow:#F8D45C;
  --yellow-soft:#EDD278;
  --grey:#AAAFBE;
  --dark:#0C1409;
  --text:#111;
  --header-h:116px;
  /* єдина шкала шрифтів */
  --fs-h1:clamp(30px,3.6vw,48px);   /* заголовки розділів і сторінок */
  --fs-h2:clamp(20px,1.8vw,24px);   /* підзаголовки: картки, поради, пункти */
  --fs-body:17px;                   /* основний текст */
  --fs-btn:20px;                    /* усі кнопки */
  --lh-body:1.6;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 10px)}
body{font-family:'Montserrat',Arial,sans-serif;color:var(--text);background:#fff;font-size:var(--fs-body);line-height:var(--lh-body);-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:inherit}
p,li,dd,dt{font-size:var(--fs-body);line-height:var(--lh-body)}
.wrap{width:min(1140px,100% - 32px);margin-inline:auto}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:stretch;background:var(--grey);min-height:var(--header-h)}
.logo{background:var(--yellow);display:flex;flex-direction:column;justify-content:center;padding:14px 26px;text-decoration:none;flex:0 0 auto;width:330px}
.logo img{width:270px;height:auto;margin:-18px 0 -14px -14px}
.logo span{font-size:21px;letter-spacing:.02em;white-space:nowrap;line-height:1.2}
.nav{flex:1;display:flex;flex-wrap:wrap;justify-content:flex-end;align-content:center;align-items:center;gap:6px 28px;padding:14px 24px}
.nav a{text-decoration:none;font-weight:700;font-size:15px;letter-spacing:.02em;text-transform:uppercase;padding:1px 2px}
.nav a.active,.nav a:hover{background:var(--yellow)}
.burger{display:none;margin-left:auto;align-self:center;margin-right:16px;background:none;border:0;width:44px;height:44px;cursor:pointer}
.burger span{display:block;height:3px;background:#000;margin:6px 6px;border-radius:2px}

/* ---------- floating contacts ---------- */
.float-icons{position:fixed;right:22px;bottom:80px;z-index:40;display:flex;flex-direction:column;gap:14px}
.float-icons a{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.float-icons svg{width:28px;height:28px;fill:#fff}
.ic-phone{background:#3FB63F}
.ic-tg{background:#2AA3DF;border-radius:50%!important}
.ic-ig{background:linear-gradient(45deg,#F9A13A,#E8344F 45%,#C23AA6)}
.ic-fb{background:#2D58A6;border-radius:4px!important}
.ic-yt{background:#D3302D}

/* ---------- buttons & headings ---------- */
.btn{display:inline-block;background:var(--dark);color:var(--yellow);text-decoration:none;font-weight:800;text-transform:uppercase;letter-spacing:.02em;font-size:var(--fs-btn);padding:18px 30px;line-height:1.1;transition:transform .15s;text-align:center}
.btn:hover{transform:translateY(-2px)}
.h-sec,.page-title,.about-right h2,.stages .left h2,.project h1,.post h1,.offer h1{font-size:var(--fs-h1);font-weight:800;text-transform:uppercase;letter-spacing:.02em;line-height:1.2}
.h-sec{text-align:center}
.bar{display:block;width:168px;height:13px;background:var(--yellow);margin:22px auto 0}
section{padding:70px 0}
.center{text-align:center}

/* ---------- hero (як в оригіналі) ---------- */
.hero{position:relative;padding:0;color:#fff;background:#5a6a3a url(img/hero.jpg) center 35%/cover no-repeat;aspect-ratio:2576/985;min-height:520px;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0 auto 0 0;width:53.4%;background:rgba(0,0,0,.4)}
.hero::after{content:"";position:absolute;inset:0 auto 0 0;width:53.4%;background:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,0) 60%)}
.hero-inner{position:absolute;inset:0;z-index:2}
.hero h1{position:absolute;left:12%;top:7%;width:40%;font-weight:400;font-size:max(2.3vw,26px);line-height:1.15;letter-spacing:.06em}
.y{color:var(--yellow)}
.hero ul{list-style:none;position:absolute;left:14%;top:31%;width:38%}
.hero li{display:flex;align-items:center;font-size:max(1.55vw,16px);letter-spacing:.06em;line-height:1;text-transform:uppercase;margin-bottom:max(2.1vw,14px)}
.hero li::before{content:"";flex:0 0 max(1.1vw,12px);height:max(1.1vw,12px);border-radius:50%;background:var(--yellow);margin-right:max(2.8vw,16px)}
.hero li.gift::before{display:none}
.hero li.gift svg{flex:0 0 max(1.7vw,20px);width:max(1.7vw,20px);height:max(1.7vw,20px);margin:0 max(2.2vw,12px) 0 -.3vw}
.hero .btn{position:absolute;z-index:3;left:50.6%;bottom:0;transform:translateX(-50%);white-space:nowrap;font-size:max(1.4vw,var(--fs-btn));padding:max(1.6vw,16px) max(.9vw,20px)}
.hero .btn:hover{transform:translateX(-50%) translateY(-2px)}

/* ---------- projects ---------- */
.projects{display:grid;grid-template-columns:repeat(2,1fr);gap:50px 42px;max-width:1310px;margin:60px auto 0;padding:0 16px}
.card{text-align:center;text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center}
.card .ph{width:100%;aspect-ratio:1/1;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
.card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card .ph.contain img{object-fit:contain}
.card:hover .ph img{transform:scale(1.03)}
.card h3{font-size:var(--fs-h2);font-weight:700;margin-top:22px}
.card p{margin-top:6px}
.card .btn{margin-top:20px;font-size:16px;padding:12px 26px}

/* ---------- about ---------- */
.about{display:grid;grid-template-columns:1fr 1fr;padding:0;margin-top:20px}
.about-left{background:var(--grey);display:grid;grid-template-columns:1fr 1fr;align-items:end;min-height:560px}
.about-left .who{padding:40px 30px 60px 20%;align-self:center}
.about-left .who p{font-size:var(--fs-h2);line-height:1.35}
.about-left .who .btn{margin-top:50px}
.about-left .photo{height:100%;align-self:stretch}
.about-left .photo img{width:100%;height:100%;object-fit:cover;object-position:top}
.about-right{padding:60px 8% 60px 14%}
.about-right h2{margin-bottom:50px;text-align:center}
.about-right h2 u{text-decoration:none;border-bottom:13px solid var(--yellow)}
.about-right p{line-height:2}

/* ---------- tips (6 порад / врахуємо) — текст у межах висоти фото ---------- */
.tips{display:grid;grid-template-columns:1fr 420px 1fr;gap:0 48px;margin-top:60px;align-items:stretch}
.tips .col{display:flex;flex-direction:column;justify-content:space-between;gap:20px}
.tips .col.l{text-align:right}
.tip .n{font-size:30px;font-weight:300;line-height:1.1}
.tip h4{font-size:var(--fs-h2);font-weight:400;line-height:1.3;margin:6px 0}
.tip p{line-height:1.5}
.tips .mid img{width:100%;height:100%;aspect-ratio:3/4;object-fit:cover}

/* ---------- stages ---------- */
.stages{display:grid;grid-template-columns:1.1fr 1fr;margin-top:30px;padding:0}
.stages .left{padding:10px 30px 60px 4%}
.stages .left img{width:100%;max-width:800px;aspect-ratio:2/1;object-fit:cover;border-radius:22px;box-shadow:0 4px 12px rgba(0,0,0,.25);position:relative;z-index:2}
.stages .left h2{margin:80px 0 0 36px}
.stages .left .bar{margin:16px 0 0 36px}
.stages .left p{margin:80px 0 0 36px;max-width:480px}
.stages .right{background:var(--grey);margin-left:-200px;padding:80px 8% 100px 250px;display:flex;flex-direction:column;gap:12px}
.pill{background:var(--yellow-soft);border-radius:26px;text-align:center;font-size:var(--fs-body);line-height:1.5;padding:14px 18px;max-width:510px}
.pill:nth-child(even){background:var(--yellow)}

/* ---------- faq teaser / contacts ---------- */
.lead{text-align:center;max-width:620px;margin:60px auto 0;padding:0 16px}
.map{width:min(1353px,100% - 32px);height:480px;border:0;margin:60px auto 0;display:block}
.contacts{font-size:var(--fs-h2);text-align:center;line-height:1.5;margin-top:70px}
.contacts a{text-decoration:none}
.bar-sm{display:block;width:92px;height:13px;background:var(--yellow);margin:18px auto 60px}
.social{display:flex;justify-content:center;gap:16px;padding:60px 0}
.social a{width:56px;height:56px;display:grid;place-items:center}
.social svg{width:34px;height:34px;fill:#fff}

/* ---------- inner pages ---------- */
.page-title{text-align:center;margin:20px 0 50px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:start;max-width:1052px;margin:0 auto}
.split p+p{margin-top:20px}
.h-feat{font-size:var(--fs-h2);font-weight:700;max-width:1052px;margin:80px auto 60px}
.feat{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center;max-width:1052px;margin:0 auto 70px}
.feat b{display:block;font-size:var(--fs-h2);margin:8px 0 4px}
.feat .txt{max-width:460px}
.feat img{width:100%;height:auto}
.feat .basalt{max-width:420px;margin:auto}

.offer{max-width:900px;margin:0 auto;padding-left:16px;padding-right:16px}
.offer h1{text-align:center;margin:10px 0 50px}
.offer h1 .y{background:var(--dark);padding:2px 12px;white-space:nowrap}
.offer dl{display:grid;grid-template-columns:260px 1fr;border-top:3px solid var(--yellow)}
.offer dt,.offer dd{padding:16px 0;border-bottom:1px solid #ddd}
.offer dt{font-weight:700;padding-right:24px}

.post{max-width:1118px;margin:24px auto 60px;border:1px solid #cfcfcf;padding:80px 120px}
.post h1{margin-bottom:24px;text-transform:none}
.post .meta{color:#666;font-size:15px;margin-bottom:24px}
.post .ind{padding-left:46px}
.post ul{padding-left:42px;margin:4px 0}
.post .step{margin-top:34px}
.post figure{margin:6px auto 10px;display:flex;justify-content:center;gap:6px}
.post figure img,.post figure video{max-height:560px;width:auto}
.post figure.wide img{max-height:none;width:100%}
.post figure.pair img{width:calc(50% - 3px);max-height:none;object-fit:cover}
.cover{width:100%;margin:0 0 40px}
details{margin:22px 0}
summary{font-weight:700;font-size:var(--fs-h2);cursor:pointer;list-style:none;display:flex;align-items:center;gap:20px;margin-left:-38px}
summary::-webkit-details-marker{display:none}
summary::before{content:"";width:10px;height:10px;border-right:1.5px solid #333;border-bottom:1.5px solid #333;transform:rotate(-45deg);transition:transform .2s}
details[open] summary::before{transform:rotate(45deg)}
details .ans{padding-top:20px}
details .ans ul{margin-top:20px}

.project-video{width:min(1050px,100%);margin:0 auto;background:#000}
.project-video video{width:100%;max-height:72vh;object-fit:contain}
.project h1{width:min(1120px,100% - 32px);margin:60px auto 40px;text-transform:none}
.project-grid{display:grid;grid-template-columns:400px 686px;gap:28px;justify-content:center;align-items:start}
.specs .bar{margin:6px 0 34px;width:137px;height:11px}
.specs .btns{display:flex;flex-direction:column;align-items:flex-start;gap:30px;margin-top:50px}
.specs .btns .btn{min-width:230px}
.gal{display:grid;grid-template-columns:repeat(12,1fr);gap:0}
.gal img{width:100%;height:100%;object-fit:cover;grid-column:span 12}
.gal .s4{grid-column:span 4}.gal .s6{grid-column:span 6}.gal .s8{grid-column:span 8}
.gal .plan{object-fit:contain;background:#fff}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .logo{width:260px}.logo img{width:210px}.logo span{font-size:16px}
  .nav{gap:4px 18px}.nav a{font-size:13px}
  .about-right{padding:50px 6%}
  .stages .right{margin-left:-120px;padding-left:170px}
  .project-grid{grid-template-columns:1fr 1.6fr;padding:0 16px}
  .tips{grid-template-columns:1fr 340px 1fr;gap:0 32px}
}
@media (max-width:900px){
  :root{--header-h:72px;--fs-body:16px;--fs-btn:18px}
  .site-header{flex-wrap:wrap}
  .logo{width:auto;padding:8px 16px}.logo img{width:150px;margin:-10px 0 -8px -8px}.logo span{font-size:12px}
  .burger{display:block}
  .nav{display:none;flex-basis:100%;flex-direction:column;align-items:flex-start;padding:10px 16px 18px;gap:12px}
  .nav.open{display:flex}
  .nav a{font-size:16px}
  section{padding:50px 0}
  .hero{aspect-ratio:auto;min-height:620px;background-position:68% center}
  .hero::before,.hero::after{width:100%}
  .hero::before{background:rgba(0,0,0,.35)}
  .hero h1{left:16px;right:16px;top:28px;font-size:30px}
  .hero ul{left:16px;top:150px;width:calc(100% - 32px)}
  .hero li{font-size:17px;margin-bottom:22px}
  .hero li::before{margin-right:16px}
  .hero .btn{left:50%;font-size:var(--fs-btn);padding:16px 22px}
  .projects{grid-template-columns:1fr;gap:40px}
  .about{grid-template-columns:1fr}
  .about-left{min-height:0}
  .about-left .who{padding:30px 16px}
  .about-left .who .btn{margin-top:26px}
  .about-right{padding:40px 16px}
  .about-right h2{margin-bottom:26px}
  .about-right p{line-height:1.8}
  .tips{grid-template-columns:1fr;gap:28px;padding:0 16px}
  .tips .col{gap:28px}
  .tips .col.l{text-align:left}
  .tips .mid{order:-1}
  .tips .mid img{height:auto}
  .stages{grid-template-columns:1fr}
  .stages .left{padding:0 16px 30px}
  .stages .left h2,.stages .left .bar,.stages .left p{margin-left:0}
  .stages .left h2{margin-top:36px}
  .stages .left p{margin-top:26px}
  .stages .right{margin-left:0;padding:36px 16px}
  .map{height:340px;margin-top:36px}
  .contacts{margin-top:40px;padding:0 16px}
  .bar-sm{margin-bottom:40px}
  .split,.feat{grid-template-columns:1fr;padding:0 16px}
  .feat.rev .txt{order:2}
  .h-feat{padding:0 16px;margin:50px auto 36px}
  .offer dl{grid-template-columns:1fr}
  .offer dt{border-bottom:0;padding-bottom:0}
  .post{border:0;padding:30px 16px}
  .post .ind{padding-left:0}
  .post figure img,.post figure video{max-height:none;width:100%}
  summary{margin-left:0}
  .project h1{margin-top:36px}
  .project-grid{grid-template-columns:1fr}
  .specs .btns{flex-direction:row;flex-wrap:wrap;gap:14px;margin-bottom:30px}
  .specs .btns .btn{min-width:0}
  .float-icons{right:10px;bottom:20px;gap:10px}
  .float-icons a{width:40px;height:40px}
  .float-icons svg{width:24px;height:24px}
}
@media (max-width:520px){
  .about-left{grid-template-columns:1fr}
  .about-left .photo{max-height:420px}
}
.feat>*,.split>*,.project-grid>*,.tips>*{min-width:0}

.note{font-size:14px;color:#555;font-style:italic;margin-top:10px}
.card .note{max-width:420px}
