:root {
  --coal: #15120f;
  --gold: #d6b676;
  --gold-2: #f6df9f;
  --white: #fff9ef;
  --muted: rgba(255, 249, 239, 0.74);
  --green: #18d951;
  --blue: #1ba6ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 182, 118, 0.24), transparent 28rem),
    radial-gradient(circle at 90% 24%, rgba(88, 54, 30, 0.38), transparent 24rem),
    #050403;
  font-family: "Trebuchet MS", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(191, 143, 74, 0.18), transparent 34rem),
    var(--coal);
  background-size: 42px 42px, auto, auto;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(112deg, transparent 34%, rgba(246, 223, 159, 0.16) 45%, transparent 54%),
    linear-gradient(28deg, transparent 50%, rgba(214, 182, 118, 0.12) 51%, transparent 57%);
  filter: blur(1px);
  animation: lightSweep 9s ease-in-out infinite alternate;
  z-index: 3;
}

.page-shell::after {
  animation-duration: 13s;
  animation-direction: alternate-reverse;
  opacity: 0.33;
}

.hero {
  position: relative;
  min-height: 980px;
  padding: 22px 22px 28px;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media {
  background-image: url("assets/hero-stones.png");
  background-size: cover;
  background-position: center bottom;
  transform: scale(1.04);
  animation: slowZoom 16s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.52) 31%, rgba(10,7,5,0.38) 58%, rgba(9,7,5,0.92) 100%),
    radial-gradient(circle at 52% 28%, transparent 0, rgba(0,0,0,0.36) 35rem);
}

.aura {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(246, 223, 159, 0.32);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(0.4px);
}

.aura::before,
.aura::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(246, 223, 159, 0.18);
  border-radius: 50%;
}

.aura::after {
  inset: 54px;
}

.aura-one {
  top: 122px;
  right: -82px;
  animation: rotateAura 24s linear infinite;
}

.aura-two {
  bottom: 122px;
  left: -108px;
  width: 260px;
  height: 260px;
  animation: rotateAura 32s linear infinite reverse;
}

.topline {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-messengers {
  display: flex;
  gap: 8px;
}

.top-msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(246, 223, 159, 0.42);
  border-radius: 50%;
  background: rgba(8, 7, 6, 0.48);
  backdrop-filter: blur(8px);
  cursor: pointer;
  overflow: hidden;
}

.top-msg-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.top-msg-btn:first-child {
  border-radius: 10px;
}

.top-msg-btn:first-child img {
  transform: scale(1.63);
  border-radius: 10px;
}

.top-call {
  padding: 10px 14px;
  border: 1px solid rgba(246, 223, 159, 0.42);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.48);
  backdrop-filter: blur(8px);
  font-size: 14px;
}

.hero-content {
  position: relative;
  z-index: 4;
  margin-top: 66px;
}

.kicker,
.ornament {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 2px 0 #000;
}

.kicker {
  font-size: clamp(20px, 8vw, 38px);
  line-height: 1.08;
}

h1,
h2,
.statement,
.phone-display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(56px, 17vw, 92px);
  line-height: 0.82;
  text-shadow: 0 4px 0 #000, 0 0 34px rgba(214, 182, 118, 0.36);
}

.seer-photo {
  position: relative;
  width: min(245px, 68vw);
  margin: 18px 0 0;
  padding: 8px;
  border: 1px solid rgba(246, 223, 159, 0.58);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(246, 223, 159, 0.18), rgba(0, 0, 0, 0.34)),
    rgba(8, 7, 6, 0.58);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.44), 0 0 34px rgba(214, 182, 118, 0.16);
  overflow: hidden;
}

.seer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.22), transparent 63%);
  transform: translateX(-105%);
  animation: portraitShine 5.2s ease-in-out infinite;
}

.seer-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 16px;
  filter: saturate(0.9) contrast(1.06);
}

.seer-photo figcaption {
  margin-top: 8px;
  color: var(--gold-2);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 440px;
  margin: 22px 0 0;
  font-size: 21px;
  line-height: 1.28;
  text-shadow: 0 2px 8px #000;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(246, 223, 159, 0.72);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.44);
}

.primary-btn {
  color: #1a1207;
  background: linear-gradient(135deg, #f9e5a7, #bf8b43 48%, #ffeab2);
}

.primary-btn::after {
  content: "";
  position: absolute;
  inset: -50% -18%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.76), transparent);
  transform: translateX(-120%) rotate(18deg);
  animation: buttonShine 3.4s ease-in-out infinite;
}

.ghost-btn {
  background: rgba(0, 0, 0, 0.38);
  color: var(--gold-2);
  backdrop-filter: blur(8px);
}

.pulse-card {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
  padding: 15px;
  border: 1px solid rgba(246, 223, 159, 0.36);
  border-radius: 16px;
  background: rgba(10, 7, 4, 0.62);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 28px rgba(214, 182, 118, 0.12);
}

.pulse-card b {
  font-size: 16px;
}

.pulse-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.online-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(24, 217, 81, 0.68);
  animation: onlinePulse 1.8s infinite;
}

section:not(.hero) {
  position: relative;
  z-index: 4;
  padding: 56px 22px;
}

.vision,
.request-block,
.services,
.steps {
  border-top: 3px double rgba(246, 223, 159, 0.46);
}

.vision {
  background:
    radial-gradient(circle at 88% 0, rgba(214, 182, 118, 0.25), transparent 16rem),
    linear-gradient(180deg, #15120f, #211a14);
}

.ornament {
  text-align: center;
  font-size: 18px;
}

.vision h2,
.final-cta h2,
.test-section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(38px, 11vw, 58px);
  line-height: 0.96;
  color: var(--white);
  text-shadow: 0 3px 0 #000;
}

.statement {
  margin: 36px 0 34px;
  padding: 24px 18px;
  border: 1px solid rgba(246, 223, 159, 0.72);
  border-radius: 12px;
  color: var(--gold-2);
  background: rgba(126, 94, 61, 0.5);
  text-align: center;
  font-size: 29px;
  line-height: 1.15;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 18px 50px rgba(0,0,0,0.32);
}

.truth-list,
.service-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.truth-list li,
.service-body li {
  position: relative;
  padding-left: 26px;
  margin: 13px 0;
  font-size: 23px;
  line-height: 1.16;
}

.truth-list li::before,
.service-body li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: var(--gold-2);
}

.contact-strip {
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.88), rgba(48, 38, 29, 0.98)),
    radial-gradient(circle at center, rgba(246, 223, 159, 0.28), transparent 18rem);
}

.phone-display {
  display: block;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(24px, 9vw, 58px);
  text-align: center;
  text-shadow: 0 4px 0 #000;
  white-space: nowrap;
}

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

.messenger {
  min-height: 106px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #fff;
  border: 1px solid rgba(246, 223, 159, 0.28);
  background: linear-gradient(180deg, #0c0b0a, #000);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.messenger:hover {
  transform: translateY(-6px) scale(1.02);
  filter: brightness(1.12);
}

.messenger-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.whatsapp .messenger-icon {
  transform: scale(1.52);
}

.whatsapp {
  border: 1px solid #22df6a;
  box-shadow: 0 0 18px rgba(34, 223, 106, 0.42);
}

.telegram {
  border: 1px solid var(--blue);
  box-shadow: 0 0 18px rgba(27, 166, 255, 0.42);
}

.max {
  border: 1px solid #9d7bff;
  box-shadow: 0 0 18px rgba(157, 123, 255, 0.42);
}

.bio {
  margin: 34px 0 0;
  font-size: 24px;
  line-height: 1.18;
  text-align: center;
}

.request-block {
  padding-bottom: 116px !important;
  background:
    radial-gradient(circle at 50% 8%, rgba(246, 223, 159, 0.22), transparent 18rem),
    #211a14;
}

.lead-form {
  position: relative;
  margin-top: 26px;
  padding: 28px 22px 32px;
  border: 2px solid rgba(246, 223, 159, 0.72);
  border-radius: 42px;
  background: rgba(7, 6, 5, 0.58);
  box-shadow: inset 0 0 40px rgba(214, 182, 118, 0.1), 0 22px 60px rgba(0,0,0,0.28);
}

.lead-form label {
  display: block;
  margin-bottom: 16px;
}

.lead-form span,
.quiz-card label span {
  display: block;
  margin: 0 0 8px 12px;
  color: var(--gold-2);
  font-size: 13px;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.quiz-card input,
.quiz-card textarea {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.4);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lead-form textarea,
.quiz-card textarea {
  min-height: 118px;
  padding-top: 16px;
  resize: vertical;
}

.lead-form select {
  appearance: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.quiz-card input:focus,
.quiz-card textarea:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(246, 223, 159, 0.12);
}

.messenger-label {
  text-align: center;
  font-size: 20px;
  color: var(--muted);
  margin: 18px 0 12px;
}

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

.messenger-actions .messenger {
  min-height: 92px;
}

.services {
  background:
    radial-gradient(circle at 50% 0, rgba(214, 182, 118, 0.2), transparent 20rem),
    linear-gradient(180deg, #15120f, #090807);
}

.service-card {
  margin-top: 18px;
  border: 2px solid rgba(171, 133, 97, 0.78);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(62, 54, 45, 0.86), rgba(24, 21, 18, 0.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 8px);
  box-shadow: 0 22px 54px rgba(0,0,0,0.42);
}

.service-head {
  width: 100%;
  min-height: 94px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 0.95;
  text-shadow: 0 3px 0 #000;
}

.service-head b {
  flex: 0 0 auto;
  color: rgba(246, 223, 159, 0.62);
  font-size: 24px;
}

.service-body {
  display: grid;
  grid-template-rows: 0fr 0fr;
  transition: grid-template-rows 0.42s ease;
}

.service-body > * {
  overflow: hidden;
}

.service-card.active .service-body {
  grid-template-rows: 1fr 1fr;
}

.service-body ul {
  padding: 0 22px 18px;
}

.service-body p {
  margin: 0;
  padding: 0 22px 26px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.32;
}

.test-section {
  background:
    radial-gradient(circle at 14% 35%, rgba(214, 182, 118, 0.24), transparent 14rem),
    linear-gradient(180deg, #281f17, #16110d);
}

.test-section h2 {
  color: var(--gold);
  text-align: left;
}

.quiz-card {
  margin-top: 26px;
  padding: 28px 22px 32px;
  border-radius: 42px;
  background: rgba(7, 6, 5, 0.58);
  border: 2px solid rgba(246, 223, 159, 0.72);
  box-shadow: inset 0 0 40px rgba(214, 182, 118, 0.1), 0 22px 60px rgba(0,0,0,0.28);
}

.quiz-card p {
  margin: 0 0 16px;
  font-size: 20px;
}

.quiz-card label {
  display: block;
  margin: 0 0 16px;
}

.steps {
  background: #100d0a;
}

.step-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.step-grid article {
  position: relative;
  min-height: 170px;
  padding: 24px 22px;
  border: 1px solid rgba(246, 223, 159, 0.36);
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(246,223,159,0.13), transparent 42%),
    rgba(255,255,255,0.04);
}

.step-grid span {
  position: absolute;
  top: -12px;
  right: 18px;
  color: rgba(246, 223, 159, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 112px;
}

.step-grid h3 {
  position: relative;
  margin: 0 0 10px;
  color: var(--gold-2);
  font-size: 26px;
}

.step-grid p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.32;
}

.final-cta {
  padding-bottom: 128px !important;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(246, 223, 159, 0.22), transparent 18rem),
    linear-gradient(180deg, #211a14, #050403);
}

.final-cta .primary-btn {
  margin-top: 26px;
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  position: relative;
  width: min(420px, calc(100vw - 40px));
  padding: 36px 28px;
  border: 2px solid rgba(246, 223, 159, 0.72);
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1510, #0a0908);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(214, 182, 118, 0.08);
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}

.popup h3 {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.popup > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.3;
}

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

.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(7, 6, 5, 0.92);
  border: 1px solid rgba(246, 223, 159, 0.5);
  color: var(--gold-2);
  font-size: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.floating-chat {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 20;
  width: min(492px, calc(100vw - 20px));
  transform: translateX(-50%) translateY(120%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 42px 12px 12px;
  border: 1px solid rgba(246, 223, 159, 0.54);
  border-radius: 12px;
  background: rgba(7, 6, 5, 0.82);
  backdrop-filter: blur(13px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.62);
  transition: transform 0.5s ease;
}

.floating-chat.show {
  transform: translateX(-50%) translateY(0);
}

.chat-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.avatar {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #100d0a;
  box-shadow: inset 0 0 24px rgba(0,0,0,0.22);
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 50%;
}

.floating-chat .avatar span {
  position: absolute;
  right: 4px;
  bottom: 6px;
  width: 14px;
  height: 14px;
  margin: 0;
  border-radius: 50%;
  background: var(--green);
  z-index: 2;
}

.floating-chat a {
  display: block;
}

.floating-chat b {
  display: block;
  color: var(--gold-2);
  font-size: 18px;
  text-transform: uppercase;
}

.floating-chat a span {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 16px;
}

.section-animate {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero.section-animate {
  opacity: 1;
  transform: none;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 1. Каскадное появление пунктов списка */
.truth-list li,
.service-card.active .service-body li {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section-animate.visible .truth-list li,
.service-card.active .service-body li {
  opacity: 1;
  transform: translateX(0);
}

.section-animate.visible .truth-list li:nth-child(1) { transition-delay: 0.1s; }
.section-animate.visible .truth-list li:nth-child(2) { transition-delay: 0.2s; }
.section-animate.visible .truth-list li:nth-child(3) { transition-delay: 0.3s; }
.section-animate.visible .truth-list li:nth-child(4) { transition-delay: 0.4s; }
.section-animate.visible .truth-list li:nth-child(5) { transition-delay: 0.5s; }

.service-card.active .service-body li:nth-child(1) { transition-delay: 0.05s; }
.service-card.active .service-body li:nth-child(2) { transition-delay: 0.1s; }
.service-card.active .service-body li:nth-child(3) { transition-delay: 0.15s; }
.service-card.active .service-body li:nth-child(4) { transition-delay: 0.2s; }
.service-card.active .service-body li:nth-child(5) { transition-delay: 0.25s; }

/* 2. Кнопки мессенджеров — поочерёдный scale-in */
.messengers .messenger,
.messenger-actions .messenger,
.popup-messengers .messenger {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.25s ease;
}

.section-animate.visible .messengers .messenger,
.section-animate.visible .messenger-actions .messenger,
.popup-overlay.active .popup-messengers .messenger {
  opacity: 1;
  transform: scale(1);
}

.section-animate.visible .messengers .messenger:nth-child(1),
.section-animate.visible .messenger-actions .messenger:nth-child(1),
.popup-overlay.active .popup-messengers .messenger:nth-child(1) { transition-delay: 0.1s; }

.section-animate.visible .messengers .messenger:nth-child(2),
.section-animate.visible .messenger-actions .messenger:nth-child(2),
.popup-overlay.active .popup-messengers .messenger:nth-child(2) { transition-delay: 0.2s; }

.section-animate.visible .messengers .messenger:nth-child(3),
.section-animate.visible .messenger-actions .messenger:nth-child(3),
.popup-overlay.active .popup-messengers .messenger:nth-child(3) { transition-delay: 0.3s; }

/* 3. Свечение рамки при раскрытии карточки услуг */
.service-card {
  transition: box-shadow 0.5s ease;
}

.service-card.active {
  box-shadow: 0 22px 54px rgba(0,0,0,0.42), 0 0 24px rgba(214, 182, 118, 0.18);
}

/* 4. Плавающий виджет — bounce при появлении */
.floating-chat.show {
  transform: translateX(-50%) translateY(0);
  animation: chatBounce 0.6s ease;
}

/* 5. Шаги — каскадное появление */
.step-grid article {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-animate.visible .step-grid article:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-animate.visible .step-grid article:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.section-animate.visible .step-grid article:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

@keyframes chatBounce {
  0% { transform: translateX(-50%) translateY(100%); }
  60% { transform: translateX(-50%) translateY(-8px); }
  80% { transform: translateX(-50%) translateY(3px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes slowZoom {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-16px);
  }
}

@keyframes rotateAura {
  to {
    transform: rotate(360deg);
  }
}

@keyframes buttonShine {
  0%,
  55% {
    transform: translateX(-130%) rotate(18deg);
  }
  100% {
    transform: translateX(130%) rotate(18deg);
  }
}

@keyframes onlinePulse {
  70% {
    box-shadow: 0 0 0 16px rgba(24, 217, 81, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 217, 81, 0);
  }
}

@keyframes lightSweep {
  from {
    transform: translateX(-7%) translateY(2%) rotate(-2deg);
  }
  to {
    transform: translateX(7%) translateY(-3%) rotate(2deg);
  }
}

@keyframes portraitShine {
  0%,
  58% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(105%);
  }
}

@media (min-width: 760px) {
  body {
    padding: 28px 0;
  }

  .page-shell {
    border-radius: 28px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-inline: 18px;
    min-height: 950px;
  }

  .messengers {
    gap: 8px;
  }

  .messenger {
    min-height: 94px;
    font-size: 11px;
  }

  .messenger-icon {
    width: 38px;
    height: 38px;
  }

  .service-head {
    font-size: 31px;
  }

  .seer-photo {
    width: min(214px, 64vw);
  }

  .truth-list li,
  .service-body li,
  .bio {
    font-size: 21px;
  }

  .messenger-actions {
    gap: 8px;
  }

  .floating-chat {
    min-height: 82px;
    padding: 10px 38px 10px 10px;
  }

  .avatar {
    width: 62px;
    height: 62px;
  }

  .floating-chat b {
    font-size: 16px;
  }

  .floating-chat span {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
