/* Страница «Церковная утварь». Подключается только из метаданных этой страницы; значения — как в zakaz.css. */
.cPage {
  --c-green: #0a806b;
  --c-green-dark: #066b59;
  --c-ink: #171a19;
  --c-muted: rgba(23, 26, 25, .72);
  --c-line: #eceeee;
  --c-soft: #f6f7f7;
  color: var(--c-ink);
  font-family: Raleway,RalewayFallback, sans-serif;
  overflow: clip;
}

.cPage * { box-sizing: border-box; }
.cPage a:not(.button) { color: var(--c-green); }
.cPage a:not(.button):hover { color: var(--c-green-dark); }
.cPage section { padding: 0 56px; }
.cPage p { margin: 0; }
.cPage h1,
/* The panel's title is an h2 since 08.10 (audit 07.10, C-5: H1 → H3 skipped a level); h3 kept for an older copy of the page. */
.cPage h2, .cPage h3 { color: inherit; font-family: Raleway,RalewayFallback, sans-serif; }

/* Первый блок шириной с карточку «Изделия на заказ» и шапку: внутри .container сайта, без своих полей. */
.cPage .cHeroWrap { margin-top: 36px; padding: 0; }
.cPage .cHeroWrap > .container { display: block; padding-top: 0; padding-bottom: 0; }
.cPage .cHero {
  min-height: 420px;
  padding: 72px 56px 64px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .6) 100%),
    url('/_site/assets/img/hram.webp') center / cover no-repeat;
}

.cPage .cHero h1 {
  text-wrap: balance;
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.08;
}

.cPage .cHeroText {
  max-width: 720px;
  text-wrap: balance;
  margin-top: 14px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.55;
}

.cPage .cActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.cPage .button {
  min-height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.cPage .button:hover { transform: translateY(-1px); }
/* #0DA287 сайта даёт белому тексту 3.2:1; здесь зелёный темнее, 5:1. */
.cPage a.button.green { background: var(--c-green); color: #fff; }
.cPage a.button.green:hover { background: var(--c-green-dark); color: #fff; }
.cPage .cHeroSecondary {
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(12px);
}
.cPage .cHeroSecondary:hover { color: #fff; background: rgba(255, 255, 255, .16); }

.cPage .cIntro { padding-top: 80px; padding-bottom: 72px; }
.cPage .cIntroInner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 24px;
}
.cPage .cIntroLead { font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.5; }
.cPage .cCopy { color: var(--c-muted); font-size: 16px; font-weight: 500; line-height: 1.6; }
.cPage .cCopy strong { color: var(--c-ink); font-weight: 700; }

.cPage .cTags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.cPage .cIntro a.cTag {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(13, 162, 135, .1);
  color: var(--c-green-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .2s ease;
}
.cPage .cIntro a.cTag:hover { background: rgba(13, 162, 135, .18); color: var(--c-green-dark); }

.cPage .cPromiseSection { padding-bottom: 96px; }
.cPage .cPromise {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 56px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 44, 38, .94) 0%, rgba(15, 44, 38, .84) 55%, rgba(15, 44, 38, .7) 100%),
    url('/_data/media/cerkovnaja_utvar/zhertvennik.webp') center / cover no-repeat;
}
.cPage .cPromiseBody { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cPage .cPromiseTag { display: inline-flex; padding: 8px 18px; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 14px; font-weight: 800; }
.cPage .cPromise h2, .cPage .cPromise h3 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; }
.cPage .cPromise .cCopy { color: rgba(255, 255, 255, .82); }
.cPage .cPromise .button { margin-top: 8px; }
.cPage .cPromiseRows { display: grid; gap: 14px; }
.cPage a.cPromiseRow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(15, 44, 38, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease;
}
.cPage a.cPromiseRow:hover { background: rgba(15, 44, 38, .9); color: #fff; }
.cPage a.cPromiseRow:last-child { border-color: rgba(13, 162, 135, .6); background: rgba(6, 107, 89, .92); }
.cPage a.cPromiseRow:last-child:hover { background: #066b59; }
.cPage .cPromiseNumber { min-width: 34px; color: #fff; opacity: .8; font-size: 20px; font-weight: 800; }
.cPage .cPromiseRow span:last-child { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; }

@media (max-width: 991.98px) {
  .cPage .cHero { min-height: 380px; padding: 64px 24px 56px; border-radius: 20px; }
}

@media (max-width: 767.98px) {
  .cPage section { padding-right: 18px; padding-left: 18px; }
  .cPage .cHeroWrap { margin-top: 22px; padding: 0; }
  .cPage .cHero { min-height: 340px; padding: 56px 18px 48px; background-image: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .62) 100%), url('/_site/assets/img/m/hram.webp'); }
  .cPage .cActions { width: 100%; gap: 12px; }
  .cPage .cActions .button { width: 100%; }
  .cPage .cIntro { padding-top: 56px; padding-bottom: 56px; }
  .cPage .cPromiseSection { padding-bottom: 56px; }
  .cPage .cPromise {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px;
    border-radius: 22px;
    background-image:
      linear-gradient(90deg, rgba(15, 44, 38, .94) 0%, rgba(15, 44, 38, .84) 55%, rgba(15, 44, 38, .7) 100%),
      url('/_data/media/cerkovnaja_utvar/zhertvennik-m.webp');
  }
  .cPage .cPromise .button { width: 100%; }
  .cPage a.cPromiseRow { padding: 16px; }
}
