
/* IT-аутсорсинг — специфичная вёрстка карточек тарифов */

.headline{
  margin-top:16px;
  margin-bottom:24px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  flex-wrap:wrap;
}

.headline .h2{
  margin:0;
  font-size:28px;
}

.headline .text-accent{
  color:var(--accent);
}

.headline .sub{
  margin:0;
  color:var(--muted);
  font-size:15px;
}

/* Переключатель типа тарифа */
.seg{
  margin-top:16px;
  display:inline-flex;
  padding:4px;
  border-radius:999px;
  background:var(--bg-soft);
  gap:6px;
}

.seg__btn{
  border-radius:999px;
  padding:8px 14px;
  border:none;
  background:transparent;
  font-size:14px;
  cursor:pointer;
  color:var(--muted);
  font-weight:600;
}

.seg__btn--active{
  background:var(--surface);
  color:var(--accent);
  box-shadow:0 4px 16px rgba(15,23,42,.12);
}

/* Сетка тарифов */
.pricing{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

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

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

/* Карточка тарифа */
.p{
  position:relative;
  padding:24px;
}

.p--active{
  border:1px solid rgba(30,144,255,.45);
  box-shadow:0 18px 40px rgba(30,144,255,.25);
}

.p__badge{
  position:absolute;
  top:18px;
  right:22px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(30,144,255,.08);
  color:var(--accent);
  font-size:12px;
  font-weight:700;
}

.p__title{
  font-size:18px;
  font-weight:800;
  margin-bottom:6px;
}

.p__price{
  font-size:26px;
  font-weight:800;
  margin-bottom:14px;
}

.p__price .rub{
  font-size:14px;
  font-weight:500;
  color:var(--muted);
  margin-left:4px;
}

.p__caps{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  background:var(--bg-soft);
  margin-bottom:14px;
}

.cap{
  font-size:13px;
  color:var(--muted);
}

.p__list{
  list-style:none;
  padding:0;
  margin:0 0 16px 0;
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:14px;
}

.btn--full{
  width:100%;
  justify-content:center;
}
/* ---------- ТАБЫ «МИССИЯ / КОМАНДА / ОТЗЫВЫ» ---------- */
.tabs.card.card--glass{
  display:inline-flex !important;
  align-items:center;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  gap:8px;
  max-width:100%;
  width:fit-content;
  box-sizing:border-box;
  padding:6px 10px !important; /* override .card padding */
  border-radius:16px;
  scrollbar-width:thin;
}
.tabs.card.card--glass .tab{white-space:nowrap;flex:0 0 auto;}
.tabs.card.card--glass::-webkit-scrollbar{height:6px}
.tabs.card.card--glass::-webkit-scrollbar-thumb{background:rgba(30,144,255,.35);border-radius:999px}
.tabs.card.card--glass::-webkit-scrollbar-track{background:transparent}

.tab{
  position:relative;
  display:inline-block;
  padding:10px 16px;
  border-radius:12px;
  color:#5a7693;
  text-decoration:none;
  font-weight:700;
  transition:color .18s ease;
  white-space:nowrap;
}
.tab--active{color:#1e90ff;}
.tab--active::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  bottom:4px;
  height:2px;
  border-radius:999px;
  background:#1e90ff;
  box-shadow:0 0 8px rgba(54,140,182,.35);
}
.tab:hover:not(.tab--active){color:#1e90ff;}

@media (max-width:600px){
  .tabs.card.card--glass{gap:6px;padding:6px 8px !important;}
  .tab{padding:8px 12px;font-size:14px;}
}

/* Отступ вниз */
.mission{margin-top:14px;}
/*****************************************
  секция: Сисадмин (серый) VS IT-аутсорсинг (акцент)
******************************************/

.compare-outsourcing {
  padding: 48px 20px;
  background: #f5f7fb;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #111827;
}

/* Контейнер */
.compare-outsourcing__container {
  max-width: 960px;
  margin: 0 auto;
}

/* Заголовок */
.compare-outsourcing__title {
  text-align: center;
  font-size: 28px;                 /* ← вернул нормальный размер */
  font-weight: 800;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.compare-outsourcing__vs { color:#1e90ff; }

/* Таблица */
.compare-outsourcing__table {
  background:#ffffff;
  border-radius:20px;
  padding:22px 26px;                /* как было */
  box-shadow:0 14px 32px rgba(32,86,138,.14);
  position:relative;
}

/* Вертикальная линия */
.compare-outsourcing__table::before {
  content:"";
  position:absolute;
  top:20px; bottom:20px; left:50%;
  width:2px;
  background:#e5e7eb;
  transform:translateX(-50%);
}

/* Ряды */
.compare-outsourcing__row {
  position:relative;
  display:flex;
  gap:28px;
  padding:18px 0 12px;
  text-align:center;                /* центрируем текст */
}
.compare-outsourcing__row + .compare-outsourcing__row {
  border-top:1px dashed #e5e7eb;
}

/* Теги */
.compare-outsourcing__tag {
  position:absolute;
  top:0; left:50%;
  transform:translate(-50%,-55%);
  background:#1e90ff;
  color:#fff;
  padding:8px 22px;
  border-radius:999px;
  font-size:16px;                   /* как в оригинале */
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/***************
   Левый столбец
***************/
.compare-outsourcing__col--left {
  font-size:15px;                   /* как было изначально */
  color:#6b7280;                    /* серый → слабее */
  line-height:1.6;
  font-weight:400;
}

/***************
   Правый столбец
***************/
.compare-outsourcing__col--right {
  font-size:15px;                   /* вернул нормальный */
  line-height:1.6;
  font-weight:600;                  /* немного жирнее → акцент */
  color:black;
}

/* Усиление преимуществ */
.compare-outsourcing__col--right b,
.compare-outsourcing__col--right strong {
  color:#1e90ff;
  font-weight:700;
}

/***************
   Выгода — отдельная карточка
***************/
.compare-outsourcing__benefit-card {
  background:#fff;
  border-radius:16px;
  padding:22px 28px;
  box-shadow:0 10px 26px rgba(32,86,138,.10);
  margin-top:28px;
  text-align:center;
}
.compare-outsourcing__benefit-label {
  font-size:13px;
  letter-spacing:.08em;
  color:#6b7280;
  margin-bottom:6px;
  text-transform:uppercase;
}
.compare-outsourcing__benefit-text {
  font-size:18px;                   /* тоже вернул норму */
  font-weight:700;
  text-transform:uppercase;
}
.compare-outsourcing__benefit-text span { color:#1e90ff; }

/***************
   MOBILE
***************/
@media(max-width:768px){
  .compare-outsourcing__table::before{ display:none; }
  .compare-outsourcing__row{ flex-direction:column; padding:16px 0 10px; }
  .compare-outsourcing__tag{
    position:static;
    transform:none;
    margin:0 auto 10px;
  }
  .compare-outsourcing__col--left,
  .compare-outsourcing__col--right{
    font-size:16px;
  }
  .compare-outsourcing__benefit-card{
    padding:18px 16px;
    margin-top:22px;
  }
}
/* Ряды */
.compare-outsourcing__row {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 45px 0 20px;   /* было 18px → теперь есть место для тега */
  text-align: center;
}

.compare-outsourcing__row + .compare-outsourcing__row {
  border-top: 1px dashed #e5e7eb;
}

/* Теги */
.compare-outsourcing__tag {
  position:absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -60%);
  background:#1e90ff;
  color:#fff;
  padding: 6px 18px;          /* у́же — больше воздуха */
  border-radius: 999px;
  font-size:14px;             /* уменьшение = спасает переносы */
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space: nowrap;
}

/* Чтобы текст не упирался */
.compare-outsourcing__col {
  flex:1 1 50%;
  padding: 0 18px;            /* ← было 6px → мало */
  word-wrap: break-word;
  line-height: 1.65;
}
/* Ряды (оставляем как было, БЕЗ opacity) */
.compare-outsourcing__row {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 45px 0 20px; /* если ты уже менял отступы – оставь свои */
  text-align: center;
}

/* Горизонтальная пунктирная линия между строками */
.compare-outsourcing__row + .compare-outsourcing__row {
  border-top: 1px dashed rgba(30, 144, 255, 0.45); /* мягкий синий */
}

/* Центральная вертикальная линия */
.compare-outsourcing__table::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 2px;
  background: rgba(30, 144, 255, 0.55); /* синий с прозрачностью */
  transform: translateX(-50%);
}
.compare-outsourcing .accent { color:#1e90ff; font-weight:600; }
/* Итог внутри таблицы */
.compare-outsourcing__result {
  text-align:center;
  margin-top:32px;
  padding-top:22px;
  border-top:2px solid rgba(30,144,255,.35);
}

.compare-outsourcing__result-title {
  font-size:15px;
  font-weight:700;
  color:#1e90ff;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:6px;
}

.compare-outsourcing__result-value {
  font-size:20px;
  font-weight:800;
  text-transform:uppercase;
}

.compare-outsourcing__result-value span { color:#1e90ff; }
/* Вертикальная линия — делаем менее заметной */
.compare-outsourcing__table::before {
  content:"";
  position:absolute;
  top:24px; bottom:24px; left:50%;
  width:2px;
  background:rgba(30,144,255,0.15);   /* было ~0.55 → стало почти невидимой */
  transform:translateX(-50%);
}

/* Горизонтальные пунктирные — делаем ярче и контрастнее */
.compare-outsourcing__row + .compare-outsourcing__row {
  border-top:2px dashed rgba(30,144,255,0.60); /* было слабее → теперь заметно лучше */
}
/* Убираем нижнюю линию под блоком стоимости */
.compare-outsourcing__row:last-of-type {
  border-top: none !important;
}

/* ITOG A + C — выделенный, но лаконичный */
.compare-outsourcing__result {
  text-align:center;
  margin-top:34px;
  padding:26px 24px;
  border-radius:14px;
  border:2px solid rgba(30,144,255,0.35); /* акцентная рамка */
  background:rgba(255,255,255,0.9);       /* чисто, воздушно */
  backdrop-filter:blur(4px);              /* лёгкий premium-эффект */
  box-shadow:0 0 18px rgba(30,144,255,.12);/* мягкое свечение — эффект "C" */
}

/* Заголовок финблока */
.compare-outsourcing__result-title {
  font-size:15px;
  font-weight:700;
  color:#1e90ff;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:8px;
}

/* Значение выгоды */
.compare-outsourcing__result-value {
  font-size:22px;
  font-weight:800;
  text-transform:uppercase;
}

.compare-outsourcing__result-value span {
  color:#1e90ff;
  font-weight:900;
}
/* Глобальное увеличение текста */
.compare-outsourcing {
  font-size:17px; /* было 15 → теперь крупнее */
}

/* Заголовок секции */
.compare-outsourcing__title {
  font-size:30px; /* +2px для баланса */
}

/* Теги над строками */
.compare-outsourcing__tag {
  font-size:15px; /* было 14 → теперь читается лучше */
}

/* Текст слева/справа */
.compare-outsourcing__col {
  font-size:16px; /* равномерное увеличение контента */
  line-height:1.7;
}

/* Итоговый блок */
.compare-outsourcing__result-title {
  font-size:17px; /* важный элемент → чуть больше */
}

.compare-outsourcing__result-value {
  font-size:24px; /* итог должен звучать — +2px */
}


