/* Approved per-side section spacing. This layer is registered before components. */
@layer home-spacing {
 body.home-release {
  --home-section-space:96px!important;
  --home-heading-top:var(--home-section-space)!important;
  --home-heading-bottom:var(--home-section-space)!important;
  --home-heading-gap:48px!important;
  --home-card-padding:28px;
  --home-group-gap:24px;
  --home-item-gap:12px;
 }
 body.home-release .home-section:where(:not(#mf-plenki,#chto-zakroem,#request)) {
  padding-block:var(--home-section-space)!important; margin-block:0!important;
 }
 /* The section, rather than its decorative wrapper, owns the interval. */
 body.home-release .pr-polosa:has(> .home-section) { padding-block:0!important; }
 body.home-release #mf-plenki { padding-block:0!important; margin-block:0!important; }
 body.home-release #mf-plenki .plv-container { padding-block:var(--home-section-space)!important; }
 /* Preserve the two compact joins explicitly retained by the owner. */
 body.home-release #home-services { padding-bottom:0!important; }
 body.home-release #mf-price { padding-top:88px!important; }
 body.home-release #voprosy { padding-bottom:0!important; }
 body.home-release #mf-process .process-grid { align-items:start!important; }
 /* Internal breathing room follows content groups, with intrinsic heights. */
 body.home-release #mf-plenki .plv-card-brands { margin-block:var(--home-group-gap)!important; gap:var(--home-item-gap)!important; }
 body.home-release #home-services .uslugi6__niz { padding:var(--home-card-padding)!important; gap:var(--home-item-gap)!important; }
 body.home-release #home-services .uslugi6__foot { padding-top:var(--home-group-gap)!important; }
 body.home-release #mf-price .split-choice-copy { gap:var(--home-item-gap)!important; }
 body.home-release #raboty .work-slide-copy { padding:var(--home-card-padding)!important; }
 body.home-release #raboty .work-slide-copy>p { margin-bottom:var(--home-item-gap)!important; }
 body.home-release #ceny .home-price-detail { padding:var(--home-card-padding)!important; }
 body.home-release #ceny .home-price-detail .v15-prajs__sostav { margin-bottom:var(--home-group-gap)!important; }
 body.home-release #mf-process .process-steps { margin-top:calc(var(--home-group-gap) + var(--home-item-gap))!important; }
 body.home-release #mf-process .process-steps>div { padding-block:var(--home-group-gap)!important; }
 body.home-release #mf-process .process-steps h3 { margin-bottom:var(--home-item-gap)!important; }
 body.home-release #mf-details .home-stories-heading { margin-bottom:var(--home-heading-gap)!important; }
 body.home-release #mf-details .home-story-copy { padding-top:var(--home-group-gap)!important; }
 body.home-release #mf-details .home-story-copy h3 { margin-bottom:var(--home-item-gap)!important; }
 body.home-release #process .pc-shag { padding-block:var(--home-group-gap)!important; height:auto!important; }
 body.home-release #process .pc-shag h3 { margin-bottom:var(--home-item-gap)!important; }
 body.home-release #process .pc__levo { top:var(--home-section-space)!important; }
 body.home-release #voprosy .v16-faq__punkt summary { padding-block:var(--home-group-gap)!important; }
 body.home-release #voprosy .v16-faq__punkt>p { padding-top:4px!important; padding-bottom:var(--home-group-gap)!important; }
 @media (min-width:768px) {
  body.home-release #mf-process .process-movie { height:100%!important; max-height:720px!important; }
  body.home-release #mf-process .process-copy { display:flex!important; flex-direction:column!important; align-self:stretch!important; }
  body.home-release #mf-process .process-steps { display:flex!important; flex-direction:column!important; justify-content:space-between!important; flex:1; }
  body.home-release #mf-process .process-steps>div:last-child { padding-bottom:0!important; }
 }
 @media (max-width:1199px) {
  body.home-release {
   --home-section-space:72px!important; --home-heading-gap:36px!important;
   --home-card-padding:24px; --home-group-gap:20px; --home-item-gap:10px;
  }
  body.home-release #mf-price { padding-top:64px!important; }
  body.home-release #chto-zakroem {
   padding-block:var(--home-section-space)!important; margin-block:0!important;
  }
 }
 @media (max-width:767px) {
  body.home-release {
   --home-section-space:56px!important; --home-heading-gap:28px!important;
   --home-card-padding:20px; --home-group-gap:16px; --home-item-gap:8px;
  }
  body.home-release #mf-price { padding-top:56px!important; }
 }
 /* Approved PPF composition keeps its measured car and card widths. */
 body.home-release #chto-zakroem .pkv2__duration { margin-top:8px!important; }
 body.home-release #chto-zakroem .pkv2__includes { margin-top:16px!important; gap:8px!important; }
 @media (min-width:1200px) {
  body.home-release .pr-polosa:has(> #chto-zakroem) { padding-block:var(--home-section-space)!important; }
  body.home-release #chto-zakroem {
   display:grid!important; grid-template-columns:calc(72 * var(--u)) calc(660 * var(--u)) calc(118 * var(--u)) calc(880 * var(--u)) minmax(0,1fr)!important;
   gap:0!important; align-items:start!important; aspect-ratio:auto!important;
   height:auto!important; padding-block:0!important; margin-block:0!important;
  }
  body.home-release #chto-zakroem .pkv2__intro {
   position:relative!important; inset:auto!important; grid-column:2/5; grid-row:1;
   margin:0 0 48px!important;
  }
  body.home-release #chto-zakroem .pkv2__packages {
   position:relative!important; inset:auto!important; grid-column:2; grid-row:2;
   width:100%!important; gap:20px!important; margin:0 0 32px!important;
  }
  body.home-release #chto-zakroem .pkv2__car {
   position:relative!important; inset:auto!important; grid-column:4; grid-row:2;
   width:100%!important; margin:0 0 32px!important; align-self:center!important;
  }
  body.home-release #chto-zakroem .pkv2__action { top:32px!important; }
  body.home-release #chto-zakroem .pkv2__package {
   height:auto!important; min-height:208px!important; padding:20px 24px 64px!important;
  }
  body.home-release #chto-zakroem .pkv2__package-copy { position:static!important; inset:auto!important; width:100%!important; }
  body.home-release #chto-zakroem .pkv2__package h3 { padding-right:calc(132 * var(--u))!important; }
  body.home-release #chto-zakroem .pkv2__cost {
   right:24px!important; bottom:20px!important; padding:0!important; border:0!important; background:none!important;
  }
  body.home-release #chto-zakroem .pkv2__footer {
   position:relative!important; inset:auto!important; grid-column:2/-1; grid-row:3;
   width:calc(100% - 72 * var(--u))!important; margin:0!important;
  }
 }
 @media (min-width:1200px) and (max-width:1599px) {
  body.home-release #chto-zakroem .pkv2__package { min-height:168px!important; padding:12px 20px 40px!important; }
  body.home-release #chto-zakroem .pkv2__duration { margin-top:6px!important; }
  body.home-release #chto-zakroem .pkv2__includes { margin-top:12px!important; gap:6px!important; }
  body.home-release #chto-zakroem .pkv2__cost { right:20px!important; bottom:12px!important; }
 }
 @media (max-width:1199px) {
  body.home-release #chto-zakroem { padding-block:var(--home-section-space)!important; }
  body.home-release #chto-zakroem .pkv2__package { padding:24px!important; }
 }
 @media (max-width:767px) {
  body.home-release #chto-zakroem .pkv2__package { padding:20px!important; height:auto!important; }
 }
}
