/* MapXpert Dance — стили сайта. Без препроцессора и библиотек.
   Цвета: ночной синий паркета, голубая метка MapXpert, золото бального платья. */

@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-cyr.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-lat.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-i-cyr.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; src: url('/assets/fonts/cormorant-i-lat.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --navy: #0A1430; --navy-2: #101F4A; --navy-3: #16295E;
  --ink: #0E1630; --text: #2B3452; --muted: #6A7290;
  --bg: #F7F4EE; --bg-2: #EFEAE0; --card: #FFFFFF; --line: #E6DFD2;
  --blue: #1F6FFF; --blue-2: #4FB4FF; --gold: #D9B26F; --gold-2: #B8893A; --gold-3: #F3DFB4;
  --ok: #1E9E6A; --err: #D8434F;
  --r: 20px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 20, 48, .05), 0 12px 32px -12px rgba(10, 20, 48, .18);
  --shadow-lg: 0 30px 80px -30px rgba(10, 20, 48, .45);
  --wrap: 1200px;
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); overflow-x: clip; }
body { margin: 0; font: 400 17px/1.6 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
h1 em, h2 em, h3 em, .em { font-family: 'Cormorant', Georgia, serif; font-style: italic; font-weight: 600; color: var(--gold-2); letter-spacing: 0; font-size: 1.12em; line-height: 1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--alt { background: var(--bg-2); }
.section--white { background: #fff; }
.section--dark { background: var(--navy); color: #C9D1EA; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h1 em, .section--dark h2 em, .section--dark h3 em { color: var(--gold); }
.section--dark .muted { color: #8D97B8; }
.section--dark a:not(.btn):not(.msg) { color: var(--gold-3); }
.section--glow { overflow: hidden; isolation: isolate; }
.section--glow::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(31, 111, 255, .28), transparent); z-index: -1; }
.section--glow::after { content: ''; position: absolute; inset: auto auto -30% -15%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; background: radial-gradient(closest-side, rgba(217, 178, 111, .16), transparent); z-index: -1; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.section--dark .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: inherit; opacity: .92; }

/* Кнопки */
.btn { --bg: linear-gradient(135deg, #2E86FF, #1450E6); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--bg); color: #fff; font: 700 1rem/1 'Manrope', sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(31, 111, 255, .7); transition: transform .2s, box-shadow .2s, filter .2s; white-space: nowrap; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(31, 111, 255, .8); filter: brightness(1.06); }
.btn svg { width: 20px; height: 20px; }
.btn--gold { --bg: linear-gradient(135deg, #F0D195, #C9994B); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(201, 153, 75, .7); }
.btn--gold:hover { color: var(--navy); }
.btn--ghost { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.section--dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost, .case-hero .btn--ghost, .mnav .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .case-hero .btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; height: var(--head-h); background: rgba(10, 20, 48, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .3s; }
.header.is-scrolled { background: rgba(10, 20, 48, .95); }
.header__in { display: flex; align-items: center; gap: 22px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.logo:hover { color: #fff; }
.logo__mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.logo__name em { font-family: 'Cormorant', serif; font-style: italic; font-weight: 600; color: var(--gold); font-size: 1.3em; margin-left: 3px; letter-spacing: 0; }
.logo__sub { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #8D97B8; margin-top: 4px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 999px; color: #D6DCF0; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav__list a:hover, .nav__list a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__list a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 999px 999px 999px 999px; }
.header__phone { color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.header__phone:hover { color: var(--gold); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; padding: 11px; }
@media (max-width: 1120px) { .header__phone { display: none; } }
@media (max-width: 960px) { .nav, .header__cta { display: none; } .burger { display: block; } }

.mnav { position: fixed; inset: 0; z-index: 60; background: var(--navy); color: #fff; padding: 16px 20px 32px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; }
.mnav__close { width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.mnav__list { list-style: none; padding: 0; margin: 8px 0; }
.mnav__list a { display: block; padding: 11px 0; color: #fff; text-decoration: none; font-size: 1.3rem; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mnav__phone { color: var(--gold); font-weight: 800; font-size: 1.3rem; text-decoration: none; }

/* Хлебные крошки */
.crumbs { padding-top: 18px; font-size: .86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

/* Первый экран главной */
.hero { position: relative; background: var(--navy); color: #C9D1EA; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); }
.hero::before { content: ''; position: absolute; inset: -30% -20% auto auto; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; background: radial-gradient(closest-side, rgba(31, 111, 255, .33), transparent 70%); z-index: -2; }
.hero::after { content: ''; position: absolute; left: -10%; bottom: -40%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(217, 178, 111, .18), transparent 70%); z-index: -2; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--gold); display: inline-block; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 600px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero__chips li { font-size: .82rem; font-weight: 600; color: #E6EBFA; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: .9rem; color: #A9B3D2; }
.hero__trust b { color: #fff; }
.avatars { display: flex; }
.avatars span { width: 40px; height: 40px; border-radius: 50%; background: #fff center/70% no-repeat; border: 2px solid var(--navy); margin-left: -10px; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.avatars span:first-child { margin-left: 0; }
.hero__swirl { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6; }
.hero__swirl path { fill: none; stroke: url(#swirl-g); stroke-width: 1.3; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 6s ease forwards; }
.hero__swirl path:nth-child(3) { animation-delay: .8s; opacity: .5; }
.hero__swirl path:nth-child(4) { animation-delay: 1.6s; opacity: .35; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.stage { position: relative; aspect-ratio: 5 / 5.4; max-width: 560px; margin-left: auto; width: 100%; }
.stage__photo { position: absolute; inset: 0 0 10% 12%; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.stage__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.stage__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 20, 48, .55)); }
.stage__me { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 4px solid var(--navy); box-shadow: var(--shadow-lg); }
.stage__me img { width: 100%; height: 100%; object-fit: cover; }
.stage__me figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(10, 20, 48, .92)); color: #fff; font-size: .78rem; line-height: 1.3; }
.stage__me figcaption b { display: block; font-size: .95rem; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); font-size: .85rem; line-height: 1.25; animation: bob 6s ease-in-out infinite; }
.float b { font-size: 1.05rem; display: block; }
.float small { color: var(--muted); font-size: .72rem; }
.float__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #2E86FF, #1450E6); }
.float__ico svg { width: 20px; height: 20px; }
.float__ico--gold { background: linear-gradient(135deg, #F0D195, #C9994B); color: var(--navy); }
.float__ico--green { background: linear-gradient(135deg, #3BD08F, #16996A); }
.float--1 { top: 6%; left: -2%; }
.float--2 { top: 42%; right: -4%; animation-delay: -2s; }
.float--3 { bottom: 4%; right: 6%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { max-width: 520px; margin: 10px auto 0; }
  .float--2 { right: 0; }
}
@media (max-width: 480px) { .float { padding: 9px 12px; font-size: .76rem; } .float b { font-size: .92rem; } .float__ico { width: 32px; height: 32px; } .float--1 { left: 0; } }

/* Бегущая строка городов и клубов */
.marquee { background: var(--navy-2); color: #fff; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.marquee__track { display: flex; gap: 46px; width: max-content; padding: 18px 0; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; white-space: nowrap; }
.marquee__track span::after { content: '✦'; color: var(--gold); margin-left: 34px; font-size: .8em; }
.marquee__track i { font-style: normal; font-weight: 500; color: #8D97B8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); position: relative; }
.stat b { white-space: nowrap; display: inline-block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat__suf { font-size: 1.4rem; font-weight: 800; color: var(--gold-2); margin-left: 3px; }
.stat > span:last-child { display: block; margin-top: 8px; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.section--dark .stat { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.section--dark .stat b { color: #fff; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Карточки услуг */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; padding: 28px 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); color: var(--text); text-decoration: none; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; overflow: hidden; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 14px; font-size: .97rem; }
.card .link-arrow { margin-top: auto; color: var(--blue); }
.card__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: var(--blue); background: linear-gradient(135deg, rgba(79, 180, 255, .16), rgba(31, 111, 255, .1)); }
.card__ico svg { width: 26px; height: 26px; }
.card__num { position: absolute; top: 18px; right: 22px; font-family: 'Cormorant', serif; font-style: italic; font-size: 2.6rem; color: var(--gold-3); line-height: 1; }
.card--dark { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #C9D1EA; }
.card--dark h3 { color: #fff; }
.card--accent { box-shadow: inset 0 0 0 2px var(--gold), var(--shadow); }

/* Боль → решение */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pain { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow); }
.pain::before { content: '✕'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #FCE8EA; color: var(--err); font-size: .8rem; font-weight: 800; }
@media (max-width: 700px) { .pains { grid-template-columns: minmax(0, 1fr); } }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks--light li { color: #E6EBFA; }

/* Раздробленный список работ */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: w; }
.work { padding: 22px 22px 20px 70px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow); position: relative; counter-increment: w; }
.work::before { content: counter(w, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font-family: 'Cormorant', serif; font-style: italic; font-weight: 600; font-size: 1.9rem; color: var(--gold-2); line-height: 1; }
.work h3 { font-size: 1.05rem; margin-bottom: 6px; }
.work p { margin: 0; font-size: .95rem; }
@media (max-width: 760px) { .works { grid-template-columns: minmax(0, 1fr); } }

/* Шаги */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 64px 22px 22px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 18px; left: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--navy); background: linear-gradient(135deg, #F0D195, #C9994B); }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .94rem; }
.section--dark .steps li { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* Кейсы */
.ccard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s; }
.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.ccard__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.ccard:hover .ccard__img img { transform: scale(1.05); }
.ccard__logo { position: absolute; left: 14px; bottom: 14px; width: 58px; height: 58px; border-radius: 14px; background: #fff; padding: 7px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.ccard__logo img { width: 100%; height: 100%; object-fit: contain; }
.ccard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ccard__city { font-size: .8rem; font-weight: 700; color: var(--gold-2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.ccard h3 { font-size: 1.12rem; margin-bottom: 10px; }
.ccard__metric { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.ccard__metric b { font-size: 1.45rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.ccard__metric span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--text); }
.section--dark .tag, .case-hero .tag { background: rgba(255, 255, 255, .1); color: #E6EBFA; }

.case-hero { position: relative; background: var(--navy); color: #C9D1EA; overflow: hidden; isolation: isolate; padding: clamp(36px, 6vw, 80px) 0; }
.case-hero__bg { position: absolute; inset: 0; z-index: -1; }
.case-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.case-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 25%, rgba(10, 20, 48, .55)); }
.case-hero h1 { color: #fff; max-width: 860px; }
.case-hero__club { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.case-hero__club img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: #fff; padding: 7px; }
.case-hero__club b { color: #fff; font-size: 1.1rem; display: block; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.metric { padding: 20px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.metric b { display: block; color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.metric span { display: block; margin-top: 6px; font-size: .86rem; color: #A9B3D2; line-height: 1.35; }
.metrics__note { margin-top: 12px; font-size: .8rem; color: #8D97B8; }
@media (max-width: 860px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shots { display: grid; gap: 18px; }
.shot { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot figcaption { padding: 10px 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.links-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery figure:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }

/* Фото-лента на главной */
.reel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 0 -20px; scrollbar-width: thin; }
.reel figure { flex: 0 0 auto; width: min(360px, 78vw); margin: 0; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; position: relative; }
.reel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.reel figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; font-size: .86rem; font-weight: 600; background: linear-gradient(transparent, rgba(10, 20, 48, .85)); }

/* Обо мне — блок на главной */
.me { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.me__photo { position: relative; }
.me__photo img { border-radius: 28px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.me__badge { position: absolute; right: -14px; bottom: 26px; padding: 14px 18px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3; }
.me__badge b { display: block; font-family: 'Cormorant', serif; font-style: italic; font-size: 2rem; color: var(--gold); line-height: 1; }
.quote { font-family: 'Cormorant', serif; font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 22px; margin: 0 0 24px; }
.section--dark .quote { color: #fff; }
@media (max-width: 860px) { .me { grid-template-columns: minmax(0, 1fr); } .me__photo { max-width: 420px; } .me__badge { right: 10px; } }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 62px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--blue-2)); opacity: .5; }
.timeline li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 30px; padding: 0 0 22px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 57px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.timeline b { font-weight: 800; color: var(--gold-2); }
.timeline p { margin: 0; }

/* Калькулятор окупаемости */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); }
.calc__fields { display: grid; gap: 18px; }
.range label { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.range output { color: var(--blue); white-space: nowrap; }
.range input { width: 100%; accent-color: var(--blue); }
.calc__res { border-radius: 20px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #C9D1EA; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.calc__res b { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; display: block; line-height: 1.1; }
.calc__res .gold { color: var(--gold); }
.calc__res p { margin: 0; font-size: .92rem; }
@media (max-width: 760px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* Цены */
.price { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.price--hot { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #C9D1EA; box-shadow: var(--shadow-lg); position: relative; }
.price--hot h3, .price--hot .price__sum { color: #fff; }
.price__badge { position: absolute; top: -12px; left: 26px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, #F0D195, #C9994B); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.price__sum { font-size: 1.7rem; font-weight: 800; color: var(--ink); margin: 6px 0 4px; letter-spacing: -.02em; }
.price__for { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.price--hot .price__for { color: #8D97B8; }
.price .ticks { font-size: .95rem; margin-bottom: 22px; }
.price .btn { margin-top: auto; }

/* Вопросы */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--gold-2); font-size: 1.3rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 22px 18px; }
.faq__a p:last-child { margin: 0; }

/* Форма заявки */
.lead-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead-box h2 { margin-bottom: .4em; }
.phone-big { font-size: 1.5rem; font-weight: 800; color: #fff !important; text-decoration: none; }
@media (max-width: 900px) { .lead-box { grid-template-columns: minmax(0, 1fr); } }
.form { background: #fff; color: var(--text); border-radius: 26px; padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-lg); }
.form__fields { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field__label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #FBFAF7; font: 500 1rem 'Manrope', sans-serif; color: var(--ink); transition: border-color .2s, background .2s; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.field__err { display: none; font-size: .8rem; color: var(--err); }
.field.is-invalid input { border-color: var(--err); }
.field.is-invalid .field__err { display: block; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; width: 100%; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; }
.chip input:checked + span { border-color: var(--blue); background: rgba(31, 111, 255, .08); color: var(--blue); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--blue); }
.check.is-invalid span { color: var(--err); }
.form__note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form__fail { padding: 12px 14px; border-radius: 12px; background: #FCE8EA; color: var(--err); font-size: .9rem; }
.form__ok { text-align: center; padding: 30px 10px; }
.form__ok svg { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--ok); }

.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.msg { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .2s; }
.msg:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.msg svg { width: 20px; height: 20px; }
.msg--max svg { color: #A98BFF; }
.msg--tg svg { color: #4FB4FF; }
.msg--wa svg { color: #3BD08F; }
.messengers--sm .msg { padding: 8px 13px; font-size: .85rem; }
.section:not(.section--dark) .msg, .contact-card .msg { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* Статьи */
.acard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.acard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.acard__img { aspect-ratio: 16 / 9; overflow: hidden; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; }
.acard__img--ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: var(--gold); }
.acard__img--ph svg { width: 54px; height: 54px; }
.acard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.acard__rubric { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.acard h3 { font-size: 1.1rem; }
.acard p { font-size: .94rem; color: var(--muted); }
.acard__meta { margin-top: auto; font-size: .8rem; color: var(--muted); }

.article-head { max-width: 860px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-cover { border-radius: var(--r); overflow: hidden; margin: 28px 0 0; aspect-ratio: 21 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.short { padding: 20px 24px; border-radius: var(--r-sm); background: #fff; border-left: 4px solid var(--gold); box-shadow: var(--shadow); margin: 0 0 30px; }
.short b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.short p { margin: 0; font-size: 1.05rem; color: var(--ink); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .94rem; background: #fff; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow); display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--navy); color: #fff; font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; }
.article-cta { margin: 40px 0; padding: 28px; border-radius: var(--r); background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #C9D1EA; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.article-cta img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.article-cta h3 { color: #fff; margin-bottom: 6px; }
.article-cta p { margin: 0 0 12px; }
@media (max-width: 560px) { .article-cta { grid-template-columns: minmax(0, 1fr); } }

/* Сравнение «до / после» и прочие плашки */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split__img img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.compare > div { padding: 24px; border-radius: var(--r); }
.compare__bad { background: #fff; box-shadow: var(--shadow); }
.compare__good { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #C9D1EA; }
.compare__good h3 { color: #fff; }
.compare ul { margin: 0; padding-left: 1.1em; }
.compare li { margin-bottom: 8px; }
@media (max-width: 700px) { .compare { grid-template-columns: minmax(0, 1fr); } }

.notice { padding: 16px 20px; border-radius: var(--r-sm); background: #FFF7E6; border: 1px solid var(--gold-3); font-size: .92rem; }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.client { padding: 16px 18px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.client b { display: block; color: var(--ink); }
.client span { font-size: .86rem; color: var(--muted); }
.client:hover { box-shadow: var(--shadow-lg); color: var(--text); }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { padding: 26px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.contact-card a.big { font-size: 1.35rem; font-weight: 800; color: var(--ink); text-decoration: none; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table td:first-child { color: var(--muted); width: 40%; padding-right: 16px; }

/* Подвал */
.footer { background: #070E22; color: #8D97B8; padding: 64px 0 100px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #C9D1EA; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__phone { font-size: 1.25rem; font-weight: 800; color: #fff !important; }
.logo--footer { margin-bottom: 16px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__about { grid-column: 1 / -1; } }
@media (min-width: 961px) { .footer { padding-bottom: 50px; } }

/* Мобильная панель связи */
.mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 4px; padding: 6px; border-radius: 20px; background: rgba(10, 20, 48, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); padding-bottom: calc(6px + env(safe-area-inset-bottom) / 2); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 2px; color: #D6DCF0; text-decoration: none; font-size: .68rem; font-weight: 700; border-radius: 14px; }
.mbar svg { width: 20px; height: 20px; }
.mbar .mbar__main { background: linear-gradient(135deg, #2E86FF, #1450E6); color: #fff; font-size: .9rem; }
@media (max-width: 960px) { .mbar { display: grid; } }

/* Cookie */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 440px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); font-size: .88rem; transform: translateY(20px); opacity: 0; transition: all .35s; }
.cookie.is-shown { transform: none; opacity: 1; }
.cookie p { margin: 0 0 12px; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 960px) { .cookie { left: 10px; right: 10px; bottom: 86px; max-width: none; } }

/* Появление при прокрутке */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .marquee__track, .hero__swirl path { animation: none; }
  .hero__swirl path { stroke-dashoffset: 0; }
}

/* Страница 404 и мелочи */
.big-404 { font-family: 'Cormorant', serif; font-style: italic; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--gold); margin: 0; }
.page-hero { background: var(--navy); color: #C9D1EA; position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 84px); }
.page-hero::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(31, 111, 255, .3), transparent 70%); z-index: -1; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero h1 em { color: var(--gold); }
.page-hero .lead { max-width: 760px; }
.page-hero + .crumbs-wrap { display: none; }
.body-dark-top .crumbs { position: absolute; z-index: 2; left: 0; right: 0; }
.body-dark-top .crumbs ol, .body-dark-top .crumbs a { color: #8D97B8; }
.body-dark-top .page-hero, .body-dark-top .case-hero, .body-dark-top .hero { padding-top: calc(clamp(36px, 6vw, 80px) + 28px); }

/* Календарь сезона */
main { position: relative; }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.month { padding: 14px 8px; border-radius: 12px; background: var(--bg-2); min-height: 130px; display: flex; flex-direction: column; gap: 8px; }
.month b { font-weight: 800; color: var(--ink); }
.month span { font-size: .76rem; line-height: 1.3; color: var(--muted); }
.month--peak { background: linear-gradient(160deg, #F0D195, #C9994B); }
.month--peak b, .month--peak span { color: var(--navy); }
.month--prep { background: linear-gradient(160deg, #2E86FF, #1450E6); }
.month--prep b, .month--prep span { color: #fff; }
@media (max-width: 900px) { .months { grid-template-columns: repeat(4, minmax(0, 1fr)); } .month { min-height: 96px; } }
@media (max-width: 420px) { .months { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stats--sm .stat b { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.article-meta svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
