/* entrypoint: modular css */
@import url("./base.css");
@import url("./tags_approaches.css");
@import url("./support.css");
@import url("./workflow_process.css?v=7");
@import url("./cursor.css");
@import url("./modals.css");
@import url("faq.css");
@import url("competencies-modern.css");
@import url("responsive.css");
@import url("./ux-refresh.css?v=1024");

/* legacy kept in: style.legacy.css */
/* =========================================================
   PATCH: отзывы-карусель + faq-аккордеон + нормальная оплата
   вставь ЭТО В КОНЕЦ static/css/style.css
   ========================================================= */

/* 1) fade-section: чтобы не было “пустоты” и чтобы блоки появлялись корректно */
.fade-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
  min-height: auto !important;
  padding: clamp(64px, 8vw, 120px) 0 !important;
}
.fade-section.visible {
  opacity: 1;
  transform: none;
}

/* 2) отзывы — карусель */
.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 14px;
  align-items: center;
}

.reviews-carousel-content {
  overflow: hidden;
  border-radius: 22px;
}

.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform .35s ease;
  will-change: transform;
  padding: 4px;
}

.review-card {
  flex: 0 0 360px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(124,108,255,0.18);
  border-radius: 22px;
  padding: 18px 18px;
  box-shadow: 0 10px 30px rgba(15, 12, 40, 0.06);
}

.review-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #2e2e3a;
}

@media (max-width: 820px) {
  .reviews-carousel { grid-template-columns: 40px 1fr 40px; }
  .review-card { flex-basis: 82vw; }
}

.competency-icon-advanced i,
.competency-icon-advanced ion-icon {
  font-size: 30px !important;
}

/* 3) faq — улучшенный дизайн */
.faq-section {
  padding: 100px 0;
}

.faq-section .section-header {
  text-align: center;
}

.faq-intro {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(124,108,255,0.18);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 12, 40, 0.06);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}

.faq-item:hover {
  border-color: rgba(124,108,255,0.3);
  box-shadow: 0 12px 32px rgba(124, 108, 255, 0.1);
  transform: translateY(-2px);
}

.faq-item[open] {
  background: rgba(255,255,255,0.95);
  border-color: rgba(124,108,255,0.35);
  box-shadow: 0 12px 36px rgba(124, 108, 255, 0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: #232330;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
  position: relative;
}

.faq-item summary:hover {
  color: var(--accent-dark);
}

.faq-item summary::-webkit-details-marker { 
  display: none; 
}

.faq-question-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}

.faq-item summary::after {
  content: "+";
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(124,108,255,0.12);
  color: rgba(124,108,255,0.95);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  flex: 0 0 auto;
  transition: all 0.25s ease;
  border: 1px solid rgba(124,108,255,0.2);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(124,108,255,0.2);
  border-color: rgba(124,108,255,0.3);
}

.faq-item summary:hover::after {
  background: rgba(124,108,255,0.18);
  transform: scale(1.05);
}

.faq-item[open] summary:hover::after {
  transform: rotate(45deg) scale(1.05);
}

.faq-content {
  padding: 0 24px 24px 24px;
  color: #424255;
  font-size: 15px;
  line-height: 1.65;
  animation: faqSlideDown 0.3s ease;
}

@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-content p { 
  margin: 0 0 12px 0; 
}

.faq-content p:last-child {
  margin-bottom: 0;
}

.faq-content strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Срочный вопрос */
.faq-item-urgent {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(254, 242, 242, 0.5);
}

.faq-item-urgent:hover {
  border-color: rgba(239, 68, 68, 0.35);
}

.faq-item-urgent summary::after {
  background: rgba(239, 68, 68, 0.12);
  color: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 0.2);
}

/* CTA после FAQ */
.faq-cta {
  margin-top: 48px;
  padding: 32px;
  background: rgba(124, 108, 255, 0.06);
  border: 1px solid rgba(124, 108, 255, 0.2);
  border-radius: 20px;
  text-align: center;
}

.faq-cta-text {
  margin: 0 0 16px 0;
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
}

@media (max-width: 600px) {
  .faq-item summary {
    padding: 16px 18px;
  }
  
  .faq-question-text {
    font-size: 15px;
  }
  
  .faq-content {
    padding: 0 18px 18px 18px;
    font-size: 14px;
  }
  
  .faq-cta {
    padding: 24px 20px;
  }
}

/* 4) способы оплаты — аккуратная сетка и одинаковые карточки */
.payments-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.payment-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(124,108,255,0.14);
  border-radius: 20px;
  padding: 16px 16px;
  box-shadow: 0 10px 30px rgba(15, 12, 40, 0.05);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 110px;
}

.payment-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(124,108,255,0.12);
  border: 1px solid rgba(124,108,255,0.18);
  font-size: 18px;
  flex: 0 0 auto;
}

.payment-text {
  font-size: 13px;
  color: #4b4b62;
  line-height: 1.35;
}

.payment-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #232330;
}

@media (max-width: 980px) {
  .payments-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .payments-cards { grid-template-columns: 1fr; }
}

/* 5) модалка “услуги” — прайс и списки */
.service-modal-main ol,
.service-modal-main ul { padding-left: 18px; }

.service-modal-main li { margin: 6px 0; }

#service-price {
  display: grid;
  gap: 10px;
}

.price-grid {
  display: grid;
  gap: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(124,108,255,0.08);
  border: 1px solid rgba(124,108,255,0.14);
}

.price-row .label {
  font-weight: 600;
  color: #232330;
}

.price-row .value {
  color: #232330;
  white-space: nowrap;
}

/* ===== services accordion refresh ===== */
.services-accordion {
  position: relative;
  overflow: hidden;
}

.services-accordion::before,
.services-accordion::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.35;
  z-index: 0;
}

.services-accordion::before {
  top: -180px;
  left: -160px;
  background: radial-gradient(circle at center, rgba(187, 160, 255, 0.28), rgba(255, 255, 255, 0));
}

.services-accordion::after {
  bottom: -220px;
  right: -140px;
  background: radial-gradient(circle at center, rgba(147, 119, 255, 0.22), rgba(255, 255, 255, 0));
}

.services-accordion .container {
  position: relative;
  z-index: 1;
}

.services-accordion .section-subtitle {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.services-rail {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.service-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 242, 255, 0.96) 100%);
  border: 1px solid rgba(161, 138, 255, 0.22);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 16px 30px rgba(112, 84, 188, 0.16);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(161, 138, 255, 0.35), rgba(112, 84, 188, 0.9));
}

.service-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(112, 84, 188, 0.22);
  border-color: rgba(161, 138, 255, 0.35);
}

.service-panel-featured {
  background: linear-gradient(180deg, rgba(246, 242, 255, 0.96) 0%, rgba(236, 231, 255, 0.96) 100%);
  border-color: rgba(132, 105, 255, 0.3);
}

.service-panel-featured::before {
  background: linear-gradient(180deg, rgba(132, 105, 255, 0.45), rgba(91, 62, 192, 0.95));
}

.service-panel-free {
  background: linear-gradient(180deg, rgba(249, 246, 255, 0.96) 0%, rgba(242, 238, 255, 0.96) 100%);
}

.service-panel-head h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 30px);
  font-family: var(--font-display);
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  background: rgba(161, 138, 255, 0.18);
  color: #5a3db8;
}

.service-lead {
  margin: 10px 0 18px;
  color: #3b2f52;
  line-height: 1.6;
  font-size: 16px;
  max-width: 58ch;
}

.service-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(161, 138, 255, 0.22);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 16px;
}

.service-quick-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.service-quick-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #a78bfa, #6d4bd3);
  margin-top: 6px;
  display: inline-block;
}

.service-quick-item span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #756a8f;
  margin-bottom: 4px;
}

.service-quick-item strong {
  font-size: 15px;
  color: #2c233a;
  line-height: 1.4;
  font-weight: 600;
}

.service-quick-price strong {
  line-height: 1.6;
}

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

.service-toggle {
  border: 1px solid rgba(161, 138, 255, 0.3);
  background: #ffffff;
  color: #3c2d5f;
  border-radius: 999px;
  padding: 10px 44px 10px 18px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
}

.service-toggle::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  border: 1px solid rgba(161, 138, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.service-panel.is-open .service-toggle::after {
  transform: rotate(45deg);
}

.service-toggle:hover {
  border-color: rgba(161, 138, 255, 0.5);
  transform: translateY(-1px);
}

.service-reveal {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
  will-change: max-height, opacity, transform;
}

.service-panel.is-open .service-reveal {
  opacity: 1;
  transform: translateY(0);
}

.service-reveal-inner {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px dashed rgba(161, 138, 255, 0.3);
}

.service-detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-detail-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(161, 138, 255, 0.18);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(112, 84, 188, 0.14);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-panel.is-open .service-detail-card {
  opacity: 1;
  transform: translateY(0);
}

.service-panel.is-open .service-detail-card:nth-child(1) { transition-delay: 60ms; }
.service-panel.is-open .service-detail-card:nth-child(2) { transition-delay: 120ms; }
.service-panel.is-open .service-detail-card:nth-child(3) { transition-delay: 180ms; }
.service-panel.is-open .service-detail-card:nth-child(4) { transition-delay: 240ms; }

.service-detail-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.service-detail-card ul,
.service-detail-card ol {
  margin: 0;
  padding-left: 18px;
}

.service-flow {
  margin-top: 18px;
  background: rgba(161, 138, 255, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(161, 138, 255, 0.2);
}

.service-flow h4 {
  margin: 0 0 10px;
  font-size: 15px;
}

.service-steps {
  margin: 0;
  padding-left: 18px;
  color: #0f172a;
}

.service-steps li {
  opacity: 0;
  transform: translateY(6px);
}

.service-panel.is-open .service-steps li {
  animation: serviceStepIn 420ms ease both;
}

.service-panel.is-open .service-steps li:nth-child(1) { animation-delay: 80ms; }
.service-panel.is-open .service-steps li:nth-child(2) { animation-delay: 140ms; }
.service-panel.is-open .service-steps li:nth-child(3) { animation-delay: 200ms; }
.service-panel.is-open .service-steps li:nth-child(4) { animation-delay: 260ms; }

@keyframes serviceStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .service-panel {
    transition: none;
  }
  .service-reveal,
  .service-detail-card,
  .service-steps li {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .service-panel {
    padding: 22px;
  }

  .service-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .service-panel {
    padding: 20px;
  }

  .service-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-toggle {
    width: 100%;
    text-align: left;
  }
}

/* ===== services pricing refresh ===== */
.services-pricing {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(243, 238, 255, 0.75) 70%, rgba(255, 250, 240, 0.7) 100%);
}

.services-pricing::before,
.services-pricing::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  opacity: 0.32;
  z-index: 0;
}

.services-pricing::before {
  top: -220px;
  left: -200px;
  background: radial-gradient(circle at center, rgba(124, 108, 255, 0.2), rgba(255, 255, 255, 0));
}

.services-pricing::after {
  bottom: -260px;
  right: -190px;
  background: radial-gradient(circle at center, rgba(255, 196, 126, 0.25), rgba(255, 255, 255, 0));
}

.services-pricing .container {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  margin-top: 32px;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
}

.pricing-tools {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.currency-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(124, 108, 255, 0.2);
  box-shadow: 0 10px 24px rgba(48, 28, 92, 0.1);
  position: relative;
  isolation: isolate;
  --active-w: 42px;
  --active-x: 0px;
}

.currency-btn {
  border: none;
  background: transparent;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4b4164;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  min-width: 48px;
}

.currency-switch::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: var(--active-w);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(48, 28, 92, 0.12);
  border: 1px solid rgba(124, 108, 255, 0.24);
  transform: translateX(var(--active-x));
  transition: transform 0.28s ease;
  z-index: 0;
}

.currency-btn {
  position: relative;
  z-index: 1;
}

.currency-btn:hover {
  background: rgba(124, 108, 255, 0.12);
  color: #2c233a;
}

.currency-btn.active {
  color: #2c233a;
}

.pricing-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 241, 255, 0.94) 100%);
  border: 1px solid rgba(124, 108, 255, 0.2);
  border-radius: 24px;
  padding: 28px 28px 26px;
  box-shadow: 0 22px 50px rgba(48, 28, 92, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: pricingCardIn 520ms ease both;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 55%);
  opacity: 0.35;
  pointer-events: none;
  transform: translateX(-60%);
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 108, 255, 0.35);
  box-shadow: 0 26px 60px rgba(48, 28, 92, 0.2);
}

.pricing-card-featured:hover {
  transform: translateY(-8px) scale(1.03);
}

.pricing-card:hover::after {
  animation: cardSheen 1s ease;
}

.pricing-card:nth-child(2) {
  animation-delay: 90ms;
}

.pricing-card:nth-child(3) {
  animation-delay: 180ms;
}

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

@keyframes featuredBreath {
  0%,
  100% {
    box-shadow: 0 18px 40px rgba(90, 77, 208, 0.16);
  }
  50% {
    box-shadow: 0 44px 120px rgba(90, 77, 208, 0.42);
  }
}

@keyframes cardSheen {
  from {
    transform: translateX(-60%);
    opacity: 0.2;
  }
  to {
    transform: translateX(60%);
    opacity: 0.45;
  }
}

.pricing-card-featured {
  background: linear-gradient(160deg, rgba(251, 247, 255, 1) 0%, rgba(237, 231, 255, 0.98) 100%);
  border-color: rgba(90, 77, 208, 0.42);
  box-shadow: 0 26px 60px rgba(90, 77, 208, 0.2);
  transform: translateY(-6px) scale(1.02);
  animation: pricingCardIn 520ms ease both, featuredBreath 8s ease-in-out 1.2s infinite;
}

.pricing-card-soft {
  background: linear-gradient(160deg, rgba(253, 251, 255, 0.98) 0%, rgba(244, 241, 255, 0.96) 100%);
}

.pricing-top h3 {
  margin: 8px 0 6px;
  font-size: clamp(22px, 2.1vw, 28px);
  font-family: var(--font-display);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(124, 108, 255, 0.18), rgba(255, 200, 138, 0.22));
  color: #4a2f7a;
  border: 1px solid rgba(124, 108, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: badgePulse 5.5s ease-in-out infinite;
}

.pricing-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6c57f2;
  box-shadow: 0 0 0 2px rgba(108, 87, 242, 0.16);
  animation: dotPulse 2.4s cubic-bezier(0.22, 0.7, 0.22, 1) infinite;
  will-change: transform, box-shadow;
}

.pricing-badge::after {
  content: "";
  position: absolute;
  inset: -60% -40% auto -40%;
  height: 180%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.2), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
  animation: badgeGlow 6.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes badgeGlow {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.55;
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(108, 87, 242, 0.18);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(108, 87, 242, 0.2);
  }
}

.pricing-lead {
  margin: 0;
  color: #3b2f52;
  line-height: 1.95;
}

.pricing-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(124, 108, 255, 0.16);
}

.pricing-price {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  color: #2c233a;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price {
  display: inline-block;
}

.price-pop {
  animation: pricePop 320ms ease;
}

@keyframes pricePop {
  0% {
    transform: scale(0.96);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.pricing-time {
  font-size: 11px;
  color: #4b4164;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124, 108, 255, 0.12);
}

.pricing-time-split {
  text-transform: none;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #3d3456;
  white-space: nowrap;
}

.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(124, 108, 255, 0.2);
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.pricing-cell {
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  text-align: center;
  border-right: 1px solid rgba(124, 108, 255, 0.16);
}

.pricing-cell:last-child {
  border-right: none;
}

.pricing-amount {
  font-size: 18px;
  font-weight: 700;
  color: #2c233a;
  letter-spacing: -0.01em;
}

.pricing-duration {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4a3f66;
}

@media (max-width: 640px) {
  .pricing-matrix {
    grid-template-columns: 1fr;
  }

  .pricing-cell {
    border-right: none;
    border-bottom: 1px solid rgba(124, 108, 255, 0.16);
  }

  .pricing-cell:last-child {
    border-bottom: none;
  }
}

.pricing-list {
  margin: 0;
  padding-left: 18px;
  color: #1f2937;
  line-height: 1.55;
  display: grid;
  gap: 6px;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.pricing-card:not(.pricing-card-featured) .pricing-actions .btn-ghost {
  border: 1px solid rgba(90, 77, 208, 0.28);
  color: #3c2b57;
  background: rgba(255, 255, 255, 0.85);
}

.pricing-card:not(.pricing-card-featured) .pricing-actions .btn-ghost:hover {
  border-color: rgba(90, 77, 208, 0.5);
  background: rgba(255, 255, 255, 0.98);
}

.pricing-foot {
  margin-top: 26px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-foot-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(248, 244, 255, 0.95), rgba(236, 230, 255, 0.9));
  border: 1px solid rgba(124, 108, 255, 0.22);
  box-shadow: 0 18px 36px rgba(90, 77, 208, 0.16);
  animation: pricingFootIn 520ms ease both;
}

.pricing-foot-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.pricing-foot-card p {
  margin: 0;
  color: #3b2f52;
  line-height: 1.9;
}

.pricing-foot-card:nth-child(2) {
  animation-delay: 120ms;
}

@keyframes pricingFootIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-foot-card {
    animation: none;
  }

  .pricing-card::after,
  .price-pop {
    animation: none;
  }

  .pricing-card-featured {
    animation: none;
  }

  .pricing-badge,
  .pricing-badge::after {
    animation: none;
  }

  .pricing-badge::before {
    animation: none;
  }
}

@media (max-width: 860px) {
  .pricing-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: none;
  }

  .pricing-tools {
    justify-content: center;
  }
}

/* ===== approach grid override ===== */
.section-approaches .section-header {
  text-align: center;
}

.section-approaches .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-approaches .approach-subhead {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.section-approaches .integrative-note {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-approaches .approach-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 18px;
  width: 100%;
}

.section-approaches .approach-grid .approach-card {
  min-width: 0 !important;
  max-width: none !important;
  width: 100%;
}

@media (max-width: 1100px) {
  .section-approaches .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1100px) {
  .section-approaches .approach-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .section-approaches .approach-card {
    grid-column: span 2;
  }

  .section-approaches .approach-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .section-approaches .approach-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 720px) {
  .section-approaches .approach-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 620px) {
  .pricing-card {
    padding: 22px;
  }

  .pricing-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.section-header h2,
.pricing-top h3,
.section h2,
h1,
h2,
h3 {
  font-family: var(--font-display) !important;
}
