.pmf-cut {display:none;}
html{ overflow-y: auto !important; }
body{ overflow-y: visible !important; overflow-x: clip !important; }  /* clip лучше hidden для layout */


/* ===== Block 1: Cottage village hero ===== */

.cv-hero {
  background: #fff;
  color: #111;
}

.cv-hero__container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 64px) 0;
}

.cv-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

/* LEFT title */
.cv-hero__title {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;

  /* как на скрине: очень крупно, но адаптивно */
  font-size: clamp(30px, 4.4vw, 72px);
}

/* RIGHT column wrapper */
.cv-hero__right {
  display: grid;
  grid-template-columns: 2px 1fr;
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}

/* vertical line */
.cv-hero__divider {
  width: 2px;
  height: 100%;
  min-height: 220px;
  background: #af0b0b
  border-radius: 1px;
  opacity: 0.9;
}

/* Right text */
.cv-hero__content {
  padding-top: clamp(2px, 0.6vw, 8px);
}

.cv-hero__text {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.76);
  max-width: 54ch;
}

/* Bold award line */
.cv-hero__award {
  margin: clamp(18px, 2.2vw, 28px) 0 0;
  font-weight: 700;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.25;
  color: #111;
  max-width: 54ch;
}

/* badge center under award */
.cv-hero__badge {
  margin-top: clamp(14px, 2.2vw, 24px);
  display: flex;
  justify-content: center;
}

.cv-hero__badge-img {
  width: clamp(175px, 15.5vw, 570px);
  height: auto;
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cv-hero { padding-top: 80px;	
	}
  .cv-hero__grid {
    grid-template-columns: 1fr;
    row-gap: clamp(18px, 3vw, 28px);
  }
  .cv-hero__right {
    grid-template-columns: 2px 1fr;
    column-gap: unset; 
  }
  .cv-hero__divider {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .cv-hero__container {
    width: min(1240px, calc(100% - 32px));
  }

  .cv-hero__title {
    line-height: 0.98;
    letter-spacing: -0.015em;
  }

  .cv-hero__divider {
    min-height: 160px;
  }

  .cv-hero__text,
  .cv-hero__award {
    max-width: none;
  }
}






/* =========================================================
   Block 2 : Tech highlights (6 items: 2 columns x 3 rows + image)
   ========================================================= */
/* ===== Mosaic gallery (Porsche-like gaps, full width, NO CROP) ===== */

.cv-mosaic-full{
  width: 100%;
  background: #ffffff;
}

/* full-bleed */
.cv-mosaic-full__bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* небольшой внешний отступ как у Porsche */
  padding: clamp(8px, 1vw, 14px);
  box-sizing: border-box;
}

/* grid with thin gaps */
.cv-mosaic-full__grid{
  display: grid;
  width: 100%;
  gap: clamp(6px, 0.6vw, 10px);
  box-sizing: border-box;

  grid-template-columns: 2fr 1fr 1fr;
  grid-template-areas:
    "big s1 s2"
    "big s3 s4";
  align-items: stretch;
}

/* tile */
.cv-mosaic-full__item{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* placement */
.cv-mosaic-full__item--big{ grid-area: big; }
.cv-mosaic-full__item--s1{  grid-area: s1; }
.cv-mosaic-full__item--s2{  grid-area: s2; }
.cv-mosaic-full__item--s3{  grid-area: s3; }
.cv-mosaic-full__item--s4{  grid-area: s4; }

/* images: fully visible, NO cropping */
.cv-mosaic-full__item > img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;   /* важно: не режем */
  object-position: center;

  /* убираем возможные “артефакты” от темы */
  max-width: none;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .cv-mosaic-full__grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "big big"
      "s1  s2"
      "s3  s4";
  }

  /* единая “геометрия” плиток */
  .cv-mosaic-full__item--big{ aspect-ratio: 16 / 9; }
  .cv-mosaic-full__item--s1,
  .cv-mosaic-full__item--s2,
  .cv-mosaic-full__item--s3,
  .cv-mosaic-full__item--s4{ aspect-ratio: 16 / 9; }
}

/* MOBILE: big full width, then 4 items 2-per-row */
@media (max-width: 560px){
  .cv-mosaic-full__bleed{
    padding: 10px;
  }

  .cv-mosaic-full__grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "big big"
      "s1  s2"
      "s3  s4";
    gap: 10px;
  }

  .cv-mosaic-full__item--big{ aspect-ratio: 16 / 9; }
  .cv-mosaic-full__item--s1,
  .cv-mosaic-full__item--s2,
  .cv-mosaic-full__item--s3,
  .cv-mosaic-full__item--s4{ aspect-ratio: 16 / 9; }
}































.cv-tech{
  background:#fff;
  color:#111;
}

.cv-tech__container{
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 72px) 0;
}

.cv-tech__grid{
  display:grid;
  grid-template-columns: 1fr 0.95fr; /* left list, right image */
  column-gap: clamp(18px, 3.2vw, 56px);
  align-items: center;
}

/* left list */
.cv-tech__list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 44px) clamp(18px, 3vw, 56px);
  align-content: start;
}

.cv-tech__item{
  min-width: 0;
}

.cv-tech__value{
  display:flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1;
}

.cv-tech__unit{
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 26px);
  letter-spacing: 0.01em;
  color: rgba(17,17,17,.8);
  white-space: nowrap;
}

.cv-tech__label{
  margin-top: 10px;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.3;
  color: rgba(17,17,17,.62);
}

/* right image */
.cv-tech__media{
  display:flex;
  justify-content: center;
  align-items: center;
}

.cv-tech__img{
  width: 100%;
  max-width: 620px;
  height: auto;
  display:block;
  border-radius: 30px;
}

/* =========================
   Counter (rolling digits)
   ========================= */

.cv-counter{
  --cv-counter-size: clamp(56px, 3.2vw, 112px);
  --cv-counter-duration: 1200ms;

  display:inline-flex;
  align-items: baseline;
  font-weight: 500;
  font-size: var(--cv-counter-size);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;

  /* safety against theme overrides */
  color: #111;
}

.cv-counter__col{
  position: relative;
  height: 1em;          /* viewport window */
  width: 0.62em;
  overflow: hidden;
}

.cv-counter__stack{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  will-change: transform;
  transform: translateY(0);
  transition: transform var(--cv-counter-duration) cubic-bezier(.2,.8,.2,1);
}

.cv-counter__digit{
  height: 1em;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  line-height: 1;
  color: inherit;
}

.cv-counter__sep{
  display:inline-block;
  width: 0.35em;     /* dot / slash / space */
  text-align:center;
  color: inherit;
}

/* Optional: tiny hover (no layout shift) */
@media (hover:hover){
  .cv-tech__item{
    transition: transform .2s ease;
  }
  .cv-tech__item:hover{
    transform: translateY(-1px);
  }
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 980px){
  .cv-tech__grid{
    grid-template-columns: 1fr;
    row-gap: clamp(18px, 3vw, 32px);
  }

  .cv-tech__media{
    order: 2;
    justify-content: flex-start;
  }

  .cv-tech__img{
    max-width: 720px;
  }
}

@media (max-width: 760px){
  .cv-tech__list{
    grid-template-columns: 1fr; /* 1 per row */
    gap: 22px;
  }

  .cv-counter{
    --cv-counter-size: clamp(46px, 11vw, 84px);
  }
}

@media (max-width: 560px){
  .cv-tech__container{
    width: min(1240px, calc(100% - 32px));
  }
}
/* LEFT wrapper (head + list) */
.cv-tech__left{
  min-width: 0;
}

.cv-tech__head{
  margin: 0 0 clamp(16px, 2vw, 26px);
}

.cv-tech__title{
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.2vw, 40px);
  line-height: 1.05;
}

.cv-tech__subtitle{
  margin: 0;
  font-weight: 400;
  color: rgba(17,17,17,.72);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.35;
}

/* Keep your existing .cv-tech__list grid */
.cv-tech__list{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 44px) clamp(18px, 3vw, 56px);
  align-content: start;
}

/* Responsive: on mobile title stays above, list 1 column */
@media (max-width: 760px){
  .cv-tech__list{
    grid-template-columns: 1fr;
    gap: 22px;
  }
}































/* ===== Porsche-like Highlights Slider ===== */

.cv-highlights{
  --pad-x: clamp(16px, 2.6vw, 44px);
  --gap: clamp(14px, 1.2vw, 18px);
  --radius: 12px;
  --card-h: clamp(420px, 54vh, 620px);

  --dot: 6px;
  --dot-gap: 8px;

  background: #fff;
  color: #111;
}

/* HEAD */
.cv-highlights__head{
  width: min(1240px, calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 56px) 0 14px;
  position: relative;
}

.cv-highlights__title{
  margin: 0;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.1;
}

/* arrows: minimal, right of title line */
.cv-highlights__arrows{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-35%);
  display: flex;
  gap: 10px;
}

.cv-highlights__arrow{
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: .45;
  transition: opacity .15s ease, transform .15s ease;
}

.cv-highlights__arrow:hover{ opacity: .75; transform: translateY(-1px); }
.cv-highlights__arrow:active{ transform: translateY(0); }
.cv-highlights__arrow[disabled]{ opacity: .20; cursor: default; transform: none; }

/* thin chevrons */
.cv-highlights__arrow::before{
  content:"";
  display:block;
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.cv-highlights__arrow--prev::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.5 5.5L8.5 12l6 6.5' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cv-highlights__arrow--next::before{
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 5.5L15.5 12l-6 6.5' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");
}

/* BLEED */
.cv-highlights__bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 var(--pad-x) clamp(18px, 2.4vw, 30px);
  box-sizing: border-box;
}

/* VIEWPORT */
.cv-highlights__viewport{
  position: relative;
}

/* TRACK */
.cv-highlights__track{
  display: flex;
  gap: var(--gap);
  align-items: stretch;

  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-x);
  -webkit-overflow-scrolling: touch;

  padding: 0 0 28px; /* под дотсы */
  scrollbar-width: none;
}
.cv-highlights__track::-webkit-scrollbar{ display: none; }

/* CARD */
.cv-hcard{
  flex: 0 0 auto;
  height: var(--card-h);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;

  scroll-snap-align: start;
  scroll-snap-stop: always;

  background: #111;
}

.cv-hcard--l{ width: clamp(560px, 56vw, 820px); } /* large like Porsche */
.cv-hcard--s{ width: clamp(360px, 34vw, 520px); } /* medium/square-ish */
.cv-hcard--p{ width: clamp(320px, 28vw, 460px); } /* optional narrow */

.cv-hcard__media{
  position: absolute;
  inset: 0;
}

.cv-hcard__media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* как в Porsche */
  object-position: center;
}

/* bottom gradient + text */
.cv-hcard__overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: clamp(18px, 2.2vw, 28px);
  color: #fff;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.55) 35%,
    rgba(0,0,0,0) 100%
  );
}

.cv-hcard__h{
  margin: 0 0 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.1;
}

.cv-hcard__p{
  margin: 0;
  max-width: 62ch;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.45;
  opacity: .88;
}

/* DOTS (center bottom) */
.cv-highlights__dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--dot-gap);
  padding-top: 10px;
}

.cv-dot{
  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(17,17,17,.25);
  cursor: pointer;
  transition: width .18s ease, background .18s ease, opacity .18s ease;
  opacity: .9;
}

.cv-dot:hover{ background: rgba(17,17,17,.35); }

.cv-dot.is-active{
  width: 22px;                 /* “пилюля” */
  background: rgba(17,17,17,.78);
}

/* Responsive */
@media (max-width: 760px){
  .cv-highlights__arrows{
    right: 2px;
    transform: translateY(-30%);
  }

  .cv-hcard{
    height: clamp(360px, 54vh, 520px);
  }

  .cv-hcard--l{ width: min(86vw, 760px); }
  .cv-hcard--s{ width: min(78vw, 620px); }
  .cv-hcard--p{ width: min(74vw, 560px); }
}















































































  /* ===== Full-bleed wide image + caption ===== */
  .te-heroWide{
    position: relative;
    width: 100%;
    background: #0b0b0d;
  }

  .te-heroWide__figure{
    margin: 0;
    position: relative;
    width: 100%;
    height: clamp(520px, 90vh, 860px); /* “широкая на весь экран” */
    overflow: hidden;
    background: #111;
  }

  .te-heroWide__img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
  }

  .te-heroWide__shade{
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        to bottom,
        rgba(244, 242, 238,0) 0%,
        rgba(244, 242, 238,.15) 80%,
        rgba(244, 242, 238,.62) 90%,
        rgba(244, 242, 238,.82) 100%
      );
    pointer-events: none;
  }

  .te-heroWide__caption{
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(22px, 4vw, 56px);
    width: min(var(--te-container, 1240px), calc(100% - (var(--te-gutter, 32px) * 2)));
    margin: 0 auto;
    color: #fff;
  }

  .te-heroWide__kicker{
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: none; /* как в примере “Участок № 62” */
    color: rgba(255,255,255,.85);
    margin-bottom: 10px;
  }

  .te-heroWide__title{
    margin: 0;
    font-weight: 600;
    letter-spacing: -.01em;
    font-size: clamp(26px, 3.2vw, 54px);
    line-height: 1.05;
    text-wrap: balance;
  }

  @media (max-width: 760px){
    .te-heroWide__figure{
      height: clamp(420px, 70vh, 720px);
    }
    .te-heroWide__caption{
      bottom: 22px;
      width: calc(100% - 32px);
    }
  }

























/* ===== Fullscreen centered title/subtitle + paragraph ===== */

.cv-fullscreen-text{
  width: 100%;
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center;
  background: #ffffff;
  color: #111;
}

.cv-fullscreen-text__inner{
  width: min(980px, calc(100% - 48px));
  text-align: center;
  padding: clamp(40px, 6vh, 96px) 0;
  padding-bottom: revert-layer;
}

.cv-fullscreen-text__title{
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 62px);
  line-height: 1.05;
}

.cv-fullscreen-text__subtitle{
  margin: 0 0 18px;
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.25;
  color: rgba(17,17,17,.72);
}

.cv-fullscreen-text__text{
  margin: 0 auto;
  max-width: 62ch;
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  color: rgba(17,17,17,.78);
}

/* Responsive paddings */
@media (max-width: 560px){
  .cv-fullscreen-text__inner{
    width: min(980px, calc(100% - 32px));
  }
}

































































  /* ===== Next block: 2 columns ===== */
  .te-twoCol{
    background: #fff;
    color: #000;
    padding: clamp(44px, 6vw, 92px) 0;
  }

  .te-twoCol__inner{
    width: min(var(--te-container, 1240px), calc(100% - (var(--te-gutter, 32px) * 2)));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(22px, 3vw, 44px);
    align-items: center;
  }

  /* left image */
  .te-twoCol__media{
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
  }
  .te-twoCol__media img{
    width: 100%;
    height: clamp(320px, 38vw, 560px);
    object-fit: cover;
    display: block;
    transform: scale(1.01);
  }

  /* right text */
  .te-twoCol__title{
    margin: 0;
    font-weight: 500;
    letter-spacing: -.01em;
    font-size: clamp(26px, 2.6vw, 42px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .te-twoCol__subtitle{
    margin: 12px 0 0;
    font-weight: 500;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.45;
    text-wrap: balance;
  }

  .te-twoCol__text{
    margin: 16px 0 0;
    max-width: 58ch;
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 1.6;
  }

  /* flat image under text */
  .te-twoCol__flat{
    margin-top: clamp(18px, 2.2vw, 28px);
    border-radius: 12px;
    padding: clamp(14px, 1.8vw, 22px);
    overflow: hidden;
  }
  .te-twoCol__flat img{
    width: 100%;
    height: clamp(120px, 14vw, 200px);
    object-fit: contain;          /* плоская картинка — не режем */
    display: block;
  }

  /* responsive */
  @media (max-width: 980px){
    .te-twoCol__inner{
      grid-template-columns: 1fr;
    }
    .te-twoCol__media img{
      height: clamp(240px, 56vw, 420px);
    }
    .te-twoCol__text{
      max-width: none;
    }
  }
