/* ==========================================================================
   Наталия Каверина — семейный психолог, Тамбов
   Тёплая редакционная типографика, локальные шрифты, без внешних зависимостей.
   ========================================================================== */

:root {
  --cream: #f7f2e9;
  --paper: #fcf9f3;
  --paper-deep: #f3ebde;
  --ink: #24332c;
  --forest: #2f4a3d;
  --forest-deep: #22362c;
  --sage: #a9b8a8;
  --clay: #c0785b;
  --clay-deep: #a96146;
  --gold: #b08c68;
  --sand: #e7dac8;
  --line: rgba(47, 74, 61, 0.16);
  --line-soft: rgba(47, 74, 61, 0.09);
  --muted: #5d6b62;
  --white: #fffdf8;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1180px;
  --radius: 22px;
  --shadow: 0 26px 70px rgba(47, 74, 61, 0.12);
  --shadow-soft: 0 12px 34px rgba(47, 74, 61, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.9rem, 5.15vw, 4.65rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.35rem, 3.9vw, 3.65rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  line-height: 1.1;
}

main {
  flex: 1 0 auto;
}

::selection {
  background: rgba(192, 120, 91, 0.28);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(calc(100% - 56px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 116px 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--forest);
  color: var(--cream);
  font-size: 13px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* --------------------------------------------------------------------------
   Кнопки, ссылки, подписи
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.7;
}

.lead {
  font-size: 18px;
  line-height: 1.62;
  color: var(--muted);
}

.section-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-grid > *,
.section-head > *,
.service-grid > *,
.about-grid > *,
.process-grid > *,
.faq-grid > *,
.contact-grid > * {
  min-width: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.btn:hover .icon {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 12px 28px rgba(47, 74, 61, 0.2);
}

.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(47, 74, 61, 0.24);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.7);
  border-color: rgba(47, 74, 61, 0.3);
}

.btn-outline {
  border-color: var(--line);
  color: var(--forest);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.btn-light {
  background: var(--cream);
  color: var(--forest);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(192, 120, 91, 0.4);
  color: var(--clay-deep);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, gap 0.2s ease;
}

.text-link .icon {
  width: 15px;
  height: 15px;
}

.text-link:hover {
  border-color: var(--clay-deep);
  gap: 11px;
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.84);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 242, 233, 0.95);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding-bottom: 4px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-role {
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #3f4e45;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 19px !important;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream) !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.nav-extra {
  display: none;
}

/* --------------------------------------------------------------------------
   Первый экран
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: 58px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 120, 91, 0.13), rgba(192, 120, 91, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: -220px;
  bottom: -280px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 184, 168, 0.2), rgba(169, 184, 168, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 64px;
  padding-bottom: 62px;
}

.hero-copy {
  max-width: 620px;
  padding-top: 8px;
}

.hero h1 {
  max-width: 12.5ch;
  margin: 20px 0 24px;
}

.hero h1 .accent {
  color: var(--clay-deep);
  position: relative;
  white-space: nowrap;
}

.hero .lead {
  max-width: 48ch;
  margin-bottom: 30px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-note .icon {
  width: 15px;
  height: 15px;
  color: var(--clay);
}

.hero-visual {
  position: relative;
  max-width: 470px;
  justify-self: end;
  width: 100%;
  padding: 10px 18px 0 0;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0 0 18px 22px;
  border: 1px solid rgba(176, 140, 104, 0.55);
  border-radius: 240px 240px 30px 30px;
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 240px 240px 26px 26px;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.28);
  border-radius: inherit;
  pointer-events: none;
}

.portrait-plate {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 13px;
  background: rgba(247, 242, 233, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portrait-plate strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
}

.portrait-plate span {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-card {
  position: absolute;
  z-index: 3;
  top: 15%;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px 11px 11px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 14px 34px rgba(34, 54, 44, 0.28);
  font-size: 11.5px;
  line-height: 1.35;
  transform: rotate(2.2deg);
}

.float-card strong {
  font-weight: 600;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(247, 242, 233, 0.13);
}

.float-icon .icon {
  width: 15px;
  height: 15px;
}

.hero-caption {
  position: absolute;
  right: -5px;
  bottom: 34px;
  z-index: 2;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 25px 0 6px;
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.fact + .fact {
  padding-left: 26px;
  border-left: 1px solid var(--line-soft);
}

.fact > .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--clay);
}

.fact strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.fact span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   С чем работаю
   -------------------------------------------------------------------------- */

.services {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 50px;
}

.section-head h2 {
  max-width: 18ch;
  margin-top: 15px;
}

.section-head .section-lead {
  padding-bottom: 4px;
}

.section-head--center {
  display: block;
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center h2 {
  margin-inline: auto;
}

.section-head--center .section-lead {
  margin: 18px auto 0;
  max-width: 52ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 276px;
  padding: 28px 28px 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 74, 61, 0.16);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(192, 120, 91, 0.11);
  color: var(--clay-deep);
}

.service-icon .icon {
  width: 21px;
  height: 21px;
}

.service-num {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  opacity: 0.8;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 1.7rem;
}

.service-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Обо мне
   -------------------------------------------------------------------------- */

.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 82px;
}

.about-visual {
  position: relative;
  padding: 8px 26px 44px 0;
}

.about-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 26px 26px 26px 170px;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 20px 6px 24px 24px;
  border: 1px solid rgba(176, 140, 104, 0.45);
  border-radius: 26px 26px 26px 170px;
  pointer-events: none;
}

.about-stamp {
  position: absolute;
  z-index: 3;
  left: -32px;
  bottom: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 118px;
  height: 118px;
  padding: 12px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 14px 30px rgba(169, 97, 70, 0.24);
}

.about-stamp .icon {
  width: 19px;
  height: 19px;
  margin-bottom: 2px;
}

.about-stamp span {
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-family {
  position: absolute;
  z-index: 2;
  top: -26px;
  right: -6px;
  width: 132px;
  height: 132px;
  border: 6px solid var(--cream);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.about-copy {
  padding-top: 14px;
  max-width: 610px;
}

.about-copy h2 {
  margin: 16px 0 8px;
}

.about-role {
  margin-bottom: 26px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.about-copy > p:not(.eyebrow):not(.about-role):not(.about-note) {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: #45534b;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
  margin: 32px 0 28px;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.principle > .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--clay);
}

.principle strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.principle p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.about-note {
  padding-left: 13px;
  border-left: 2px solid var(--clay);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Цитата
   -------------------------------------------------------------------------- */

.quote-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: var(--forest);
  color: var(--cream);
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -100px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(247, 242, 233, 0.12);
  border-radius: 50%;
}

.quote-section::after {
  content: '';
  position: absolute;
  bottom: -220px;
  left: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(247, 242, 233, 0.1);
  border-radius: 50%;
}

.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.quote-mark {
  width: 44px;
  height: 34px;
  margin: 0 auto 22px;
  fill: var(--clay);
}

.quote-inner blockquote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
  font-weight: 500;
  line-height: 1.27;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-wrap: balance;
}

.quote-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.quote-author::before,
.quote-author::after {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Как проходит работа
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: 78px;
}

.process-intro h2 {
  max-width: 12ch;
  margin: 15px 0 20px;
}

.process-intro .section-lead {
  max-width: 44ch;
}

.process-photo {
  max-width: 100%;
  margin-top: 36px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow-soft);
}

.process-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process-photo figcaption {
  padding: 13px 18px 14px;
  background: var(--paper);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 27px 0 29px;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 500;
  line-height: 0.9;
  color: var(--clay);
}

.step h3 {
  margin-bottom: 7px;
  font-size: 1.75rem;
}

.step p {
  max-width: 45ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Стоимость
   -------------------------------------------------------------------------- */

.prices {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  padding-top: 10px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--cream);
}

.price-card--featured {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
  box-shadow: 0 24px 54px rgba(47, 74, 61, 0.22);
  transform: translateY(-10px);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--cream);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-label {
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-card--featured .price-label {
  color: var(--sage);
}

.price-value {
  margin: 18px 0 5px;
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.price-value span {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0;
}

.price-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}

.price-duration .icon {
  width: 14px;
  height: 14px;
}

.price-card--featured .price-duration {
  color: rgba(247, 242, 233, 0.6);
}

.price-text {
  flex: 1;
  margin: 20px 0 26px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.price-card--featured .price-text {
  color: rgba(247, 242, 233, 0.76);
}

.price-card .btn {
  width: 100%;
}

.price-note {
  margin-top: 30px;
  font-size: 11px;
  text-align: center;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Вопросы
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 76px;
}

.faq-intro {
  position: sticky;
  top: 112px;
}

.faq-intro h2 {
  max-width: 10ch;
  margin: 15px 0 20px;
}

.faq-intro .section-lead {
  max-width: 36ch;
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--clay-deep);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  background: var(--forest);
  border-color: var(--forest);
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--cream);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 44px 22px 2px;
}

.faq-answer p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Контакты и форма
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: 96px 0 100px;
  background: var(--forest);
  color: var(--cream);
}

.contact::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 120, 91, 0.22), rgba(192, 120, 91, 0) 68%);
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -160px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(247, 242, 233, 0.09);
  border-radius: 50%;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: start;
  gap: 72px;
}

.contact-copy .eyebrow {
  color: #d9b49a;
}

.contact-copy h2 {
  max-width: 9ch;
  margin: 15px 0 20px;
  color: var(--cream);
}

.contact-lead {
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(247, 242, 233, 0.72);
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(247, 242, 233, 0.09);
  border-radius: 13px;
  background: rgba(247, 242, 233, 0.04);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-item:hover {
  background: rgba(247, 242, 233, 0.09);
  border-color: rgba(247, 242, 233, 0.18);
  transform: translateY(-1px);
}

.contact-item--static:hover {
  transform: none;
  background: rgba(247, 242, 233, 0.04);
  border-color: rgba(247, 242, 233, 0.09);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(247, 242, 233, 0.08);
  color: #e2c5ae;
}

.contact-icon .icon {
  width: 17px;
  height: 17px;
}

.contact-item small {
  display: block;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 233, 0.46);
}

.contact-item strong {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.contact-hours {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 22px;
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(247, 242, 233, 0.52);
}

.contact-hours .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.crisis-note {
  max-width: 46ch;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 242, 233, 0.1);
  font-size: 10px;
  line-height: 1.6;
  color: rgba(247, 242, 233, 0.46);
}

.crisis-note a {
  white-space: nowrap;
  color: rgba(247, 242, 233, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-card {
  padding: 34px 34px 30px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(16, 28, 21, 0.28);
}

.form-head h3 {
  font-size: 2rem;
}

.form-head p {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}

.field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4d5b52;
}

.field label span {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  opacity: 0.8;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(47, 74, 61, 0.16);
  border-radius: 11px;
  background: var(--white);
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #98a29b;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(47, 74, 61, 0.09);
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #b0503c;
  box-shadow: 0 0 0 3px rgba(176, 80, 60, 0.08);
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.4;
  color: #a54532;
}

.field-error:empty {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 17px;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--forest);
}

.consent a {
  color: var(--clay-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-error--consent {
  margin-top: 3px;
}

.btn-submit {
  width: 100%;
  margin-top: 17px;
  background: var(--clay);
  color: #fff;
  box-shadow: 0 12px 26px rgba(192, 120, 91, 0.22);
}

.btn-submit:hover {
  background: var(--clay-deep);
  transform: translateY(-1px);
}

.form-hint {
  margin-top: 9px;
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

.form-status {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: var(--forest);
}

.form-status:empty {
  display: none;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 64px 0 26px;
  background: #1d2f26;
  color: rgba(247, 242, 233, 0.66);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 0.9fr;
  gap: 44px;
}

.brand--footer {
  color: var(--cream);
}

.brand--footer .brand-mark {
  background: var(--cream);
  color: var(--forest);
}

.brand--footer .brand-role {
  color: rgba(247, 242, 233, 0.48);
}

.footer-brand > p {
  max-width: 31ch;
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(247, 242, 233, 0.48);
}

.footer-title {
  margin-bottom: 14px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 242, 233, 0.36);
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a,
.footer-contact a {
  margin-bottom: 8px;
  font-size: 11.5px;
  color: rgba(247, 242, 233, 0.7);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 19px;
  border-top: 1px solid rgba(247, 242, 233, 0.09);
  font-size: 9.5px;
  line-height: 1.5;
  color: rgba(247, 242, 233, 0.36);
}

.footer-bottom a {
  color: rgba(247, 242, 233, 0.52);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Юридическая страница и 404
   -------------------------------------------------------------------------- */

.legal-page {
  padding: 74px 0 96px;
}

.legal-wrap {
  width: min(100% - 56px, 800px);
  margin-inline: auto;
}

.legal h1 {
  margin: 16px 0 10px;
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.legal-meta {
  margin-bottom: 36px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 1.75rem;
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.75;
  color: #45534b;
}

.legal p + p {
  margin-top: 10px;
}

.legal ul {
  margin: 10px 0;
  padding-left: 20px;
}

.legal li + li {
  margin-top: 5px;
}

.legal a {
  color: var(--clay-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 38px;
  font-size: 12px;
  font-weight: 600;
  color: var(--clay-deep);
}

.legal-back .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 66vh;
  padding: 80px 0;
  text-align: center;
}

.error-page .error-code {
  font-family: var(--serif);
  font-size: clamp(7rem, 20vw, 14rem);
  font-weight: 500;
  line-height: 0.8;
  color: var(--clay);
  opacity: 0.65;
}

.error-page h1 {
  margin: 28px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.error-page p {
  max-width: 40ch;
  margin: 0 auto 28px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Анимации
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > * {
  animation: fadeUp 0.75s ease both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.07s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.14s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.21s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.28s;
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-visual {
    max-width: 430px;
  }

  .about-grid,
  .process-grid,
  .faq-grid,
  .contact-grid {
    gap: 54px;
  }

  .service-card {
    padding: 25px 24px 27px;
  }
}

@media (max-width: 980px) {
  .site-header {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand,
  .menu-toggle {
    position: relative;
    z-index: 45;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    min-height: 100dvh;
    padding: 104px 28px 36px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
  }

  .nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
  }

  .nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    width: 100% !important;
    margin-top: 24px;
    padding: 15px 20px !important;
    border-bottom: 0 !important;
    font-family: var(--sans) !important;
    font-size: 13px !important;
    text-align: center;
  }

  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
  }

  .nav .nav-extra span {
    margin-bottom: 6px;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .nav .nav-extra a {
    width: auto;
    padding: 0;
    border-bottom: 0;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--muted);
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header-inner {
    min-height: 74px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-bottom: 50px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero-visual {
    justify-self: center;
    max-width: 480px;
    width: min(100%, 480px);
    padding-right: 16px;
  }

  .hero-caption {
    display: none;
  }

  .hero-facts {
    gap: 18px;
  }

  .fact + .fact {
    padding-left: 18px;
  }

  .section {
    padding: 88px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 38px;
  }

  .section-head h2 {
    max-width: 16ch;
  }

  .section-head .section-lead {
    max-width: 60ch;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-visual {
    max-width: 440px;
    width: 100%;
    margin-inline: auto;
    padding-right: 20px;
  }

  .about-copy {
    max-width: none;
    padding-top: 0;
  }

  .about-family {
    right: 0;
    width: 118px;
    height: 118px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .process-intro h2 {
    max-width: 15ch;
  }

  .process-photo {
    max-width: 560px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
    gap: 14px;
  }

  .price-card--featured {
    transform: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro h2 {
    max-width: 14ch;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-copy h2 {
    max-width: 14ch;
  }

  .contact-list {
    max-width: 560px;
  }

  .form-card {
    max-width: 580px;
  }

  .footer-top {
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 68px;
    gap: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-role {
    font-size: 7.5px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10.6vw, 3.35rem);
    max-width: none;
    margin-top: 16px;
  }

  .hero .lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
  }

  .hero-visual {
    padding: 8px 12px 0 0;
  }

  .portrait-frame {
    border-radius: 180px 180px 22px 22px;
  }

  .hero-visual::before {
    border-radius: 180px 180px 22px 22px;
  }

  .portrait-plate {
    left: 14px;
    bottom: 14px;
    padding: 10px 14px;
  }

  .portrait-plate strong {
    font-size: 18px;
  }

  .float-card {
    top: 11%;
    right: -7px;
    padding: 9px 12px 9px 9px;
    font-size: 10px;
  }

  .float-icon {
    width: 26px;
    height: 26px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 20px;
  }

  .fact + .fact {
    padding-left: 0;
    padding-top: 13px;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .section {
    padding: 74px 0;
  }

  .section-head h2 {
    max-width: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: 0;
    padding: 24px 22px 26px;
  }

  .service-card h3 {
    margin-top: 20px;
  }

  .about-visual {
    max-width: 380px;
    padding: 4px 14px 32px 0;
  }

  .about-frame {
    border-radius: 22px 22px 22px 120px;
  }

  .about-visual::before {
    border-radius: 22px 22px 22px 120px;
  }

  .about-stamp {
    left: -9px;
    bottom: 64px;
    width: 96px;
    height: 96px;
  }

  .about-stamp span {
    font-size: 6.5px;
  }

  .about-family {
    top: -18px;
    width: 92px;
    height: 92px;
    border-width: 4px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 26px 0;
  }

  .quote-section {
    padding: 68px 0;
  }

  .quote-mark {
    width: 36px;
    height: 28px;
    margin-bottom: 18px;
  }

  .quote-inner blockquote {
    font-size: 1.75rem;
  }

  .process-grid {
    gap: 32px;
  }

  .process-photo {
    margin-top: 28px;
  }

  .step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0 24px;
  }

  .step-num {
    font-size: 1.8rem;
  }

  .step h3 {
    font-size: 1.55rem;
  }

  .price-card {
    padding: 26px 22px;
  }

  .price-value {
    font-size: 3.3rem;
  }

  .faq-item summary {
    padding: 20px 0;
    font-size: 14px;
  }

  .faq-answer {
    padding-right: 30px;
  }

  .contact {
    padding: 72px 0 76px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 26px 20px 24px;
  }

  .form-head h3 {
    font-size: 1.8rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 36px;
  }

  .legal-page {
    padding: 48px 0 72px;
  }

  .legal-wrap {
    width: calc(100% - 40px);
  }

  .legal h1 {
    font-size: 2.5rem;
  }

  .legal h2 {
    font-size: 1.55rem;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 16px;
  }

  .brand-role {
    display: none;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .portrait-plate strong {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   Уважение к настройкам движения
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Печать */
@media print {
  .site-header,
  .hero-visual,
  .hero-actions,
  .quote-section,
  .contact,
  .site-footer,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section {
    padding: 24px 0;
  }
}
