/* Карточка выполненного фасада. Подключается только на странице проекта. */

.pc {
  color: var(--basic_text_black, #ccc);
  font-size: 16px;
  line-height: 1.55;
  margin: 4px 0 12px;
}

.pc p {
  margin: 0 0 12px;
}

.pc h2,
.pc h3 {
  font-family: inherit;
}

.pc .pc-kicker {
  margin: 0 0 8px;
  color: var(--theme-base-color, #fd6141);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pc h2,
.pc .pc-h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--white_text_black, #fff) !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
}

.pc h3 {
  margin: 0 0 8px;
  color: var(--white_text_black, #fff);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.pc a {
  color: inherit;
}

.pc .pc-section {
  margin-top: 56px;
}

.pc .pc-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pc .pc-section__head p {
  margin: 0;
  max-width: 460px;
  color: var(--basic_text_black, #aaa);
}

.pc .pc-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  overflow: hidden;
  border-radius: 20px;
  background: #121212;
}

.pc .pc-hero__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center center;
}

.pc .pc-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.05) 20%, rgba(12, 12, 12, 0.55) 58%, rgba(12, 12, 12, 0.94) 100%);
}

.pc .pc-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px 32px 78px;
}

.pc .pc-lead {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pc .pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pc .pc-btn.btn {
  border-radius: var(--theme-border-radius, 26px);
  cursor: pointer;
}

.pc a.pc-btn--ghost.btn,
.pc button.pc-btn--ghost.btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.pc a.pc-btn--ghost.btn:hover,
.pc button.pc-btn--ghost.btn:hover {
  color: #222;
  background: #fff;
  border-color: #fff;
}

.pc .pc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.pc .pc-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: -52px 18px 0;
  position: relative;
  z-index: 2;
}

.pc .pc-fact,
.pc .pc-card,
.pc .pc-final {
  border: 1px solid var(--stroke_black, #3a3a3a);
  border-radius: 16px;
  background: var(--card_bg_black, #232323);
}

.pc .pc-fact {
  padding: 16px 16px 14px;
}

.pc .pc-fact b {
  display: block;
  color: var(--white_text_black, #fff);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pc .pc-fact span {
  display: block;
  margin-top: 4px;
  color: var(--basic_text_black, #aaa);
  font-size: 13px;
  line-height: 1.35;
}

.pc .pc-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 12px;
}

.pc .pc-gallery--1 {
  grid-template-columns: 1fr;
}

.pc .pc-gallery--2 {
  grid-template-columns: 1fr 1fr;
}

.pc .pc-gallery--many .pc-shot:first-child {
  grid-row: span 2;
}

.pc .pc-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #121212;
}

.pc .pc-shot img {
  display: block;
  width: 100%;
  height: 248px;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pc .pc-gallery--1 .pc-shot img,
.pc .pc-gallery--many .pc-shot:first-child img {
  height: 508px;
}

.pc .pc-shot:hover img,
.pc .pc-shot:focus-visible img {
  transform: scale(1.03);
}

.pc .pc-shot:after {
  content: "Открыть";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pc .pc-shot:hover:after,
.pc .pc-shot:focus-visible:after {
  opacity: 1;
}

.pc .pc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.pc .pc-prose p:last-child {
  margin-bottom: 0;
}

.pc .pc-card {
  padding: 20px 20px 16px;
}

.pc .pc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc .pc-list li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white_text_black, #fff);
}

.pc .pc-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.pc .pc-list li:last-child {
  padding-bottom: 0;
}

.pc .pc-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-base-color, #fd6141);
}

.pc .pc-list li:first-child:before {
  top: 8px;
}

.pc .pc-materials,
.pc .pc-steps,
.pc .pc-more {
  display: grid;
  gap: 12px;
}

.pc .pc-materials,
.pc .pc-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc .pc-materials--1 {
  grid-template-columns: minmax(0, 420px);
}

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

.pc .pc-card p:last-child,
.pc .pc-final p:last-child {
  margin-bottom: 0;
}

.pc .pc-num {
  display: block;
  margin-bottom: 10px;
  color: var(--theme-base-color, #fd6141);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pc .pc-morelink {
  color: var(--theme-base-color, #fd6141);
  font-weight: 700;
  text-decoration: none;
}

.pc .pc-morelink:hover {
  color: #fff;
}

.pc .pc-final {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 56px;
  padding: 28px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(253, 97, 65, 0.22), transparent 70%),
    var(--card_bg_black, #232323);
}

.pc .pc-final__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pc .pc-final__perks span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.pc .pc-more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc .pc-work {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--stroke_black, #3a3a3a);
  border-radius: 16px;
  background: var(--card_bg_black, #232323);
  text-decoration: none;
}

.pc .pc-work:hover {
  border-color: var(--theme-base-color, #fd6141);
}

.pc .pc-work img {
  display: block;
  width: 100%;
  height: 190px;
  max-height: none;
  margin: 0;
  object-fit: cover;
}

.pc .pc-work__body {
  padding: 14px 16px 16px;
}

.pc .pc-work strong {
  display: block;
  color: var(--white_text_black, #fff);
  font-size: 16px;
  line-height: 1.35;
}

.pc .pc-work span {
  display: block;
  margin-top: 6px;
  color: var(--basic_text_black, #aaa);
  font-size: 14px;
  line-height: 1.4;
}

.pc .pc-all {
  color: var(--theme-base-color, #fd6141);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pc .pc-all:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .pc .pc-facts,
  .pc .pc-materials,
  .pc .pc-materials--2,
  .pc .pc-steps,
  .pc .pc-more,
  .pc .pc-split,
  .pc .pc-final {
    grid-template-columns: 1fr 1fr;
  }

  .pc .pc-materials--1 {
    grid-template-columns: 1fr;
  }

  .pc .pc-gallery,
  .pc .pc-gallery--2,
  .pc .pc-gallery--many {
    grid-template-columns: 1fr 1fr;
  }

  .pc .pc-gallery--many .pc-shot:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .pc .pc-gallery--1 .pc-shot img,
  .pc .pc-gallery--many .pc-shot:first-child img,
  .pc .pc-shot img {
    height: 240px;
  }

  .pc .pc-hero {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .pc .pc-hero {
    flex-direction: column;
    min-height: 0;
    align-items: stretch;
  }

  .pc .pc-hero__img {
    position: relative;
    width: 100%;
    height: 240px;
    flex: none;
  }

  .pc .pc-hero__content {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 16px 18px;
  }

  .pc .pc-hero:after {
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.08) 0%, rgba(12, 12, 12, 0.92) 100%);
  }

  .pc .pc-hero__content {
    padding: 18px 16px 18px;
  }

  .pc .pc-lead {
    font-size: 20px;
  }

  .pc .pc-facts {
    grid-template-columns: 1fr 1fr;
    margin: 12px 0 0;
  }

  .pc .pc-gallery,
  .pc .pc-gallery--2,
  .pc .pc-gallery--many,
  .pc .pc-materials,
  .pc .pc-materials--2,
  .pc .pc-steps,
  .pc .pc-more,
  .pc .pc-split,
  .pc .pc-final,
  .pc .pc-section__head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .pc .pc-section__head {
    display: block;
  }

  .pc .pc-gallery--many .pc-shot:first-child {
    grid-column: auto;
  }

  .pc .pc-shot img,
  .pc .pc-gallery--1 .pc-shot img,
  .pc .pc-gallery--many .pc-shot:first-child img {
    height: 220px;
  }

  .pc .pc-final {
    padding: 20px 16px;
  }

  .pc .pc-actions .btn {
    width: 100%;
  }
}
