:root{
  /* Роза + кофе + беж: мягко, но уверенно, аудитория 40+ */
  --bg-deep: #faf6f2;
  --bg-mid: #f5ebe4;
  --surface: rgba(255, 248, 242, 0.9);
  --surface-2: rgba(255, 244, 236, 0.97);
  --surface-inset: rgba(255, 246, 238, 0.95);
  --surface-elevated: #fff9f4;
  /* Карточки и формы: тёплый крем + кофейная тень */
  --surface-card: rgba(255, 248, 240, 0.85);
  --surface-glass: rgba(255, 248, 240, 0.88);
  --text: #3e2a26;
  --heading: #4a2f2a;
  --muted: rgba(62, 42, 38, 0.88);
  --muted-2: rgba(90, 62, 54, 0.58);
  --border: rgba(160, 120, 100, 0.28);
  --border-card: rgba(185, 150, 130, 0.38);
  --shadow: 0 6px 32px rgba(100, 70, 55, 0.08);
  --shadow-card: 0 15px 40px rgba(120, 80, 60, 0.2), 0 4px 14px rgba(100, 75, 60, 0.08);
  --shadow-card-hover: 0 22px 48px rgba(110, 72, 55, 0.26), 0 8px 20px rgba(100, 75, 60, 0.12);
  --shadow-glass: 0 15px 40px rgba(120, 80, 60, 0.2), 0 6px 18px rgba(100, 75, 60, 0.1);

  /* Приглушённый сирень — акценты без «облака» */
  --accent: #8e6f8e;
  --accent-dim: rgba(142, 111, 142, 0.14);
  --accent-2: #b0897a;
  --accent-2-dim: rgba(176, 137, 122, 0.16);
  --accent-3: #a8908e;
  /* Подзаголовок hero: тёплый акцент к палитре кофе/розы (контраст бежу, не неон) */
  --subtitle-accent: #9c2f3c;
  --subtitle-accent-glow: rgba(156, 47, 60, 0.32);
  --ink: #2a1c18;
  --ink-soft: #5a3e36;
  --accent-gold: #9a7358;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Literata", "Georgia", serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --container: 1140px;
  --container-hero: 1280px;

  /* Полноэкранный фон с пионами (файл в корне проекта) */
  --page-bg-image: url("./flowers.png");
}

*{ box-sizing: border-box; }

/* Минималистичные SVG-иконки (outline) */
.icon{
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.icon-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(154, 115, 74, 0.72);
}
.icon-circle{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(176, 137, 122, 0.1);
  color: rgba(90, 62, 54, 0.78);
}
.icon-circle .icon{
  width: 20px;
  height: 20px;
}
html{
  scroll-behavior: smooth;
  background: var(--bg-deep);
}
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.55;
  letter-spacing: 0.02em;
  background-color: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* Слой 1: фото цветов на весь экран, cover, без повтора, фиксированное при скролле */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-deep);
  background-image: var(--page-bg-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: scroll;
  pointer-events: none;
}

/* Слой 2: белая вуаль 40–60% + лёгкое размытие фото — текст читается лучше */
body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 248, 242, 0.58) 0%,
    rgba(252, 244, 236, 0.5) 40%,
    rgba(255, 250, 245, 0.62) 100%
  );
  backdrop-filter: blur(6px) saturate(1.06);
  -webkit-backdrop-filter: blur(6px) saturate(1.06);
}

/* Декоративные блики под оверлеем не нужны — убираем лишнюю отрисовку */
.page-bloom{
  display: none;
}

/* Без multiply — он затемняет светлый фон. Лёгкая фактура, почти незаметная */
.page-noise{
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 3;
  opacity: .018;
  mix-blend-mode: normal;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.reveal-on-scroll{
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js-reveal-ready .reveal-on-scroll:not(.is-visible){
  opacity: 0;
  transform: translateY(26px);
}
html.js-reveal-ready .reveal-on-scroll.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}

@keyframes badgeIn{
  from{ opacity: 0; transform: translateY(12px) scale(.97); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

main#main{
  position: relative;
  z-index: 2;
}

.container{
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 10px;
  background: linear-gradient(135deg, #c8a58a, #a67c6b);
  color: #fffaf8;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-family: var(--font-body);
  font-weight: 600;
}
.skip-link:focus{ left: 16px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px) saturate(1.06);
  background: rgba(255, 248, 240, 0.88);
  border-bottom: 1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 28px rgba(100, 75, 60, 0.07);
}
.header-inner{
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.brand-mark{
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 16px 16px 16px 6px;
  background:
    radial-gradient(16px 16px at 35% 30%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(145deg, #d4b49a 0%, #c8a58a 42%, #a67c6b 100%);
  box-shadow:
    0 8px 28px rgba(120, 85, 65, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.08; min-width: 0; }
.brand-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.02em;
  color: var(--heading);
}
.brand-sub{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-top: 4px;
  font-weight: 500;
}

.nav{
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a{
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: background .18s ease, color .18s ease;
}
.nav a:hover{
  background: var(--surface-2);
  color: var(--text);
}
.nav-cta{
  background: linear-gradient(180deg, #f8ede4, #f3e5dc);
  border: 1px solid rgba(160, 120, 100, 0.35);
  color: #5a3e36;
  margin-left: 4px;
}
.nav-cta:hover{
  background: #efe0d4;
  border-color: rgba(140, 100, 85, 0.45);
}

.burger{
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text);
}
.burger-lines{
  width: 18px;
  height: 12px;
  display: block;
  margin: 0 auto;
  background:
    linear-gradient(var(--text), var(--text)) 0 0/100% 2px,
    linear-gradient(var(--text), var(--text)) 0 50%/100% 2px,
    linear-gradient(var(--text), var(--text)) 0 100%/100% 2px;
  background-repeat: no-repeat;
}
.mobile-nav{
  display: none;
  padding: 14px 0 18px;
  border-top: 1px solid var(--border);
}
.mobile-nav a{
  display: block;
  padding: 12px 16px;
  color: var(--muted);
  font-weight: 600;
}
.mobile-nav .nav-cta{
  margin: 6px 16px 0;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 12px 16px;
}
.mobile-nav.is-open{ display: block; }

/* Hero */
.hero{
  padding: 36px 0 32px;
  position: relative;
}
.hero::before{
  content: "";
  position: absolute;
  left: 8%;
  top: 12%;
  width: 1px;
  height: min(180px, 28vh);
  background: linear-gradient(180deg, #c4a090, transparent);
  opacity: .5;
  pointer-events: none;
}
.hero-body.container{
  width: min(var(--container-hero), calc(100% - 36px));
  max-width: var(--container-hero);
}
.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  margin-bottom: 22px;
}
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(255, 248, 240, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.hero-badges .badge{
  animation: badgeIn .75s ease both;
}
.hero-badges .badge:nth-child(1){ animation-delay: .06s; }
.hero-badges .badge:nth-child(2){ animation-delay: .16s; }
.hero-badges .badge:nth-child(3){ animation-delay: .26s; }

.hero-main-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(336px, min(520px, 46vw));
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  margin-bottom: 0;
}
.hero-portrait{
  margin: 0;
}
.hero-portrait-frame{
  border-radius: 28px 28px 28px 10px;
  overflow: hidden;
  padding: 5px;
  background: rgba(255, 248, 240, 0.55);
  border: 1px solid rgba(200, 170, 150, 0.42);
  box-shadow:
    0 15px 40px rgba(120, 80, 60, 0.16),
    0 4px 14px rgba(100, 75, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}
/* Лёгкий оттенок «лесной зелени» из портрета — тонкая оправа, не конкурирует с бежем */
.hero-portrait-frame::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(58, 82, 68, 0.12);
}
.hero-portrait img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 24px 24px 24px 8px;
}
.hero-copy .hero-title{
  max-width: min(30ch, 100%);
  font-size: clamp(2.35rem, 5.4vw, 3.95rem);
}
.hero-copy .hero-subtitle{
  display: block;
  margin: 18px 0 0;
  max-width: min(52ch, 100%);
  min-height: 2.6em;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  font-weight: 600;
  font-style: italic;
  font-synthesis: none;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--subtitle-accent);
  text-shadow:
    0 1px 0 rgba(255, 252, 248, 0.45),
    0 2px 24px var(--subtitle-accent-glow);
}

.hero-subtitle__text{
  white-space: pre-wrap;
}

.hero-subtitle__cursor{
  margin-left: 0.12em;
  display: inline-block;
  font-style: normal;
  font-weight: 600;
  opacity: 1;
}

.hero-subtitle--no-motion .hero-subtitle__cursor{
  display: none;
}

@keyframes heroSubtitleCursorBlink{
  0%,
  45%{ opacity: 1; }
  50%,
  95%{ opacity: 0.15; }
  100%{ opacity: 1; }
}

.hero-subtitle__cursor--css-blink{
  animation: heroSubtitleCursorBlink 1s step-end infinite;
}

@media (prefers-reduced-motion: reduce){
  .hero-copy .hero-subtitle{
    text-shadow: none;
  }
}
.hero-copy .hero-subtitle + .hero-cta{
  margin-top: 24px;
}

.hero-cta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 10px;
  margin-bottom: 8px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

/* Специфичность выше любых общих правил для ссылок / кнопок */
.hero-copy a.hero-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 4.25rem;
  padding: 34px 64px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(21px, 3.4vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff9f5;
  border: 1px solid rgba(74, 38, 44, 0.38);
  background: linear-gradient(
    165deg,
    #8f5a62 0%,
    #7a4a54 38%,
    #6a3f4a 72%,
    #5c3643 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 240, 236, 0.12) inset,
    0 10px 28px rgba(72, 38, 48, 0.2),
    0 3px 12px rgba(60, 32, 40, 0.12);
  transition:
    filter 0.4s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

.hero-copy a.hero-cta__btn:hover{
  filter: brightness(0.88);
  box-shadow:
    0 1px 0 rgba(255, 236, 228, 0.08) inset,
    0 8px 22px rgba(52, 28, 36, 0.24),
    0 2px 10px rgba(48, 26, 32, 0.14);
}

.hero-copy a.hero-cta__btn:focus-visible{
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.hero-copy a.hero-cta__btn:active{
  transform: translateY(1px);
  filter: brightness(0.82);
}

.hero-copy p.hero-cta__hint{
  margin: 20px 0 0;
  margin-bottom: 0;
  max-width: none;
  width: max-content;
  font-size: clamp(13px, 2.35vw, 1.15rem);
  line-height: 1.3;
  color: var(--muted-2);
  white-space: nowrap;
}

.badge-soft{
  border-color: rgba(200, 160, 140, 0.35);
  background: rgba(255, 244, 236, 0.92);
  color: var(--ink-soft);
}
.badge-accent{
  border-color: rgba(160, 120, 100, 0.35);
  background: rgba(255, 248, 240, 0.95);
  color: var(--ink-soft);
}

.hero-title{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.2vw, 3.65rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #3e2a26;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  max-width: 14ch;
}
.text-accent{
  display: block;
  margin-top: 0.12em;
  font-style: normal;
  font-weight: 600;
  color: inherit;
}
/* Заголовки секций — тёплый шоколад, без «сиреневого тумана» */
.section-head h2,
.card-title,
.aside-title,
.feature h3,
.plan-top h3,
.timeline-head h3,
.contact-left h2,
.footer-brand b,
.faq-item summary{
  color: var(--heading);
}

.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: .18s;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-block{ width: 100%; }

.btn-primary{
  background-color: #3d261c;
  background-image: linear-gradient(
    135deg,
    #8f6658 0%,
    #744838 22%,
    #5e362c 45%,
    #4c281e 65%,
    #3a1e16 85%,
    #2a1510 100%
  );
  border-color: rgba(72, 42, 32, 0.46);
  color: rgba(255, 244, 236, 0.96);
  box-shadow:
    0 1px 0 rgba(255, 236, 224, 0.06) inset,
    0 7px 20px rgba(56, 30, 22, 0.22),
    0 2px 9px rgba(68, 38, 28, 0.16);
}
.btn-primary:hover{
  background-image: linear-gradient(
    135deg,
    #9e7464 0%,
    #805040 22%,
    #684030 45%,
    #523024 65%,
    #3e2218 85%,
    #2e1812 100%
  );
  border-color: rgba(58, 34, 26, 0.52);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 240, 228, 0.08) inset,
    0 12px 30px rgba(52, 28, 20, 0.26),
    0 4px 14px rgba(64, 36, 26, 0.18);
}
.btn-primary:active{
  transform: translateY(0);
}
.btn-ghost{
  background: #f3e5dc;
  border-color: rgba(160, 120, 100, 0.35);
  color: #5a3e36;
}
.btn-ghost:hover{
  background: #ead5c8;
  border-color: rgba(140, 100, 85, 0.45);
  color: #4a342c;
}

.hero-mini{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 22px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: .26s;
}
.mini-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.mini-item:hover{
  transform: translateY(-3px);
  border-color: rgba(175, 145, 125, 0.45);
  box-shadow: var(--shadow-card-hover);
}
.mini-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px 14px 14px 4px;
  background: var(--accent-dim);
  border: 1px solid rgba(165, 130, 115, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-item:nth-child(2) .mini-icon{
  background: var(--accent-2-dim);
  border-color: rgba(170, 135, 118, 0.3);
}
.mini-icon svg{ width: 22px; height: 22px; stroke: var(--accent); }
.mini-item:nth-child(2) .mini-icon svg{ stroke: var(--accent-2); }
.mini-text{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.mini-text b{
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.mini-text span{
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 5px;
}

.anketa-card{
  margin-top: 18px;
  padding: 22px 24px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(255, 251, 247, 0.98) 0%,
    rgba(255, 244, 238, 0.97) 45%,
    rgba(252, 238, 236, 0.96) 100%
  );
  border: 1px solid rgba(190, 155, 138, 0.32);
  box-shadow:
    0 10px 32px rgba(120, 82, 68, 0.11),
    0 3px 12px rgba(100, 72, 58, 0.07);
}
.anketa-card .anketa-block{
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.contact-section .anketa-card .anketa-block--left{
  margin-top: 0;
  padding-top: 0;
}

.anketa-block{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(160, 120, 100, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.anketa-block__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  max-width: 52em;
}
.anketa-block__btn{
  flex-shrink: 0;
}
.anketa-block--left{
  align-items: flex-start;
  text-align: left;
}
.contact-section .anketa-block--left{
  margin-top: 18px;
  padding-top: 18px;
}

.card{
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 8px 28px 28px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover{
  border-color: rgba(175, 145, 125, 0.48);
  box-shadow: var(--shadow-card-hover);
}

/* Glassmorphism: форма в контактах */
.contact-right.card{
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 170, 150, 0.45);
  box-shadow:
    var(--shadow-glass),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.contact-right.card:hover{
  box-shadow:
    0 20px 48px rgba(120, 80, 60, 0.24),
    0 8px 22px rgba(100, 75, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.card-title{
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.card-sub{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.form{ display: grid; gap: 14px; position: relative; z-index: 1; }
.field{
  display: grid;
  gap: 8px;
}
.label{
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
input{
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
}
input::placeholder{ color: var(--muted-2); }
input:focus{
  border-color: rgba(160, 120, 100, 0.45);
  box-shadow: 0 0 0 3px rgba(160, 120, 100, 0.14);
  background: #fff;
}
.form-note{
  margin: 2px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.45;
}
.form-status{
  margin: 0;
  font-weight: 600;
  color: #8b4a5c;
  min-height: 18px;
  font-size: 14px;
}

.hero-aside{
  padding: clamp(28px, 4.5vw, 46px) clamp(24px, 5vw, 52px);
  margin-top: 22px;
  border-radius: 28px 8px 28px 28px;
}
.hero-aside-inner{
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
}
.aside-title{
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
/* Заголовок карточки — как у «Обо мне» (.section-head h2) */
.hero-aside .aside-title{
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin-bottom: clamp(18px, 2.5vw, 22px);
  text-align: center;
}
.check-list{
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.check-list li{
  margin: 11px 0;
  line-height: 1.55;
}
.check-list--icons{
  list-style: none;
  padding-left: 0;
}
.check-list--icons li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 11px 0;
}
.check-list__marker{
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(154, 115, 74, 0.72);
}
.check-list__marker .icon{
  display: block;
}
.hero-aside .check-list{
  margin: 0 auto;
  padding-left: 1.35rem;
  padding-right: 0.25rem;
  max-width: 38rem;
}
.hero-aside .check-list li{
  margin: 17px 0;
  line-height: 1.68;
}
.hero-aside .check-list--icons{
  padding-left: 0;
}
.hero-aside .check-list--icons li{
  margin: 14px 0;
}
.aside-foot{
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(160, 120, 100, 0.22);
  font-size: 0.98rem;
  line-height: 1.55;
}
.hero-aside .aside-foot{
  margin-top: clamp(22px, 3vw, 28px);
  padding-top: clamp(18px, 2.5vw, 22px);
  text-align: center;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* Чек-лист — ширина как у «Постепенно вам станет легче», плотная вёрстка */
.checklist-lead{
  margin-top: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(20px, 3vw, 32px);
  padding: clamp(6px, 1.2vw, 12px) 0;
  width: 100%;
}
.checklist-lead__inner{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(26px, 3.8vw, 40px) clamp(24px, 4vw, 44px);
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(185, 150, 130, 0.22);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 28px rgba(120, 80, 60, 0.065),
    0 1px 0 rgba(255, 255, 255, 0.42) inset;
  text-align: center;
}
.checklist-lead__title{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.18;
  color: var(--heading);
}
.checklist-lead__text{
  margin: 0 auto 8px;
  max-width: min(58ch, 100%);
  font-size: 1rem;
  line-height: 1.62;
}
.checklist-lead__text:last-of-type{
  margin-bottom: 16px;
}
.checklist-lead__actions{
  display: flex;
  justify-content: center;
  margin-top: 2px;
}
.checklist-lead__actions .btn{
  min-width: min(100%, 16rem);
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
}
.checklist-lead__form-wrap{
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(175, 145, 125, 0.2);
  animation: checklistFormIn 0.3s ease both;
}
@keyframes checklistFormIn{
  from{
    opacity: 0;
    transform: translateY(-4px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.checklist-lead__form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  text-align: left;
  align-items: end;
}
.checklist-lead__form.lead-form{
  align-items: stretch;
}
.checklist-lead__form .field{
  margin: 0;
}
.checklist-lead__form .label{
  margin-bottom: 6px;
}
.checklist-lead__error{
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #8b4a5c;
  line-height: 1.45;
}
.checklist-lead__submit{
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 17rem);
  margin-top: 2px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
}
.checklist-lead__consent{
  grid-column: 1 / -1;
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}
.checklist-lead__success-card{
  display: none;
  margin-top: 18px;
  padding: 20px;
  background: rgba(247, 243, 241, 0.9);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(185, 150, 130, 0.2);
}
.checklist-lead__success-card:target{
  display: block;
}
.checklist-lead__success-card:target + .checklist-lead__form{
  display: none;
}
.checklist-lead__success-title{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--heading);
  font-size: 1.25rem;
  line-height: 1.2;
}
.checklist-lead__success-text{
  margin: 0 0 8px;
}
.checklist-lead__download{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  width: min(100%, 18rem);
}
.checklist-lead__success-note{
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted-2);
}
.checklist-lead__success{
  margin: 16px 0 0;
  text-align: center;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--heading);
}
@media (prefers-reduced-motion: reduce){
  .checklist-lead__form-wrap{
    animation: none;
  }
}
@media (max-width: 560px){
  .checklist-lead__form{
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }
  .checklist-lead__submit{
    width: 100%;
    max-width: none;
  }
}

/* Consult (текст + превью теста) */
.consult-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  max-width: 1100px;
  margin: 0 auto;
}

.consult-text {
  flex: 1.3;
  max-width: 600px;
  line-height: 1.6;
}

.consult-text h2,
.consult-text h3 {
  max-width: 90%;
}

.consult-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  max-width: 520px;
}

.consult-preview img {
  width: 100%;
  height: 460px;
  object-fit: cover;

  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.quiz-bottom-btn {
  padding: 14px 36px;
  background: #2f6b57;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.2s;
}

.quiz-bottom-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

@media (max-width: 900px) {
  .consult-section {
    flex-direction: column;
    text-align: center;
  }

  .consult-text {
    max-width: 100%;
  }

  .consult-preview img {
    max-width: 100%;
  }
}

/* После «Подходит…»: результат, много воздуха, лёгкие карточки */
.results-ease{
  margin-top: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
  width: 100%;
}
.results-ease__inner{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: clamp(44px, 6.5vw, 72px) clamp(28px, 5vw, 52px);
  background: rgba(255, 252, 248, 0.58);
  border: 1px solid rgba(185, 150, 130, 0.2);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 32px rgba(120, 80, 60, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
}
.results-ease__title{
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.9vw, 2.85rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.14;
  color: var(--heading);
  text-align: center;
}
.results-ease__subtitle{
  margin: 0 auto clamp(40px, 5vw, 56px);
  max-width: 48ch;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}
.results-ease__grid{
  list-style: none;
  margin: 0 0 clamp(40px, 5vw, 56px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: clamp(22px, 3vw, 32px) clamp(24px, 3.5vw, 36px);
}
.results-ease__grid li{
  margin: 0;
  min-height: 6.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 30px);
  background: rgba(255, 248, 240, 0.78);
  border: 1px solid rgba(175, 145, 125, 0.24);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 1.09rem;
  line-height: 1.62;
  box-shadow: 0 3px 16px rgba(100, 75, 60, 0.045);
}
.results-ease__foot{
  margin: 0 auto;
  max-width: 44ch;
  text-align: center;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}
@media (max-width: 820px){
  .results-ease{
    margin-top: 28px;
  }
  .results-ease__inner{
    padding: 36px 22px 40px;
  }
  .results-ease__title{
    margin-bottom: 20px;
  }
  .results-ease__subtitle{
    margin-bottom: 32px;
    font-size: 1.05rem;
  }
  .results-ease__grid{
    margin-bottom: 36px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .results-ease__grid li{
    min-height: 0;
    padding: 22px 20px;
    font-size: 1.04rem;
  }
}

/* «Обо мне»: силуэт в фоне секции (не в карточке) */
.about-section{
  position: relative;
}
.about-section.section-soft{
  background: linear-gradient(
    180deg,
    rgba(247, 242, 234, 0.96),
    rgba(255, 250, 244, 0.78)
  );
}
.about-section::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(0deg, rgba(111, 85, 76, 0.035) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(111, 85, 76, 0.028) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
}
.about-section > .container{
  position: relative;
  z-index: 1;
}
.about-section::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(247, 242, 234, 1) 0%, rgba(247, 242, 234, 0.92) 24%, rgba(247, 242, 234, 0.55) 46%, rgba(247, 242, 234, 0) 64%),
    url("woman-lines.png");
  background-repeat: no-repeat, no-repeat;
  background-position:
    left center,
    right 260px bottom calc(clamp(0px, 1.5vw, 14px) + 30px);
  background-size: 700px auto;
  /* multiply: подложка PNG с градиентом секции; contrast + saturate — читаемее линии */
  mix-blend-mode: multiply;
  opacity: 0.82;
  filter: contrast(1.48) saturate(1.35);
  border-radius: 28px;
  -webkit-mask-image:
    radial-gradient(circle at 74% 56%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.55) 68%, rgba(0,0,0,0) 96%),
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0.35) 46%, rgba(0,0,0,0.85) 62%, rgba(0,0,0,1) 76%, rgba(0,0,0,1) 100%);
  mask-image:
    radial-gradient(circle at 74% 56%, rgba(0,0,0,1) 40%, rgba(0,0,0,0.55) 68%, rgba(0,0,0,0) 96%),
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0.35) 46%, rgba(0,0,0,0.85) 62%, rgba(0,0,0,1) 76%, rgba(0,0,0,1) 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
  z-index: 0;
}

/* «Обо мне»: плашка справа с верхом на уровне заголовка h2 */
.about-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "head card"
    "intro card";
  column-gap: clamp(22px, 3.5vw, 40px);
  row-gap: clamp(10px, 1.5vw, 16px);
  align-items: start;
}
.about-layout .about-layout__head{
  grid-area: head;
  margin-bottom: 0;
}
.about-layout__intro{
  grid-area: intro;
}
.about-layout__card{
  grid-area: card;
  align-self: start;
}
.about-blocks{
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  max-width: 62ch;
}
.about-block__label{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--heading);
}
.about-block .muted{
  margin: 0 0 10px;
  font-size: 1.04rem;
  line-height: 1.68;
  max-width: 58ch;
}
.about-block .muted:last-child{
  margin-bottom: 0;
}
.about-card{
  padding: 26px 28px;
  border-radius: 28px;
}
.about-layout .about-card{
  margin: 0;
  max-width: none;
}
/* Правый блок «Обо мне»: без «карточной» подложки — текст на фоне секции */
.about-layout .about-card.about-card--note{
  padding: 17px 22px;
  position: relative;
  z-index: 1;
  background: rgba(255, 252, 248, 0.62);
  border: 1px solid rgba(185, 150, 130, 0.22);
  box-shadow:
    0 10px 26px rgba(120, 80, 60, 0.08),
    0 2px 8px rgba(100, 75, 60, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.about-layout .about-card.about-card--note::before{
  content: "";
  position: absolute;
  inset: -14px -16px;
  border-radius: 26px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  background:
    radial-gradient(360px 240px at 22% 42%, rgba(255, 236, 225, 0.55), transparent 74%),
    radial-gradient(520px 320px at 78% 58%, rgba(230, 206, 196, 0.38), transparent 72%),
    linear-gradient(120deg, rgba(255, 248, 242, 0.22), rgba(247, 242, 234, 0));
  filter: blur(10px);
  animation: aboutNoteGlow 9s ease-in-out infinite alternate;
}
.about-layout .about-card.about-card--note > *{
  position: relative;
  z-index: 1;
}
.about-layout .about-card.about-card--note:hover::before{
  opacity: 0.52;
}

@keyframes aboutNoteGlow{
  0%{
    transform: translate3d(-10px, 6px, 0) scale(1.02);
  }
  100%{
    transform: translate3d(10px, -6px, 0) scale(1.05);
  }
}
.about-layout .about-card.about-card--note:hover{
  box-shadow:
    0 14px 34px rgba(120, 80, 60, 0.10),
    0 4px 10px rgba(100, 75, 60, 0.06);
  border-color: rgba(175, 145, 125, 0.30);
}
.about-card--note .muted{
  margin: 0 0 12px;
  font-size: 1.04rem;
  line-height: 1.68;
  max-width: 34ch;
}
.about-card--note .muted:last-child{
  margin-bottom: 0;
}
@media (max-width: 820px){
  .about-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "intro"
      "card";
  }
  .about-section::after{
    background-position:
      left center,
      right -40px bottom 30px;
    background-size: 520px auto;
    opacity: 0.66;
  }
  .about-layout__card{
    align-self: stretch;
  }
  .about-blocks{
    max-width: none;
  }
  .about-block .muted{
    max-width: none;
  }
  .about-card--note .muted{
    max-width: none;
  }
}

/* Как проходит работа — этапы + отдельный блок о партнёрстве */
.work-flow-section{
  padding: clamp(56px, 7vw, 88px) 0;
}
.work-flow-stack{
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 8vw, 80px);
}
.work-flow-block__head{
  margin-bottom: clamp(26px, 4vw, 36px);
}
.work-flow-block__head h2{
  margin-bottom: 0;
}
.work-steps-lead{
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--muted);
}
.work-flow-block__title{
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.work-partnership-panel{
  margin: 0;
  padding: clamp(30px, 5vw, 48px);
  background: rgba(255, 252, 248, 0.88);
  border: 1px solid rgba(175, 145, 125, 0.24);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 22px rgba(120, 80, 60, 0.07),
    0 1px 4px rgba(100, 75, 60, 0.04);
}
.work-partnership-panel .work-flow-block__title{
  margin-bottom: 18px;
}
.work-partnership-heading{
  margin-bottom: 18px;
}
.work-partnership-heading .work-flow-block__title{
  margin: 0;
  flex: 1;
  min-width: 0;
}
.work-partnership-panel .work-partnership-heading .work-flow-block__title{
  margin-bottom: 0;
}
.work-steps__title-row{
  align-items: flex-start;
  margin: 0 0 8px;
}
.work-steps__title-row .work-steps__line{
  margin: 0;
  flex: 1;
  min-width: 0;
}
.format-card__icon{
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
  color: rgba(154, 115, 74, 0.72);
}
.faq-section__title-row{
  align-items: flex-start;
}
.faq-section__title-row .icon{
  margin-top: 6px;
  color: rgba(154, 115, 74, 0.72);
}
.faq-section__title-row h2{
  margin: 0;
  flex: 1;
  min-width: 0;
}
.work-partnership-intro{
  max-width: 58ch;
}
.work-partnership-intro p{
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.65;
}
.work-partnership-intro p:last-child{
  margin-bottom: 0;
}
.work-partnership-bridge{
  margin: 22px 0 26px;
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.55;
  white-space: nowrap;
}
@media (max-width: 520px){
  .work-partnership-bridge{
    white-space: normal;
  }
}
.work-partnership-cols{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  align-items: stretch;
}
.work-partnership-card{
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(175, 145, 125, 0.16);
  border-radius: var(--radius-md);
}
.work-partnership-label{
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.work-partnership-list{
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}
.work-partnership-list li{
  margin: 6px 0;
}
.work-partnership-foot{
  margin: 28px 0 0;
  padding-top: 20px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  border-top: 1px solid rgba(175, 145, 125, 0.2);
}
.work-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.work-steps__item{
  margin: 0;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(175, 145, 125, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(120, 80, 60, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.work-steps__item:hover{
  border-color: rgba(175, 145, 125, 0.3);
  box-shadow: 0 4px 18px rgba(120, 80, 60, 0.07);
}
.work-steps__num{
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
}
.work-steps__line{
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.9vw, 1.14rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.work-steps__hint{
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  max-width: 44ch;
}
.work-steps__title{
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
}
.work-steps__body .muted{
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
  max-width: 42ch;
}
@media (max-width: 720px){
  .work-steps{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .work-steps__body .muted,
  .work-steps__hint{
    max-width: none;
  }
  .work-partnership-cols{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.plan-list-intro{
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* «Вы узнаете себя…» — внутри hero, над блоком «Подходит, если» */
.recognize-section{
  margin-top: 18px;
  padding: 24px 0 18px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.88) 0%, rgba(250, 244, 238, 0.38) 100%);
  border-radius: var(--radius-md);
}
.recognize-inner{
  max-width: min(72rem, 100%);
  margin: 0 auto;
}
.recognize-split{
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: nowrap;
}
.recognize-content{
  flex: 1;
  min-width: 0;
}
.recognize-media{
  flex: 0 0 min(420px, 100%);
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  text-decoration: none;
}
.recognize-media img{
  width: 100%;
  display: block;
}
.quiz-preview{
  position: relative;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  border-radius: 24px;
  overflow: hidden;
}
.quiz-preview__link{
  display: block;
}
.quiz-preview__link img{
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.quiz-start-btn{
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;

  padding: 14px 28px;
  background: #2f6b57;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;

  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.quiz-start-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}
.recognize-head.section-head{
  margin-bottom: 26px;
}
.recognize-head.section-head h2{
  font-size: clamp(1.42rem, 2.85vw, 2.05rem);
  line-height: 1.24;
  max-width: 36ch;
}
.recognize-list{
  margin: 0 0 32px;
  padding-left: 1.45rem;
  color: var(--text);
  list-style-type: disc;
}
.recognize-list li{
  margin: 0.65rem 0;
  padding-left: 0.25rem;
  line-height: 1.65;
  font-size: 1.03rem;
}
.recognize-list li::marker{
  color: rgba(154, 115, 108, 0.65);
}
.recognize-bridge{
  margin: 0 0 28px;
  padding: 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.06rem;
}
.recognize-cta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.recognize-section a.recognize-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3.1rem;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff9f5;
  border: 1px solid rgba(74, 38, 44, 0.38);
  background: linear-gradient(
    165deg,
    #8f5a62 0%,
    #7a4a54 38%,
    #6a3f4a 72%,
    #5c3643 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 240, 236, 0.12) inset,
    0 6px 20px rgba(72, 38, 48, 0.18),
    0 2px 10px rgba(60, 32, 40, 0.1);
  transition:
    filter 0.35s ease,
    box-shadow 0.3s ease,
    transform 0.22s ease;
}
.recognize-section a.recognize-cta__btn:hover{
  filter: brightness(0.9);
  box-shadow:
    0 1px 0 rgba(255, 236, 228, 0.08) inset,
    0 5px 16px rgba(52, 28, 36, 0.2),
    0 2px 8px rgba(48, 26, 32, 0.12);
}
.recognize-section a.recognize-cta__btn:focus-visible{
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.recognize-section a.recognize-cta__btn:active{
  transform: translateY(1px);
  filter: brightness(0.85);
}
@media (max-width: 820px){
  .recognize-section{
    margin-top: 14px;
    padding: 18px 0 12px;
  }
  .recognize-inner{
    max-width: none;
  }
  .recognize-split{
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .recognize-media{
    max-width: 520px;
    margin-left: 0;
    margin-right: auto;
  }
  .quiz-preview{
    max-width: 520px;
    margin-left: 0;
    margin-right: auto;
  }
  .recognize-head.section-head h2{
    max-width: none;
  }
  .recognize-list{
    margin-bottom: 28px;
  }
  .recognize-list li{
    font-size: 1rem;
  }
  .recognize-bridge{
    margin-bottom: 24px;
    font-size: 1.02rem;
  }
  .recognize-section a.recognize-cta__btn{
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}

/* Sections */
.section{
  padding: 72px 0;
}
.section-soft{
  background: linear-gradient(180deg, rgba(250, 244, 238, 0.94), rgba(255, 248, 242, 0.72));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{
  margin-bottom: 28px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid rgba(166, 124, 82, .55);
}
.section-head h2{
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
}
.section-head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 65ch;
  font-size: 1.05rem;
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature{
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}
.feature:hover{
  transform: translateY(-4px);
  border-color: rgba(175, 145, 125, 0.45);
  background: rgba(255, 250, 244, 0.92);
  box-shadow: var(--shadow-card-hover);
}
.feature-icon{
  width: 48px;
  height: 48px;
  border-radius: 16px 16px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(180, 145, 130, 0.28);
  margin-bottom: 14px;
}
.feature:nth-child(2) .feature-icon{
  background: var(--accent-2-dim);
  border-color: rgba(176, 140, 120, 0.3);
}
.feature:nth-child(3) .feature-icon{
  background: rgba(180, 150, 140, 0.12);
  border-color: rgba(165, 135, 125, 0.28);
}
.feature-icon svg{
  width: 24px; height: 24px;
  stroke: var(--accent);
}
.feature:nth-child(2) .feature-icon svg{ stroke: var(--accent-2); }
.feature:nth-child(3) .feature-icon svg{ stroke: var(--accent-3); }
.feature h3{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.feature p{
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 15px;
}

/* Plans */
.plan{
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}
.plan:hover{
  transform: translateY(-4px);
  border-color: rgba(175, 145, 125, 0.45);
  box-shadow: var(--shadow-card-hover);
}
.plan-highlight{
  background:
    linear-gradient(165deg, rgba(255, 242, 230, 0.96) 0%, rgba(255, 246, 236, 0.92) 45%, rgba(255, 248, 240, 0.88) 100%);
  border-color: rgba(180, 140, 115, 0.42);
  box-shadow: var(--shadow-card-hover);
}
.plan-top h3{
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}
.plan-top .plan-desc{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 15px;
}
.plan-tag{
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-inset);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.plan-tag-accent{
  background: rgba(255, 238, 228, 0.95);
  border-color: rgba(200, 155, 130, 0.35);
}
.plan-list{
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
}
.plan-list li{
  margin: 9px 0;
  line-height: 1.55;
}
.plan-price{
  margin-top: auto;
  padding: 14px 16px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.price{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  display: block;
  color: var(--heading);
}
.price-note{
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.45;
}

/* Форматы работы — три равные карточки, без лишнего текста */
.formats-section .section-head{
  margin-bottom: clamp(22px, 3.5vw, 32px);
}
.formats-section .format-card .plan-top h3{
  font-size: clamp(1.22rem, 2.2vw, 1.38rem);
  line-height: 1.2;
}
.formats-section .format-card .plan-desc{
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.55;
}
.formats-section .format-card__format{
  margin: 6px 0 0;
  font-size: 0.93rem;
  line-height: 1.45;
}
.formats-section .format-card__list{
  flex: 1;
}
.formats-section .format-card__list li{
  margin: 5px 0;
  line-height: 1.5;
}
.formats-section .format-card .plan-price{
  margin-top: auto;
  padding: 12px 14px;
}
.formats-section .format-card .price{
  font-size: clamp(1.28rem, 2.4vw, 1.42rem);
}

.timeline{
  margin-top: 22px;
  padding: 24px;
  border-radius: 28px;
}
.timeline-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.timeline-head h3{
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.timeline-head p{
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  max-width: 64ch;
  font-size: 15px;
}
.timeline-steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step{
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 28px rgba(120, 80, 60, 0.14), 0 2px 8px rgba(100, 75, 60, 0.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.step:hover{
  transform: translateY(-3px);
  border-color: rgba(175, 145, 125, 0.42);
  box-shadow: 0 14px 36px rgba(120, 80, 60, 0.2), 0 4px 12px rgba(100, 75, 60, 0.1);
}
.step-num{
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 12px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(165, 130, 115, 0.32);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.step:nth-child(2) .step-num{
  background: var(--accent-2-dim);
  border-color: rgba(170, 135, 118, 0.32);
}
.step:nth-child(3) .step-num{
  background: rgba(180, 150, 140, 0.14);
  border-color: rgba(155, 128, 118, 0.3);
}
.step:nth-child(4) .step-num{
  background: rgba(255, 248, 242, 0.95);
  border-color: var(--border);
}
.step-body b{
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  color: var(--heading);
}
.step-body span{
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

/* Reviews */
.quote{
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}
.quote:hover{
  transform: translateY(-3px);
  border-color: rgba(175, 145, 125, 0.45);
  box-shadow: var(--shadow-card-hover);
}
.quote-top{
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.avatar{
  width: 48px;
  height: 48px;
  border-radius: 16px 16px 16px 4px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.5), transparent 55%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid var(--border);
}
.avatar-2{
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.5), transparent 55%),
    linear-gradient(135deg, var(--accent-2), var(--accent-3));
}
.avatar-3{
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.5), transparent 55%),
    linear-gradient(135deg, var(--accent-3), var(--accent));
}
.quote-sub{
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quote-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 15px;
}
.stars{
  margin-top: 16px;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
}

/* FAQ */
.faq-section__head{
  margin-bottom: clamp(24px, 3.5vw, 32px);
}
.faq{
  display: grid;
  gap: 16px;
  max-width: 52rem;
  margin: 0 auto;
}
.faq-item{
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}
.faq-item:hover{
  transform: translateY(-1px);
  border-color: rgba(175, 145, 125, 0.38);
  box-shadow: var(--shadow-card-hover);
}
.faq-item summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.35;
  outline: none;
}
.faq-item__q{
  flex: 1;
  min-width: 0;
}
.faq-item summary::after{
  content: "";
  flex-shrink: 0;
  width: 0.55em;
  height: 0.55em;
  margin-top: 0.38em;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  opacity: 0.55;
  transform: rotate(45deg);
  transition:
    transform 0.22s ease,
    opacity 0.2s ease;
}
.faq-item[open] summary::after{
  transform: rotate(-135deg);
  margin-top: 0.52em;
  opacity: 0.75;
}
.faq-item summary:focus-visible{
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(142, 111, 142, 0.35);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item[open] summary{
  color: var(--heading);
}
.faq-item .faq-body{
  margin-top: 14px;
  padding-top: 2px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.faq-item .faq-body p{
  margin: 0 0 12px;
}
.faq-item .faq-body p:last-child{
  margin-bottom: 0;
}
.faq-item .faq-body > p + ul{
  margin-top: 8px;
}
.faq-list{
  margin: 8px 0 14px;
  padding-left: 1.2rem;
  line-height: 1.72;
}
.faq-list li{
  margin: 6px 0;
  padding-left: 2px;
}
.faq-item[open]{
  border-color: rgba(175, 145, 125, 0.4);
  background: rgba(255, 250, 244, 0.92);
  box-shadow: var(--shadow-card-hover);
}
.faq-foot{
  margin: clamp(22px, 3.5vw, 32px) auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
}

/* Contact */
.contact-section{ padding-top: 80px; }
.contact-right-stack{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 26px);
  min-width: 0;
}
.contact-grid{
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  align-items: start;
  padding: clamp(26px, 4vw, 42px) clamp(22px, 3.5vw, 38px);
  border-radius: 30px;
  background: linear-gradient(165deg, #fffefb 0%, #faf6f1 48%, #f7f1ea 100%);
  border: 1px solid rgba(185, 155, 135, 0.28);
  box-shadow:
    0 22px 56px rgba(95, 68, 52, 0.11),
    0 8px 24px rgba(100, 75, 58, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.contact-left{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 18px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    165deg,
    rgba(255, 253, 250, 0.92) 0%,
    rgba(255, 247, 241, 0.82) 100%
  );
  border: 1px solid rgba(185, 155, 135, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 22px rgba(95, 68, 52, 0.05);
}
.contact-left h2{
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 8px;
}
.contact-left > p.muted{
  margin: 0 0 6px;
  line-height: 1.62;
}
.contact-left > p.muted:last-of-type{
  margin-bottom: 8px;
}
.contact-left .contact-chips{
  margin: 2px 0 8px;
}
.contact-section .anketa-card{
  margin-top: 0;
}
.muted{ color: var(--muted); line-height: 1.72; }
.contact-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}
.contact-chips--stack{
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  max-width: 100%;
}
.contact-chips__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  align-self: center;
}
.contact-chips__row .contact-chips__telegram,
.contact-chips__row .contact-chips__vk{
  min-width: 0;
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-left .contact-chips--stack{
  gap: 8px;
  align-items: center;
}
.contact-left .contact-chips__vk-caption{
  margin: 4px 0 0;
}
.contact-left .contact-chips__vk-group{
  margin: 4px 0 4px;
}
.contact-chips__vk{
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
}
/* Тёплый терракот — совпадает с «Отправить заявку» */
.contact-chips__vk.btn-primary{
  background-color: #3d261c;
  background-image:
    linear-gradient(180deg, rgba(255, 224, 205, 0.14) 0%, transparent 40%),
    linear-gradient(
      148deg,
      #8f6658 0%,
      #744838 18%,
      #5e362c 40%,
      #4c281e 60%,
      #3a1e16 80%,
      #2a1510 100%
    );
  background-repeat: no-repeat;
  border-color: rgba(72, 42, 32, 0.46);
  color: rgba(255, 244, 236, 0.96);
  box-shadow:
    0 1px 0 rgba(255, 236, 224, 0.1) inset,
    0 -3px 12px rgba(24, 12, 8, 0.26) inset,
    0 5px 18px rgba(56, 30, 22, 0.22),
    0 2px 9px rgba(68, 38, 28, 0.16);
}
.contact-chips__vk.btn-primary:hover{
  background-image:
    linear-gradient(180deg, rgba(255, 230, 210, 0.18) 0%, transparent 36%),
    linear-gradient(
      148deg,
      #9e7464 0%,
      #805040 20%,
      #684030 42%,
      #523024 62%,
      #3e2218 82%,
      #2e1812 100%
    );
  border-color: rgba(58, 34, 26, 0.52);
  color: rgba(255, 248, 242, 0.97);
  box-shadow:
    0 1px 0 rgba(255, 240, 228, 0.12) inset,
    0 -2px 10px rgba(22, 10, 6, 0.22) inset,
    0 8px 24px rgba(52, 28, 20, 0.26),
    0 3px 10px rgba(64, 36, 26, 0.2);
}
.contact-chips__vk.btn-primary:active{
  transform: translateY(0);
}
.contact-chips__vk-caption{
  margin: 6px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted-2);
}
.contact-chips__vk-group{
  align-self: center;
  margin: 8px 0 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(90, 62, 54, 0.35);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.contact-chips__vk-group:hover{
  color: var(--accent);
  text-decoration-color: rgba(142, 111, 142, 0.55);
}
.contact-chips__telegram{
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(118, 88, 102, 0.52);
  background: linear-gradient(
    180deg,
    rgba(142, 111, 142, 0.13) 0%,
    rgba(168, 128, 118, 0.08) 48%,
    rgba(176, 137, 122, 0.07) 100%
  );
  color: #5c4a5c;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  box-shadow:
    inset 0 0 0 1px rgba(58, 42, 48, 0.1),
    inset 0 2px 6px rgba(44, 30, 36, 0.11),
    0 4px 14px rgba(95, 72, 78, 0.1);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.contact-chips__telegram:hover{
  border-color: rgba(105, 78, 92, 0.62);
  background: linear-gradient(
    180deg,
    rgba(142, 111, 142, 0.18) 0%,
    rgba(172, 132, 118, 0.11) 50%,
    rgba(176, 137, 122, 0.1) 100%
  );
  color: #4a3d4a;
  box-shadow:
    inset 0 0 0 1px rgba(50, 36, 42, 0.12),
    inset 0 2px 6px rgba(40, 28, 34, 0.12),
    0 6px 18px rgba(90, 68, 74, 0.13);
}
.chip{
  padding: 11px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  background: var(--surface-card);
  box-shadow: 0 8px 22px rgba(120, 80, 60, 0.12);
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.chip:hover{
  transform: translateY(-2px);
  border-color: rgba(175, 145, 125, 0.45);
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 12px 30px rgba(120, 80, 60, 0.16);
}
.chip-secondary{
  background: rgba(243, 229, 220, 0.85);
  border-color: rgba(160, 120, 100, 0.32);
}

.contact-right{
  padding: 22px;
  border-radius: 28px 8px 28px 28px;
}
#contactForm input[name="contact"]{
  font-size: 14px;
}
#contactForm input[name="goal"]{
  font-size: 14px;
}
#contactForm .field-hint--contact{
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted-2);
  margin-top: 4px;
}
#contactForm .field-contact-consent{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}
#contactForm .field-contact-consent input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
#contactForm .contact-consent-personal{
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
#contactForm .contact-consent-personal a{
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#contactForm .contact-consent-personal a:hover{
  text-decoration-thickness: 2px;
}
/* «Отправить заявку» — те же цвета и градиент, что у «Написать в ВКонтакте» (2 слоя: блик + основной градиент) */
#contactSubmitBtn.btn-primary{
  position: relative;
  overflow: hidden;
  background-color: #3d261c;
  background-image:
    linear-gradient(180deg, rgba(255, 224, 205, 0.14) 0%, transparent 40%),
    linear-gradient(
      148deg,
      #8f6658 0%,
      #744838 18%,
      #5e362c 40%,
      #4c281e 60%,
      #3a1e16 80%,
      #2a1510 100%
    );
  background-repeat: no-repeat;
  border-color: rgba(72, 42, 32, 0.46);
  color: rgba(255, 244, 236, 0.96);
  box-shadow:
    0 1px 0 rgba(255, 236, 224, 0.1) inset,
    0 -3px 12px rgba(24, 12, 8, 0.26) inset,
    0 5px 18px rgba(56, 30, 22, 0.22),
    0 2px 9px rgba(68, 38, 28, 0.16);
  transition:
    border-color 0.28s ease,
    box-shadow 0.32s ease,
    transform 0.22s ease;
}
#contactSubmitBtn.btn-primary:hover:not(:disabled){
  background-image:
    linear-gradient(180deg, rgba(255, 230, 210, 0.18) 0%, transparent 36%),
    linear-gradient(
      148deg,
      #9e7464 0%,
      #805040 20%,
      #684030 42%,
      #523024 62%,
      #3e2218 82%,
      #2e1812 100%
    );
  border-color: rgba(58, 34, 26, 0.52);
  color: rgba(255, 248, 242, 0.97);
  box-shadow:
    0 1px 0 rgba(255, 240, 228, 0.12) inset,
    0 -2px 10px rgba(22, 10, 6, 0.22) inset,
    0 8px 24px rgba(52, 28, 20, 0.26),
    0 3px 10px rgba(64, 36, 26, 0.2);
  transform: translateY(-2px);
}
#contactSubmitBtn.btn-primary:active:not(:disabled){
  transform: translateY(0);
}
/* Не «гасим» градиент до половины яркости — иначе визуально не совпадает с ВК; отключено всё равно видно по курсору */
#contactSubmitBtn.btn-primary:disabled{
  opacity: 0.82;
  cursor: not-allowed;
}

.consult-flow-below{
  padding: 22px clamp(20px, 3vw, 32px) 24px;
  width: 100%;
  box-sizing: border-box;
}
.contact-right-stack .consult-flow-below{
  margin: 0;
  width: 100%;
  align-self: stretch;
}
.contact-right-stack .consult-flow-below.card{
  border-radius: var(--radius-lg);
}
.consult-flow{
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.consult-flow-below .consult-flow-panel{
  margin-top: 4px;
  padding: 18px 8px 2px;
  border-top: 1px solid rgba(185, 155, 135, 0.26);
  background: rgba(255, 252, 248, 0.5);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.consult-flow__wrap{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s ease;
}
.consult-flow__wrap.is-open{
  grid-template-rows: 1fr;
}
.consult-flow__inner{
  min-height: 0;
  overflow: hidden;
}
.consult-flow-panel{
  padding: 20px;
}
.consult-flow__steps{
  margin: 0 0 14px;
  padding-left: 1.35em;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.consult-flow__steps li{
  margin-bottom: 8px;
}
.consult-flow__steps li:last-child{
  margin-bottom: 0;
}
.consult-flow__outro{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce){
  .consult-flow__wrap{
    transition: none;
  }
}

/* Footer */
.site-footer{
  padding: clamp(44px, 6vw, 64px) 0 clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.94) 0%, rgba(245, 235, 226, 0.9) 100%);
  position: relative;
  z-index: 2;
}
.footer-shell{
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}
.footer-columns{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.footer-col--brand{
  max-width: 40rem;
}
.footer-brand{
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-brand b{
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.footer-note{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}
.footer-copy{
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}
.footer-nav{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-nav a{
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-nav a:hover{
  color: var(--text);
  border-bottom-color: rgba(175, 145, 125, 0.45);
}
.footer-legal-row{
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid rgba(175, 145, 125, 0.22);
  text-align: center;
}
.footer-legal-row .footer-legal{
  justify-content: center;
}
.footer-legal{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: center;
}
.footer-legal-sep{
  color: var(--muted-2);
  user-select: none;
}
.footer-legal a{
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(90, 62, 54, 0.35);
}
.footer-legal a:hover{
  color: var(--text);
  text-decoration-color: rgba(90, 62, 54, 0.55);
}
/* Юридические подстраницы (компактный подвал) */
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 20px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-weight: 500;
  font-size: 13px;
}

/* Юридические страницы (оферта, политика ПДн) */
.legal-page{
  position: relative;
  z-index: 2;
  padding: 28px 0 48px;
}
.legal-page-inner{
  max-width: 52rem;
}
.legal-back{
  margin-bottom: 18px;
}
.legal-back a{
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
}
.legal-back a:hover{
  color: var(--text);
}
.legal-article{
  padding: 28px 26px 36px;
  border-radius: var(--radius-lg);
}
.legal-article h1{
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--heading);
}
.legal-article h2{
  margin: 26px 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--heading);
}
.legal-article h2:first-of-type{
  margin-top: 20px;
}
.legal-meta{
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.65;
}
.legal-article p{
  margin: 0 0 12px;
  line-height: 1.72;
  font-size: 16px;
}
.legal-pdf-wrap{
  margin: 18px 0 0;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 252, 248, 0.65);
  min-height: min(75vh, 900px);
}
.legal-pdf-frame{
  display: block;
  width: 100%;
  min-height: min(75vh, 900px);
  border: 0;
}
.legal-pdf-actions{
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}
.legal-pdf-actions a{
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-pdf-actions a:hover{
  color: var(--text);
}
.site-footer.legal-footer-min{
  padding: 20px 0 24px;
}
.legal-footer-bottom{
  margin-top: 0;
  justify-content: space-between;
}
.legal-footer-home{
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 980px){
  .hero::before{ display: none; }
  .grid-3{ grid-template-columns: 1fr; }
  .timeline-steps{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .hero-title{ max-width: none; }
  .hero-copy .hero-title{ max-width: none; }
  .hero-main-row{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-portrait{
    justify-self: center;
    max-width: min(520px, 90vw);
    width: 100%;
  }
}
@media (max-width: 820px){
  .hero-main-row{
    justify-items: stretch;
    text-align: center;
  }
  .hero-portrait-frame{
    width: 100%;
    max-width: min(480px, 92vw);
    margin: 0 auto;
  }
  .hero-copy{
    width: 100%;
  }
  .hero-cta{
    align-items: center;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }
  .hero-copy p.hero-cta__hint{
    text-align: center;
    max-width: none;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    font-size: clamp(11px, 3.2vw, 1.1rem);
  }
  .hero-copy a.hero-cta__btn{
    width: 100%;
    max-width: min(100%, 32rem);
    min-height: 3.75rem;
    padding: 28px 36px;
    font-size: clamp(18px, 5vw, 25px);
  }
  .hero-badges{
    justify-content: center;
  }
  .nav{ display: none; }
  .burger{ display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav{ position: relative; }
  .hero-mini{ grid-template-columns: 1fr; }
  .footer-columns{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-nav{
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .footer-nav a{
    padding: 4px 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  html.js-reveal-ready .reveal-on-scroll:not(.is-visible){
    opacity: 1;
    transform: none;
  }
  .reveal-on-scroll{
    transition: none;
  }
  *{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
