/* ============================================================
   sections.css — Секции: Обо мне, Выгоды, Трудности (боли),
   Подход, Почему я, Отзывы, ИИ-чат — тёплая премиальная тема
   ============================================================ */

/* ---------- 1. Обо мне ---------- */
.about {
  display: flex;
  justify-content: center;
  text-align: center;
}

.about__img {
  display: none;
}

.about__body {
  max-width: 880px;
}

.about__head {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  display: inline-block;
}

.about__head span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--txt-secondary);
  margin: 0 auto;
}

.about__text em {
  font-style: normal;
  color: var(--txt-primary);
  font-weight: 600;
}

.about__text b {
  color: var(--emerald-light);
  font-weight: 600;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px auto 0;
  max-width: 780px;
}

.stat {
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent);
}

.stat::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.08), transparent 70%);
  pointer-events: none;
}

.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(52, 211, 153, 0.1);
}

.stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.stat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- 2. Выгоды (Что изменится) ---------- */
.benefits__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.benefits__rocket {
  width: 48px;
  filter: drop-shadow(0 4px 14px rgba(251, 191, 36, 0.4));
  animation: rocketFloat 4s ease-in-out infinite;
}

@keyframes rocketFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

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

.benefit {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.benefit::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1), transparent 70%);
  transition: transform 0.4s;
  pointer-events: none;
}

.benefit:hover::before {
  transform: scale(1.3);
}

.benefit::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--grad-emerald);
  transition: width 0.35s ease;
}

.benefit:hover::after {
  width: 100%;
}

.benefit:hover .benefit__tri {
  transform: scale(1.1) translateY(-2px);
}

.benefit__tri {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 14px;
  transition: transform 0.3s;
}

.benefit__num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--emerald-light);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}

.benefit h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.benefit p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--txt-secondary);
  flex: 1;
}

.benefit p b {
  color: var(--txt-primary);
  font-weight: 600;
}

.benefit p i {
  color: var(--emerald-light);
  font-style: normal;
  font-weight: 700;
}

.benefits__stat, .diff__stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 32px auto 0;
  max-width: 700px;
  background: rgba(16, 22, 36, 0.8);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.benefits__stat-ic, .diff__stat-ic {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.benefits__stat-txt, .diff__stat-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.benefits__stat-txt b, .diff__stat-txt b {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--emerald-light);
  letter-spacing: -0.01em;
}

.benefits__stat-txt i, .diff__stat-txt i {
  font-style: normal;
  font-size: 13.5px;
  color: var(--txt-primary);
  font-weight: 600;
}

.benefits__stat-note, .diff__stat-note {
  font-size: 13px;
  color: var(--txt-muted);
  max-width: 270px;
}

.benefits__cta, .diff__cta {
  text-align: center;
  margin-top: 44px;
}

.benefits__cta .accent {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: #ffffff;
}

.benefits__cta .accent b {
  color: var(--amber);
}

.benefits__cta .sub {
  color: var(--txt-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ---------- 3. Трудности (боли клиента) ---------- */
.diff__head {
  margin-bottom: 28px;
}

.diff__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.diff__grid--8 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.loss-wrap {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06), rgba(7, 9, 15, 0.4));
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}

.loss-wrap__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--emerald-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.loss-wrap__head {
  margin-bottom: 24px;
}

.loss-wrap__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.loss-wrap__title span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loss-wrap__sub {
  font-size: 14.5px;
  color: var(--txt-secondary);
  margin-top: 8px;
  max-width: 640px;
}

.loss-wrap .loss-calc {
  margin-top: 28px;
}

.loss-wrap__step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.loss-wrap__step-num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: #052e1a;
  background: var(--grad-emerald);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.loss-wrap__step-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.loss-wrap__step-hint {
  font-size: 13px;
  color: var(--txt-muted);
  margin-top: 3px;
}

.diff {
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  overflow: hidden;
}

.diff:hover {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(244, 63, 94, 0.12);
}

.diff__circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(244, 63, 94, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.diff__circle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.diff__circle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.45);
}

.diff__n {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.diff h4 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.diff p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--txt-secondary);
}

.diff p b {
  color: var(--coral);
}

.diff__stat {
  border-color: rgba(244, 63, 94, 0.25);
}

.diff__stat-ic {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
}

.diff__stat-txt b {
  color: var(--coral);
}

/* Интерактивные карточки-чекбоксы */
.diff-check {
  cursor: pointer;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.diff-check__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.diff-check__box {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: transparent;
  transition: all 0.25s;
  z-index: 3;
}

.diff-check:hover .diff-check__box {
  border-color: rgba(52, 211, 153, 0.6);
}

.diff-check.checked {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 26px rgba(16, 185, 129, 0.18);
}

.diff-check.checked .diff-check__box {
  background: var(--grad-emerald);
  border-color: transparent;
  color: #052e1a;
}

/* Калькулятор потерь */
.loss-calc {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(16px);
}

.loss-calc__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.loss-calc__ic {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.loss-calc__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.loss-calc__sub {
  font-size: 13.5px;
  color: var(--txt-secondary);
  margin-top: 4px;
}

.loss-calc__revenue {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.loss-rev {
  flex: 1 1 auto;
  min-width: 130px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt-primary);
  cursor: pointer;
  transition: all 0.25s;
}

.loss-rev:hover {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(16, 185, 129, 0.1);
}

.loss-rev.active {
  border-color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.15);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.loss-calc__result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.loss-calc__row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.loss-calc__row span {
  display: block;
  font-size: 12px;
  color: var(--txt-muted);
  margin-bottom: 6px;
}

.loss-calc__row b {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--coral);
}

.loss-calc__row:nth-child(3) b {
  color: var(--emerald-light);
}

.loss-calc__cta {
  text-align: center;
}

@media (max-width: 768px) {
  .loss-calc__result { grid-template-columns: 1fr; }
}

/* Блок решения после боли */
.solution {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(20, 184, 166, 0.06));
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.solution::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.solution__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--emerald-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.solution__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.solution__title span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.solution__text {
  font-size: 15px;
  color: var(--txt-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 24px;
}

.solution__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.solution__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.solution__ic {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.solution__item b {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.solution__item span {
  font-size: 12.5px;
  color: var(--txt-secondary);
  line-height: 1.4;
}

.solution__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 4. Подход к работе ---------- */
.approach__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.appr {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.appr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--grad-emerald);
  transition: height 0.35s ease;
  border-radius: 0 3px 3px 0;
}

.appr:hover::before {
  height: 100%;
}

.appr:hover .appr__icon {
  transform: scale(1.08) rotate(-2deg);
}

.appr__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s;
}

.appr h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--emerald-light);
  margin-bottom: 8px;
}

.appr p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--txt-secondary);
}

.appr p b {
  color: #ffffff;
  font-weight: 600;
}

.appr__cta {
  text-align: center;
  margin-top: 44px;
}

/* ---------- 5. Почему я ---------- */
.why__top {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.why__promise {
  max-width: 780px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.why__promise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent);
}

.why__promise-ic {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.why__promise .why-note {
  font-size: 16px;
  line-height: 1.7;
  color: var(--txt-primary);
}

.why__promise-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.why__pstat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  text-align: center;
  min-width: 120px;
}

.why__pstat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--emerald-light);
}

.why__pstat span {
  font-size: 12px;
  color: var(--txt-muted);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-card:hover .why-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.why-card__icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--emerald-light);
  margin-bottom: 8px;
  line-height: 1.35;
}

.why-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--txt-secondary);
}

.why-card p b {
  color: #ffffff;
  font-weight: 600;
}

.why__close {
  text-align: center;
  max-width: 780px;
  margin: 32px auto 0;
}

.why__close .quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--txt-secondary);
  margin-bottom: 24px;
}

.why__close .quote b {
  color: var(--emerald-light);
}

/* ---------- 6. Отзывы ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review:hover {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(251, 191, 36, 0.1);
  transform: translateY(-4px);
}

.review__stars {
  color: var(--amber);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--txt-primary);
  font-style: normal;
  flex: 1;
  margin-bottom: 18px;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  background: var(--grad-emerald);
  color: #052e1a;
}

.review__author b {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
}

.review__author span {
  font-size: 12px;
  color: var(--txt-muted);
}

/* ---------- 7. ИИ-чат ---------- */
.aichat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
}

.aichat__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--grad-emerald);
  color: #052e1a;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aichat__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(52, 211, 153, 0.6);
}

.aichat__toggle.active {
  background: var(--grad-coral);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.4);
}

.aichat__box {
  position: fixed;
  right: 24px;
  bottom: 84px;
  width: min(320px, 92vw);
  max-height: 300px;
  display: none;
  flex-direction: column;
  background: #0a0e18;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(52, 211, 153, 0.15);
  overflow: hidden;
  z-index: 1501;
  animation: chatOpen 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes chatOpen {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.aichat__box.open {
  display: flex;
}

.aichat__head {
  padding: 14px 18px;
  background: rgba(52, 211, 153, 0.12);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aichat__body {
  flex: 1;
  min-height: 140px;
  max-height: 170px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aichat__msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.45;
}

.aichat__msg.bot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--txt-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.aichat__msg.user {
  background: var(--grad-emerald);
  color: #052e1a;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.aichat__quick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
}

.aichat__quick button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--txt-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.aichat__quick button:hover {
  border-color: var(--emerald-light);
  color: #ffffff;
  background: rgba(52, 211, 153, 0.15);
}

.aichat__input {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
}

.aichat__input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13.5px;
  outline: none;
}

.aichat__input input:focus {
  border-color: var(--emerald-light);
}

.aichat__input button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--emerald);
  color: #052e1a;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.aichat__input button:hover {
  background: var(--emerald-light);
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1024px) {
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid3 { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; }
  .why__promise { padding: 24px 18px; }
  .why-card { flex-direction: column; }
}
