/* ============================================================
   ChakraHelp — Main Stylesheet
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --ch-cream:        #FAF7F2;
  --ch-surface:      #F5F0E8;
  --ch-plum:         #2C1B3E;
  --ch-plum-mid:     #4A2D6B;
  --ch-violet:       #7B5EA7;
  --ch-lavender:     #C4ADDB;
  --ch-lav-light:    #EDE5F5;
  --ch-gold:         #C9A84C;
  --ch-gold-light:   #F0DFA0;
  --ch-text:         #1A1020;
  --ch-text-mid:     #4A3D5C;
  --ch-text-light:   #8A7A9A;
  --ch-border:       rgba(123,94,167,0.18);
  --ch-border-mid:   rgba(123,94,167,0.32);
  --ch-radius-sm:    6px;
  --ch-radius:       10px;
  --ch-radius-lg:    16px;
  --ch-transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ch-cream);
  color: var(--ch-text);
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ch-plum);
}
h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.12; }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

p { line-height: 1.72; }

em, i { font-style: italic; color: var(--ch-violet); }

a { color: var(--ch-violet); transition: color var(--ch-transition); }
a:hover { color: var(--ch-plum-mid); }

/* ── WP Site Header / Nav ──────────────────────────────────── */
.wp-block-template-part.header,
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 247, 242, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ch-border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 66px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo-text {
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ch-plum);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-logo-text span { color: var(--ch-violet); }

/* WP navigation inside header */
.wp-block-navigation {
  font-size: 14px !important;
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif) !important;
}
.wp-block-navigation a {
  color: var(--ch-text-mid) !important;
  text-decoration: none;
  transition: color var(--ch-transition);
  font-weight: 400 !important;
}
.wp-block-navigation a:hover { color: var(--ch-violet) !important; }

/* ── Buttons ────────────────────────────────────────────────── */
.wp-block-button .wp-block-button__link,
.wp-element-button {
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif) !important;
  font-weight: 400 !important;
  border-radius: var(--ch-radius-sm) !important;
  transition: background var(--ch-transition), transform var(--ch-transition), border-color var(--ch-transition) !important;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--ch-plum-mid) !important;
  transform: translateY(-1px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--ch-violet) !important;
  border-color: var(--ch-border-mid) !important;
  background: transparent !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--ch-lav-light) !important;
  border-color: var(--ch-violet) !important;
}

/* Button: outline-violet style */
.wp-block-button.is-style-outline-violet .wp-block-button__link {
  background: transparent !important;
  color: var(--ch-violet) !important;
  border: 1.5px solid var(--ch-border-mid) !important;
}
.wp-block-button.is-style-outline-violet .wp-block-button__link:hover {
  background: var(--ch-lav-light) !important;
  border-color: var(--ch-violet) !important;
}

/* Button: Telegram */
.wp-block-button.is-style-telegram .wp-block-button__link {
  background: transparent !important;
  color: var(--ch-violet) !important;
  border: none !important;
  padding-left: 0 !important;
  font-size: 14px !important;
}
.wp-block-button.is-style-telegram .wp-block-button__link::before {
  content: '✈ ';
}

/* ── Eyebrow / Label ───────────────────────────────────────── */
.ch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ch-lav-light);
  color: var(--ch-violet);
  border: 1px solid var(--ch-border-mid);
  border-radius: 40px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
}
.ch-eyebrow::before { content: '✦'; font-size: 9px; }

/* ── Hero Section ───────────────────────────────────────────── */
.ch-hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding: 80px 5% 80px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.ch-hero::before {
  content: '';
  position: absolute;
  top: -220px; right: -180px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,173,219,0.28) 0%, transparent 68%);
  pointer-events: none;
}
.ch-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -120px;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ch-hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
}
.ch-stat-num {
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--ch-plum);
  line-height: 1;
  display: block;
}
.ch-stat-label {
  font-size: 12px;
  color: var(--ch-text-light);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* ── Chakra Diagram ─────────────────────────────────────────── */
.ch-diagram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.ch-diagram {
  width: 320px;
  height: 320px;
  position: relative;
  flex-shrink: 0;
}
.ch-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--ch-border-mid);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ch-pulse 4.5s ease-in-out infinite;
}
.ch-ring:nth-child(1) { width: 100%; height: 100%; animation-delay: 0s;    opacity: 0.25; }
.ch-ring:nth-child(2) { width: 76%;  height: 76%;  animation-delay: 0.6s;  opacity: 0.4; }
.ch-ring:nth-child(3) { width: 52%;  height: 52%;  animation-delay: 1.2s;  opacity: 0.6; }
.ch-ring:nth-child(4) { width: 30%;  height: 30%;  animation-delay: 1.8s;  opacity: 1; background: var(--ch-lav-light); }
@keyframes ch-pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  50%       { transform: translate(-50%,-50%) scale(1.05); }
}
.ch-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--ch-plum);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif);
  font-size: 24px;
  color: var(--ch-gold-light);
}
.ch-chakra-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin: -5px 0 0 -5px;
}
.ch-chakra-dot:nth-of-type(1) { background: #9B59B6; transform: translateY(-145px); }
.ch-chakra-dot:nth-of-type(2) { background: #5B6DB8; transform: translateY(-110px); }
.ch-chakra-dot:nth-of-type(3) { background: #3498DB; transform: translateY(-76px); }
.ch-chakra-dot:nth-of-type(4) { background: #2ECC71; transform: translateY(-42px); }
.ch-chakra-dot:nth-of-type(5) { background: #F1C40F; transform: translateY(-8px); }
.ch-chakra-dot:nth-of-type(6) { background: #E67E22; transform: translateY(26px); }
.ch-chakra-dot:nth-of-type(7) { background: #E74C3C; transform: translateY(60px); }

/* ── Section base ────────────────────────────────────────────── */
.ch-section {
  padding: 80px 5%;
}
.ch-section-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.ch-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.ch-section-sub {
  font-size: 15px;
  color: var(--ch-text-mid);
  max-width: 320px;
  line-height: 1.65;
}

/* ── Pain Cards ──────────────────────────────────────────────── */
.ch-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wp-block-group.is-style-pain-card,
.ch-pain-card {
  background: #fff !important;
  border: 1px solid var(--ch-border) !important;
  border-radius: var(--ch-radius) !important;
  padding: 24px 24px 24px 28px !important;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ch-transition), transform var(--ch-transition);
}
.wp-block-group.is-style-pain-card:hover,
.ch-pain-card:hover {
  border-color: var(--ch-border-mid) !important;
  transform: translateY(-2px);
}
.wp-block-group.is-style-pain-card::before,
.ch-pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--ch-violet);
  border-radius: 0;
}
.ch-pain-card:nth-child(1)::before { background: var(--ch-gold); }
.ch-pain-card:nth-child(2)::before { background: #C4738A; }
.ch-pain-card:nth-child(3)::before { background: #5B9B6B; }
.ch-pain-card:nth-child(4)::before { background: var(--ch-violet); }

/* ── About Section ───────────────────────────────────────────── */
.ch-about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: center;
}
.ch-about-photo {
  aspect-ratio: 3/4;
  background: var(--ch-lav-light);
  border-radius: var(--ch-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ch-about-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ch-violet);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif);
  font-size: 38px; color: #fff; font-weight: 300;
}
.ch-about-badge {
  position: absolute;
  bottom: 20px;
  left: 50%; transform: translateX(-50%);
  background: var(--ch-plum);
  color: #fff;
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 12px;
  white-space: nowrap;
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
  display: flex; align-items: center; gap: 8px;
}
.ch-about-badge::before { content: '✦'; color: var(--ch-gold); font-size: 9px; }

.ch-blockquote {
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif) !important;
  font-size: 21px !important;
  font-style: italic !important;
  color: var(--ch-plum) !important;
  border-left: 2px solid var(--ch-lavender) !important;
  padding-left: 20px !important;
  margin: 20px 0 !important;
  line-height: 1.5 !important;
}

.ch-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.ch-cred {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ch-text-mid);
}
.ch-cred::before { content: '✓'; color: var(--ch-violet); font-weight: 500; }

/* ── Service / Pricing Cards ─────────────────────────────────── */
.ch-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wp-block-group.is-style-chakra-card,
.ch-service-card {
  background: #fff !important;
  border: 1px solid var(--ch-border) !important;
  border-radius: var(--ch-radius) !important;
  transition: border-color var(--ch-transition) !important;
}
.ch-service-card:hover { border-color: var(--ch-border-mid) !important; }
.ch-service-card.featured {
  border: 2px solid var(--ch-violet) !important;
  position: relative;
}
.ch-service-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ch-violet);
  color: #fff;
  border-radius: 40px;
  padding: 4px 18px;
  font-size: 12px;
  white-space: nowrap;
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', sans-serif);
}
.ch-price {
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--ch-plum);
  line-height: 1;
}

/* ── Testimonials Section ────────────────────────────────────── */
.ch-dark {
  background: var(--ch-plum) !important;
  color: #fff;
}
.ch-dark h2,
.ch-dark .section-title { color: #fff !important; }
.ch-dark em { color: var(--ch-lavender) !important; }

.ch-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ch-t-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--ch-radius);
  padding: 24px;
}
.ch-t-stars { color: var(--ch-gold); font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.ch-t-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 20px;
}
.ch-t-author { display: flex; align-items: center; gap: 12px; }
.ch-t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
}
.ch-t-name { font-size: 14px; font-weight: 500; color: #fff; }
.ch-t-age  { font-size: 12px; color: rgba(255,255,255,0.42); }

/* ── CTA Banner ──────────────────────────────────────────────── */
.ch-cta {
  background: var(--ch-lav-light) !important;
  border-radius: var(--ch-radius-lg) !important;
  margin: 0 5% 80px !important;
  padding: 60px 64px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 40px !important;
  position: relative;
  overflow: hidden;
}
.ch-cta::before {
  content: '✦';
  position: absolute;
  right: 48px; top: 28px;
  font-size: 90px;
  opacity: 0.07;
  color: var(--ch-violet);
  pointer-events: none;
}
.ch-cta-urgency {
  font-size: 12px;
  color: var(--ch-violet);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ch-cta-urgency::before { content: '✦ '; font-size: 9px; }
.ch-cta h2 { color: var(--ch-plum) !important; font-size: 34px !important; margin-bottom: 12px; }
.ch-cta p  { font-size: 15px; color: var(--ch-text-mid); max-width: 380px; }
.ch-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.wp-block-template-part.footer,
footer.wp-block-template-part {
  border-top: 1px solid var(--ch-border);
}
.ch-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.ch-footer-logo {
  font-family: var(--wp--preset--font-family--cormorant, 'Cormorant Garamond', serif);
  font-size: 18px;
  color: var(--ch-plum);
  text-decoration: none;
}
.ch-footer-links { display: flex; gap: 24px; }
.ch-footer-links a { font-size: 13px; color: var(--ch-text-light); text-decoration: none; }
.ch-footer-links a:hover { color: var(--ch-violet); }
.ch-footer-meta { font-size: 13px; color: var(--ch-text-light); }

/* ── Surface background for alternate sections ───────────────── */
.has-surface-background-color { background-color: var(--ch-surface) !important; }
.has-accent-light-background-color { background-color: var(--ch-lav-light) !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ch-hero           { grid-template-columns: 1fr; min-height: auto; gap: 40px; padding-top: 48px; }
  .ch-about-grid     { grid-template-columns: 1fr; gap: 40px; }
  .ch-about-photo    { aspect-ratio: auto; min-height: 260px; }
  .ch-services-grid  { grid-template-columns: 1fr; }
  .ch-testimonials-grid { grid-template-columns: 1fr; }
  .ch-pain-grid      { grid-template-columns: 1fr; }
  .ch-cta            { flex-direction: column; padding: 40px 28px !important; margin: 0 4% 60px !important; }
  .ch-hero-stats     { gap: 20px; }
  .ch-diagram-wrap   { display: none; }
}

@media (max-width: 600px) {
  .ch-hero { padding: 40px 5%; }
  .ch-section { padding: 56px 5%; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes ch-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ch-hero-content {
  animation: ch-fadein 0.7s ease both;
}
.ch-diagram-wrap {
  animation: ch-fadein 0.9s 0.2s ease both;
}

/* ── Chakra figure animations ────────────────────────────────── */
@keyframes ch-chakra-pulse {
  0%,100% { opacity:.35; transform:scale(1); }
  50%      { opacity:.7;  transform:scale(1.3); }
}
.ch-cp1{animation:ch-chakra-pulse 3s 0.0s ease-in-out infinite;transform-origin:150px 138px}
.ch-cp2{animation:ch-chakra-pulse 3s 0.3s ease-in-out infinite;transform-origin:150px 98px}
.ch-cp3{animation:ch-chakra-pulse 3s 0.6s ease-in-out infinite;transform-origin:150px 148px}
.ch-cp4{animation:ch-chakra-pulse 3s 0.9s ease-in-out infinite;transform-origin:150px 205px}
.ch-cp5{animation:ch-chakra-pulse 3s 1.2s ease-in-out infinite;transform-origin:150px 255px}
.ch-cp6{animation:ch-chakra-pulse 3s 1.5s ease-in-out infinite;transform-origin:150px 295px}
.ch-cp7{animation:ch-chakra-pulse 3s 1.8s ease-in-out infinite;transform-origin:150px 338px}

/* ── Photo wrap + chakra overlay ─────────────────────────────── */
.ch-photo-wrap {
  position: relative;
  width: 380px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ch-chakra-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* пульсирующие овальные кольца вокруг девушки */
.ch-ring-1,
.ch-ring-2,
.ch-ring-3,
.ch-ring-4 {
  position: absolute;
  border-radius: 50% 50% 46% 46%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.ch-ring-1 { width: 220px; height: 340px; border: 1.5px solid rgba(123,94,167,.55); animation: ch-ring-pulse 3.6s 0.0s ease-in-out infinite; }
.ch-ring-2 { width: 280px; height: 400px; border: 1px   solid rgba(196,173,219,.4);  animation: ch-ring-pulse 3.6s 0.6s ease-in-out infinite; }
.ch-ring-3 { width: 340px; height: 460px; border: 1px   solid rgba(196,173,219,.25); animation: ch-ring-pulse 3.6s 1.2s ease-in-out infinite; }
.ch-ring-4 { width: 400px; height: 520px; border: 0.5px solid rgba(196,173,219,.12); animation: ch-ring-pulse 3.6s 1.8s ease-in-out infinite; }

@keyframes ch-ring-pulse {
  0%,100% { opacity: .5;  transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%,-50%) scale(1.04); }
}

/* SVG поверх фото */
.ch-chakra-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* пульс каждой чакры */
@keyframes ch-chakra-dot {
  0%,100% { opacity: .25; transform: scale(1); }
  50%      { opacity: .65; transform: scale(1.6); }
}
.ch-cp1 { animation: ch-chakra-dot 3s 0.0s ease-in-out infinite; transform-origin: 200px 38px;  }
.ch-cp2 { animation: ch-chakra-dot 3s 0.3s ease-in-out infinite; transform-origin: 200px 118px; }
.ch-cp3 { animation: ch-chakra-dot 3s 0.6s ease-in-out infinite; transform-origin: 200px 196px; }
.ch-cp4 { animation: ch-chakra-dot 3s 0.9s ease-in-out infinite; transform-origin: 200px 272px; }
.ch-cp5 { animation: ch-chakra-dot 3s 1.2s ease-in-out infinite; transform-origin: 200px 338px; }
.ch-cp6 { animation: ch-chakra-dot 3s 1.5s ease-in-out infinite; transform-origin: 200px 390px; }
.ch-cp7 { animation: ch-chakra-dot 3s 1.8s ease-in-out infinite; transform-origin: 200px 448px; }

@media (max-width: 900px) {
  .ch-photo-wrap { width: 280px; height: 360px; }
  .ch-ring-3, .ch-ring-4 { display: none; }
}
