/* AS Group CD — фирменные цвета из логотипа: золото + королевский синий на тёмно-синем */
:root {
  --bg: #05080f;
  --bg-2: #0a0f1a;
  --surface: #0f1522;
  --surface-2: #151d2e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f1ea;
  --muted: #a3abba;
  --dim: #6f7889;
  --gold: #e2bd6a;
  --gold-2: #f6dc9a;
  --gold-3: #b38a3e;
  --gold-grad: linear-gradient(135deg, #f8e2a4 0%, #e2bd6a 45%, #b8893b 100%);
  --blue: #2f62d6;
  --blue-2: #5b8cff;
  --blue-grad: linear-gradient(135deg, #1b3f9b, #2f62d6 60%, #6b97ff);
  --r: 18px;
  --r-sm: 12px;
  --wrap: 1240px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 20px; height: 20px; flex: none; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- типографика ---------- */
.h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
.h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 640px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; }
.meta .ic { width: 15px; height: 15px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: 15px; }
.link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(5, 8, 15, .7); backdrop-filter: blur(8px); border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-2); }
.tag--sm { padding: 3px 10px; font-size: 11px; background: rgba(226, 189, 106, .1); border-color: rgba(226, 189, 106, .25); }
.tag--blue { background: rgba(47, 98, 214, .18); border-color: rgba(91, 140, 255, .35); color: #b9ceff; }

/* ---------- кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 10px 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; }
.btn--gold { background: var(--gold-grad); color: #1a1408; box-shadow: 0 8px 30px -10px rgba(226, 189, 106, .6); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(226, 189, 106, .8); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); padding: 0 24px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.btn--ghost .btn__ic { background: rgba(255, 255, 255, .08); color: var(--text); }
.btn--sm { min-height: 44px; font-size: 14px; padding-left: 18px; }
.btn--block { width: 100%; }
.btn__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(26, 20, 8, .9); color: var(--gold); transition: transform .25s var(--ease); }
.btn--sm .btn__ic { width: 28px; height: 28px; }
.btn__ic .ic { width: 16px; height: 16px; }
.btn:hover .btn__ic:not(.btn__ic--l) { transform: translateX(3px); }
.btn--phone { padding: 0 24px 0 8px; }
.btn--ghost.btn--block .ic { margin-right: 2px; }

/* ---------- шапка ---------- */
.topbar { position: relative; z-index: 51; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar__in { display: flex; gap: 28px; align-items: center; height: 40px; }
.topbar__in a, .topbar__in span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ic { width: 14px; height: 14px; color: var(--gold); }
.topbar__wa { margin-left: auto; }
.topbar a:hover { color: var(--text); }
.hdr { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.hdr.is-scrolled { background: rgba(5, 8, 15, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: auto; height: 40px; }
.logo__t { font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.logo__t b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { margin: 0 auto; }
.nav__list { display: flex; list-style: none; gap: 4px; }
.nav__item > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgba(244, 241, 234, .82); transition: color .2s, background .2s; }
.nav__item > a:hover, .nav__item > a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav__item > a[aria-current] { color: var(--gold-2); }
.nav__chev { width: 14px; height: 14px; transition: transform .25s; }
.nav__item--dd { position: relative; }
.dd { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 640px; padding: 12px; border-radius: var(--r); background: rgba(12, 17, 28, .97); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.dd::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--dd:hover .dd, .nav__item--dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.nav__item--dd:hover .nav__chev { transform: rotate(180deg); }
.dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd__link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); transition: .2s; }
.dd__link .ic { color: var(--gold); width: 18px; height: 18px; }
.dd__link:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 76px 0 0; z-index: 49; background: var(--bg); padding: 24px; overflow: auto; display: flex; flex-direction: column; }
.mnav[hidden] { display: none; }
.mnav ul { list-style: none; }
.mnav li a { display: block; padding: 14px 0; font-size: 24px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav__foot { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }

/* ---------- HERO с проявлением черновика ---------- */
.hero { position: relative; min-height: min(100svh, 920px); margin-top: -117px; padding-top: 117px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__img, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 60% 50%; animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); filter: brightness(.6); } to { transform: none; filter: none; } }
.hero__canvas { pointer-events: none; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(5, 8, 15, .78) 0%, rgba(5, 8, 15, .1) 22%, rgba(5, 8, 15, 0) 45%, rgba(5, 8, 15, .55) 72%, rgba(5, 8, 15, .96) 100%),
  linear-gradient(90deg, rgba(5, 8, 15, .7) 0%, rgba(5, 8, 15, .15) 55%, rgba(5, 8, 15, 0) 100%); }
.hero__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 36px; pointer-events: none; }
.hero__in a, .hero__in button { pointer-events: auto; }
.hero__txt { max-width: 760px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(5, 8, 15, .55); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--gold-2); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(226, 189, 106, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(226, 189, 106, 0); } }
.hero__h1 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.hero__lead { margin-top: 20px; font-size: 18px; color: rgba(244, 241, 234, .82); max-width: 600px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__card { display: flex; gap: 14px; align-items: center; width: 330px; padding: 10px; border-radius: var(--r); background: rgba(10, 15, 26, .6); border: 1px solid var(--line-2); backdrop-filter: blur(14px); transition: transform .3s var(--ease), border-color .3s; flex: none; }
.hero__card:hover { transform: translateY(-4px); border-color: rgba(226, 189, 106, .5); }
.hero__card img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.hero__card span { display: grid; gap: 2px; }
.hero__card b { font-size: 15px; }
.hero__card small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.hero__card em { font-style: normal; color: var(--gold); font-size: 13px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; margin-top: 4px; }
.hero__card em .ic { width: 14px; height: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-2); font-size: 14px; color: rgba(244, 241, 234, .75); position: relative; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 18px; height: 18px; color: var(--gold); }
.hero__hint { margin-left: auto; color: var(--dim); font-size: 13px; }

/* ---------- секции ---------- */
.sec { padding: 110px 0; position: relative; }
.sec--tight { padding: 40px 0 100px; }
.sec--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec__head { margin-bottom: 52px; display: grid; gap: 16px; }
.sec__head .eyebrow { margin: 0; }
.sec__head--c { text-align: center; justify-items: center; }
.sec__head--split { grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
.sec__head--split > * { grid-column: 1; }
.sec__head--split > .btn { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: linear-gradient(180deg, var(--surface) 0%, rgba(15, 21, 34, .6) 100%); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, transform .35s var(--ease), background .3s; }
a.card:hover, button.card:hover { border-color: rgba(226, 189, 106, .35); transform: translateY(-4px); }
a.card:hover .link .ic { transform: translateX(4px); }

/* ===== услуги: карточки-«бевел» со слайдером (по референсу) ===== */
.svc { display: block; position: relative; padding: 9px; border-radius: 20px; aspect-ratio: 1 / .86;
  background:
    radial-gradient(60% 10px at 50% 0, rgba(255, 255, 255, .55), transparent 100%),
    radial-gradient(60% 10px at 50% 100%, rgba(255, 255, 255, .35), transparent 100%),
    linear-gradient(180deg, #3a3f49 0%, #1a1e26 22%, #14171e 78%, #33373f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 40px -24px rgba(0, 0, 0, .8); }
.svc__in { position: relative; display: block; height: 100%; border-radius: 12px; overflow: hidden; background: #0b0e14; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.svc__ic { position: absolute; z-index: 3; left: 26px; top: 24px; color: #fff; }
.svc__ic .ic { width: 38px; height: 38px; stroke-width: 1.5; }
.svc__media { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 0; overflow: hidden; transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.svc__media img { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; min-height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.svc__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 14, 20, .05) 0%, rgba(11, 14, 20, .35) 45%, rgba(11, 14, 20, .92) 100%); }
.svc__txt { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; display: grid; }
.svc__dw { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2, .8, .2, 1); }
.svc__dw > span { overflow: hidden; }
.svc__t { font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.svc__d { padding-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(244, 241, 234, .7); opacity: 0; transition: opacity .4s .1s; }
.svc:hover .svc__media, .svc:focus-visible .svc__media { height: 82%; }
.svc:hover .svc__media img, .svc:focus-visible .svc__media img { transform: scale(1); }
.svc:hover .svc__dw, .svc:focus-visible .svc__dw { grid-template-rows: 1fr; }
.svc:hover .svc__d, .svc:focus-visible .svc__d { opacity: 1; }
@media (hover: none) {
  .svc__media { height: 82%; } .svc__media img { transform: none; }
  .svc__dw { grid-template-rows: 1fr; } .svc__d { opacity: 1; }
}
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0 8px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { scroll-snap-align: start; }
.slider__nav { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.slider__btn { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #161b25; color: #fff; transition: background .25s, color .25s, opacity .25s; }
.slider__btn svg { width: 22px; height: 22px; }
.slider__btn:hover { background: var(--gold-grad); color: #1a1408; }
.slider__btn:disabled { opacity: .35; pointer-events: none; }
.slider__bar { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.slider__fill { display: block; height: 100%; width: 33%; background: var(--gold-grad); transform-origin: left; transition: width .3s, margin-left .3s; }
.svc-grid { gap: 20px; }

/* ===== кейсы: стопка карточек со слайдером «До / После» (по референсу) ===== */
.pstack { display: grid; gap: 40px; }
.pcase { position: sticky; top: calc(100px + var(--i) * 18px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; border-radius: 26px; background: #070a10; border: 1px solid rgba(255, 255, 255, .05); box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .9); }
.ba { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1.3; --pos: 50%; user-select: none; touch-action: pan-y; background: #111; }
.ba .ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 16px; z-index: 3; padding: 6px 12px; border-radius: 8px; background: rgba(8, 10, 14, .85); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; pointer-events: none; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; }
.ba__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1a1408; box-shadow: 0 6px 20px -4px rgba(0, 0, 0, .5); transition: transform .2s; }
.ba__knob svg { width: 20px; height: 20px; }
.ba:hover .ba__knob { transform: scale(1.08); }
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + * , .ba:focus-within .ba__knob { outline: 2px solid #fff; outline-offset: 3px; }
.pcase__info { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 34px 34px 30px; border-radius: 16px; background: #111621; }
.pcase__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 16px; }
.pcase__meta .ic { width: 18px; height: 18px; }
.pcase__meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 6px; }
.pcase__t { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.pcase__d { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 520px; }
.pbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px 14px 20px; border-radius: 12px; background: #1c2230; color: #fff; font-weight: 600; font-size: 16px; transition: background .25s, color .25s; }
.pbtn svg { width: 18px; height: 18px; transition: transform .25s; }
.pbtn:hover { background: var(--gold-grad); color: #1a1408; }
.pbtn:hover svg { transform: translateX(3px); }

/* ===== новости/блог: карточка-фото с плашкой (по референсу) ===== */
.ncard { position: relative; display: block; aspect-ratio: .905; border-radius: 18px; overflow: hidden; background: #111; isolation: isolate; }
.ncard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.ncard:hover > img { transform: scale(1.06); }
.ncard__panel { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; justify-items: start; gap: 14px; padding: 24px 26px 26px; border-radius: 14px; background: #0b0e14; transition: background .3s; }
.ncard:hover .ncard__panel { background: #0f131c; }
.ncard__tag { padding: 6px 14px; border-radius: 999px; background: #222836; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ncard__t { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__by { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 16px; }
.ncard__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #05080f; border: 1px solid rgba(255, 255, 255, .1); flex: none; }
.ncard__av img { width: 28px; height: auto; }
.ncard__by i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 4px; }

/* о компании */
.about__big { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; letter-spacing: -.015em; font-weight: 500; color: var(--muted); max-width: 1050px; }
.about__big b { color: var(--text); font-weight: 700; }
.about__grid { display: grid; grid-template-columns: 400px 1fr; gap: 20px; margin-top: 56px; }
.about__card { padding: 36px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.about__card p { color: var(--muted); }
.about__card .btn { margin-top: auto; }
.about__img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.about__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }

/* bento */
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-bottom: 60px; }
.bento__a { grid-row: span 2; position: relative; overflow: hidden; min-height: 340px; }
.bento__a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.bento__a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 15, .9)); }
.bento__cap { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; font-size: 22px; font-weight: 700; line-height: 1.3; }
.bento__s { padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 160px; }
.bento__s span { color: var(--muted); }
.num { font-size: clamp(40px, 4.6vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.03em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefits { gap: 44px 40px; }
.ben { border-top: 1px solid var(--line-2); padding-top: 22px; }
.ben__n { display: inline-block; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 10px; letter-spacing: .1em; }
.ben h3 { font-size: 20px; margin-bottom: 8px; }
.ben p { color: var(--muted); font-size: 15px; }

/* направления */
.seg { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 6 / 5; border: 1px solid var(--line); }
.seg img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.seg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 15, .92)); }
.seg span { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 700; }
.seg span .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--gold-grad); color: #1a1408; transition: transform .3s; }
.seg:hover img { transform: scale(1.06); }
.seg:hover span .ic { transform: rotate(-45deg); }

/* этапы */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { padding: 30px 26px; position: relative; }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold-grad); color: #1a1408; font-weight: 800; font-size: 18px; margin-bottom: 26px; box-shadow: 0 0 0 6px rgba(226, 189, 106, .1); }
.step:not(:last-child)::after { content: ''; position: absolute; top: 54px; left: 82px; right: -20px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .5; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* письма */
.letters { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.letter { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 22px; align-items: center; margin: 0; }
.letter__img { display: block; padding: 0; border: 0; background: #fff; border-radius: 10px; overflow: hidden; cursor: zoom-in; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); width: 100%; }
.letter__img:hover { transform: rotate(-1.5deg) scale(1.02); }
.letter blockquote { margin: 0 0 14px; font-size: 19px; line-height: 1.45; font-weight: 600; }
.letter figcaption { display: grid; gap: 8px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.faq__l { position: sticky; top: 110px; display: grid; gap: 18px; justify-items: start; }
.faq__list { display: grid; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .3s; }
.qa[open] { border-color: rgba(226, 189, 106, .35); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-size: 18px; font-weight: 600; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__x { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: .3s; }
.qa__x::before, .qa__x::after { content: ''; position: absolute; left: 10px; right: 10px; top: 16px; height: 1.6px; background: currentColor; transition: transform .3s; }
.qa__x::after { transform: rotate(90deg); }
.qa[open] .qa__x { background: var(--gold-grad); color: #1a1408; border-color: transparent; }
.qa[open] .qa__x::after { transform: rotate(0); }
.qa p { padding: 0 24px 22px; color: var(--muted); }

/* заявка */
.sec--cta { background: radial-gradient(800px 400px at 85% 10%, rgba(47, 98, 214, .18), transparent 70%), radial-gradient(600px 400px at 10% 90%, rgba(226, 189, 106, .1), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta__l { display: grid; gap: 20px; }
.cta__l .eyebrow { margin: 0; }
.cta__list { list-style: none; display: grid; gap: 10px; }
.cta__list li { display: flex; gap: 10px; align-items: center; }
.cta__list .ic { color: var(--gold); }
.cta__contacts { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 700; font-size: 18px; }
.cta__contacts a { display: inline-flex; gap: 8px; align-items: center; }
.cta__contacts .ic { color: var(--gold); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: rgba(5, 8, 15, .6); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23e2bd6a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 189, 106, .12); }
.field input.is-err { border-color: #ff6b6b; }
.form__note { font-size: 12px; color: var(--dim); text-align: center; }
.form__note a { text-decoration: underline; }

/* ---------- внутренние страницы ---------- */
.phead { padding: 40px 0 50px; background: radial-gradient(900px 400px at 80% -10%, rgba(47, 98, 214, .16), transparent 70%); }
.phead .h1 { max-width: 980px; text-wrap: balance; }
.phead__lead { margin-top: 20px; max-width: 760px; }
.phead__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.phead__meta { margin-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--dim); margin-bottom: 26px; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; }
.chip small { font-size: 12px; color: var(--dim); }
.chip b { font-size: 15px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side__card { padding: 26px; display: grid; gap: 14px; }
.side__card p:not(.h3):not(.side__h) { color: var(--muted); font-size: 15px; }
.side__h { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; }
.side__nav { padding: 22px; display: grid; gap: 2px; }
.side__nav .side__h { margin-bottom: 8px; }
.side__nav a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; font-size: 15px; color: var(--muted); transition: .2s; }
.side__nav a .ic { width: 18px; height: 18px; color: var(--gold); }
.side__nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.toc a { font-size: 14px; }
.prose { font-size: 17px; line-height: 1.75; color: rgba(244, 241, 234, .86); }
.prose--narrow { max-width: 780px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -.015em; color: var(--text); margin-top: 44px; }
.prose a:not(.btn) { color: var(--gold-2); text-decoration: underline; text-decoration-color: rgba(226, 189, 106, .4); text-underline-offset: 3px; }
.prose ul:not(.checks), .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose__fig { margin: 0 0 28px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.prose__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: var(--gold); margin-top: 4px; }
.mini-steps { display: grid; gap: 10px; }
.case-cover { margin: 0 0 20px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); position: relative; }
.case-cover img { width: 100%; max-height: 640px; object-fit: cover; }
.case-cover figcaption { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 8, 15, .75); font-size: 13px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.fact { padding: 24px; display: grid; gap: 4px; }
.fact b { font-size: 28px; line-height: 1.1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--surface); color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border: 0; }
td:last-child { white-space: nowrap; font-weight: 600; color: var(--text); }
.quote { margin: 36px 0 0; padding: 28px 30px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.quote p { font-size: 21px; line-height: 1.45; color: var(--text); font-weight: 600; }
.quote cite { display: block; margin-top: 12px; font-style: normal; color: var(--dim); font-size: 14px; }
.gal__h { margin: 64px 0 24px; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal__i { padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; cursor: zoom-in; }
.gal__i img { width: 100%; aspect-ratio: 1.414; object-fit: cover; transition: transform .6s var(--ease); }
.gal__i:hover img { transform: scale(1.04); }
.next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; padding: 26px 30px; margin-top: 60px; }
.next small { color: var(--dim); }
.next b { font-size: 22px; grid-row: 2; }
.next .ic { grid-row: 1 / 3; grid-column: 2; width: 28px; height: 28px; color: var(--gold); }
.partner { padding: 28px; display: grid; gap: 10px; align-content: start; }
.partner__logo { font-size: 26px; font-weight: 800; letter-spacing: -.01em; background: linear-gradient(135deg, #fff, #b9c3d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partner p { color: var(--muted); font-size: 15px; }
.become { margin-top: 20px; padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; background: radial-gradient(500px 200px at 100% 0, rgba(47, 98, 214, .25), transparent 70%), var(--surface); }
.become p { color: var(--muted); margin-top: 6px; }
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.contacts__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.ccard { padding: 24px; display: grid; gap: 6px; align-content: start; }
.ccard .ic { width: 28px; height: 28px; color: var(--gold); margin-bottom: 10px; }
.ccard small { color: var(--dim); }
.ccard b { font-size: 18px; line-height: 1.35; }
.contacts__list .ccard:last-child:nth-child(odd) { grid-column: 1 / -1; }
.map { overflow: hidden; min-height: 440px; }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg) contrast(.9); }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .phead__btns { justify-content: center; }
.nf .lead { margin: 20px auto 0; }
.nf__code { font-size: 120px; font-weight: 800; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- подвал ---------- */
.ftr { border-top: 1px solid var(--line); padding: 72px 0 0; background: var(--bg); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.ftr__brand p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 340px; }
.ftr__h { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.ftr ul a:hover { color: var(--text); }
.ftr__addr { font-style: normal; display: grid; gap: 12px; }
.ftr__addr a, .ftr__addr span { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.ftr__addr .ic { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.ftr__addr a:first-child { color: var(--text); font-weight: 700; font-size: 18px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 24px; margin-top: 56px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.ftr__bottom a:hover { color: var(--text); }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.fab .ic { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.08); }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(3, 5, 10, .92); display: grid; place-items: center; padding: 40px; backdrop-filter: blur(6px); }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb__x { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); font-size: 28px; line-height: 1; }

/* анимация появления */
.js [data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-anim].in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .hero__card { display: none; }
}
@media (max-width: 980px) {
  .slider__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .pcase { grid-template-columns: 1fr; position: relative; top: auto; }
  .pstack { gap: 24px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .about__grid, .faq, .cta, .article-grid, .contacts, .letters { grid-template-columns: 1fr; }
  .faq__l, .side { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__a { grid-column: 1 / -1; grid-row: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: 1fr 1fr; }
  .sec { padding: 80px 0; }
  .hero__trust .hero__hint { display: none; }
}
@media (max-width: 760px) {
  .slider__track { grid-auto-columns: 86%; gap: 14px; }
  .pcase { padding: 10px; border-radius: 20px; }
  .pcase__info { padding: 24px 20px; }
  .ncard { aspect-ratio: .85; }
  .ncard__panel { padding: 20px; }
  .topbar span, .topbar__wa { display: none; }
  .wrap { padding: 0 16px; }
  .hdr__in { height: 68px; }
  .mnav { inset: 68px 0 0; }
  .logo img { height: 34px; }
  .logo__t { font-size: 16px; }
  .hero { margin-top: -109px; padding-top: 109px; min-height: 100svh; }
  .hero__lead { font-size: 16px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__trust { gap: 10px 20px; font-size: 13px; }
  .grid--3, .grid--4, .steps, .bento, .facts, .contacts__list, .ftr__grid, .gal { grid-template-columns: 1fr; }
  .sec__head--split { grid-template-columns: 1fr; }
  .sec__head--split > .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .letter { grid-template-columns: 1fr; }
  .letter__img { max-width: 240px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .become { flex-direction: column; align-items: flex-start; }
  .sec { padding: 64px 0; }
  .sec__head { margin-bottom: 36px; }
  .qa summary { font-size: 16px; padding: 18px; }
  .qa p { padding: 0 18px 18px; }
  .prose { font-size: 16px; }
  .fact b { font-size: 24px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-anim] { opacity: 1; transform: none; }
}
