/* Tarocoffeine — coffee cream / espresso / plum / gold (both original pages, joined). One file, no libraries. */

/* ---------------------------------------------------------------- fonts (self-hosted, Cyrillic + Latin) */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/cormorant-garamond-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Forum'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/forum-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Forum'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/forum-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #faf6f0;
  --latte: #f3ebdf;
  --mist: #f6eef9;
  --card: #fffdf9;
  --ink: #2e2018;
  --ink-2: #4b3628;
  --muted: #6b5848;
  --gold: #8b6914;
  --gold-2: #b08a2e;
  --gold-3: #d4af37;
  --gold-4: #f1e2b3;
  --plum: #6f237e;
  --plum-2: #8c3198;
  --plum-3: #b5468f;
  --line: rgba(139, 105, 20, .2);
  --line-2: rgba(139, 105, 20, .36);
  --night: #1b1019;
  --night-2: #2b1829;
  --wa: #188e58;
  --tg: #277dab;
  --err: #a8322a;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(70, 44, 24, .09);
  --shadow-lg: 0 22px 60px rgba(60, 36, 20, .17);
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --forum: 'Forum', 'Cormorant Garamond', Georgia, serif;
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --header-h: 74px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  min-width: 320px;
  font: 400 17px/1.6 var(--ui);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--plum-2); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1em; height: 1em; flex: none; }
.tarot-card { display: block; width: 100%; height: auto; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 500; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- shared bits */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1.3 var(--ui); letter-spacing: .24em; text-transform: uppercase; color: var(--plum); }
.eyebrow .icon { font-size: 14px; color: var(--gold-2); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before, .eyebrow--center::after { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.eyebrow--center::after { transform: scaleX(-1); }
.eyebrow--light { color: #f3dca0; }
.eyebrow--light::before, .eyebrow--light::after { background: linear-gradient(90deg, transparent, #d9b862); }

.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--ink);
  font: 700 15px/1.2 var(--ui); letter-spacing: .01em; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { font-size: 19px; }
.btn small { display: block; font: 600 12.5px/1.2 var(--ui); opacity: .85; letter-spacing: .02em; margin-top: 2px; }
.btn--plum {
  color: #fff;
  background: linear-gradient(130deg, #6f237e 0%, #8c3198 52%, #b5468f 100%);
  box-shadow: 0 10px 24px rgba(111, 35, 126, .3), inset 0 1px 0 rgba(255, 220, 245, .35);
}
.btn--plum:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 14px 30px rgba(111, 35, 126, .36), inset 0 1px 0 rgba(255, 220, 245, .4); }
.btn--outline { border-color: var(--line-2); background: rgba(255, 253, 249, .75); color: var(--ink); }
.btn--outline:hover { border-color: var(--gold-2); background: #fffdf6; }
.btn--light { background: #fffdf6; color: var(--ink); box-shadow: 0 10px 26px rgba(10, 4, 10, .28); }
.btn--light .icon { color: var(--wa); }
.btn--light:hover { transform: translateY(-1px); background: #fff; }
.btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 240, 210, .5); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(24, 142, 88, .26); }
.btn--wa:hover { background: #137747; }
.btn--tg { background: var(--tg); color: #fff; box-shadow: 0 8px 20px rgba(39, 125, 171, .24); }
.btn--tg:hover { background: #216d96; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--sm .icon { font-size: 17px; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 16px; }
.btn--lg span { text-align: left; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(70, 44, 24, .07); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fbe9b5; font-size: 23px; background: radial-gradient(circle at 35% 28%, #5a3a2a, #2e1d14 72%); box-shadow: 0 0 0 1px rgba(212, 175, 55, .55), 0 0 0 4px rgba(212, 175, 55, .14); flex: none; }
.brand__txt { display: grid; line-height: 1.1; }
.brand__name { font: 600 26px/1 var(--display); color: var(--ink); letter-spacing: .01em; }
.brand__sub { font: 700 9.5px/1.3 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 999px; text-decoration: none; font: 600 14.5px/1.2 var(--ui); color: var(--ink-2); transition: color .15s, background-color .15s; }
.site-nav__link:hover { color: var(--plum); background: rgba(111, 35, 126, .07); }
.site-nav__chev { display: none; }
.site-nav__cta { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 22px; place-items: center; cursor: pointer; }
.nav-toggle__close { display: none; }
.is-menu-open .nav-toggle__open { display: none; }
.is-menu-open .nav-toggle__close { display: block; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 86px;
  background:
    radial-gradient(48% 60% at 82% 30%, rgba(181, 70, 143, .13), transparent 70%),
    radial-gradient(40% 50% at 6% 90%, rgba(212, 175, 55, .16), transparent 70%),
    radial-gradient(60% 60% at 30% 0%, rgba(255, 252, 240, .95), transparent 70%),
    linear-gradient(160deg, #f8efe4 0%, #fbf7f1 45%, #f3e8f3 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, var(--gold-2) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 52% 10%, var(--gold-2) 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 74%, var(--gold-2) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 22% 86%, var(--gold-2) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 12%, var(--gold-2) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 96% 82%, var(--gold-2) 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 46%, var(--gold-2) 50%, transparent 51%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero__title { font: 600 clamp(42px, 5.6vw, 72px)/1.02 var(--display); color: var(--ink); letter-spacing: -.005em; text-wrap: balance; }
.hero__accent {
  color: var(--plum);
  background: linear-gradient(100deg, #6f237e 0%, #9b3a8f 45%, #b08a2e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lead { max-width: 600px; margin-top: 22px; font: 500 21.5px/1.5 var(--serif); color: var(--ink-2); text-wrap: pretty; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0 30px; }
.ticks li { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1.3 var(--ui); color: var(--ink-2); }
.ticks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #8b6914, #c9a43f); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.chips__label { font: 700 12px/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 12px; text-decoration: none; font: 700 15px/1.2 var(--ui); color: #fff; background: linear-gradient(130deg, #8c3198, #c34b90); box-shadow: 0 5px 14px rgba(140, 49, 152, .2); transition: transform .18s, filter .18s; }
.chip:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hero__note { display: flex; gap: 9px; align-items: flex-start; max-width: 600px; margin-top: 22px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 253, 249, .78); border: 1px solid var(--line); font: 500 13.5px/1.55 var(--ui); color: var(--muted); }
.hero__note .icon { font-size: 16px; margin-top: 2px; color: var(--gold-2); }

.hero__visual { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.hero__arch {
  position: relative; aspect-ratio: 4 / 5; padding: 10px;
  border-radius: 999px 999px 26px 26px;
  background: linear-gradient(160deg, #3a2318, #1b1019);
  box-shadow: 0 34px 70px rgba(60, 30, 40, .32), 0 0 0 1px rgba(212, 175, 55, .5);
}
.hero__arch::after { content: ''; position: absolute; inset: 5px; border-radius: 999px 999px 22px 22px; border: 3px double rgba(222, 190, 110, .8); pointer-events: none; }
.hero__arch picture, .hero__arch img { width: 100%; height: 100%; }
.hero__arch img { object-fit: cover; border-radius: 999px 999px 18px 18px; }
.hero__floats { position: absolute; inset: 0; pointer-events: none; }
.hero__float { position: absolute; width: 112px; filter: drop-shadow(0 18px 26px rgba(30, 14, 26, .38)); }
.hero__float--a { left: -52px; bottom: 54px; transform: rotate(-12deg); }
.hero__float--b { right: -40px; top: 92px; width: 96px; transform: rotate(10deg); }

/* ---------------------------------------------------------------- sections */
.section { padding: 92px 0; background: var(--bg); }
.section--latte { background: linear-gradient(180deg, var(--latte), #f8f2ea); }
.section--mist { background: radial-gradient(60% 70% at 50% 0%, #fdf8ff, transparent 70%), linear-gradient(180deg, #f3e7f6, var(--mist)); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section__title { margin-top: 14px; font: 600 clamp(34px, 4.4vw, 52px)/1.08 var(--display); color: var(--ink); text-wrap: balance; }
.section__title--left { text-align: left; }
.section__sub { margin-top: 12px; font: 500 20.5px/1.5 var(--serif); color: var(--muted); text-wrap: pretty; }
.section__foot { display: flex; gap: 9px; align-items: flex-start; justify-content: center; max-width: 720px; margin: 36px auto 0; font: 500 14px/1.55 var(--ui); color: #d9c7c9; text-align: left; }
.section__foot .icon { font-size: 16px; margin-top: 2px; color: #d9b862; }
.section__foot--dark { color: var(--muted); }
.section__foot--dark .icon { color: var(--gold-2); }

/* consultants — tarot-card frames on a night-plum velvet */
.section--night {
  position: relative; color: #f5ecd8;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(181, 70, 143, .22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(212, 175, 55, .1), transparent 70%),
    linear-gradient(170deg, #22121f 0%, #170c15 60%, #20131a 100%);
}
.section--night .section__title { color: #f6e7bf; }
.section--night .section__sub { color: #d8c6c8; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 350px)); justify-content: center; gap: 26px; }
.people--2 { grid-template-columns: repeat(2, minmax(0, 350px)); }
.people--1 { grid-template-columns: minmax(0, 370px); }
.person {
  position: relative; display: flex; flex-direction: column;
  padding: 12px; border-radius: 22px;
  background: linear-gradient(160deg, #3a2033 0%, #261522 55%, #33211d 100%);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(232, 213, 163, .24);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.person::before { content: ''; position: absolute; inset: 6px; border-radius: 17px; border: 4px double rgba(217, 189, 114, .72); pointer-events: none; }
.person__photo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #1d0f1a; box-shadow: inset 0 0 0 1px rgba(232, 213, 163, .4); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .5s ease; }
.person__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(14, 6, 12, .55)); pointer-events: none; }
.person__photo:hover img { transform: scale(1.04); }
.person__photo--art { display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 45%, rgba(212, 175, 55, .2), transparent 70%), radial-gradient(circle at 50% 120%, #4a2342, #1a0d17 70%); }
.person__art { display: block; width: 58%; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .55)); transition: transform .5s ease; }
.person__photo--art:hover .person__art { transform: translateY(-4px) rotate(-1.5deg); }
.person__photo--art .person__numeral { display: none; } /* the arcana carries its own numeral */
.person__numeral { position: absolute; top: 10px; left: 50%; z-index: 1; transform: translateX(-50%); min-width: 46px; padding: 4px 12px; border-radius: 999px; background: rgba(22, 10, 18, .8); border: 1px solid rgba(232, 213, 163, .6); font: 400 16px/1.2 var(--forum); color: #f0dfaa; text-align: center; letter-spacing: .08em; }
.person__wa { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 24px; color: #fff; background: var(--wa); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.person__body { position: relative; display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 18px 12px 12px; text-align: center; }
.person__name { font: 600 34px/1.05 var(--display); color: #f6e3a9; letter-spacing: .01em; }
.person__role { font: 700 11px/1.45 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: #d2b46e; }
.person__about { margin-top: 4px; font: 500 17.5px/1.45 var(--serif); color: #eadfd0; }
.person__body .person__btn { margin-top: auto; }
.person__body > :nth-last-child(2) { margin-bottom: 14px; }
.person__btn-short { display: none; }

/* topics */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.topic {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 26px 18px 20px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, #fffefb, #fbf5ec); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.topic::after { content: ''; position: absolute; inset: 6px; border-radius: 13px; border: 1px solid rgba(176, 138, 46, .14); pointer-events: none; }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.topic__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 26px; color: var(--plum); background: radial-gradient(circle at 50% 35%, #fff, #f3e6ef); box-shadow: inset 0 0 0 1px rgba(111, 35, 126, .22), 0 0 0 5px rgba(176, 138, 46, .1); transition: transform .3s ease; }
.topic:hover .topic__icon { transform: rotate(-6deg) scale(1.05); }
.topic__title { font: 600 23px/1.12 var(--display); color: var(--ink); margin-top: 6px; text-wrap: balance; }
.topic__text { font: 500 14.5px/1.5 var(--ui); color: var(--muted); }
.topic__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font: 700 12.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
.topic__more .icon { transition: transform .2s; }
.topic:hover .topic__more .icon { transform: translateX(3px); }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 40px; padding: 18px; border-radius: 22px; background: rgba(255, 253, 249, .8); border: 1px solid var(--line); box-shadow: var(--shadow); }
.trust li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 10px; font: 600 14.5px/1.35 var(--ui); color: var(--ink-2); }
.trust li + li { border-left: 1px solid var(--line); }
.trust__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; font-size: 20px; color: var(--gold); background: linear-gradient(180deg, #fff8e6, #f2e4bd); box-shadow: inset 0 0 0 1px var(--line-2); }

/* catalog — stats strip + six folios */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 112px; padding: 16px 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.stat__num { font: 600 50px/1 var(--display); color: var(--plum); }
.stat__label { font: 600 13.5px/1.35 var(--ui); color: var(--muted); }
.stat--accent { background: linear-gradient(135deg, #6f237e, #9b3a8f 60%, #b5468f); border-color: transparent; color: #fff; box-shadow: 0 16px 34px rgba(111, 35, 126, .26); }
.stat--accent .stat__label { color: #fbeaf6; font-size: 14.5px; }
.stat__icon { font-size: 30px; color: #ffe6a6; }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.cat { border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cat__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 16px 16px 14px; cursor: pointer; list-style: none; background: linear-gradient(180deg, #fffaf1, #fbf2e3); border-bottom: 1px solid var(--line); }
.cat__head::-webkit-details-marker { display: none; }
.cat__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 22px; color: #fbe9b5; background: radial-gradient(circle at 35% 28%, #8c3198, #4d1858 75%); box-shadow: 0 6px 14px rgba(111, 35, 126, .25); }
.cat__title { font: 600 21px/1.15 var(--display); color: var(--ink); }
.cat__count { padding: 4px 10px; border-radius: 999px; font: 700 11.5px/1.2 var(--ui); letter-spacing: .04em; color: var(--gold); background: rgba(212, 175, 55, .14); white-space: nowrap; }
.cat__chev { font-size: 18px; color: var(--gold-2); transition: transform .2s; }
.cat[open] .cat__chev { transform: rotate(180deg); }
.cat__list { padding: 6px 8px 10px; }
.cat__item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 46px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font: 500 15px/1.4 var(--ui); transition: background-color .15s, color .15s; }
.cat__item:hover { background: rgba(111, 35, 126, .06); color: var(--plum); }
.cat__list li + li .cat__item { box-shadow: 0 -1px 0 rgba(139, 105, 20, .1); }
.cat__num { font: 600 13px/1 var(--ui); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.cat__go { font-size: 16px; color: var(--plum-2); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.cat__item:hover .cat__go, .cat__item:focus-visible .cat__go { opacity: 1; transform: none; }

/* «Выберите карту» */
.draw { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); justify-content: center; gap: 28px; }
.draw__card { display: block; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1200px; border-radius: 16px; -webkit-tap-highlight-color: transparent; }
.draw__inner { position: relative; display: block; aspect-ratio: 3 / 5; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.draw__face { position: absolute; inset: 0; display: block; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 14px; filter: drop-shadow(0 18px 26px rgba(60, 20, 60, .3)); }
.draw__face--front { transform: rotateY(180deg); }
.draw__card:hover .draw__inner { transform: translateY(-6px) rotate(-1deg); }
.draw__card.is-open .draw__inner { transform: rotateY(180deg); }
.draw__card.is-open:hover .draw__inner { transform: rotateY(180deg) translateY(-4px); }
.draw__card.is-current .draw__face--front { filter: drop-shadow(0 0 22px rgba(212, 175, 55, .55)) drop-shadow(0 18px 26px rgba(60, 20, 60, .3)); }
html:not(.js) .draw__inner { transform: rotateY(180deg); }
.draw__result { display: grid; place-items: center; max-width: 640px; min-height: 120px; margin: 34px auto 0; padding: 22px 26px; border-radius: 20px; background: rgba(255, 253, 249, .9); border: 1px solid rgba(111, 35, 126, .18); box-shadow: var(--shadow); text-align: center; }
.draw__hint { font: 500 19px/1.5 var(--serif); color: var(--muted); }
.draw__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font: 700 11.5px/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); background: rgba(111, 35, 126, .08); }
.draw__title { margin-top: 10px; font: 600 30px/1.15 var(--display); color: var(--ink); }
.draw__text { margin-top: 8px; font: 500 16px/1.6 var(--ui); color: var(--ink-2); }
.draw__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.draw__actions[hidden] { display: none; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 36px; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-2) 0 6px, transparent 6px 12px); opacity: .55; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.step__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-size: 30px; color: var(--plum); background: radial-gradient(circle at 50% 35%, #fff, #f1e3ee); box-shadow: inset 0 0 0 1px rgba(111, 35, 126, .24), 0 0 0 7px var(--bg), 0 10px 26px rgba(111, 35, 126, .14); }
.step__num { margin-top: 14px; font: 700 12px/1 var(--ui); letter-spacing: .2em; color: var(--gold); }
.step__title { margin-top: 8px; font: 600 22px/1.15 var(--display); color: var(--ink); text-wrap: balance; }
.step__text { margin-top: 8px; font: 500 14.5px/1.55 var(--ui); color: var(--muted); }
.notice { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 44px auto 0; padding: 16px 20px; border-radius: 16px; background: #fff7e2; border-left: 4px solid var(--gold-3); font: 500 14.5px/1.6 var(--ui); color: var(--ink-2); }
.notice .icon { font-size: 20px; margin-top: 1px; color: var(--gold); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 54px; align-items: start; }
.about__text p:not(.eyebrow) { margin-top: 16px; font: 500 16px/1.7 var(--ui); color: var(--ink-2); }
.about__text .section__title { margin-bottom: 6px; }
.about__why { padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.about__why-title { font: 600 30px/1.1 var(--display); color: var(--ink); text-align: center; margin-bottom: 20px; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.why__item { padding: 18px; border-radius: 16px; background: linear-gradient(180deg, #fffaf2, #fbf3e6); border: 1px solid rgba(139, 105, 20, .14); }
.why__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 22px; color: var(--plum); background: #f6e9f2; box-shadow: inset 0 0 0 1px rgba(111, 35, 126, .2); }
.why__title { margin-top: 12px; font: 700 15.5px/1.3 var(--ui); color: var(--ink); }
.why__text { margin-top: 6px; font: 500 14.5px/1.55 var(--ui); color: var(--muted); }
.why__text a { color: var(--plum); font-weight: 700; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- contact / CTA */
.cta { position: relative; overflow: hidden; padding: 96px 0; color: #fff; background: #1b1019; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg picture, .cta__bg img { width: 100%; height: 100%; }
.cta__bg img { object-fit: cover; object-position: 50% 60%; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27, 12, 22, .94) 0%, rgba(40, 18, 34, .86) 46%, rgba(30, 14, 24, .7) 100%); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 52px; align-items: center; }
.cta__title { margin-top: 14px; font: 600 clamp(36px, 4.6vw, 56px)/1.05 var(--display); color: #fff3d3; text-wrap: balance; }
.cta__sub { margin-top: 12px; font: 500 22px/1.4 var(--serif); color: #f0e2d2; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta__mail { display: flex; gap: 10px; align-items: center; margin-top: 18px; font: 600 15px/1.4 var(--ui); color: #f3e6d6; }
.cta__mail .icon { font-size: 19px; color: #e8c871; }
.cta__mail a { color: #fff; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cta__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; max-width: 520px; font: 500 14px/1.55 var(--ui); color: #e6d8cc; }
.cta__note .icon { font-size: 18px; margin-top: 1px; color: #e8c871; }
.cta__form { position: relative; }

.form, .success { padding: 28px 26px; border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 0 30px 70px rgba(10, 2, 10, .45); border: 1px solid rgba(232, 213, 163, .6); }
.form { display: grid; gap: 16px; }
.form__title { font: 600 32px/1.1 var(--display); color: var(--ink); }
.form__sub { margin-top: 6px; font: 500 14.5px/1.5 var(--ui); color: var(--muted); }
.field { display: grid; gap: 7px; }
.field__label { font: 700 13.5px/1.3 var(--ui); color: var(--ink-2); }
.field__opt { font-weight: 500; color: var(--muted); margin-left: 4px; }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 13px;
  border: 1px solid var(--line-2); background: #fffefb; color: var(--ink);
  font: 500 16px/1.4 var(--ui); transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: #94827a; }
.field__input:focus { border-color: var(--plum-2); box-shadow: 0 0 0 4px rgba(140, 49, 152, .14); }
.field__input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(168, 50, 42, .12); }
textarea.field__input { min-height: 96px; resize: vertical; }
.field__select { position: relative; }
.field__select .field__input { padding-right: 44px; cursor: pointer; }
.field__select .field__input.is-empty { color: #85746b; }
.field__chev { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--plum); pointer-events: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font: 500 13px/1.55 var(--ui); color: var(--muted); }
.check__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fffefb; color: transparent; font-size: 15px; transition: background-color .15s, border-color .15s, color .15s; }
.check__input:checked + .check__box { background: linear-gradient(135deg, #6f237e, #b5468f); border-color: transparent; color: #fff; }
.check__input:focus-visible + .check__box { outline: 3px solid var(--plum-2); outline-offset: 2px; }
.check__input[aria-invalid="true"] + .check__box { border-color: var(--err); }
.check__text a { color: var(--plum); font-weight: 700; text-underline-offset: 3px; }
.form__error { font: 600 14px/1.45 var(--ui); color: var(--err); }
.form__error:empty { display: none; }
.form__error.is-attached { margin-top: -6px; }
.form__submit { position: relative; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; }
.form.is-busy .spinner { display: inline-block; }
.form.is-busy .form__submit .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; }
.success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 30px; color: #fff; background: linear-gradient(135deg, #6f237e, #b5468f); box-shadow: 0 10px 24px rgba(111, 35, 126, .3); }
.success__title { margin-top: 16px; font: 600 34px/1.1 var(--display); color: var(--ink); }
.success__text { margin-top: 10px; font: 500 15.5px/1.55 var(--ui); color: var(--muted); }
.success__actions { display: grid; gap: 10px; margin-top: 20px; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 54px 0 46px; background: var(--bg); border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px; }
.site-footer__name { font: 600 28px/1 var(--display); color: var(--ink); }
.site-footer__tag { font: 700 10.5px/1.3 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.site-footer__legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
.site-footer__legal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font: 600 14.5px/1.3 var(--ui); color: var(--plum); text-decoration: underline; text-decoration-color: rgba(111, 35, 126, .35); text-underline-offset: 5px; }
.site-footer__legal-nav a:hover { text-decoration-color: currentColor; }
.site-footer__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 10px; }
.site-footer__contacts a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1.3 var(--ui); color: var(--ink-2); text-decoration: none; }
.site-footer__contacts a:hover { color: var(--plum); }
.site-footer__contacts .icon { font-size: 18px; color: var(--gold-2); }
.site-footer__disclaimer { display: flex; gap: 9px; align-items: flex-start; justify-content: center; max-width: 760px; margin: 18px auto 0; font: 500 13.5px/1.6 var(--ui); text-align: left; }
.site-footer__disclaimer .icon { font-size: 16px; margin-top: 2px; color: var(--gold-2); }
.site-footer__copy { margin-top: 12px; font: 500 13px/1.6 var(--ui); color: #7a6a5e; }
.site-footer__cookies { margin-top: 18px; }

/* ---------------------------------------------------------------- legal overlays (:target, no JS needed) */
.legal-modal { display: none; position: fixed; inset: 0; z-index: 400; overflow-y: auto; padding: 24px 16px; -webkit-overflow-scrolling: touch; }
.legal-modal:target { display: block; }
.legal-modal__backdrop { position: fixed; inset: 0; background: rgba(28, 14, 26, .74); }
.legal-panel { position: relative; max-width: 820px; margin: 12px auto; padding: clamp(24px, 5vw, 46px); border-radius: 22px; background: #fffaf6; border: 1px solid #d6bd7a; box-shadow: 0 30px 80px rgba(20, 8, 18, .45); color: var(--ink); }
.legal-panel__close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); font-size: 22px; text-decoration: none; background: rgba(111, 35, 126, .07); }
.legal-panel__close:hover { background: rgba(111, 35, 126, .14); }
.legal-panel__title { padding-right: 48px; font: 600 clamp(30px, 4vw, 40px)/1.12 var(--display); color: var(--plum); }
.legal-panel__body { margin-top: 18px; font: 500 15.5px/1.75 var(--ui); color: var(--ink-2); }
.legal-panel__body h3 { margin: 24px 0 8px; font: 700 16.5px/1.4 var(--ui); color: var(--plum); }
.legal-panel__body p + p { margin-top: 10px; }
.legal-panel__body a { color: var(--plum); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-panel--page { margin: 0; box-shadow: var(--shadow); }

/* privacy.php */
.doc { padding: 48px 0 80px; background: linear-gradient(180deg, var(--latte), var(--bg) 320px); }
.doc__inner { max-width: 860px; }
.doc__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 14px/1 var(--ui); color: var(--plum); text-decoration: none; }
.doc__back-ic { transform: rotate(180deg); }
.doc__title { margin: 10px 0 24px; font: 600 clamp(36px, 5vw, 52px)/1.08 var(--display); color: var(--ink); }
.doc__more { margin-top: 22px; font: 600 14.5px/1.6 var(--ui); color: var(--muted); }
.doc__more a { color: var(--plum); }

/* ---------------------------------------------------------------- topic modal (assets/js/site.js) */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(22, 10, 38, .72); opacity: 0; transition: opacity .25s ease; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; width: 100%; max-width: 440px; padding: 36px 26px 24px; border-radius: 24px; background: linear-gradient(150deg, #2d174a, #180d2e); border: 1px solid #c6a052; box-shadow: 0 30px 80px rgba(8, 2, 16, .55); color: #fff; text-align: center; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .25s ease, transform .25s ease; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; cursor: pointer; }
.modal__close:hover { background: rgba(255, 255, 255, .16); }
.modal__card:empty { display: none; }
.modal__mark { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 26px; color: #f7d98b; background: radial-gradient(circle at 50% 35%, rgba(247, 217, 139, .22), rgba(247, 217, 139, .06)); box-shadow: inset 0 0 0 1px rgba(247, 217, 139, .45); }
.modal__title { margin-top: 14px; font: 600 31px/1.12 var(--display); color: #f7d98b; text-wrap: balance; }
.modal__text { margin-top: 8px; font: 500 15.5px/1.5 var(--ui); color: #e6dcef; }
.modal__actions { display: grid; gap: 10px; margin-top: 22px; }
.modal__hint { margin-top: 14px; font: 500 12.5px/1.5 var(--ui); color: #cbbcd8; }
.modal__alt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: 4px; font: 700 14px/1 var(--ui); color: #f7d98b; text-decoration: none; }
.modal :focus-visible { outline-color: #f7d98b; }

/* ---------------------------------------------------------------- floating WhatsApp + cookie banner */
.float-wa { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 150; display: none; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; font-size: 30px; background: var(--wa); box-shadow: 0 12px 26px rgba(24, 142, 88, .4); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s; }
.float-wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.cookie { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 250; max-width: 760px; margin: 0 auto; }
.cookie[hidden] { display: none; }
.cookie__inner { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: #fffdf9; border: 1px solid #c6a66b; box-shadow: 0 18px 50px rgba(20, 8, 18, .28); }
.cookie__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; font-size: 21px; color: var(--plum); background: #f4e6f1; }
.cookie__text { font: 500 13.5px/1.55 var(--ui); color: var(--ink-2); }
.cookie__text a { color: var(--plum); font-weight: 700; }
.cookie__actions { display: flex; gap: 8px; flex: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
}

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; }
  .hero__float--a { left: -28px; width: 92px; }
  .hero__float--b { right: -18px; width: 80px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cta__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cta__text { text-align: center; }
  .cta__actions, .cta__mail { justify-content: center; }
  .cta__note { margin-left: auto; margin-right: auto; text-align: left; }
  .cta__form { max-width: 520px; width: 100%; margin: 0 auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: grid; order: 3; }
  .header-cta { order: 2; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 10px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(60, 36, 20, .14); }
  .is-menu-open .site-nav { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { justify-content: space-between; min-height: 52px; padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav__chev { display: block; color: var(--gold-2); }
  .site-nav__cta { display: grid; gap: 10px; margin-top: 16px; }
  .float-wa { display: grid; }
  .people, .people--2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
  .people--1 { grid-template-columns: minmax(0, 360px); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__visual { max-width: 330px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section, .cta { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .section__sub { font-size: 19px; }
  .hero { padding: 30px 0 56px; }
  .hero__title { font-size: clamp(38px, 10.4vw, 48px); }
  .hero__lead { font-size: 20px; margin-top: 16px; }
  .ticks { flex-direction: column; gap: 9px; margin: 20px 0 24px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .chips { margin-top: 18px; }
  .chip { min-height: 38px; padding: 7px 14px; font-size: 14.5px; }
  .hero__visual { max-width: 290px; }
  .hero__float--a { left: -34px; bottom: 30px; width: 74px; }
  .hero__float--b { right: -30px; top: 64px; width: 64px; }

  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .topic { padding: 20px 12px 16px; gap: 6px; }
  .topic__icon { width: 50px; height: 50px; font-size: 22px; }
  .topic__title { font-size: 20px; }
  .topic__text { font-size: 13.5px; }
  .topic__more { font-size: 11.5px; }
  .trust { grid-template-columns: minmax(0, 1fr); padding: 8px 14px; margin-top: 28px; }
  .trust li { justify-content: flex-start; padding: 10px 2px; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }

  /* consultants: compact row cards so all of them fit on about one phone screen */
  .people, .people--2, .people--1 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .person { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: start; gap: 0 14px; padding: 10px; border-radius: 18px; }
  .person::before { inset: 5px; border-radius: 14px; border-width: 3px; }
  .person__photo { border-radius: 11px; }
  .person__art { width: 58%; }
  .person__numeral { top: 7px; min-width: 38px; padding: 2px 8px; font-size: 13px; }
  .person__wa { width: 36px; height: 36px; right: 7px; bottom: 7px; font-size: 19px; }
  .person__body { padding: 6px 4px 4px 0; text-align: left; gap: 4px; height: 100%; }
  .person__name { font-size: 28px; }
  .person__role { font-size: 10px; letter-spacing: .12em; }
  .person__about { font-size: 16px; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .person__body .person__btn { min-height: 42px; padding: 8px 12px; font-size: 14px; }
  .person__body > :nth-last-child(2) { margin-bottom: 10px; }
  .person__btn-full { display: none; }
  .person__btn-short { display: inline; }

  .stats { gap: 10px; margin-bottom: 22px; }
  .stat { min-height: 92px; padding: 12px 10px; border-radius: 16px; }
  .stat__num { font-size: 40px; }
  .stat__label { font-size: 12.5px; }
  .stat--accent .stat__label { font-size: 13px; }
  .cats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cat__head { padding: 12px 14px; gap: 10px; }
  .cat__icon { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
  .cat__title { font-size: 20px; }
  .cat__go { opacity: 1; transform: none; }

  .draw { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .draw__result { margin-top: 24px; padding: 18px; }
  .draw__title { font-size: 26px; }
  .draw__text { font-size: 15px; }
  .draw__actions { flex-direction: column; }
  .draw__actions .btn { width: 100%; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; row-gap: 0; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: 'icon num' 'icon title' 'icon text'; column-gap: 16px; align-items: start; text-align: left; padding: 0 0 22px; }
  .step:not(:last-child)::after { content: ''; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 1px; background: repeating-linear-gradient(180deg, var(--gold-2) 0 5px, transparent 5px 10px); opacity: .55; }
  .step__icon { grid-area: icon; width: 56px; height: 56px; font-size: 24px; box-shadow: inset 0 0 0 1px rgba(111, 35, 126, .24), 0 0 0 5px var(--bg); }
  .step__num { grid-area: num; margin-top: 4px; }
  .step__title { grid-area: title; margin-top: 4px; font-size: 21px; }
  .step__text { grid-area: text; margin-top: 4px; }
  .notice { margin-top: 18px; padding: 14px 16px; font-size: 14px; }

  .about__why { padding: 20px 16px; }
  .why { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .why__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px; }
  .why__icon { grid-row: span 2; }
  .why__title { margin-top: 0; }
  .why__text { margin-top: 2px; }

  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
  .cta__bg::after { background: linear-gradient(180deg, rgba(27, 12, 22, .9), rgba(30, 14, 24, .94)); }
  .form, .success { padding: 24px 18px; border-radius: 20px; }
  .cookie__inner { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .cookie__icon { display: none; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .header-cta { display: none; }
  .brand__name { font-size: 23px; }
  .brand__mark { width: 40px; height: 40px; font-size: 21px; }
  .brand__sub { letter-spacing: .16em; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .14em; gap: 8px; }
  .topic__title { font-size: 19px; }
  .person { grid-template-columns: 42% minmax(0, 1fr); }
  .person__name { font-size: 26px; }
}

@media (max-width: 359px) {
  .topics { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .cookie, .float-wa, .modal, .legal-modal, .site-header, .hero__floats { display: none !important; }
}
