/* ============ Токены ============ */
:root {
  --bg: #0A080E;
  --body: #0F0C13;
  --card: #171320;
  --card-nested: #141020;
  --text: #E9E2D2;
  --heading: #EEE4CE;
  --muted: #B7AFA0;
  --caption: #8E8578;
  --service: #6E6680;
  --gold: #D9A036;
  --gold-light: #E8C368;
  --gold-dark: #B98A2E;
  --gold-chip-bg: #241B08;
  --violet: #7B68C9;
  --violet-light: #A899F0;
  --violet-chip-bg: #1E1628;
  --terra: #D96A55;
  --terra-chip-bg: #2A1410;
  --teal-text: #7FBFB0;
  --stroke: #3A3348;
  --stroke-soft: #2C2638;
  --wax-grad: radial-gradient(circle at 36% 30%, #C9543E, #A83A28 55%, #6E241A);
  --gold-grad: linear-gradient(120deg, #D9A036, #E8C368);
  --blob: 58% 42% 55% 45% / 52% 48% 52% 48%;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Golos Text', sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

b { font-weight: 600; color: var(--text); }

/* ============ Анимации ============ */
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, -50px) scale(1.25); }
  100% { transform: translate(-50px, 50px) scale(.9); }
}
@keyframes blobMorph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 52% 48% 52% 48%; transform: rotate(-4deg); }
  50%      { border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%; transform: rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ Каркас ============ */
.page { display: flex; justify-content: center; }

.case-body {
  width: 100%;
  background: var(--body);
  overflow: hidden;
  position: relative;
}

/* контент секций держим по макету 1280px, корпус тянется на всю ширину */
.topbar,
.hero__content,
.section__content,
.form-card,
.finale__content,
.footer {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ Общие элементы ============ */
/* рукописный шрифт — только короткие декоративные пометки, крупно */
.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 23px;
  display: inline-block;
}
.hand.sm { font-size: 21px; }
.hand.lg { font-size: 24px; }
.hand.xl { font-size: 27px; }
.hand--gold   { color: var(--gold); }
.hand--violet { color: var(--violet-light); }
.hand--terra  { color: var(--terra); }

/* повороты рукописных пометок и карточек */
.r-06  { transform: rotate(-.6deg); }
.r-07  { transform: rotate(-.7deg); }
.r-1   { transform: rotate(-1deg); }
.r-12  { transform: rotate(-1.2deg); }
.r-15  { transform: rotate(-1.5deg); }
.r-2   { transform: rotate(-2deg); }
.r08   { transform: rotate(.8deg); }
.r1    { transform: rotate(1deg); }
.r10   { transform: rotate(1deg); }
.r1_2  { transform: rotate(1.2deg); }

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
}
.wordmark b { font-weight: 600; color: var(--gold); }
.wordmark--sm { font-size: 14px; }

/* печати-блобы */
.seal {
  border-radius: var(--blob);
  background: var(--wax-grad);
  color: #F6E9E4;
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blobMorph 8s ease-in-out infinite;
}
.seal--mini { width: 36px; height: 36px; flex: none; font-size: 11px; }
.seal--hero {
  position: absolute; right: 6%; top: 84px;
  width: 150px; height: 150px; z-index: 1;
  box-shadow: 0 24px 60px rgba(168, 58, 40, .35), inset 0 3px 10px rgba(255, 235, 220, .18), inset 0 -12px 22px rgba(0, 0, 0, .4);
  animation-duration: 9s;
}
.seal--hero span { font-size: 36px; }
.seal--form {
  width: 96px; height: 96px;
  box-shadow: 0 18px 44px rgba(168, 58, 40, .4), inset 0 3px 10px rgba(255, 235, 220, .18);
}
.seal--form span { font-size: 22px; }

/* Вертушка сборки — ровно та, что крутится в приложении, пока пишется дело.
   Здесь она работает обещанием: человек уже видел её на лендинге и узнаёт,
   когда доходит до ожидания. */
.case-loader {
  position: relative;
  display: grid;
  place-items: center;
  width: 208px; height: 208px;
  margin: 26px 0 0;
}
.case-loader__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 14s linear infinite;
}
.case-loader__text {
  fill: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .25em; /* подобрана по замеру: при .18em надпись не смыкалась в кольцо */
}
@keyframes spin { to { transform: rotate(360deg); } }

/* маркеры заголовков */
.blob-marker {
  width: 16px; height: 16px; flex: none;
  border-radius: var(--blob);
  animation: blobMorph 7s ease-in-out infinite;
}
.blob-marker--gold   { background: var(--gold); }
.blob-marker--violet { background: var(--violet); }
.blob-marker--wax    { background: #A83A28; }

/* кнопки */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 60px;
  display: inline-block;
}
.btn--gold {
  padding: 17px 34px;
  background: var(--gold-grad);
  color: var(--gold-chip-bg);
  box-shadow: 0 8px 26px rgba(217, 160, 54, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 160, 54, .5);
  color: var(--gold-chip-bg);
}
.btn--big { padding: 18px 38px; font-size: 15px; }
.btn--ghost {
  padding: 17px 30px;
  background: none;
  border: 1.5px solid var(--stroke);
  color: var(--text);
  transition: border-color .2s;
}
.btn--ghost:hover { border-color: var(--gold-dark); color: var(--text); }

/* фоновые блюр-шары */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite alternate;
}
.orb--gold   { background: radial-gradient(circle, #D9A03688, transparent 65%); }
.orb--violet { background: radial-gradient(circle, #7B68C966, transparent 65%); }
.orb--wax    { background: radial-gradient(circle, #A83A2877, transparent 65%); }
.orb--teal   { background: radial-gradient(circle, #2E6E6366, transparent 65%); }

/* мраморный слой */
.marble {
  position: absolute;
  inset: -40px;
  filter: url(#marbleTurb);
  z-index: 0;
  pointer-events: none;
}
.marble--hero {
  background:
    radial-gradient(ellipse 60% 45% at 20% 30%, #7B68C93d, transparent),
    radial-gradient(ellipse 50% 60% at 80% 20%, #A83A2833, transparent),
    radial-gradient(ellipse 70% 50% at 60% 85%, #D9A03626, transparent),
    radial-gradient(ellipse 45% 45% at 15% 80%, #2E6E6333, transparent);
}
.marble--finale {
  background:
    radial-gradient(ellipse 60% 45% at 20% 30%, #7B68C93d, transparent),
    radial-gradient(ellipse 50% 60% at 80% 20%, #A83A2833, transparent),
    radial-gradient(ellipse 70% 50% at 60% 85%, #D9A03626, transparent);
}

/* ============ Шапка ============ */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 64px;
  position: relative;
  z-index: 3;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark-row { display: flex; align-items: center; gap: 14px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 92px 80px 80px;
  overflow: hidden;
  text-align: center;
}
.hero__content { position: relative; z-index: 2; }

.kicker {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.08;
  color: var(--heading);
  margin: 26px auto 0;
  max-width: 13ch;
}
.h1-accent {
  background: linear-gradient(120deg, #D9A036, #E8C368 45%, #A83A28);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { max-width: 52ch; font-size: 19px; color: var(--muted); margin: 20px auto 0; }

.cta-row { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero__hook { margin-top: 28px; color: var(--gold); font-weight: 500; font-size: 17px; }
.fact-line { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ============ Секции ============ */
.section { position: relative; padding: 84px 64px; }
.section--first { padding-bottom: 30px; padding-top: 84px; }
.section__content { position: relative; z-index: 2; }

.h2-row { display: flex; align-items: center; gap: 18px; }
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.12;
  color: var(--heading);
}
.section-intro { max-width: 62ch; color: var(--muted); margin: 14px 0 36px; font-size: 17px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 24px 26px; background: var(--card); border-radius: 24px; }
.card__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--caption);
  flex: none;
}
.label--gold   { color: var(--gold); }
.label--violet { color: var(--violet-light); }
.label--terra  { color: var(--terra); }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }


/* ============ Досье ============ */
.dossier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.dossier-col { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.dossier-col--right { gap: 20px; }

.dossier-field {
  background: var(--card-nested);
  padding: 18px 22px;
  border-radius: 20px;
  position: relative;
  align-self: stretch;
}
.dossier-field::before {
  content: '';
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 5px;
  border-radius: 5px;
  background: var(--bar);
}
.dossier-field__label { font-family: var(--font-body); font-weight: 600; font-size: 15px; margin-bottom: 4px; padding-left: 8px; }
.dossier-field p { font-size: 15px; color: var(--text); padding-left: 8px; }

.paper {
  background: linear-gradient(155deg, #F5ECD8, #EEE4CE);
  color: #241E17;
  padding: 24px 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  transform: rotate(-1.2deg);
  max-width: 430px;
  border-radius: 6px 22px 8px 20px;
  position: relative;
}
.paper::after {
  content: '';
  position: absolute;
  right: 18px; top: -12px;
  width: 56px; height: 26px;
  background: #D9A03655;
  transform: rotate(3deg);
  border-radius: 3px;
}
.paper__meta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8B7040;
}
.paper h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: #1D1710;
  font-size: 19px;
  margin: 4px 0 8px;
}
.paper p { font-size: 14.5px; color: #57503F; line-height: 1.6; }

.dossier-outro { font-size: 15px; color: var(--muted); max-width: 46ch; }

/* ============ Анкета ============ */
.section--form { padding: 20px 64px 90px; }
.form-card {
  position: relative;
  z-index: 2;
  background: var(--card);
  border-radius: 36px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 52px;
  align-items: start;
}
.form-card__aside p { font-size: 15px; color: var(--muted); margin-top: 14px; }
.form-card__title {
  font-size: 31px;
  line-height: 1.18;
  margin-top: 10px;
}
.form-card__aside-note { margin-top: 14px; font-size: 13px; color: var(--caption); }

.form-card__fields { display: flex; flex-direction: column; gap: 24px; }
.field__label { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--gold); }
.field__note { margin-top: 8px; font-size: 13px; color: var(--caption); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 17px;
  border-radius: 60px;
  border: 1.5px solid var(--stroke);
  color: var(--text);
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color .2s, background .2s;
}
.chip--filled {
  background: var(--gold-chip-bg);
  border-color: var(--gold-dark);
  color: var(--gold-light);
}
.chip--ghost { color: var(--muted); }

button.chip { cursor: pointer; appearance: none; }
.chip-group .chip:hover { border-color: var(--gold-dark); }
.chip--active {
  background: var(--gold-grad);
  border-color: var(--gold-light);
  color: var(--gold-chip-bg);
}
.chip__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: none;
}
.chip--filled .chip__dot { display: inline-block; }
.chip--active .chip__dot { display: none; }

.notes-card {
  background: var(--card-nested);
  border-radius: 20px;
  padding: 16px 20px 18px;
  margin-top: 12px;
}
.notes-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.notes-card__name { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--violet-light); }
.notes-card__name-input {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--violet-light);
  background: none;
  border: none;
  outline: none;
  border-bottom: 1px dashed #4A3D80;
  padding: 0 2px;
  width: 12ch;
}
.notes-card__name-input:focus { border-bottom-color: var(--violet-light); }
.notes-card__badge { font-size: 12px; color: var(--service); }
.notes-card textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  margin-top: 6px;
  padding: 0;
}
.notes-card textarea::placeholder { color: var(--service); }


.form-card__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.form-card__cta .hand { font-size: 20px; }

/* ============ Финал ============ */
.finale {
  position: relative;
  padding: 80px 64px 90px;
  overflow: hidden;
  text-align: center;
}
.finale__content { position: relative; z-index: 2; }
.finale h2 { font-size: 32px; }

.envelope {
  background: linear-gradient(150deg, #1E1628, #141020);
  max-width: 440px;
  width: 100%;
  border-radius: 24px;
  position: relative;
  margin: 30px auto 0;
  text-align: left;
}
.envelope__head {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  gap: 14px;
}
.envelope__seal {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--blob);
  background: var(--wax-grad);
  color: #F6E9E4;
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(168, 58, 40, .5);
  animation: blobMorph 6s ease-in-out infinite;
  transition: background .3s, color .3s, box-shadow .3s;
}
.envelope__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease, padding .5s ease;
  padding: 0 24px;
}
.envelope__body p { font-size: 15px; color: #DCD3E8; }
.envelope__body p b { color: #DCD3E8; }

.envelope.open .envelope__body { max-height: 320px; padding: 0 24px 20px; }
.envelope.open .envelope__seal {
  background: var(--gold-grad);
  color: var(--gold-chip-bg);
  box-shadow: 0 4px 14px rgba(217, 160, 54, .4);
}

.finale__intro { font-size: 16px; color: var(--muted); max-width: 52ch; margin: 16px auto 0; }
.finale__note { margin-top: 16px; font-size: 13px; color: var(--caption); }
.finale__subhead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--heading);
  margin-top: 64px;
}
.finale__sub-intro { font-size: 15px; color: var(--muted); margin: 10px auto 0; max-width: 52ch; }

.awards {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
}
.award {
  background: var(--card);
  border: 1px solid var(--stroke-soft);
  border-radius: 22px;
  padding: 22px 20px 18px;
  width: 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.award__medal {
  width: 56px; height: 56px;
  border-radius: var(--blob);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blobMorph 7s ease-in-out infinite;
}
.medal--gold {
  background: radial-gradient(circle at 36% 30%, #E8C368, #D9A036 55%, #8F6A1E);
  color: var(--gold-chip-bg);
  box-shadow: 0 10px 24px rgba(217, 160, 54, .35), inset 0 2px 6px rgba(255, 255, 255, .25), inset 0 -8px 14px rgba(0, 0, 0, .3);
}
.medal--violet {
  background: radial-gradient(circle at 36% 30%, #A899F0, #7B68C9 55%, #4A3D80);
  color: #F0EBFF;
  box-shadow: 0 10px 24px rgba(123, 104, 201, .35), inset 0 2px 6px rgba(255, 255, 255, .22), inset 0 -8px 14px rgba(0, 0, 0, .35);
  animation-duration: 8s;
  animation-delay: -2s;
}
.medal--teal {
  background: radial-gradient(circle at 36% 30%, #4E9C8D, #2E6E63 55%, #1C463F);
  color: #E3F2EE;
  box-shadow: 0 10px 24px rgba(46, 110, 99, .4), inset 0 2px 6px rgba(255, 255, 255, .2), inset 0 -8px 14px rgba(0, 0, 0, .35);
  animation-duration: 7.5s;
  animation-delay: -4s;
}
.medal--wax {
  background: var(--wax-grad);
  color: #F6E9E4;
  box-shadow: 0 10px 24px rgba(168, 58, 40, .4), inset 0 2px 6px rgba(255, 235, 220, .2), inset 0 -8px 14px rgba(0, 0, 0, .35);
  animation-duration: 8.5s;
  animation-delay: -6s;
}
/* ============ Частые вопросы ============
   Нативные details/summary: раскрываются без единой строки скрипта, работают
   с клавиатуры и читаются поисковиком как обычный текст — а он и есть ответ. */
.faq { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--stroke-soft);
  border-radius: 18px;
  padding: 16px 20px;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  flex: none;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ============ Появление при прокрутке ============
   Класс reveal--on ставит скрипт. Прячем только когда он подтвердил, что умеет
   показать: без JS страница обязана читаться целиком, а не остаться пустой. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.16, .8, .3, 1);
}
.js-reveal .reveal--on { opacity: 1; transform: none; }
/* Соседи в одном блоке друг за другом, а не выезжают стенкой. */
.js-reveal .reveal:nth-child(2) { transition-delay: .08s; }
.js-reveal .reveal:nth-child(3) { transition-delay: .16s; }
.js-reveal .reveal:nth-child(4) { transition-delay: .24s; }
.js-reveal .reveal:nth-child(5) { transition-delay: .32s; }
.js-reveal .reveal:nth-child(6) { transition-delay: .4s; }

/* ============ Нажатие ============
   Кнопка должна проседать под пальцем: без этого на телефоне непонятно,
   попал ли ты по ней, — а до перехода на оплату ещё секунда ожидания. */
.btn { transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background .2s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.97); }
.btn--gold:active { box-shadow: 0 4px 14px rgba(217, 160, 54, .35); }

/* Волна от точки касания: короткая, гасится сама, не мешает второму нажатию. */
.btn { position: relative; overflow: hidden; }
.btn > .ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, .45);
  pointer-events: none;
  animation: ripple .55s ease-out forwards;
}
.btn--ghost > .ripple { background: rgba(217, 160, 54, .3); }
@keyframes ripple {
  to { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Появление: медали высыпаются по очереди, когда до них доскроллили.
   Прячем только при включённой анимации (класс ставит скрипт) — без JS
   награды обязаны быть видны как обычно. */
.awards--anim .award {
  opacity: 0;
  transform: translateY(20px) scale(.94);
  transition: opacity .55s ease, transform .6s cubic-bezier(.2, .9, .3, 1.25);
}
.awards--in .award { opacity: 1; transform: none; }
.awards--in .award:nth-child(2) { transition-delay: .09s; }
.awards--in .award:nth-child(3) { transition-delay: .18s; }
.awards--in .award:nth-child(4) { transition-delay: .27s; }

/* Блик по металлу: короткий проход и долгая пауза, у каждой медали свой сдвиг —
   иначе четыре одновременные вспышки читаются как мигание баннера. */
.award__medal { position: relative; overflow: hidden; }
.award__medal::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .5) 50%, transparent 58%);
  transform: translateX(-130%);
  animation: medalShine 7s ease-in-out infinite;
  pointer-events: none;
}
.medal--violet::after { animation-delay: 1.2s; }
.medal--teal::after { animation-delay: 2.4s; }
.medal--wax::after { animation-delay: 3.6s; }
@keyframes medalShine {
  0% { transform: translateX(-130%); }
  16% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

.award__name { font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.award__desc { font-size: 12.5px; line-height: 1.45; color: var(--caption); }

.finale__outro { font-size: 15px; color: var(--muted); max-width: 44ch; margin: 16px auto 0; }
.finale__cta { margin-top: 34px; }

/* ============ Футер ============ */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 40px 64px 48px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}

/* ============ Адаптив ============ */
@media (max-width: 1080px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .form-card { grid-template-columns: 1fr; gap: 36px; }
  .seal--hero { width: 110px; height: 110px; top: 40px; }
  .seal--hero span { font-size: 26px; }
}

@media (max-width: 760px) {
  .hero { padding: 72px 28px 64px; }
  .section, .section--form { padding-left: 28px; padding-right: 28px; }
  .finale { padding: 64px 28px 72px; }
  .topbar { padding: 22px 28px; }
  .footer { padding: 32px 28px 40px; justify-content: center; text-align: center; }
  .cards-3 { grid-template-columns: 1fr; }
  .dossier-grid { grid-template-columns: 1fr; }
  .form-card { padding: 36px 26px; border-radius: 28px; }
  .seal--hero { display: none; }
  .lead { font-size: 17px; }
}


/* ── Фотографии: добавлены к обновлению лендинга ────────────────────────── */

/* Подложка героя: стол в разгар разбора.
   Числа подобраны замером, а не на глаз. Раньше снимок давили прозрачностью
   до .38 и вдобавок растворяли маской — под текстом от него доходило 20%,
   мутное пятно неясного происхождения. Первая попытка это починить оказалась
   пустой: я заменил маску градиентом, но с теми же итоговыми долями, и
   разницы не увидел никто, включая владельца.

   Сам снимок тёмный — средняя яркость 36–71 из 255, — поэтому гасить его
   так сильно не нужно. Сейчас под заголовком доходит 39% вместо 20%,
   яркость фона 33 против 21: светлый текст читается с запасом, а стол
   наконец видно. Книзу затемнение доходит до цвета страницы, поэтому шва
   между героем и следующей секцией нет. */
.hero__photo {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 8, 14, .38) 0%,
      rgba(10, 8, 14, .56) 40%,
      rgba(10, 8, 14, .76) 70%,
      #0a080e 100%),
    url("img/hero.jpg") center 42% / cover no-repeat;
  pointer-events: none;
}

.media-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin: 28px 0 34px;
}
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; border: 1px solid var(--stroke-soft);
}
.shot figcaption {
  margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted);
}
.section-outro {
  margin-top: 26px; font-size: 16px; line-height: 1.65; color: var(--muted);
}
.finale__photo {
  width: min(100%, 520px); height: auto; display: block;
  margin: 22px auto 0; border-radius: 16px; border: 1px solid var(--stroke-soft);
}
.blob-marker--teal { background: var(--teal-text); }

@media (max-width: 720px) {
  .media-row { grid-template-columns: 1fr; gap: 18px; }
  .hero__photo {
    background:
      linear-gradient(180deg,
        rgba(10, 8, 14, .5) 0%,
        rgba(10, 8, 14, .68) 38%,
        rgba(10, 8, 14, .86) 72%,
        #0a080e 100%),
      url("img/hero.jpg") center 42% / cover no-repeat;
  }
}
