/* Страница «Строительство» — макет ai-15 */

.pdf-shell--stroitelstvo {
  background: #fff;
}

.pdf-shell--stroitelstvo > main.stroi-page,
.stroi-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* ----- Золотой блок: заголовок + видео + текст (макет) ----- */
.stroi-gold {
  position: relative;
  overflow: hidden;
  background: #bea155;
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1rem, 3vw, 2.5rem) clamp(2.25rem, 5vw, 3.5rem);
}

.stroi-gold__watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stroi-gold__watermark-img {
  position: absolute;
  left: auto;
  right: clamp(-16vw, -9rem, -4rem);
  top: 50%;
  transform: translateY(-50%) translateX(-53px);
  width: min(64vw, 40.5rem);
  height: auto;
  max-height: 145%;
  display: block;
  object-fit: contain;
  object-position: center center;
  opacity: 0.22;
}

.stroi-gold__inner {
  position: relative;
  z-index: 1;
  max-width: min(52rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.stroi-gold__title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(1.15rem, 1.85vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  color: #1a1613;
}

.stroi-gold__video-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.stroi-gold__video {
  display: block;
  text-align: left;
}

.stroi-gold__video-cap {
  display: block;
  margin: 0 0 0.35rem;
  font-size: clamp(0.82rem, 1.05vw, 0.92rem);
  font-weight: 400;
  color: #1a1613;
}

.stroi-gold__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.stroi-gold__frame-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  padding: 0.65rem 0.85rem;
  font-size: clamp(0.82rem, 1.05vw, 0.92rem);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  pointer-events: none;
}

/* Кнопка play в стиле YouTube (без PNG — не дублируется с постером) */
.stroi-gold__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: clamp(4.25rem, 9.5vw, 6.5rem);
  height: clamp(2.85rem, 6.2vw, 4.35rem);
  border-radius: 14px;
  background: #f00;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.stroi-gold__play::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.95em 0 0.95em 1.55em;
  border-color: transparent transparent transparent #fff;
}

.stroi-gold__video-link:hover .stroi-gold__play,
.stroi-gold__video-link:focus-visible .stroi-gold__play {
  background: #c00;
  transform: translate(-50%, -50%) scale(1.04);
}

.stroi-gold__foot {
  margin: clamp(1.1rem, 2.2vw, 1.5rem) 0 0;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.82rem, 1.05vw, 0.92rem);
  line-height: 1.55;
  color: #1a1613;
}

/* ----- Реализованные проекты (2×2, макет) ----- */
.stroi-projects {
  padding: clamp(1.4rem, 2.6vw, 1.8rem) 0 clamp(1.2rem, 2.2vw, 1.6rem);
  background: #fff;
}

.stroi-projects__head {
  max-width: min(52rem, calc(100% - 2.5rem));
  margin: 0 auto clamp(0.9rem, 1.8vw, 1.2rem);
  padding: 0 1.25rem;
  text-align: center;
  box-sizing: border-box;
}

.stroi-projects__h {
  margin: 0 0 0.5rem;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(1rem, 1.85vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
}

.stroi-projects__note {
  margin: 0 0 1.1rem;
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  line-height: 1.45;
  color: #000;
}

.stroi-projects__intro p {
  margin: 0 0 0.85rem;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  line-height: 1.55;
  color: #000;
}

.stroi-projects__intro p:last-child {
  margin-bottom: 0;
}

.stroi-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.4rem, 0.7vw, 0.6rem);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .stroi-projects__grid {
    grid-template-columns: 1fr;
  }
}

.stroi-tile {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  min-height: 0;
}

.stroi-tile__photo {
  position: relative;
  display: block;
  aspect-ratio: 21 / 9;
  min-height: clamp(7.5rem, 15vw, 11rem);
  overflow: hidden;
  background: #2a2825;
}

.stroi-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.stroi-tile:hover .stroi-tile__img {
  transform: scale(1.03);
}

.stroi-tile__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #3a3632, #4a4540);
}

.stroi-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  box-sizing: border-box;
}

.stroi-tile__label {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: transparent;
  color: #fff;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.78rem, 1.1vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}

.stroi-tile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 7.5rem;
  padding: 0.42rem 1rem;
  background: #fff;
  color: #1a1613 !important;
  font-family: "Acrom-Light", system-ui, Arial, sans-serif;
  font-size: clamp(0.68rem, 0.85vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  line-height: 1.2;
}

.stroi-tile__arrow {
  font-size: 0.95em;
  line-height: 1;
}

/* ----- Комплекс услуг (5 колонок, макет) ----- */
.stroi-page {
  --stroi-services-content-width: var(--gle-content-width);
}

.stroi-services {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.stroi-services--extra {
  border-top: none;
}

.stroi-services--extra .stroi-services__tabs {
  border-top: 1px solid #d0d0d0;
}

.stroi-services__head {
  background: #bea155;
  padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.stroi-services__content {
  width: 100%;
  margin: 0;
  background: #ebeae7;
  box-sizing: border-box;
}

.stroi-services__content-inner {
  width: 100%;
  max-width: var(--stroi-services-content-width);
  margin-inline: auto;
  box-sizing: border-box;
}

.stroi-services__h {
  margin: 0;
  max-width: min(52rem, 100%);
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.72rem, 1.25vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.55;
  text-transform: uppercase;
  color: #1a1613;
}

.stroi-services__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  background: #ebeae7;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .stroi-services__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .stroi-services__tabs {
    grid-template-columns: 1fr;
  }
}

.stroi-svc-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(16rem, 28vw, 20rem);
  padding: clamp(1.75rem, 3vw, 2.35rem) clamp(0.65rem, 1.5vw, 1rem) clamp(1.25rem, 2.5vw, 1.65rem);
  background: #ebeae7;
  border-left: 1px solid #d8d6d2;
  box-sizing: border-box;
}

.stroi-svc-tab:first-child {
  border-left: none;
}

.stroi-svc-tab.is-active {
  background: #fff;
}

.stroi-svc-tab__icon {
  display: block;
  width: clamp(5.5rem, 9vw, 7.5rem);
  height: auto;
  max-height: clamp(5rem, 12vw, 7rem);
  object-fit: contain;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.1rem);
}

.stroi-svc-tab__label {
  margin: auto 0 clamp(1rem, 2vw, 1.35rem);
  padding: 0 0.25rem;
  text-align: center;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  font-weight: 600;
  line-height: 1.35;
  color: #1a1613;
  max-width: 11rem;
}

.stroi-svc-tab__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: auto;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.stroi-svc-tab__btn--toggle {
  background: #c41e2a;
}

.stroi-svc-tab.is-active .stroi-svc-tab__btn--toggle {
  background: #1a1613;
}

.stroi-svc-tab__play {
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  border-left: 0.62rem solid #fff;
}

.stroi-svc-tab__chev {
  display: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -2px);
}

.stroi-svc-tab.is-active .stroi-svc-tab__play {
  display: none;
}

.stroi-svc-tab.is-active .stroi-svc-tab__chev {
  display: block;
}

/* нижний блок — шеврон смотрит вверх */
.stroi-services--extra .stroi-svc-tab.is-active .stroi-svc-tab__chev {
  transform: rotate(225deg) translate(1px, 2px);
}

.stroi-services__panels {
  display: none !important;
  width: 100%;
}

.stroi-svc-panel[hidden] {
  display: none;
}

.stroi-svc-panel {
  background: #0a0a0a;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.stroi-svc-panel__slider {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  max-width: min(56rem, 100%);
  margin: 0 auto 1.25rem;
}

.stroi-svc-panel__nav {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.stroi-svc-panel__nav:hover {
  color: #fff;
}

.stroi-svc-panel__track {
  flex: 1 1 auto;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
}

.stroi-svc-panel__track::-webkit-scrollbar {
  display: none;
}

.stroi-svc-panel__slide {
  flex: 0 0 calc((100% - 1.3rem) / 3);
  min-width: clamp(7rem, 22vw, 12rem);
  margin: 0;
  scroll-snap-align: start;
  line-height: 0;
}

.stroi-svc-panel__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stroi-svc-panel__note {
  margin: 0 auto;
  max-width: min(40rem, 100%);
  text-align: center;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  line-height: 1.5;
  color: #fff;
}

@media (max-width: 720px) {
  .stroi-svc-panel__slide {
    flex: 0 0 calc((100% - 0.65rem) / 2);
  }
}

@media (max-width: 480px) {
  .stroi-svc-panel__slide {
    flex: 0 0 85%;
  }
}

/* ----- Карусель между рядами иконок услуг ----- */
.stroi-svc-carousel {
  background: #0a0a0a;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.stroi-svc-carousel__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  width: 100%;
  max-width: var(--stroi-services-content-width);
  margin: 0 auto 1.25rem;
  box-sizing: border-box;
}

.stroi-svc-carousel__nav {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stroi-svc-carousel__nav:hover {
  color: #fff;
}

.stroi-svc-carousel__track {
  flex: 1 1 auto;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
}

.stroi-svc-carousel__track::-webkit-scrollbar {
  display: none;
}

.stroi-svc-carousel__slide {
  flex: 0 0 calc((100% - 1.3rem) / 3);
  min-width: clamp(7rem, 22vw, 12rem);
  margin: 0;
  scroll-snap-align: start;
  line-height: 0;
}

.stroi-svc-carousel__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stroi-svc-carousel__caption {
  margin: 0 auto;
  max-width: var(--stroi-services-content-width);
  text-align: center;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  line-height: 1.5;
  color: #fff;
}

@media (max-width: 720px) {
  .stroi-svc-carousel__slide {
    flex: 0 0 calc((100% - 0.65rem) / 2);
  }
}

@media (max-width: 480px) {
  .stroi-svc-carousel__slide {
    flex: 0 0 85%;
  }
}

/* ----- Полезные советы (макет ai-15): единая ширина колонки, птица на заднике ----- */
.pdf-shell--stroitelstvo .stroi-tips,
.stroi-tips {
  --stroi-tips-copy-width: min(50rem, 100%);
  position: relative;
  padding: clamp(2.25rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
  background: #fff;
  overflow: hidden;
  text-align: center;
}

.pdf-shell--stroitelstvo .stroi-tips::before,
.stroi-tips::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: min(92vw, 44rem);
  height: min(62vw, 34rem);
  pointer-events: none;
  z-index: 0;
  background: var(
    --stroi-tips-watermark,
    url("../img/disk/stroitelstvo/stroitelstvo-emblem.png")
  )
    center / contain no-repeat;
  opacity: 0.11;
  filter: invert(1) grayscale(1);
}

.pdf-shell--stroitelstvo .stroi-tips::after,
.stroi-tips::after {
  display: none !important;
  content: none !important;
}

.pdf-shell--stroitelstvo .stroi-tips__inner,
.stroi-tips__inner {
  position: relative;
  z-index: 1;
  max-width: var(--gle-content-width);
  margin: 0 auto;
}

.pdf-shell--stroitelstvo .stroi-tips__h,
.stroi-tips__h {
  width: 100%;
  max-width: var(--stroi-tips-copy-width);
  margin: 0 auto clamp(1.1rem, 2vw, 1.45rem);
  text-align: center !important;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  line-height: 1.45;
  color: #1a1613;
  background: transparent !important;
}

.pdf-shell--stroitelstvo .stroi-tips__intro,
.stroi-tips__intro {
  display: block;
  width: 100%;
  max-width: var(--stroi-tips-copy-width);
  margin: 0 auto clamp(1.35rem, 2.5vw, 1.75rem);
  text-align: center !important;
}

.pdf-shell--stroitelstvo .stroi-tips__intro p,
.pdf-shell--stroitelstvo .stroi-tips__lead,
.stroi-tips__intro p,
.stroi-tips__lead {
  display: block;
  width: 100%;
  max-width: var(--stroi-tips-copy-width);
  margin: 0 auto 0.85rem;
  text-align: center !important;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  line-height: 1.55;
  color: #9a8448;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.pdf-shell--stroitelstvo .stroi-tips__intro p:last-child,
.pdf-shell--stroitelstvo .stroi-tips__lead:last-child,
.stroi-tips__intro p:last-child,
.stroi-tips__lead:last-child {
  margin-bottom: 0;
}

.pdf-shell--stroitelstvo .stroi-tips__grid,
.stroi-tips__grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: clamp(1.15rem, 2.2vw, 1.5rem);
  width: 100%;
  max-width: var(--stroi-tips-copy-width);
  margin: 0 auto;
  text-align: center !important;
}

.pdf-shell--stroitelstvo .stroi-tip,
.stroi-tip {
  display: block;
  width: 100%;
  max-width: var(--stroi-tips-copy-width);
  margin: 0 auto;
  min-width: 0;
  text-align: center !important;
  background: transparent !important;
}

.pdf-shell--stroitelstvo .stroi-tip__title,
.stroi-tips h3,
.stroi-tip__title {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0 !important;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #c0a454 !important;
  text-align: center !important;
  text-transform: none;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.pdf-shell--stroitelstvo .stroi-tip__text,
.stroi-tip__text {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  font-family: Arial, "Helvetica Neue", "Helvetica", sans-serif;
  font-size: clamp(0.78rem, 0.92vw, 0.86rem);
  line-height: 1.55;
  color: #2c2825;
  text-align: center !important;
  background: transparent !important;
}

.pdf-shell--stroitelstvo .stroi-tip__text + .stroi-tip__text,
.stroi-tip__text + .stroi-tip__text {
  margin-top: 0.85rem;
}

.pdf-shell--stroitelstvo .stroi-tips mark,
.pdf-shell--stroitelstvo .stroi-tips [style*="background"],
.stroi-tips mark,
.stroi-tips [style*="background"] {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
}

/* Баннер «Уникальное предложение» */
.pdf-shell--stroitelstvo .gle-unique-offer--stroitelstvo {
  background: #4a0f14;
}

/* ----- Hero (шапка) ----- */
.pdf-shell--stroitelstvo .pdf-hero__brand {
  display: flex !important;
}

.pdf-shell--stroitelstvo .pdf-hero__brand-img {
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
}

.pdf-shell--stroitelstvo .pdf-hero-shell__main {
  min-height: clamp(16rem, 48vh, 28rem);
}

.pdf-shell--stroitelstvo .pdf-hero-shell__bg {
  background-position: center center;
  background-size: cover;
}

.pdf-shell--stroitelstvo .pdf-hero__top--bar {
  justify-content: space-between;
  align-items: flex-start;
}

.pdf-shell--stroitelstvo .pdf-hero__corner-logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.pdf-shell--stroitelstvo .pdf-hero__corner-logo-img {
  display: block;
  height: clamp(5rem, 11vw, 7.25rem);
  width: auto;
  border-radius: 6px;
}

.stroi-about {
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.stroi-about__inner {
  max-width: var(--gle-content-width, 1200px);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
}


/* gle-edit-stroi-tiles */
.stroi-projects > [id^="bx_incl_area_"] {
  display: block;
  width: 100%;
}
.stroi-projects > [id^="bx_incl_area_"] > .stroi-projects__grid {
  width: 100%;
}
.stroi-tile__overlay {
  pointer-events: none;
}
.stroi-tile {
  position: relative;
}
