/* VDPO 3.0.8 — small, scoped typography refinements. */
/* Hide overlay badges even when an editor override restores an older case HTML fragment. */
.completed-projects-v84__photo-wrap > .completed-projects-v84__pill{display:none!important;}
/* Compact the text in CASE cards: no blank paragraph lines or excessive leading. */
#completed-projects .completed-projects-v84__card-desc p, .completed-projects-v84__card-desc p{margin:0!important;line-height:1.4!important;}
#completed-projects .completed-projects-v84__card-desc p+p, .completed-projects-v84__card-desc p+p{margin-top:6px!important;}
.completed-projects-v84__card-desc p:empty{display:none!important;}
.completed-projects-v84__card-title{line-height:1.25!important;}
/* Do not stretch the body of case cards to an arbitrary pixel height. */
#completed-projects .completed-projects-v84__card-desc{height:auto!important;min-height:0!important;}


/* v3.0.9: consent input must be a real 18px checkbox, not a full-width text field. */
.start-form-v109__field.vdpo-v12-consent-wrap,
[data-vdpo-v12-consent].vdpo-v12-consent-wrap {
  display:flex!important; flex-direction:column!important; align-items:flex-start!important;
  gap:5px!important; min-width:0;
}
.start-form-v109__field .vdpo-v12-consent,
.vdpo-v12-consent-wrap .vdpo-v12-consent {
  display:flex!important; flex-direction:row!important; align-items:center!important;
  gap:10px!important; width:100%!important; min-height:22px!important;
  margin:0!important; padding:0!important; text-align:left!important;
  color:#1d252d!important; font-size:14px!important; font-weight:600!important;
  line-height:1.35!important; cursor:pointer;
}
.start-form-v109__field .vdpo-v12-consent input[type="checkbox"],
.vdpo-v12-consent-wrap input[type="checkbox"] {
  box-sizing:border-box!important; appearance:auto!important; -webkit-appearance:checkbox!important;
  display:inline-block!important; position:static!important; opacity:1!important;
  width:18px!important; min-width:18px!important; max-width:18px!important;
  height:18px!important; min-height:18px!important; max-height:18px!important;
  padding:0!important; margin:0!important; border-radius:3px!important;
  flex:0 0 18px!important; vertical-align:middle!important;
  accent-color:#d92d20!important; box-shadow:none!important; outline-offset:2px;
}
.vdpo-v12-consent-wrap .vdpo-v12-consent span {
  display:block!important; min-width:0!important; margin:0!important; padding:0!important;
  flex:1 1 auto; font:inherit!important; line-height:1.35!important;
}
.vdpo-v12-consent-wrap .vdpo-v12-policy {
  display:inline-block!important; width:auto!important; height:auto!important;
  margin:0 0 0 28px!important; padding:0!important;
  font-size:13px!important; line-height:1.45!important;
}
@media(max-width:640px){
  .vdpo-v12-consent-wrap .vdpo-v12-consent {align-items:flex-start!important;}
  .vdpo-v12-consent-wrap input[type="checkbox"] {margin-top:1px!important;}
}

/* VDPO 3.0.10 — "Почему ВДПО": натуральная ширина карточек, три ряда, высота по тексту. */
#advantages .advantages-v96__hero {display:block!important;overflow:visible!important}
#advantages .advantages-v96__intro {width:100%!important;max-width:none!important;padding-right:0!important}
#advantages .advantages-v96__cards.vdpo-why-auto-grid {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:14px!important;margin-top:32px;min-width:0;grid-template-columns:none!important;
}
#advantages .vdpo-why-row {display:flex;flex-wrap:nowrap;align-items:flex-start;gap:14px;min-width:0;width:100%;}
#advantages .vdpo-why-row>.advantages-v96__card {
  flex:1 1 max-content; width:auto; min-width:0; max-width:100%;
  min-height:0!important;height:auto!important;align-self:flex-start!important;
  margin:0!important;box-sizing:border-box;
}
#advantages .vdpo-why-row>.advantages-v96__card p {margin-bottom:0!important;}
#advantages .vdpo-why-row>.advantages-v96__card-copy {min-height:0!important;}
#advantages .vdpo-why-row--first>.advantages-v41__photo {
  position:relative!important;inset:auto!important;flex:0 0 23%;align-self:stretch;
  width:23%!important;min-width:0;min-height:240px!important;max-width:360px;
  height:auto!important;aspect-ratio:auto;overflow:hidden;box-sizing:border-box;
  border:1px solid #D9E1EA;border-radius:18px;background:#e4e9ef;
}
#advantages .vdpo-why-row--first>.advantages-v41__photo>img {
  position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center;
}
@media(max-width:1150px) {
  #advantages .vdpo-why-row{gap:12px}
  #advantages .vdpo-why-row--first{flex-wrap:wrap}
  #advantages .vdpo-why-row--first>.advantages-v41__photo {
    flex:0 0 100%;width:100%!important;max-width:none;height:280px!important;min-height:280px!important;
    align-self:auto;
  }
  #advantages .vdpo-why-row--first>.advantages-v96__card{flex:1 1 calc(50% - 6px)}
  #advantages .vdpo-why-row--third{flex-wrap:wrap}
  #advantages .vdpo-why-row--third>.advantages-v96__card{flex-basis:calc(50% - 6px)}
}
@media(max-width:700px) {
  #advantages .advantages-v96__cards.vdpo-why-auto-grid{gap:12px!important;margin-top:20px}
  #advantages .vdpo-why-row{display:flex;flex-direction:column;gap:12px;width:100%;}
  #advantages .vdpo-why-row>.advantages-v96__card{flex:0 0 auto;width:100%!important;max-width:none;}
  #advantages .vdpo-why-row--first>.advantages-v41__photo {
    flex:0 0 240px;width:100%!important;height:240px!important;min-height:240px!important;
  }
}


/* VDPO 3.0.11 — "Почему ВДПО": equal card heights within each row and aligned texts. */
/* Card widths still follow content, and the original 3/2/3 layout remains unchanged. */
#advantages .vdpo-why-row {
  align-items:stretch!important;
}
#advantages .vdpo-why-row > .advantages-v96__card {
  display:flex!important;
  flex-direction:column!important;
  align-self:stretch!important;
  height:auto!important;
  min-height:0!important;
}
#advantages .vdpo-why-row > .advantages-v96__card > .advantages-v96__card-copy {
  display:block!important;
  flex:1 1 auto;
  min-height:0!important;
}
#advantages .vdpo-why-row > .advantages-v96__card .advantages-v96__card-copy > h3 {
  margin-top:0!important;
  min-height:var(--vdpo-why-title-height, 0px);
}
#advantages .vdpo-why-row > .advantages-v96__card .advantages-v96__card-copy > p {
  margin-top:8px!important;
}
#advantages .vdpo-why-row--first > .advantages-v41__photo {
  align-self:stretch!important;
}
@media (max-width:700px) {
  /* Vertical mobile stack: no need to pad headings or equalize separate cards. */
  #advantages .vdpo-why-row > .advantages-v96__card .advantages-v96__card-copy > h3 {
    min-height:0!important;
  }
}
