/* HolyLuck FR - каркас: токены, ресет, шапка, меню, крошки, футер, кнопки */

@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0a08;
  --bg-2: #12110e;
  --surface: #1b1916;
  --surface-2: #252321;
  --surface-3: #34322f;
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(249, 222, 77, .28);
  --text: #f4f0e8;
  --muted: #b3ada3;
  --green: #4cd864;
  --green-deep: #003b25;
  --yellow: #f9de4d;
  --lime: #c8ff32;
  --red: #ff7a68;
  --gold: linear-gradient(177deg, #bd8630 -10%, #fff0a4 45%, #bd8630 100%);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --gutter: 16px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 85% -120px, rgba(76, 216, 100, .10), transparent 70%),
    radial-gradient(700px 420px at 0% 0%, rgba(249, 222, 77, .07), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: #fff3a6; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 1em; }
address { font-style: normal; }

.hl-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--bg); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.hl-skip:focus { top: 12px; }

/* ------------------------------------------------ шапка */
.hl-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 8, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hl-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
}
.hl-logo { display: inline-flex; flex-shrink: 0; }
.hl-logo__img { width: 96px; height: auto; }

.hl-nav__checkbox { position: absolute; opacity: 0; pointer-events: none; }
.hl-nav__toggle {
  order: 3; margin-left: 4px;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.hl-nav__bar { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.hl-nav__checkbox:focus-visible + .hl-nav__toggle { outline: 2px solid var(--lime); outline-offset: 3px; }
.hl-nav__checkbox:checked + .hl-nav__toggle .hl-nav__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.hl-nav__checkbox:checked + .hl-nav__toggle .hl-nav__bar:nth-child(3) { opacity: 0; }
.hl-nav__checkbox:checked + .hl-nav__toggle .hl-nav__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.hl-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  display: none;
}
.hl-nav__checkbox:checked ~ .hl-nav { display: block; }
.hl-nav__list { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.hl-nav__link {
  display: block; padding: 12px 4px; color: var(--text); text-decoration: none;
  font: 600 1rem/1.3 var(--font-head); border-bottom: 1px solid var(--line);
}
.hl-nav__link:hover, .hl-nav__link--active { color: var(--yellow); }

.hl-header__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.hl-header__actions .hl-btn--line { display: none; }

/* ------------------------------------------------ кнопки */
.hl-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font: 700 .95rem/1 var(--font-head); text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s, color .15s;
}
.hl-btn--fill { background: var(--green); color: #07130a; }
.hl-btn--fill:hover { background: #6be37f; color: #07130a; transform: translateY(-1px); }
.hl-btn--line { border: 1px solid var(--line-gold); color: var(--text); }
.hl-btn--line:hover, .hl-btn--line[aria-current="page"] { border-color: var(--yellow); color: var(--yellow); }

.hl-cta {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; padding: 10px 26px; border-radius: 16px;
  text-decoration: none; line-height: 1.2; transition: transform .15s, box-shadow .15s;
}
.hl-cta__main { font: 800 1.05rem/1.2 var(--font-head); }
.hl-cta__sub { font-size: .85rem; opacity: .85; margin-top: 2px; }
.hl-cta--primary { background: var(--green); color: #07130a; box-shadow: 0 10px 30px -12px rgba(76, 216, 100, .7); }
.hl-cta--primary:hover { color: #07130a; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(76, 216, 100, .8); }
.hl-cta--ghost { border: 1px solid var(--yellow); color: var(--yellow); background: rgba(249, 222, 77, .06); }
.hl-cta--ghost:hover { color: var(--bg); background: var(--yellow); }
.hl-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px; }

/* ------------------------------------------------ крошки */
.hl-crumbs { font-size: .875rem; color: var(--muted); padding-top: 14px; }
.hl-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hl-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--surface-3); }
.hl-crumbs a { color: var(--muted); }
.hl-crumbs [aria-current] { color: var(--text); }

/* ------------------------------------------------ футер */
.hl-footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0 28px; }
.hl-footer__top { display: grid; gap: 32px; }
.hl-footer__brand p { color: var(--muted); font-size: .92rem; max-width: 46ch; margin-top: 14px; }
.hl-footer__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hl-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hl-footer__title { font: 700 .8rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin-bottom: 12px; }
.hl-footer__col ul { list-style: none; margin: 0; padding: 0; }
.hl-footer__col a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; }
.hl-footer__col a:hover, .hl-footer__col a[aria-current] { color: var(--yellow); }
.hl-footer__bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; gap: 12px; grid-template-columns: auto 1fr; align-items: start;
  font-size: .85rem; color: var(--muted);
}
.hl-footer__bottom p { margin: 0; }
.hl-footer__bottom address { grid-column: 1 / -1; }
.hl-age {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--yellow);
  display: grid; place-items: center; font: 800 .9rem/1 var(--font-head); color: var(--yellow);
}

@media (min-width: 640px) {
  .hl-header__actions .hl-btn--line { display: inline-flex; }
  .hl-nav__only-mobile { display: none; }
  .hl-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .hl-logo__img { width: 108px; }
  .hl-nav__toggle { display: none; }
  .hl-nav { position: static; display: block; background: none; border: 0; margin-left: 8px; }
  .hl-nav__list { display: flex; gap: 4px; padding: 0; }
  .hl-nav__link { border: 0; padding: 10px 12px; border-radius: 999px; font-size: .92rem; }
  .hl-nav__link--active { background: rgba(249, 222, 77, .1); }
  .hl-footer__top { grid-template-columns: 1.1fr 1.4fr; }
}
