/* Шрифты лежат на своём сервере (public/fonts), Google Fonts не используется.
   Cormorant Garamond и Manrope, лицензия SIL Open Font License 1.1. */
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('fonts/cormorant-garamond-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/cormorant-garamond-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/cormorant-garamond-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('fonts/manrope-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('fonts/manrope-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('fonts/manrope-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ede6dc;
  --surface: #f6f1ea;
  --surface-2: #e4dbcf;
  --ink: #2a221d;
  --ink-soft: #5e5249;
  --line: #d3c7b8;
  --dark: #1f1915;
  --dark-soft: #2c2420;
  --on-dark: #f1e9df;
  --on-dark-soft: #bfb2a4;
  --accent: #6e1f2b;
  --accent-hover: #58161f;
  --focus: #9a3a48;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: calc(clamp(42px, 6.4vw, 82px) * var(--hs, 1)); }
h2 { font-size: calc(clamp(36px, 4.6vw, 58px) * var(--hs, 1)); }
h3 { font-size: calc(clamp(24px, 2.4vw, 30px) * var(--hs, 1)); }
em, .recognize-note, blockquote { font-style: var(--em-style, italic); }
p { margin: 0; }

.eyebrow {
  display: flex; gap: 10px; align-items: center;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 22px;
}
.eyebrow span:first-child { color: var(--accent); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-light { background: var(--on-dark); color: var(--dark); }
.btn-light:hover { background: #fff; }
.btn-lg { min-height: 64px; padding: 0 34px; font-size: 17px; }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { text-decoration: none; line-height: 1.15; }
.brand b { display: block; font: 500 22px/1.1 var(--serif); }
.brand small { font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; white-space: nowrap; }
.brand { flex: none; }
.nav { display: flex; gap: clamp(20px, 2.2vw, 36px); align-items: center; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-soft); padding: 8px 0; white-space: nowrap; position: relative; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 8px; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14px; color: #fff; }
@media (max-width: 1199px) {
  .nav a:not(.btn) { display: none; }
}

/* Первый экран */
.hero { position: relative; }
.hero-media img { display: block; width: 100%; height: auto; }
.hero h1 { margin-bottom: 26px; text-wrap: balance; }
.hero h1 em { color: var(--accent); }
.hero-lead { font-size: 19px; color: var(--ink-soft); max-width: 34ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
/* Вторая кнопка на полупрозрачной размытой подложке, чтобы читалась поверх фото */
.hero-actions .btn-ghost {
  color: var(--ink); border-color: rgba(42,34,29,.35);
  background: rgba(246,241,234,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -10px rgba(42,34,29,.35);
}
.hero-actions .btn-ghost:hover { background: rgba(246,241,234,.92); border-color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 22px 0 0; border-top: 1px solid var(--line); margin: 0; list-style: none; }
.facts li { font-size: 15px; color: var(--ink-soft); }
.facts b { display: block; color: var(--ink); font: 500 26px/1.2 var(--serif); }

@media (min-width: 861px) {
  .hero { min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { height: 100%; object-fit: cover; object-position: 70% 40%; }
  .hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(246,241,234,.94) 0%, rgba(246,241,234,.82) 34%, rgba(246,241,234,0) 62%);
  }
  .hero-inner { position: relative; padding-top: 64px; padding-bottom: 64px; }
  .hero-text { max-width: 560px; }
  .hero-media img { animation: hero-in 1.4s var(--ease) both; }
}
@media (max-width: 860px) {
  .hero-media { display: block; position: relative; }
  .hero-media img { aspect-ratio: 4 / 4.5; max-height: 72vh; object-fit: cover; object-position: 50% 20%; }
  /* Фото мягко растворяется в фоне, как на компьютере */
  .hero-media::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
    background: linear-gradient(180deg, rgba(237,230,220,0) 0%, rgba(237,230,220,.75) 60%, var(--bg) 100%);
  }
  .hero-inner { position: relative; margin-top: -72px; padding-bottom: var(--section); }
}
@keyframes hero-in { from { transform: scale(1.04); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }

/* Меню на телефоне */
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; place-items: center;
}
/* Две полоски, которые плавно складываются в крестик */
.burger { position: relative; width: 18px; height: 10px; display: block; }
.burger i {
  position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger i:first-child { top: 0; }
.burger i:last-child { top: 100%; transform: translateY(-100%); }
.menu-btn[aria-expanded="true"] .burger i:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* Меню раскрывается по высоте плавно, без рывка */
.mobile-menu {
  display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .5s var(--ease), opacity .35s ease, visibility 0s linear .5s;
}
.mobile-menu.open {
  grid-template-rows: 1fr; opacity: 1; visibility: visible;
  transition: grid-template-rows .5s var(--ease), opacity .35s ease, visibility 0s;
}
.mm-inner { overflow: hidden; min-height: 0; }
.mm-links { border-top: 1px solid var(--line); padding: 6px var(--gutter) 18px; display: grid; }
.mm-links a {
  text-decoration: none; font: 400 17px/1.3 var(--sans); letter-spacing: .01em; color: var(--ink-soft);
  padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s ease, transform .4s var(--ease), color .2s;
}
.mm-links a:hover { color: var(--ink); }
.mobile-menu.open .mm-links a { opacity: 1; transform: none; }
.mobile-menu.open .mm-links a:nth-child(1) { transition-delay: .06s; }
.mobile-menu.open .mm-links a:nth-child(2) { transition-delay: .1s; }
.mobile-menu.open .mm-links a:nth-child(3) { transition-delay: .14s; }
.mobile-menu.open .mm-links a:nth-child(4) { transition-delay: .18s; }
.mobile-menu.open .mm-links a:nth-child(5) { transition-delay: .22s; }
.mobile-menu.open .mm-links a:nth-child(6) { transition-delay: .26s; }
@media (max-width: 1199px) { .menu-btn { display: grid; } }
@media (min-width: 1200px) { .mobile-menu { display: none !important; } }
@media (min-width: 861px) and (max-width: 1199px) {
  .mm-links { grid-template-columns: repeat(3, 1fr); column-gap: 32px; max-width: 1180px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu.open, .mm-links a, .burger i { transition: none; }
}

/* Узнаёте себя */
.section { padding: var(--section) 0; }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .eyebrow { color: var(--on-dark-soft); }
.section-dark .eyebrow span:first-child { color: #d89aa3; }

.recognize-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.recognize { position: relative; overflow: hidden; }
.recognize::before {
  content: ''; position: absolute; inset: 0; background: url('/img/shadows.webp?v=mui2yteg') center / cover no-repeat;
  opacity: .16; pointer-events: none;
}
.recognize .wrap { position: relative; }
.recognize-side { align-self: start; }
.recognize-photo { margin-top: 36px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; max-width: 380px; }
.recognize-photo img { width: 100%; height: 100%; object-fit: cover; }
.pain-list { list-style: none; margin: 0; padding: 0; counter-reset: pain; }
.pain-list li {
  counter-increment: pain; display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  padding: 22px 0; border-bottom: 1px solid rgba(241,233,223,.14); font-size: 19px; line-height: 1.5;
}
.pain-list li::before { content: counter(pain, decimal-leading-zero); font: 500 15px/1.9 var(--sans); color: var(--on-dark-soft); }
.recognize-note { margin-top: 40px; font: italic 500 clamp(26px, 2.8vw, 34px)/1.25 var(--serif); }
@media (max-width: 860px) {
  .recognize-grid { grid-template-columns: 1fr; }
  .recognize-side { position: static; }
  .recognize-photo { display: none; }
  .pain-list li { font-size: 17px; }
}

/* Обо мне */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 410 / 620; background: var(--surface-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about-text h2 { margin-bottom: 28px; }
.about-text p { font-size: 18px; color: var(--ink-soft); max-width: 58ch; }
.about-text p + p { margin-top: 18px; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.why-title { margin: clamp(56px, 8vw, 96px) 0 24px; }
.why-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: var(--surface); border-radius: var(--radius-lg); padding: 12px 12px 24px; display: flex; flex-direction: column; gap: 8px; }
.why-img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.4; margin-bottom: 10px; background: var(--surface-2); }
.why-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease); }
.why-card:hover .why-img img { transform: scale(1.03); }
.why-card b { font: 500 24px/1.2 var(--serif); padding: 0 8px; }
.why-card span { color: var(--ink-soft); font-size: 16px; padding: 0 8px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 4.6; max-height: 560px; }
}
@media (max-width: 559px) { .why-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .why-img img { transition: none; } }

/* Видеообращение */
.video-section { background: var(--surface); }
.video-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--dark); }
.video-frame img, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame img { object-position: 50% 20%; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(6px);
  color: var(--accent); display: grid; place-items: center; transition: transform .2s var(--ease);
}
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-play[disabled] { cursor: default; opacity: .9; }
.video-play[disabled]:hover { transform: translate(-50%, -50%); }
.video-soon {
  position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center;
  background: color-mix(in srgb, var(--dark) 70%, transparent); color: var(--on-dark); backdrop-filter: blur(6px);
  border-radius: 10px; padding: 10px; font-size: 14px;
}
.video-text h2 { margin-bottom: 20px; }
.video-text p { color: var(--ink-soft); font-size: 18px; max-width: 44ch; margin-bottom: 32px; }
@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-frame { max-width: 440px; }
}

/* С чем работаю */
.topics-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.topics-head p { color: var(--ink-soft); max-width: 36ch; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 72px); }
.topics li { border-top: 1px solid var(--line); }
.topic {
  position: relative; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 12px; margin: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 400 19px/1.45 var(--sans); color: var(--ink); isolation: isolate; overflow: hidden;
  border-radius: 12px; transition: color .35s var(--ease);
}
/* Заливка выезжает слева при наведении */
.topic::before {
  content: ''; position: absolute; inset: 4px 0; z-index: -1; border-radius: 12px;
  background: var(--surface); transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease);
}
.topic span { transition: transform .45s var(--ease); }
.topic svg { width: 20px; height: 20px; color: var(--accent); flex: none; opacity: .7; transition: transform .45s var(--ease), opacity .3s; }
.topic:hover::before, .topic:focus-visible::before { transform: scaleX(1); }
.topic:hover span, .topic:focus-visible span { transform: translateX(8px); }
.topic:hover svg, .topic:focus-visible svg { transform: translateX(-4px) rotate(-45deg); opacity: 1; }
.topic:active::before { background: var(--surface-2); }
.topic.picked::before { transform: scaleX(1); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.topic.picked svg { opacity: 1; }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } .topic { font-size: 17px; padding: 20px 8px; } }
@media (prefers-reduced-motion: reduce) { .topic::before, .topic span, .topic svg { transition: none; } }

.form-card.flash { animation: form-flash 1.2s var(--ease); }
@keyframes form-flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
@media (prefers-reduced-motion: reduce) { .form-card.flash { animation: none; } }

/* Отзывы */
.reviews { overflow: hidden; }
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.reviews-nav { display: none; gap: 8px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s;
}
.round-btn:hover { background: var(--surface); }
.round-btn svg { width: 20px; height: 20px; }
.reviews-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(42,34,29,.03);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.review:nth-child(3n+2) { background: #efe2da; border-color: #e3d2c7; }
.review:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(42,34,29,.28); }
.review-top { display: flex; justify-content: space-between; align-items: flex-start; }
.review-quote { font: 500 72px/0.6 var(--serif); color: #cbbcae; height: 34px; }
.review-chip { background: rgba(42,34,29,.06); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink-soft); }
.review-text { font-size: 17px; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.review-text strong { color: var(--ink); font-weight: 600; }
.review-stars { display: flex; gap: 4px; color: #d7a43c; }
.review-stars svg { width: 20px; height: 20px; }
.review-author { display: flex; align-items: center; gap: 16px; }
.review-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: #9a7563; color: #fff; font: 500 26px/1 var(--serif);
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author b { display: block; font-weight: 600; font-size: 18px; }
.review-author span { color: var(--ink-soft); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .review { transition: none; } .review:hover { transform: none; } }

/* На телефоне и планшете отзывы листаются вбок */
@media (max-width: 960px) {
  .reviews-nav { display: flex; }
  .reviews-list {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 24px; scrollbar-width: none;
  }
  .reviews-list::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 min(86%, 380px); scroll-snap-align: center; }
  .review:hover { transform: none; }
}

/* Цитата */
.quote-band { display: grid; grid-template-columns: 5fr 7fr; background: var(--dark-soft); color: var(--on-dark); }
.quote-photo { position: relative; min-height: 520px; }
.quote-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.quote-band figure { margin: 0; padding: clamp(40px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.quote-band blockquote { margin: 0; font: italic 500 clamp(28px, 3.2vw, 42px)/1.25 var(--serif); }
.quote-band figcaption { margin-top: 28px; color: var(--on-dark-soft); font-size: 15px; }
@media (max-width: 760px) {
  .quote-band { grid-template-columns: 1fr; }
  .quote-photo { min-height: 0; aspect-ratio: 4 / 3.6; }
}

/* Цены */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.price-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px);
  display: flex; flex-direction: column; gap: 18px; border: 1px solid transparent;
}
.price-card.featured { border-color: var(--accent); }
.price-img { margin: calc(-1 * clamp(26px, 3.5vw, 40px)); margin-bottom: 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.price-img img { width: 100%; height: 100%; object-fit: cover; }
.price-card { overflow: hidden; }
.price-card .label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.price-card h3 { font-size: clamp(26px, 2.6vw, 32px); }
.price { font: 500 clamp(44px, 5vw, 60px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.price small { font: 400 20px var(--sans); color: var(--ink-soft); }
.price-meta { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.price-meta li { background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink-soft); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font: 500 44px/1 var(--serif); color: var(--accent); margin-bottom: 14px; }
.steps b { display: block; font-weight: 600; margin-bottom: 6px; }
.steps span { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 8px; } }

/* Контакты и форма */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-intro h2 { margin-bottom: 22px; }
.contact-intro p { color: var(--on-dark-soft); font-size: 18px; max-width: 42ch; }
.tg-card {
  margin-top: 36px; display: flex; align-items: center; gap: 18px;
  background: var(--accent); color: #fff; text-decoration: none;
  border-radius: var(--radius-lg); padding: 24px 26px; transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.tg-card:hover { background: var(--accent-hover); }
.tg-card:active { transform: scale(0.99); }
.tg-card .ico { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.tg-card .ico svg { width: 28px; height: 28px; }
.tg-card b { display: block; font-size: 19px; font-weight: 600; }
.tg-card span { font-size: 15px; opacity: .8; }
.tg-card .arrow { margin-left: auto; width: 24px; height: 24px; flex: none; }
.contact-photo { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); }
.form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); margin-bottom: 26px; font-size: 16px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field .req { color: var(--accent); }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 400 16px/1.4 var(--sans); transition: border-color .15s;
}
.input:hover { border-color: #b9aa98; }
.input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 20%, transparent); }
textarea.input { min-height: 110px; resize: vertical; }
.field-error { color: #9b1c1c; font-size: 14px; margin-top: 6px; min-height: 0; }
.input[aria-invalid="true"] { border-color: #b42318; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; margin: 0;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font-weight: 500; font-size: 15px; transition: background-color .15s, border-color .15s, color .15s;
}
.chips input:checked + label { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.hint { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.form-status { margin-top: 14px; font-size: 15px; }
.form-status.error { color: #9b1c1c; }
.form-done { text-align: center; padding: 20px 0; }
.form-done svg { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 14px; }
.form-done p { color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Подвал */
.footer { background: var(--dark); color: var(--on-dark-soft); padding: 40px 0 120px; font-size: 14px; border-top: 1px solid rgba(241,233,223,.1); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer b { color: var(--on-dark); font: 500 20px var(--serif); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-dark); }
@media (min-width: 861px) { .footer { padding-bottom: 40px; } }

/* Плавающая кнопка на телефоне */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translateY(140%); transition: transform .35s var(--ease);
  box-shadow: 0 10px 30px rgba(31, 25, 21, .28);
}
.mobile-cta.show { transform: none; }
@media (min-width: 861px) { .mobile-cta { display: none; } }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mobile-cta, .btn, .tg-card { transition: none; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}
.form-done:focus { outline: none; }

.form-card { scroll-margin-top: 88px; }

/* Узкий телефон: в шапке кнопка Telegram становится иконкой, чтобы шапка помещалась */
@media (max-width: 480px) {
  .header .wrap { gap: 12px; }
  .nav { gap: 8px; }
  .nav .btn.nav-tg { width: 44px; padding: 0; margin-left: 0; }
  .nav-tg-label { display: none; }
  .brand b { font-size: 20px; }
  .brand small { font-size: 11px; letter-spacing: .02em; }
}

/* Колонки сетки не распираются длинными словами и никами */
.contact-grid > *, .about-grid > *, .recognize-grid > *, .video-grid > *, .price-grid > *, .why-cards > * { min-width: 0; }
.tg-card span, .review-text, .lead-contact { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .tg-card { padding: 18px; gap: 14px; }
  .tg-card .ico { width: 44px; height: 44px; }
}
