:root{
  --white:#fff;
  --cream:#f5f1eb;
  --line:#d8d1c8;
  --text:#171716;
  --muted:#6d665f;
  --accent:#b9aa97;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:#fff}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{display:block;width:100%}
.container{width:min(1220px,calc(100% - 64px));margin:0 auto}
.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(0,0,0,.05)}
.topbar__inner{height:72px;display:grid;grid-template-columns:auto 1fr auto auto;gap:28px;align-items:center}
.brand{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;font-size:20px;font-weight:300;letter-spacing:.18em;line-height:1}
.brand span{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:7px;letter-spacing:.12em;color:#7b746d;margin-top:6px}
.nav{display:flex;justify-content:center;gap:30px}
.nav a,.footer-nav a{font-size:11px;text-transform:uppercase;letter-spacing:.07em}
.btn{background:#171716;color:#fff;border:0;min-height:46px;padding:0 22px;text-transform:uppercase;font-size:10px;letter-spacing:.05em}
.btn--compact{min-height:40px;padding:0 16px}
.burger{display:none;background:none;border:0}.burger span{display:block;width:23px;height:1px;background:#171716;margin:6px 0}

.hero{background:#fff}
.hero__grid{display:grid;grid-template-columns:.78fr 1.22fr;min-height:560px}
.hero__copy{padding:70px 52px 60px 0;display:flex;flex-direction:column;justify-content:center}
.hero h1,.presence h2,.final h2{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;font-weight:300}
.hero h1{font-size:clamp(50px,5vw,76px);line-height:1.05;letter-spacing:-.03em;margin:0 0 24px}
.hero h1 span{display:block;color:#978f86}
.hero p{font-size:15px;line-height:1.75;color:#5f5952;max-width:520px;margin:0 0 28px}
.hero__image img{height:560px;object-fit:cover}

.presence{background:var(--cream);padding:42px 0 36px}
.presence__top{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px}
.presence h2{font-size:34px;line-height:1.15;margin:0}
.presence__top p{font-size:14px;line-height:1.75;color:#605a54;margin:0}
.presence__items{display:grid;grid-template-columns:repeat(4,1fr);margin-top:28px}
.presence__items>div{display:flex;align-items:center;gap:12px;padding:12px 24px 12px 0;border-right:1px solid var(--line)}
.presence__items>div:last-child{border-right:0}
.presence__items span{width:30px;height:30px;border-radius:50%;border:1px solid var(--accent);display:flex;align-items:center;justify-content:center;color:#8e8274}
.presence__items b{font-size:12px;font-weight:500}

.section{padding:46px 0}
.section--white{background:#fff}
.section-title{font-size:25px;font-weight:500;margin:0 0 20px}
.services{display:grid;grid-template-columns:1.25fr .75fr .75fr .75fr;gap:12px}
.service{border:1px solid #e4ddd4;background:#fff;min-height:315px;overflow:hidden}
.service img{height:160px;object-fit:cover}
.service__body{padding:18px}
.service h3{font-size:18px;line-height:1.15;margin:0 0 9px}
.service p{font-size:12px;line-height:1.6;color:#655f58;margin:0}
.service--main{position:relative}
.service--main img{height:315px}
.service__overlay{position:absolute;left:0;top:0;bottom:0;width:52%;background:rgba(235,228,217,.9);padding:24px;display:flex;flex-direction:column;justify-content:center}
.service__overlay h3{font-size:27px}

.price{background:var(--cream)}
.price__grid{display:grid;grid-template-columns:.72fr 1.28fr}
.price__copy{padding:52px 44px 46px 0;display:flex;flex-direction:column;justify-content:center}
.price__copy h2{font-size:24px;margin:0 0 16px}
.price__value{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;font-size:clamp(54px,5vw,78px);font-weight:300;line-height:1}
.price__value span{font-size:.35em}
.price__copy p{margin:18px 0 2px;font-size:13px}
.price__copy small{font-size:10px;color:#827b74;margin-bottom:20px}
.price__image img{height:360px;object-fit:cover}

.steps{display:grid;grid-template-columns:repeat(6,1fr);position:relative;padding-top:4px}
.steps:before{content:"";position:absolute;top:20px;left:1%;right:1%;height:1px;background:var(--line)}
.steps article{position:relative;padding-right:16px}
.steps article>span{position:relative;z-index:2;width:34px;height:34px;border-radius:50%;border:1px solid var(--accent);background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:18px;font-size:11px}
.steps h3{font-size:12px;margin:0 0 8px}
.steps p{font-size:10px;line-height:1.55;color:#655f58;margin:0}

.projects{background:var(--cream);padding:46px 0}
.projects__head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:16px}
.tabs{display:flex;gap:4px}.tab{border:0;background:none;padding:8px 12px;font-size:11px;color:#7b746d;border-bottom:1px solid transparent}.tab.active{color:#171716;border-color:#171716}
.gallery{display:grid;grid-template-columns:1.35fr .95fr;gap:12px}
.gallery__main{position:relative;border:0;padding:0;background:none;min-height:430px;overflow:hidden}
.gallery__main img{height:100%;object-fit:cover}
.gallery__main:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 62%,rgba(0,0,0,.52))}
.gallery__caption{position:absolute;z-index:2;left:18px;bottom:16px;color:#fff;text-align:left}
.gallery__caption strong,.gallery__caption span{display:block}.gallery__caption strong{font-size:17px}.gallery__caption span{font-size:11px}
.gallery__thumbs{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:12px}
.thumb{position:relative;border:0;padding:0;background:none;overflow:hidden}
.thumb img{height:100%;object-fit:cover}
.thumb__label{position:absolute;left:12px;bottom:10px;color:#fff;text-align:left;text-shadow:0 1px 8px rgba(0,0,0,.4)}
.thumb__label strong,.thumb__label span{display:block}.thumb__label strong{font-size:12px}.thumb__label span{font-size:10px}

.guarantees{background:#fff;padding:22px 0 30px}
.guarantees__row{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.guarantees__row div{padding:14px 18px;text-align:center;border-right:1px solid var(--line);font-size:11px}
.guarantees__row div:last-child{border-right:0}

.final{background:var(--cream)}
.final__grid{display:grid;grid-template-columns:.72fr 1.28fr;align-items:center}
.final__grid>div:first-child{padding:40px 40px 40px 0}
.final h2{font-size:36px;line-height:1.1;margin:0 0 12px}.final p{font-size:13px;line-height:1.65;color:#625c55;margin:0 0 18px}.final img{height:250px;object-fit:cover}

footer{background:#fff;border-top:1px solid var(--line);padding:24px 0 28px}
.footer__grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;align-items:start}
.footer-nav{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.footer-contact{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:10px;color:#716a63}
.footer-contact .phone{font-size:16px;color:#171716;font-weight:500;letter-spacing:.01em}
.footer-contact div{display:flex;gap:14px;margin-top:4px;font-size:11px;color:#171716}

.mobile-menu{position:fixed;inset:0;z-index:60;background:var(--cream);padding:24px;transform:translateY(-100%);transition:.3s;display:flex;flex-direction:column}
.mobile-menu.open{transform:none}.mobile-menu__head{display:flex;justify-content:space-between;align-items:center}.mobile-menu nav{display:flex;flex-direction:column;gap:20px;margin:60px 0 28px}.mobile-menu nav a{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;font-size:34px}.x{border:0;background:none;font-size:34px}
.modal{display:none;position:fixed;inset:0;z-index:80}.modal.open{display:block}.modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.42);backdrop-filter:blur(5px)}.modal__panel{position:absolute;right:0;top:0;height:100%;width:min(520px,100%);background:#fff;padding:48px 36px;overflow:auto}.modal__panel h2{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;font-weight:300;font-size:42px;margin:0 0 24px}.modal__panel .x{position:absolute;right:16px;top:10px}.modal form{display:grid;gap:12px}.modal input,.modal select,.modal textarea{border:1px solid var(--line);background:var(--cream);padding:13px;outline:none}.modal textarea{min-height:110px}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,100px);background:#171716;color:#fff;padding:13px 16px;font-size:12px;z-index:90;transition:.3s}.toast.show{transform:translate(-50%,0)}
.mobile-fixed{display:none}

@media(max-width:980px){
  .container{width:min(100% - 32px,900px)}
  .topbar__inner{grid-template-columns:auto 1fr auto}
  .nav,.topbar .btn{display:none}.burger{display:block;justify-self:end}
  .hero__grid,.presence__top,.price__grid,.final__grid{grid-template-columns:1fr}
  .hero__copy{padding:48px 0 36px}.hero__image img{height:430px}
  .presence__items{grid-template-columns:1fr 1fr}.presence__items>div:nth-child(even){border-right:0}
  .services{grid-template-columns:1fr 1fr}.service--main{grid-column:1/-1}
  .steps{grid-template-columns:repeat(3,1fr);gap:26px 12px}.steps:before{display:none}
  .gallery{grid-template-columns:1fr}.gallery__thumbs{grid-template-columns:repeat(3,1fr);grid-template-rows:none}.thumb{min-height:150px}
  .guarantees__row{grid-template-columns:1fr 1fr}.guarantees__row div:nth-child(even){border-right:0}.guarantees__row div:last-child{grid-column:1/-1}
  .footer__grid{grid-template-columns:1fr}.footer-nav{justify-content:flex-start}.footer-contact{align-items:flex-start}
}
@media(max-width:640px){
  .container{width:calc(100% - 28px)}
  .topbar__inner{height:64px}.brand{font-size:17px}
  .hero h1{font-size:44px}.hero p{font-size:14px}.hero .btn{width:100%}.hero__image img{height:340px}
  .presence{padding:38px 0}.presence h2{font-size:34px}.presence__top{gap:20px}.presence__items{grid-template-columns:1fr}.presence__items>div{border-right:0}
  .services{grid-template-columns:1fr}.service__overlay{width:68%}.service--main img{height:400px}
  .price__copy{padding:40px 0}.price__image img{height:280px}
  .steps{grid-template-columns:1fr 1fr}
  .projects__head{align-items:flex-start;flex-direction:column;gap:12px}.tabs{width:100%}.tab{flex:1}
  .gallery__main{min-height:390px}.gallery__thumbs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.thumb{min-width:72%;height:160px;scroll-snap-align:start}
  .guarantees__row{grid-template-columns:1fr}.guarantees__row div{border-right:0}.guarantees__row div:last-child{grid-column:auto}
  .final__grid>div:first-child{padding:36px 0}.final h2{font-size:36px}.final img{height:250px}
  footer{padding-bottom:86px}
  .mobile-fixed{display:block;position:fixed;left:14px;right:14px;bottom:14px;z-index:40;width:calc(100% - 28px);box-shadow:0 8px 24px rgba(0,0,0,.12)}
}


/* Final polish: footer alignment */
.footer-contact{
  align-items:center;
  justify-self:end;
  text-align:center;
  min-width:220px;
  gap:7px;
}
.footer-contact .phone{
  font-size:15px;
  line-height:1.2;
  font-weight:500;
  letter-spacing:0;
}
.footer-contact>span{
  font-size:10px;
  line-height:1.4;
}
.footer-contact div{
  justify-content:center;
  gap:24px;
  width:100%;
  margin-top:6px;
}

/* Final polish: presence facts equal geometry */
.presence__items{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.presence__items>div{
  position:relative;
  border-right:0;
  padding:12px 26px;
  min-height:58px;
}
.presence__items>div:not(:last-child)::after{
  content:"";
  position:absolute;
  top:8px;
  right:0;
  bottom:8px;
  width:1px;
  background:var(--line);
}
.presence__items span{
  flex:0 0 30px;
}

/* Final polish: process line joins circles cleanly */
.steps{
  --circle:34px;
  column-gap:0;
}
.steps::before{
  display:none;
}
.steps article{
  position:relative;
  padding:0 22px 0 0;
}
.steps article:not(:last-child)::after{
  content:"";
  position:absolute;
  z-index:0;
  top:calc(var(--circle) / 2);
  left:calc(var(--circle) / 2);
  right:calc(-1 * var(--circle) / 2);
  height:1px;
  background:var(--line);
}
.steps article>span{
  position:relative;
  z-index:2;
  background:#fff;
}
.steps article:last-child::after{display:none}

/* Final polish: 1 large + 2 small projects */
.gallery{
  grid-template-columns:1.55fr .65fr;
}
.gallery__thumbs{
  grid-template-columns:1fr;
  grid-template-rows:1fr 1fr;
}
.thumb{
  min-height:0;
}

@media(max-width:980px){
  .footer-contact{
    justify-self:start;
    align-items:flex-start;
    text-align:left;
  }
  .footer-contact div{justify-content:flex-start}
  .presence__items>div:nth-child(even)::after{display:none}
  .gallery__thumbs{
    grid-template-columns:1fr 1fr;
    grid-template-rows:none;
  }
}
@media(max-width:640px){
  .presence__items>div::after{display:none!important}
  .steps article{
    padding-right:12px;
  }
  .steps article::after{display:none!important}
  .gallery__thumbs{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
  }
  .thumb{
    min-width:78%;
    height:170px;
    scroll-snap-align:start;
  }
  .footer-contact{
    align-items:flex-start;
    text-align:left;
    min-width:0;
  }
}

.gallery .gallery__thumbs{
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:1fr 1fr;
  gap:12px;
}
@media(max-width:980px){
  .gallery .gallery__thumbs{
    grid-template-columns:1fr 1fr;
    grid-template-rows:none;
  }
}
@media(max-width:640px){
  .gallery .gallery__thumbs{
    display:flex;
  }
}


/* ===== Guarantees: approved card design ===== */
.guarantees{
  background:#fff;
  padding:54px 0 62px;
}
.guarantees .section-title{
  margin-bottom:30px;
}
.guarantees__cards{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}
.guarantee-card{
  background:#f7f2ec;
  border:1px solid #eee7de;
  min-height:185px;
  padding:26px 26px 24px;
  border-radius:6px;
  transition:background-color .2s ease, transform .2s ease;
}
.guarantee-card:hover{
  background:#f3ece3;
  transform:translateY(-2px);
}
.guarantee-card__num{
  display:block;
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;
  font-size:29px;
  font-weight:300;
  color:#b7a894;
  line-height:1;
}
.guarantee-card__line{
  display:block;
  width:48px;
  height:1px;
  background:#b7a894;
  margin:24px 0 28px;
}
.guarantee-card h3{
  margin:0;
  font-size:18px;
  line-height:1.28;
  font-weight:500;
}

/* Remove old table-like guarantees styles */
.guarantees__row{display:none!important}

/* ===== Final footer polish ===== */
.footer__grid{
  align-items:center;
}
.footer-nav{
  align-self:center;
}
.footer-contact{
  align-items:center!important;
  text-align:center!important;
  justify-self:end!important;
  min-width:220px;
}
.footer-contact .phone{
  font-size:15px!important;
  font-weight:500;
  line-height:1.15;
}
.footer-contact>span{
  font-size:10px;
  line-height:1.35;
}
.footer-contact div{
  display:flex;
  justify-content:center!important;
  gap:26px!important;
  width:100%;
}

/* ===== Presence divider correction ===== */
.presence__items{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.presence__items>div{
  position:relative;
  border-right:0!important;
  padding:12px 26px 12px 0!important;
}
.presence__items>div:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:7px;
  bottom:7px;
  width:1px;
  background:var(--line);
}
.presence__items span{
  flex:0 0 30px;
}

/* ===== Process line correction ===== */
.steps{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  position:relative;
  padding-top:4px;
}
.steps::before{
  display:none!important;
}
.steps article{
  position:relative;
  padding-right:20px!important;
}
.steps article:not(:last-child)::after{
  content:"";
  position:absolute;
  z-index:0;
  top:17px;
  left:17px;
  right:-17px;
  height:1px;
  background:var(--line);
}
.steps article>span{
  position:relative;
  z-index:2;
  background:#fff;
}

/* ===== Projects: exactly one large + two small ===== */
.gallery{
  grid-template-columns:1.6fr .7fr!important;
}
.gallery .gallery__thumbs{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:1fr 1fr!important;
  gap:12px!important;
}
.thumb{
  min-height:0!important;
}

/* ===== Responsive ===== */
@media(max-width:980px){
  .guarantees__cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .guarantee-card:last-child{
    grid-column:1/-1;
  }
  .footer-contact{
    justify-self:start!important;
    align-items:flex-start!important;
    text-align:left!important;
  }
  .footer-contact div{
    justify-content:flex-start!important;
  }
  .presence__items>div:nth-child(even)::after{
    display:none;
  }
  .gallery .gallery__thumbs{
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:none!important;
  }
}
@media(max-width:640px){
  .guarantees__cards{
    display:flex;
    overflow-x:auto;
    gap:12px;
    scroll-snap-type:x mandatory;
    padding-bottom:4px;
  }
  .guarantee-card{
    min-width:78%;
    scroll-snap-align:start;
  }
  .presence__items>div::after{
    display:none!important;
  }
  .steps article::after{
    display:none!important;
  }
  .gallery .gallery__thumbs{
    display:flex!important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
  }
  .thumb{
    min-width:78%!important;
    height:170px!important;
    scroll-snap-align:start;
  }
  .footer-contact{
    min-width:0;
  }
}


/* Remove vertical divider lines from the presence facts block */
.presence__items>div::after{
  display:none!important;
  content:none!important;
}
.presence__items>div{
  border-right:0!important;
}

/* Refine spacing after removing dividers */
.presence__items{
  column-gap:28px!important;
}
.presence__items>div{
  padding:12px 0!important;
}

/* Header brand alignment fix */
.topbar .brand,
.footer__grid .brand{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
}
.topbar .brand span,
.footer__grid .brand span{
  width:100%;
  text-align:left;
  letter-spacing:.08em!important;
  margin-left:0!important;
}


/* Process section: distribute all six steps across the full content width */
#process .container{
  width:min(1400px,calc(100% - 80px));
}
#process .steps{
  width:100%;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#process .steps article{
  width:100%;
  padding-right:28px!important;
}
#process .steps article:last-child{
  padding-right:0!important;
}
#process .steps article:not(:last-child)::after{
  left:17px;
  right:-17px;
}
#process .steps h3,
#process .steps p{
  max-width:190px;
}

@media(max-width:980px){
  #process .container{
    width:min(100% - 32px,900px);
  }
}
@media(max-width:640px){
  #process .container{
    width:calc(100% - 28px);
  }
}


/* ===== Projects v7: two real projects ===== */
.projects-v7{
  background:#f7f3ed;
  padding:72px 0 82px;
}
.projects-v7__head{
  align-items:end;
  margin-bottom:28px;
}
.projects-v7__head p{
  margin:0 0 4px;
  color:var(--muted);
  font-size:13px;
}
.project-grid-v7{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.project-card-v7{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  position:relative;
  height:520px;
  overflow:hidden;
  background:#ddd;
  cursor:pointer;
  text-align:left;
}
.project-card-v7 img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .45s ease;
}
.project-card-v7:hover img{ transform:scale(1.018); }
.project-card-v7__shade{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(18,17,15,.60) 0%,rgba(18,17,15,.08) 43%,rgba(18,17,15,0) 68%);
}
.project-card-v7__caption{
  position:absolute;
  left:28px;
  right:28px;
  bottom:26px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  color:#fff;
}
.project-card-v7__caption strong{
  font-size:24px;
  line-height:1.18;
  font-weight:500;
}
.project-card-v7__caption span{
  font-size:13px;
  white-space:nowrap;
  opacity:.92;
}

/* Project gallery overlay */
.project-viewer{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
}
.project-viewer.open{display:block}
.project-viewer__overlay{
  position:absolute;
  inset:0;
  background:rgba(18,17,15,.68);
  backdrop-filter:blur(5px);
}
.project-viewer__panel{
  position:absolute;
  inset:28px;
  max-width:1420px;
  margin:auto;
  background:#f7f3ed;
  padding:26px;
  overflow:auto;
}
.project-viewer__close{
  position:absolute;
  z-index:5;
  right:22px;
  top:18px;
  border:0;
  background:transparent;
  font-size:31px;
  font-weight:300;
  cursor:pointer;
  line-height:1;
}
.project-viewer__meta{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  padding:4px 48px 20px 2px;
}
.project-viewer__eyebrow{
  display:block;
  margin-bottom:6px;
  color:var(--muted);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.project-viewer__meta h2{
  margin:0;
  font-size:32px;
  font-weight:400;
}
.project-viewer__area{
  color:var(--muted);
  font-size:13px;
}
.project-viewer__stage{
  position:relative;
  height:min(68vh,760px);
  min-height:430px;
  background:#ece7e0;
  overflow:hidden;
}
.project-viewer__stage img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.project-viewer__arrow{
  position:absolute;
  z-index:3;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(20,20,20,.38);
  color:#fff;
  font-size:20px;
  cursor:pointer;
}
.project-viewer__arrow--prev{left:16px}
.project-viewer__arrow--next{right:16px}
.project-viewer__thumbs{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
  margin-top:10px;
}
.project-viewer__thumbs button{
  border:1px solid transparent;
  padding:0;
  background:transparent;
  height:90px;
  cursor:pointer;
  opacity:.62;
}
.project-viewer__thumbs button.active{
  border-color:#171614;
  opacity:1;
}
.project-viewer__thumbs img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
body.project-viewer-open{overflow:hidden}

@media(max-width:980px){
  .projects-v7{padding:56px 0 64px}
  .project-card-v7{height:390px}
  .project-card-v7__caption{
    left:20px; right:20px; bottom:20px;
    display:block;
  }
  .project-card-v7__caption strong{font-size:20px}
  .project-card-v7__caption span{display:block;margin-top:6px}
  .project-viewer__panel{inset:16px;padding:18px}
  .project-viewer__stage{min-height:360px}
}
@media(max-width:640px){
  .projects-v7__head{display:block}
  .projects-v7__head p{margin-top:-10px}
  .project-grid-v7{grid-template-columns:1fr;gap:12px}
  .project-card-v7{height:360px}
  .project-viewer__panel{inset:0;padding:14px}
  .project-viewer__meta{display:block;padding:6px 40px 14px 0}
  .project-viewer__meta h2{font-size:24px}
  .project-viewer__area{display:block;margin-top:6px}
  .project-viewer__stage{height:58vh;min-height:300px}
  .project-viewer__thumbs{
    display:flex;
    overflow-x:auto;
  }
  .project-viewer__thumbs button{
    min-width:104px;
    height:70px;
  }
}


/* ===== v9: real project imagery outside the projects section ===== */
.hero__image img,
.price__image img,
.final img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* Slightly tune crops for selected real project visuals */
.hero__image img{ object-position:50% 50%; }
.price__image img{ object-position:50% 48%; }
.final img{ object-position:50% 54%; }

/* ===== v9: exact brand/tagline alignment ===== */
.brand{
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  width:max-content;
  line-height:1!important;
  text-align:center!important;
  letter-spacing:0!important;
}
.brand__name{
  display:block;
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;
  font-size:20px;
  font-weight:300;
  line-height:1;
  letter-spacing:.18em;
  white-space:nowrap;
}
.brand__tagline{
  display:block;
  width:100%;
  margin-top:7px!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:6.6px!important;
  line-height:1.2;
  font-weight:400;
  letter-spacing:.075em!important;
  color:#7b746d;
  text-align:center!important;
  white-space:nowrap;
}
.topbar .brand,
.footer__grid .brand{
  align-items:center!important;
  text-align:center!important;
}
@media(max-width:640px){
  .brand__name{font-size:17px}
  .brand__tagline{font-size:5.8px!important;margin-top:6px!important}
}


/* v10 — stronger VOREXWAY wordmark */
.brand__name{
  font-size:30px!important;
  letter-spacing:.19em!important;
  font-weight:300!important;
}
.brand__tagline{
  font-size:7px!important;
  margin-top:8px!important;
  letter-spacing:.075em!important;
}
@media(max-width:640px){
  .brand__name{font-size:24px!important;}
  .brand__tagline{font-size:6.2px!important;margin-top:7px!important;}
}


/* v11 — create breathing room between hero image and presence section */
.hero__image{
  height:calc(100% - 34px)!important;
  align-self:start!important;
}
.hero{
  padding-bottom:34px!important;
}
@media(max-width:980px){
  .hero__image{height:auto!important;}
  .hero{padding-bottom:26px!important;}
}


/* v12 — compact final CTA image */
.final{
  padding:48px 0!important;
}
.final__grid{
  grid-template-columns:.9fr 1.1fr!important;
  gap:54px!important;
}
.final__grid>div:first-child{
  padding:24px 0!important;
}
.final__grid>div:last-child{
  height:360px!important;
  overflow:hidden!important;
}
.final img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:50% 48%!important;
}
@media(max-width:980px){
  .final{padding:0!important;}
  .final__grid{grid-template-columns:1fr!important;gap:0!important;}
  .final__grid>div:first-child{padding:36px 0!important;}
  .final__grid>div:last-child{height:300px!important;}
}


/* v13 — restore original VOREXWAY wordmark treatment */
.brand,
.brand:link,
.brand:visited{
  color:#171614!important;
}
.brand__name{
  color:#171614!important;
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif!important;
  font-size:30px!important;
  font-weight:300!important;
  line-height:1!important;
  letter-spacing:.22em!important;
  white-space:nowrap!important;
}
.brand__tagline{
  color:#746d66!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:6.7px!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:.09em!important;
  margin-top:8px!important;
  text-align:center!important;
}
@media(max-width:640px){
  .brand__name{font-size:24px!important;letter-spacing:.21em!important;}
  .brand__tagline{font-size:6px!important;margin-top:7px!important;}
}


/* Production lead form security/consent */
.form-hp{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}
.turnstile-wrap{
  min-height:65px;
  margin-top:2px;
}
.consent{
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:10px;
  line-height:1.45;
  color:var(--muted);
  cursor:pointer;
}
.consent input{
  width:15px!important;
  height:15px;
  margin:1px 0 0!important;
  flex:0 0 15px;
}
.consent a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}
.form-status{
  min-height:17px;
  font-size:10px;
  line-height:1.4;
  color:#9a3f31;
}
#form .btn:disabled{
  opacity:.6;
  cursor:wait;
}


/* =========================================================
   VOREXWAY mobile v13 — swipe cards for Presence + Process
   Desktop/tablet structure is unchanged.
   ========================================================= */
@media (max-width: 640px) {

  /* Shared horizontal-scroll behavior */
  .presence__items,
  #process .steps {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    gap: 12px !important;
    padding: 2px 0 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .presence__items::-webkit-scrollbar,
  #process .steps::-webkit-scrollbar {
    display: none;
  }

  /* "Ремонт без постоянного присутствия" — swipeable cards */
  .presence__items {
    margin-top: 28px !important;
    column-gap: 12px !important;
  }

  .presence__items > div {
    flex: 0 0 78% !important;
    min-width: 78% !important;
    min-height: 168px !important;
    padding: 24px !important;
    margin: 0 !important;
    background: rgba(255,255,255,.48);
    border: 1px solid #e6ded4 !important;
    border-radius: 6px;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-end;
    gap: 18px !important;
    scroll-snap-align: start;
  }

  .presence__items > div::after {
    display: none !important;
    content: none !important;
  }

  .presence__items span {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    font-size: 22px;
    background: #f7f2ec;
  }

  .presence__items b {
    display: block;
    max-width: 210px;
    font-size: 18px !important;
    line-height: 1.28;
    font-weight: 500;
  }

  /* "Как мы работаем" — swipeable cards */
  #process .container {
    width: calc(100% - 28px) !important;
    overflow: visible;
  }

  #process .section-title {
    margin-bottom: 28px;
  }

  #process .steps {
    position: relative;
    padding-top: 2px !important;
  }

  #process .steps::before {
    display: none !important;
  }

  #process .steps article {
    flex: 0 0 78% !important;
    min-width: 78% !important;
    width: auto !important;
    min-height: 245px;
    padding: 26px !important;
    margin: 0 !important;
    background: #f7f2ec;
    border: 1px solid #eee7de;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    scroll-snap-align: start;
  }

  #process .steps article::after {
    display: none !important;
    content: none !important;
  }

  #process .steps article > span {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px;
    margin: 0 0 42px !important;
    border-color: #b7a894 !important;
    background: #f7f2ec !important;
    font-family: Raleway, sans-serif;
    font-size: 20px !important;
    font-weight: 300;
    color: #9e907d;
  }

  #process .steps h3 {
    max-width: 230px !important;
    margin: 0 0 12px !important;
    font-size: 21px !important;
    line-height: 1.2;
    font-weight: 500;
  }

  #process .steps p {
    max-width: 235px !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55;
    color: #6d665f;
  }
}


/* ===== Final production performance ===== */
html{
  -webkit-text-size-adjust:100%;
}
body{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
img{
  content-visibility:auto;
}

/* ===== VOREXWAY v14 requested polish ===== */

/* Brand: approved Raleway logo */
.brand,
.brand__name,
.brand__tagline{
  font-family:"Raleway",Arial,sans-serif!important;
}
.brand__name{
  font-weight:300!important;
}
.brand__tagline{
  font-weight:400!important;
}

/* Mobile: align the complete footer module to one left edge */
@media(max-width:640px){
  footer{
    padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
  }

  .footer__grid{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:28px!important;
  }

  .footer__grid>.brand,
  .footer-nav,
  .footer-contact{
    width:100%!important;
    justify-self:start!important;
    align-self:flex-start!important;
  }

  .footer__grid>.brand{
    align-items:flex-start!important;
    text-align:left!important;
  }

  .footer-nav{
    justify-content:flex-start!important;
    align-items:flex-start!important;
    gap:18px 28px!important;
  }

  .footer-contact{
    align-items:flex-start!important;
    text-align:left!important;
    min-width:0!important;
  }

  .footer-contact div{
    justify-content:flex-start!important;
    width:100%!important;
  }

  /* Sticky CTA: identical visual language to all black site buttons */
  .mobile-fixed{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    bottom:max(14px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    min-height:46px!important;
    padding:0 22px!important;
    background:#171716!important;
    color:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    text-transform:uppercase!important;
    font-size:10px!important;
    line-height:1!important;
    letter-spacing:.05em!important;
    font-weight:400!important;
    z-index:40!important;
  }
}

/* ===== VOREXWAY FINAL MOBILE FOOTER / RALeway ===== */

/* Exact logo font */
.brand,
.brand__name{
  font-family:"Raleway",Arial,sans-serif!important;
}
.brand__name{
  display:block!important;
  font-size:inherit!important;
  font-weight:300!important;
  line-height:1!important;
  letter-spacing:.115em!important;
}
.brand__tagline{
  font-family:"Raleway",Arial,sans-serif!important;
  font-weight:400!important;
  letter-spacing:.14em!important;
}

/* Mobile footer: centered composition */
@media(max-width:640px){
  footer{
    padding:34px 0 calc(104px + env(safe-area-inset-bottom))!important;
  }

  .footer__grid{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:30px!important;
    text-align:center!important;
  }

  .footer__grid>.brand{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    text-align:center!important;
  }

  .footer__grid>.brand .brand__name{
    font-size:42px!important;
    font-weight:300!important;
    letter-spacing:.115em!important;
    line-height:1!important;
    margin:0!important;
  }

  .footer__grid>.brand .brand__tagline{
    width:auto!important;
    margin-top:15px!important;
    font-size:11px!important;
    line-height:1.25!important;
    letter-spacing:.14em!important;
    text-align:center!important;
    color:#827b74!important;
  }

  .footer-nav{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    gap:20px 34px!important;
    width:min(100%,520px)!important;
    margin:8px auto 0!important;
    text-align:center!important;
  }

  .footer-nav a{
    font-size:13px!important;
    letter-spacing:.12em!important;
    text-align:center!important;
  }

  .footer-contact{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:center!important;
    align-self:center!important;
    min-width:0!important;
    width:100%!important;
    gap:10px!important;
    text-align:center!important;
    color:#77716b!important;
  }

  .footer-contact>a{
    font-size:17px!important;
    line-height:1.25!important;
    font-weight:400!important;
    color:#6f6a65!important;
  }

  .footer-contact>span{
    font-size:15px!important;
    line-height:1.4!important;
    color:#77716b!important;
  }

  .footer-contact div{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:48px!important;
    width:100%!important;
    margin-top:12px!important;
  }

  .footer-contact div a,
  .footer-contact div span{
    font-size:16px!important;
    color:#171716!important;
  }

  /* Sticky CTA follows the site's black button style */
  .mobile-fixed{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    bottom:max(14px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    min-height:52px!important;
    padding:0 22px!important;
    background:#171716!important;
    color:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    text-transform:uppercase!important;
    font-size:11px!important;
    font-weight:400!important;
    letter-spacing:.08em!important;
    z-index:40!important;
  }
}

/* ===== VOREXWAY PROJECTS UNO GRID ===== */
@media(min-width:981px){
  .project-grid-v7{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px!important;
  }
  .project-card-v7{
    height:470px!important;
  }
  .project-card-v7__caption strong{
    font-size:21px!important;
  }
}
@media(max-width:980px) and (min-width:641px){
  .project-grid-v7{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .project-card-v7:last-child{
    grid-column:1/-1;
  }
}
@media(max-width:640px){
  .project-grid-v7{
    grid-template-columns:1fr!important;
  }
  .project-card-v7{
    height:430px!important;
  }
}
