/* ====== Base ====== */
.svc-edu{
  color: rgb(209, 209, 215);
  --panelA: rgba(255,255,255,.075);
  --panelB: rgba(255,255,255,.045);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.14);
  --accent:#22c55e;

  --r:16px;
  --r2:22px;
  --pad:18px;
  --pad2:26px;

  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}
.svc-edu *{ box-sizing:border-box; }
.svc-edu a{ color:inherit; text-underline-offset:2px; }
.svc-edu__wrap{ max-width:1120px; margin:0 auto; }

.svc-edu :focus-visible{
  outline: 2px solid rgba(34,197,94,.65);
  outline-offset: 2px;
}

.svc-edu__mt12{ margin-top:12px; }

.svc-edu__panel{
  border:1px solid var(--stroke);
  background:linear-gradient(180deg, var(--panelA), var(--panelB));
  box-shadow:none;
}

/* Sections */
.svc-edu__section{ margin-top:22px; }
.svc-edu__head{ margin:24px 2px 12px; }
.svc-edu__title{ margin:0; }
.svc-edu__sub{ margin:8px 0 0; opacity:.9; }

/* Cards */
.svc-edu__card{
  border-radius:var(--r);
  padding:var(--pad);
}
.svc-edu__card--big{
  border-radius:var(--r2);
  padding:var(--pad2);
}
.svc-edu__card--soft{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
}

.svc-edu__kicker{
  display:flex; align-items:center; gap:10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin:0 0 10px;
  opacity:.8;
}
.svc-edu__kicker:before{
  content:"";
  width:10px; height:10px; border-radius:3px;
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.30);
}
.svc-edu__card h3{ margin:0 0 8px; }
.svc-edu__card p{ margin:0; opacity:.92; }

/* Badges */
.svc-edu__badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; margin-top:2px; }
.svc-edu__badge{
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.05);
  padding:7px 10px;
  border-radius:999px;
  white-space:nowrap;
  font-size:12px;
  opacity:.9;
}
.svc-edu__badge--accent{
  border-color: rgba(34,197,94,.30);
  background: rgba(34,197,94,.10);
}

/* ====== step switcher: Как выполняем работы ====== */
.svc-edu__stepper{
  border-radius: var(--r2);
  overflow: hidden;
}
.svc-edu__stepper-top{
  padding:14px 14px 12px;
  border-bottom:1px solid var(--stroke);
}
.svc-edu__stepper-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:stretch;
}
.svc-edu__stepper-tab{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.035);
  color:inherit;
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  text-align:left;
  flex: 1 1 180px;
  min-width: 160px;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.svc-edu__stepper-tab:hover{
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.05);
}
.svc-edu__stepper-tab[aria-selected="true"]{
  border-color: rgba(34,197,94,.36);
  background: linear-gradient(180deg, rgba(34,197,94,.11), rgba(255,255,255,.03));
  box-shadow: 0 0 0 2px rgba(34,197,94,.10) inset;
}
.svc-edu__stepper-tabhead{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 6px;
}
.svc-edu__stepper-num{
  width:26px; height:26px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  line-height:1;
  flex:0 0 auto;
}
.svc-edu__stepper-title{
  margin:0;
  font-size:13px;
  line-height:1.25;
  font-weight:650;
}
.svc-edu__stepper-micro{
  margin:0;
  font-size:12px;
  opacity:.82;
  line-height:1.35;
}
.svc-edu__stepper-body{
  padding:16px 18px 18px;
  background: rgba(0,0,0,.10);
}
.svc-edu__stepper-panel[hidden]{ display:none !important; }
.svc-edu__stepper-panel{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:start;
}
.svc-edu__stepper-panel h3{
  margin:0 0 8px;
  line-height:1.25;
}
.svc-edu__stepper-panel p{
  margin:0;
  opacity:.92;
  line-height:1.5;
}
.svc-edu__stepper-aside{
  border-radius: var(--r);
  padding: var(--pad);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid var(--stroke);
}
.svc-edu__stepper-aside b{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.10em;
  opacity:.85;
  margin-bottom:8px;
}
.svc-edu__stepper-aside ul{
  margin:0;
  padding-left:18px;
  opacity:.92;
  line-height:1.45;
}
.svc-edu__stepper-aside li{ margin:0 0 6px; }
.svc-edu__stepper-aside li:last-child{ margin-bottom:0; }

/* Убираем дефолтный outline у табов степпера */
.svc-edu__stepper-tab:focus{ outline:none; }
.svc-edu__stepper-tab:focus-visible{
  outline: 2px solid rgba(34,197,94,.65);
  outline-offset: 2px;
}

/* ====== cases: «Примеры проектов» ====== */
.svc-edu__cases2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.svc-edu__caseg{
  border-radius:var(--r2);
  overflow:hidden;
}
.svc-edu__caseg-main{
  position:relative;
  aspect-ratio: 16 / 10;
  overflow:hidden;
  border-bottom:1px solid var(--stroke);
}
.svc-edu__caseg-mainimg{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  cursor: zoom-in;
}
.svc-edu__caseg-cap{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:14px 14px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.62));
}
.svc-edu__caseg-title{
  margin:0;
  font-size:18px;
  line-height:1.15;
}
.svc-edu__caseg-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin:0 0 8px;
  opacity:.95;
}
.svc-edu__caseg-kicker:before{
  content:"";
  width:10px; height:10px; border-radius:3px;
  background:rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.34);
}
.svc-edu__caseg-thumbs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:12px;
  align-items:start;
}
.svc-edu__caseg-thumb{
  appearance:none;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  border-radius:14px;
  overflow:hidden;
  padding:0;
  cursor: zoom-in;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.svc-edu__caseg-thumb:hover{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
}
.svc-edu__caseg-thumb img{
  width:100%;
  height:110px;
  object-fit:cover;
  display:block;
}
.svc-edu__caseg-thumb.is-active{
  border-color: rgba(34,197,94,.35);
  box-shadow: 0 0 0 2px rgba(34,197,94,.12) inset;
}
.svc-edu__caseg-link{
  grid-column: 1 / -1;
  margin-top:2px;
  opacity:.92;
}
.svc-edu__caseg-link a{ text-decoration: underline; }

/* ====== MODAL (галерея)  ====== */
.svc-edu__modal[hidden]{ display:none !important; }
.svc-edu__modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:18px;
  background: rgba(0,0,0,.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.svc-edu__modal-dialog{
  width:min(1100px, 100%);
  border-radius: var(--r2);
  border: 1px solid var(--stroke2);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  overflow:hidden;
}
.svc-edu__modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid var(--stroke);
  background: rgba(0,0,0,.06);
}
.svc-edu__modal-title{
  margin:0;
  font-size:14px;
  opacity:.9;
}
.svc-edu__modal-close{
  appearance:none;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.06);
  color:inherit;
  border-radius: 12px;
  padding:8px 10px;
  cursor:pointer;
}
.svc-edu__modal-body{
  padding:14px;
  background: transparent;
}
.svc-edu__modal-img{
  width:100%;
  height:auto;
  max-height: 78vh;
  object-fit: contain;
  display:block;
  border-radius: var(--r);
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.10);
}
.svc-edu__noscroll{ overflow:hidden !important; }

/* Responsive */
@media (max-width: 980px){
  .svc-edu__cases2{ grid-template-columns:1fr; }

  .svc-edu__badges{ justify-content:flex-start; }

  .svc-edu__stepper-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .svc-edu__stepper-tabs::-webkit-scrollbar{ height: 6px; }
  .svc-edu__stepper-tabs::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.22); border-radius: 999px; }
  .svc-edu__stepper-tabs::-webkit-scrollbar-track{ background: rgba(255,255,255,.08); border-radius: 999px; }

  .svc-edu__stepper-tab{
    flex: 0 0 78%;
    min-width: unset;
    scroll-snap-align: start;
  }
  .svc-edu__stepper-panel{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  .svc-edu__stepper-tab{ flex-basis: 86%; }
}