/* Front page layout: field engineering dossier. */

body.is-front-page{
  --home-paper:var(--gbs-paper, #f3f0e7);
  --home-sheet:var(--gbs-sheet, #fffdf6);
  --home-ink:var(--gbs-ink, #13201d);
  --home-muted:var(--gbs-muted, #66736e);
  --home-line:var(--gbs-line, rgba(19, 32, 29, 0.16));
  --home-dark:var(--gbs-black, #07100e);
  --home-green:var(--gbs-green, #103a32);
  --home-rust:var(--gbs-rust, #a44f2b);
  --home-amber:var(--gbs-amber, #d4893a);
  background:var(--home-paper);
}

body.is-front-page .site-main{
  background:var(--home-paper);
}

body.is-front-page h1,
body.is-front-page h2,
body.is-front-page h3,
body.is-front-page h4{
  letter-spacing:0;
  text-wrap:balance;
}

body.is-front-page h1{
  max-width:900px;
  color:#fffdf6;
  font-size:54px;
  line-height:1.07;
  font-weight:520;
  overflow-wrap:break-word;
}

body.is-front-page h2{
  max-width:840px;
  font-size:44px;
  line-height:1.12;
  font-weight:520;
}

body.is-front-page h3{
  font-size:26px;
  line-height:1.32;
  font-weight:720;
}

.home-section{
  position:relative;
  overflow:hidden;
  padding:86px 0;
  background:var(--home-paper);
}

.home-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(19, 32, 29, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 32, 29, 0.035) 1px, transparent 1px);
  background-size:112px 112px;
}

.home-section > .container{
  position:relative;
  z-index:1;
}

.home-section__header{
  display:grid;
  gap:16px;
  max-width:900px;
  margin-bottom:34px;
}

.home-section__header--wide{
  max-width:980px;
}

.home-section__header--split{
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:end;
  gap:24px;
  max-width:none;
}

.home-section__header p,
.home-hero__lead,
.home-pricing-preview__content p,
.home-consultation__content p{
  max-width:620px;
  color:var(--home-muted);
  font-size:17px;
  line-height:1.68;
}

.home-eyebrow{
  justify-self:start;
  color:var(--home-muted);
}

.home-hero{
  position:relative;
  display:grid;
  align-items:center;
  min-height:min(640px, calc(100svh - 70px));
  padding:78px 0 50px;
  overflow:hidden;
  color:#fffdf6;
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.92) 0%, rgba(7, 16, 14, 0.70) 56%, rgba(7, 16, 14, 0.28) 100%),
    url("../img/photos/hero-field.webp") center / cover no-repeat;
}

.home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.05) 1px, transparent 1px);
  background-size:112px 112px;
}

.home-hero::after{
  display:none;
}

.home-hero__layout{
  position:relative;
  z-index:1;
  display:block;
}

.home-hero__content{
  display:grid;
  max-width:800px;
  gap:18px;
}

.home-hero__lead{
  max-width:660px;
  color:rgba(255, 253, 246, 0.82);
  font-size:18px;
}

.home-hero__eyebrow,
.home-hero__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.home-hero .badge{
  border-color:rgba(255, 253, 246, 0.34);
  background:rgba(7, 16, 14, 0.42);
  color:#fffdf6;
}

.home-hero__actions{
  margin-top:4px;
}

.home-hero__actions .btn{
  min-width:188px;
}

.home-hero__benefits{
  max-width:760px;
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  margin-top:4px;
  padding:16px 0 0;
  border-top:1px solid rgba(255, 253, 246, 0.24);
  background:transparent;
  list-style:none;
}

.home-hero__benefits li{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:auto;
  padding:0;
  border:0;
  color:#fffdf6;
  font-size:14px;
  font-weight:680;
}

.home-hero__benefits li::before,
.home-pricing-preview__factors li::before{
  content:"";
  flex:0 0 auto;
  width:6px;
  height:6px;
  background:var(--home-amber);
}

.home-services{
  background:var(--home-paper);
}

.home-services__grid{
  display:grid;
  border-top:2px solid var(--home-ink);
}

.home-services__card{
  display:grid;
  grid-template-columns:70px minmax(220px, 0.44fr) minmax(0, 1fr);
  gap:24px;
  align-items:start;
  padding:24px 0;
  border:0;
  border-bottom:1px solid var(--home-line);
  background:transparent;
  transition:
    border-color 180ms var(--gbs-ease-out),
    background-color 180ms var(--gbs-ease-out),
    transform 180ms var(--gbs-ease-out);
}

.home-services__number{
  color:var(--gbs-teal, #0f7e82);
  font-weight:760;
}

.home-services__card h3{
  max-width:360px;
  font-size:22px;
}

.home-services__card p{
  max-width:580px;
  color:var(--home-muted);
  font-size:16px;
  line-height:1.62;
}

.home-stats,
.home-projects,
.home-pricing-preview,
.home-consultation{
  background:var(--home-paper);
  color:var(--home-ink);
}

.home-stats::before,
.home-projects::before,
.home-pricing-preview::before,
.home-consultation::before{
  background:
    linear-gradient(90deg, rgba(19, 32, 29, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 32, 29, 0.035) 1px, transparent 1px);
  background-size:112px 112px;
}

.home-stats h2,
.home-stats h3,
.home-projects h2,
.home-projects h3,
.home-projects a,
.home-pricing-preview h2,
.home-pricing-preview h3,
.home-consultation h2{
  color:var(--home-ink);
}

.home-stats__layout,
.home-stats__intro{
  display:grid;
  gap:24px;
}

.home-stats__intro p,
.home-projects .home-section__header p,
.home-projects__mini-passport dd{
  color:var(--home-muted);
}

.home-stats__trust,
.home-stats__list{
  display:grid;
  gap:0;
  list-style:none;
  border:1px solid var(--home-line);
  background:rgba(255, 253, 246, 0.44);
}

.home-stats__trust{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.home-stats__trust li{
  padding:16px;
  border-right:1px solid var(--home-line);
  color:var(--home-ink);
  font-weight:700;
}

.home-stats__trust li:last-child{
  border-right:0;
}

.home-stats__list{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.home-stats__item{
  display:flex;
  min-height:164px;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  padding:26px;
  border-right:1px solid var(--home-line);
}

.home-stats__item:last-child{
  border-right:0;
}

.home-stats__item strong{
  color:var(--home-ink);
  font-size:54px;
  line-height:1;
  font-weight:760;
}

.home-stats__item span{
  color:var(--home-muted);
  line-height:1.45;
}

.home-projects__media{
  display:block;
  overflow:hidden;
  background:#d8d3c6;
}

.home-projects__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.02) contrast(1.04);
  transition:transform 260ms var(--gbs-ease-out);
}

@media (hover:hover) and (pointer:fine){
  .home-services__card:hover{
    border-color:rgba(164, 79, 43, 0.42);
    background:rgba(255, 253, 246, 0.44);
    transform:translateX(8px);
  }

  .home-projects__card:hover{
    border-color:rgba(164, 79, 43, 0.45);
    background:rgba(255, 253, 246, 0.82);
    transform:translateY(-3px);
  }

  .home-projects__card:hover img{
    transform:scale(1.045);
  }
}

.home-projects__mini-passport{
  display:grid;
  gap:0;
  border-top:1px solid var(--home-line);
}

.home-projects__mini-passport div{
  display:grid;
  gap:6px;
  padding:10px 0;
  border-bottom:1px solid var(--home-line);
}

.home-projects__mini-passport dt{
  color:var(--home-muted);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-projects__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:0;
  background:transparent;
}

.home-projects__card{
  display:grid;
  grid-template-rows:auto 1fr;
  overflow:hidden;
  padding:0;
  border:1px solid var(--home-line);
  background:rgba(255, 253, 246, 0.58);
  transition:
    border-color 180ms var(--gbs-ease-out),
    background-color 180ms var(--gbs-ease-out),
    transform 180ms var(--gbs-ease-out);
}

.home-projects__media{
  aspect-ratio:16 / 10;
  border-bottom:1px solid var(--home-line);
}

.home-projects__body{
  display:grid;
  grid-template-rows:auto auto 1fr auto;
  gap:15px;
  padding:22px;
}

.home-projects__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  color:var(--home-muted);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-projects__meta span{
  padding-right:8px;
  border-right:1px solid var(--home-line);
}

.home-projects__meta span:last-child{
  border-right:0;
}

.home-projects__body h3{
  font-size:20px;
}

.home-projects__mini-passport dd{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.home-projects__link{
  justify-self:start;
  color:var(--home-amber);
  font-weight:720;
}

.home-pricing-preview__layout,
.home-consultation__layout{
  display:grid;
  grid-template-columns:minmax(0, 0.9fr) minmax(390px, 0.82fr);
  gap:58px;
  align-items:start;
}

.home-pricing-preview__content,
.home-pricing-preview__card,
.home-consultation__content,
.home-consultation__form-shell{
  display:grid;
  gap:18px;
}

.home-pricing-preview__content p,
.home-consultation__content p,
.home-consultation__steps{
  color:var(--home-muted);
}

.home-pricing-preview__content-cta{
  justify-self:start;
  color:var(--home-ink);
}

.home-pricing-preview__card,
.home-consultation__form-shell{
  border-color:var(--home-line);
  background:var(--home-sheet);
  color:var(--home-ink);
}

.home-pricing-preview__card h3,
.home-consultation__form-shell h3{
  color:var(--home-ink);
}

.home-pricing-preview__factors{
  display:grid;
  gap:0;
  list-style:none;
}

.home-pricing-preview__factors li{
  display:flex;
  gap:10px;
  padding:9px 0;
  border-top:1px solid var(--home-line);
  color:var(--home-muted);
  line-height:1.5;
}

.home-pricing-preview__factors li::before{
  margin-top:0.6em;
}

.home-pricing-preview__actions{
  display:grid;
  gap:10px;
  margin-top:6px;
}

.home-process__grid{
  display:grid;
  gap:0;
  list-style:none;
  border-top:2px solid var(--home-ink);
}

.home-process__card{
  display:grid;
  grid-template-columns:88px minmax(200px, 0.36fr) minmax(0, 1fr);
  gap:24px;
  align-items:start;
  padding:24px 0;
  border:0;
  border-bottom:1px solid var(--home-line);
  background:transparent;
}

.home-process__step{
  color:var(--gbs-teal, #0f7e82);
  font-weight:760;
}

.home-process__card p{
  color:var(--home-muted);
  max-width:54ch;
}

.home-stats__intro p{
  max-width:560px;
}

.home-faq__list{
  border-top:2px solid var(--home-ink);
}

.home-faq__item{
  border-bottom:1px solid var(--home-line);
}

.home-faq__trigger{
  display:flex;
  width:100%;
  min-height:76px;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:0;
  padding:20px 0;
  background:transparent;
  color:var(--home-ink);
  cursor:pointer;
  font-size:22px;
  font-weight:720;
  line-height:1.34;
  text-align:left;
}

.home-faq__trigger::after{
  content:"+";
  flex:0 0 auto;
  color:var(--gbs-teal, #0f7e82);
  font-size:30px;
  line-height:1;
}

.home-faq__item.is-open .home-faq__trigger::after{
  content:"-";
}

.home-faq__body{
  max-width:620px;
  padding:0 0 24px;
  color:var(--home-muted);
}

.home-faq__body > * + *{
  margin-top:12px;
}

.home-consultation__steps{
  display:grid;
  gap:0;
  margin-top:8px;
  padding:0;
  list-style:none;
  border-top:1px solid var(--home-line);
}

.home-consultation__steps li{
  padding:14px 0;
  border-bottom:1px solid var(--home-line);
}

.home-consultation__contacts{
  display:grid;
  gap:8px;
  margin-top:8px;
}

.home-consultation__contacts a{
  color:var(--home-ink);
  font-size:22px;
  font-weight:720;
}

.home-consultation__form-head{
  display:grid;
  gap:10px;
  padding-bottom:16px;
  border-bottom:1px solid var(--home-line);
}

.home-consultation__form-head p{
  color:var(--home-muted);
}

.gbs33-form{
  display:grid;
  gap:18px;
}

.gbs33-form__row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.has-motion [data-reveal]{
  opacity:0;
  transform:translateY(18px);
  transition:
    opacity 520ms var(--motion-easing-enter),
    transform 520ms var(--motion-easing-enter);
}

.has-motion [data-reveal].is-revealed{
  opacity:1;
  transform:none;
}

.has-motion .home-services__card[data-reveal],
.has-motion .home-projects__card[data-reveal]{
  transition:
    opacity 260ms var(--gbs-ease-out),
    transform 180ms var(--gbs-ease-out),
    border-color 180ms var(--gbs-ease-out),
    background-color 180ms var(--gbs-ease-out);
}

@media (max-width:1279px){
  body.is-front-page h1{
    font-size:54px;
  }

  body.is-front-page h2{
    font-size:42px;
  }

  body.is-front-page h3{
    font-size:23px;
  }

  .home-stats__trust,
  .home-stats__list{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .home-services__card{
    grid-template-columns:56px minmax(190px, 0.4fr) minmax(0, 1fr);
  }

  .home-stats__trust li,
  .home-stats__item{
    border-bottom:1px solid var(--home-line);
  }

  .home-stats__item strong{
    font-size:46px;
  }
}

@media (max-width:1023px){
  .home-hero{
    min-height:auto;
    padding:76px 0 40px;
  }

  .home-pricing-preview__layout,
  .home-consultation__layout{
    grid-template-columns:1fr;
  }

  .home-projects__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .home-process__card{
    grid-template-columns:72px minmax(180px, 0.4fr) minmax(0, 1fr);
  }
}

@media (max-width:767px){
  body.is-front-page h1{
    max-width:100%;
    font-size:31px;
    line-height:1.08;
    overflow-wrap:anywhere;
  }

  body.is-front-page h2{
    font-size:28px;
  }

  body.is-front-page h3{
    font-size:20px;
  }

  .home-section{
    padding:60px 0;
  }

  .home-section::before{
    background-size:84px 84px;
  }

  .home-section__header,
  .home-section__header--split{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    margin-bottom:26px;
  }

  .home-section__header .btn{
    width:100%;
  }

  .home-section__header p,
  .home-hero__lead,
  .home-pricing-preview__content p,
  .home-consultation__content p{
    font-size:15px;
    line-height:1.62;
  }

  .home-hero{
    padding:38px 0 30px;
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0.90), rgba(7, 16, 14, 0.66)),
      url("../img/photos/hero-field.webp") center / cover no-repeat;
  }

  .home-hero::after{
    display:none;
  }

  .home-hero__content{
    gap:16px;
  }

  .home-hero__eyebrow,
  .home-hero__actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .home-hero .badge{
    justify-content:center;
    text-align:center;
  }

  .home-hero__actions .btn{
    width:100%;
    min-width:0;
  }

  .home-hero__benefits li{
    border:0;
    font-size:13px;
  }

  .home-projects__mini-passport div{
    grid-template-columns:1fr;
    gap:6px;
  }

  .home-consultation__contacts a{
    font-size:18px;
    overflow-wrap:anywhere;
  }

  .home-services__grid,
  .home-stats__trust,
  .home-stats__list,
  .home-projects__grid,
  .gbs33-form__row{
    grid-template-columns:1fr;
  }

  .home-services__card{
    grid-template-columns:44px minmax(0, 1fr);
    gap:8px 14px;
    padding:18px 0;
  }

  .home-services__card p{
    grid-column:2;
  }

  .home-projects__body,
  .home-pricing-preview__card,
  .home-consultation__form-shell{
    padding:22px;
  }

  .home-stats__trust li,
  .home-stats__item{
    border-right:0;
  }

  .home-stats__item{
    min-height:128px;
  }

  .home-process__card{
    grid-template-columns:1fr;
    gap:8px;
    padding:20px 0;
  }

  .home-faq__trigger{
    min-height:68px;
    font-size:18px;
  }
}

@media (prefers-reduced-motion:reduce){
  .has-motion [data-reveal]{
    opacity:1;
    transform:none;
    transition:none;
  }
}

/*
  Hard redesign pass.
  Home reads as one field dossier: compact hero, work register, case proof.
*/

body.is-front-page{
  --home-line:rgba(19, 32, 29, 0.18);
  --home-soft-line:rgba(19, 32, 29, 0.10);
  --home-photo-veil:rgba(7, 16, 14, 0.66);
}

/*
  Stronger art direction pass.
  First viewport must feel like a field command file, not a normal service hero.
*/

.home-hero{
  isolation:isolate;
  min-height:min(760px, calc(100svh - 70px));
  padding:76px 0 70px;
  background:
    linear-gradient(180deg, rgba(7, 16, 14, 0.98), rgba(7, 16, 14, 0.98)),
    var(--home-dark);
}

.home-hero::before{
  z-index:-2;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.045) 1px, transparent 1px);
  background-size:96px 96px;
}

.home-hero::after{
  content:"";
  position:absolute;
  inset:0 0 0 auto;
  z-index:-1;
  display:block;
  width:min(46vw, 720px);
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.94) 0%, rgba(7, 16, 14, 0.38) 28%, rgba(7, 16, 14, 0.10) 100%),
    linear-gradient(180deg, rgba(7, 16, 14, 0.05), rgba(7, 16, 14, 0.45)),
    url("../img/photos/hero-field.webp") center / cover no-repeat;
  box-shadow:inset 1px 0 rgba(255, 253, 246, 0.16);
}

.home-hero__layout{
  display:grid;
  grid-template-columns:minmax(0, 0.92fr) minmax(360px, 430px);
  gap:58px;
  align-items:end;
  min-height:610px;
}

.home-hero__file-code{
  grid-column:1 / -1;
  align-self:start;
  width:max-content;
  max-width:100%;
  border-top:1px solid rgba(212, 137, 58, 0.8);
  border-bottom:1px solid rgba(255, 253, 246, 0.16);
  padding:9px 0;
  color:rgba(255, 253, 246, 0.62);
  font-size:12px;
  font-weight:760;
  line-height:1.35;
}

.home-hero__content{
  position:relative;
  max-width:820px;
  gap:24px;
}

.home-hero__content::before{
  content:"01";
  position:absolute;
  left:-86px;
  top:8px;
  color:rgba(212, 137, 58, 0.9);
  font-family:var(--font-family-base);
  font-size:12px;
  font-weight:760;
}

body.is-front-page .home-hero h1{
  max-width:820px;
  font-size:86px;
  line-height:0.96;
}

.home-hero__lead{
  max-width:560px;
  border-top:1px solid rgba(255, 253, 246, 0.18);
  padding-top:18px;
  font-size:18px;
  line-height:1.62;
}

.home-hero__actions{
  gap:12px;
}

.home-hero__passport{
  align-self:end;
  min-height:410px;
  border-color:rgba(255, 253, 246, 0.24);
  border-top:0;
  background:rgba(7, 16, 14, 0.84);
  box-shadow:0 30px 80px rgba(0, 0, 0, 0.32);
}

.home-hero__passport::before{
  content:"";
  display:block;
  height:3px;
  margin:-22px -22px 18px;
  background:linear-gradient(90deg, var(--home-amber), rgba(255, 253, 246, 0.16));
}

.home-services{
  background:
    linear-gradient(90deg, rgba(19, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 32, 29, 0.03) 1px, transparent 1px),
    var(--home-paper);
  background-size:96px 96px, 96px 96px, auto;
}

.home-services__register{
  position:relative;
}

.home-services__register::before{
  content:"РЕЕСТР РАБОТ";
  position:absolute;
  right:0;
  top:-52px;
  color:rgba(19, 32, 29, 0.16);
  font-family:var(--font-family-base);
  font-size:52px;
  font-weight:760;
  line-height:1;
}

.home-services__row[open]{
  background:rgba(255, 253, 246, 0.72);
}

.home-services__summary{
  padding-inline:18px;
}

.home-services__details{
  margin:0 18px 22px 76px;
}

.home-stats{
  padding-top:64px;
}

.home-stats__trust{
  border-top:2px solid var(--home-ink);
}

.home-projects{
  padding-top:92px;
  padding-bottom:96px;
}

.home-projects__featured{
  border-color:rgba(255, 253, 246, 0.22);
}

.home-projects__featured-media{
  min-height:560px;
}

.home-projects__featured-body{
  padding:36px;
}

.home-projects__featured-body h3{
  font-size:40px;
}

@media (max-width:1180px){
  .home-hero{
    min-height:auto;
    padding:58px 0 52px;
  }

  .home-hero::after{
    width:100%;
    opacity:0.48;
  }

  .home-hero__layout{
    grid-template-columns:1fr;
    min-height:0;
    gap:28px;
  }

  .home-hero__passport{
    min-height:0;
  }

  .home-hero__content::before{
    display:none;
  }

  .home-services__register::before{
    display:none;
  }
}

@media (max-width:767px){
  .home-hero{
    padding:30px 0 30px;
  }

  .home-hero::after{
    opacity:0.30;
  }

  .home-hero__layout{
    gap:20px;
  }

  .home-hero__file-code{
    width:100%;
    font-size:10px;
  }

  body.is-front-page .home-hero h1{
    font-size:38px;
    line-height:1.02;
  }

  .home-hero__lead{
    padding-top:14px;
    font-size:15px;
    line-height:1.55;
  }

  .home-hero__passport::before{
    margin:-16px -16px 14px;
  }

  .home-services__summary{
    padding-inline:0;
  }

  .home-services__details{
    margin-left:44px;
    margin-right:0;
  }

  .home-projects{
    padding-top:58px;
    padding-bottom:60px;
  }

  .home-projects__featured-media{
    min-height:280px;
  }
}

body.is-front-page h1{
  max-width:700px;
  font-size:62px;
  line-height:1.02;
}

body.is-front-page h2{
  max-width:760px;
  font-size:44px;
  line-height:1.08;
}

.home-section{
  padding:74px 0 82px;
}

.home-section__header{
  gap:14px;
  margin-bottom:28px;
}

.home-section__header--wide{
  max-width:780px;
}

.home-hero{
  min-height:min(610px, calc(100svh - 70px));
  padding:58px 0 42px;
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.94) 0%, rgba(7, 16, 14, 0.76) 46%, rgba(7, 16, 14, 0.38) 100%),
    url("../img/photos/hero-field.webp") center / cover no-repeat;
}

.home-hero__layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 410px);
  gap:42px;
  align-items:end;
}

.home-hero__content{
  max-width:740px;
  gap:16px;
}

.home-hero__kicker{
  color:var(--home-amber);
  font-size:13px;
  font-weight:760;
  line-height:1.35;
}

.home-hero__lead{
  max-width:610px;
  font-size:17px;
  line-height:1.58;
}

.home-hero__passport{
  display:grid;
  gap:18px;
  border:1px solid rgba(255, 253, 246, 0.24);
  border-top:2px solid var(--home-amber);
  background:rgba(7, 16, 14, 0.58);
  padding:22px;
  backdrop-filter:blur(8px);
}

.home-hero__passport-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:rgba(255, 253, 246, 0.68);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-hero__passport-head strong{
  color:#fffdf6;
  font-weight:760;
}

.home-hero__passport dl,
.home-hero__passport .home-hero__benefits{
  display:grid;
  gap:0;
}

.home-hero__passport dl div{
  display:grid;
  grid-template-columns:92px minmax(0, 1fr);
  gap:16px;
  padding:12px 0;
  border-top:1px solid rgba(255, 253, 246, 0.16);
}

.home-hero__passport dt,
.home-hero__benefits li{
  color:rgba(255, 253, 246, 0.62);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-hero__passport dd{
  margin:0;
  color:#fffdf6;
  line-height:1.45;
}

.home-hero__benefits{
  margin:0;
  padding:0;
  border-top:1px solid rgba(255, 253, 246, 0.20);
}

.home-hero__benefits li{
  display:grid;
  grid-template-columns:8px minmax(0, 1fr);
  gap:10px;
  padding:9px 0;
  color:#fffdf6;
  font-size:13px;
  font-weight:680;
}

.home-hero__benefits li::before{
  align-self:center;
}

.home-services__register{
  display:grid;
  border-top:2px solid var(--home-ink);
}

.home-services__row{
  border-bottom:1px solid var(--home-line);
}

.home-services__summary{
  display:grid;
  grid-template-columns:58px minmax(220px, 0.38fr) minmax(0, 1fr) 32px;
  gap:18px;
  align-items:start;
  min-height:84px;
  padding:22px 0;
  list-style:none;
  cursor:pointer;
}

.home-services__summary::-webkit-details-marker{
  display:none;
}

.home-services__summary::after{
  content:"+";
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  justify-self:end;
  border:1px solid var(--home-line);
  color:var(--home-rust);
  font-size:22px;
  line-height:1;
}

.home-services__row[open] .home-services__summary::after{
  content:"-";
  border-color:var(--home-ink);
  background:var(--home-ink);
  color:var(--home-sheet);
}

.home-services__number,
.home-process__step{
  color:var(--home-rust);
  font-size:12px;
  font-weight:760;
  line-height:1.35;
  padding-top:6px;
}

.home-services__title{
  color:var(--home-ink);
  font-size:21px;
  font-weight:760;
  line-height:1.28;
}

.home-services__description{
  max-width:620px;
  color:var(--home-muted);
  font-size:16px;
  line-height:1.58;
}

.home-services__details{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1px;
  margin:0 0 22px 76px;
  background:var(--home-line);
  list-style:none;
}

.home-services__details li{
  min-height:72px;
  padding:14px;
  background:rgba(255, 253, 246, 0.68);
  color:var(--home-ink-2, #30413c);
  font-size:14px;
  line-height:1.45;
}

.home-services__details a{
  color:inherit;
  font-weight:760;
  text-decoration-color:rgba(176, 91, 43, .42);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.home-services__details a:hover{
  color:var(--color-accent-default);
  text-decoration-color:currentColor;
}

.home-stats__trust,
.home-stats__list{
  background:rgba(255, 253, 246, 0.58);
}

.home-stats__item{
  min-height:142px;
  padding:22px;
}

.home-stats__item strong{
  font-size:52px;
  font-weight:720;
}

.home-projects{
  background:var(--home-dark);
  color:#fffdf6;
}

.home-projects::before{
  opacity:0.34;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.035) 1px, transparent 1px);
  background-size:124px 124px;
}

.home-projects h2,
.home-projects h3,
.home-projects a{
  color:#fffdf6;
}

.home-projects .home-section__header p,
.home-projects__mini-passport dd,
.home-projects__dossier dd{
  color:rgba(255, 253, 246, 0.72);
}

.home-projects__featured{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap:1px;
  margin-bottom:18px;
  border:1px solid rgba(255, 253, 246, 0.18);
  background:rgba(255, 253, 246, 0.16);
}

.home-projects__featured-media{
  display:block;
  min-height:460px;
  overflow:hidden;
  background:#1c2520;
}

.home-projects__featured-media img,
.home-projects__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(0.98) contrast(1.04);
}

.home-projects__featured-body{
  display:grid;
  align-content:start;
  gap:18px;
  padding:28px;
  background:rgba(7, 16, 14, 0.78);
}

.home-projects__featured-body h3{
  max-width:520px;
  font-family:var(--font-family-heading);
  font-size:32px;
  font-weight:520;
  line-height:1.12;
}

.home-projects__dossier{
  display:grid;
  gap:0;
}

.home-projects__dossier div,
.home-projects__mini-passport div{
  display:grid;
  grid-template-columns:108px minmax(0, 1fr);
  gap:16px;
  padding:12px 0;
  border-top:1px solid rgba(255, 253, 246, 0.14);
}

.home-projects__dossier dt,
.home-projects__mini-passport dt{
  color:rgba(255, 253, 246, 0.52);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-projects__grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.home-projects__card{
  border-color:rgba(255, 253, 246, 0.16);
  background:rgba(255, 253, 246, 0.08);
}

.home-projects__body{
  padding:20px;
}

.home-projects__media{
  aspect-ratio:16 / 9;
  border-bottom:1px solid rgba(255, 253, 246, 0.14);
}

.home-projects__meta{
  color:rgba(255, 253, 246, 0.58);
}

.home-projects__meta span{
  border-right-color:rgba(255, 253, 246, 0.18);
}

.home-projects__link{
  color:var(--home-amber);
}

.home-pricing-preview__card{
  display:grid;
  gap:18px;
  border:1px solid var(--home-line);
  border-top:2px solid var(--home-ink);
  background:var(--home-sheet);
  padding:24px;
}

.home-pricing-preview__card-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:var(--home-muted);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-pricing-preview__card-head strong{
  color:var(--home-ink);
}

.home-pricing-preview__factors li{
  padding:11px 0;
}

.home-process__grid{
  grid-template-columns:1fr;
}

.home-process__card{
  grid-template-columns:64px minmax(180px, 0.30fr) minmax(0, 1fr);
  padding:20px 0;
}

.home-faq__trigger{
  min-height:64px;
  font-size:20px;
}

.home-consultation{
  background:
    linear-gradient(180deg, rgba(7, 16, 14, 0.98), rgba(15, 31, 27, 0.98));
  color:#fffdf6;
}

.home-consultation::before{
  opacity:0.28;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.035) 1px, transparent 1px);
  background-size:124px 124px;
}

.home-consultation h2,
.home-consultation__contacts a{
  color:#fffdf6;
}

.home-consultation__content p,
.home-consultation__steps{
  color:rgba(255, 253, 246, 0.72);
}

.home-consultation__steps{
  border-color:rgba(255, 253, 246, 0.16);
}

.home-consultation__steps li{
  border-color:rgba(255, 253, 246, 0.16);
}

@media (max-width:1180px){
  .home-hero__layout{
    grid-template-columns:1fr;
  }

  .home-hero__passport{
    max-width:760px;
  }

  .home-services__summary{
    grid-template-columns:46px minmax(190px, 0.42fr) minmax(0, 1fr) 32px;
  }

  .home-services__details{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    margin-left:64px;
  }

  .home-projects__featured{
    grid-template-columns:1fr;
  }

  .home-projects__featured-media{
    min-height:340px;
  }
}

@media (max-width:767px){
  body.is-front-page h1{
    font-size:34px;
    line-height:1.03;
  }

  body.is-front-page h2{
    font-size:27px;
    line-height:1.1;
  }

  .home-section{
    padding:50px 0 56px;
  }

  .home-hero{
    min-height:auto;
    padding:32px 0 28px;
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0.94), rgba(7, 16, 14, 0.72)),
      url("../img/photos/hero-field.webp") center / cover no-repeat;
  }

  .home-hero__layout{
    gap:22px;
  }

  .home-hero__content{
    gap:14px;
  }

  .home-hero__lead{
    font-size:15px;
    line-height:1.55;
  }

  .home-hero__passport{
    padding:16px;
  }

  .home-hero__passport dl div{
    grid-template-columns:1fr;
    gap:4px;
    padding:10px 0;
  }

  .home-services__summary{
    grid-template-columns:34px minmax(0, 1fr) 30px;
    gap:10px;
    min-height:0;
    padding:17px 0;
  }

  .home-services__number{
    grid-column:1;
  }

  .home-services__title{
    grid-column:2;
    font-size:18px;
  }

  .home-services__description{
    grid-column:2 / 4;
    font-size:14px;
  }

  .home-services__summary::after{
    grid-column:3;
    grid-row:1;
    width:28px;
    height:28px;
    font-size:20px;
  }

  .home-services__details{
    grid-template-columns:1fr;
    margin:0 0 18px 44px;
  }

  .home-services__details li{
    min-height:0;
  }

  .home-stats__item{
    min-height:112px;
  }

  .home-projects__featured-body,
  .home-projects__body{
    padding:18px;
  }

  .home-projects__featured-media{
    min-height:240px;
  }

  .home-projects__featured-body h3{
    font-size:25px;
  }

  .home-projects__grid{
    grid-template-columns:1fr;
  }

  .home-projects__dossier div,
  .home-projects__mini-passport div{
    grid-template-columns:1fr;
    gap:5px;
  }

  .home-process__card{
    grid-template-columns:34px minmax(0, 1fr);
    gap:8px 12px;
  }

  .home-process__card p{
    grid-column:2;
  }

  .home-faq__trigger{
    font-size:17px;
  }
}

/*
  Final visual jump.
  This block intentionally sits at the end of the file so the command-file art direction wins the cascade.
*/

.home-hero{
  isolation:isolate;
  min-height:min(760px, calc(100svh - 70px));
  padding:76px 0 70px;
  background:
    linear-gradient(180deg, rgba(7, 16, 14, 0.985), rgba(7, 16, 14, 0.96)),
    var(--home-dark);
}

.home-hero::before{
  z-index:0;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.045) 1px, transparent 1px);
  background-size:96px 96px;
}

.home-hero::after{
  content:"";
  position:absolute;
  inset:0 0 0 auto;
  z-index:0;
  display:block;
  width:min(46vw, 720px);
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.96) 0%, rgba(7, 16, 14, 0.42) 32%, rgba(7, 16, 14, 0.10) 100%),
    linear-gradient(180deg, rgba(7, 16, 14, 0.04), rgba(7, 16, 14, 0.48)),
    url("../img/photos/hero-field.webp") center / cover no-repeat;
  box-shadow:inset 1px 0 rgba(255, 253, 246, 0.16);
}

.home-hero__layout{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 0.92fr) minmax(360px, 430px);
  gap:58px;
  align-items:end;
  min-height:610px;
}

.home-hero__file-code{
  grid-column:1 / -1;
  align-self:start;
  width:max-content;
  max-width:100%;
  border-top:1px solid rgba(212, 137, 58, 0.82);
  border-bottom:1px solid rgba(255, 253, 246, 0.16);
  padding:9px 0;
  color:rgba(255, 253, 246, 0.64);
  font-size:12px;
  font-weight:760;
  letter-spacing:0;
  line-height:1.35;
}

.home-hero__content{
  position:relative;
  max-width:820px;
  gap:24px;
}

.home-hero__content::before{
  content:"01";
  position:absolute;
  left:-86px;
  top:8px;
  color:rgba(212, 137, 58, 0.9);
  font-family:var(--font-family-base);
  font-size:12px;
  font-weight:760;
  letter-spacing:0;
}

body.is-front-page .home-hero h1{
  max-width:820px;
  color:#fffdf6;
  font-size:86px;
  line-height:0.96;
}

.home-hero__lead{
  max-width:560px;
  border-top:1px solid rgba(255, 253, 246, 0.18);
  padding-top:18px;
  color:rgba(255, 253, 246, 0.78);
  font-size:18px;
  line-height:1.62;
}

.home-hero__actions{
  gap:12px;
}

.home-hero__passport{
  align-self:end;
  min-height:410px;
  border-color:rgba(255, 253, 246, 0.24);
  border-top:0;
  background:rgba(7, 16, 14, 0.84);
  box-shadow:0 30px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter:none;
}

.home-hero__passport::before{
  content:"";
  display:block;
  height:3px;
  margin:-22px -22px 18px;
  background:linear-gradient(90deg, var(--home-amber), rgba(255, 253, 246, 0.16));
}

.home-services{
  background:
    linear-gradient(90deg, rgba(19, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 32, 29, 0.03) 1px, transparent 1px),
    var(--home-paper);
  background-size:96px 96px, 96px 96px, auto;
}

.home-services .home-section__header{
  max-width:680px;
  margin-bottom:38px;
}

.home-services__register{
  position:relative;
  display:grid;
  border-top:2px solid var(--home-ink);
}

.home-services__register::before{
  content:"РЕЕСТР РАБОТ";
  position:absolute;
  right:0;
  top:-62px;
  color:rgba(19, 32, 29, 0.15);
  font-family:var(--font-family-base);
  font-size:64px;
  font-weight:760;
  letter-spacing:0;
  line-height:1;
  white-space:nowrap;
}

.home-services__row{
  border-bottom:1px solid var(--home-line);
  background:transparent;
}

.home-services__row[open]{
  background:rgba(255, 253, 246, 0.72);
}

.home-services__summary{
  grid-template-columns:64px minmax(230px, 0.34fr) minmax(0, 1fr) 34px;
  gap:20px;
  min-height:78px;
  padding:20px 18px;
}

.home-services__title{
  max-width:340px;
  font-size:20px;
  line-height:1.25;
}

.home-services__description{
  max-width:560px;
  font-size:15px;
  line-height:1.54;
}

.home-services__summary::after{
  align-self:center;
  border-color:rgba(19, 32, 29, 0.22);
  background:rgba(255, 253, 246, 0.5);
}

.home-services__details{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1px;
  margin:0 18px 20px 102px;
}

.home-services__details li{
  min-height:60px;
  padding:12px 14px;
  font-size:13px;
  line-height:1.42;
}

.home-projects{
  padding-top:96px;
  padding-bottom:104px;
  background:var(--home-dark);
  color:#fffdf6;
}

.home-projects::before{
  opacity:0.32;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.035) 1px, transparent 1px);
  background-size:124px 124px;
}

.home-projects .home-section__header{
  margin-bottom:34px;
}

.home-projects h2,
.home-projects h3,
.home-projects a{
  color:#fffdf6;
}

.home-projects .home-section__header p,
.home-projects__mini-passport dd,
.home-projects__dossier dd{
  color:rgba(255, 253, 246, 0.72);
}

.home-projects__featured{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap:1px;
  margin-bottom:18px;
  border:1px solid rgba(255, 253, 246, 0.20);
  background:rgba(255, 253, 246, 0.16);
}

.home-projects__featured::before{
  content:"01";
  position:absolute;
  left:22px;
  top:18px;
  z-index:2;
  color:rgba(255, 253, 246, 0.86);
  font-size:12px;
  font-weight:760;
  letter-spacing:0;
}

.home-projects__featured-media{
  min-height:560px;
  background:#1c2520;
}

.home-projects__featured-media img,
.home-projects__media img{
  filter:saturate(0.92) contrast(1.07);
  transition:transform 260ms var(--gbs-ease-out);
}

.home-projects__featured-body{
  gap:18px;
  padding:36px;
  background:rgba(7, 16, 14, 0.82);
}

.home-projects__case-code{
  color:var(--home-amber);
  font-size:12px;
  font-weight:760;
  letter-spacing:0;
  line-height:1.35;
}

.home-projects__featured-body h3{
  max-width:560px;
  font-family:var(--font-family-heading);
  font-size:40px;
  font-weight:520;
  line-height:1.08;
}

.home-projects__dossier div,
.home-projects__mini-passport div{
  grid-template-columns:112px minmax(0, 1fr);
  padding:12px 0;
  border-top:1px solid rgba(255, 253, 246, 0.14);
}

.home-projects__grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.home-projects__card{
  border-color:rgba(255, 253, 246, 0.16);
  background:rgba(255, 253, 246, 0.08);
}

.home-projects__body{
  gap:14px;
  padding:20px;
}

.home-projects__media{
  aspect-ratio:16 / 9;
  border-bottom:1px solid rgba(255, 253, 246, 0.14);
}

.home-projects__meta{
  color:rgba(255, 253, 246, 0.58);
}

.home-projects__meta span{
  border-right-color:rgba(255, 253, 246, 0.18);
}

.home-projects__link{
  color:var(--home-amber);
}

@media (hover:hover) and (pointer:fine){
  .home-services__row:hover{
    background:rgba(255, 253, 246, 0.48);
  }

  .home-projects__featured-media:hover img,
  .home-projects__card:hover img{
    transform:scale(1.04);
  }
}

@media (max-width:1180px){
  .home-hero{
    min-height:auto;
    padding:58px 0 52px;
  }

  .home-hero::after{
    width:100%;
    opacity:0.44;
  }

  .home-hero__layout{
    grid-template-columns:1fr;
    min-height:0;
    gap:28px;
  }

  .home-hero__passport{
    min-height:0;
    max-width:760px;
  }

  body.is-front-page .home-hero h1{
    font-size:62px;
    line-height:1;
  }

  .home-hero__content::before,
  .home-services__register::before{
    display:none;
  }

  .home-services__summary{
    grid-template-columns:46px minmax(190px, 0.42fr) minmax(0, 1fr) 32px;
  }

  .home-services__details{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    margin-left:64px;
  }

  .home-projects__featured{
    grid-template-columns:1fr;
  }

  .home-projects__featured-media{
    min-height:360px;
  }
}

@media (max-width:767px){
  .home-hero{
    padding:30px 0;
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0.985), rgba(7, 16, 14, 0.94)),
      var(--home-dark);
  }

  .home-hero::after{
    opacity:0.28;
  }

  .home-hero__layout{
    gap:20px;
  }

  .home-hero__file-code{
    width:100%;
    font-size:10px;
  }

  body.is-front-page .home-hero h1{
    font-size:38px;
    line-height:1.02;
  }

  .home-hero__lead{
    padding-top:14px;
    font-size:15px;
    line-height:1.55;
  }

  .home-hero__passport{
    padding:16px;
  }

  .home-hero__passport::before{
    margin:-16px -16px 14px;
  }

  .home-hero__passport dl div{
    grid-template-columns:1fr;
    gap:4px;
    padding:10px 0;
  }

  .home-services .home-section__header{
    margin-bottom:26px;
  }

  .home-services__summary{
    grid-template-columns:34px minmax(0, 1fr) 30px;
    gap:10px;
    min-height:0;
    padding:17px 0;
  }

  .home-services__number{
    grid-column:1;
  }

  .home-services__title{
    grid-column:2;
    font-size:18px;
  }

  .home-services__description{
    grid-column:2 / 4;
    font-size:14px;
  }

  .home-services__summary::after{
    grid-column:3;
    grid-row:1;
    width:28px;
    height:28px;
    font-size:20px;
  }

  .home-services__details{
    grid-template-columns:1fr;
    margin:0 0 18px 44px;
  }

  .home-services__details li{
    min-height:0;
  }

  .home-projects{
    padding-top:58px;
    padding-bottom:60px;
  }

  .home-projects__featured-media{
    min-height:280px;
  }

  .home-projects__featured-body,
  .home-projects__body{
    padding:18px;
  }

  .home-projects__featured-body h3{
    font-size:25px;
  }

  .home-projects__grid{
    grid-template-columns:1fr;
  }

  .home-projects__dossier div,
  .home-projects__mini-passport div{
    grid-template-columns:1fr;
    gap:5px;
  }
}

/*
  Motion and 3D pass.
  The hero model is a real WebGL scene; it stays unframed and works as an engineering layer, not a card.
*/

.home-hero__scene{
  position:absolute;
  inset:70px 0 0 43%;
  z-index:1;
  overflow:hidden;
  pointer-events:none;
  opacity:0;
  transform:translate3d(30px, 18px, 0) scale(0.985);
  transform-origin:60% 50%;
  transition:
    opacity 760ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 920ms cubic-bezier(0.23, 1, 0.32, 1);
  contain:layout paint size;
}

.home-hero__scene::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(circle at 52% 44%, rgba(212, 137, 58, 0.30), transparent 0 23%, transparent 46%),
    linear-gradient(90deg, rgba(7, 16, 14, 0.0), rgba(7, 16, 14, 0.42) 86%);
  mix-blend-mode:screen;
}

.home-hero__scene.is-rendered{
  opacity:0.94;
  transform:translate3d(0, 0, 0) scale(1);
}

.home-hero__scene canvas{
  display:block;
  width:100%;
  height:100%;
  filter:
    drop-shadow(0 28px 56px rgba(0, 0, 0, 0.34))
    saturate(1.08)
    contrast(1.05);
}

.home-hero__layout{
  z-index:3;
}

.home-hero__passport{
  position:relative;
  z-index:4;
}

.has-motion-design .home-hero__passport,
.has-motion-design .home-projects__featured,
.has-motion-design .home-projects__card,
.has-motion-design .home-services__row{
  will-change:transform, opacity;
}

@media (hover:hover) and (pointer:fine){
  .home-hero__passport:hover{
    transform:translateY(-4px);
    transition:
      transform 220ms cubic-bezier(0.23, 1, 0.32, 1),
      border-color 220ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .home-services__summary:hover::after{
    transform:rotate(90deg);
    transition:transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
  }
}

@media (max-width:1180px){
  .home-hero__scene{
    inset:64px -60px 0 14%;
    opacity:0;
  }

  .home-hero__scene.is-rendered{
    opacity:0.42;
  }
}

@media (max-width:767px){
  .home-hero__scene{
    inset:68px -118px auto 8px;
    height:590px;
    transform:translate3d(18px, 10px, 0) scale(0.98);
  }

  .home-hero__scene::before{
    background:
      radial-gradient(circle at 52% 46%, rgba(212, 137, 58, 0.24), transparent 0 20%, transparent 44%),
      linear-gradient(180deg, rgba(7, 16, 14, 0.0), rgba(7, 16, 14, 0.50) 82%);
  }

  .home-hero__scene.is-rendered{
    opacity:0.30;
  }
}

@media (prefers-reduced-motion:reduce){
  .home-hero__scene,
  .home-hero__passport,
  .home-services__summary::after{
    transition:none;
  }
}

/*
  Geo dossier motion.
  One coherent layer: live site map in the hero, quiet media parallax, and a route line through the process.
*/

.home-hero__scene{
  inset:48px -84px -14px 39%;
  transform:translate3d(34px, calc(18px + var(--scene-scroll-shift, 0px)), 0) scale(0.98);
}

.home-hero__scene::before{
  background:
    radial-gradient(circle at 54% 46%, rgba(212, 137, 58, 0.22), transparent 0 24%, transparent 48%),
    linear-gradient(90deg, rgba(7, 16, 14, 0.0), rgba(7, 16, 14, 0.34) 86%);
  animation:none;
}

.home-hero__scene::after{
  content:"";
  position:absolute;
  inset:9% 8% 8% 18%;
  z-index:2;
  pointer-events:none;
  border:1px solid rgba(255, 253, 246, 0.13);
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.06) 1px, transparent 1px);
  background-size:68px 68px;
  opacity:0.18;
  transform:rotate(-0.6deg);
}

.home-hero__scene.is-rendered{
  opacity:0.92;
  transform:translate3d(0, var(--scene-scroll-shift, 0px), 0) scale(1.02);
}

.home-hero__scene canvas{
  filter:
    drop-shadow(0 34px 68px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 20px rgba(212, 137, 58, 0.18))
    saturate(1.08)
    contrast(1.08);
}

.has-motion-design .home-hero::before{
  animation:geo-grid-drift 16s linear infinite;
}

.has-motion-design .home-hero__passport,
.has-motion-design .home-projects__featured,
.has-motion-design .home-projects__card,
.has-motion-design .home-services__row,
.has-motion-design .home-process__card,
.has-motion-design .home-stats__item{
  will-change:transform, opacity, filter;
}

.has-motion-design .home-stats__item{
  background:
    linear-gradient(135deg, rgba(212, 137, 58, 0.08), transparent 44%),
    rgba(255, 253, 246, 0.58);
}

.home-projects__featured-media img,
.home-projects__media img{
  transform:translate3d(0, var(--media-shift, 0px), 0) scale(var(--media-scale, 1.06));
}

.home-process__grid{
  position:relative;
}

.home-process__grid::before{
  content:"";
  position:absolute;
  left:31px;
  top:0;
  z-index:2;
  width:2px;
  height:calc(var(--route-progress, 0) * 100%);
  background:linear-gradient(180deg, rgba(164, 79, 43, 0.92), rgba(212, 137, 58, 0.82));
  pointer-events:none;
}

.home-process__card{
  position:relative;
}

.home-process__card::before{
  content:"";
  position:absolute;
  left:23px;
  top:29px;
  z-index:3;
  width:18px;
  height:18px;
  border:2px solid var(--home-rust);
  background:var(--home-paper);
  transform:scale(calc(0.78 + var(--route-progress, 0) * 0.22));
}

@media (hover:hover) and (pointer:fine){
  .home-projects__featured-media:hover img,
  .home-projects__card:hover img{
    --media-scale:1.11;
  }
}

@media (max-width:1180px){
  .home-hero__scene{
    inset:64px -88px 0 5%;
  }

  .home-hero__scene.is-rendered{
    opacity:0.58;
  }
}

@media (max-width:767px){
  .home-hero__scene{
    inset:70px -146px auto -18px;
    transform:translate3d(12px, calc(8px + var(--scene-scroll-shift, 0px)), 0) scale(1);
  }

  .home-hero__scene::after{
    inset:12% 14% 10% 10%;
    background-size:54px 54px;
    opacity:0.12;
  }

  .home-hero__scene.is-rendered{
    opacity:0.38;
    transform:translate3d(0, var(--scene-scroll-shift, 0px), 0) scale(1.04);
  }

  .home-process__grid::before{
    left:16px;
  }

  .home-process__card::before{
    left:-1px;
    top:22px;
  }
}

@keyframes geo-grid-drift{
  from{
    background-position:0 0, 0 0;
  }

  to{
    background-position:112px 0, 0 112px;
  }
}

/*
  Final field-photo hero pass.
  The first viewport is a compact engineering dossier with one real site photo.
*/

.home-hero{
  isolation:isolate;
  min-height:min(660px, calc(100svh - 70px));
  padding:clamp(48px, 5.4vw, 76px) 0 clamp(36px, 4vw, 58px);
  color:#fffdf6;
  background:
    radial-gradient(circle at 78% 22%, rgba(164, 79, 43, 0.18), transparent 0 20%, transparent 46%),
    linear-gradient(90deg, #07100e 0%, #07100e 47%, #0c1714 100%);
}

.home-hero::before{
  z-index:0;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.045) 1px, transparent 1px);
  background-size:92px 92px;
  opacity:0.56;
}

.home-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  width:auto;
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.96) 0%, rgba(7, 16, 14, 0.72) 55%, rgba(7, 16, 14, 0.40) 100%),
    linear-gradient(180deg, rgba(255, 253, 246, 0.035), transparent 46%, rgba(7, 16, 14, 0.42));
  opacity:1;
  box-shadow:none;
}

.home-hero__layout{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0, 0.92fr) minmax(330px, 430px);
  grid-template-rows:auto 1fr;
  min-height:min(540px, calc(100svh - 170px));
  gap:26px clamp(34px, 5.8vw, 74px);
  align-items:end;
}

.home-hero__file-code{
  grid-column:1 / -1;
  align-self:start;
  width:max-content;
  max-width:100%;
  border-top:1px solid rgba(212, 137, 58, 0.82);
  border-bottom:1px solid rgba(255, 253, 246, 0.16);
  padding:8px 0;
  color:rgba(255, 253, 246, 0.64);
  font-size:12px;
  font-weight:760;
  line-height:1.35;
  letter-spacing:0;
}

.home-hero__content{
  position:relative;
  grid-column:1;
  grid-row:2;
  align-self:center;
  max-width:650px;
  gap:22px;
}

.home-hero__content::before{
  content:"01";
  position:absolute;
  left:-74px;
  top:10px;
  color:rgba(212, 137, 58, 0.86);
  font-family:var(--font-family-base);
  font-size:12px;
  font-weight:760;
  line-height:1;
}

body.is-front-page .home-hero h1{
  max-width:650px;
  color:#fffdf6;
  font-size:clamp(48px, 5.4vw, 72px);
  line-height:1;
  font-weight:520;
}

.home-hero__lead{
  max-width:540px;
  border-top:1px solid rgba(255, 253, 246, 0.18);
  padding-top:17px;
  color:rgba(255, 253, 246, 0.82);
  font-size:18px;
  line-height:1.58;
}

.home-hero__actions{
  gap:12px;
  margin-top:0;
}

.home-hero__actions .btn{
  min-width:178px;
}

.home-hero__actions .btn--secondary{
  border-color:rgba(255, 253, 246, 0.34);
  background:rgba(255, 253, 246, 0.06);
  color:#fffdf6;
}

.home-hero__actions .btn--secondary:hover{
  border-color:rgba(255, 253, 246, 0.54);
  background:rgba(255, 253, 246, 0.12);
}

.home-hero__visual{
  position:relative;
  grid-column:2;
  grid-row:2;
  align-self:stretch;
  display:grid;
  min-height:510px;
}

.home-hero__photo{
  position:relative;
  grid-area:1 / 1;
  height:100%;
  min-height:510px;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(255, 253, 246, 0.20);
  background-color:#101916;
  background-image:
    linear-gradient(180deg, rgba(7, 16, 14, 0.04), rgba(7, 16, 14, 0.18)),
    url("../img/photos/hero-rig-dossier.jpg");
  background-position:center, 50% 38%;
  background-repeat:no-repeat;
  background-size:cover, cover;
}

.home-hero__photo::before{
  content:"";
  position:absolute;
  inset:16px;
  z-index:2;
  pointer-events:none;
  border:1px solid rgba(255, 253, 246, 0.13);
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 246, 0.10) 1px, transparent 1px);
  background-size:58px 58px;
  opacity:0.28;
}

.home-hero__photo picture,
.home-hero__photo img{
  display:block;
  width:100%;
  height:100%;
}

.home-hero__photo picture{
  position:absolute;
  inset:0;
  z-index:1;
  opacity:0;
}

.home-hero__photo img{
  object-fit:cover;
  object-position:50% 38%;
  filter:saturate(0.84) contrast(1.08) brightness(0.98);
}

.home-hero__photo figcaption{
  position:absolute;
  left:18px;
  right:18px;
  top:18px;
  z-index:3;
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid rgba(255, 253, 246, 0.26);
  padding-top:10px;
  color:rgba(255, 253, 246, 0.68);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-hero__photo figcaption strong{
  color:#fffdf6;
  font-weight:760;
  text-align:right;
}

.home-hero__passport{
  position:relative;
  z-index:4;
  grid-area:1 / 1;
  display:grid;
  gap:14px;
  align-self:end;
  justify-self:end;
  width:min(360px, calc(100% - 28px));
  min-height:0;
  margin:0 18px 18px 0;
  padding:18px;
  border:1px solid rgba(255, 253, 246, 0.26);
  border-top:2px solid var(--home-amber);
  background:rgba(7, 16, 14, 0.88);
  box-shadow:none;
  backdrop-filter:none;
}

.home-hero__passport::before{
  display:none;
}

.home-hero__passport-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  color:rgba(255, 253, 246, 0.62);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-hero__passport-head strong{
  color:#fffdf6;
  font-weight:760;
  text-align:right;
}

.home-hero__passport dl,
.home-hero__passport .home-hero__benefits{
  display:grid;
  gap:0;
}

.home-hero__passport dl div{
  display:grid;
  grid-template-columns:82px minmax(0, 1fr);
  gap:14px;
  padding:9px 0;
  border-top:1px solid rgba(255, 253, 246, 0.15);
}

.home-hero__passport dt,
.home-hero__benefits li{
  color:rgba(255, 253, 246, 0.62);
  font-size:12px;
  font-weight:720;
  line-height:1.35;
}

.home-hero__passport dd{
  margin:0;
  color:#fffdf6;
  font-size:14px;
  line-height:1.42;
}

.home-hero__benefits{
  margin:0;
  padding:0;
  border-top:1px solid rgba(255, 253, 246, 0.18);
}

.home-hero__benefits li{
  display:grid;
  grid-template-columns:7px minmax(0, 1fr);
  gap:10px;
  padding:8px 0;
  color:#fffdf6;
  font-size:12px;
  font-weight:680;
}

.home-hero__benefits li::before{
  align-self:center;
  width:5px;
  height:5px;
}

.home-hero__scene{
  display:none;
}

@supports (background-image:image-set(url("../img/photos/hero-rig-dossier.webp") type("image/webp"))){
  .home-hero__photo{
    background-image:
      linear-gradient(180deg, rgba(7, 16, 14, 0.04), rgba(7, 16, 14, 0.18)),
      image-set(
        url("../img/photos/hero-rig-dossier.webp") type("image/webp"),
        url("../img/photos/hero-rig-dossier.jpg") type("image/jpeg")
      );
  }
}

.home-services{
  border-top:1px solid rgba(19, 32, 29, 0.18);
}

.home-projects__featured{
  grid-template-columns:1fr;
  transform:none;
  box-shadow:0 34px 90px rgba(0, 0, 0, 0.24);
}

.home-projects__featured-media,
.home-projects__media{
  background:#101916;
}

.home-projects__featured-media{
  aspect-ratio:1.36 / 1;
  min-height:0;
  max-height:420px;
}

.home-projects__featured-body{
  padding:24px 24px 22px;
  gap:16px;
}

.home-projects__featured-body h3{
  max-width:18ch;
  font-size:28px;
}

.home-projects__dossier div,
.home-projects__mini-passport div{
  grid-template-columns:92px minmax(0, 1fr);
  gap:12px;
  padding:10px 0;
}

.home-projects__media{
  aspect-ratio:16 / 8.6;
}

.home-projects__body{
  padding:18px;
  gap:12px;
}

@media (max-width:1180px){
  .home-hero{
    min-height:auto;
    padding:56px 0 48px;
  }

  .home-hero__layout{
    grid-template-columns:minmax(0, 1fr) minmax(300px, 380px);
    min-height:0;
    gap:24px 34px;
  }

  body.is-front-page .home-hero h1{
    font-size:clamp(46px, 6vw, 64px);
  }

  .home-hero__content::before{
    display:none;
  }

  .home-hero__visual,
  .home-hero__photo{
    min-height:470px;
  }
}

@media (max-width:900px){
  .home-hero__layout{
    grid-template-columns:1fr;
    gap:24px;
  }

  .home-hero__content,
  .home-hero__visual{
    grid-column:1;
    grid-row:auto;
  }

  .home-hero__content{
    max-width:680px;
  }

  .home-hero__lead{
    max-width:600px;
  }

  .home-hero__visual,
  .home-hero__photo{
    min-height:380px;
  }
}

@media (max-width:767px){
  .home-hero{
    padding:26px 0 24px;
  }

  .home-hero::before{
    background-size:72px 72px;
    opacity:0.42;
  }

  .home-hero__layout{
    gap:16px;
  }

  .home-hero__file-code{
    width:100%;
    padding:7px 0;
    font-size:10px;
  }

  .home-hero__content{
    gap:14px;
  }

  body.is-front-page .home-hero h1{
    font-size:clamp(36px, 11vw, 43px);
    line-height:1.03;
  }

  .home-hero__lead{
    max-width:none;
    padding-top:12px;
    font-size:15px;
    line-height:1.5;
  }

  .home-hero__actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }

  .home-hero__actions .btn{
    width:100%;
    min-width:0;
  }

  .home-hero__visual,
  .home-hero__photo{
    min-height:300px;
  }

  .home-hero__photo::before{
    inset:10px;
    background-size:46px 46px;
  }

  .home-hero__photo img{
    object-position:50% 42%;
  }

  .home-hero__photo{
    background-position:center, 50% 42%;
  }

  .home-hero__photo figcaption{
    display:none;
  }

  .home-hero__passport{
    width:calc(100% - 24px);
    margin:0 12px 12px;
    padding:14px;
  }

  .home-hero__passport-head,
  .home-hero__passport dt{
    font-size:10px;
  }

  .home-hero__passport-head{
    display:grid;
    gap:4px;
  }

  .home-hero__passport-head strong{
    text-align:left;
  }

  .home-hero__passport dl div{
    grid-template-columns:70px minmax(0, 1fr);
    gap:10px;
    padding:7px 0;
  }

  .home-hero__passport dd{
    font-size:12px;
    line-height:1.34;
  }

  .home-hero__passport .home-hero__benefits{
    display:none;
  }
}

/* Compact first-screen correction for the client-requested hero pass. */
.home-hero{
  min-height:clamp(560px, calc(100svh - 70px), 720px);
  padding:clamp(42px, 5vw, 66px) 0 clamp(34px, 4vw, 50px);
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.98) 0%, rgba(7, 16, 14, 0.9) 43%, rgba(7, 16, 14, 0.56) 72%, rgba(7, 16, 14, 0.24) 100%),
    image-set(
      url("../img/photos/hero-rig-dossier.webp") type("image/webp"),
      url("../img/photos/hero-rig-dossier.jpg") type("image/jpeg")
    ) center 44% / cover no-repeat;
}

.home-hero__layout{
  min-height:clamp(468px, calc(100svh - 190px), 574px);
  grid-template-columns:minmax(0, 0.98fr) minmax(330px, 430px);
  gap:34px;
  align-items:center;
}

.home-hero__file-code{
  width:min(620px, 100%);
}

body.is-front-page .home-hero h1{
  max-width:820px;
  font-size:clamp(50px, 5.1vw, 76px);
  line-height:0.98;
}

.home-hero__lead{
  max-width:660px;
}

.home-hero__visual,
.home-hero__photo{
  min-height:470px;
}

.home-hero__photo{
  background-position:center, 50% 44%;
}

.home-hero__passport{
  width:min(350px, calc(100% - 28px));
}

@media (max-width:1180px){
  .home-hero{
    min-height:auto;
    padding:48px 0 42px;
  }

  .home-hero__layout{
    min-height:0;
    grid-template-columns:minmax(0, 1fr) minmax(286px, 360px);
    gap:28px;
  }

  body.is-front-page .home-hero h1{
    font-size:clamp(44px, 5.9vw, 62px);
  }

  .home-hero__visual,
  .home-hero__photo{
    min-height:420px;
  }
}

@media (max-width:900px){
  .home-hero{
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0.98) 0%, rgba(7, 16, 14, 0.88) 56%, rgba(7, 16, 14, 0.78) 100%),
      image-set(
        url("../img/photos/hero-rig-dossier.webp") type("image/webp"),
        url("../img/photos/hero-rig-dossier.jpg") type("image/jpeg")
      ) 58% 42% / cover no-repeat;
  }

  .home-hero__layout{
    grid-template-columns:1fr;
    gap:18px;
  }

  .home-hero__content{
    max-width:720px;
  }

  .home-hero__visual,
  .home-hero__photo{
    min-height:300px;
  }
}

@media (max-width:767px){
  .home-hero{
    min-height:auto;
    padding:22px 0 20px;
  }

  .home-hero__layout{
    gap:14px;
  }

  .home-hero__file-code{
    padding:6px 0;
    font-size:9px;
  }

  .home-hero__content{
    gap:12px;
  }

  body.is-front-page .home-hero h1{
    max-width:360px;
    font-size:clamp(33px, 10.2vw, 40px);
    line-height:1;
  }

  .home-hero__lead{
    padding-top:10px;
    font-size:14px;
    line-height:1.44;
  }

  .home-hero__actions{
    gap:9px;
  }

  .home-hero__visual{
    min-height:0;
  }

  .home-hero__photo{
    display:none;
  }

  .home-hero__passport{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    margin:0;
    padding:12px;
    background:rgba(255, 253, 246, 0.1);
    backdrop-filter:blur(12px);
  }

  .home-hero__passport dl div{
    grid-template-columns:68px minmax(0, 1fr);
    padding:6px 0;
  }
}

/* Client DOCX hero: geology landing screen with right-side field photo. */
.home-hero{
  min-height:clamp(640px, calc(100svh - 70px), 780px);
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.98) 0%, rgba(7, 16, 14, 0.91) 42%, rgba(7, 16, 14, 0.54) 74%, rgba(7, 16, 14, 0.24) 100%),
    image-set(
      url("../img/photos/hero-geology-rig-vladimir.webp") type("image/webp"),
      url("../img/photos/hero-geology-rig-vladimir.jpg") type("image/jpeg")
    ) center 53% / cover no-repeat;
}

.home-hero__layout{
  grid-template-columns:minmax(0, 1fr) minmax(330px, 450px);
  min-height:clamp(540px, calc(100svh - 190px), 640px);
  gap:42px;
}

.home-hero__content{
  gap:18px;
}

body.is-front-page .home-hero h1{
  max-width:860px;
  font-size:clamp(46px, 4.5vw, 66px);
  line-height:1.01;
}

.home-hero__lead{
  max-width:720px;
  color:#fffdf6;
  font-size:clamp(19px, 1.7vw, 26px);
  font-weight:760;
  line-height:1.25;
}

.home-hero__proofs,
.home-hero__offer ul{
  display:grid;
  gap:9px;
  max-width:720px;
  margin:0;
  padding:0;
  list-style:none;
}

.home-hero__proofs li,
.home-hero__offer li{
  display:grid;
  grid-template-columns:18px minmax(0, 1fr);
  gap:10px;
  align-items:start;
  color:rgba(255, 253, 246, 0.86);
  font-size:14px;
  font-weight:660;
  line-height:1.35;
}

.home-hero__proofs li::before{
  content:"";
  width:7px;
  height:7px;
  margin-top:6px;
  background:var(--gbs-amber);
}

.home-hero__offer{
  display:grid;
  gap:10px;
  max-width:680px;
  padding:14px 16px;
  border-left:3px solid var(--gbs-amber);
  background:rgba(255, 253, 246, 0.08);
}

.home-hero__offer p{
  margin:0;
  color:#fffdf6;
  font-size:15px;
  font-weight:760;
  line-height:1.35;
}

.home-hero__offer li::before{
  content:"";
  width:14px;
  height:14px;
  margin-top:2px;
  background:var(--gbs-amber);
  clip-path:polygon(14% 52%, 34% 72%, 86% 18%, 100% 32%, 35% 98%, 0 64%);
}

.home-hero__mobile-price{
  display:none;
}

.home-hero__photo{
  min-height:520px;
  background-image:
    linear-gradient(180deg, rgba(7, 16, 14, 0.02), rgba(7, 16, 14, 0.22)),
    image-set(
      url("../img/photos/hero-geology-rig-vladimir.webp") type("image/webp"),
      url("../img/photos/hero-geology-rig-vladimir.jpg") type("image/jpeg")
    );
  background-position:center, 50% 54%;
}

.home-hero__photo img{
  object-position:50% 54%;
}

.home-hero__price{
  display:grid;
  gap:10px;
}

.home-hero__price .home-hero__passport-head{
  padding-bottom:10px;
  border-bottom:1px solid rgba(255, 253, 246, 0.16);
}

.home-hero__price-value{
  display:block;
  color:#fffdf6;
  font-family:var(--font-family-heading);
  font-size:clamp(38px, 3.7vw, 56px);
  font-weight:760;
  line-height:0.96;
}

.home-hero__price p{
  margin:0;
  color:rgba(255, 253, 246, 0.76);
  font-size:13px;
  line-height:1.45;
}

@media (max-width:1180px){
  .home-hero{
    min-height:auto;
  }

  .home-hero__layout{
    min-height:0;
    grid-template-columns:minmax(0, 1fr) minmax(300px, 390px);
    gap:28px;
  }

  body.is-front-page .home-hero h1{
    font-size:clamp(40px, 5.1vw, 56px);
  }

  .home-hero__lead{
    font-size:clamp(18px, 2.1vw, 23px);
  }

  .home-hero__photo{
    min-height:460px;
  }
}

@media (max-width:900px){
  .home-hero{
    background:
      linear-gradient(180deg, rgba(7, 16, 14, 0.98) 0%, rgba(7, 16, 14, 0.9) 60%, rgba(7, 16, 14, 0.78) 100%),
      image-set(
        url("../img/photos/hero-geology-rig-vladimir.webp") type("image/webp"),
        url("../img/photos/hero-geology-rig-vladimir.jpg") type("image/jpeg")
      ) 58% 52% / cover no-repeat;
  }

  .home-hero__layout{
    grid-template-columns:1fr;
  }

  .home-hero__photo{
    min-height:320px;
  }
}

@media (max-width:767px){
  .home-hero{
    padding:18px 0 16px;
  }

  .home-hero__content{
    gap:10px;
  }

  body.is-front-page .home-hero h1{
    max-width:370px;
    font-size:clamp(31px, 9.2vw, 37px);
    line-height:1.02;
  }

  .home-hero__lead{
    padding-top:7px;
    font-size:16px;
    line-height:1.22;
  }

  .home-hero__proofs,
  .home-hero__offer ul{
    gap:6px;
  }

  .home-hero__proofs li,
  .home-hero__offer li{
    grid-template-columns:14px minmax(0, 1fr);
    gap:8px;
    font-size:11px;
    line-height:1.24;
  }

  .home-hero__proofs li::before{
    width:6px;
    height:6px;
    margin-top:5px;
  }

  .home-hero__offer{
    gap:7px;
    padding:9px 11px;
  }

  .home-hero__offer p{
    font-size:12px;
  }

  .home-hero__offer li::before{
    width:12px;
    height:12px;
  }

  .home-hero__mobile-price{
    display:grid;
    gap:4px;
    padding:9px 11px;
    border:1px solid rgba(255, 253, 246, 0.18);
    border-left:3px solid var(--gbs-amber);
    background:rgba(7, 16, 14, 0.34);
  }

  .home-hero__mobile-price span{
    color:rgba(255, 253, 246, 0.66);
    font-size:11px;
    font-weight:720;
    line-height:1.2;
  }

  .home-hero__mobile-price strong{
    color:#fffdf6;
    font-family:var(--font-family-heading);
    font-size:30px;
    line-height:0.98;
  }

  .home-hero__visual{
    display:none;
  }
}

/*
  Final commercial pass, June 2026.
  Tightens first-screen density, makes services easier to scan, and turns cases/pricing into stronger proof blocks.
*/

.home-hero__brief{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1px;
  max-width:760px;
  margin:0;
  background:rgba(255, 253, 246, 0.16);
  border:1px solid rgba(255, 253, 246, 0.16);
}

.home-hero__brief div{
  display:grid;
  gap:8px;
  padding:16px 18px;
  background:rgba(255, 253, 246, 0.06);
}

.home-hero__brief dt{
  color:rgba(255, 253, 246, 0.62);
  font-size:11px;
  font-weight:760;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.home-hero__brief dd{
  margin:0;
  color:#fffdf6;
  font-size:14px;
  line-height:1.5;
}

.home-hero__passport-list{
  display:grid;
  gap:0;
  margin:0;
}

.home-hero__passport-list div{
  display:grid;
  grid-template-columns:74px minmax(0, 1fr);
  gap:12px;
  padding:8px 0;
  border-top:1px solid rgba(255, 253, 246, 0.14);
}

.home-hero__passport-list dt{
  color:rgba(255, 253, 246, 0.58);
  font-size:11px;
  font-weight:760;
  line-height:1.3;
  text-transform:uppercase;
}

.home-hero__passport-list dd{
  margin:0;
  color:#fffdf6;
  font-size:13px;
  line-height:1.42;
}

.home-services .home-section__header--split{
  grid-template-columns:minmax(0, 1fr) minmax(280px, 340px);
  align-items:end;
}

.home-services__aside{
  max-width:34ch;
  margin:0;
  color:var(--home-muted);
  font-size:15px;
  line-height:1.55;
}

.home-services__row{
  background:transparent;
  transition:background-color 180ms var(--gbs-ease-out);
}

.home-services__summary{
  min-height:0;
  padding:18px 0;
}

.home-services__title{
  max-width:14ch;
  font-size:20px;
  line-height:1.2;
}

.home-services__description{
  max-width:52ch;
  font-size:15px;
  line-height:1.52;
}

.home-services__row-body{
  display:grid;
  gap:14px;
  padding:0 0 20px 76px;
}

.home-services__details-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 18px;
}

.home-services__details-head span{
  color:var(--home-muted);
  font-size:11px;
  font-weight:760;
  line-height:1.3;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.home-services__details{
  grid-template-columns:repeat(3, minmax(0, 1fr));
  margin:0;
}

.home-services__details li{
  min-height:0;
  padding:15px 16px;
}

.home-services__link{
  margin:0;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.home-projects__cluster{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap:18px;
  align-items:start;
}

.home-projects__stack{
  display:grid;
  gap:18px;
  grid-auto-rows:1fr;
}

.home-projects__card{
  display:grid;
  grid-template-rows:auto 1fr;
  min-height:0;
}

.home-projects__body{
  display:grid;
  align-content:start;
  gap:13px;
}

.home-pricing-preview__layout{
  grid-template-columns:minmax(0, 1.02fr) minmax(360px, 0.72fr);
  gap:32px;
}

.home-pricing-preview__examples{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1px;
  border:1px solid var(--home-line);
  background:var(--home-line);
}

.home-pricing-preview__example{
  display:grid;
  align-content:start;
  gap:8px;
  min-height:124px;
  padding:18px;
  background:rgba(255, 253, 246, 0.58);
}

.home-pricing-preview__example span{
  color:var(--home-muted);
  font-size:13px;
  line-height:1.4;
}

.home-pricing-preview__example strong{
  color:var(--home-ink);
  font-size:22px;
  line-height:1.08;
}

.home-pricing-preview__example small{
  color:var(--home-muted);
  font-size:12px;
  line-height:1.42;
}

.home-pricing-preview__card{
  align-content:start;
  gap:20px;
}

.home-pricing-preview__actions{
  margin-top:0;
}

.home-pricing-preview__note{
  margin:0;
  color:var(--home-muted);
  font-size:13px;
  line-height:1.5;
}

@media (max-width:1180px){
  .home-hero__brief{
    grid-template-columns:1fr;
  }

  .home-services .home-section__header--split,
  .home-projects__cluster,
  .home-pricing-preview__layout{
    grid-template-columns:1fr;
  }

  .home-services__aside{
    max-width:56ch;
  }

  .home-services__details{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:767px){
  .home-hero__brief{
    gap:0;
    border:0;
    background:none;
  }

  .home-hero__brief div{
    padding:12px 0;
    border-top:1px solid rgba(255, 253, 246, 0.14);
    background:transparent;
  }

  .home-hero__passport-list div{
    grid-template-columns:62px minmax(0, 1fr);
    gap:10px;
  }

  .home-services__aside{
    max-width:none;
    font-size:14px;
  }

  .home-services__row-body{
    gap:10px;
    padding:0 0 14px 44px;
  }

  .home-services__details-head{
    display:grid;
    justify-content:start;
  }

  .home-services__details{
    grid-template-columns:1fr;
  }

  .home-pricing-preview__examples{
    grid-template-columns:1fr;
  }

  .home-section{
    padding:42px 0 46px;
  }

  .home-section__header{
    gap:12px;
    margin-bottom:22px;
  }

  .home-hero__proofs li:nth-child(3){
    display:none;
  }

  .home-services__details li:nth-child(n+3){
    display:none;
  }

  .home-stats__trust li,
  .home-stats__item{
    padding:14px;
  }

  .home-projects__featured-body,
  .home-projects__body,
  .home-pricing-preview__card,
  .home-consultation__form-shell{
    padding:16px;
  }

  .home-projects__featured{
    margin-bottom:14px;
  }

  .home-projects__featured-media{
    min-height:220px;
  }

  .home-pricing-preview__example{
    min-height:0;
    padding:14px;
  }

  .home-pricing-preview__card{
    gap:14px;
  }

  .home-process__card{
    padding:16px 0;
  }

  .home-faq__trigger{
    min-height:58px;
    padding:16px 0;
    font-size:16px;
  }

  .home-faq__body{
    padding-bottom:18px;
  }

  .home-consultation__steps li{
    padding:11px 0;
  }

  .home-consultation__contacts{
    margin-top:2px;
  }

  .home-consultation__contacts a{
    font-size:16px;
  }
}

/*
  Final home pass to match the main TZ:
  tighter hero, one compact services catalog, and documentary case cards.
*/

.home-hero{
  min-height:auto;
  padding:58px 0 40px;
}

.home-hero__layout{
  grid-template-columns:minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap:28px 36px;
  align-items:end;
}

body.is-front-page .home-hero h1{
  max-width:12ch;
  font-size:clamp(52px, 5vw, 70px);
  line-height:0.98;
}

.home-hero__lead{
  max-width:46ch;
  font-size:18px;
  line-height:1.5;
}

.home-hero__content{
  gap:18px;
}

.home-hero__actions{
  gap:12px;
}

.home-hero__actions .btn{
  min-width:0;
}

.home-hero__metrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1px;
  margin:4px 0 0;
  border:1px solid rgba(255, 253, 246, 0.12);
  background:rgba(255, 253, 246, 0.12);
}

.home-hero__metrics div{
  display:grid;
  gap:4px;
  min-height:88px;
  padding:14px;
  background:rgba(255, 253, 246, 0.05);
}

.home-hero__metrics dt{
  color:#fffdf6;
  font-size:22px;
  font-weight:760;
  line-height:1;
}

.home-hero__metrics dd{
  color:rgba(255, 253, 246, 0.6);
  font-size:12px;
  line-height:1.45;
}

.home-hero__proofs{
  gap:10px;
  margin:0;
}

.home-hero__proofs li{
  padding-left:18px;
  color:rgba(255, 253, 246, 0.74);
  font-size:13px;
  line-height:1.48;
}

.home-hero__photo{
  min-height:0;
  max-height:640px;
}

.home-hero__photo img{
  aspect-ratio:1.02 / 1.18;
  object-fit:cover;
  object-position:center;
}

.home-hero__passport{
  max-width:292px;
  padding:20px;
}

.home-hero__price-value{
  font-size:42px;
  line-height:0.96;
}

.home-services .home-section__header{
  margin-bottom:28px;
}

.home-services__catalog{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:1px;
  border:1px solid rgba(19, 32, 29, 0.14);
  background:rgba(19, 32, 29, 0.14);
}

.home-services__catalog-card{
  display:grid;
  align-content:start;
  gap:18px;
  min-height:280px;
  padding:20px 18px 18px;
  background:rgba(255, 253, 246, 0.78);
}

.home-services__catalog-head{
  display:grid;
  gap:14px;
}

.home-services__catalog-head .home-services__title{
  margin:0;
}

.home-services__catalog-head .home-services__description{
  margin:8px 0 0;
  max-width:26ch;
}

.home-services__catalog-body{
  display:grid;
  align-content:space-between;
  gap:18px;
  height:100%;
}

.home-services__catalog-list{
  display:grid;
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}

.home-services__catalog-list li{
  position:relative;
  padding-left:14px;
  color:var(--home-ink-2);
  font-size:14px;
  line-height:1.45;
}

.home-services__catalog-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:5px;
  height:5px;
  background:var(--home-rust);
}

.home-services__catalog-list a{
  color:inherit;
}

.home-services__link{
  margin-top:auto;
  color:var(--home-rust);
  font-size:12px;
  font-weight:760;
  letter-spacing:0;
  text-transform:none;
}

.home-projects__cluster{
  grid-template-columns:minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap:18px;
}

.home-projects__featured{
  grid-template-columns:1fr;
  gap:0;
}

.home-projects__featured::before{
  left:18px;
  top:16px;
}

.home-projects__featured-media{
  display:block;
  overflow:hidden;
  aspect-ratio:1.24 / 1;
  min-height:0;
  max-height:360px;
}

.home-projects__featured-media img,
.home-projects__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:none !important;
  filter:none;
}

.home-projects__featured-body{
  padding:22px;
  gap:14px;
}

.home-projects__featured-body h3{
  max-width:17ch;
  font-size:28px;
  line-height:1.06;
}

.home-projects__dossier div,
.home-projects__mini-passport div{
  grid-template-columns:86px minmax(0, 1fr);
  gap:10px;
  padding:9px 0;
}

.home-projects__stack{
  grid-auto-rows:1fr;
}

.home-projects__card{
  display:grid;
  grid-template-rows:auto 1fr;
}

.home-projects__media{
  aspect-ratio:16 / 8.8;
}

.home-projects__body{
  display:grid;
  align-content:start;
  gap:12px;
  padding:18px;
}

.home-projects__body h3{
  font-size:24px;
  line-height:1.1;
}

@media (max-width:1279px){
  .home-services__catalog{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:1180px){
  .home-hero{
    padding:46px 0 34px;
  }

  .home-hero__layout,
  .home-projects__cluster{
    grid-template-columns:1fr;
  }

  .home-hero__photo{
    max-height:none;
  }

  .home-hero__photo img{
    aspect-ratio:1.36 / 1;
  }

  .home-hero__passport{
    max-width:none;
  }
}

@media (max-width:767px){
  .home-hero{
    padding:34px 0 22px;
  }

  body.is-front-page .home-hero h1{
    max-width:12ch;
    font-size:40px;
    line-height:0.98;
  }

  .home-hero__lead{
    font-size:15px;
    line-height:1.48;
  }

  .home-hero__metrics{
    grid-template-columns:1fr;
  }

  .home-hero__metrics div{
    min-height:0;
  }

  .home-services__catalog{
    grid-template-columns:1fr;
  }

  .home-services__catalog-card{
    min-height:0;
    padding:18px 16px;
  }

  .home-projects__featured-media{
    aspect-ratio:1.18 / 1;
    max-height:none;
  }

  .home-projects__featured-body,
  .home-projects__body{
    padding:18px 16px;
  }

  .home-projects__featured-body h3,
  .home-projects__body h3{
    font-size:24px;
  }

  .home-projects__dossier div,
  .home-projects__mini-passport div{
    grid-template-columns:1fr;
    gap:4px;
  }
}
