.ovd-main:has(.ext-page) { background: linear-gradient(160deg, #f9fafb, #eaf0f5 68%, #f6f8fa); }
.ext-page {
  --ext-ink: #102c47;
  --ext-muted: #465c70;
  --ext-accent: #bb4800;
  --ext-highlight: #ff8009;
  --ext-line: #dce5ed;
  --ext-paper: #f8fafc;
  --ext-pad: clamp(17px, 2.35cqi, 32px);
  --ext-gap: clamp(13px, 1.7cqi, 24px);
  --ext-radius: clamp(16px, 1.8cqi, 24px);
  container: exterior / inline-size;
  color: var(--ext-ink);
}
.ext-page :is(h1,h2,h3,p,ul,ol,figure) { margin: 0; }
.ext-page :is(ul,ol) { padding: 0; list-style: none; }
.ext-page :is(h1,h2,h3) { color: inherit; line-height: 1.12; }
.ovd-main .ext-page h1 { font-size: clamp(32px, 4.18cqi, 59px); letter-spacing: -.047em; font-weight: 790; }
.ovd-main .ext-page h2 { font-size: clamp(25px, 2.85cqi, 41px); letter-spacing: -.039em; font-weight: 780; }
.ext-page h3 { font-size: clamp(15px, 1.34cqi, 20px); font-weight: 750; }
.ext-page em { color: #ce5100; font-style: normal; }
.ext-page p { color: var(--ext-muted); line-height: 1.45; }
.ext-page header > p, .ext-contact__copy p { margin-top: 9px; }
.ext-page img { display: block; width: 100%; height: auto; }
.ext-page :is(a,button,summary):focus-visible { outline: 2px solid #0670a7; outline-offset: 3px; }
.ext-page :is(.button,.ovd-button) { min-height: 44px; padding: 9px 14px; gap: 7px; font-size: 14px; line-height: 1.25; text-align: center; white-space: normal; }
.ext-page :is(.button--primary,.ovd-button) { color: #fff; background: linear-gradient(140deg, #cb5000, #bb4300); border-color: #bc4700; text-shadow: none; }
.ext-page :is(.button--primary,.ovd-button):hover { background: #9b3900; }
.ext-page .button--outline { color: var(--ext-ink); background: #fff9; border-color: #47657e; }
.ext-page .button--outline:hover { background: #edf3f8; }
.ext-page .button svg { width: 16px; height: 16px; flex: none; }
.ext-page > :is(.ext-section,.service-faq) { margin-top: clamp(26px, 3.65cqi, 52px); }
.ext-page > .services-tabs { margin-block: clamp(13px, 1.4cqi, 20px) 0; }
.ext-page > .services-tabs + .ext-section { margin-top: clamp(17px, 2cqi, 27px); }
.ext-paper { background: var(--ext-paper); border: 1px solid white; border-radius: var(--ext-radius); padding: var(--ext-pad); box-shadow: 0 9px 26px #102c4709; }
.ext-page .ext-caption { font-size: 13px; color: #506477; }

.ext-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(425px, 38cqi, 535px);
  overflow: hidden;
  border-radius: var(--ext-radius);
  background: #f8fafb;
}
.ext-hero__copy { width: 52%; padding: var(--ext-pad); }
.ext-hero__copy > p { max-width: 42ch; margin-top: 15px; font-size: clamp(15px, 1.33cqi, 19px); }
.ext-hero em { display: block; }
.ext-hero__photo { position: absolute; z-index: -1; inset: 0 0 0 38%; }
.ext-hero__photo img { height: 100%; object-fit: cover; object-position: 58% 50%; }
.ext-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f8fafb, #f8fafbea 10%, #f8fafb6e 25%, transparent 44%); }
.ext-hero__samples { position: absolute; right: 1.6%; bottom: 1%; width: clamp(110px, 23cqi, 340px); pointer-events: none; }
.ext-hero__samples img { filter: drop-shadow(0 7px 10px #0c18273b); }
.ext-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: clamp(15px, 2cqi, 29px); }
.ext-page .ext-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(16px, 2.2cqi, 28px); }
.ext-benefits li { display: grid; align-content: start; gap: 5px; padding-right: 5px; font-size: clamp(12px, 1.02cqi, 15px); font-weight: 700; line-height: 1.2; }
.ext-benefits li + li { padding-left: 9px; border-left: 1px solid var(--ext-line); }
.ext-benefits svg, .ext-purpose svg { width: 27px; height: 27px; color: var(--ext-accent); }

.ext-purpose { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr) minmax(0, 1.95fr); gap: var(--ext-gap); align-items: center; }
.ext-purpose__photo { align-self: stretch; min-height: 170px; position: relative; overflow: hidden; border-radius: 13px; }
.ext-purpose__photo img { position: absolute; height: 100%; object-fit: cover; object-position: 56% center; }
.ext-purpose ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; }
.ext-purpose li { display: grid; grid-template-columns: auto minmax(0,1fr); align-content: start; gap: 4px 8px; padding-block: 5px; }
.ext-purpose li svg { grid-row: span 2; }
.ext-purpose li p, .ext-materials article p, .ext-technical li p { font-size: 14px; }
.ext-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.45fr); gap: var(--ext-gap); align-items: center; }
.ext-materials__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.ext-materials article { overflow: hidden; border: 1px solid var(--ext-line); border-radius: 13px; background: #fff; }
.ext-materials article img { aspect-ratio: 2.05; object-fit: cover; }
.ext-materials article > div { padding: 11px 12px 13px; }
.ext-materials article p { margin-top: 5px; }

.ext-config { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.28fr) minmax(0, 1.34fr); align-items: center; gap: var(--ext-gap); background: linear-gradient(135deg,#fff,#eef4f9); }
.ext-config__stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: #d6dce1; }
.ext-config__stage > img, .ext-config__tint img { width: 100%; height: 100%; object-fit: fill; }
.ext-config__tint { position: absolute; inset: 0; clip-path: polygon(4.28% 56.9%, 83.67% 37.9%, 95.4% 49.16%, 95.38% 90.48%, 84% 84.9%, 4.2% 92.05%); }
.ext-config__tint img { filter: var(--ext-tint); transition: filter 280ms ease; }
.ext-config [data-ext-color="light"] { --ext-tint: grayscale(1) sepia(.37) hue-rotate(2deg) saturate(1.04) brightness(1.28) contrast(.96); }
.ext-config [data-ext-color="graphite"] { --ext-tint: grayscale(1) sepia(.15) hue-rotate(150deg) saturate(.65) brightness(.53) contrast(1.07); }
.ext-config [data-ext-color="brown"] { --ext-tint: grayscale(1) sepia(.72) hue-rotate(343deg) saturate(1.3) brightness(.67) contrast(1.14); }
.ext-config [data-ext-color="sand"] { --ext-tint: grayscale(1) sepia(.63) hue-rotate(358deg) saturate(1.1) brightness(1.06) contrast(1.04); }
.ext-config [data-ext-color="blue"] { --ext-tint: grayscale(1) sepia(.72) hue-rotate(161deg) saturate(1.68) brightness(.63) contrast(1.15); }
.ext-config__stage figcaption { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); border-radius: 999px; background: #102c47df; color: #fff; padding: 4px 11px; font-size: 13px; font-weight: 700; }
.ext-config__arrow { display: grid; position: absolute; top: 50%; transform: translateY(-50%); place-items: center; width: 37px; height: 37px; border-radius: 100%; border: 1px solid #fff; background: #fff; color: var(--ext-accent); box-shadow: 0 3px 12px #102c473d; }
.ext-config__arrow svg { width: 18px; height: 18px; }
.ext-config__arrow--prev { left: 8px; }
.ext-config__arrow--prev svg { transform: rotate(180deg); }
.ext-config__arrow--next { right: 8px; }
.ext-config__options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; margin-block: 9px 11px; }
.ext-config [hidden] { display: none; }
.ext-config__options button { display: grid; gap: 6px; justify-items: center; min-width: 0; padding: 3px; border: 2px solid transparent; border-radius: 9px; background: none; color: inherit; line-height: 1.15; font-size: clamp(10px, .88cqi, 13px); overflow-wrap: anywhere; }
.ext-config__options button[aria-pressed="true"] { border-color: var(--ext-accent); background: #fff6ed; font-weight: 760; }
.ext-config__sample { display: block; width: 100%; aspect-ratio: 1.35; border-radius: 5px; background: url("../images/services/exterior-finishing/preview.webp") center 82% / 580% auto; filter: var(--ext-tint); }
.ext-config__choices .ext-caption { display: flex; align-items: flex-start; gap: 7px; }
.ext-config__choices svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

.ext-technical { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--ext-gap); align-items: center; }
.ext-technical__diagram { position: relative; }
.ext-technical__diagram img { aspect-ratio: 3 / 2; object-fit: fill; border-radius: 13px; }
.ext-technical__diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ext-technical__diagram path { fill: none; stroke: #f4832d; stroke-width: 3; }
.ext-technical__diagram circle { fill: #ba4b00; stroke: #fff; stroke-width: 4; }
.ext-technical__diagram text { fill: #fff; font-size: 25px; font-weight: 800; text-anchor: middle; dominant-baseline: central; }
.ext-technical__figure figcaption { margin-top: 6px; }
.ext-technical__legend { display: grid; align-content: center; gap: 8px; }
.ext-technical__legend li { display: grid; grid-template-columns: 8px minmax(0,1fr); gap: 3px 7px; }
.ext-technical__legend li::before { content: ""; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; grid-row: span 2; background: var(--ext-accent); }
.ext-technical__legend h3 { font-size: 15px; }
.ext-preparation { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr) minmax(0, 1.8fr); align-items: center; gap: 12px 20px; padding: 16px 19px; border-radius: 14px; background: linear-gradient(145deg, #183d5b, #0c2a44); color: #fff; }
.ext-preparation p, .ext-price p { color: #e0edf5; font-size: 14px; }
.ext-preparation ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 10px; }
.ext-preparation li { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.25; }
.ext-preparation svg { width: 19px; height: 19px; color: var(--ext-highlight); flex: none; }

.ext-works header .button { margin-top: 13px; }
.ext-works__gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 9px; }
.ext-works__gallery a { display: block; overflow: hidden; border-radius: 13px; background: #e4ebf2; }
.ext-works__gallery img { aspect-ratio: 1.28; object-fit: cover; transition: transform .25s ease; }
.ext-works__gallery a:first-of-type img { object-position: center 53%; }
.ext-works__gallery a:nth-of-type(2) img { object-position: center 47%; }
.ext-works__gallery a:hover img { transform: scale(1.045); }
.ext-price { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,4fr) minmax(0,.95fr); gap: var(--ext-gap); align-items: center; background: linear-gradient(135deg,#1a405d,#0c2b47); border-radius: var(--ext-radius); color: #fff; padding: var(--ext-pad); }
.ext-price em { color: var(--ext-highlight); }
.ext-price ul { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-self: stretch; align-content: center; }
.ext-price li { display: grid; justify-items: center; align-content: start; gap: 7px; padding-inline: 5px; border-inline-start: 1px solid #ffffff37; font-size: clamp(12px,1cqi,14px); line-height: 1.2; text-align: center; }
.ext-price li svg { width: 28px; height: 28px; color: var(--ext-highlight); }
.ext-price .button { min-height: 56px; }
.ext-process { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,4.1fr); gap: var(--ext-gap); align-items: start; }
.ovd-main .ext-page .ext-process h2 { font-size: clamp(25px,2.4cqi,35px); overflow-wrap: normal; }
.ext-process ol { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.ext-process li { position: relative; }
.ext-process li:not(:last-child)::after { content: "→"; position: absolute; top: 1px; right: -13px; color: #5b7890; }
.ext-process li div { display: flex; align-items: center; gap: 6px; min-height: 25px; margin-bottom: 5px; }
.ext-process li div span { display: inline-grid; place-items: center; background: #ffecd9; color: var(--ext-accent); border-radius: 6px; padding: 3px 6px; font-size: 12px; font-weight: 800; }
.ext-process li svg { width: 20px; height: 20px; color: var(--ext-ink); }
.ext-process li h3 { font-size: 15px; }
.ext-process li p { margin-top: 5px; font-size: 13px; }

.ext-page .service-faq { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,3.2fr); gap: var(--ext-gap); padding: var(--ext-pad); background: #f8fafc; border-radius: var(--ext-radius); }
.ovd-main .ext-page .service-faq__title { font-size: clamp(25px,2.6cqi,38px); }
.ext-page .service-faq__list { display: block; columns: 2; column-gap: 8px; }
.ext-page .service-faq details { break-inside: avoid; margin-bottom: 8px; border-color: var(--ext-line); background: #fff; border-radius: 11px; }
.ext-page .service-faq summary { min-height: 48px; padding: 8px 11px; font-size: 14px; gap: 9px; }
.ext-page .service-faq details p { font-size: 14px; padding: 0 11px 11px; }
.ext-page .service-faq__indicator { color: var(--ext-accent); }

.ext-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.02fr) minmax(0,1.8fr);
  gap: var(--ext-gap);
  align-items: center;
  background: #f3f7fa;
}
.ext-contact__photo { position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; }
.ext-contact__photo img { height: 100%; object-fit: cover; object-position: 35% center; }
.ext-contact__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 39%,#f3f7fadd 78%,#f3f7fa); }
.ext-contact__copy { grid-column: 2; }
.ext-contact__copy a { display: flex; align-items: center; gap: 8px; color: inherit; margin-top: 13px; font-size: clamp(17px,1.65cqi,24px); font-weight: 790; white-space: nowrap; }
.ext-contact__copy a svg { flex: none; width: 21px; height: 21px; color: var(--ext-accent); }
.ext-contact__form { padding: clamp(12px,1.45cqi,20px); border: 1px solid #fff; border-radius: 15px; background: #fff; box-shadow: 0 6px 20px #102c470a; }
.ext-contact__form .ovd-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 9px; margin: 0; }
.ext-contact__form form > :not(label:has(input[name="name"],input[name="phone"])) { grid-column: 1 / -1; }
.ext-contact__form :is(input:not([type="checkbox"]),select,textarea) { width: 100%; min-width: 0; min-height: 39px; padding: 7px 9px; border-color: #cbd8e3; }
.ext-contact__form textarea { min-height: 66px; resize: vertical; }
.ext-contact__form label { font-size: 13px; }
.ext-related { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 17px; font-size: 13px; }
.ext-related a { color: #284e70; text-underline-offset: 3px; }

@container exterior (max-width: 1100px) {
  .ext-hero__copy { width: 54%; }
  .ext-purpose { grid-template-columns: minmax(0,.95fr) minmax(0,1fr) minmax(0,1.7fr); }
  .ext-config { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .ext-config > header { grid-column: 1 / -1; }
  .ext-price { grid-template-columns: minmax(0, 1fr) auto; }
  .ext-price ul { grid-area: 2 / 1 / 3 / -1; }
  .ext-price .button { grid-area: 1 / 2; max-width: 190px; }
  .ext-process { grid-template-columns: 1fr; }
}
@container exterior (max-width: 780px) {
  .ext-purpose { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .ext-purpose ul { grid-column: 1 / -1; }
  .ext-strip { grid-template-columns: 1fr; }
  .ext-config__options { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ext-config__options button { font-size: 12px; overflow-wrap: normal; hyphens: auto; }
  .ext-config__sample { height: clamp(27px,5.5cqi,45px); }
  .ext-technical { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ext-technical header { grid-column: 1 / -1; }
  .ext-preparation { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .ext-preparation ul { grid-column: 1 / -1; }
  .ext-process ol { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ext-process li:nth-child(3n)::after { content: none; }
  .ext-contact { grid-template-columns: 1fr 1.35fr; }
  .ext-contact__copy { grid-column: auto; align-self: end; }
  .ext-contact__photo { width: 45%; height: 56%; }
  .ext-contact__photo::after { background: linear-gradient(0deg,#f3f7fa,transparent 56%),linear-gradient(90deg,transparent 70%,#f3f7fa); }
  .ext-page .service-faq { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; }
  .ext-page .service-faq__list { grid-area: auto; }
}
@container exterior (max-width: 560px) {
  .ext-hero { min-height: 0; }
  .ext-hero__copy { width: auto; grid-row: 1; }
  .ext-hero__photo { position: relative; inset: auto; grid-row: 2; height: clamp(195px, 58cqi, 285px); }
  .ext-hero__photo::after { background: linear-gradient(180deg,#f8fafb,transparent 30%); }
  .ext-hero__photo img { object-position: 55% 50%; }
  .ext-hero__samples { width: 34%; }
  .ext-actions .button { padding-inline: 9px; font-size: 13px; }
  .ext-purpose { grid-template-columns: minmax(0,1fr); }
  .ext-purpose__photo { min-height: clamp(150px,48cqi,240px); }
  .ext-purpose li { grid-template-columns: 1fr; }
  .ext-purpose li svg { grid-row: auto; }
  .ext-materials__cards { grid-template-columns: 1fr; }
  .ext-materials article { display: grid; grid-template-columns: 38% minmax(0,1fr); align-items: center; }
  .ext-materials article img { height: 100%; aspect-ratio: 1.15; }
  .ext-config, .ext-technical { grid-template-columns: minmax(0,1fr); }
  .ext-config__options button { font-size: 12px; }
  .ext-preparation { grid-template-columns: 1fr; }
  .ext-preparation ul { grid-template-columns: 1fr; }
  .ext-works__gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row; }
  .ext-price { grid-template-columns: 1fr; }
  .ext-price ul { grid-area: auto; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 0; }
  .ext-price li:nth-child(3n+1) { border-inline-start: none; }
  .ext-price .button { grid-area: auto; max-width: none; }
  .ext-process ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ext-process li:nth-child(3)::after { content: "→"; }
  .ext-process li:nth-child(even)::after { content: none; }
  .ext-page .service-faq__list { columns: 1; }
  .ext-contact { grid-template-columns: minmax(0,1fr); }
  .ext-contact__photo { position: relative; width: auto; height: 184px; border-radius: 12px; overflow: hidden; }
  .ext-contact__photo::after { background: linear-gradient(0deg,#f3f7fa,transparent 38%); }
}
@container exterior (max-width: 340px) {
  .ext-materials article { grid-template-columns: 1fr; }
  .ext-materials article img { height: auto; aspect-ratio: 2; }
  .ext-contact__form .ovd-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ext-config__tint img, .ext-works__gallery img { transition: none; }
}
