/* VDPO 3.0.21 | targeted site corrections. Keep design tokens from approved master. */
:root { --vdpo-header-offset: var(--header-h,112px); }
/* One global header on all pages, with consistent identity, typography and link colors. */
.site-header,.site-header .header-single,.site-header .header-single__grid{box-sizing:border-box}
.site-header .header-single__grid{width:min(calc(100% - 40px),1280px)!important;max-width:1280px!important;margin-inline:auto!important}
.site-header .header-identity,.site-header .header-identity:link,.site-header .header-identity:visited,
.site-header .header-identity__name,.site-header .header-identity__service{color:#F5F7FA!important;text-decoration:none!important}
.site-header .header-contactcol .header-phone,.site-header .header-contactcol .header-phone:link,
.site-header .header-contactcol .header-phone:visited,.site-header .header-contactcol .header-email,
.site-header .header-contactcol .header-email:link,.site-header .header-contactcol .header-email:visited{color:#F5F7FA!important;text-decoration:none!important;font-weight:650!important;font-size:14px!important}
.site-header .header-single__grid .primary-nav a,.site-header .header-single__grid .primary-nav button{font-family:Inter,Manrope,system-ui,sans-serif!important;font-size:14px!important}
.site-header .header-contactcol a:hover,.site-header .primary-nav a:hover{color:#F04438!important}
/* Fixed header: never cover title or breadcrumbs. Add lower breathing room before the footer. */
body.vdpo-page-vdpo-v3 main.service-page-main,
body[class*="vdpo-page-service-"] main.service-page-main{padding-top:var(--vdpo-header-offset)!important;padding-bottom:76px!important;}
body.vdpo-page-vdpo-v3 .service-hero:first-child,
body[class*="vdpo-page-service-"] .service-hero:first-child{scroll-margin-top:calc(var(--vdpo-header-offset) + 20px);}
.vdpo-hub-fire-v8{padding-top:var(--vdpo-header-offset);padding-bottom:82px;background:#071018;}
.vdpo-hub-fire-v8 .vdpo26{padding-top:104px!important;}
/* Catalog: spacing matches the 104 / 108px from "КОММЕРЧЕСКИЕ ОБЪЕКТЫ". */
#fire-catalog.vdpo26{padding-top:104px!important;}
#fire-catalog .vdpo26__rows{padding-bottom:104px!important;}
#fire-catalog .vdpo26__counter:empty{display:none!important;}
#fire-catalog .vdpo26__tools{justify-content:flex-start}
/* Actual clickable video-service cards, four columns on desktop. */
#video-routes .vdpo-v3-video-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:28px 0 36px!important;}
#video-routes .vdpo-v3-video-link{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px;min-height:90px!important;padding:17px!important;border:1px solid #D9E1EA!important;border-radius:12px!important;background:#fff!important;color:#1D252D!important;text-decoration:none!important;font:700 17px/1.4 Inter,Manrope,system-ui,sans-serif!important;box-shadow:0 7px 22px rgba(7,16,24,.055)!important;}
#video-routes .vdpo-v3-video-link::after{content:'→';font:800 22px Inter,system-ui,sans-serif;color:#D92D20;flex:none;}
#video-routes .vdpo-v3-video-link:hover,#video-routes .vdpo-v3-video-link:focus-visible{border-color:#D92D20!important;box-shadow:0 6px 22px rgba(217,45,32,.12)!important;text-decoration:underline!important;}
/* Cases on homepage: no per-card actions. The general CTA below remains available. */
#completed-projects .completed-projects-v84__card .completed-projects-v84__action{display:none!important;}
/* V3 service deadlines: proper compact CTA buttons in one row, text never overlaid. */
#repair-deadlines .repair-deadline-v31__actions{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;}
#repair-deadlines .repair-deadline-v31__actions>a,#repair-deadlines .repair-deadline-v31__actions>button{width:auto!important;min-width:0!important;flex:0 1 auto!important;position:relative!important;white-space:normal!important;}
/* Cases: three short metadata fields under each description; avoid the previous text collisions. */
#repair-cases .completed-projects-v84__stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;height:auto!important;margin-top:16px!important;}
#repair-cases .completed-projects-v84__stat{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;min-height:0!important;height:auto!important;overflow-wrap:anywhere!important;padding:10px!important;}
#repair-cases .completed-projects-v84__stat-label{display:block!important;position:static!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;font-size:12px!important;line-height:1.35!important;letter-spacing:0!important;white-space:normal!important;color:#4A5564!important;font-weight:700!important;}
#repair-cases .completed-projects-v84__stat-top,#repair-cases .completed-projects-v84__stat-value{position:static!important;display:block!important;min-height:0!important;max-height:none!important;height:auto!important;margin:0!important;line-height:1.45!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
#repair-cases .completed-projects-v84__card{height:auto!important;min-height:0!important;overflow:visible!important;}
#repair-cases .completed-projects-v84__card-desc{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
/* 'Открыть →' is an actual navigation action. */
#related-services .related-services-v82__action::after{content:' →';color:#D92D20;font-weight:800;}
/* Contact hero photo uses image from the exact home Customer Care block. */
.vdpo-contact-page .vdpo-contact-hero-photo{display:block;width:100%;height:100%;object-fit:cover;}
.vdpo-contact-page .vdpo-content-linkcards a[href^="tel:"],.vdpo-contact-page .vdpo-content-linkcards a[href^="mailto:"]{cursor:pointer!important;}
.vdpo-development-page{padding-top:calc(var(--vdpo-header-offset) + 85px)!important;padding-bottom:125px!important;}
.vdpo-development-crumbs{font-size:14px;line-height:1.5;color:#AEB8C4;margin-bottom:34px;}
.vdpo-development-crumbs a{color:#F5F7FA;text-decoration:none;}
.vdpo-development-crumbs a:hover{text-decoration:underline;}
.vdpo-development-page__actions button{cursor:pointer;font:inherit;}
@media(max-width:1120px){#video-routes .vdpo-v3-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:770px){#repair-cases .completed-projects-v84__stats{grid-template-columns:1fr!important}#repair-deadlines .repair-deadline-v31__actions{flex-wrap:wrap!important}}
@media(max-width:660px){#fire-catalog.vdpo26{padding-top:64px!important}#fire-catalog .vdpo26__rows{padding-bottom:64px!important}#video-routes .vdpo-v3-video-grid{grid-template-columns:1fr!important}.vdpo-hub-fire-v8 .vdpo26{padding-top:64px!important}}

#repair-cases .completed-projects-v84__copy{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
#repair-cases .completed-projects-v84__card-desc p{line-height:1.48!important;}
#repair-cases .completed-projects-v84__stat-top>*{position:static!important;min-height:0!important;height:auto!important;}

.vdpo-contact-page .vdpo-content-linkcards{align-items:stretch;}
.vdpo-contact-page .vdpo-contact-method{display:flex;flex-direction:column;min-width:0;}
.vdpo-contact-page .vdpo-contact-method>a{height:100%;}
.vdpo-contact-page .vdpo-contact-copy{align-self:flex-start;margin-top:10px;padding:5px 0;background:transparent;border:0;color:#D92D20;font-size:13px;font-weight:700;cursor:pointer;}
.vdpo-contact-page .vdpo-contact-copy:hover{text-decoration:underline;}

/* VDPO 3.0.34 - only the 83 imported service pages: CTA labels and arrow in one line. */
body.vdpo-import-83 main.service-page-main a[data-vdpo-service-lead]{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  white-space:nowrap!important;
  max-width:100%;
}
body.vdpo-import-83 main.service-page-main a[data-vdpo-service-lead] .vdpo-cta-arrow{
  display:inline-block!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  line-height:1!important;
}
/* Equal-height cases in each desktop/tablet row. Let the tallest content set that row's height. */
body.vdpo-import-83 #repair-cases .completed-projects-v84__grid{
  align-items:stretch!important;
}
body.vdpo-import-83 #repair-cases .completed-projects-v84__card{
  display:flex!important;
  flex-direction:column!important;
  align-self:stretch!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.vdpo-import-83 #repair-cases .completed-projects-v84__photo-wrap{
  flex:0 0 auto!important;
}
body.vdpo-import-83 #repair-cases .completed-projects-v84__copy{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
}
body.vdpo-import-83 #repair-cases .completed-projects-v84__stats{
  margin-top:auto!important;
  padding-top:20px!important;
}
@media (max-width:700px){
  body.vdpo-import-83 #repair-cases .completed-projects-v84__card{height:auto!important;}
  body.vdpo-import-83 main.service-page-main a[data-vdpo-service-lead]{font-size:clamp(12px,3.4vw,15px)!important;}
}

/* 3.0.35: unavailable related services are never redirected to the homepage. */
.related-services-v82__action.vdpo-related-unavailable{opacity:.58;cursor:not-allowed;pointer-events:none;text-decoration:none;}
