/* ============================================================
   pricing.css — Калькулятор, этапы, кейсы, диагностика, контакты
   Тёплая премиальная тема с изумрудно-янтарными акцентами
   ============================================================ */

/* ---------- 1. Интерактивный Калькулятор Сметы ---------- */
.calc-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
  margin-top: 32px;
}

.calc-builder {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.calc-section-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-emerald);
}

/* Вкладки направлений */
.calc-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.calc-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  color: var(--txt-secondary);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-tab:hover {
  background: rgba(52, 211, 153, 0.1);
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.3);
}

.calc-tab.active {
  background: var(--grad-emerald);
  color: #052e1a;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* Выпадающий список */
.calc-field {
  margin-bottom: 24px;
}

.calc-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt-primary);
  margin-bottom: 8px;
}

.calc-select {
  width: 100%;
  background: #090e18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-select:focus {
  border-color: var(--emerald-light);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

/* Слайдеры объема */
.calc-slider-group {
  margin-bottom: 24px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-slider-header span {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-primary);
}

.calc-slider-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--emerald-light);
  background: rgba(52, 211, 153, 0.12);
  padding: 3px 12px;
  border-radius: 99px;
}

.calc-range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
  cursor: pointer;
  transition: transform 0.15s;
  border: 2px solid #07090f;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
  cursor: pointer;
  border: 2px solid #07090f;
}

/* Чекбоксы дополнительных опций */
.calc-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.calc-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.calc-addon:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(52, 211, 153, 0.3);
}

.calc-addon.checked {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--emerald);
}

.calc-addon input {
  display: none;
}

.calc-addon-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--txt-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  font-weight: 800;
  transition: all 0.2s;
  flex-shrink: 0;
}

.calc-addon.checked .calc-addon-check {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #052e1a;
}

.calc-addon-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calc-addon-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--txt-primary);
}

.calc-addon-price {
  font-size: 11.5px;
  color: var(--emerald-light);
  font-weight: 700;
}

/* Правая панель сметы */
.calc-summary {
  position: sticky;
  top: 90px;
  background: linear-gradient(160deg, rgba(22, 30, 48, 0.95), rgba(12, 16, 24, 0.95));
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(52, 211, 153, 0.12);
}

.calc-summary-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--txt-secondary);
}

.calc-breakdown-row b {
  color: #ffffff;
}

.calc-total-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.calc-total-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--txt-muted);
  margin-bottom: 4px;
}

.calc-total-sum {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--emerald-light);
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(52, 211, 153, 0.4);
}

.calc-total-sum span {
  font-size: 0.6em;
  color: #ffffff;
  margin-left: 4px;
}

.calc-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--txt-secondary);
  margin-top: 8px;
}

.calc-timeline b {
  color: var(--amber);
}

.calc-summary .btn {
  width: 100%;
}

/* ---------- 2. Этапы работы ---------- */
.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.stage {
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-emerald);
  opacity: 0;
  transition: opacity 0.3s;
}

.stage:hover::before {
  opacity: 1;
}

.stage__img {
  width: 100px;
  margin: 0 auto 16px;
  position: relative;
}

.stage__img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stage__arrow {
  position: absolute;
  top: 50%;
  right: -32px;
  width: 44px;
  transform: translateY(-50%);
  z-index: 3;
}

.stage:nth-child(3) .stage__arrow {
  display: none;
}

.stage__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

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

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

.stages-note {
  margin-top: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--txt-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.stages-note b {
  color: var(--emerald-light);
}

.stages__cta {
  text-align: center;
  margin-top: 32px;
}

/* ---------- 3. Кейсы / Портфолио ---------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work:hover img {
  transform: scale(1.06);
}

.work::after {
  content: "Подробнее о кейсе ↗";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 9, 15, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  opacity: 0;
  transition: opacity 0.3s;
}

.work:hover::after {
  opacity: 1;
}

.works__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Кейсы «Точка А → Точка B» */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.case {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.case:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(52, 211, 153, 0.14);
}

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

.case__body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  padding: 20px 18px;
  align-items: center;
}

.case__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case__side--a .case__label { color: var(--coral); }
.case__side--b .case__label { color: var(--emerald-light); }

.case__item {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--txt-secondary);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.case__item b { color: #ffffff; }

.case__item--bad {
  border-color: rgba(244, 63, 94, 0.25);
  background: rgba(244, 63, 94, 0.06);
}
.case__item--bad b { color: var(--coral); }

.case__item--good {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(16, 185, 129, 0.06);
}
.case__item--good b { color: var(--emerald-light); }

.case__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-emerald);
  color: #052e1a;
  font-size: 18px;
  font-weight: 800;
}

.cases__remind {
  text-align: center;
  font-size: 15px;
  color: var(--txt-primary);
  padding: 16px 20px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: var(--radius-lg);
  background: rgba(16, 185, 129, 0.08);
  margin-bottom: 28px;
}

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

@media (max-width: 640px) {
  .case__body { grid-template-columns: 1fr; }
  .case__arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- 4. Бесплатная диагностика ---------- */
.diag {
  padding: 48px 0;
}

.diag__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  background: linear-gradient(135deg, rgba(16, 22, 36, 0.95), rgba(8, 12, 22, 0.95));
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(52, 211, 153, 0.1);
}

.diag__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(800px 300px at 50% 0%, rgba(52, 211, 153, 0.15), transparent 70%);
  pointer-events: none;
}

.diag__card > * {
  position: relative;
  z-index: 2;
}

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

.diag__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #ffffff;
}

.diag__title span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.diag__sub {
  color: var(--txt-secondary);
  max-width: 660px;
  margin: 0 auto 32px;
  font-size: clamp(14.5px, 1.8vw, 17px);
}

.diag__actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.diag__form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
}

.diag__form-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.diag__form-sub {
  color: var(--txt-muted);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.diag__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.diag__row input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 12px 14px;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s;
  min-width: 0;
}

.diag__row input:focus {
  border-color: var(--emerald-light);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.diag__row input::placeholder {
  color: var(--txt-muted);
}

.diag__benefits {
  text-align: left;
}

.diag__b-head {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.diag__b-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 10px;
}

.diag__b-num {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--emerald-light);
}

.diag__b-item b {
  display: block;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 2px;
}

.diag__b-item span {
  font-size: 12px;
  color: var(--txt-secondary);
  line-height: 1.4;
}

.diag__calm {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.diag__calm span {
  font-size: 12px;
  color: var(--txt-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: 99px;
}

.diag__note {
  margin-top: 14px;
  color: var(--txt-muted);
  font-size: 13.5px;
}

/* ---------- 5. Контакты & Форма ---------- */
.contact {
  text-align: center;
  background: #07090f;
  border-top: 1px solid var(--border-subtle);
}

.contact__title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

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

.contact__sub {
  color: var(--txt-secondary);
  max-width: 660px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.form-card {
  border-radius: var(--radius-xl);
  padding: 34px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.form-card h3, .form-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.form-card h3 span, .form-title span {
  color: var(--emerald-light);
}

.form-card .form-sub {
  color: var(--txt-secondary);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field input, .form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 13px 16px;
  font-size: 14.5px;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.form-field input:focus, .form-field textarea:focus {
  border-color: var(--emerald-light);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.form-field input::placeholder, .form-field textarea::placeholder {
  color: var(--txt-muted);
}

.form-card .btn {
  width: 100%;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--txt-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.consent input {
  margin-top: 2px;
  flex-shrink: 0;
}

.consent a {
  color: var(--emerald-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info {
  text-align: left;
}

.ci-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.ci-desc {
  color: var(--txt-muted);
  margin-bottom: 22px;
  font-size: 14px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 12px;
  transition: all 0.25s;
}

.ci-item:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.ci-item .ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 44px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.ci-item b {
  display: block;
  font-family: var(--font-heading);
  font-size: 14.5px;
  color: #ffffff;
}

.ci-item .ci-sub {
  font-size: 12.5px;
  color: var(--txt-muted);
}

/* ---------- 6. Футер ---------- */
.footer {
  text-align: center;
  padding: 32px 0 40px;
  color: var(--txt-muted);
  font-size: 13px;
  border-top: 1px solid var(--border-subtle);
  background: #050709;
}

.footer b {
  color: var(--txt-secondary);
}

.footer__legal {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.5;
}

.footer__legal a {
  color: var(--txt-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal a:hover {
  color: var(--emerald-light);
}

/* ---------- Управление ценами (CMS) ---------- */
.cms-price-box {
  max-width: 860px;
  width: 94vw;
}

.cms-price-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 6px;
}

.cms-price-group {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(17, 22, 36, 0.5);
  display: flex;
  flex-direction: column;
}

.cms-price-group__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(52, 211, 153, 0.1);
  border-bottom: 1px solid var(--border-subtle);
  flex: 0 0 auto;
}

.cms-price-group__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-price-group__count {
  font-size: 12px;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 99px;
  padding: 2px 10px;
  flex: 0 0 auto;
}

.cms-price-group__add,
.cms-price-group__del {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  flex: 0 0 auto;
  line-height: 1;
}

.cms-price-group__del {
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  font-size: 13px;
}

.cms-price-group__add:hover {
  background: var(--emerald);
  color: #052e1a;
}

.cms-price-group__del:hover {
  background: rgba(244, 63, 94, 0.3);
}

.cms-price-group__list {
  max-height: 220px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.cms-price-group__empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--txt-muted);
}

.cms-price-group__new {
  width: 100%;
  padding: 12px;
  border: 1px dashed rgba(52, 211, 153, 0.4);
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.06);
  color: var(--emerald-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.cms-price-group__new:hover {
  background: rgba(16, 185, 129, 0.14);
  border-style: solid;
}

.cms-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cms-price-row:last-child {
  border-bottom: none;
}

.cms-price-row__move {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cms-move {
  width: 22px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border-radius: 5px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}

.cms-move:hover:not(:disabled) {
  border-color: rgba(52, 211, 153, 0.5);
  color: var(--emerald-light);
}

.cms-move:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cms-price-inp {
  background: #111624;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12.5px;
}

.cms-price-inp--icon {
  width: 40px;
  text-align: center;
}

.cms-price-inp--price {
  width: 90px;
  color: var(--emerald-light);
  font-weight: 700;
}

.cms-price-inp--time {
  width: 100px;
}

.cms-price-inp--title {
  flex: 1;
  min-width: 140px;
}

.cms-del-svc {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
  cursor: pointer;
  font-size: 12px;
  flex: 0 0 auto;
  transition: all 0.2s;
}

.cms-del-svc:hover {
  background: rgba(244, 63, 94, 0.3);
}

@media (max-width: 900px) {
  .cms-price-row {
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
  }
  .cms-price-row__move { order: 0; }
  .cms-price-inp--title { min-width: 100%; order: -1; }
  .cms-price-inp--icon { width: 44px; }
  .cms-price-inp--price { width: 110px; }
  .cms-price-inp--time { width: 120px; }
  .cms-del-svc { order: 1; }
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1024px) {
  .calc-container { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; gap: 24px; }
  .stage__arrow { display: none; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .diag__actions { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .calc-tabs { grid-template-columns: repeat(2, 1fr); }
  .calc-addons { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .diag__row { grid-template-columns: 1fr; }
}
