/* css/pechat.css */

/* ─── HERO ─── */
.hero {
  background: var(--surface);
  padding: 25px 0;
}

.hero__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero__photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── SPECS ─── */
.prt-specs {
  padding: 0 0 40px;
}

.prt-specs__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.prt-specs__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}

.prt-specs__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.prt-specs__factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.prt-specs__factor {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.prt-specs__factor-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.prt-specs__factor-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* ─── SECTION TITLE ─── */
.prt-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.prt-section-head__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.prt-section-head__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

.prt-section-head__link:hover {
  text-decoration: underline;
}

/* ─── LAMINATION ─── */
.prt-lam {
  padding: 0 0 40px;
}

.prt-lam__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.prt-lam__item {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.prt-lam__img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  padding: 16px 20px 8px;
}

.prt-lam__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prt-lam__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.prt-lam__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

/* ─── PRINT TYPES ─── */
.prt-types {
  padding: 0 0 40px;
}

.prt-types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.prt-type {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.prt-type__img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  padding: 16px 20px 8px;
}

.prt-type__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prt-type__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.prt-type__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.prt-type__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

/* ─── PERSONALIZATION ─── */
.prt-pers {
  padding: 0 0 40px;
}

.prt-pers__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px 56px;
}

.prt-pers__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}

.prt-pers__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.prt-pers__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.prt-pers__card > .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.prt-pers__item {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 16px 14px;
  text-align: center;
}

.prt-pers__item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ─── CTA ─── */
.prt-cta {
  padding: 0 0 40px;
}

.prt-cta__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.prt-cta__title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}

.prt-cta__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Адаптив ─── */
@media (max-width: 900px) {
  .hero__photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .prt-specs__card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 32px;
  }

  .prt-lam__grid,
  .prt-types__grid {
    grid-template-columns: 1fr;
  }

  .prt-pers__card {
    padding: 36px 32px;
  }

  .prt-pers__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .prt-cta__card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 32px;
  }
}

@media (max-width: 700px) {
  .prt-lam__grid,
  .prt-types__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .prt-specs__card {
    padding: 28px 24px;
  }

  .prt-specs__factors {
    grid-template-columns: 1fr;
  }

  .prt-pers__card {
    padding: 28px 24px;
  }

  .prt-pers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prt-cta__card {
    padding: 28px 24px;
  }

  .prt-cta__card .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .prt-pers__grid {
    grid-template-columns: 1fr;
  }
}
