@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&display=swap");
/* «Вау, но не отвлекает» для сайта Алевтины (27.10). Цвета сайта: коричневый #3A1405/#7C310A, бронза #A8642A, золото #E8C56A/#F3D98B.
   Подключается после стилей linkrr; inline-стили кнопок linkrr перебиваем !important. */
:root {
  --gold-1: #f7e3a1;
  --gold-2: #e2b656;
  --gold-3: #b9832f;
  --brown-0: #2a0e04;
  --brown-1: #3a1405;
  --brown-2: #7c310a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Кнопки ---------- */
.link-btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px !important;
  padding: 0.95em 1.4em !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease) !important;
  -webkit-tap-highlight-color: transparent;
}
.link-btn:active { transform: scale(0.97); }

/* главные — золотые: «Хочу в команду», «Присоединиться», «Оставить заявку», «Записаться на консультацию» */
.wow-cta {
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-3) 100%) !important;
  color: var(--brown-1) !important;
  border: 0 !important;
  text-transform: uppercase;
  box-shadow: 0 10px 28px -10px rgba(226, 182, 86, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}
.wow-cta, .wow-cta * { font-weight: 800 !important; }
/* текст в одну строку, кнопка по размеру текста (linkrr растягивал на col-9) */
.wow-cta:not(.wow-sticky) { width: auto !important; max-width: calc(100vw - 36px) !important; display: inline-block !important; padding: 0.85em 2.1em !important; letter-spacing: 0.06em; }
.wow-cta .btn-link-title { font-size: 14px !important; white-space: nowrap; line-height: 1.2; }
/* длинная надпись («Записаться на консультацию») — поуже, чтобы влезла в строку на телефоне */
.wow-cta.wow-long { padding-left: 1.3em !important; padding-right: 1.3em !important; letter-spacing: 0.02em; }
.wow-cta.wow-long .btn-link-title { font-size: 13px !important; }
.wow-cta-col { flex: 0 0 100% !important; max-width: 100% !important; }
.wow-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(226, 182, 86, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important; }
/* блик, пробегающий по кнопке */
.wow-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  animation: wow-shine 4.5s var(--ease) infinite;
  animation-delay: var(--shine-delay, 1.5s);
}
@keyframes wow-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* мессенджеры и «Читать историю» — светло-золотые (шампань), со стрелкой и мягкой пульсацией кольца:
   сразу видно, что это кнопки, но главные золотые всё равно ярче */
.wow-soft {
  background: linear-gradient(135deg, #fff6dc 0%, #f3dc9c 55%, #dcb468 100%) !important;
  color: var(--brown-1) !important;
  border: 0 !important;
  box-shadow: 0 8px 20px -10px rgba(226, 182, 86, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  animation: wow-ring 2.6s ease-out infinite;
  animation-delay: var(--ring-delay, 0s);
}
.wow-soft, .wow-soft * { font-weight: 700 !important; }
.wow-soft { letter-spacing: 0.01em; padding-left: 1em !important; padding-right: 1em !important; white-space: nowrap; font-size: 12pt !important; }
.wow-soft .btn-link-title::after { content: "›"; display: inline-block; margin-left: 0.45em; font-size: 1.25em; line-height: 0; transform: translateY(0.05em); transition: transform 0.3s var(--ease); }
.wow-soft.wow-back .btn-link-title::after { content: none; }
.wow-soft.wow-back .btn-link-title::before { content: "‹"; display: inline-block; margin-right: 0.45em; font-size: 1.25em; line-height: 0; transform: translateY(0.05em); }
.wow-soft:hover { transform: translateY(-2px); }
.wow-soft:hover .btn-link-title::after { transform: translate(3px, 0.05em); }
@keyframes wow-ring {
  0% { box-shadow: 0 8px 20px -10px rgba(226, 182, 86, 0.7), 0 0 0 0 rgba(243, 220, 156, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
  70%, 100% { box-shadow: 0 8px 20px -10px rgba(226, 182, 86, 0.7), 0 0 0 9px rgba(243, 220, 156, 0), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
}

/* пульс — только у двух главных кнопок (остальным linkrr-пульс выключаем) */
.link-btn.animate__pulse { animation: none !important; }
.wow-cta.wow-pulse { animation: wow-glow 2.8s ease-in-out infinite !important; }
@keyframes wow-glow {
  0%, 100% { box-shadow: 0 10px 28px -10px rgba(226, 182, 86, 0.75), 0 0 0 0 rgba(247, 227, 161, 0.0), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
  50% { box-shadow: 0 10px 28px -10px rgba(226, 182, 86, 0.9), 0 0 0 10px rgba(247, 227, 161, 0.0), 0 0 26px 2px rgba(247, 227, 161, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
}

/* вопросы-ответы (аккордеон) — карточки со стрелкой */
.block-accordion-button {
  position: relative;
  border-radius: 16px !important;
  padding-right: 2.6em !important;
  transition: background 0.3s var(--ease) !important;
}
.block-accordion-button::after {
  content: "";
  position: absolute;
  right: 1.1em;
  top: 50%;
  width: 0.55em;
  height: 0.55em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}
/* вопрос: по левому краю, крупнее и жирнее; вместо серого 🔘 linkrr — золотой ромбик */
.block-accordion-button {
  text-align: left !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--gold-1) !important;
  padding-left: 44px !important;
  white-space: normal !important;
}
.block-accordion-button::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  box-shadow: 0 0 10px rgba(247, 227, 161, 0.45);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}
/* карточка вопроса — тёмная, как рамки заголовков сайта (вместо рыжего фона linkrr) */
[id^="accordion_"] .card {
  background: linear-gradient(180deg, rgba(42, 15, 5, 0.72), rgba(16, 6, 2, 0.82)) !important;
  border: 1px solid rgba(232, 197, 106, 0.4) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 1.3s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s);
}
[id^="accordion_"] .card:has(.collapse.show) { border-color: rgba(247, 227, 161, 0.85) !important; box-shadow: 0 0 24px -8px rgba(232, 197, 106, 0.5); }
[id^="accordion_"] .faq-header { background: transparent !important; }
/* ответ — по левому краю, с золотой полоской и воздухом */
[id^="accordion_"] .card-body {
  color: #f3e6c4 !important;
  text-align: left !important;
  line-height: 1.75;
  margin: 0.6em 1em 1.1em;
  padding: 0.4em 0.4em 0.4em 1.1em !important;
  border-left: 3px solid var(--gold-2);
}
/* плавное раскрытие: высота — Bootstrap, текст проявляется и чуть поднимается */
[id^="accordion_"] .collapsing { transition: height 0.45s var(--ease) !important; }
[id^="accordion_"] .collapse .card-body,
[id^="accordion_"] .collapsing .card-body { opacity: 0; transform: translateY(-6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
[id^="accordion_"] .collapse.show .card-body { opacity: 1; transform: none; }

/* linkrr ставит aria-expanded="true" всем кнопкам сразу — открытость отмечает wow.js классом wow-open */
.block-accordion-button.wow-open::after { transform: translateY(-30%) rotate(-135deg); }

/* ---------- Текстовые блоки вместо картинок с текстом (text-blocks.cjs) ---------- */
.wow-card {
  position: relative;
  margin: 0 auto;
  width: calc(100% - 36px);
  max-width: 560px;
  padding: 30px 20px;
  border: 1px solid rgba(232, 197, 106, 0.5);
  border-radius: 18px;
  background:
    radial-gradient(120% 60% at 100% 55%, rgba(232, 197, 106, 0.16), transparent 60%),
    radial-gradient(80% 40% at 0% 0%, rgba(232, 197, 106, 0.12), transparent 60%),
    linear-gradient(180deg, #2b0f05, #150602);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(247, 227, 161, 0.12);
  color: #f3e6c4;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.wow-card ul, .wow-card ol { list-style: none; margin: 0; padding: 0; }
.wow-card b { color: var(--gold-1); font-weight: 700; letter-spacing: 0.02em; }

/* «что даёт команда» — заглавные, между пунктами короткая золотая черта */
.wow-lines li { font-size: 14px; letter-spacing: 0.06em; line-height: 1.7; }
.wow-lines li::before { content: ""; display: block; width: 90px; height: 1px; margin: 0 auto 16px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
.wow-lines li + li { margin-top: 18px; }

/* «кому подходит» / «с кем не по пути» — золотой значок, галочка «рисуется» при появлении */
.wow-icons li + li { margin-top: 18px; }
.wow-icons li span { display: block; }
.wow-ico { display: block; width: 34px; height: 34px; margin: 0 auto 8px; fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(232, 197, 106, 0.35)); }
.wow-draw { stroke: var(--gold-1); stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 0; }
.wow-item .wow-draw { stroke-dashoffset: 30; transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(var(--d, 0s) + 0.5s); }
.wow-item.wow-in .wow-draw { stroke-dashoffset: 0; }

/* «что вы получите» — заголовок пункта золотом, текст под ним */
.wow-benefits { text-align: left; }
.wow-benefits li + li { margin-top: 22px; }
.wow-benefits b { display: block; position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 14.5px; }
.wow-benefits b::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); transform: rotate(45deg); }

/* 6 шагов — тонкая золотая цифра, заголовок, пояснение */
.wow-steps li + li { margin-top: 20px; }
.wow-steps i { display: block; font-style: normal; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 300; font-size: 40px; line-height: 1; color: var(--gold-1); margin-bottom: 8px; }
.wow-steps .wow-step-h { margin: 0 0 4px; font-size: 14.5px; letter-spacing: 0.02em; }
.wow-steps .wow-step-h b + * , .wow-steps .wow-step-h { color: #f3e6c4; }

/* об Алевтине — по левому краю, разделы золотом, пункты с золотой точкой */
.wow-bio { text-align: left; }
.wow-bio h3 { margin: 0 0 10px; font: 700 15px/1.3 "Montserrat", sans-serif; letter-spacing: 0.03em; color: var(--gold-1); }
.wow-bio ul + h3 { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(232, 197, 106, 0.25); }
.wow-bio li { position: relative; padding-left: 18px; }
.wow-bio li + li { margin-top: 6px; }
.wow-bio li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }

/* ---------- Страница «Моя история» (body.wow-story-page) ---------- */
.wow-story-page .text-description {
  margin: 0 auto;
  width: calc(100% - 20px);
  max-width: 560px;
  padding: 28px 22px 14px;
  border: 1px solid rgba(232, 197, 106, 0.5);
  border-radius: 18px;
  background:
    radial-gradient(120% 50% at 100% 50%, rgba(232, 197, 106, 0.13), transparent 60%),
    radial-gradient(80% 30% at 0% 0%, rgba(232, 197, 106, 0.1), transparent 60%),
    linear-gradient(180deg, #2b0f05, #150602);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(247, 227, 161, 0.12);
  color: #f3e6c4 !important;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}
.wow-story-page .text-description p { margin: 0 0 1.1em !important; }
.wow-story-page .text-description .wow-blank { display: none; }
.wow-story-page .text-description h4 { margin: 0 0 4px; text-align: center; font: 700 26px/1.25 "Montserrat", sans-serif; color: var(--gold-1); }
.wow-story-page .text-description h6 { margin: 0 0 22px; text-align: center; font: 400 13px/1.4 "Montserrat", sans-serif; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2); }
.wow-story-page .text-description h6::after { content: ""; display: block; width: 90px; height: 1px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
/* короткие фразы — паузы в рассказе: золотом, с тонкой чертой слева */
.wow-story-page .text-description .wow-accent { color: var(--gold-1); font-weight: 600; font-size: 17px; border-left: 2px solid var(--gold-2); padding-left: 14px; }
/* несколько золотых фраз подряд — одна сплошная полоса */
.wow-story-page .text-description .wow-accent:has(+ .wow-accent) { margin-bottom: 0 !important; padding-bottom: 0.7em; }
.wow-story-page .text-description ul { list-style: none; margin: 0 0 1.05em; padding: 0; }
.wow-story-page .text-description li { position: relative; padding-left: 24px; margin-top: 6px; }
.wow-story-page .text-description li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); }
/* фото — в золотой рамке со скруглением; первое (вверху) — во всю ширину, низ уходит в тёмный фон */
.wow-story-page .wide-image .link-image-wrapper { margin: 0 auto; width: calc(100% - 20px); max-width: 560px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(232, 197, 106, 0.55); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9); }
.wow-story-page [id^="block_"]:first-child .link-image-wrapper { width: 100%; max-width: none; border: 0; border-radius: 0; box-shadow: none; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.wow-story-page [id^="block_"]:first-child + [id^="block_"] { margin-top: -70px !important; position: relative; z-index: 1; }

/* ---------- Появление при прокрутке ---------- */
/* блок и каждый пункт внутри проявляются отдельно — только когда сами заходят на экран, медленно */
.wow-reveal { opacity: 0; transform: translateY(30px) scale(0.985); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); will-change: opacity, transform; }
.wow-reveal.wow-in { opacity: 1; transform: none; }
.wow-item { opacity: 0; transform: translateY(22px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.wow-item.wow-in { opacity: 1; transform: none; }

/* обложка — лёгкая глубина */
.wow-cover { transition: transform 0.1s linear; will-change: transform; }

/* ---------- Кнопка «Хочу в команду» внизу экрана (телефон) ---------- */
.wow-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: block;
  text-align: center;
  text-decoration: none !important;
  font: 700 15px/1 "Montserrat", sans-serif;
  padding: 16px 20px !important;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease) !important;
}
.wow-sticky.wow-show { transform: translateY(0); }
@media (min-width: 768px) { .wow-sticky { display: none; } }

/* кто выключил анимацию в настройках телефона — всё спокойно и сразу видно */
@media (prefers-reduced-motion: reduce) {
  .wow-reveal, .wow-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wow-cta::after, .wow-cta.wow-pulse, .wow-soft { animation: none !important; }
  .wow-cover { transform: none !important; }
  .wow-item .wow-draw { stroke-dashoffset: 0 !important; transition: none !important; }
}
