/* ============================================================
   Мария Соколова — психолог, РПП
   Тёмный editorial-стиль: графит + тёмно-синий, бордо, светлый текст
   ============================================================ */

:root {
  --bg: #0c111a;
  --bg-soft: #101624;
  --surface: #141b2a;
  --surface-2: #1a2233;
  --line: rgba(240, 243, 248, 0.09);
  --line-strong: rgba(240, 243, 248, 0.18);
  --text: #f0f2f6;
  --muted: #9aa3b3;
  --muted-2: #6f788a;
  --accent: #a0233f;
  --accent-strong: #c23a58;
  --accent-soft: rgba(160, 35, 63, 0.16);
  --accent-line: rgba(160, 35, 63, 0.5);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

a, button, .faq-q, input, textarea {
  -webkit-tap-highlight-color: transparent;
}
button, .faq-q, .burger { touch-action: manipulation; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

main { position: relative; z-index: 1; }

/* ---------- Текстовая типографика ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text);
  font-weight: 500;
}

.section p {
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }

.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-strong); color: var(--accent-strong); transform: translateY(-2px); }

.btn-sm { padding: 12px 22px; font-size: 13px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-top: 26px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow span { color: var(--accent-strong); font-size: 18px; }
.link-arrow:hover { color: var(--accent-strong); gap: 16px; }

/* ---------- Шапка ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(12, 17, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.02em;
}
.brand-role {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}

.nav {
  display: flex;
  gap: 34px;
}
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-strong);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--accent-strong); }
.nav a.active::after { width: 100%; }
.mobile-nav a.active { color: var(--accent-strong); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Мобильное меню ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  padding: 110px 28px 48px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }

.mobile-nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 34px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-nav a:hover { color: var(--accent-strong); }

.mobile-menu-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 70px;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(160, 35, 63, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(42, 63, 120, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::after {
  content: "РПП";
  position: absolute;
  right: -30px; bottom: -40px;
  font-family: var(--display);
  font-size: clamp(220px, 34vw, 460px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 243, 248, 0.045);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent-strong);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 8px;
  background: var(--accent-line);
  z-index: -1;
  opacity: 0.35;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* фото */

.hero-photo {
  position: relative;
  margin: 0;
  background: var(--surface);
}

.hero-photo .frame {
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--accent-line);
  pointer-events: none;
  z-index: 0;
}

.hero-photo img {
  position: relative;
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.94);
  transition: filter 0.6s var(--ease);
}

.hero-photo:hover img { filter: grayscale(0.35) contrast(1.05) brightness(0.98); }

.photo-cap {
  position: absolute;
  left: 0; bottom: -30px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--bg);
  padding: 8px 14px 8px 0;
}

.stat-card {
  position: absolute;
  top: -26px; right: -14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  padding: 16px 20px;
  z-index: 2;
}
.stat-num {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
}
.stat-txt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.35; }

.tag-card {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 17, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.tag-card .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
  z-index: 1;
}
.hero-scroll .line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--accent-strong), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  padding-right: 34px;
}
.marquee-item {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee .dot { color: var(--accent-strong); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */

.section { padding: clamp(84px, 12vw, 130px) 0; }

.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.about-media { display: flex; flex-direction: column; gap: 40px; }

.about-photo {
  position: relative;
  margin: 0;
  background: var(--surface);
  max-width: 460px;
}
.about-photo .frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--accent-line);
  pointer-events: none;
  z-index: 0;
}
.about-photo img {
  position: relative;
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.creds { list-style: none; display: grid; gap: 0; }
.creds li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.creds-n { font-family: var(--display); color: var(--accent-strong); font-size: 14px; }

.about-copy { max-width: 540px; }
.about-copy p { margin-bottom: 20px; }
.about-copy .lead { color: var(--text); font-weight: 500; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: clamp(70px, 10vw, 120px);
  border: 1px solid var(--line);
}
.stat {
  background: var(--bg-soft);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat .stat-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text);
}
.stat-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Направления ---------- */

.work { background: var(--bg-soft); }

.section-head { max-width: 620px; margin-bottom: clamp(48px, 7vw, 72px); }

.work-list { border-top: 1px solid var(--line-strong); }

.work-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr 40px;
  align-items: center;
  gap: 28px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
  cursor: default;
}
.work-row:hover { background: rgba(160, 35, 63, 0.05); padding-left: 20px; }

.work-num { font-family: var(--display); color: var(--accent-strong); font-size: 16px; }

.work-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--text);
}

.work-desc { font-size: 14px; color: var(--muted); max-width: 52ch; }

.work-arrow { color: var(--accent-strong); font-size: 20px; opacity: 0; transform: translateX(-8px); transition: all 0.3s var(--ease); }
.work-row:hover .work-arrow { opacity: 1; transform: translateX(0); }

.work-note {
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted-2);
  max-width: 52ch;
}

/* ---------- Pull-quote ---------- */

.pull-quote {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(160, 35, 63, 0.1), transparent 60%),
    var(--bg);
  padding: clamp(70px, 10vw, 110px) 0;
}
.pull-quote p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  max-width: 24ch;
  color: var(--text);
}
.pull-quote cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Метод ---------- */

.method-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.method-step {
  background: var(--bg-soft);
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s var(--ease);
}
.method-step:hover { background: var(--surface); }
.step-num {
  font-family: var(--display);
  color: var(--accent-strong);
  font-size: 15px;
}
.method-step h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--text); }
.method-step p { font-size: 13.5px; color: var(--muted); }

/* ---------- Формат ---------- */

.format { background: var(--bg-soft); }

.format-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.format-card {
  background: var(--bg);
  padding: 38px 30px 42px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s var(--ease);
}
.format-card:hover { background: var(--surface); }
.format-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--text); }
.format-dur {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.format-card p { font-size: 13.5px; color: var(--muted); }
.format-tag {
  margin-top: auto;
  padding-top: 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}

.format-note {
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted-2);
  max-width: 62ch;
}

/* ---------- Отзывы ---------- */

.review-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review {
  margin: 0;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-quote {
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  display: block;
  height: 40px;
}
.review blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  quotes: none;
}
.review figcaption {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.reviews-note { margin-top: 44px; font-size: 12px; color: var(--muted-2); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; border-top: 1px solid var(--line-strong); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 24px 4px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--accent-strong); }

.faq-plus {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent-strong);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a p {
  padding: 0 40px 26px 4px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Контакты / форма ---------- */

.contact {
  background:
    radial-gradient(800px 500px at 90% 110%, rgba(160, 35, 63, 0.1), transparent 55%),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
}

.contact-copy .lead { margin-bottom: 40px; }

.contact-links { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.contact-link:hover { background: rgba(160, 35, 63, 0.05); padding-left: 14px; }
.contact-link-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-link-value { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--text); }
.contact-link-value .arrow { color: var(--accent-strong); }
.contact-note { margin-top: 22px; font-size: 13px; color: var(--muted-2); }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field { display: flex; flex-direction: column; gap: 10px; }
.field-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 11.5px; color: var(--muted-2); line-height: 1.5; }

.form-success {
  background: rgba(160, 35, 63, 0.12);
  border: 1px solid var(--accent-line);
  padding: 16px;
  font-size: 14px;
  color: var(--text);
}

/* ---------- Футер ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .brand-name { display: block; font-weight: 500; font-size: 26px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--muted); max-width: 38ch; }

.footer-nav,
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a,
.footer-contact a { font-size: 14px; color: var(--muted); transition: color 0.25s var(--ease); }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--accent-strong); }
.footer-contact span { font-size: 12.5px; color: var(--muted-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { font-size: 12px; color: var(--muted-2); }
.footer-bottom p:last-child { max-width: 52ch; }

/* ---------- Анимации появления ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 13px; }
  .work-row { grid-template-columns: 50px 1fr 1.3fr 30px; gap: 20px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }

  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-photo { max-width: 540px; }
  .hero-photo img { height: 520px; }
  .hero-scroll { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { flex-direction: row; gap: 30px; align-items: flex-end; }
  .about-photo { flex: 1; }
  .about-photo img { height: 440px; }
  .creds { flex: 1; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .method-list { grid-template-columns: repeat(2, 1fr); }
  .format-list { grid-template-columns: 1fr; }
  .review-list { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --header-h: 64px; }

  .container { padding: 0 20px; }

  .section { padding: 72px 0; }

  .brand-role { display: none; }
  .brand-name { font-size: 20px; }
  .header-actions .btn { display: none; }

  .hero { padding-top: var(--header-h); padding-bottom: 50px; min-height: auto; }
  .hero-grid { gap: 44px; }
  .hero-title { font-size: clamp(1.9rem, 10.5vw, 2.6rem); letter-spacing: -0.01em; }
  .hero-title em::after { height: 6px; }
  .hero-sub { margin-bottom: 30px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; padding: 16px 20px; }
  .hero-meta { font-size: 11px; letter-spacing: 0.12em; line-height: 1.7; }
  .hero-photo img { height: 420px; }
  .hero-photo .frame { inset: -12px 12px 12px -12px; }
  .stat-card { top: -20px; right: -8px; padding: 12px 16px; }
  .stat-card .stat-num { font-size: 26px; }
  .tag-card { left: 12px; bottom: 12px; }
  .photo-cap { bottom: -24px; letter-spacing: 0.16em; }

  .eyebrow { letter-spacing: 0.2em; }

  .about-media { flex-direction: column; align-items: stretch; gap: 30px; }
  .about-photo img { height: 380px; }
  .creds li { font-size: 13.5px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 8px; background: transparent; border: none; }
  .stat { padding: 22px 18px; }
  .stat .stat-num { font-size: 1.8rem; }

  .work-row {
    grid-template-columns: 40px 1fr 24px;
    gap: 12px;
    padding: 22px 4px;
  }
  .work-desc { grid-column: 2 / 4; font-size: 13.5px; }
  .work-arrow { opacity: 1; transform: none; }
  .work-row:hover { padding-left: 4px; }

  .method-list { grid-template-columns: 1fr; }
  .method-step { padding: 30px 22px 34px; }

  .format-card { padding: 30px 24px 34px; }

  .review-quote { font-size: 48px; height: 34px; }
  .review blockquote { font-size: 14.5px; }

  .faq-a p { padding: 0 20px 22px 4px; font-size: 14px; }
  .faq-q { padding: 20px 4px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .footer-bottom { flex-direction: column; }

  .form { padding: 32px 24px; }
  .field input, .field textarea { font-size: 16px; }

  .mobile-menu { padding: 96px 20px calc(40px + env(safe-area-inset-bottom, 0px)); }
  .mobile-nav a { font-size: 30px; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: clamp(1.7rem, 10vw, 2.2rem); }
  .hero-photo img { height: 340px; }
  .hero-meta { letter-spacing: 0.08em; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .mobile-nav a { font-size: 26px; }
}
