/* ===========================
   DIAGNOSTIKA PAGE STYLES
   =========================== */

/* HERO — диагностика */
.diag-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 24px 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.diag-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(65, 72, 68, 0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.diag-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 50vw at 15% 50%, rgba(179, 164, 143, 0.3) 0%, transparent 70%),
    radial-gradient(circle 40vw at 85% 20%, rgba(50, 104, 82, 0.25) 0%, transparent 65%);
  animation: diagPulse 8s ease-in-out infinite alternate;
}

@keyframes diagPulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.diag-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Орбитальная визуализация ауры */
.aura-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}

.aura-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  animation: orbitSpin linear infinite;
}

.aura-orbit-1 {
  width: 88%;
  height: 88%;
  border-color: rgba(50, 104, 82, 0.15);
  border-top-color: rgba(50, 104, 82, 0.45);
  border-right-color: rgba(50, 104, 82, 0.25);
  animation-duration: 14s;
  box-shadow: inset 0 0 40px rgba(50, 104, 82, 0.04);
}

.aura-orbit-2 {
  width: 70%;
  height: 70%;
  border-color: rgba(179, 164, 143, 0.12);
  border-bottom-color: rgba(179, 164, 143, 0.4);
  border-left-color: rgba(179, 164, 143, 0.2);
  animation-duration: 10s;
  animation-direction: reverse;
}

.aura-orbit-3 {
  width: 52%;
  height: 52%;
  border-color: rgba(1, 45, 29, 0.08);
  border-top-color: rgba(1, 45, 29, 0.3);
  animation-duration: 7s;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.aura-core {
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(165, 208, 185, 0.6),
    rgba(50, 104, 82, 0.35) 50%,
    rgba(1, 45, 29, 0.5)
  );
  box-shadow:
    0 0 30px rgba(50, 104, 82, 0.25),
    0 0 60px rgba(50, 104, 82, 0.12),
    inset 0 0 20px rgba(165, 208, 185, 0.2);
  animation: corePulse 4s ease-in-out infinite alternate;
  position: relative;
  z-index: 5;
}

@keyframes corePulse {
  0% { transform: scale(0.92); box-shadow: 0 0 30px rgba(50,104,82,0.25), 0 0 60px rgba(50,104,82,0.12); }
  100% { transform: scale(1.08); box-shadow: 0 0 50px rgba(50,104,82,0.4), 0 0 100px rgba(50,104,82,0.2); }
}

/* Чакровые точки на орбите */
.chakra-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform-origin: center;
  animation: dotFloat 3s ease-in-out infinite alternate;
}

.chakra-dot:nth-child(1) { top: 5%; left: 50%; transform: translateX(-50%); background: rgba(255,100,100,0.7); box-shadow: 0 0 8px rgba(255,100,100,0.5); animation-delay: 0s; }
.chakra-dot:nth-child(2) { top: 20%; right: 8%; background: rgba(255,160,50,0.7); box-shadow: 0 0 8px rgba(255,160,50,0.5); animation-delay: 0.4s; }
.chakra-dot:nth-child(3) { top: 50%; right: 3%; transform: translateY(-50%); background: rgba(255,210,50,0.7); box-shadow: 0 0 8px rgba(255,210,50,0.5); animation-delay: 0.8s; }
.chakra-dot:nth-child(4) { bottom: 20%; right: 8%; background: rgba(100,200,120,0.8); box-shadow: 0 0 8px rgba(100,200,120,0.6); animation-delay: 1.2s; }
.chakra-dot:nth-child(5) { bottom: 5%; left: 50%; transform: translateX(-50%); background: rgba(80,160,220,0.7); box-shadow: 0 0 8px rgba(80,160,220,0.5); animation-delay: 1.6s; }
.chakra-dot:nth-child(6) { bottom: 20%; left: 8%; background: rgba(120,90,200,0.7); box-shadow: 0 0 8px rgba(120,90,200,0.5); animation-delay: 2s; }
.chakra-dot:nth-child(7) { top: 20%; left: 8%; background: rgba(180,100,220,0.7); box-shadow: 0 0 8px rgba(180,100,220,0.5); animation-delay: 2.4s; }

@keyframes dotFloat {
  0% { transform: translateX(-50%) scale(0.8); opacity: 0.6; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* Метки сканирования */
.scan-label {
  position: absolute;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-teal);
  opacity: 0;
  animation: scanAppear 6s ease-in-out infinite;
}

.scan-label-1 { top: 10%; left: 0; animation-delay: 0s; }
.scan-label-2 { top: 35%; right: 0; animation-delay: 2s; }
.scan-label-3 { bottom: 15%; left: 5%; animation-delay: 4s; }

@keyframes scanAppear {
  0%, 100% { opacity: 0; transform: translateY(4px); }
  20%, 80% { opacity: 0.7; transform: translateY(0); }
}

/* Линия сканирования */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(50,104,82,0.5), transparent);
  animation: scanMove 4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes scanMove {
  0% { top: 10%; opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { top: 90%; opacity: 0; }
}

/* ========================
   WHAT IS DIAGNOSTICS
   ======================== */
.diag-what-section {
  background: var(--bg2);
  padding: 120px 24px;
}

.diag-what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.diag-text-block p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.diag-text-block p:last-child { margin-bottom: 0; }

.diag-highlight {
  background: var(--white);
  border-left: 3px solid var(--secondary-teal);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary-dark);
  line-height: 1.5;
  box-shadow: 0 4px 20px rgba(1,45,29,0.04);
}

/* Что выявляется список */
.diag-reveals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diag-reveal-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(65, 72, 68, 0.06);
  border-radius: 14px;
  padding: 20px 24px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.diag-reveal-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary-teal), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.diag-reveal-item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(1,45,29,0.06);
  border-color: rgba(50,104,82,0.15);
}

.diag-reveal-item:hover::before { opacity: 1; }

.diag-reveal-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 3px 6px rgba(1,45,29,0.1));
}

.diag-reveal-text strong {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.diag-reveal-text span {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}

/* ========================
   WHO NEEDS DIAGNOSTICS
   ======================== */
.diag-who-section {
  background: var(--bg);
  padding: 120px 24px;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.symptom-card {
  background: var(--white);
  border: 1px solid rgba(179, 164, 143, 0.2);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: default;
}

.symptom-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-teal), var(--tertiary-sand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.symptom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(1,45,29,0.07);
  border-color: rgba(50,104,82,0.15);
}

.symptom-card:hover::after { transform: scaleX(1); }

.symptom-emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

.symptom-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.symptom-card p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

/* ========================
   HOW IT WORKS SECTION
   ======================== */
.diag-process-section {
  background: var(--bg3);
  padding: 120px 24px;
}

.process-timeline {
  margin-top: 64px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(50,104,82,0.3) 10%,
    rgba(50,104,82,0.3) 90%,
    transparent
  );
}

.process-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child { margin-bottom: 0; }

.step-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(50,104,82,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  color: var(--secondary-teal);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(1,45,29,0.06);
}

.process-step:hover .step-marker {
  background: var(--secondary-teal);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(50,104,82,0.25);
}

.step-content {
  flex: 1;
  padding-top: 12px;
}

.step-content h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-content p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
  max-width: 600px;
}

.step-duration {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-teal);
  background: rgba(50,104,82,0.07);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ========================
   WHAT YOU GET SECTION
   ======================== */
.diag-result-section {
  background: var(--bg2);
  padding: 120px 24px;
}

.result-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.diag-result-card {
  background: var(--white);
  border: 1px solid rgba(65, 72, 68, 0.07);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.diag-result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(50,104,82,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.diag-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(1,45,29,0.06);
}

.diag-result-card:hover::before { opacity: 1; }

.result-card-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.diag-result-card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.diag-result-card p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

/* ========================
   COMPARISON SECTION
   ======================== */
.diag-compare-section {
  background: var(--bg);
  padding: 120px 24px;
}

.compare-table-wrap {
  margin-top: 56px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(65,72,68,0.08);
  box-shadow: 0 10px 50px rgba(1,45,29,0.04);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.compare-table th {
  padding: 24px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid rgba(65,72,68,0.06);
}

.compare-table th:first-child { color: var(--text-dim); }

.compare-table th.col-other {
  background: rgba(65,72,68,0.03);
  color: var(--text-dim);
}

.compare-table th.col-podvarchan {
  background: rgba(50,104,82,0.05);
  color: var(--secondary-teal);
}

.compare-table td {
  padding: 20px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(65,72,68,0.04);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child {
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--bg2);
  font-size: 13px;
}

.compare-table td.col-no {
  background: rgba(65,72,68,0.02);
  color: var(--text-dim);
  opacity: 0.7;
}

.compare-table td.col-no::before {
  content: '✗ ';
  color: rgba(65,72,68,0.4);
  font-weight: 600;
}

.compare-table td.col-yes {
  background: rgba(50,104,82,0.03);
  color: var(--primary-dark);
  font-weight: 500;
}

.compare-table td.col-yes::before {
  content: '✓ ';
  color: var(--secondary-teal);
  font-weight: 700;
}

/* ========================
   FAQ
   ======================== */
.diag-faq-section {
  background: var(--bg3);
  padding: 120px 24px;
}

/* ========================
   CTA BLOCK
   ======================== */
.diag-cta-section {
  background: var(--primary-container);
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.diag-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(165,208,185,0.1) 0%, transparent 70%);
}

.diag-cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.diag-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.diag-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(165,208,185,0.12);
  border: 1px solid rgba(165,208,185,0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5d0b9;
  margin-bottom: 32px;
}

.diag-cta-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}

.diag-cta-title em {
  font-style: italic;
  color: #a5d0b9;
}

.diag-cta-body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #86af99;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.diag-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  color: var(--primary-dark);
  padding: 18px 48px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.diag-cta-btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(255,255,255,0.2);
}

.diag-cta-note {
  margin-top: 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: rgba(134,175,153,0.7);
  letter-spacing: 0.04em;
}

/* ========================
   TRUST STRIP
   ======================== */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

.trust-num {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  color: #a5d0b9;
  line-height: 1;
}

.trust-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  color: rgba(134,175,153,0.7);
  text-align: center;
  letter-spacing: 0.04em;
  max-width: 100px;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 992px) {
  .diag-hero-container { grid-template-columns: 1fr; gap: 60px; }
  .aura-visual { max-width: 360px; }
  .diag-what-grid { grid-template-columns: 1fr; gap: 48px; }
  .symptoms-grid { grid-template-columns: repeat(2, 1fr); }
  .result-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .diag-hero { padding: 130px 20px 80px; }
  .symptoms-grid { grid-template-columns: 1fr; }
  .process-timeline::before { left: 20px; }
  .step-marker { width: 40px; height: 40px; font-size: 16px; }
  .process-step { gap: 24px; }
  .compare-table-wrap { overflow-x: auto; }
  .compare-table th, .compare-table td { padding: 16px 20px; font-size: 13px; }
  .trust-strip { gap: 32px; }
}