/* «Части Тела» — сертификаты (sertifikaty). Префикс классов: gc- */

#page-root {
  position: relative;
  background: var(--cream);
  overflow-x: clip;
}

/* -------- hero -------- */

.gc-hero {
  padding-top: clamp(130px, 18vh, 190px);
  padding-bottom: clamp(40px, 6vw, 70px);
}

.gc-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(16, 49, 47, .55);
  margin-bottom: 26px;
}
.gc-crumbs a {
  color: rgba(16, 49, 47, .55);
  text-decoration: none;
  transition: color .25s ease;
}
.gc-crumbs a:hover { color: var(--teal); }
.gc-crumbs__cur { color: var(--teal); }

.gc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.gc-hero__eyebrow {
  gap: 10px;
  margin-bottom: 22px;
}

.gc-hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1.03;
  letter-spacing: -.015em;
}
.gc-hero__title em {
  font-style: italic;
  color: var(--gold);
}

.gc-hero__lead {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-80);
  max-width: 50ch;
}
.gc-hero__lead--last { margin-bottom: 30px; }

.gc-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.gc-hero__cta {
  gap: 11px;
  transition: background .3s ease, color .3s ease;
}
.gc-hero__cta:hover { color: var(--pine); }

/* -------- макет сертификата -------- */

.gc-mock-wrap {
  position: relative;
  padding: 20px 0;
}

.gc-mock {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(130deg, var(--pine), #124542 55%, var(--teal));
  box-shadow: 0 40px 80px -34px rgba(11, 50, 49, .6);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gc-mock__glow {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(185, 146, 79, .35), rgba(185, 146, 79, 0));
}
.gc-mock__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.gc-mock__logo {
  height: 44px;
  width: auto;
  opacity: .95;
}
.gc-mock__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cream-60);
  letter-spacing: .18em;
}
.gc-mock__mid { position: relative; }
.gc-mock__label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.gc-mock__sum {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--cream);
  line-height: 1;
}
.gc-mock__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
}
.gc-mock__slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--cream-75);
}
.gc-mock__valid {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(247, 242, 233, .55);
}
.gc-mock-badge {
  position: absolute;
  right: 6px;
  top: -4px;
  background: var(--gold);
  color: var(--pine);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  transform: rotate(4deg);
}

/* -------- конфигуратор -------- */

.gc-order {
  padding-top: clamp(30px, 4vw, 50px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.gc-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 30px;
}
.gc-step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}
.gc-step__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 48px);
}
.gc-step__line {
  flex: 1;
  height: 1px;
  background: rgba(16, 60, 58, .14);
  align-self: center;
}

/* номиналы */

.gc-noms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.gc-nom {
  padding: 22px 10px;
  border-radius: 16px;
  border: 1px solid var(--line-18);
  background: var(--ivory);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: all .25s ease;
}
.gc-nom__sum {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.gc-nom__cap {
  font-size: 11.5px;
  color: rgba(16, 49, 47, .55);
}
.gc-nom__cap--pop {
  color: var(--teal);
  font-weight: 600;
}

/* свой номинал */

.gc-custom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.gc-custom__label {
  font-size: 13.5px;
  color: rgba(16, 49, 47, .65);
}
.gc-custom__input {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-25);
  background: var(--ivory);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  width: 200px;
  transition: border-color .25s ease;
}
.gc-custom__input:focus { border-color: var(--teal); }
.gc-custom__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(16, 49, 47, .45);
}

/* формат */

.gc-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.gc-format {
  text-align: left;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line-18);
  background: var(--ivory);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .25s ease;
}
.gc-format__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gc-format__tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gc-format__tag--teal { color: var(--teal); }
.gc-format__tag--gold { color: var(--gold-dark); }
.gc-format__icon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
}
.gc-format__icon--teal { color: var(--teal); }
.gc-format__icon--gold { color: var(--gold-dark); }
.gc-format__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  color: var(--ink);
}
.gc-format__desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-70);
}

/* ховер и выбранное состояние (is-active после :hover — приоритетнее) */

.gc-nom:hover,
.gc-format:hover { border-color: rgba(23, 116, 112, .5); }

.gc-nom.is-active,
.gc-format.is-active {
  border: 1.5px solid var(--teal);
  background: var(--teal-mist);
  box-shadow: 0 0 0 1px var(--teal) inset;
}

/* -------- тёмная сводка-панель -------- */

.gc-summary {
  background: var(--pine);
  color: var(--cream);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.gc-summary__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 150, 143, .28), rgba(59, 150, 143, 0));
}
.gc-summary__info { position: relative; }
.gc-summary__label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.gc-summary__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.gc-summary__sum {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}
.gc-summary__fmt {
  font-size: 14px;
  color: rgba(247, 242, 233, .7);
}
.gc-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  position: relative;
}
.gc-summary__cta {
  gap: 11px;
  padding: 16px 28px;
  transition: background .3s ease;
}
.gc-summary__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(247, 242, 233, .5);
}

/* -------- карточки-вопросы -------- */

.gc-faq { padding-bottom: clamp(80px, 10vw, 130px); }

.gc-faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.gc-faq__card {
  background: var(--ivory);
  border: 1px solid var(--line-12);
  border-radius: 20px;
  padding: 26px;
}
.gc-faq__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}
.gc-faq__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-70);
}

/* -------- мобильный брейкпоинт -------- */

@media (max-width: 920px) {
  .gc-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gc-formats { grid-template-columns: 1fr; }
  .gc-summary__actions { align-items: flex-start; }
}
