/* Editorial layouts for the service workspace. */
.services-workspace__content {
  --ux-ink: #102c47;
  --ux-dark: #102c47;
  --ux-paper: #fffdf9;
  --ux-tech: #eaf1f5;
  --ux-warm: #f5ede2;
  --ux-muted: #456072;
  --ux-accent: #a54500;
  --ux-line: #d6dfe4;
}
.services-workspace__content .service-ux-visual {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border-radius: 17px;
  background: #dce8ef;
}
.service-ux-visual img { display: block; width: 100%; height: auto; }
.services-workspace__content .service-ux-visual--cabinet { background: #e7e9dd; }
.services-workspace__content .service-ux-visual--cabinet img { width: 100%; height: clamp(225px, 31cqi, 415px); object-fit: cover; object-position: center 48%; }
.service-ux-dimension { position: absolute; display: grid; place-items: center; white-space: nowrap; color: #102c47; background: #fffaf3; border: 1px solid #f1c9a5; border-radius: 5px; font-weight: 750; font-size: clamp(10px, 1.12cqi, 14px); padding: .25em .6em; }
.service-ux-dimension--width { inset: auto auto 6% 50%; translate: -50% 0; }
.service-ux-dimension--height { inset: 47% auto auto 6%; }
.service-ux-visual--measure::before, .service-ux-visual--cabinet::before { content: ""; position: absolute; inset: auto 18% 12%; height: 11px; border-inline: 1px solid #ea761c; border-bottom: 1px solid #ea761c; }
.service-ux-visual--measure::after, .service-ux-visual--cabinet::after { content: ""; position: absolute; inset: 19% auto 18% 13%; width: 10px; border-block: 1px solid #ea761c; border-left: 1px solid #ea761c; z-index: -1; }
.service-ux-visual--measure img, .service-ux-visual--cabinet img { position: relative; z-index: -2; }

.services-workspace__content .warm-page__system { background: linear-gradient(110deg, #dae8f0, #f5f9fa 70%); border: 0; }
.services-workspace__content .warm-page__system .warm-page__split { grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr); }
.services-workspace__content .warm-page__parts li { padding-block: 13px; }
.services-workspace__content .warm-page__price { background: #f0f4f6; border: 1px solid #d1dfe7; }
.services-workspace__content .warm-glazing-hero a.warm-glazing-hero__profile {
  width: clamp(92px, 11.9cqi, 143px);
  text-decoration: none;
  text-align: center;
  font-size: clamp(11px, 1.25cqi, 15px);
  font-weight: 750;
  line-height: 1.16;
  color: #102c47;
}
.warm-glazing-hero__profile svg { width: clamp(24px, 3.1cqi, 40px); height: auto; color: #a54500; }
.warm-glazing-hero__profile:hover { background: #fff2e1; }
#warm-system-title { scroll-margin-top: 104px; }
.services-workspace__content .warm-project__copy { padding-block: 15px; }
.services-workspace__content .warm-page__contact { background: #102c47; color: #fff; }
.warm-page__contact .service-ux-contact__warm { isolation: isolate; align-self: stretch; display: flex; justify-content: end; flex-direction: column; min-height: 275px; padding: clamp(14px,2cqi,26px); border-radius: 13px; background:
  linear-gradient(0deg,#102c47 0%,#102c47f0 38%,#102c4722 93%),
  url("../images/service-cards/warm-glazing.webp") 68% 45% / cover; }
.warm-page__contact .service-ux-contact__warm :is(p, .warm-page__phone) { color: #f3f8fb; }
.warm-page__contact .service-ux-contact__warm .warm-page__phone svg { color: #ffa86a; }
.services-workspace__content .warm-page__contact .ovd-form { color: var(--ux-ink); background: #f8fbfd; }

.cold-slider__scene { position: relative; overflow: hidden; border-radius: 13px; background: #dce8ef; }
.cold-slider__scene img { display: block; width: 100%; height: auto; }
.cold-slider__sash { position: absolute; inset: 21% auto 22% 12.5%; width: 25%; translate: var(--sash-travel, 62.4%) 0; border: clamp(2px,.42cqi,5px) solid #ffe3c9; border-radius: 3px; background: linear-gradient(145deg, #c5ebfa55, #c5ebfa28); box-shadow: 0 0 0 1px #ae4c16, 0 2px 8px #102c4755; }
.cold-slider__sash::after { content: ""; position: absolute; width: 4px; height: 21%; top: 41%; left: 8%; border-radius: 3px; background: #102c47; }
.services-workspace__content .cold-system { padding: clamp(12px, 1.6cqi, 25px); border-radius: 18px; background: #deeaf3; }
.services-workspace__content .cold-system :is(.cold-slider, .cold-ledger) { border: 0; box-shadow: none; }
.services-workspace__content .cold-projects .cold-banner { justify-content: space-between; }

.services-workspace__content .storage-page__uses-feature { background: #f4e6d7; }
.services-workspace__content .storage-page__uses-result { border-color: #e1c9ad; background: #fff9f1; }
.services-workspace__content .storage-page__price { padding: clamp(14px, 2.55cqi, 36px); border-radius: 19px; background: #eaf0e7; }
.services-workspace__content .storage-page__price .storage-page__factors article { background: #fbfcf8; }
.services-workspace__content .storage-page__price-grid > figure img { max-height: none; }
.services-workspace__content .storage-page__contact { background:
  radial-gradient(ellipse at 80% 30%, #fff8e7, transparent 65%), #ebdccb; }
.storage-page__contact-facade { width: 100%; min-height: 108px; height: clamp(108px, 15cqi, 185px); display: block; object-fit: cover; object-position: 54% 48%; border-radius: 14px; }

.services-workspace__content .turnkey-solutions { background: linear-gradient(110deg, #f6e0cd, #fbf2e8); }
.services-workspace__content .turnkey-scope { background: #fffaf2; border-color: #f3e4d7; }
.services-workspace__content .turnkey-projects__grid { align-items: stretch; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.services-workspace__content .turnkey-projects__grid article:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.services-workspace__content .turnkey-projects__grid article:first-child .turnkey-projects__photo { flex: 1 0 clamp(180px, 22cqi, 355px); position: relative; }
.services-workspace__content .turnkey-projects__grid article:first-child .turnkey-projects__photo img { position: absolute; inset: 0; }
.services-workspace__content .turnkey-projects__grid article:not(:first-child) { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: stretch; }
.services-workspace__content .turnkey-projects__grid article:not(:first-child) .turnkey-projects__photo { height: 100%; min-height: 140px; aspect-ratio: auto; }
.services-workspace__content .turnkey-price { background: #102c47; color: #fff; padding: clamp(15px, 2.4cqi, 33px); border-radius: 17px; }
.services-workspace__content .turnkey-price :is(h2,h3) { color: inherit; }
.services-workspace__content .turnkey-price p { color: #dfeaf3; }
.services-workspace__content .turnkey-page .turnkey-price .button--outline { color: #fff; background: #264761; border-color: #ffaf70; }
.services-workspace__content .turnkey-page .turnkey-price .button--outline:hover { background: #ff9b4a; color: #102c47; }
.services-workspace__content .turnkey-price li { background: transparent; }
.services-workspace__content .turnkey-contact { border: 1px solid #e8d4bf; background-color: #f8eadb; }

.services-workspace__content .ins-assembly { background: #e8f0f6; }
.services-workspace__content .ins-materials { background: transparent; }
.services-workspace__content .ins-cost { background: linear-gradient(135deg,#edf3f6,#fffdf9); border: 1px solid #d3dfe5; }
.services-workspace__content .ins-contact { background: #e6edf1; }
.services-workspace__content .ins-contact__form { background: #fff; padding: clamp(12px,2cqi,22px); border-radius: 15px; }

.services-workspace__content .fin-samples { background: linear-gradient(112deg,#efe1d3,#fffbf5); }
.services-workspace__content :is(.fin-details,.fin-works) { display: block; padding-inline: 0; background: transparent; border-color: transparent; }
.services-workspace__content :is(.fin-details,.fin-works) > header { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.services-workspace__content .fin-details figure img { aspect-ratio: 1.45; }
.services-workspace__content .fin-contact { background: #f1e6d9; }
.services-workspace__content .fin-contact__form { background: #fff9f3; }

.services-workspace__content .ext-materials:not(.roof-situations) { background: #e9f1f5; }
.services-workspace__content .ext-config { background: linear-gradient(120deg,#fffaf1,#f0e5d7); }
.services-workspace__content .ext-technical { background: #e4edf4; }
.services-workspace__content .roof-technical { background: linear-gradient(140deg,#d8e5ee,#f4f8fb); }
.services-workspace__content .roof-situations { background: transparent; }
.services-workspace__content .roof-works { border-color: transparent; background: transparent; }
.services-workspace__content .roof-works__gallery { grid-auto-rows: clamp(120px, 14.3cqi, 205px); }
.services-workspace__content .combo-system { background: #e9edf0; }
.services-workspace__content .combo-editorial { background: #fbf1e6; border-color: transparent; }
.services-workspace__content .combo-works__grid { grid-auto-rows: clamp(122px,14.3cqi,212px); }
.services-workspace__content .elec-plan { background: #e9eff6; }
.services-workspace__content .elec-works .roof-works__gallery { grid-auto-rows: clamp(120px, 13.7cqi, 198px); }

.services-workspace__content .ext-contact { --ux-contact-paper: #edf3f6; background: var(--ux-contact-paper); }
.services-workspace__content .roof-contact { --ux-contact-paper: #e5edf4; }
.services-workspace__content .combo-contact { --ux-contact-paper: #f4e6d7; }
.services-workspace__content .elec-contact { --ux-contact-paper: #112a46; color: white; }
.services-workspace__content .elec-contact :is(.ext-contact__copy p) { color: #dbe8f4; }
.services-workspace__content .elec-contact .ext-contact__copy em { color: #ffb27b; }
.services-workspace__content .elec-contact .ext-contact__form { color: var(--ux-ink); }
.services-workspace__content .ext-contact__photo::after { background: linear-gradient(90deg,transparent 37%,var(--ux-contact-paper) 100%); }

.services-workspace__content :is(.storage-page,.turnkey-page,.warm-page,.cold-page,.insulation-page,.fin-page,.ext-page) .service-ux-process {
  display: block;
  padding: clamp(15px, 2.55cqi, 34px);
  border: 0;
  border-radius: 18px;
  background: var(--ux-warm);
  color: var(--ux-ink);
}
.services-workspace__content :is(.cold-page,.insulation-page,.roof-page,.elec-page) .service-ux-process { background: var(--ux-dark); color: #fff; --ux-step-bg: #254561; --ux-step-ink: #fff; --ux-step-line: #64849b; --ux-step-copy: #deebf4; }
.services-workspace__content :is(.warm-page,.ext-page:not(.roof-page,.elec-page,.combo-page)) .service-ux-process { background: var(--ux-tech); }
.services-workspace__content .service-ux-process h2 { color: inherit; }
.services-workspace__content :is(.cold-page,.insulation-page,.roof-page,.elec-page) .service-ux-process h2 em { color: #ffb479; }
.services-workspace__content .service-ux-process .service-ux-route {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 22px 13px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: service-ux-step;
}
.services-workspace__content .service-ux-process .service-ux-route > li {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: start;
  counter-increment: service-ux-step;
}
.services-workspace__content .service-ux-process .service-ux-route > li::before {
  position: absolute;
  display: block;
  inset: 13px auto auto 49px;
  width: auto;
  height: auto;
  background: none;
  color: var(--ux-step-ink,var(--ux-accent));
  font-size: 13px;
  font-weight: 780;
  content: counter(service-ux-step, decimal-leading-zero);
}
.services-workspace__content .service-ux-process .service-ux-route > li:not(:last-child)::after {
  position: absolute;
  display: block;
  content: "";
  inset: 22px -5px auto 76px;
  width: auto;
  height: 0;
  transform: none;
  border-top: 1px dashed var(--ux-step-line,#b08f71);
  border-radius: 0;
  background: none;
}
.services-workspace__content .service-ux-process .service-ux-route li > :is(div,span):first-child:has(> svg), .services-workspace__content .service-ux-process .service-ux-route li > svg:first-child {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  min-height: 0;
  margin: 0 0 10px;
  padding: 7px;
  border: 0;
  border-radius: 11px;
  background: var(--ux-step-bg,#fffcf8);
  color: var(--ux-step-ink,var(--ux-accent));
}
.services-workspace__content .service-ux-process .service-ux-route li > :is(div,span):first-child > svg { width: 24px; height: 24px; color: inherit; }
.services-workspace__content .service-ux-process .service-ux-route li > :is(div,span):first-child:has(> svg)::after { content: none; }
.services-workspace__content .service-ux-process .service-ux-route h3 { color: inherit; font-size: clamp(15px,1.65cqi,21px); line-height: 1.22; }
.services-workspace__content .service-ux-process .service-ux-route p { color: var(--ux-step-copy,var(--ux-muted)); margin-top: 5px; font-size: clamp(13px,1.25cqi,15px); line-height: 1.38; }

.services-workspace__content .service-faq:not(:has(.service-faq__contact)), .services-workspace__content .cold-faq {
  display: block;
  padding: clamp(13px,2.15cqi,29px);
  border-radius: 16px;
  background: #faf8f4;
}
.services-workspace__content :is(.service-faq:not(:has(.service-faq__contact)),.cold-faq) h2 { margin-bottom: 13px; max-width: none; }
.services-workspace__content .service-faq .service-faq__list { align-items: start; gap: 7px; }
.services-workspace__content .service-faq:not(:has(.service-faq__contact)) .service-faq__list { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: min-content; }
.services-workspace__content .service-faq details { border-radius: 12px; }
.services-workspace__content .service-faq summary { min-height: 46px; padding: 8px 11px; border-radius: 11px; font-size: clamp(14px,1.47cqi,18px); }
.services-workspace__content .service-faq .service-faq__indicator { width: 28px; height: 28px; }
.services-workspace__content .service-faq .service-faq__list p { padding: 7px 10px; font-size: clamp(14px,1.28cqi,16px); }
.services-workspace__content .service-faq:has(.service-faq__contact) .service-faq__contact { border-radius: 15px; }
.services-workspace__content .cold-faq > div:first-child { margin-bottom: 12px; }

@container service-content (min-width: 1011px) {
  .services-workspace__content .service-ux-process .service-ux-route:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@container service-content (max-width: 1010px) {
  .services-workspace__content .service-ux-process .service-ux-route { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .services-workspace__content .service-ux-process .service-ux-route li:nth-child(3n)::after { content: none; }
}
@container service-content (max-width: 690px) {
  .services-workspace__content .warm-page__system .warm-page__split { grid-template-columns: minmax(0,1fr); }
  .services-workspace__content .turnkey-projects__grid { grid-template-columns: minmax(0,1fr); }
  .services-workspace__content .turnkey-projects__grid article:first-child { grid-row: auto; }
  .services-workspace__content .ext-contact__photo::after { background: linear-gradient(0deg,var(--ux-contact-paper),transparent 65%); }
  .services-workspace__content .service-faq:not(:has(.service-faq__contact)) .service-faq__list { grid-template-columns: minmax(0,1fr); }
  .warm-page__contact .service-ux-contact__warm { min-height: 225px; }
}
@container service-content (max-width: 480px) {
  .services-workspace__content .service-ux-process .service-ux-route { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .services-workspace__content .service-ux-process .service-ux-route > li { padding: 2px 0 8px 65px; }
  .services-workspace__content .service-ux-process .service-ux-route > li::before { inset: 44px auto auto 11px; font-size: 11px; }
  .services-workspace__content .service-ux-process .service-ux-route > li:not(:last-child)::after { content: none; }
  .services-workspace__content .service-ux-process .service-ux-route li > :is(div,span):first-child:has(> svg), .services-workspace__content .service-ux-process .service-ux-route li > svg:first-child { position: absolute; inset: 0 auto auto 0; margin: 0; }
  .services-workspace__content .service-ux-process .service-ux-route > li { min-height: 58px; }
  .services-workspace__content .turnkey-projects__grid article:not(:first-child) { display: block; }
  .services-workspace__content .turnkey-projects__grid article:not(:first-child) .turnkey-projects__photo { height: auto; aspect-ratio: 1.8; }
}

@container service-content (max-width: 345px) {
  .services-workspace__content .turnkey-price ul { grid-template-columns: minmax(0,1fr); gap: 8px; }
}

@media (max-width: 700px) {
    [data-services-content] :is(.storage-hero__actions,.warm-glazing-hero__actions,.turnkey-actions,.cold-actions,.ins-actions,.fin-actions,.ext-actions) { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
    [data-services-content] :is(.storage-hero__actions,.warm-glazing-hero__actions,.turnkey-actions,.cold-actions,.ins-actions,.fin-actions,.ext-actions) > :is(a,button) { width: auto; min-height: 44px; min-width: 0; flex: 1 1 138px; justify-content: center; text-align: center; }
    [data-services-content] [data-service-tabs] { margin-block: 11px 18px; }
}
