/* Наталья Разсошенко — портфолио, версия 2 (облегчённая).
   Стиль: спокойный, «редакционный». Палитра Натальи: беж, молочный, терракота, шалфей. */
:root {
  color-scheme: light;
  --bg: #F6EFE6;
  --surface: #FFFBF6;
  --surface-2: #F1E6D9;
  --border: #E2D3C1;
  --text: #2B211B;
  --muted: #6E6055;
  --accent: #B5552C;
  --accent-hover: #9E4723;
  --sage: #557460;
  --on-accent: #FFF8F1;
  --dark: #2B211B;
  --shadow: rgba(92, 60, 36, .16);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --pad: clamp(16px, 5vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- Типографика ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  font: 600 .7rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .18em;
  color: var(--muted); margin-bottom: 22px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex-shrink: 0; }
.h2 {
  font: 500 clamp(2.3rem, 4.8vw, 3.7rem)/1.04 var(--serif);
  letter-spacing: -0.01em; text-wrap: balance;
}
.h2 em, .hero__title em, .work--cta em { font-style: italic; color: var(--accent); }
h3 { font: 500 1.55rem/1.15 var(--serif); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 .9375rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 12px 30px -12px rgba(181, 85, 44, .6); transform: translateY(-2px); }
.btn--line { border-color: color-mix(in srgb, var(--text) 25%, transparent); }
.btn--line:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .875rem; }
.btn--full { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: 74px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.logo__name { font: italic 500 1.4rem/1.05 var(--serif); }
.logo__role { font: 600 .6rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: .875rem; color: var(--muted); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); scale: 0 1; transform-origin: left; transition: scale .35s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { scale: 1 1; }
.header__cta { border-color: var(--accent); color: var(--accent); }
.header__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mmenu {
  position: fixed; inset: 74px 0 0; z-index: 49; padding: 16px var(--pad) 32px;
  background: var(--bg); display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  opacity: 0; translate: 0 -10px; transition: opacity .3s, translate .3s var(--ease);
}
.mmenu.is-open { opacity: 1; translate: 0 0; }
.mmenu__nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; font: 500 1.7rem/1.2 var(--serif); }
.mmenu__nav span { font: 600 .7rem var(--sans); color: var(--accent); letter-spacing: .1em; }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { /* мягкое тёплое пятно за фото */
  content: ""; position: absolute; width: 640px; height: 640px; right: -120px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 160, 120, .35), transparent 65%); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__title { font: 500 clamp(2.8rem, 6vw, 5.2rem)/1 var(--serif); letter-spacing: -0.015em; margin-bottom: 28px; text-wrap: balance; }
.hero__sub { font-size: 1.125rem; color: var(--muted); max-width: 44ch; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.portrait { position: relative; justify-self: end; width: min(440px, 100%); }
.portrait__frame {
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 240px 240px 26px 26px;  /* арка */
  border: 1px solid var(--border); background: var(--surface-2);
  box-shadow: 0 40px 80px -40px var(--shadow);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: scale 1.2s var(--ease); }
.portrait:hover .portrait__frame img { scale: 1.03; }
.portrait__card {
  position: absolute; left: -36px; bottom: 44px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 40px -20px var(--shadow); font-size: .875rem;
}
.portrait__card b { display: block; font-weight: 600; }
.portrait__card small { color: var(--muted); font-size: .78rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 var(--sage); animation: pulse 2.4s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.portrait__stamp {
  position: absolute; right: -14px; top: 64px; rotate: 6deg;
  padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font: 600 .72rem var(--sans); letter-spacing: .04em;
}

.tags {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 88px); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.tags a { padding: 22px 10px; text-align: center; text-decoration: none; font: 600 .72rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .16em; transition: background-color .3s, color .3s; }
.tags a + a { border-left: 1px solid var(--border); }
.tags a:hover { background: var(--accent); color: var(--on-accent); }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(1200px, 100%); padding-inline: var(--pad); height: 1px; background: linear-gradient(var(--border), var(--border)) content-box; }
#about::before, #process::before { display: none; }
.head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head__note { color: var(--muted); max-width: 40ch; justify-self: end; }

/* Появление при прокрутке */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Обо мне ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__text { padding-top: 46px; }
.about__text > p { color: var(--text); font-size: 1.1875rem; max-width: 46ch; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.facts li { border-top: 1px solid var(--border); padding-top: 14px; }
.facts b { display: block; font: 500 2.4rem/1 var(--serif); color: var(--accent); margin-bottom: 6px; }
.facts span { font-size: .85rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.service { display: flex; flex-direction: column; gap: 14px; padding: 32px 32px 8px 0; transition: transform .45s var(--ease); }
.service + .service { padding-left: 32px; border-left: 1px solid var(--border); }
.service:hover { transform: translateY(-6px); }
.service__num { font: 500 1rem var(--serif); color: var(--accent); }
.service h3 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); }
.service p { color: var(--muted); }
.service__price { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .9375rem; }

/* ---------- Работы ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.work:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -32px var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.work__thumb { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 12px; display: grid; place-items: center; text-align: center; font: italic 500 1.9rem/1 var(--serif); }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.work:hover .work__thumb img { scale: 1.05; }
.work > :not(.work__thumb) { padding-inline: 8px; }
.work__tag { font: 600 .66rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--sage); }
.work > p:not(.work__tag) { color: var(--muted); font-size: .9375rem; }
.work__link { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; font-size: .875rem; }
.thumb--flowers { background: radial-gradient(circle at 30% 30%, #f4c1c9, #c46a7b 55%, #5a2b35); color: #fff7f2; }
.thumb--face { background: linear-gradient(140deg, #f3e6d6, #d9b99b); color: #3d2a1d; }
.thumb--quest { background: linear-gradient(140deg, #557460, #34503f); color: #fff; font-style: normal; font-family: var(--sans); font-weight: 600; letter-spacing: .05em; }
.thumb--video { background: repeating-linear-gradient(90deg, #2B211B 0 18px, #33281F 18px 36px); color: #E39A72; font-style: normal; font-family: var(--sans); font-weight: 600; }
.work--cta { justify-content: center; align-items: flex-start; padding: 32px; background: var(--surface-2); gap: 14px; }
.work--cta h3 { font-size: 2.2rem; }
.work--cta .btn { margin-top: 8px; }

/* ---------- Демо ---------- */
.switch { justify-self: end; display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.switch [role="tab"] { border: 0; background: none; cursor: pointer; padding: 11px 20px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--muted); transition: background-color .3s, color .3s; }
.switch [aria-selected="true"] { background: var(--text); color: var(--bg); }
.tryp { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(20px, 4vw, 40px); border-radius: 28px; background: var(--surface-2); border: 1px solid var(--border); }
.tryp__info h3 { font-size: 2rem; margin-bottom: 12px; }
.tryp__info > p { color: var(--muted); margin-bottom: 22px; }
.mini li { padding: 12px 0; border-top: 1px solid var(--border); font-size: .9375rem; color: var(--muted); }
.mini b { font: 500 1.6rem var(--serif); color: var(--accent); margin-right: 8px; }

.game {
  background: #fff; border-radius: 24px; padding: 22px; min-height: 400px; display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -36px var(--shadow); border: 1px solid var(--border);
}
.game__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.game__title { font-weight: 600; font-size: .9375rem; }
.game__stars { color: #E0A21A; letter-spacing: .1em; white-space: nowrap; }
.game__bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-bottom: 20px; }
.game__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #D9824F); transition: width .6s var(--ease); }
.game__screen { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.game__screen > * + * { margin-top: 14px; }
.game__screen > .btn { align-self: flex-start; }
.game__story { font: 500 1.5rem/1.25 var(--serif); }
.game__ru, .game__hint-ru { color: var(--muted); font-size: .9375rem; }
.game__step { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.game__wordrow { display: flex; align-items: center; gap: 14px; }
.game__word { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; letter-spacing: .02em; }
.game__word--small { font-size: 1.05rem; font-weight: 500; color: var(--muted); }
.game__word.is-done { color: #1C8C4E; }
.game__gap { color: var(--accent); border-bottom: 3px solid var(--accent); animation: gap 1.4s infinite; }
@keyframes gap { 50% { opacity: .35; } }
.game__say { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 1.2rem; }
.game__options { display: flex; flex-wrap: wrap; gap: 12px; }
.game__opt { min-width: 80px; min-height: 60px; padding: 0 22px; border-radius: 16px; border: 2px solid var(--border); background: #fff; font-size: 1.6rem; font-weight: 600; cursor: pointer; box-shadow: 0 4px 0 var(--border); transition: transform .15s, box-shadow .15s, border-color .2s; }
.game__opt--wide { font-size: 1.05rem; min-height: 54px; }
.game__opt:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 7px 0 var(--accent); }
.game__opt.is-right { background: #DDF5E6; border-color: #1C8C4E; color: #1C8C4E; box-shadow: 0 4px 0 #1C8C4E; }
.game__opt.is-wrong { background: #FDE4DA; border-color: #E8572A; color: #B23B14; box-shadow: none; animation: shake .4s; }
.game__opt:disabled:not(.is-right):not(.is-wrong) { opacity: .45; }
@keyframes shake { 25% { translate: -6px 0; } 75% { translate: 6px 0; } }
.game__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; border-radius: 14px; background: #FBF6EF; border: 1px solid var(--border); }
.game__hint-cs, .game__hint-ru, .game__praise { flex-basis: 100%; }
.game__praise { font: 600 1.3rem var(--serif); color: #1C8C4E; }
.game__ru-btn { border: 1px solid var(--border); background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: .75rem; cursor: pointer; }
.game__end { text-align: center; align-items: center; display: flex; flex-direction: column; gap: 12px; }
.game__badge { font-size: 3.6rem; animation: pop .6s var(--ease); }
@keyframes pop { from { scale: .3; opacity: 0; } 70% { scale: 1.15; } }
.game__end-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.chat { background: #fff; border-radius: 24px; padding: 18px; border: 1px solid var(--border); box-shadow: 0 30px 60px -36px var(--shadow); }
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.chat__head small { display: block; color: var(--muted); font-size: .75rem; }
.chat__ava { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); }
.chat__log { display: flex; flex-direction: column; gap: 10px; min-height: 250px; max-height: 340px; overflow-y: auto; padding-bottom: 12px; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; font-size: .875rem; transition: border-color .2s, transform .2s; }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip:disabled { opacity: .5; cursor: progress; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .9375rem; line-height: 1.45; }
.msg--user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.msg-in { animation: msgIn .35s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.agent-log { display: flex; flex-direction: column; gap: 10px; font-size: .875rem; }
.agent-log li { padding-left: 22px; position: relative; }
.agent-log .ok::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.agent-log .out::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.agent-log .idle { color: var(--muted); padding-left: 0; }

/* ---------- AI-видео ---------- */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); cursor: pointer; border: 1px solid var(--border); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.reel__frame:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px var(--shadow); }
.reel__frame video { width: 100%; height: 100%; object-fit: cover; }
.reel__sound { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(43, 33, 27, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.reel__frame.is-sound .reel__sound { background: var(--accent); }
.reel figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 4px 0; }
.reel figcaption span { font-weight: 600; font-size: .875rem; color: var(--accent); white-space: nowrap; }

/* ---------- Как я работаю ---------- */
.panel { background: var(--dark); color: var(--on-accent); border-radius: 30px; padding: clamp(28px, 5vw, 64px); }
.panel .label { color: #CDB9A8; }
.panel .label::before { background: #E39A72; }
.panel .h2 em { color: #E39A72; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.steps li { padding: 24px; border-radius: 20px; background: rgba(255, 248, 241, .05); border: 1px solid rgba(255, 248, 241, .1); transition: background-color .3s, transform .45s var(--ease); }
.steps li:hover { background: rgba(255, 248, 241, .09); transform: translateY(-6px); }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E39A72; color: var(--dark); font-weight: 700; font-size: .9rem; margin-bottom: 28px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 8px; }
.steps p { color: #CDB9A8; font-size: .9rem; }

/* ---------- Цены ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px var(--shadow); }
.pcard--main { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.pcard__num { font: 600 .66rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 8px; }
.pcard h3 { font-size: 2rem; margin-bottom: 14px; }
.pcard dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.pcard dd { font-weight: 600; color: var(--accent); white-space: nowrap; }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.faq__list { counter-reset: q; }
.faq__list details { border-bottom: 1px solid var(--border); }
.faq__list details:first-child { border-top: 1px solid var(--border); }
.faq__list summary { list-style: none; cursor: pointer; position: relative; padding: 24px 44px 24px 52px; font: 500 1.45rem/1.25 var(--serif); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: 30px; font: 600 .72rem var(--sans); color: var(--accent); letter-spacing: .08em; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 20px; font: 300 1.8rem var(--sans); color: var(--muted); transition: rotate .3s var(--ease); }
.faq__list details[open] summary::after { rotate: 45deg; color: var(--accent); }
.faq__list details p { color: var(--muted); padding: 0 44px 24px 52px; }

/* ---------- Финал ---------- */
.final { background: var(--dark); color: var(--on-accent); padding: clamp(90px, 12vw, 160px) 0; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -360px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(217, 119, 74, .22), transparent 65%); }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .label { color: #CDB9A8; }
.final .label::before { background: #E39A72; }
.final__title { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 36px; }
.final__title em { color: #E39A72; }
.final__me { display: flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 32px; }
.final__me img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid #E39A72; }
.final__me b { display: block; font-weight: 600; }
.final__me small { color: #CDB9A8; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
.final .btn--primary { background: #D9774A; }
.final .btn--primary:hover { background: #E58A5E; }
.final .btn--line { border-color: rgba(255, 248, 241, .3); color: var(--on-accent); }
.final .btn--line:hover { background: var(--on-accent); color: var(--dark); }
.final__mail { color: #CDB9A8; font-size: .9rem; }
.footer { background: var(--dark); color: #CDB9A8; border-top: 1px solid rgba(255, 248, 241, .1); padding: 24px 0; font-size: .85rem; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer b { color: var(--on-accent); font-weight: 600; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--on-accent); }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; }
  .works, .reels { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .about__text { padding-top: 0; }
  .hero__grid, .about, .faq, .tryp { grid-template-columns: 1fr; }
  .head { grid-template-columns: 1fr; }
  .head__note, .switch { justify-self: start; }
  .portrait { justify-self: center; width: min(380px, 92%); }
  .portrait__card { left: -12px; }
  .portrait__stamp { right: -6px; }
  .services { grid-template-columns: 1fr; border-top: 0; }
  .service, .service + .service { padding: 26px 0; border-left: 0; border-top: 1px solid var(--border); }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .tags { grid-template-columns: 1fr 1fr; }
  .tags a:nth-child(3) { border-left: 0; }
  .tags a:nth-child(n+3) { border-top: 1px solid var(--border); }
  .works, .reels, .steps { grid-template-columns: 1fr; }
  .reel__frame { max-width: 360px; }
  .facts b { font-size: 2rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .faq__list summary { font-size: 1.3rem; padding-left: 40px; }
  .faq__list details p { padding-left: 40px; }
  .faq__list summary::before { top: 29px; }
  .h2 br { display: none; }
  .h2 em::before { content: " "; }
  .switch [role="tab"] { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* Переливающийся цвет акцентных слов (как на прежнем сайте) */
.hero__title em, .h2 em, .work--cta em {
  background-image: linear-gradient(100deg, #B5552C 0%, #D9824F 22%, #B85C6E 45%, #C9772F 68%, #B5552C 85%, #D9824F 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 9s linear infinite;
  padding-right: .06em;
}
.panel .h2 em, .final__title em {
  background-image: linear-gradient(100deg, #E39A72 0%, #F2B98F 25%, #E7A0A8 50%, #EDB26A 75%, #E39A72 100%);
  background-size: 250% 100%;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 250% 50%; } }
