/* ==========================================================================
   Полхлебова Екатерина — врач-психотерапевт онлайн
   Основные стили сайта
   ========================================================================== */

:root {
  --bg: #FAF6F0;
  --bg-alt: #F2EBE0;
  --card: #FFFFFF;
  --ink: #322F29;
  --muted: #7B7364;
  --accent: #4E6353;
  --accent-dark: #3A4A3E;
  --accent-soft: #E6EBE1;
  --line: #E7DFD1;
  --warm: #C1955F;
  --warm-deep: #8A6236;
  --ok: #4E7A53;
  --amber: #BC8A2F;
  --red: #B4593F;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 16px 44px rgba(70, 58, 36, .10);
  --shadow-sm: 0 8px 22px rgba(70, 58, 36, .07);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1120px;
  --header-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid rgba(78, 99, 83, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(78, 99, 83, .28);
}
.btn--solid:hover { background: var(--accent-dark); color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; }

.btn--white {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 12px 28px rgba(20, 25, 20, .22);
}
.btn--white:hover { color: var(--accent-dark); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Иконки мессенджеров ---------- */

.messengers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.messengers--start { justify-content: flex-start; }

.messengers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.messengers a:hover { transform: translateY(-2px) scale(1.04); box-shadow: var(--shadow); }
.messengers img { width: 26px; height: 26px; object-fit: contain; }
.messengers svg { width: 24px; height: 24px; fill: var(--accent); }

.messengers--sm a { width: 42px; height: 42px; }
.messengers--sm img { width: 21px; height: 21px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 246, 240, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(70, 58, 36, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(193, 149, 95, .40), 0 5px 14px rgba(70, 58, 36, .16);
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.brand__role {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: .94rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .25s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { right: 0; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }

body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bg);
  padding: calc(var(--header-h) + 30px) 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  overflow-y: auto;
}

body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.mobile-menu a.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a.mobile-menu__link:hover { color: var(--accent); }

.mobile-menu__contacts {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 12px;
}

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

.hero {
  padding: clamp(34px, 6vw, 66px) 0 clamp(34px, 5vw, 56px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}

.hero__intro { text-align: left; }

.hero__role {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1em;
}

.hero__name {
  font-size: clamp(2.6rem, 5.6vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.012em;
  margin-bottom: .24em;
}

.hero__name span { display: block; }

.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--muted);
  margin-bottom: 18px;
}

.hero__text {
  color: var(--muted);
  font-size: 1rem;
  max-width: 46ch;
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__meeting {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(78, 99, 83, .35);
  text-underline-offset: 3px;
}

.hero__meeting:hover {
  color: var(--accent-dark);
  text-decoration-color: var(--accent);
}

.hero__portrait {
  position: relative;
  width: min(430px, 100%);
  margin-left: auto;
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: -16px -16px 24px 24px;
  border: 1px solid rgba(193, 149, 95, .5);
  border-radius: 250px 250px 24px 24px;
  pointer-events: none;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 250px 250px 24px 24px;
  box-shadow: 0 28px 60px rgba(70, 58, 36, .18);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero__intro > *,
.hero__portrait {
  animation: heroIn .9s cubic-bezier(.2, .65, .3, 1) backwards;
}

.hero__intro > *:nth-child(1) { animation-delay: .04s; }
.hero__intro > *:nth-child(2) { animation-delay: .12s; }
.hero__intro > *:nth-child(3) { animation-delay: .20s; }
.hero__intro > *:nth-child(4) { animation-delay: .28s; }
.hero__intro > *:nth-child(5) { animation-delay: .36s; }
.hero__intro > *:nth-child(6) { animation-delay: .44s; }
.hero__portrait { animation-delay: .16s; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__intro { text-align: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__portrait { margin: 6px auto 0; width: min(330px, 86%); }
  .hero__portrait::before { inset: -12px -12px 18px 18px; }
}

/* ---------- Быстрые ссылки (пилюли) ---------- */

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: clamp(24px, 4vw, 34px) 0 clamp(34px, 6vw, 58px);
}

.pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

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

.section { padding: clamp(54px, 9vw, 100px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: clamp(30px, 5vw, 54px); }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 54px);
}

.eyebrow {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: .015em;
  color: var(--warm-deep);
  margin-bottom: 10px;
}

.section__head h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); margin-bottom: .35em; }

.lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Карточки «Я помогу справиться» ---------- */

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card__icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.card__title { font-size: 1.22rem; margin-bottom: .45em; }
.card__text { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Почему выбирают ---------- */

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}

.benefit { display: flex; gap: 16px; }

.benefit__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 4px;
}

.benefit__icon svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.benefit__title { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; margin-bottom: .3em; }
.benefit__text { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Сессии ---------- */

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

.session-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.session-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.session-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.session-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.session-card__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--warm);
}

.session-card__title { font-size: 1.3rem; margin: 0; }
.session-card__meta { font-size: .88rem; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.session-card__text { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Односессионная терапия ---------- */

.sst-wrap { max-width: 880px; margin: 0 auto; text-align: left; }

.sst-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-style: italic;
  color: var(--accent-dark);
  border-left: 4px solid var(--accent);
  padding: 6px 0 6px 22px;
  margin: 26px 0;
}

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

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.tile__title { font-family: var(--font-sans); font-weight: 700; font-size: .98rem; margin-bottom: .35em; }
.tile__text { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Слайдер ---------- */

.slider { position: relative; }

.slider__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 26px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider__track::-webkit-scrollbar { display: none; }

.slider .slide {
  flex: 0 0 min(560px, 88vw);
  scroll-snap-align: center;
  display: flex;
}

.slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.slider__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.slider__btn:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.slider__btn:disabled { opacity: .35; cursor: default; }

.slider__dots { display: flex; gap: 8px; align-items: center; }

.slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #D8CFBF;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.slider__dot.is-active { background: var(--accent); transform: scale(1.25); }

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

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.review-card__quote {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: .6;
  color: var(--accent-soft);
  margin: 0;
  user-select: none;
}

.review-card__text { color: var(--ink); font-size: .97rem; margin: 0; }

.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.review-card__name { font-weight: 700; font-size: .95rem; }
.review-card__date { color: var(--muted); font-size: .82rem; }

/* ---------- Цены ---------- */

.prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.price-card--free { background: var(--accent-soft); border-color: transparent; }

.price-card__badge {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 12px;
}

.price-card__name { font-size: 1.22rem; margin: 0; }
.price-card__meta { color: var(--muted); font-size: .88rem; }
.price-card__price { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; line-height: 1.05; }
.price-card__price small { font-size: .95rem; font-family: var(--font-sans); font-weight: 600; color: var(--muted); }
.price-card__text { color: var(--muted); font-size: .9rem; flex: 1; }
.price-card .btn { margin-top: 8px; }

.prices__note {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-top: 26px;
}

/* ---------- CTA-полоса ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-radius: 28px;
  color: #fff;
  text-align: center;
  padding: clamp(42px, 7vw, 76px) clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-bottom: .4em;
}

.cta-band p {
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Подвал ---------- */

.site-footer {
  background: #2B332C;
  color: #E9E4DA;
  padding: clamp(48px, 7vw, 72px) 0 28px;
  margin-top: clamp(54px, 9vw, 100px);
}

.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand__name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: .2em; }
.footer-brand__role { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.footer-brand__text { color: rgba(255, 255, 255, .72); font-size: .92rem; max-width: 320px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid rgba(255, 255, 255, .22);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
}

.footer-brand .footer-brand__name { margin-bottom: .15em; }
.footer-brand .footer-brand__role { margin-bottom: 0; }

.footer-title { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }

.footer-nav { display: grid; gap: 8px; font-size: .94rem; }
.footer-contacts { display: grid; gap: 10px; font-size: .94rem; }

.footer-contacts .messengers { justify-content: flex-start; margin-top: 6px; }
.footer-contacts .messengers a { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); box-shadow: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  color: rgba(255, 255, 255, .55);
  font-size: .84rem;
}

/* ---------- Плавающая кнопка Telegram ---------- */

.float-tg {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(58, 74, 62, .45);
  transition: transform .2s ease, background .2s ease;
}

.float-tg:hover { transform: scale(1.07); background: var(--accent-dark); }
.float-tg img { width: 28px; height: 28px; }
body.menu-open .float-tg { display: none; }

/* ---------- Заголовок внутренней страницы ---------- */

.page-head {
  padding: clamp(44px, 7vw, 76px) 0 clamp(14px, 3vw, 26px);
  text-align: center;
}

.page-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: .3em; }
.page-head .lead { max-width: 730px; margin: 0 auto; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: #C9C0AF; }

/* ---------- Инфо-карточки (образование) ---------- */

.info-cards { display: grid; gap: 22px; }
.info-cards--two { grid-template-columns: 1fr 1fr; }

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.4vw, 34px);
  box-shadow: var(--shadow-sm);
}

.info-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  margin-bottom: .7em;
}

.info-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  flex: none;
}

.info-card ul { list-style: none; padding: 0; margin: 0; }

.info-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: .96rem;
}

.info-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

.info-card li em { color: var(--muted); font-style: normal; font-size: .88rem; }

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

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.stat__value { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--accent-dark); line-height: 1.1; }
.stat__label { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* ---------- Галерея документов ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 16px;
  align-items: start;
}

.gallery__item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.gallery__item figcaption {
  padding: 10px 13px 12px;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--muted);
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Лайтбокс ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26, 24, 20, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox figure {
  margin: 0;
  max-width: min(92vw, 1020px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.lightbox figcaption { color: #fff; text-align: center; font-size: .95rem; }

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: none;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}

.lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

body.no-scroll { overflow: hidden; }

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

.faq { max-width: 860px; margin: 0 auto; }

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 2px;
  font-weight: 700;
  font-size: 1.04rem;
  font-family: var(--font-sans);
  transition: color .2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.25rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: transform .3s ease, background .2s ease;
  margin-top: 2px;
}

.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }

.faq-item__body {
  padding: 0 46px 24px 2px;
  color: var(--muted);
  font-size: .96rem;
}

.faq-item__body p { margin-bottom: .8em; }
.faq-item__body strong { color: var(--ink); }
.faq-item__body ul { list-style: none; padding-left: 0; }
.faq-item__body li { position: relative; padding-left: 26px; }
.faq-item__body li::before {
  content: "—";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Статьи (блоки) ---------- */

.article-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.article-block__tag {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 10px;
}

.article-block h3 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.article-block p { color: #4B463D; }

.article-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 22px 0 6px;
}

.article-media img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 16px;
}

/* Одиночное фото в статье — показываем целиком, без обрезки */
.article-media img:only-child {
  height: 560px;
  max-height: 560px;
  object-fit: contain;
}

/* Пара «портрет + пейзаж»: одна высота, пропорции сохранены */
.article-media--pair {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
}

.article-media--pair img {
  width: auto;
  height: clamp(260px, 36vw, 395px);
  max-width: 100%;
  max-height: none;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 860px) {
  .article-media--pair {
    flex-direction: column;
    align-items: center;
  }
  .article-media--pair img {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

.article-note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: .94rem;
  color: var(--accent-dark);
  margin: 18px 0 4px;
}

/* ---------- Карточки расстройств ---------- */

.disorder-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.disorder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.disorder-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.disorder-card__body { padding: 24px 24px 26px; }
.disorder-card h3 { font-size: 1.3rem; margin-bottom: .40em; }
.disorder-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Контакты ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
  }
}

@media (max-width: 520px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card img { width: 34px; height: 34px; }
.contact-card svg { width: 30px; height: 30px; fill: var(--accent); }
.contact-card__label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-card__value { font-weight: 700; font-size: 1rem; color: var(--ink); word-break: break-word; }

/* ---------- Тест HADS ---------- */

.test-shell { max-width: 840px; margin: 0 auto; }

.test-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  font-size: .92rem;
  color: var(--muted);
  font-weight: 600;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 30px;
}

.progress__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--accent);
  transition: width .35s ease;
}

.q-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.q-card.is-unanswered { border-color: var(--red); }

.q-card__num {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm);
}

.q-card__title {
  font-weight: 700;
  font-size: 1.06rem;
  margin: 8px 0 16px;
}

.q-options { display: grid; gap: 9px; }

.q-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 15px;
  cursor: pointer;
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
  position: relative;
}

.q-option:hover { border-color: var(--accent); }

.q-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.q-option__dot {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 2px solid #CDC4B2;
  flex: none;
  position: relative;
  transition: border-color .2s ease;
}

.q-option.is-checked { border-color: var(--accent); background: var(--accent-soft); }
.q-option.is-checked .q-option__dot { border-color: var(--accent); }
.q-option.is-checked .q-option__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.test-hint { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 14px; }

.result { display: none; margin-top: 10px; }
.result.is-visible { display: block; animation: fadeUp .5s ease; }

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

.result__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.result-scale {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.result-scale__name { font-weight: 700; font-size: .95rem; color: var(--muted); margin-bottom: 8px; }
.result-scale__value { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.result-scale__value small { font-size: 1.1rem; color: var(--muted); font-family: var(--font-sans); font-weight: 600; }
.result-scale__zone { font-weight: 700; font-size: .95rem; margin-bottom: 14px; }

.zone--ok { color: var(--ok); }
.zone--amber { color: var(--amber); }
.zone--red { color: var(--red); }

.scale-bar {
  height: 12px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.scale-bar__fill { height: 100%; width: 0; border-radius: 999px; transition: width .8s ease; }
.scale-bar__fill.zone--ok { background: var(--ok); }
.scale-bar__fill.zone--amber { background: var(--amber); }
.scale-bar__fill.zone--red { background: var(--red); }

.scale-legend { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); }

.result-note {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--muted);
  margin-top: 18px;
}

/* ---------- Мелкие утилиты ---------- */

.center { text-align: center; }
.muted { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); }
.mt-26 { margin-top: 26px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.section-cta { display: flex; justify-content: center; margin-top: 36px; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .001s !important; animation-duration: .001s !important; }
}

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

@media (max-width: 1020px) {
  .prices { grid-template-columns: repeat(2, 1fr); }
  .sst-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .sessions { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .benefits { grid-template-columns: 1fr; gap: 20px; }
  .info-cards--two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .help-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 22px 22px;
    margin: 0 -22px;
    scrollbar-width: none;
  }
  .help-grid::-webkit-scrollbar { display: none; }
  .help-grid .card { flex: 0 0 78vw; scroll-snap-align: center; }
  .prices { grid-template-columns: 1fr; }
  .result__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
  .faq-item__body { padding-right: 8px; }
  .cta-band__actions .btn { width: 100%; }
  .slider .slide { flex-basis: 88vw; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .pills { gap: 8px; }
  .pill { padding: 9px 15px; font-size: .87rem; }
  .q-card { padding: 20px 18px; }
}

/* ---------- Дополнения ---------- */

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

.info-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.gallery__item { margin: 0; }
.gallery__item > a { display: block; }
.gallery__item > a img { cursor: zoom-in; }

@media (max-width: 720px) {
  .header-actions .btn { display: none; }
}

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: .9rem; }
}

@media (max-width: 420px) {
  .brand__photo { width: 38px; height: 38px; }
  .brand__name { font-size: 1.08rem; }
  .brand__role { font-size: .62rem; letter-spacing: .14em; }
  .footer-brand__photo { width: 46px; height: 46px; }
}

/* ==========================================================================
   Стилевые штрихи — типографика, орнаменты, глубина
   ========================================================================== */

::selection { background: rgba(193, 149, 95, .30); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: #CDC2AE;
  border-radius: 999px;
  border: 3px solid var(--bg-alt);
}
::-webkit-scrollbar-thumb:hover { background: var(--warm); }

h1, h2 { text-wrap: balance; }
.section__head .lead, .page-head .lead { text-wrap: pretty; }

/* Орнамент под заголовками секций */
.section__head h2 { position: relative; padding-bottom: 30px; }

.section__head h2::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 7px;
  height: 7px;
  background: var(--warm);
  transform: translateX(-50%) rotate(45deg);
}

.section__head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 86px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #D6C9B2 22%, #D6C9B2 78%, transparent);
}

.page-head h1 { position: relative; padding-bottom: 26px; }

.page-head h1::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 6px;
  height: 6px;
  background: var(--warm);
  transform: translateX(-50%) rotate(45deg);
}

.page-head h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 64px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #D6C9B2 25%, #D6C9B2 75%, transparent);
}

/* Надзаголовок с росчерками */
.section__head .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.section__head .eyebrow::before,
.section__head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

/* Hero: мягкое световое пятно */
.hero { position: relative; overflow: hidden; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero::before {
  width: 400px;
  height: 400px;
  left: -150px;
  top: -80px;
  background: radial-gradient(circle, rgba(193, 149, 95, .32), transparent 65%);
}

.hero::after {
  width: 440px;
  height: 440px;
  right: -170px;
  top: 110px;
  background: radial-gradient(circle, rgba(78, 99, 83, .26), transparent 65%);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat__value {
    background: linear-gradient(120deg, var(--ink) 25%, var(--accent-dark) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--accent-dark);
    -webkit-text-fill-color: transparent;
  }
}

/* Кнопки: градиент и глубина */
.btn--solid {
  background: linear-gradient(135deg, #5A7261, var(--accent) 48%, var(--accent-dark));
  box-shadow: 0 10px 24px rgba(78, 99, 83, .30), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.btn--solid:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 15px 32px rgba(58, 74, 62, .38), inset 0 1px 0 rgba(255, 255, 255, .14);
  transform: translateY(-2px);
}

.btn--outline { border-color: rgba(78, 99, 83, .55); }

.btn--outline:hover {
  box-shadow: 0 12px 26px rgba(78, 99, 83, .22);
  transform: translateY(-2px);
}

/* Пилюли и карточки: тёплая глубина */
.pill { background-image: linear-gradient(180deg, #fff, #FFFBF3); }

.card,
.session-card,
.price-card,
.disorder-card,
.contact-card,
.tile,
.review-card,
.info-card,
.q-card {
  background-image: linear-gradient(180deg, #FFFFFF, #FFFDF8);
}

.card:hover,
.session-card:hover,
.price-card:hover,
.disorder-card:hover,
.contact-card:hover,
.gallery__item:hover {
  border-color: rgba(193, 149, 95, .45);
}

.card__icon {
  background: linear-gradient(135deg, var(--accent-soft), #F1EEE3);
  box-shadow: inset 0 0 0 1px rgba(78, 99, 83, .07);
  transition: transform .25s ease;
}

.card:hover .card__icon { transform: scale(1.07) rotate(-3deg); }

.session-card__img,
.disorder-card img,
.gallery__item img {
  transition: transform .5s ease;
}

.session-card:hover .session-card__img,
.disorder-card:hover img { transform: scale(1.04); }

.gallery__item:hover img { transform: scale(1.035); }

/* Иконки в карточках контактов */
.contact-card img {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: var(--accent-soft);
  border-radius: 50%;
}

.contact-card svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  background: var(--accent-soft);
  border-radius: 50%;
  fill: var(--accent);
}

/* Секции с альтернативным фоном */
.section--alt { background: linear-gradient(180deg, #F4EDE2, #EFE7D9); }

/* Мягкие арочные переходы между секциями */
.section--alt {
  --alt-curve: clamp(26px, 3.4vw, 52px);
  position: relative;
}

.section--alt::before,
.section--alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--alt-curve) + 1px);
  pointer-events: none;
}

.section--alt::before {
  top: calc(-1 * var(--alt-curve));
  background: #F4EDE2;
  border-radius: 100% 100% 0 0 / 100% 100% 0 0;
  box-shadow: inset 0 1px 0 rgba(193, 149, 95, .22);
}

.section--alt::after {
  bottom: calc(-1 * var(--alt-curve));
  background: #EFE7D9;
  border-radius: 0 0 100% 100% / 0 0 100% 100%;
  box-shadow: inset 0 -1px 0 rgba(193, 149, 95, .22);
}

/* CTA-полоса: декоративные кольца и свет */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 170% at 12% 0%, rgba(255, 255, 255, .16), transparent 48%),
    radial-gradient(100% 150% at 92% 100%, rgba(193, 149, 95, .30), transparent 55%),
    linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  pointer-events: none;
}

.cta-band::before { width: 340px; height: 340px; right: -100px; top: -150px; }
.cta-band::after { width: 240px; height: 240px; left: -80px; bottom: -130px; }

.cta-band > * { position: relative; z-index: 1; }

/* Подвал: тёплое свечение */
.site-footer {
  background:
    radial-gradient(90% 130% at 88% 0%, rgba(193, 149, 95, .14), transparent 52%),
    linear-gradient(180deg, #2E372F, #262E27);
}

.footer-grid { border-bottom-color: rgba(193, 149, 95, .28); }

/* Шапка: тёплая линия при прокрутке */
.site-header.is-scrolled { border-color: rgba(193, 149, 95, .35); }

/* Ссылки внутри текста */
.article-block a,
.faq-item__body a,
.info-card a {
  text-decoration: underline;
  text-decoration-color: rgba(78, 99, 83, .35);
  text-underline-offset: 3px;
}

.article-block a:hover,
.faq-item__body a:hover,
.info-card a:hover { text-decoration-color: var(--accent); }

/* FAQ: акцент при открытии */
.faq-item[open] summary { color: var(--accent-dark); }
.faq-item[open] .faq-item__body { animation: fadeUp .35s ease; }

/* Лайтбокс: размытие фона */
.lightbox {
  background: rgba(26, 24, 20, .90);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Полоса прогресса чтения */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  pointer-events: none;
  will-change: transform;
}

@media print {
  .scroll-progress { display: none !important; }
}

/* Бумажная фактура поверх фона */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media print {
  body::after { display: none !important; }
}

/* ---------- Печать ---------- */

@media print {
  .site-header, .mobile-menu, .float-tg, .cta-band__actions, .slider__nav { display: none !important; }
  body { background: #fff; }
}
