/* ============================================================
   dopamine-interior.ru – главная страница
   Чистый CSS без сборщика. Дизайн-токены в :root.
   Шрифты: Unbounded (заголовки) + Manrope (текст), кириллица.
   ============================================================ */

:root {
  --bg: #f4f4f1;
  --bg-2: #eceae4;
  --card: #ffffff;
  --ink: #17161a;
  --ink-2: #3a393f;
  --muted: #6f6e75;
  --line: rgba(23, 22, 26, .10);
  --accent: #e4552c;
  --accent-deep: #c9431d;
  --accent-soft: #fbe6de;
  --dark: #17161a;
  --dark-2: #1f1e23;
  --on-dark: #f4f4f1;
  --on-dark-muted: rgba(244, 244, 241, .62);
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --shadow: 0 18px 50px -20px rgba(23, 22, 26, .25);
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 44px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 60ch; }
.accent { color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px; border-radius: var(--pill);
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(23, 22, 26, .25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { color: var(--on-dark); border-color: rgba(255, 255, 255, .35); }
.btn-ghost.on-dark:hover { border-color: #fff; }
.btn-flat {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 1px solid rgba(23, 22, 26, .22); border-radius: var(--pill);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-flat:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-flat svg { width: 14px; height: 14px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  display: inline-grid; place-items: center; background: transparent; color: #fff;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { background: #fff; color: var(--ink); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn.on-light { border-color: rgba(23, 22, 26, .25); color: var(--ink); }
.round-btn.on-light:hover { background: var(--ink); color: #fff; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--ink);
  background: rgba(244, 244, 241, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .35s;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid { box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.logo strong { font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.logo span { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.nav a:hover::after { right: 0; }
.header-right { display: flex; align-items: center; gap: 22px; }
.header-phone { font-weight: 600; font-size: 14px; opacity: .9; }
.header .btn-primary { padding: 12px 22px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu > a { font-family: var(--font-display); font-size: 26px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu .mm-contacts { margin-top: 32px; display: grid; gap: 8px; color: var(--on-dark-muted); font-size: 15px; }

/* ---------- Хиро ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.08); animation: hero-zoom 2.4s var(--ease) forwards; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 26, .35) 0%, rgba(23, 22, 26, 0) 35%, rgba(23, 22, 26, .78) 100%); }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-body { padding-block: 96px 56px; width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
.hero h1 { max-width: 17ch; }
.hero-lead { color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.25vw, 19px); max-width: 44ch; margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { justify-self: end; text-align: right; color: rgba(255, 255, 255, .75); font-size: 14px; max-width: 30ch; }
.hero-note strong { display: block; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); color: #fff; font-weight: 700; letter-spacing: -.01em; }
.hero .reveal-up { animation: reveal-up .9s var(--ease) both; }
.hero .reveal-up:nth-child(2) { animation-delay: .12s; }
.hero .reveal-up:nth-child(3) { animation-delay: .24s; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Бегущая строка ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--bg); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 22px); font-weight: 500; letter-spacing: .02em; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.marquee-track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Услуги (Different case) ---------- */
.services-shell {
  background: var(--dark); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.services-shell::before {
  content: 'услуги'; position: absolute; left: -.06em; bottom: -.28em; z-index: 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 20vw, 300px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); pointer-events: none; user-select: none;
}
.services-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(260px, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.services-intro p { color: var(--on-dark-muted); margin-top: 18px; max-width: 34ch; }
.scroller-nav { display: flex; gap: 10px; margin-top: 28px; }
.scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; padding-right: clamp(24px, 5vw, 72px); cursor: grab; }
.scroller::-webkit-scrollbar { display: none; }
.scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.scroller > * { scroll-snap-align: start; flex: 0 0 auto; }
.service-card {
  position: relative; width: clamp(240px, 24vw, 320px); aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--dark-2); color: #fff; display: block;
}
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-card:hover img { transform: scale(1.06); }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 26, .05) 30%, rgba(23, 22, 26, .85) 100%); }
.service-card .num { position: absolute; top: 18px; right: 22px; z-index: 2; font-family: var(--font-display); font-size: 30px; font-weight: 500; color: rgba(255, 255, 255, .55); }
.service-card h3 { position: absolute; left: 22px; right: 70px; bottom: 22px; z-index: 2; font-size: 19px; line-height: 1.2; }
.service-card .arrow { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .25s, color .25s; }
.service-card .arrow svg { width: 16px; height: 16px; }
.service-card:hover .arrow { background: var(--accent); color: #fff; }

/* ---------- О нас + преимущества (Why choose us) ---------- */
.about-intro { max-width: 820px; }
.about-intro h2 { max-width: 20ch; }
.about-intro p { margin-top: 20px; font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 62ch; }
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.why-list { display: grid; gap: clamp(22px, 3vw, 40px); }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.why-item .mark { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.why-item h3 { font-size: 18px; }
.why-item p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.why-center { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); padding: 14px; background: var(--bg); }
.why-center img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.why-center::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(228, 85, 44, .35); pointer-events: none; }

/* ---------- Портфолио ---------- */
.portfolio { background: var(--bg-2); overflow: hidden; }
.portfolio .section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.portfolio .scroller { padding-left: var(--gutter); padding-right: var(--gutter); margin-inline: calc(var(--gutter) * -1); gap: 24px; }
.project { width: clamp(280px, 28vw, 400px); }
.project-media { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.project-media img.is-active { opacity: 1; }
.project-tags { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 12px; border-radius: var(--pill); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(244, 244, 241, .9); color: var(--ink); backdrop-filter: blur(6px); }
.tag.tag-budget { background: var(--accent); color: #fff; }
.project-dots { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: flex; gap: 6px; }
.project-dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.project-dots i.is-active { background: rgba(255, 255, 255, .95); }
.project-body { padding: 18px 4px 0; }
.project-body h3 { font-size: 20px; }
.project-meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.project-body .btn-flat { margin-top: 16px; }
.swipe-hint { display: none; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-top: 14px; }
.swipe-hint svg { width: 22px; height: 22px; animation: swipe 1.6s ease-in-out infinite; }
@keyframes swipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

/* ---------- Команда ---------- */
.team { display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.team-photo { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform 1.2s var(--ease); transform: scale(1.04); }
.team-photo img.is-active { opacity: 1; transform: none; }
.team-list { display: grid; }
.team-row { display: grid; grid-template-columns: 40px 1fr auto 40px; align-items: center; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); text-align: left; background: transparent; border-top: 0; border-left: 0; border-right: 0; width: 100%; transition: padding-left .3s var(--ease); }
.team-row:first-child { border-top: 1px solid var(--line); }
.team-row .idx { font-family: var(--font-display); font-size: 12px; color: var(--muted); }
.team-row h3 { font-size: clamp(20px, 1.9vw, 26px); }
.team-row .role { white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.team-row .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .25s, color .25s; }
.team-row .go svg { width: 16px; height: 16px; }
.team-row.is-active { padding-left: 10px; }
.team-row.is-active .go { background: var(--ink); color: #fff; }
.team-row .bio { grid-column: 2 / -1; color: var(--muted); font-size: 15px; display: none; }
.team-row.is-active .bio { display: block; }
.team-row .thumb { display: none; }

/* ---------- Отзывы ---------- */
.reviews { overflow: hidden; }
.reviews .scroller { gap: 16px; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); }
.review { height: clamp(360px, 44vw, 520px); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.review img { height: 100%; width: auto; object-fit: contain; }
.reviews .swipe-hint { display: inline-flex; }

/* ---------- Счётчики ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.counter { border-top: 1px solid var(--line); padding-top: 22px; }
.counter .value { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -.02em; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.counter .value small { font-size: .45em; font-weight: 500; color: var(--accent); }
.counter .label { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 24ch; }

/* ---------- Стоимость (Basic plan) ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: stretch; }
.plan { background: var(--card); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.plan .plan-name { display: inline-flex; padding: 8px 14px; border-radius: var(--pill); border: 1px solid rgba(23, 22, 26, .2); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; align-self: flex-start; }
.plan .price { margin-top: 26px; font-family: var(--font-display); font-size: clamp(26px, 2.5vw, 38px); white-space: nowrap; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.plan .price small { font-size: 13px; font-family: var(--font-text); font-weight: 500; color: var(--muted); letter-spacing: 0; display: block; margin-top: 10px; }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.plan ul li { padding-left: 22px; position: relative; }
.plan ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.is-featured { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.plan.is-featured .plan-name { border-color: rgba(255, 255, 255, .3); }
.plan.is-featured ul { color: rgba(244, 244, 241, .85); }
.plan.is-featured .price small { color: var(--on-dark-muted); }
.plan.is-featured hr { border-color: rgba(255, 255, 255, .12); }
.plan.is-featured .btn-primary { background: #fff; color: var(--ink); }
.plan.is-featured .btn-primary:hover { background: var(--accent); color: #fff; }
.pricing-aside { padding: 34px 10px 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.pricing-aside h2 { font-size: clamp(24px, 2.4vw, 34px); }
.pricing-aside p { color: var(--muted); margin-top: 14px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; font-weight: 600; }
.check-list li { display: flex; gap: 12px; align-items: center; }
.check-list li::before { content: ''; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--accent); background: linear-gradient(135deg, var(--accent-soft), transparent); }
.pricing-aside .btn { align-self: flex-start; margin-top: 30px; }

/* ---------- Видео-призыв ---------- */
.video-cta { position: relative; min-height: clamp(460px, 60vh, 640px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.video-cta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.video-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(23, 22, 26, .6); }
.video-cta .container { max-width: 820px; }
.video-cta .pill-label { display: inline-flex; padding: 8px 16px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); }
.video-cta h2 { margin-top: 22px; font-size: clamp(28px, 3.6vw, 50px); }
.video-cta p { margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.play { margin: 34px auto 0; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; position: relative; transition: transform .3s var(--ease); }
.play svg { width: 26px; height: 26px; margin-left: 4px; }
.play::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); animation: pulse 2.2s ease-out infinite; }
.play:hover { transform: scale(1.06); }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Подвал (Antra) ---------- */
.footer { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.footer-bg { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.footer-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 26, .2), rgba(23, 22, 26, .95)); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2.2fr) minmax(0, 2.2fr) minmax(0, 3.6fr); gap: 32px; padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.footer .logo strong { font-size: 22px; }
.footer-about { margin-top: 22px; color: var(--on-dark-muted); max-width: 34ch; font-size: 15px; }
.footer-address { margin-top: 18px; font-size: 15px; }
.footer h4 { font-family: var(--font-text); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-links a:hover { color: var(--accent); }
.footer-contact > a { display: block; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.3; }
.footer-contact > a + a { margin-top: 6px; font-size: clamp(16px, 1.3vw, 19px); }
.footer-contact > a:hover { color: var(--accent); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-social a:hover { color: #fff; }
.footer-consent { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; color: var(--on-dark-muted); font-size: 13px; line-height: 1.6; max-width: 900px; }
.footer-consent a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-consent p + p { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom .made { color: #2b2a30; }

/* ---------- Cookie-баннер (стандарт) ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 10px 16px; background: rgba(20, 20, 20, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 13px; line-height: 1.4;
}
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar button { flex: 0 0 auto; padding: 6px 18px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px; background: transparent; color: #fff; font-size: 13px; }
.cookie-bar button:hover { background: rgba(255, 255, 255, .15); }
.cookie-bar.is-hidden { display: none; }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(23, 22, 26, .6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { width: min(100%, 520px); background: var(--card); border-radius: var(--radius); padding: 34px 30px; position: relative; transform: translateY(16px); transition: transform .4s var(--ease); max-height: calc(100dvh - 40px); overflow: auto; }
.modal.is-open .modal-box { transform: none; }
.modal-box.is-wide { width: min(100%, 960px); padding: 0; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.modal-box.is-wide iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-box.is-wide .video-note { color: #fff; display: grid; place-items: center; height: 100%; padding: 40px; text-align: center; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-2); display: grid; place-items: center; z-index: 2; }
.modal-close svg { width: 16px; height: 16px; }
.modal-box h3 { font-size: 24px; padding-right: 44px; }
.modal-box .sub { color: var(--muted); margin-top: 8px; font-size: 15px; }
.form { display: grid; gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1px solid rgba(23, 22, 26, .2); border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #8b8a91; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field .error { color: var(--accent-deep); font-size: 12px; display: none; }
.field.has-error .error { display: block; }
.field.has-error input { border-color: var(--accent-deep); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { text-decoration: underline; color: var(--ink); }
.form .btn { justify-content: center; }
.form-success { display: none; text-align: center; padding: 30px 0 10px; }
.form-success p { color: var(--muted); margin-top: 10px; }
.form.is-sent { display: none; }
.form.is-sent + .form-success { display: block; }
/* ловушка для ботов: за край экрана, а не display:none */
.bot-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .burger { display: block; }
  .why { grid-template-columns: 1fr; }
  .why-center { max-width: 380px; margin: 0 auto; order: -1; width: 100%; }
  .pricing { grid-template-columns: 1fr 1fr; }
  .pricing-aside { grid-column: 1 / -1; padding: 10px 0 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .header .btn-primary { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-note { justify-self: start; text-align: left; }
  .hero h1 { max-width: none; }
  .services-shell { padding: 32px 0 32px 20px; border-radius: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-intro .scroller-nav { display: none; }
  .service-card { width: 74vw; max-width: 300px; }
  .swipe-hint { display: inline-flex; }
  .project { width: 80vw; max-width: 360px; }
  .portfolio .section-head { flex-direction: column; align-items: flex-start; }
  .portfolio .section-head .scroller-nav { display: none; }
  .team { grid-template-columns: 1fr; }
  .team-photo { display: none; }
  .team-row { grid-template-columns: 56px 1fr 40px; gap: 14px; padding: 18px 0; }
  .team-row .idx { display: none; }
  .team-row .thumb { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
  .team-row .role { grid-column: 2; grid-row: 2; text-align: left; font-size: 11px; margin-top: 4px; white-space: normal; }
  .team-row > * { min-width: 0; }
  .team-row h3 { font-size: 19px; }
  .team-row .bio { grid-column: 2 / -1; font-size: 14px; margin-top: 8px; }
  .team-row.is-active { padding-left: 0; }
  .review { height: 64vh; max-height: 480px; }
  .counters { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricing { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact { order: -1; }
  .cookie-bar { font-size: 12px; gap: 10px; padding: 8px 12px; text-align: left; }
}

/* ---------- Уважение к reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: none; }
  .hero .reveal-up { animation: none; }
  .marquee-track { animation: none; }
  .play::before { animation: none; }
  .swipe-hint svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .project-media img, .team-photo img, .service-card img { transition: none; }
}

/* ---------- Внутренние текстовые страницы (ФЗ-152) ---------- */
.page-legal { padding-top: var(--header-h); }
.legal { max-width: 860px; padding-block: clamp(40px, 6vw, 80px); }
.legal h1 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal .date { color: var(--muted); font-size: 14px; }
.footer-compact .footer-consent { border-top: 0; padding-top: clamp(32px, 4vw, 48px); }
.footer-compact .footer-bottom a { color: var(--on-dark); }

/* Ошибка отправки формы (сервер недоступен / FormIt отклонил) */
.send-error { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fdece7; color: #a8331a; font-size: 14px; }
.has-send-error .send-error { display: block; }
