/*
Theme Name: КупеМосква
Theme URI: https://kupemoskva.ru/
Author: КупеМосква
Description: Рабочая тема каталога мебели по индивидуальным размерам.
Version: 0.3.108
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kupemoskva
*/

:root{--ink:#242320;--dark:#232321;--paper:#f3ede4;--copper:#c38b58;--line:#d6cabd;--muted:#6b625a}
html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 Arial,sans-serif}*{box-sizing:border-box}img{max-width:100%;height:auto}a{color:inherit}.site-main{min-height:60vh}.wp-admin-bar-showing .site-header{top:32px}
.admin-edit-link{position:fixed;right:18px;bottom:18px;z-index:50;padding:10px 16px;border-radius:24px;background:var(--copper);color:#fff;text-decoration:none}
.catalog-photo-placeholder{display:grid;place-items:center;min-height:260px;background:#ded5ca;color:var(--muted)}
.pagination{display:flex;gap:8px;justify-content:center;margin:44px 0}.pagination .page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:20px;text-decoration:none}.pagination .current{background:var(--dark);color:#fff}
.km-empty{padding:32px;border:1px dashed var(--line);text-align:center}.km-meta{color:var(--muted)}.product-card[hidden],[data-works-empty][hidden]{display:none!important}
@media(max-width:782px){.wp-admin-bar-showing .site-header{top:46px}}

/* Графитовая фактура на тёмных поверхностях; длинные мобильные блоки повторяют её по вертикали. */
.site-header{
  background-color:#3a3b3b;
  background-image:linear-gradient(rgba(20,21,21,.48),rgba(20,21,21,.48)),url('assets/images/graphite-texture-continuous.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.dark,.company-principles{
  background-color:#363838;
  background-image:linear-gradient(112deg,rgba(18,18,17,.68),rgba(24,24,23,.52) 58%,rgba(20,20,19,.60)),url('assets/images/graphite-texture-continuous.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.site-footer{
  background-color:#2d2f2f;
  background-image:linear-gradient(rgba(16,17,17,.68),rgba(16,17,17,.68)),url('assets/images/graphite-texture-continuous.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.nav-submenu{
  background-color:#2d2f2f;
  background-image:linear-gradient(rgba(18,19,19,.64),rgba(18,19,19,.64)),url('assets/images/graphite-texture-continuous.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}


/* Desktop review readability */
@media(min-width:901px){#reviews .kmr-text,#reviews .kmr-card details summary{font-size:17px;line-height:1.7}#reviews .kmr-person h3{font-size:19px}#reviews .kmr-person time,#reviews .kmr-source{font-size:14px}}

/* Homepage CTA: restrained gold underline for the introductory phrase. */
.cta .cta-eyebrow-gold{
  display:table;
  margin:0 auto 28px;
  padding:0 4px 9px;
  color:#e2bf74;
  border-bottom:1px solid #c99a4b;
  text-shadow:0 0 14px rgba(226,191,116,.12);
}
@media(max-width:760px){
  .cta .cta-eyebrow-gold{
    max-width:100%;
    margin-bottom:22px;
    padding-bottom:7px;
    line-height:1.55;
  }
}

/* Shared gold underline for small introductory headings across the site. */
.eyebrow,
.kmh-eyebrow,
.km-path-preview__eyebrow,
.msh-eyebrow,
.msh-block-kicker,
.msh-questions-kicker,
.kicker,
.delivery-kicker,
.hero-kicker,
.section-kicker{
  display:table;
  max-width:100%;
  padding-bottom:9px;
  border-bottom:1px solid #c99a4b;
  text-shadow:0 0 14px rgba(226,191,116,.12);
}
@media(max-width:760px){
  .eyebrow,
  .kmh-eyebrow,
  .km-path-preview__eyebrow,
  .msh-eyebrow,
  .msh-block-kicker,
  .msh-questions-kicker,
  .kicker,
  .delivery-kicker,
  .hero-kicker,
  .section-kicker{padding-bottom:7px;line-height:1.55}
}

/* Homepage: clear steps and a shorter review preview. */
.kmh-hero .kmh-cta-note{display:block;margin-top:12px;color:#e1d7c7;font-size:12px;line-height:1.5;letter-spacing:.01em}
.km-home-reviews{background:rgba(255,253,249,.93);border:1px solid var(--line);border-radius:18px;padding:28px;color:var(--ink)}
.km-home-reviews__top{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;border-bottom:1px solid var(--line);padding-bottom:18px}
.km-home-reviews__rating{display:flex;align-items:center;gap:10px;flex:none}
.km-home-reviews__yandex-icon{position:relative;display:block;flex:none;width:42px;height:42px;overflow:hidden;border-radius:11px}
.km-home-reviews__yandex-icon img{display:block;width:100%;height:100%;object-fit:cover}
.km-home-reviews__rating-star{display:block;font:36px/1 Arial,sans-serif;color:#c58b38;background:linear-gradient(120deg,#9b611e 12%,#d6a34e 42%,#fff2bf 52%,#bd7d27 68%,#a86a25 88%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 2px rgba(167,106,37,.24));animation:km-rating-star-shimmer 3.6s ease-in-out infinite}
@keyframes km-rating-star-shimmer{0%,68%,100%{filter:drop-shadow(0 1px 2px rgba(167,106,37,.24)) brightness(1)}76%{filter:drop-shadow(0 0 8px rgba(234,181,80,.8)) brightness(1.26)}84%{filter:drop-shadow(0 0 4px rgba(234,181,80,.45)) brightness(1.06)}}
@media(prefers-reduced-motion:reduce){.km-home-reviews__rating-star{animation:none}}
.km-home-reviews__top strong{font:800 48px/1 Arial,sans-serif;letter-spacing:-.035em;font-variant-numeric:lining-nums tabular-nums}
.km-home-reviews__details{min-width:0}
.km-home-reviews__top a{font-size:16px;font-weight:600}
.km-home-reviews__yandex-name{color:#d00000}
.km-home-reviews__top p{font-size:14px;color:var(--muted);margin:4px 0 0}
.km-home-reviews__order{font-size:13px;color:var(--muted);margin:18px 0 4px}
.km-home-reviews__card{padding:18px 0;border-bottom:1px solid var(--line)}
.km-home-reviews__person{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.km-home-reviews__person h3{font:600 18px/1.4 Arial,sans-serif}
.km-home-reviews__person time{font-size:12px;color:var(--muted);white-space:nowrap}
.km-home-reviews__stars{color:#95602d;letter-spacing:2px;margin:6px 0}
.km-home-reviews__card>p{font-size:15px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}
.km-home-reviews__card details{padding:0;border:0}
.km-home-reviews__card summary{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.km-home-reviews__card summary span{color:#76502e;text-decoration:underline;white-space:nowrap}
.km-home-reviews__card details p{font-size:15px;line-height:1.65;white-space:pre-line;margin-top:12px;overflow-wrap:anywhere}
.km-home-reviews__all{display:inline-block;color:#76502e;border-bottom:1px solid #95602d;margin-top:18px;padding-bottom:3px;font-size:14px}
@media(max-width:600px){.km-home-reviews{padding:20px}.km-home-reviews__top strong{font-size:40px}.km-home-reviews__person{flex-wrap:wrap;gap:3px}.kmh-hero .kmh-cta-note{max-width:290px;font-size:11px;margin-top:8px}}

/* Section spacing: 90px vertically on desktop and mobile, 2026-09-28. */
body main .section{padding-top:90px!important;padding-bottom:90px!important}
body main .intro{padding-top:90px!important;padding-bottom:90px!important}
body main .intro+.section{padding-top:90px!important}
@media(max-width:760px){body main .section{padding-top:90px!important;padding-bottom:90px!important}body main .intro{padding-top:90px!important;padding-bottom:90px!important}body main .intro+.section{padding-top:90px!important}}
body.home main .km-path-preview{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 1000px){body.home main .km-path-preview{padding-top:90px!important;padding-bottom:90px!important;}}
@media (max-width: 620px){body.home main .km-path-preview{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-694 main .km-materials-section{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 767px){body.page-id-694 main .km-materials-section{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-695 main .km-about-section{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-695 main .km-about-contract{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-695 main .km-about-closing{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-695 main .km-about-stages{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 760px){body.page-id-695 main .km-about-section{padding-top:90px!important;padding-bottom:90px!important;}}
@media (max-width: 760px){body.page-id-695 main .km-about-contract{padding-top:90px!important;padding-bottom:90px!important;}}
@media (max-width: 760px){body.page-id-695 main .km-about-closing{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-697 main .km-production{padding-top:90px!important;}
body.page-id-700 main #project-form{padding-bottom:90px!important;}
body.page-id-700 main #project-form + .intro{padding-top:90px!important;}
body.page-id-691 main .intro{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-691 main .stage{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-691 main .closing{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 700px){body.page-id-691 main .intro{padding-top:90px!important;padding-bottom:90px!important;}}
@media (max-width: 700px){body.page-id-691 main .stage{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-691 main .real-works{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 700px){body.page-id-691 main .real-works{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-691 main .msh-all-stages{padding-top:90px!important;padding-bottom:90px!important;}

/* Works archive: 90px total between the intro copy and category filter. */
body.post-type-archive-km_work main .intro{padding-bottom:45px!important;}
body.post-type-archive-km_work main .intro+.section{padding-top:45px!important;}
@media(max-width:760px){body.post-type-archive-km_work main .intro{padding-top:45px!important;padding-bottom:22.5px!important;}body.post-type-archive-km_work main .intro+.section{padding-top:22.5px!important;}}
body.page-id-689 main .msh-meeting-grid{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-689 main .msh-meeting-grid > .section{padding-top:0px!important;padding-bottom:0px!important;}
@media (max-width: 900px){body.page-id-689 main .msh-meeting-grid{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-689 main .msh-questions{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 600px){body.page-id-689 main .msh-questions{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-689 main .msh-benefits{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-689 main .msh-compare{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-689 main .msh-journey{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 767px){body.page-id-689 main .msh-benefits,body.page-id-689 main .msh-compare,body.page-id-689 main .msh-journey{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-689 main .msh-meeting-grid{padding-bottom:90px!important;}
body.page-id-689 main .msh-signup{padding-top:0px!important;padding-bottom:90px!important;}
@media (max-width: 700px){body.page-id-689 main .msh-meeting-grid{padding-bottom:90px!important;}}
@media (max-width: 700px){body.page-id-689 main .msh-signup{padding-top:0px!important;padding-bottom:90px!important;}}
body.page-id-690 main .design-result{padding-top:90px!important;}
body.page-id-690 main .msh-all-stages{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-692 main .delivery-content .delivery-section{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-692 main .delivery-content .delivery-section--dark{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 880px){body.page-id-692 main .delivery-content .delivery-section{padding-top:90px!important;padding-bottom:90px!important;}}
@media (max-width: 880px){body.page-id-692 main .delivery-content .delivery-section--dark{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-692 main .delivery-section--dark{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 880px){body.page-id-692 main .delivery-section--dark{padding-top:90px!important;padding-bottom:90px!important;}}
@media (max-width: 880px){body.page-id-692 main .delivery-section{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-692 main .delivery-content .delivery-faq-section{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 560px){body.page-id-692 main .delivery-content .delivery-faq-section{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-692 main .delivery-content .delivery-faq-section{padding-top:90px!important;padding-bottom:90px!important;}
@media (max-width: 560px){body.page-id-692 main .delivery-content .delivery-faq-section{padding-top:90px!important;padding-bottom:90px!important;}}
body.page-id-692 main .msh-all-stages{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-693 main #km-installation-v2 .section{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-693 main .msh-all-stages{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-691 main .stages{padding-bottom:90px!important;}
@media (max-width: 700px){body.page-id-691 main .stages{padding-bottom:90px!important;}}
body.page-id-693 main #km-installation-v2 .conversion-inner{padding-top:90px!important;padding-bottom:90px!important;}
body.page-id-693 main #km-installation-v2 .price-inner{padding-top:90px!important;padding-bottom:90px!important;}

/* Unified section overlines: black on light wood, white on graphite, gold rule. */
body main :is(.eyebrow,.kmh-eyebrow,.km-path-preview__eyebrow,.km-materials-kicker,.km-about-eyebrow,.msh-eyebrow,.msh-block-kicker,.msh-questions-kicker,.delivery-kicker,.section-kicker,.kicker,.hero-kicker){
  display:table;
  width:fit-content;
  max-width:100%;
  padding-bottom:8px;
  border-bottom:2px solid #c99a4b!important;
  color:#171717!important;
  font-family:"Trebuchet MS",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1.5!important;
  letter-spacing:.16em!important;
  text-transform:uppercase;
  text-shadow:none!important;
}
body main :is(.dark,.closing,.hero,.service-hero,.kmh-hero,.km-about-hero,.km-about-responsibility,.km-about-contract,.km-about-closing,.is-dark,.km-materials-hero,.measurement-scan-hero,.msh-compare,.delivery-section--dark,.condition-card--accent,.delivery-faq-section,#km-installation-v2 .faq) :is(.eyebrow,.kmh-eyebrow,.km-path-preview__eyebrow,.km-materials-kicker,.km-about-eyebrow,.msh-eyebrow,.msh-block-kicker,.msh-questions-kicker,.delivery-kicker,.section-kicker,.kicker,.hero-kicker){color:#fff!important;}
body.page-id-691 main :is(.intro,.real-works) .kicker{color:#171717!important;font-weight:400!important;}

/* Unified text links with an arrow: Trebuchet MS and a gold underline. */
body main :is(a.arrow-link,.km-path-preview__foot a,a.km-about-text-link,a.km-home-reviews__all,a.km-text-link,a.km-project-link){
  font-family:"Trebuchet MS",Arial,sans-serif!important;
  font-weight:400;
  text-decoration:none!important;
  border-bottom:2px solid #c99a4b!important;
}

/* Opening transitions on every viewport: 45px above the page intro and 45px to the first content block. */
body[class] main .intro{padding-top:45px!important;padding-bottom:22.5px!important;}
body[class] main .intro+.section{padding-top:22.5px!important;}
body.home main .km-path-preview,
body.page-id-689 main .msh-benefits,
body.page-id-690 main .design-benefits,
body.page-id-693 main #km-installation-v2 .quality-section,
body.page-id-692 main .delivery-content .delivery-section:first-of-type,
body.page-id-694 main .km-materials-hero+.km-materials-section,
body.page-id-695 main .km-about-intro{padding-top:45px!important;}
body.page-id-691 main .intro+.stages{padding-top:22.5px!important;}

/* Materials: section 06 to section 07 uses 60px on each side. */
body.page-id-694 main .km-materials-section[aria-labelledby="materials-process-title"]{padding-bottom:60px!important;}
body.page-id-694 main .km-materials-section[aria-labelledby="materials-faq-title"]{padding-top:60px!important;}

/* Sitewide section rhythm: 60px at each side of an internal section boundary. */
body main>.section,
body main>.km-path-preview,
body main>.msh-conversion,
body main>.msh-meeting-grid,
body main>.msh-signup,
body main>.msh-questions,
body main>.msh-all-stages,
body.page-id-691 main .production-live>.stages>.stage,
body.page-id-691 main .production-live>.real-works,
body.page-id-691 main .production-live>.closing,
body.page-id-691 main .production-live>.msh-all-stages,
body.page-id-693 main #km-installation-v2>.section,
body.page-id-693 main #km-installation-v2>.msh-all-stages,
body.page-id-692 main .delivery-content>.delivery-section,
body.page-id-694 main .km-materials-page>.km-materials-section,
body.page-id-695 main .km-about>.km-about-section,
body.page-id-695 main .km-about>.km-about-contract,
body.page-id-695 main .km-about>.km-about-closing,
body.page-id-695 main .km-about>.km-about-stages,
body main>.section+.intro{padding-top:60px!important;padding-bottom:60px!important;}

body[class] main .intro+.section{padding-top:22.5px!important;}
body.home main>.km-path-preview,
body.page-id-689 main>.msh-benefits,
body.page-id-690 main>.design-benefits,
body.page-id-693 main #km-installation-v2>.quality-section,
body.page-id-692 main .delivery-content>.delivery-section:first-of-type,
body.page-id-694 main .km-materials-hero+.km-materials-section,
body.page-id-695 main .km-about>.km-about-intro{padding-top:45px!important;}

/* Page-specific overrides that otherwise win over the shared section rhythm. */
html body.home main.site-main>section.km-path-preview{padding-bottom:60px!important;}
html body.page-id-689 main.site-main>section.msh-conversion,
html body.page-id-689 main.site-main>section.msh-meeting-grid,
html body.page-id-689 main.site-main>section.msh-signup,
html body.page-id-689 main.site-main>section.msh-questions{padding-top:60px!important;padding-bottom:60px!important;}
html body.page-id-689 main.site-main>section.msh-benefits{padding-top:45px!important;}
html body.page-id-690 main.site-main>section.section,
html body.page-id-690 main.site-main>section.msh-all-stages{padding-top:60px!important;padding-bottom:60px!important;}
html body.page-id-690 main.site-main>section.design-benefits{padding-top:45px!important;}
html body.page-id-691 main .stages>section.stage,
html body.page-id-691 main section.real-works,
html body.page-id-691 main section.closing,
html body.page-id-691 main section.msh-all-stages{padding-top:60px!important;padding-bottom:60px!important;}
html body.page-id-692 main.site-main>section.msh-all-stages{padding-top:60px!important;padding-bottom:60px!important;}
html body.page-id-697 main.site-main>section.section{padding-top:60px!important;padding-bottom:60px!important;}
html body.page-id-697 main.site-main>section.intro+section.section{padding-top:22.5px!important;}
html body.page-id-700 main.site-main>section.km-form-section{padding-bottom:60px!important;}
html body.page-id-700 main.site-main>section.km-form-section+section.intro{padding-top:60px!important;padding-bottom:60px!important;}
html body.page-id-700 main.site-main>section#project-form.km-form-section{padding-bottom:60px!important;}
html body.page-id-700 main.site-main>section#project-form+section.intro{padding-top:60px!important;padding-bottom:60px!important;}

/* Sitewide scroll reveal: section backgrounds stay in place while their content appears. */
@media (prefers-reduced-motion:no-preference){
  main section.km-scroll-enter > :not(script):not(style),
  main .km-scroll-enter:not(section){
    opacity:0;
    transition:opacity .72s cubic-bezier(.2,.7,.2,1);
  }
  main section.km-scroll-enter.km-in-view > :not(script):not(style),
  main .km-scroll-enter.km-in-view:not(section){opacity:1;}
  main section.km-scroll-enter > :nth-child(2){transition-delay:.08s;}
  main section.km-scroll-enter > :nth-child(3){transition-delay:.16s;}
  main section.km-scroll-enter > :nth-child(n+4){transition-delay:.22s;}
  body main .km-gold-line{position:relative;border-bottom-color:transparent!important;}
  main .km-gold-line::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-2px;
    height:2px;
    background:linear-gradient(90deg,#a16b30,#efd596 52%,#c99a4b);
    transform:scaleX(0);
    transform-origin:left center;
    pointer-events:none;
  }
  main .km-gold-line.km-in-view::after{
    animation:km-gold-line-draw 1.45s cubic-bezier(.45,0,.2,1) both;
  }
  @keyframes km-gold-line-draw{
    from{transform:scaleX(0);}
    to{transform:scaleX(1);}
  }
}
@media (prefers-reduced-motion:reduce){
  main .km-scroll-enter,main .km-scroll-enter > *,main .km-gold-line::after{animation:none!important;transition:none!important;opacity:1!important;transform:none!important;}
}

/* Keep the graphite grain at the short CTA's scale on long mobile surfaces. */
@media (max-width:767px){
  html body :is(
    .site-footer,
    .section.dark.cta,
    .company-principles,
    .msh-conversion,
    .msh-service-area,
    .msh-contact-panel,
    .design-considerations,
    .closing,
    .section.faq,
    .conversion,
    .delivery-section--dark,
    .condition-card--accent,
    .km-materials-section.is-dark,
    .fx-result,
    .km-about-responsibility,
    .km-about-contract,
    .km-about-closing,
    .km-production
  ){
    background-size:cover,auto 470px!important;
    background-position:center,center top!important;
    background-repeat:no-repeat,repeat-y!important;
  }
}

/* Services: a separate group for after-sale support and order terms. */
body.page-id-688 main .km-services-extra{padding-top:0!important}
body.page-id-688 main .km-services-divider{display:block;width:100%;height:2px;margin:0 0 48px;background:rgba(161,107,48,.22)}
body.page-id-688 main .km-services-divider.km-gold-line::after{bottom:0}
body.page-id-688 main .km-services-extra__head{margin-bottom:28px}
body.page-id-688 main .km-services-extra__eyebrow{margin-bottom:14px;color:#946231;font-size:12px;letter-spacing:.18em;text-transform:uppercase}
body.page-id-688 main .km-services-extra__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.page-id-688 main .km-services-extra__grid .service-card{min-height:190px}
@media(max-width:760px){body.page-id-688 main .km-services-divider{margin-bottom:34px}body.page-id-688 main .km-services-extra__grid{grid-template-columns:1fr}body.page-id-688 main .km-services-extra__grid .service-card{min-height:0}}


/* Services: a restrained turn on entry, replayed after a card leaves the viewport. */
@media (prefers-reduced-motion:no-preference){
  body.page-id-688 main .service-card.km-service-turn-visible{
    transform-origin:50% 80%;
    animation:km-service-card-turn .72s cubic-bezier(.2,.75,.25,1) both;
  }
  @keyframes km-service-card-turn{
    from{opacity:.82;transform:translateY(9px) rotate(-1.2deg);}
    to{opacity:1;transform:translateY(0) rotate(0);}
  }
}

/* Automatic motion waits for the first scroll and replays when its element returns. */
@media (prefers-reduced-motion:no-preference){
  body:not(.km-motion-started) main section.km-scroll-enter > :not(script):not(style),
  body:not(.km-motion-started) main .km-scroll-enter:not(section){opacity:1!important;transform:none!important;animation:none!important}
  body:not(.km-motion-started) main .km-gold-line::after{transform:scaleX(1)!important;animation:none!important}
  body:not(.km-motion-started) main .km-about-intro-lines-rise > span,
  body:not(.km-motion-started) main .km-about-cards-rise > article,
  body:not(.km-motion-started) main .km-about-principles-turn article,
  body:not(.km-motion-started) main .km-warranty-three-reveal > div,
  body:not(.km-motion-started) main .km-warranty-term-fade{opacity:1!important;transform:none!important;animation:none!important}

  body.home .kmh-hero:not(.km-motion-replay-active) :is(.kmh-eyebrow,.kmh-title-line,.kmh-copy p,.kmh-cta,.kmh-cta-note){opacity:1!important;transform:none!important;filter:none!important;animation:none!important}
  body.home .kmh-hero.km-motion-replay-active .kmh-copy .kmh-eyebrow{animation-delay:0s!important}
  body.home .kmh-hero.km-motion-replay-active .kmh-copy h1 .kmh-title-line:nth-child(1){animation-delay:0s!important}
  body.home .kmh-hero.km-motion-replay-active .kmh-copy h1 .kmh-title-line:nth-child(2){animation-delay:.5s!important}
  body.home .kmh-hero.km-motion-replay-active .kmh-copy h1 .kmh-title-line:nth-child(3){animation-delay:1s!important}
  body.home .kmh-hero.km-motion-replay-active .kmh-copy p{animation-delay:1.5s!important}
  body.home .kmh-hero.km-motion-replay-active .kmh-actions .kmh-cta{animation-delay:1.8s!important}
  body.home .kmh-hero.km-motion-replay-active .kmh-copy .kmh-cta-note{animation-delay:2s!important}

  html body main .km-info-page--facade-replacement .km-info-card:not(.km-motion-replay-active),
  html body main .km-info-page--payment .km-info-card:not(.km-motion-replay-active),
  html body main .km-info-page--installment .km-info-card:not(.km-motion-replay-active){opacity:1!important;transform:none!important;animation:none!important}
  html body main .km-info-page--facade-replacement .km-info-card.km-motion-replay-active{animation:kmFacadeCardRise 1.1s cubic-bezier(.18,.72,.18,1) both!important}
  html body main .km-info-page--payment .km-info-card.km-motion-replay-active{animation:kmPaymentCardRise 1.1s cubic-bezier(.18,.72,.18,1) both!important}
  html body main .km-info-page--installment .km-info-card.km-motion-replay-active{animation:kmInstallmentCardRise 1.1s cubic-bezier(.18,.72,.18,1) both!important}
  html body main .km-info-page:is(.km-info-page--facade-replacement,.km-info-page--payment,.km-info-page--installment) .km-info-card:nth-child(2).km-motion-replay-active{animation-delay:.26s!important}
  html body main .km-info-page:is(.km-info-page--facade-replacement,.km-info-page--payment,.km-info-page--installment) .km-info-card:nth-child(3).km-motion-replay-active{animation-delay:.52s!important}

  body .km-home-reviews__rating-star,
  body .kwf-article-card,body .kwf-article-card::before,body .kwf-article-card::after,body .kwf-article-card__top::before,
  body .msh-article-card,body .msh-article-card::after,body .msh-article-card__top::before,
  body .copper::after,body .outline::after{animation:none!important}
  body .km-home-reviews__rating-star.km-loop-once-active{animation:km-rating-star-shimmer 3.6s ease-in-out 1 both!important}
  body .kwf-article-card.km-loop-once-active{animation:kwf-card-depth 3s ease-in-out 1 both!important}
  body .kwf-article-card.km-loop-once-active::before{animation:kwf-article-rock 3s linear 1 both!important}
  body .kwf-article-card.km-loop-once-active::after{animation:kwf-article-card-sheen 4s ease-in-out 1 both!important}
  body .kwf-article-card.km-loop-once-active .kwf-article-card__top::before{animation:kwf-article-line-once 1.45s cubic-bezier(.22,.72,.2,1) .3s 1 both!important}
  body .msh-article-card.km-loop-once-active{animation:msh-article-rock 3s linear 1 both!important}
  body .msh-article-card.km-loop-once-active::after{animation:msh-article-card-sheen 4s ease-in-out 1 both!important}
  body .msh-article-card.km-loop-once-active .msh-article-card__top::before{animation:msh-article-line-once 1.45s cubic-bezier(.22,.72,.2,1) .3s 1 both!important}
  body .copper.km-loop-once-active::after,body .outline.km-loop-once-active::after{animation:km-hero-button-shine 6s ease-in-out 1 both!important}
}
@media (max-width:767px),(hover:none),(pointer:coarse){
  html body main .km-info-page:is(.km-info-page--facade-replacement,.km-info-page--payment,.km-info-page--installment) .km-info-card.km-motion-replay-active{animation-delay:0s!important}
}

/* Homepage reviews: real Yandex data in a horizontal card showcase. */
body.home .km-reviews--modern{scroll-margin-top:100px}
body.home .km-reviews--modern .km-review-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:32px}
body.home .km-reviews--modern .km-review-intro h2{max-width:1000px;margin:0;font:700 clamp(36px,4.2vw,62px)/1.08 Arial,sans-serif;letter-spacing:-.055em}
body.home .km-reviews--modern .km-review-ya{color:#d31919}
body.home .km-reviews--modern .km-review-intro p:not(.eyebrow){margin:16px 0 0;color:#635e58;font:19px/1.45 Arial,sans-serif}
body.home .km-reviews--modern .km-review-visit{display:flex;align-items:center;gap:15px;flex:none;min-width:270px;padding:15px 18px;border:1px solid #e5d9cc;border-radius:16px;background:rgba(255,252,248,.96);box-shadow:0 12px 32px rgba(52,41,30,.08);text-decoration:none;transition:transform .2s,box-shadow .2s}
body.home .km-reviews--modern .km-review-visit:hover{transform:translateY(-3px);box-shadow:0 17px 36px rgba(52,41,30,.14)}
body.home .km-reviews--modern .km-review-visit img{display:block;width:42px;height:42px;flex:none;border-radius:10px}
body.home .km-reviews--modern .km-review-visit strong,body.home .km-reviews--modern .km-review-visit small{display:block}
body.home .km-reviews--modern .km-review-visit strong{font-size:15px}
body.home .km-reviews--modern .km-review-visit small{color:#736c64;font-size:13px}
body.home .km-reviews--modern .km-review-visit-arrow{margin-left:auto;color:#a87742;font-size:22px}
body.home .km-reviews--modern .km-review-showcase{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px;padding:24px;border:1px solid #e7ddd2;border-radius:22px;background:rgba(255,253,250,.88);box-shadow:0 22px 55px rgba(46,35,25,.1)}
body.home .km-reviews--modern .km-review-score{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:26px 20px;border:1px solid #e9dfd4;border-radius:16px;background:linear-gradient(145deg,#fffdfa,#f9f2e9)}
body.home .km-reviews--modern .km-review-score-number{font:800 76px/1 Arial,sans-serif;letter-spacing:-.08em;font-variant-numeric:tabular-nums}
body.home .km-reviews--modern .km-review-score-stars{position:relative;display:inline-block;margin:10px 0 5px;color:#e1d8ca;font:34px/1 Arial,sans-serif;letter-spacing:2px;white-space:nowrap}
body.home .km-reviews--modern .km-review-score-stars::before{content:'★★★★★';position:absolute;inset:0 auto 0 0;width:var(--km-review-fill);overflow:hidden;color:#e8ab32;white-space:nowrap}
body.home .km-reviews--modern .km-review-score-count{margin-top:9px;font-size:17px;font-weight:700}
body.home .km-reviews--modern .km-review-score-source{color:#72685e;font-size:14px}
body.home .km-reviews--modern .km-review-score-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;margin-top:26px;padding:9px 13px;border:1px solid #c69a6c;border-radius:8px;background:#c79b6d;color:#1d1a17;font-size:13px;font-weight:700;text-decoration:none;transition:background .2s,transform .2s}
body.home .km-reviews--modern .km-review-score-link:hover{background:#ddb68a;transform:translateY(-2px)}
body.home .km-reviews--modern .km-review-score-link img{width:24px;height:24px;border-radius:5px}
body.home .km-reviews--modern .km-review-carousel{min-width:0;overflow:hidden}
body.home .km-reviews--modern .km-review-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:2px 2px 8px}
body.home .km-reviews--modern .km-review-track::-webkit-scrollbar{display:none}
body.home .km-reviews--modern .km-review-card{display:flex;flex-direction:column;flex:0 0 calc((100% - 36px)/3);min-width:0;min-height:405px;padding:22px;border:1px solid #e6dbcf;border-radius:16px;background:#fff;box-shadow:0 10px 25px rgba(50,40,30,.055);scroll-snap-align:start}
body.home .km-reviews--modern .km-review-person{display:flex;align-items:center;gap:12px;min-width:0}
body.home .km-reviews--modern .km-review-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:linear-gradient(145deg,#dec5a9,#b78c65);color:#fff;font:700 22px/1 Georgia,serif}
body.home .km-reviews--modern .km-review-person h3{margin:0;font:700 16px/1.2 Arial,sans-serif;overflow-wrap:anywhere}
body.home .km-reviews--modern .km-review-person time{display:block;margin-top:4px;color:#7b7269;font-size:12px}
body.home .km-reviews--modern .km-review-card-stars{margin:18px 0 12px;color:#d69b35;font:23px/1 Arial,sans-serif;letter-spacing:2px}
body.home .km-reviews--modern .km-review-card-text{margin:0;color:#2e2a26;font:15px/1.55 Arial,sans-serif;white-space:pre-line;overflow-wrap:anywhere}
body.home .km-reviews--modern .km-review-card details{margin:0}
body.home .km-reviews--modern .km-review-card summary{list-style:none;cursor:pointer}
body.home .km-reviews--modern .km-review-card summary::-webkit-details-marker{display:none}
body.home .km-reviews--modern .km-review-excerpt{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
body.home .km-reviews--modern .km-review-more{display:inline-block;margin-top:7px;color:#8e5e32;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.home .km-reviews--modern .km-review-card details[open] .km-review-excerpt{display:none}
body.home .km-reviews--modern .km-review-card details[open] .km-review-card-text{margin-top:10px}
body.home .km-reviews--modern .km-review-source{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;margin-top:auto;padding-top:20px;color:#665e55;font-size:13px;text-decoration:none}
body.home .km-reviews--modern .km-review-source img{width:25px;height:25px;border-radius:7px}
body.home .km-reviews--modern .km-review-source:hover{text-decoration:underline}
body.home .km-reviews--modern .km-review-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}
body.home .km-reviews--modern .km-review-control{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d5bea5;border-radius:50%;background:#fff;color:#8f5d31;font:23px/1 Arial,sans-serif;cursor:pointer}
body.home .km-reviews--modern .km-review-control:hover:not(:disabled){background:#f2dfc6}
body.home .km-reviews--modern .km-review-control:disabled{opacity:.35;cursor:default}
body.home .km-reviews--modern .km-review-position{min-width:55px;text-align:center;color:#796f65;font-size:13px}
body.home .km-reviews--modern .km-review-film{display:flex;align-items:center;gap:22px;max-width:700px;margin:38px 0 0;padding:14px;border:1px solid #e2d6c7;border-radius:17px;background:rgba(255,252,248,.88)}
body.home .km-reviews--modern .km-review-film video{display:block;flex:none;width:175px;height:130px;aspect-ratio:auto;border-radius:10px;background:#e9e3db;object-fit:cover}
body.home .km-reviews--modern .km-review-film figcaption strong{display:block;font:400 23px/1.2 Georgia,serif}
body.home .km-reviews--modern .km-review-film figcaption span{display:block;margin-top:5px;color:#665e56;font-size:13px;line-height:1.45}
body.home .km-reviews--modern :is(a,button,summary,.km-review-track):focus-visible{outline:3px solid #a36e3d;outline-offset:3px}
@media(max-width:1200px){body.home .km-reviews--modern .km-review-card{flex-basis:calc((100% - 18px)/2)}body.home .km-reviews--modern .km-review-showcase{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:850px){body.home .km-reviews--modern .km-review-intro{align-items:flex-start;flex-direction:column}body.home .km-reviews--modern .km-review-visit{min-width:0}body.home .km-reviews--modern .km-review-showcase{grid-template-columns:1fr}body.home .km-reviews--modern .km-review-score{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 18px;padding:20px}body.home .km-reviews--modern .km-review-score-number{grid-row:span 3;font-size:64px}body.home .km-reviews--modern .km-review-score-stars{margin:0;font-size:27px}body.home .km-reviews--modern .km-review-score-count{margin:0}body.home .km-reviews--modern .km-review-score-link{grid-column:1/-1;margin-top:12px}body.home .km-reviews--modern .km-review-card{min-height:385px}}
@media(max-width:620px){body.home .km-reviews--modern .km-review-intro{gap:22px;margin-bottom:22px}body.home .km-reviews--modern .km-review-intro h2{font-size:38px}body.home .km-reviews--modern .km-review-intro p:not(.eyebrow){font-size:16px}body.home .km-reviews--modern .km-review-visit{width:100%;padding:13px 16px}body.home .km-reviews--modern .km-review-showcase{padding:14px;gap:14px;border-radius:17px}body.home .km-reviews--modern .km-review-card{flex-basis:88%;min-height:360px;padding:18px}body.home .km-reviews--modern .km-review-card-text{font-size:14px}body.home .km-reviews--modern .km-review-film{gap:14px;margin-top:26px}body.home .km-reviews--modern .km-review-film video{width:100px;height:85px}body.home .km-reviews--modern .km-review-film figcaption strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){body.home .km-reviews--modern .km-review-track{scroll-behavior:auto}body.home .km-reviews--modern :is(.km-review-visit,.km-review-score-link){transition:none}}

/* Lightweight brushed-metal texture only on the reviews rating link. */
body.home .km-reviews--modern .km-review-score-link{
  border-color:#b59063;
  background-color:#292a2a;
    background-image:linear-gradient(rgba(17,18,18,.28),rgba(17,18,18,.28)),url('/wp-content/uploads/2026/10/review-button-brushed-metal-20261006.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  color:#fff8ed;
}
body.home .km-reviews--modern .km-review-score-link:hover{
  border-color:#d9b17c;
  background-color:#343535;
    background-image:linear-gradient(rgba(17,18,18,.12),rgba(17,18,18,.12)),url('/wp-content/uploads/2026/10/review-button-brushed-metal-20261006.webp');
}

/* Homepage section links sit below their card grids, aligned to the right. */
body.home .km-home-feature-section .km-home-section-actions{display:flex;justify-content:flex-end;margin-top:24px}
body.home .km-home-feature-section .km-home-section-actions .arrow-link{display:inline-block;font-size:110%}

/* Keep the reviews button still; only its highlight moves. */
body.home .km-reviews--modern .km-review-score-link{position:relative;overflow:hidden;transform:none;transition:border-color .2s,box-shadow .2s}
body.home .km-reviews--modern .km-review-score-link:hover{transform:none;box-shadow:0 0 0 1px rgba(217,177,124,.35)}
body.home .km-reviews--modern .km-review-score-link::after{content:'';position:absolute;top:-60%;bottom:-60%;left:-50%;width:36%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);pointer-events:none}
@keyframes kmReviewButtonSheen{to{left:125%}}
@media(prefers-reduced-motion:no-preference){
  body.home .km-reviews--modern .km-review-score-link:is(:hover,:focus-visible)::after{animation:kmReviewButtonSheen .8s ease-out 1 both}
}

/* A single light pass over the filled rating stars on each viewport entry. */
body.home .km-reviews--modern .km-review-score-stars::after{content:'★★★★★';position:absolute;inset:0 auto 0 0;width:var(--km-review-fill);overflow:hidden;white-space:nowrap;color:transparent;background:linear-gradient(100deg,transparent 35%,rgba(255,250,210,.98) 50%,transparent 65%);background-size:260% 100%;background-position:160% 0;-webkit-background-clip:text;background-clip:text;pointer-events:none}
@keyframes kmReviewStarsSheen{from{background-position:160% 0}to{background-position:-80% 0}}
@media(prefers-reduced-motion:no-preference){
  body.home .km-reviews--modern .km-review-score-stars.km-loop-once-active::after{animation:kmReviewStarsSheen 1.35s ease-in-out .15s 1 both}
}
@media(prefers-reduced-motion:reduce){body.home .km-reviews--modern .km-review-score-stars::after{display:none}}

/* A compact descriptor below the header wordmark on every page. */
.site-header .brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.site-header .brand-name{display:block;line-height:1}
.site-header .brand-tagline{display:block;color:#d5ad7b;font:10px/1.2 Arial,sans-serif;letter-spacing:.08em;white-space:nowrap}
@media(max-width:760px){.site-header .brand-tagline{font-size:9px;letter-spacing:.04em}}

/* Callback entry below the project action and its accessible modal form. */
.site-header .header-actions{position:relative;display:flex;align-items:center;flex:none}
.site-header .header-actions>.outline{padding:11px 18px;white-space:nowrap}
.site-header .header-callback{position:absolute;z-index:1001;top:100%;right:0;min-width:200px;padding:12px 18px;border:1px solid #b99163;border-radius:4px;background:#282725;color:#fffaf2;box-shadow:0 10px 24px #0006;font:15px/1.4 Arial,sans-serif;white-space:nowrap;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);transition:opacity .2s,transform .2s,visibility .2s}
.site-header .header-actions:hover .header-callback,.site-header .header-actions:focus-within .header-callback{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.site-header .header-callback:hover,.site-header .header-callback:focus-visible{background:#3e3328;border-color:#e0b47b}
.km-callback-dialog{width:min(540px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow-y:auto;padding:32px;border:1px solid #c9ab87;border-radius:12px;background:#f8f2e9 url('assets/images/texture-light-wood-20260922.jpg') center/cover;color:#242320;box-shadow:0 24px 80px #0008}
.km-callback-dialog::backdrop{background:rgba(15,14,13,.72)}
.km-callback-dialog .km-callback-close{position:absolute;top:10px;right:14px;width:36px;height:36px;border:0;background:transparent;color:#625144;font:30px/1 Arial,sans-serif;cursor:pointer}
.km-callback-dialog .km-callback-kicker{margin:0 0 9px;color:#966931;font:700 10px/1.4 Arial,sans-serif;letter-spacing:.18em}
.km-callback-dialog h2{max-width:440px;margin:0;font:400 clamp(28px,4vw,38px)/1.08 Georgia,serif}
.km-callback-dialog .km-callback-intro{margin:12px 0 24px;color:#665a50;font:14px/1.5 Arial,sans-serif}
.km-callback-form{display:grid;gap:16px}
.km-callback-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.km-callback-field{display:grid;gap:7px;margin:0;font:600 14px/1.4 Arial,sans-serif}
.km-callback-field>span{font-weight:400;color:#776c60}
.km-callback-field input{width:100%;min-width:0;height:49px;margin:0;padding:10px 13px;border:1px solid #bca58b;border-radius:5px;background:#fffdf9;color:#242320;font:16px Arial,sans-serif}
.km-callback-methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;margin:2px 0 0;padding:0;border:0}
.km-callback-methods legend{margin-bottom:10px;font:600 14px Arial,sans-serif}
.km-callback-methods label{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:88px;padding:10px 4px;border:1px solid #c5b19c;border-radius:7px;background:#fffaf4;text-align:center;font:12px/1.2 Arial,sans-serif;cursor:pointer}
.km-callback-methods label:has(input:checked){border-color:#9c713f;background:#f2e2cc;box-shadow:0 0 0 1px #9c713f}
.km-callback-methods input{position:absolute;width:1px;height:1px;opacity:0}
.km-callback-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff}
.km-callback-icon img{display:block;width:32px;height:32px;object-fit:contain}
.km-callback-icon svg{width:23px;height:23px}
.km-callback-icon--telegram{background:#24a1de}.km-callback-icon--whatsapp{background:#25a85a}.km-callback-icon--phone{background:#54483d}
.km-callback-consent{display:flex;align-items:flex-start;gap:10px;margin:0;color:#584f47;font:12px/1.45 Arial,sans-serif}
.km-callback-consent input{flex:none;width:18px;height:18px;margin:0;accent-color:#b1844e}
.km-callback-consent a{text-decoration:underline;text-underline-offset:2px}
.km-callback-status{margin:0;padding:11px 13px;border:1px solid #b1844e;border-radius:5px;background:#fff8eb;font:14px/1.4 Arial,sans-serif}
.km-callback-status.is-error{border-color:#b64b40;background:#fff1ee}
.km-callback-submit{justify-self:start;min-width:160px;min-height:48px;margin:0;padding:11px 22px;border:1px solid #c99c67;border-radius:5px;background:#d2aa78;color:#201a14;font:600 15px Arial,sans-serif;cursor:pointer}
.km-callback-submit:hover{background:#e8bd88}
.km-callback-submit:disabled{opacity:.6;cursor:wait}
.km-callback-dialog :is(button,input,a):focus-visible,.site-header .header-callback:focus-visible{outline:2px solid #ad7746;outline-offset:3px}
@media(max-width:760px){.site-header .header-actions{order:4;width:100%;justify-content:flex-end}.site-header .header-actions>.outline{display:none}.site-header .header-callback{position:static;min-width:0;padding:8px 15px;opacity:1;visibility:visible;pointer-events:auto;transform:none;box-shadow:none;font-size:13px}.km-callback-dialog{padding:26px 20px}.km-callback-methods{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.site-header .header-callback{transition:none}}
.km-callback-dialog .km-callback-field{display:block}
.km-callback-dialog .km-callback-field input{display:block;margin-top:7px}

/* Keep the callback action visible beside the project action. */
.site-header{gap:clamp(10px,1vw,20px);padding-inline:clamp(18px,3vw,64px)}
.site-header #nav{gap:clamp(9px,1vw,20px)}
.site-header .brand{font-size:clamp(21px,1.65vw,32px)}
.site-header .header-actions{position:static;gap:10px}
.site-header .header-callback{position:static;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:45px;padding:11px 16px;border-radius:30px;box-shadow:none;font-size:14px;opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:background-color .2s,border-color .2s}
@media(min-width:761px) and (max-width:1320px){.site-header .brand{flex:0 1 auto}.site-header{gap:12px}}
@media(max-width:760px){.site-header{padding-inline:5%}.site-header .brand{font-size:25px}.site-header .header-actions{gap:8px}.site-header .header-actions>.outline{display:inline-flex;padding:7px 11px;font-size:12px}.site-header .header-callback{min-height:0;padding:7px 11px;font-size:12px}}

/* Messenger shortcuts moved from the home hero into the shared header. */
.site-header .header-social{display:flex;align-items:center;gap:5px;flex:none}
.site-header .header-social-link{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid rgba(215,177,131,.7);border-radius:50%;background:rgba(29,27,25,.86);color:#fff;text-decoration:none;transition:border-color .2s,background-color .2s}
.site-header .header-social-link:hover,.site-header .header-social-link:focus-visible{border-color:#f0c58a;background:#3e3328}
.site-header .header-social-link img,.site-header .header-social-link svg{display:block;width:21px;height:21px}
.site-header .header-social-link--telegram svg{color:#35a8dc}
.site-header .header-social-link--whatsapp svg{color:#38c777}
body.home .kmh-hero-contacts{display:none}
@media(min-width:1321px) and (max-width:1500px){.site-header{flex-wrap:wrap}.site-header #nav{order:3;flex-basis:100%;justify-content:center}}
@media(min-width:761px) and (max-width:1000px){.site-header .header-social,.site-header .header-actions{order:2}.site-header .header-social{margin-left:auto}}
@media(max-width:760px){.site-header .header-phone{order:3;width:auto;padding-top:0;border-top:0;text-align:left}.site-header .header-social{order:3;margin-left:auto;gap:4px}.site-header .header-social-link{width:32px;height:32px}.site-header .header-social-link img,.site-header .header-social-link svg{width:20px;height:20px}}
@media(max-width:760px){.site-header .header-social{width:auto;padding:0;flex-direction:row}}

/* Keep the messenger shortcuts next to the phone; match the hero CTA on hover. */
.site-header .header-contact{display:flex;align-items:center;gap:10px;flex:none}
.site-header .header-contact .header-social{margin-left:0}
.site-header .header-actions>.outline:hover,.site-header .header-actions>.outline:focus-visible,.site-header .header-actions>.header-callback:hover,.site-header .header-actions>.header-callback:focus-visible{background:linear-gradient(110deg,#d7b183,#bc8958);color:#211e19;border-color:#d7b183;box-shadow:0 0 18px rgba(215,177,131,.38)}
@media(max-width:760px){.site-header .header-contact{order:3;width:100%;justify-content:space-between}.site-header .header-contact .header-phone,.site-header .header-contact .header-social{order:0}}
@media(max-width:760px){.site-header .header-contact{justify-content:flex-start}}

/* Brand descriptor centered beneath the name at twice its former size. */
.site-header .brand-copy{align-items:center}
.site-header .brand-tagline{font-size:20px;line-height:1.1;letter-spacing:.02em;text-align:center}
@media(max-width:760px){.site-header{gap:8px}.site-header .brand{gap:6px}.site-header .brand img{width:36px;height:36px}.site-header .brand-tagline{font-size:18px;letter-spacing:0}.site-header .menu{padding:8px 10px}}



/* Sitewide horizontal layout contract, approved 2026-10-06.
 * 20px phone / 32px tablet / 64px desktop, content max 1440px.
 * Full-bleed surfaces keep their background; nested cards do not add page gutters.
 */
:root{--km-page-gutter:64px;--km-content-max:1440px;--km-page-inset:max(var(--km-page-gutter),calc((100% - var(--km-content-max))/2));--km-card-inset:24px}
@media(max-width:1199px){:root{--km-page-gutter:32px}}
@media(max-width:767px){:root{--km-page-gutter:20px;--km-card-inset:20px}}

/* Reusable primitives for every new page. Use one per section, never nest gutters. */
.km-page-section{padding-inline:var(--km-page-inset)}
.km-container{box-sizing:border-box;width:min(var(--km-content-max),calc(100% - var(--km-page-gutter)*2));margin-inline:auto}

/* Existing full-width sections, including archive and detail templates. */
html body .site-main>:is(.section,.intro,.km-path-preview,.km-articles-intro,.km-articles-section,.km-article),
html body .km-about>:is(.km-about-section,.km-about-contract,.km-about-closing),
html body .site-footer,
html body .site-header{
  padding-inline:var(--km-page-inset)!important;
}

/* Inner wrappers inside full-bleed backgrounds. */
html body main :is(.km-materials-inner,.km-materials-hero-content,.km-info-container,.km-about-stages__inner,.msh-block-inner,.msh-all-inner,.msh-service-area-inner,.msh-contact-inner){
  box-sizing:border-box;width:min(var(--km-content-max),calc(100% - var(--km-page-gutter)*2))!important;
  max-width:none!important;margin-inline:auto!important;padding-inline:0!important;
}

/* Replace viewport breakout arithmetic with actual available width (no scrollbar shift). */
html body main>:is(.measurement-scan-hero,.msh-conversion,.msh-meeting-grid,.msh-service-area,.msh-questions,.msh-contact-panel,.msh-all-stages,.service-hero),
html body main .msh-all-stages{
  width:100%!important;max-width:none!important;margin-inline:0!important;left:auto!important;right:auto!important;
}
html body main>:is(.msh-meeting-grid,.msh-questions){padding-inline:var(--km-page-inset)!important}
html body main .msh-meeting-grid>.section{padding-inline:0!important}

/* HERO text aligned with the page content, images still full bleed. */
html body .kmh-hero .kmh-copy{left:var(--km-page-inset)!important;right:auto!important;max-width:calc(100% - var(--km-page-gutter)*2)!important}
html body .km-about-hero__content{margin-left:var(--km-page-inset)!important;padding-inline:0!important;max-width:calc(100% - var(--km-page-gutter)*2)!important}
html body .measurement-scan-hero .msh-content{margin-left:var(--km-page-inset)!important;padding-inline:0!important;max-width:calc(100% - var(--km-page-gutter)*2)!important}
html body main .service-hero>.service-hero-content{width:min(var(--km-content-max),calc(100% - var(--km-page-gutter)*2))!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important}
html body #km-installation-v2 .hero-copy{margin-left:var(--km-page-inset)!important;max-width:calc(100% - var(--km-page-gutter)*2)!important}

/* Production: the HERO previously had two cumulative horizontal gutters. */
html body .production-live .hero{padding-inline:0!important}
html body .production-live :is(.hero-inner,.intro,.stages){width:min(var(--km-content-max),calc(100% - var(--km-page-gutter)*2))!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important}
html body .production-live :is(.real-works,.closing){padding-inline:var(--km-page-inset)!important}
html body .production-live .stage{padding-inline:0!important}

/* Installation sections own their gutters; inner grids do not repeat them. */
html body #km-installation-v2 :is(.section,.price-inner,.warranty-inner,.conversion-inner){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:var(--km-page-inset)!important}
html body #km-installation-v2 .installation-faq-inner{max-width:none!important;width:100%!important}

/* Delivery: move gutters from the parent to each section to retain full-width dark bands. */
html body main .delivery-content{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
html body main .delivery-content>:is(.delivery-section,.delivery-related){width:100%!important;max-width:none!important;left:auto!important;margin-inline:0!important;padding-inline:var(--km-page-inset)!important}
html body main .delivery-faq-inner{max-width:none!important;width:100%!important}

/* Card content has a separate, smaller inset. */
html body main :is(.service-card,.card-body,.km-article-card__body,.km-info-card,.msh-benefit-card,.prepare-card,.condition-card){padding-inline:var(--km-card-inset)!important}
@media(max-width:767px){
  html body .km-about-hero__content{width:calc(100% - var(--km-page-gutter)*2)!important}
  html body .kmh-hero .kmh-copy{width:calc(100% - var(--km-page-gutter)*2)!important}
}

/* Header: compact descriptor and unbroken navigation, 2026-10-06. */
.site-header .brand-tagline{font-size:14px;line-height:1.25;white-space:nowrap}
.site-header #nav>a,.site-header #nav>.nav-group{flex-shrink:0;white-space:nowrap}
@media(min-width:761px){
 .site-header{flex-wrap:wrap;gap:12px}
 .site-header .brand{flex:0 0 auto}
 .site-header #nav{order:4;flex:0 0 100%;justify-content:center;gap:26px}
 .site-header .header-contact{margin-left:auto}
}
@media(min-width:1680px){
 .site-header{flex-wrap:nowrap;gap:16px}
 .site-header #nav{order:0;flex:0 0 auto;gap:16px}
}
@media(min-width:761px) and (max-width:1000px){
 .site-header .header-actions{order:3;width:100%;justify-content:center}
}
@media(max-width:760px){.site-header .brand-tagline{font-size:13px;line-height:1.25}}

@media(min-width:1680px){html body .site-header{gap:10px}html body .site-header .brand{font-size:28px;flex:0 0 auto}html body .site-header #nav{gap:12px}}


/* Customer video reviews: one real story and clearly marked future slots. */
body.home .km-video-reviews{margin-top:52px;scroll-margin-top:190px}
body.home .km-video-reviews__intro{margin-bottom:24px}
body.home .km-video-reviews__intro h2{max-width:none;margin:12px 0 0;font:400 clamp(34px,3.4vw,54px)/1.1 Georgia,serif;letter-spacing:-.035em}
body.home .km-video-reviews__intro>p:last-child{margin:12px 0 0;color:#665e56;font:17px/1.5 Arial,sans-serif}
body.home .km-video-reviews__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.home .km-video-review-card{min-width:0;overflow:hidden;border:1px solid #e2d6c7;border-radius:18px;background:rgba(255,253,250,.94);box-shadow:0 12px 32px rgba(46,35,25,.07)}
body.home .km-video-review-card__media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#282623}
body.home .km-video-review-card__media video{display:block;width:100%;height:100%;object-fit:cover}
body.home .km-video-review-card__duration{position:absolute;right:12px;top:12px;padding:5px 8px;border-radius:5px;background:rgba(18,18,18,.7);color:#fff;font:12px/1 Arial,sans-serif;pointer-events:none}
body.home .km-video-review-card__body{padding:24px}
body.home .km-video-review-card__number{display:block;color:#9a6b3e;font:700 11px/1.3 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase}
body.home .km-video-review-card__body h3{margin:10px 0 8px;font:400 clamp(22px,1.7vw,29px)/1.2 Georgia,serif}
body.home .km-video-review-card__body p{margin:0;color:#665e56;font:14px/1.5 Arial,sans-serif}
body.home .km-video-review-card__media--placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:20px;background:linear-gradient(145deg,#353330,#242424);color:#e7d8c3;text-align:center;font:15px/1.4 Arial,sans-serif}
body.home .km-video-review-card__placeholder-mark{display:grid;place-items:center;width:58px;height:58px;border:1px solid #c79b6d;border-radius:50%;color:#c79b6d;font-size:22px}
body.home .km-video-review-card--placeholder{border-style:dashed}
@media(max-width:1199px){body.home .km-video-reviews__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body.home .km-video-reviews{margin-top:38px}body.home .km-video-reviews__intro{margin-bottom:18px}body.home .km-video-reviews__intro>p:last-child{font-size:15px}body.home .km-video-reviews__grid{grid-template-columns:minmax(0,1fr);gap:16px}body.home .km-video-review-card__body{padding:20px}}
html body.home.kmh-page-video .km-video-review-card{background:rgba(218,207,191,.13);backdrop-filter:blur(12px) saturate(.85);-webkit-backdrop-filter:blur(12px) saturate(.85);border-color:rgba(215,177,131,.5);color:#fffaf4}
html body.home.kmh-page-video .km-video-reviews__intro>p:last-child,html body.home.kmh-page-video .km-video-review-card__body p{color:#eee7dc}
html body.home.kmh-page-video .km-video-review-card__number{color:#e0b782}


/* Homepage HERO opening, matched to the delivery curtain. */
body.home #km-hero::before,body.home #km-hero::after{content:"";position:absolute;left:0;width:100%;height:51%;z-index:10;background:#050504;pointer-events:none}
body.home #km-hero::before{top:0;animation:kmHomeCurtainTop 1.25s cubic-bezier(.65,0,.24,1) both}
body.home #km-hero::after{bottom:0;animation:kmHomeCurtainBottom 1.25s cubic-bezier(.65,0,.24,1) both}
@keyframes kmHomeCurtainTop{0%,18%{transform:translateY(0);visibility:visible}99%{visibility:visible}100%{transform:translateY(-102%);visibility:hidden}}
@keyframes kmHomeCurtainBottom{0%,18%{transform:translateY(0);visibility:visible}99%{visibility:visible}100%{transform:translateY(102%);visibility:hidden}}
@media(prefers-reduced-motion:reduce){body.home #km-hero::before,body.home #km-hero::after{display:none;animation:none}}

/* Service HERO title fonts, requested 2026-10-08. */
body.page-id-689 main #measurement-scan-title{font-family:"Tektur",sans-serif!important;font-weight:900!important;letter-spacing:normal!important}
body.page-id-690 main #design-reveal-hero h1{font-family:"Tektur",sans-serif!important;font-weight:900!important;letter-spacing:normal!important;max-width:none!important}
body.page-id-691 main #hero-title{font-family:"Tektur",sans-serif!important;font-weight:400!important;letter-spacing:normal!important}
body.page-id-692 main #deliveryHero h1{font-family:"Tektur",sans-serif!important;font-weight:900!important;letter-spacing:normal!important}
body.page-id-693 main #km-installation-v2 #hero h1{font-family:"Tektur",sans-serif!important;letter-spacing:normal!important}
body.page-id-694 main #materials-hero-title{font-family:"Tektur",sans-serif!important;font-weight:900!important;letter-spacing:normal!important;max-width:none!important}

/* Keep the production title readable without narrowing its container. */
@media(min-width:768px){body.page-id-691 main #hero-title{font-size:clamp(40px,5vw,60px)!important;white-space:nowrap!important;overflow-wrap:normal!important}}
@media(max-width:767px){body.page-id-691 main #hero-title{font-size:clamp(26px,7vw,34px)!important;overflow-wrap:anywhere!important}}

/* Approved self-hosted OFL display fonts, 2026-10-08. */
body.home main #km-hero .kmh-copy h1.kmh-monogram-title{font-family:Georgia,serif!important}
@media(max-width:900px){body.home main #km-hero .kmh-copy h1.kmh-monogram-title .kmh-title-fragments{font-size:6.25vw!important}}
html body.home .site-main > section.cta-graphite h2{font-family:Georgia,serif!important}

/* Desktop fit for the measurement HERO. */
@media(min-width:1200px){body.page-id-689 main #measurement-scan-title{font-size:clamp(50px,3vw,58px)!important}}
/* Homepage HERO title: Tektur, 2026-10-08. */
body.home main #km-hero .kmh-copy h1.kmh-monogram-title{font-family:"Tektur",sans-serif!important;font-weight:900!important}

/* Homepage: wider transition from HERO badges to the first section. */
@media(min-width:768px){html body.home main.site-main>section#project-path.km-path-preview{padding-top:128px!important}}
@media(max-width:767px){html body.home main.site-main>section#project-path.km-path-preview{padding-top:90px!important}}

/* Align the monogram ink to the top and bottom title lines. */
#km-hero .kmh-copy h1.kmh-monogram-title .kmh-initial{font-size:4.45em!important;line-height:.944!important;position:relative;top:.011em}
@media(max-width:700px){#km-hero .kmh-copy h1.kmh-monogram-title .kmh-initial{font-size:4em!important;line-height:1.05!important}}


/* Compact header action buttons, requested 2026-10-08. */
@media(min-width:768px){
  html body .site-header .header-actions>.outline,
  html body .site-header .header-actions>.header-callback{
    display:inline-flex;align-items:center;justify-content:center;
    height:38px;min-height:38px;padding:7px 14px;
    font-size:13px;line-height:18px;white-space:nowrap;
  }
}


/* Compact shared header, 2026-10-08. */
@media(min-width:768px){
 html body .site-header{padding-block:10px;row-gap:8px;column-gap:12px;align-items:center}
 html body .site-header .brand{gap:8px;font-size:24px;flex:0 0 auto}
 html body .site-header .brand img{width:46px;height:40px;object-fit:contain}
 html body .site-header .brand-tagline{font-size:13px}
 html body .site-header #nav{font-size:14px;gap:16px}
 html body .site-header #nav .nav-group summary{padding-block:6px;line-height:20px}
}
@media(min-width:1280px){
 html body .site-header{flex-wrap:nowrap;justify-content:space-between;column-gap:12px}
 html body .site-header .brand{font-size:clamp(24px,1.5vw,28px)}
 html body .site-header #nav{order:0;flex:0 0 auto;gap:14px;justify-content:center}
 html body .site-header .header-contact{order:0;margin-left:0}
 html body .site-header .header-actions{order:0;width:auto}
}

/* Photo HERO viewport fit, 2026-10-08. */
@media screen and (max-width: 767px) {
  html body .km-info-hero {
    min-height: 0 !important;
    align-items: center !important;
  }
  html body .km-info-hero__content {
    padding-block: 28px !important;
  }
  html body .km-info-page .km-info-hero h1 {
    font-size: clamp(32px, 9vw, 46px) !important;
    line-height: 1.04 !important;
  }
  html body .km-info-hero__lead {
    margin-bottom: 18px !important;
    font-size: 15px !important;
    line-height: 1.42 !important;
  }
  html body.page-id-692 main #deliveryHero {
    aspect-ratio: auto !important;
    height: max(400px, calc(100svh - 200px)) !important;
  }
  html body.page-id-692 main #deliveryHero .service-hero-content {
    height: 100% !important;
    padding-block: 26px !important;
  }
  html body.page-id-690 main #design-reveal-hero {
    min-height: 0 !important;
    height: max(400px, calc(100svh - 200px)) !important;
  }
  html body.page-id-690 main #design-reveal-hero .service-hero-content {
    min-height: 0 !important;
    height: 100% !important;
  }
  html body.page-id-690 main #design-reveal-hero .design-reveal-label {
    bottom: 108px !important;
  }
  html body.page-id-690 main #design-reveal-hero .design-reveal-control {
    bottom: 10px !important;
    padding: 9px 12px !important;
  }
  html body.page-id-691 main .production-live .hero {
    min-height: 0 !important;
    height: max(400px, calc(100svh - 200px)) !important;
  }
  html body.page-id-693 main #km-installation-v2 .hero {
    min-height: 0 !important;
    height: max(400px, calc(100svh - 200px)) !important;
  }
}

@media screen and (max-width: 767px) {
  html body.page-id-691 main .production-live .hero {
    width: 100% !important;
    aspect-ratio: auto !important;
  }
  html body.page-id-691 main #hero-title {
    font-size: 26px !important;
    overflow-wrap: normal !important;
  }
  html body.page-id-693 main #km-installation-v2 .hero-copy {
    height: 100% !important;
    padding: 105px 0 25px !important;
    box-sizing: border-box !important;
  }
}

/* Compact photo HERO with secondary controls below, 2026-10-08. */
@media screen and (max-width: 767px) {
  html body.home #km-hero { min-height: 0 !important; height: max(460px, calc(100svh - 197px)) !important; }
  html body.page-id-689 main .measurement-scan-hero { min-height: 0 !important; height: max(460px, calc(100svh - 197px)) !important; }
  html body.page-id-689 main .measurement-scan-hero .msh-content { height: 100% !important; padding: 32px 0 25px !important; box-sizing: border-box !important; }
  html body.page-id-689 main #measurement-scan-title { font-size: clamp(29px, 8vw, 34px) !important; line-height: 1.04 !important; }
  html body.page-id-689 main .measurement-scan-hero .msh-lead { margin-block: 12px 16px !important; font-size: 15px !important; line-height: 1.4 !important; }
  html body.page-id-689 main .measurement-scan-hero .msh-replay { top: 12px !important; bottom: auto !important; right: 20px !important; }
  html body.page-id-689 main .measurement-scan-hero .msh-status { display: none !important; }
  html body.page-id-694 main .km-materials-hero { min-height: 0 !important; height: max(460px, calc(100svh - 197px)) !important; aspect-ratio: auto !important; overflow: visible !important; margin-bottom: 305px !important; }
  html body.page-id-694 main .km-materials-hero-content { height: 100% !important; min-height: 0 !important; padding: 24px 0 10px !important; box-sizing: border-box !important; }
  html body.page-id-694 main #materials-hero-title { font-size: 30px !important; line-height: 1.04 !important; }
  html body.page-id-694 main .km-materials-hero .km-materials-hero-copy { margin: 12px 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
  html body.page-id-694 main .km-materials-actions { gap: 7px !important; }
  html body.page-id-694 main .km-materials-primary, html body.page-id-694 main .km-materials-secondary { min-height: 42px !important; padding: 8px 12px !important; }
  html body.page-id-694 main .km-materials-proof { position: absolute !important; top: calc(100% + 6px) !important; left: 0 !important; right: 0 !important; margin: 0 !important; padding: 10px !important; background: #242321 !important; }
  html body.page-id-694 main .km-materials-hero-brands { position: absolute !important; top: calc(100% + 62px) !important; left: 0 !important; right: 0 !important; width: 100% !important; margin: 0 !important; padding: 8px !important; background: #242321 !important; }
  html body.page-id-694 main .km-materials-hero-switcher { top: calc(100% + 130px) !important; bottom: auto !important; right: 20px !important; }
  html body.page-id-695 main .km-about-hero { min-height: 0 !important; height: max(460px, calc(100svh - 197px)) !important; align-items: flex-start !important; overflow: visible !important; margin-bottom: 170px !important; }
  html body.page-id-695 main .km-about-hero__content { padding: 24px 0 16px !important; }
  html body.page-id-695 main .km-about-hero__content h1 { font-size: 32px !important; line-height: 1.04 !important; }
  html body.page-id-695 main .km-about-hero__lead { margin: 12px 0 16px !important; font-size: 14px !important; line-height: 1.4 !important; }
  html body.page-id-695 main .km-about-actions { gap: 8px !important; }
  html body.page-id-695 main .km-about-actions > * { min-height: 44px !important; padding-block: 8px !important; }
  html body.page-id-695 main .km-about-hero__stats { top: calc(100% + 10px) !important; bottom: auto !important; left: 20px !important; right: 20px !important; padding: 12px !important; background: #292521 !important; }
  html body.page-id-695 main .km-about-hero__note { top: calc(100% + 120px) !important; bottom: auto !important; left: 20px !important; right: 20px !important; color: #55473b !important; }
}

@media screen and (max-width: 767px) {
  html body.home #km-hero .kmh-review-link { top: -40px !important; }
}
/* Short laptop photo HERO fit, 2026-10-08. */
@media screen and (min-width: 768px) and (max-width: 1199px) and (max-height: 740px) {
  html body.home #km-hero,
  html body.page-id-689 main .measurement-scan-hero,
  html body.page-id-694 main .km-materials-hero,
  html body.page-id-693 main #km-installation-v2 .hero,
  html body.page-id-695 main .km-about-hero,
  html body.page-id-690 main #design-reveal-hero,
  html body .km-info-hero { min-height: 0 !important; height: max(430px, calc(100svh - 190px)) !important; }
  html body.page-id-689 main .msh-content { height: 100% !important; padding: 24px 0 !important; box-sizing: border-box !important; }
  html body.page-id-694 main .km-materials-hero { aspect-ratio: auto !important; overflow: visible !important; margin-bottom: 260px !important; }
  html body.page-id-694 main .km-materials-hero-content { height: 100% !important; min-height: 0 !important; padding: 24px 0 !important; box-sizing: border-box !important; }
  html body.page-id-694 main .km-materials-hero-brands { position: absolute !important; top: calc(100% + 12px) !important; bottom: auto !important; left: 0 !important; width: 100% !important; padding: 8px !important; background: #242321 !important; }
  html body.page-id-694 main .km-materials-hero-switcher { top: calc(100% + 86px) !important; bottom: auto !important; }
  html body.page-id-693 main #km-installation-v2 .hero-copy { top: 0 !important; height: 100% !important; padding: 55px 0 22px !important; box-sizing: border-box !important; }
  html body.page-id-695 main .km-about-hero { overflow: visible !important; margin-bottom: 125px !important; }
  html body.page-id-695 main .km-about-hero__content { padding: 28px 0 !important; }
  html body.page-id-695 main .km-about-hero__content h1 { font-size: 44px !important; line-height: 1.04 !important; }
  html body.page-id-695 main .km-about-hero__stats { top: calc(100% + 10px) !important; bottom: auto !important; right: 32px !important; width: min(520px, 60%) !important; padding: 12px !important; background: #292521 !important; }
  html body.page-id-695 main .km-about-hero__note { top: calc(100% + 95px) !important; bottom: auto !important; left: 32px !important; color: #55473b !important; }
  html body.page-id-690 main #design-reveal-hero .service-hero-content { height: 100% !important; min-height: 0 !important; }
  html body .km-info-hero__content { padding-block: 30px !important; }
}

/* Tablet and short wide photo HERO fit, 2026-10-08. */
@media screen and (min-width: 768px) and (max-width: 960px) and (min-height: 741px) {
  html body.page-id-694 main .km-materials-hero { min-height: 0 !important; height: min(780px, calc(100svh - 195px)) !important; aspect-ratio: auto !important; }
  html body.page-id-694 main .km-materials-hero-content { height: 100% !important; min-height: 0 !important; padding: 40px 0 20px !important; box-sizing: border-box !important; }
}
@media screen and (min-width: 1200px) and (max-height: 740px) {
  html body.page-id-689 main .measurement-scan-hero,
  html body.page-id-694 main .km-materials-hero,
  html body.page-id-692 main #deliveryHero,
  html body.page-id-693 main #km-installation-v2 .hero,
  html body.page-id-695 main .km-about-hero,
  html body.page-id-690 main #design-reveal-hero,
  html body.page-id-691 main .production-live .hero,
  html body .km-info-hero { min-height: 0 !important; height: calc(100svh - 100px) !important; aspect-ratio: auto !important; }
  html body.page-id-689 main .msh-content { height: 100% !important; padding-block: 30px !important; box-sizing: border-box !important; }
  html body.page-id-694 main .km-materials-hero-content { height: 100% !important; min-height: 0 !important; padding-bottom: 50px !important; box-sizing: border-box !important; }
  html body.page-id-693 main #km-installation-v2 .hero-copy { top: 0 !important; height: 100% !important; padding: 60px 0 20px !important; box-sizing: border-box !important; }
  html body.page-id-695 main .km-about-hero__content { padding-block: 40px !important; }
  html body .km-info-hero__content { padding-block: 40px !important; }
}


/* Callback dialog: separate phone and messenger choices. */
.km-callback-methods{display:block;grid-template-columns:none;gap:0;min-width:0}
.km-callback-method-groups{display:grid;grid-template-columns:minmax(112px,1fr) minmax(0,3fr);gap:10px}
.km-callback-method-group{min-width:0;padding:10px;border:1px solid #d8c6b3;border-radius:9px;background:rgba(255,250,244,.55)}
.km-callback-method-group h3{margin:0 0 8px;color:#342d27;font:600 13px/1.25 Arial,sans-serif}
.km-callback-method-options{display:grid;gap:8px}
.km-callback-method-group--write .km-callback-method-options{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.km-callback-method-groups{grid-template-columns:1fr}.km-callback-method-group--write .km-callback-method-options{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Keep the shared sticky navigation attached to the viewport.
 * Hidden horizontal overflow creates a scroll container and breaks sticky on service pages. */
html,body{overflow-x:clip!important}

/* Short hover glint on the homepage controls highlighted by the client. */
html body .site-header .header-callback,
html body.home #km-hero .kmh-cta,
html body.home #km-hero .kmh-review-link,
html body.home #km-hero .kmh-hero-platform{position:relative;overflow:hidden;isolation:isolate}
html body .site-header .header-callback::after,
html body.home #km-hero .kmh-cta::after,
html body.home #km-hero .kmh-review-link::after,
html body.home #km-hero .kmh-hero-platform::after{
  content:"";position:absolute;z-index:3;top:-55%;bottom:-55%;left:-32%;width:22%;
  transform:skewX(-22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);
  opacity:0;pointer-events:none
}
@keyframes km-home-hover-glint{
  0%{left:-32%;opacity:0}
  12%{opacity:.92}
  84%{opacity:.92}
  100%{left:112%;opacity:0}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  html body .site-header .header-callback:is(:hover,:focus-visible)::after,
  html body.home #km-hero .kmh-cta:is(:hover,:focus-visible)::after,
  html body.home #km-hero .kmh-review-link:is(:hover,:focus-visible)::after,
  html body.home #km-hero .kmh-hero-platform:is(:hover,:focus-visible)::after{
    animation:km-home-hover-glint .78s ease-out 1 both
  }
}
@media (prefers-reduced-motion:reduce){
  html body .site-header .header-callback:is(:hover,:focus-visible)::after,
  html body.home #km-hero .kmh-cta:is(:hover,:focus-visible)::after,
  html body.home #km-hero .kmh-review-link:is(:hover,:focus-visible)::after,
  html body.home #km-hero .kmh-hero-platform:is(:hover,:focus-visible)::after{
    left:39%;opacity:.18;animation:none
  }
}

/* Production HERO title: Tektur Black, 2026-10-08. */
html body.page-id-691 main #hero-title{font-family:"Tektur",sans-serif!important;font-weight:900!important;letter-spacing:-.055em!important;text-transform:uppercase!important}

/* Raise the production HERO copy without moving hotspots or mobile layout, 2026-10-08. */
@media (min-width:768px) and (max-width:1199px){html body.page-id-691 main .production-live .hero .hero-copy{top:-48px!important}}
@media (min-width:1200px){html body.page-id-691 main .production-live .hero .hero-copy{top:-80px!important}}
