.slider-service{
  position:relative;
  color:#fff;
  overflow:visible;
  background:linear-gradient(
    180deg,
    #1d457f 0%,
    #215c7a 60%,
    #2a7a68 100%
  );
}
.slider-service .inner{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;padding:64px 0 120px}
.slider-service h1{font-size:clamp(28px,5vw,38px);line-height:1.08;margin:0 0 10px}
.slider-service p{color:#dbeafe}
.slider-service .badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#000;color:#0b1040;font:600 12px/1 Inter}
.badge-service {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font: 700 13px/1 Inter, sans-serif;
  color: #fff;
background: linear-gradient(90deg,
  #015cab 0%,
  #00aebe 70%,
  #07976f 100%
);
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.service-section { margin-top: 60px; position: relative; }
.service-head { text-align: left; margin-bottom: 22px; }
.service-head h2 { font: 800 24px/1.3 Inter, sans-serif; color: #0b1040; margin: 0 0 6px; }
.service-head p { color: #475569; font: 500 14.5px/1.4 Inter; margin: 0; }
.service-surface {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.service-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.service-filter-group { display: grid; gap: 5px; }
.service-filter-group label { font: 700 12px/1 Inter; color: #334155; }
.service-select, .service-input {
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(2,6,23,0.12);
  background: #fff;
  color: #0b1040;
  font: 600 13px/1 Inter;
}
.service-input { min-width: 220px; }
.service-table-wrap { margin-top: 20px; position: relative; }
.service-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font: 600 14.5px/1.4 Inter;
  color: #0b1040;
}
.service-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  padding: 12px;
  font: 800 13px/1.2 Inter;
  color: #334155;
  text-align: left;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.service-table thead th.sortable.active::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 5px;
  border: 2px solid currentColor;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  opacity: 0.7;
}
.service-table thead th.active.asc::after { transform: rotate(-135deg); }
.service-table tbody td {
  background: #fff;
  padding: 12px;
  border-top: 1px solid rgba(214,220,233,0.45);
  border-bottom: 1px solid rgba(214,220,233,0.45);
}
.service-table tbody tr:hover td {
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.service-table tbody td:first-child {
  border-left: 1px solid rgba(214,220,233,0.45);
  border-radius: 8px 0 0 8px;
}
.service-table tbody td:last-child {
  border-right: 1px solid rgba(214,220,233,0.45);
  border-radius: 0 8px 8px 0;
}
.service-table td.right { text-align: right; }
.service-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f2f5fd;
  border: 1px solid rgba(2,6,23,0.06);
  font: 700 11px/1 Inter;
  color: #0b1040;
  margin: 0 3px 3px 0;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3a5fff, #06b6d4);
  color: #fff;
  font: 800 12.5px/1 Inter;
  text-decoration: none;
  border: none;
  box-shadow: 0 3px 12px rgba(58,95,255,0.25);
}
.service-cta:hover { transform: translateY(-1px); filter: brightness(1.03); }
#services-overlap .dp-filters{
  position: relative;
  z-index: 250;
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 8px; 
  border-radius: 6px;
  background: rgba(255,255,255,.10); 
  box-shadow: 0 3px 5px rgba(2,6,23,.18);
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  backdrop-filter: blur(8px) saturate(1.2);
  margin-bottom: 12px; 
}
#services-overlap .dp-filters::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(255,255,255,.22);
  opacity: .8;
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
#services-overlap .dp-filters{
    background: rgba(255,255,255,.85);
    border-color: rgba(2,6,23,.08);
  }
}
#services-overlap .dp-select{ position:relative; display:inline-flex; }
#services-overlap .dp-select > select.pill{
  position:absolute!important; inset:0; width:100%; height:100%;
  opacity:0; pointer-events:none;
}
#services-overlap .dp-sel-btn{
  display:inline-flex; align-items:center; gap:8px;
  height:40px; padding:0 12px;
  border-radius:6px; border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color:#e8eeff;
  font:700 13px/1 Inter,system-ui,sans-serif;
  cursor:pointer; white-space:nowrap;
}
#services-overlap .dp-sel-btn:hover{ background:rgba(255,255,255,.18); }
#services-overlap .dp-sel-btn svg{ opacity:.9; }
#services-overlap .dp-sel-menu {
  position: absolute;
  z-index:60;
  top: 46px;
  left: 0;
  min-width: 220px;
  padding: 12px 0;
  padding:12px;
  background: #71a2a3; 
  color:#e5e7eb;
  border:1px solid rgba(110,231,255,.22);
  border-radius: 6px;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.15);
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity .22s ease,
    transform .22s ease;
}
#services-overlap .dp-select.open .dp-sel-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#services-overlap .dp-sel-item {
  display: flex;
  gap:10px;
  align-items: center;
  width: 100%;
  padding:10px 12px;
  font: 600 13px/1.2 Inter, system-ui, sans-serif;
  color: #e8efff;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
#services-overlap .dp-sel-item:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
#services-overlap .dp-sel-item[aria-selected="true"] {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
#services-overlap .dp-select.open .dp-sel-btn svg{ transform: rotate(180deg); }
#services-overlap #sf-reset.vps-bill-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;                /* точно как у dp-sel-btn */
  padding:0 12px;
  border-radius:6px;
   gap:8px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color:#e8eeff;
  font:700 13px/1 Inter,system-ui,sans-serif;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 3px 6px rgba(2,6,23,.18);
  transition:background .15s ease, transform .12s ease;
}
#services-overlap #sf-reset.vps-bill-toggle:hover{
  background:rgba(255,255,255,.18);
  transform:translateY(-1px);
}
#services-overlap .dp-filters .dp-select{ margin-right:16px;}
#services-overlap .dp-filters #sf-reset{ margin-left:6px; }

#services-overlap .dp-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
}
#services-overlap #sf-reset.vps-bill-toggle{
  margin-left:auto;
  height:40px;
  padding:0 18px;
}
.level svg {
  width: 150px;
  height: 25px;
  display: block;
}
.level .box {
  fill: transparent;
  stroke-width: 0.7;
  stroke: currentColor;
  rx: 6;
}
.level[data-diff="easy"]   { color: #c5e91d; } 
.level[data-diff="medium"] { color: #fee500; }
.level[data-diff="hard"]   { color: #f6a700; } 
.level[data-diff="easy"]   .box:nth-of-type(-n+2) { fill: #c5e91d; }
.level[data-diff="medium"] .box:nth-of-type(-n+3) { fill: #fee500; }
.level[data-diff="hard"]   .box:nth-of-type(-n+5) { fill: #f6a700; }
.svc-sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: .8;
}
.svc-tit {
  margin-top: 4px;
  font-size: 13px;
  opacity: .8;
}
.service-pricewrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 44px;
  white-space: nowrap;
}
.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.service-price .service-cur {
  font-weight: 600;
  color: #2d3259;
  font-size: 14px;
  transform: translateY(-1px);
  opacity: .9;
}
.service-price .service-num {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2d3259;
  font-variant-numeric: tabular-nums;
}
.service-price .service-per {
  opacity: .65;
  font-weight: 500;
  font-size: 12px;
}
.service-price-old {
  font-size: 13px;
  opacity: .55;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #ed4c8f;
  color: #475569;
  line-height: 1; 
  transform: translateY(-2px); 
}
.service-price-old .service-cur-old {
  opacity: .8;
  margin-right: 2px;
}
@media (max-width:640px){
  .service-price .service-num { font-size: 20px; }
  .service-price .service-cur { font-size: 13px; }
  .service-price .service-per { font-size: 11px; }
}
.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  user-select: none;
  border: none;
}
.service-btn.primary {
  color: #fff;
  background: #2a497a;
  box-shadow: 0 2px 7px rgba(95,115,234,0.4);
}
.service-btn.primary:hover {
  background: rgba(42, 73, 122, 0.90);
  box-shadow: 0 2px 7px rgba(61, 108, 110, 0.3);
}
.service-benefits {
  background: rgba(130, 164, 156, 0.1);
  padding: clamp(32px, 5vw, 64px) 0;
}
.service-benefits .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.service-benefits__title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  color: #0a0f1a;
  margin: 0 0 24px;
}
.service-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .service-benefits__grid {
    grid-template-columns: 1fr;
  }
}
.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 6px;
  padding: clamp(18px, 2.2vw, 24px);
  box-shadow: 0 8px 24px rgba(22, 28, 45, 0.08);
  overflow: hidden;
  isolation: isolate;
  min-height: 180px;
}
.service-card__title {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 700;
  margin: 0 0 8px;
  color: #0a0f1a;
}
.service-card__text {
  margin: 0;
  color: #4e5a70;
  line-height: 1.55;
  font-size: 15px;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 220px;
  height: 220px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.10;
  z-index: -1;
  filter: saturate(0) contrast(1.1);
}
.service-card--safe::after   { background-image: url("/img/slider/icon-service-safe.png"); }
.service-card--speed::after { background-image: url("/img/slider/icon-service-speed.png"); }
.service-card--garante::after  { background-image: url("/img/slider/icon-service-garante.png"); }
.service-card--price::after    { background-image: url("/img/slider/icon-service-price.png"); }
#svc-tbody[data-cur-ready="0"] { opacity:0; }
#svc-tbody[data-cur-ready="1"] { opacity:1; transition:opacity .15s ease-out; }
.service-ctaband{background:linear-gradient(90deg,#2b4c79, #749f95);border-top:0px solid var(--line);border-bottom:0px solid var(--line);padding:18px 0}
.service-ctaband .row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
/* ===== Responsive Adaptation ===== */

/* --- Slider (Hero) --- */
@media (max-width: 960px) {
  .slider-service .inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 0 80px;
  }
  .slider-service img {
    max-width: 85%;
    height: auto;
    margin: 20px auto 0;
  }
  .slider-service h1 {
    font-size: clamp(26px, 6vw, 34px);
  }
  .slider-service p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* --- Pricing table --- */
@media (max-width: 860px) {
  .pricing-head h2 {
    text-align: center;
    margin-bottom: 18px;
  }
  .dp-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px !important;
  }
  .dp-filters .dp-select,
  .dp-filters .dp-reset-wrap {
    width: 100%;
  }
  .dp-sel-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* Table wrapper scroll for small screens */
@media (max-width: 780px) {
  .pricing-surface {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .service-table,
  .table-dedi {
    min-width: 700px;
  }
}

/* --- Pricing rows --- */
@media (max-width: 640px) {
  .service-price .service-num {
    font-size: 19px;
  }
  .service-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
  }
  .table-dedi td, .table-dedi th {
    padding: 10px 8px;
    font-size: 13.5px;
  }
}

/* --- Benefits section --- */
@media (max-width: 860px) {
  .service-benefits__grid {
    grid-template-columns: 1fr;
  }
  .service-benefits__title {
    text-align: center;
    font-size: clamp(20px, 5vw, 28px);
  }
  .service-card {
    min-height: auto;
  }
}

/* --- FAQ Section --- */
@media (max-width: 768px) {
  .faq-simple h2 {
    font-size: 22px;
    text-align: center;
  }
  .faq-simple details {
    padding: 6px 0;
  }
  .faq-simple summary {
    font-size: 15px;
  }
  .faq-simple p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* --- CTA Band --- */
@media (max-width: 780px) {
  .service-ctaband .row {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .service-ctaband .btn {
    width: 100%;
    justify-content: center;
  }
  .service-ctaband b {
    display: block;
    font-size: 18px;
    line-height: 1.3;
  }
  .service-ctaband span {
    display: block;
    font-size: 14px;
    opacity: .9;
  }
}

/* карточки скрыты на десктопе */
.svc-cards{ display:none; }

/* карточки: базовый стиль */
.svc-card{
  background:#fff; border:1px solid rgba(214,220,233,.6); border-radius:10px;
  padding:14px; box-shadow:0 6px 16px rgba(0,0,0,.06);
  display:grid; gap:10px;
}
.svc-card__head{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.svc-card__brand{ font:700 13px/1.2 Inter; color:#475569; opacity:.9; }
.svc-card__title{ font:800 16px/1.2 Inter; color:#0b1040; }
.svc-card__meta{ display:flex; flex-wrap:wrap; gap:8px; }
.svc-badge{ font:700 11px/1 Inter; padding:4px 8px; border-radius:6px; background:#f2f5fd; border:1px solid rgba(2,6,23,.06); color:#0b1040;}
.svc-card__level{ display:flex; align-items:center; gap:8px; }
.svc-card__row{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.svc-card__price{ display:flex; align-items:baseline; gap:6px; }
.svc-card__price .num{ font:700 22px/1 Inter; color:#2d3259; letter-spacing:-.02em; }
.svc-card__price .per{ font:600 12px/1 Inter; opacity:.7; }
.svc-card__cta{ display:flex; justify-content:stretch; }
.svc-card__cta .service-btn{ width:100%; }

/* Переключение на мобилке */
@media (max-width: 780px){
  #svc-table{ display:none; }
  .svc-cards{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:12px;
  }
}
