:root{
  --bg:#fbfbf7;
  --bg2:#f6f6f0;
  --text:#1f2320;
  --muted:#6d726c;
  --muted2:#8a908a;
  --border:#e7e6df;
  --accent:#145b3a; /* тёмно-зелёный */
  --accent2:#e8f5ef;
  --reviewRed:#d11b1b;
  --shadow: 0 12px 30px rgba(0,0,0,.06);
  --radius:16px;
  --radius2:12px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans","Helvetica Neue",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
}

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
@media (max-width: 520px){
  .container{
    width: min(var(--container), calc(100% - 20px));
  }
}

/* Typography */
.h1{
  font-size: 44px;
  line-height:1.06;
  margin: 0 0 14px;
  letter-spacing:-.02em;
}
.h2{
  font-size: 28px;
  margin:0 0 14px;
  letter-spacing:-.01em;
}
.lead{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 62ch;
}
.lead2{
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 14px;
}
.muted2{ color: var(--muted2); }

/* Sections */
.section{ padding: 42px 0; }
.section--alt{ background: linear-gradient(180deg, #ffffff, var(--bg2)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.section--reviews{ background: var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

/* Hero */
.hero{ padding: 28px 0 10px; }
@media (max-width: 520px){
  .hero{ padding-top: 18px; }
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.hero__left{ padding-top: 4px; }
.hero__tag{
  display:inline-block;
  background: var(--accent2);
  color: var(--accent);
  border: 1px solid rgba(20,91,58,.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}
.hero__bullets{
  display:grid;
  gap:10px;
  margin: 14px 0 18px;
}
.bullet{
  padding: 10px 12px;
  border:1px solid var(--border);
  border-radius: 14px;
  background:#fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.hero__ctaRow{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.hero__miniTrust{
  margin-top: 16px;
  display:grid;
  gap: 8px;
}
.miniTrust__item{
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position:relative;
}
.miniTrust__item:before{
  content:'';
  width:10px; height:10px;
  border-radius:3px;
  background: var(--accent);
  position:absolute;
  left:0; top: 6px;
}

.hero__right{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.hero__visual{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(1200px 420px at 10% 0%, rgba(20,91,58,.06), transparent 55%),
    radial-gradient(900px 320px at 90% 20%, rgba(209,27,27,.06), transparent 50%),
    #fff;
  padding: 12px;
  box-shadow: var(--shadow);
  display:flex;
  align-items:stretch;
  justify-content:center;
  overflow: hidden;
}
.hero__media{
  width: 100%;
}
.heroCaseImg{
  display: block;
  cursor: zoom-in;
}

/* Единые пропорции превью: обрезка без искажений */
.mediaFrame{
  position: relative;
  overflow: hidden;
  background: #f3f3f0;
}
.mediaFrame > img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
img.js-lightbox:focus-visible{
  outline: 3px solid rgba(20,91,58,.45);
  outline-offset: 2px;
}
.mediaFrame--hero{
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}
.mediaFrame--pair{
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}
.mediaFrame--tile{
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}
.visual__after{
  width:100%;
  border-radius: 14px;
  border:1px dashed #d8d8d8;
  background:#fbfbfb;
  padding: 22px 12px;
  text-align:center;
  color: var(--muted);
  font-weight: 800;
}
.hero__split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.split__box{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  background:#fff;
  padding: 12px;
}
.split__label{ font-weight: 950; margin-bottom: 10px; color:#161916; }
.split__img{
  border:1px dashed #d8d8d8;
  border-radius: 12px;
  padding: 18px 12px;
  text-align:center;
  color: var(--muted);
  background:#fcfcfc;
  font-weight: 800;
  font-size: 14px;
}
.hero__note{
  color: var(--muted2);
  font-size: 13px;
}

/* Buttons */
.btn{
  border:none;
  cursor:pointer;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  font-size: 16px;
  transition: transform .02s ease, opacity .15s ease, background .15s ease, border-color .15s ease;
}
.btn:disabled{ opacity: .65; cursor:not-allowed; }
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--accent);
  color:#fff;
  box-shadow: 0 10px 24px rgba(20,91,58,.18);
}
.btn--ghost{
  background:#fff;
  color: var(--accent);
  border:1px solid rgba(20,91,58,.25);
}
.btn--small{ padding: 10px 14px; font-size: 14px; border-radius: 12px; }

/* Cards/Grids */
.grid6{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
  min-height: 112px;
}
.card__icon{
  width:40px;
  height:40px;
  border-radius: 12px;
  background: var(--accent2);
  border:1px solid rgba(20,91,58,.15);
  color: var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.card__icon svg{
  width:22px;
  height:22px;
  display:block;
}
.card__title{
  font-weight: 950;
  margin-bottom: 8px;
}
.card__text{ color: var(--muted); font-weight: 650; }
.card--soft{ }

.card, .serviceCard, .pairCard, .caseCard, .workCard, .factor, .material, .bigCard, .masterCard, .review, .faq__item, .priceItem, .titem{
  transition: transform .12s ease, box-shadow .12s ease;
}

.card:hover, .serviceCard:hover, .pairCard:hover, .caseCard:hover, .workCard:hover, .factor:hover, .material:hover, .bigCard:hover, .masterCard:hover, .review:hover, .faq__item:hover, .priceItem:hover, .titem:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.sectionNote, .sectionNote2{
  margin-top: 14px;
  color: var(--muted);
  max-width: 88ch;
}
.sectionNote{ font-size: 15px; }

/* Services */
.gridServices{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.serviceCard{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
  min-height: 132px;
}
.serviceCard__media{
  margin: -2px -2px 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.serviceCard__media img{ cursor: zoom-in; }
.serviceCard__top{ font-weight: 950; margin-bottom: 10px; }
.serviceCard__price{
  font-weight: 950;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 18px;
}
.serviceCard__text{ color: var(--muted); font-weight: 650; }

.ctaLine{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}
.ctaLine__text{ color: var(--muted); font-weight: 650; }
.ctaLine__text{ font-size: 14px; }

/* Compare */
.compare{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.compare__head{
  font-weight: 950;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background:#fff;
}
.compare__head--accent{
  background: var(--accent2);
  border-color: rgba(20,91,58,.22);
  color: var(--accent);
}
.compare__list{
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-weight: 650;
}
.compare__col{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 14px;
}
.compare__photo{
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.compare__photo img{ cursor: zoom-in; }
.mediaFrame--compare{
  aspect-ratio: 4 / 3;
}

/* Pair / before-after */
.pairGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pairCard--ba{
  margin: 0;
}
.pairCard__imgWrap{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f3f3f0;
}
.pairCard__imgWrap img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.pairCard__caption{
  margin-top: 10px;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.35;
}
.pairCard--wide{
  grid-column: 1 / -1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.pairCard{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 14px;
}
.pairCard__title{ font-weight: 950; margin-bottom: 10px; }
.pairCard__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pairBox{
  border:1px dashed #d8d8d8;
  border-radius: 12px;
  padding: 10px;
  background:#fcfcfc;
}
.pairBox__label{
  font-weight: 950;
  margin-bottom: 8px;
}
.imgph{
  text-align:center;
  color: var(--muted);
  font-weight: 900;
  padding: 32px 8px;
  border-radius: 10px;
  background:#f7f7f7;
}

/* Case cards */
.caseGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.caseCard{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
  min-height: 186px;
}
.caseCard__type{ font-weight: 950; margin-bottom: 10px; }
.caseCard__img{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  padding: 0;
  background: #f3f3f0;
}
.caseCard__img img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.caseGrid--5{
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px){
  .caseGrid--5{
    grid-template-columns: 1fr;
  }
  .pairCard--wide{
    max-width: none;
  }
}
.caseCard__meta{
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  margin-top: 6px;
}

/* Work cards (одиночные кадры) */
.workGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.workCard{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
  min-height: 186px;
}
.workCard__img{
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 12px;
}
.workCard__caption{
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  margin-top: 6px;
}

/* Prices */
.pricesGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.priceItem{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
}
.priceItem__title{ font-weight: 950; margin-bottom: 10px; }
.priceItem__value{
  font-weight: 950;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 8px;
}
.priceItem__text{ color: var(--muted); font-weight: 650; font-size: 14px; }
.priceItem--wide{
  grid-column: 1 / -1;
}

/* Factors */
.factorGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.factor{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
  min-height: 124px;
}
.factor__icon{
  width:40px;
  height:40px;
  border-radius: 12px;
  background: var(--accent2);
  border:1px solid rgba(20,91,58,.15);
  color: var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.factor__icon svg{
  width:22px;
  height:22px;
  display:block;
}
.factor__title{ font-weight: 950; margin-bottom: 10px; }
.factor__text{ color: var(--muted); font-weight: 650; font-size: 14px; }

/* Materials */
.materialGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.material{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
}
.material__img{
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--accent2);
  border: 1px solid rgba(20,91,58,.18);
  display:block;
  object-fit: cover;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.material__name{
  font-weight: 950;
  margin-bottom: 8px;
  color: #1a1f1b;
}
.material__text{ color: var(--muted); font-weight: 650; font-size: 14px; }

/* Timeline */
.timeline{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.timeline--flow{
  display:flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.timeline--flow .titem{
  flex: 1 1 140px;
  min-width: 130px;
  position: relative;
  scroll-snap-align: start;
  margin-right: 10px;
}
.timeline--flow .titem:last-child{
  margin-right: 0;
}
.titem__arrow{
  display: none;
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 900;
  color: var(--muted2);
  line-height: 1;
  z-index: 1;
}
.timeline--flow .titem:not(:last-child) .titem__arrow{
  display: block;
}
.timeline--flow .titem:not(:last-child) .titem__arrow::before{
  content: '→';
}
.titem{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding: 12px;
  background:#fff;
  min-height: 84px;
}
.titem__n{
  width:32px;
  height:32px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--accent2);
  color: var(--accent);
  font-weight:900;
  margin-bottom: 10px;
}
.titem__c{ color: var(--muted); font-size: 14px; font-weight:700; }

/* Big cards */
.grid2{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bigCard{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 18px;
}
.bigCard__title{ font-weight: 950; color:#1a1f1b; margin-bottom: 10px; }
.bigCard__value{
  font-size: 26px;
  font-weight: 1000;
  color: var(--accent);
  margin-bottom: 8px;
}
.bigCard__text{ color: var(--muted); font-weight: 650; }

/* Masters */
.masterGrid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 12px;
}
.masterCard{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
}
.masterCard__img{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.masterCard__img img{
  cursor: zoom-in;
}
.mediaFrame--master{
  aspect-ratio: 16 / 10;
}
.masterCard__text{ color: var(--muted); font-weight: 650; }
.masterGrid .masterCard--facts{
  background: var(--bg);
}
.masterFact{
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background:#fff;
  margin-bottom: 10px;
}
.masterFact__title{ font-weight: 950; margin-bottom: 6px; }
.masterFact__text{ color: var(--muted); font-weight: 650; font-size: 14px; }

/* Reviews */
.reviewgrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.review{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 16px;
  position:relative;
  overflow:hidden;
  min-height: 150px;
}
.review__mark{
  position:absolute;
  top: -6px;
  right: 12px;
  font-size: 64px;
  line-height: 1;
  color: rgba(209,27,27,.14);
}
.review__text{
  color: var(--muted);
  margin-right: 20px;
  font-weight: 650;
}
.review__who{
  margin-top: 10px;
  font-weight:900;
  color:#2a2a2a;
  font-size: 14px;
}

/* FAQ */
.faq{
  display:grid;
  gap:10px;
}
.faq__item{
  border:1px solid var(--border);
  background:#fff;
  border-radius: var(--radius2);
  padding: 10px 14px;
}
.faq__item summary{
  cursor:pointer;
  font-weight:950;
}
.faq__body{
  color:var(--muted);
  padding-top: 8px;
  font-weight:650;
}

/* Form */
.section--form{ padding-top: 54px; padding-bottom: 52px; }
.formHeader{ margin-bottom: 16px; }
.form{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background:#fff;
  max-width: 720px;
}
.form__row{ margin-top: 12px; }
.field{ display:block; }
.field__label{
  display:block;
  font-weight:950;
  margin-bottom: 6px;
}
.field__input{
  width:100%;
  border:1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 16px;
  outline:none;
}
.field__input:focus{
  border-color: rgba(20,91,58,.45);
  box-shadow: 0 0 0 4px rgba(20,91,58,.10);
}
.field__textarea{ resize: vertical; }

.fileHint{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted2);
}
.field__input[type="file"]{
  padding: 10px 0;
}

.consent{
  margin-top: 14px;
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.consent input{ margin-top: 3px; }

.form__status{
  margin-top: 10px;
  color: var(--muted);
  min-height: 18px;
  font-size: 14px;
}

/* CTA bottom */
.section--ctaBottom{ padding: 34px 0 56px; }
.ctabox{
  border:1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.ctabox__title{
  font-weight: 1000;
  font-size: 18px;
  margin-bottom: 6px;
}
.ctabox__text{
  color: var(--muted);
  font-weight: 650;
}

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background:#fff;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
}
.footer__brand{
  font-weight: 1000;
  letter-spacing: .06em;
}
.footer__text{
  margin-top: 8px;
  color: var(--muted);
}
.footer__title{
  font-weight: 1000;
  margin-bottom: 10px;
}
.footer__contact{
  margin-top: 14px;
  display:grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}
.footer__contactItem{ }
.footer__policy{
  margin-top: 12px;
  border:1px solid var(--border);
  padding: 12px;
  border-radius: 12px;
  background:#fcfcfc;
  font-size: 14px;
  color: var(--muted);
}

.footerMap{
  margin-top: 14px;
  border:1px solid var(--border);
  border-radius: 14px;
  overflow:hidden;
  background:#fff;
}
.footerMap__iframe{
  width: 100%;
  height: 220px;
  border: 0;
}

/* Lightbox (полноэкранный просмотр фото) */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15,18,15,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  cursor: zoom-out;
}
.lightbox__inner{
  max-width: min(96vw, 1400px);
  max-height: 92vh;
}
.lightbox__img{
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  cursor: zoom-out;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.pairCard__imgWrap img,
.caseCard__img img,
.workCard__img img{
  cursor: zoom-in;
}

@media (max-width: 980px){
  .h1{ font-size: 34px; line-height: 1.1; }
  .h2{ font-size: 24px; }
  .hero__grid{ grid-template-columns: 1fr; }
  .grid6{ grid-template-columns: 1fr 1fr; }
  .gridServices{ grid-template-columns: 1fr; }
  .compare{ grid-template-columns: 1fr; }
  .pairGrid{ grid-template-columns: 1fr; }
  .caseGrid{ grid-template-columns: 1fr; }
  .workGrid{ grid-template-columns: 1fr; }
  .pricesGrid{ grid-template-columns: 1fr; }
  .factorGrid{ grid-template-columns: 1fr; }
  .materialGrid{ grid-template-columns: 1fr; }
  .timeline:not(.timeline--flow){ grid-template-columns: 1fr 1fr; }
  .timeline--flow{
    flex-direction: column;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .timeline--flow .titem{
    flex: none;
    min-width: 0;
    margin-right: 0;
    margin-bottom: 6px;
  }
  .timeline--flow .titem__arrow{
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }
  .timeline--flow .titem:not(:last-child) .titem__arrow::before{
    content: '↓';
  }
  .timeline--flow .titem:last-child{ margin-bottom: 0; }
  .grid2{ grid-template-columns: 1fr; }
  .masterGrid{ grid-template-columns: 1fr; }
  .reviewgrid{ grid-template-columns: 1fr; }
  .ctabox{ flex-direction: column; align-items:flex-start; }
  .footer__grid{ grid-template-columns: 1fr; }
  .footerMap__iframe{ height: 180px; }
  .btn{
    min-height: 48px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
}

@media (max-width: 520px){
  .grid6{ grid-template-columns: 1fr; }
  .h1{ font-size: 28px; }
}

