/* HolyLuck FR - контент: hero с нимбом, оглавление, секции, таблицы, карточки, шаги, лестница бонусов, FAQ */

/* ------------------------------------------------ hero */
.hl-hero { padding: 28px 0 24px; }
.hl-hero__grid { display: grid; gap: 28px; align-items: center; }
.hl-hero h1 { font-size: clamp(1.9rem, 6.2vw, 3.2rem); font-weight: 800; }
.hl-hero h1::after {
  content: ""; display: block; width: 72px; height: 4px; margin-top: 18px; border-radius: 4px;
  background: var(--gold);
}
.hl-hero__text > p { font-size: 1.07rem; color: #e3ddd2; max-width: 62ch; }
.hl-hero__shot { grid-column: 1 / -1; margin: 8px 0 0; }

/* нимб: оффер в золотом кольце */
.hl-halo {
  position: relative; justify-self: center;
  width: min(230px, 64vw); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 35%, rgba(76, 216, 100, .22), transparent 60%),
    radial-gradient(circle, #171511 58%, #0e0d0b 100%);
  box-shadow: 0 0 0 1px rgba(249, 222, 77, .18), 0 30px 80px -30px rgba(249, 222, 77, .35);
}
.hl-halo::before, .hl-halo::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hl-halo::before {
  inset: 0; padding: 2px;
  background: var(--gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hl-halo::after { inset: -18px; border: 1px dashed rgba(249, 222, 77, .25); }
.hl-halo p { margin: 0; }
.hl-halo__label { font: 600 .78rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.hl-halo__big {
  white-space: nowrap;
  font: 800 clamp(2rem, 9vw, 2.9rem)/1.05 var(--font-head); margin: 10px 0 8px !important;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-halo .hl-halo__big--long { font-size: clamp(1.4rem, 6vw, 1.9rem); }
.hl-halo__small { font-size: .9rem; color: #ddd6c9; max-width: 18ch; }

/* ------------------------------------------------ оглавление */
.hl-toc { margin: 8px 0 8px; }
.hl-toc__box {
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(27, 25, 22, .6);
  padding: 4px 18px;
}
.hl-toc__box summary {
  cursor: pointer; padding: 12px 0; list-style: none;
  font: 700 .82rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--yellow);
}
.hl-toc__box summary::-webkit-details-marker { display: none; }
.hl-toc__box summary::after { content: "+"; float: right; color: var(--muted); }
.hl-toc__box[open] summary::after { content: "-"; }
.hl-toc ol { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: toc; }
.hl-toc li { counter-increment: toc; }
.hl-toc a {
  display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--text); text-decoration: none; font-size: .88rem;
}
.hl-toc a::before { content: counter(toc, decimal-leading-zero); font: 700 .72rem/1 var(--font-head); color: var(--yellow); }
.hl-toc a:hover { background: var(--surface-3); }

/* ------------------------------------------------ секции */
.hl-section { padding: 40px 0 8px; }
.hl-section h2 {
  font-size: clamp(1.45rem, 4.4vw, 2.1rem); font-weight: 800;
  display: flex; gap: 14px; align-items: flex-start;
}
.hl-section h2::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: .22em; border-radius: 50%;
  border: 3px solid var(--yellow); box-shadow: 0 0 14px rgba(249, 222, 77, .45);
}
.hl-section h3 { font-size: 1.18rem; font-weight: 700; color: #fff7d6; }
.hl-prose, .hl-subs { max-width: 820px; }
.hl-prose > p, .hl-sub > p, .hl-split__text > p { color: #e6e0d6; }
.hl-sub { margin-top: 28px; }

.hl-section--alt > .hl-wrap > * { position: relative; }
.hl-section--alt > .hl-wrap {
  background: linear-gradient(180deg, rgba(37, 35, 33, .55), rgba(18, 17, 14, .2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding-top: 28px; padding-bottom: 12px;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter));
}

.hl-list { padding-left: 0; list-style: none; }
.hl-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.hl-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--yellow);
}

/* картинки */
.hl-figure { margin: 8px 0 26px; }
.hl-figure img {
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
  background: var(--surface);
}
.hl-figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* текст + кадр */
.hl-split { display: grid; gap: 20px; }
.hl-figure--split { margin: 0 0 20px; }

/* ------------------------------------------------ карточки (H3 внутри H2) */
.hl-cards { display: grid; gap: 16px; margin-top: 8px; align-items: start; }
.hl-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 6px; min-width: 0;
}
.hl-card::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px;
  background: var(--gold); opacity: .7;
}
.hl-card h3 { font-size: 1.1rem; }
.hl-card p, .hl-card li { color: #e1dbd0; font-size: .97rem; }
.hl-card .hl-figure { margin-bottom: 18px; }

/* ------------------------------------------------ таблицы */
.hl-table-wrap {
  overflow-x: auto; margin: 6px 0 26px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.hl-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 480px; }
.hl-table--2 { min-width: 0; }
.hl-table caption { text-align: left; padding: 12px 16px 4px; font-size: .8rem; color: var(--muted); }
.hl-table th, .hl-table td { padding: 11px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.hl-table thead th {
  border-top: 0; font: 700 .76rem/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  color: var(--yellow); background: rgba(249, 222, 77, .05);
}
.hl-table tbody th { font-weight: 600; color: #fff; }
.hl-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.hl-table td { color: #e1dbd0; }

/* ------------------------------------------------ шаги */
.hl-steps { list-style: none; padding: 0; margin: 4px 0 26px; counter-reset: step; }
.hl-steps li {
  counter-increment: step; position: relative;
  padding: 2px 0 18px 58px; min-height: 52px;
}
.hl-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font: 800 1rem/1 var(--font-head); color: var(--bg); background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(249, 222, 77, .14);
}
.hl-steps li::after {
  content: ""; position: absolute; left: 19px; top: 46px; bottom: 4px; width: 2px;
  background: linear-gradient(var(--line-gold), transparent);
}
.hl-steps li:last-child::after { display: none; }

/* ------------------------------------------------ лестница депозитов */
.hl-ladder { list-style: none; padding: 0; margin: 10px 0 26px; display: grid; gap: 12px; }
.hl-ladder__step {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(76, 216, 100, .14), var(--surface) 55%);
  border: 1px solid rgba(76, 216, 100, .25); padding: 16px 18px;
}
.hl-ladder .hl-ladder__name { margin: 0; font: 700 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hl-ladder .hl-ladder__pct {
  margin: 6px 0 10px; font: 800 2rem/1 var(--font-head);
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-ladder__dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: .86rem; }
.hl-ladder__dl div { min-width: 0; }
.hl-ladder__dl dt { color: var(--muted); }
.hl-ladder__dl dd { margin: 0; font-weight: 600; color: #fff; }
.hl-nw { white-space: nowrap; }

/* ------------------------------------------------ плюсы / минусы */
.hl-pc-grid { display: grid; gap: 14px; margin: 8px 0 22px; }
.hl-pc { border-radius: var(--radius); padding: 18px 18px 4px; border: 1px solid var(--line); background: var(--surface); }
.hl-pc--pro { border-color: rgba(76, 216, 100, .35); }
.hl-pc--con { border-color: rgba(255, 122, 104, .35); }
.hl-pc > p { font: 700 .95rem/1.4 var(--font-head); }
.hl-pc--pro > p { color: var(--green); }
.hl-pc--con > p { color: var(--red); }
.hl-pc__list { list-style: none; padding: 0; }
.hl-pc__list li { position: relative; padding-left: 28px; margin-bottom: 9px; color: #e6e0d6; }
.hl-pc__list li::before {
  position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font: 800 .8rem/1 var(--font-head);
}
.hl-pc--pro .hl-pc__list li::before { content: "+"; background: rgba(76, 216, 100, .16); color: var(--green); }
.hl-pc--con .hl-pc__list li::before { content: "-"; background: rgba(255, 122, 104, .16); color: var(--red); }

/* ------------------------------------------------ FAQ */
.hl-faq__list { display: grid; gap: 10px; max-width: 880px; }
.hl-faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.hl-faq__item[open] { border-color: var(--line-gold); }
.hl-faq__item summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative;
  font: 600 1rem/1.4 var(--font-head);
}
.hl-faq__item summary::-webkit-details-marker { display: none; }
.hl-faq__item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(45deg);
  transition: transform .2s;
}
.hl-faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.hl-faq__answer { padding: 0 18px 4px; color: #e1dbd0; }

/* ------------------------------------------------ финальная CTA-полоса */
.hl-band__box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 30px 22px 14px;
  background: linear-gradient(120deg, #020d15 20%, var(--green-deep));
  border: 1px solid rgba(76, 216, 100, .3);
}
.hl-band__box::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid rgba(249, 222, 77, .35); box-shadow: 0 0 0 26px rgba(249, 222, 77, .05);
  pointer-events: none;
}
.hl-band__box > * { position: relative; z-index: 1; }
.hl-band__box p { max-width: 70ch; color: #e8f2ea; }

/* ------------------------------------------------ планшет */
@media (min-width: 720px) {
  .hl-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); }
  .hl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-card--wide { grid-column: 1 / -1; }
  .hl-pc-grid { grid-template-columns: 1fr 1fr; }
  .hl-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-band__box { padding: 40px 40px 20px; }
}

/* ------------------------------------------------ десктоп */
@media (min-width: 1024px) {
  .hl-hero { padding: 48px 0 32px; }
  .hl-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 48px; }
  .hl-halo { width: 300px; padding: 34px; }
  .hl-section { padding-top: 56px; }
  .hl-section--alt > .hl-wrap { padding: 40px 40px 20px; }
  .hl-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hl-section--alt .hl-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hl-section--alt .hl-figure--split { order: -1; }
  .hl-cards { gap: 20px; }
  .hl-ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
  /* ступени: каждая следующая выше */
  .hl-ladder__step:nth-child(1) { margin-top: 40px; }
  .hl-ladder__step:nth-child(2) { margin-top: 30px; }
  .hl-ladder__step:nth-child(3) { margin-top: 20px; }
  .hl-ladder__step:nth-child(4) { margin-top: 10px; }
  .hl-ladder__dl { grid-template-columns: 1fr; }
}
