/* ShadiaN – страница „Кулни и фасадни часовници“ (WP SITE BG). Uses catalog.css (crumbs, facts,
   reveal, closing call). Class prefix sh-kl… (the home page section uses sh-tw…). */

.sh-klpg { background: #fff; }

/* ---------- head ---------- */
.sh-klh { position: relative; isolation: isolate; overflow: hidden; color: #f3efe6; background: linear-gradient(180deg, #15130f 0%, #0f0e0c 100%); }
.sh-klh__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(34% 60% at 76% 46%, rgba(255, 226, 170, .12), rgba(255, 226, 170, 0) 70%), radial-gradient(50% 40% at 70% 0%, rgba(201, 154, 50, .1), rgba(201, 154, 50, 0) 70%); }
.sh-klh__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; padding-top: 34px; padding-bottom: 80px; }
.sh-klh__h { margin: 16px 0 0; font-family: var(--head); font-size: clamp(36px, 4vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: -.027em; color: #fff; }
.sh-klh__h .sh-grad { padding-bottom: .06em; }
.sh-klh__lead { margin: 22px 0 0; max-width: 600px; font-family: var(--head); font-size: 20px; font-weight: 500; line-height: 1.45; color: #fff; }
.sh-klh__p { margin: 14px 0 0; max-width: 600px; font-size: 16.5px; line-height: 1.75; color: rgba(243, 239, 230, .7); }
.sh-klh__facts { margin-top: 30px; }
.sh-klh__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.sh-klh__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: rgba(243, 239, 230, .88); transition: color .25s; }
.sh-klh__more .sh-i { width: 15px; height: 15px; color: var(--gold-2); transition: transform .35s var(--ease); }
.sh-klh__more:hover { color: var(--gold-2); }
.sh-klh__more:hover .sh-i { transform: translateY(3px); }
.sh-klh__fig { position: relative; margin: 0 16px 0 auto; width: calc(100% - 16px); max-width: 420px; }
.sh-klh__mat { position: relative; }
.sh-klh__mat::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(232, 195, 107, .42); border-radius: 6px; pointer-events: none; }
.sh-klh__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #2b4a78; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .85); }
.sh-klh__frame img { width: 100%; height: 100%; object-fit: cover; }
.sh-klh__fig figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 32px; font-size: 13px; color: rgba(243, 239, 230, .55); }
.sh-klh__fig figcaption span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; }

/* ---------- the installations ---------- */
.sh-klobj { padding: 110px 0 120px; background: #faf8f3; }
.sh-klobj__head, .sh-klmod__head { max-width: 760px; margin-bottom: 44px; }
.sh-klobj__h, .sh-klmod__h { margin: 16px 0 0; font-family: var(--head); font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.sh-klobj__p, .sh-klmod__p { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--text); }
.sh-klobj__top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: center; margin-bottom: 48px; }

.sh-klmap { position: relative; padding: 34px; border-radius: 28px; background: radial-gradient(60% 70% at 50% 45%, #1f1b13 0%, #13110d 100%); box-shadow: 0 50px 90px -50px rgba(40, 28, 8, .7); }
.sh-klmap__in { position: relative; }
.sh-klmap__in > img { display: block; width: 100%; height: auto; }
.sh-klpin { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: none; cursor: pointer; }
.sh-klpin i { position: absolute; left: 5px; top: 5px; width: 16px; height: 16px; border: 2px solid var(--gold-2); border-radius: 50%; background: #1a1813; box-shadow: 0 0 0 4px rgba(232, 195, 107, .16), 0 0 14px rgba(232, 195, 107, .45); transition: transform .35s var(--ease), background-color .3s, opacity .3s; }
.sh-klpin span { position: absolute; left: 26px; top: 50%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid rgba(232, 195, 107, .35); border-radius: 999px; background: rgba(15, 14, 11, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 12.5px var(--body); white-space: nowrap; color: #fff; opacity: 0; transform: translate(-4px, -50%); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.sh-klpin--l span { left: auto; right: 26px; transform: translate(4px, -50%); }
.sh-klpin span b { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold-2); font-size: 11px; color: #1d1607; }
.sh-klpin:hover, .sh-klpin:focus-visible, .sh-klpin.is-on, .sh-klpin.is-hot { z-index: 4; }
.sh-klpin:hover i, .sh-klpin:focus-visible i, .sh-klpin.is-on i, .sh-klpin.is-hot i { transform: scale(1.3); background: var(--gold-2); }
.sh-klpin:hover span, .sh-klpin:focus-visible span, .sh-klpin.is-on span, .sh-klpin.is-hot span { opacity: 1; transform: translate(0, -50%); }
.sh-klpin:focus-visible { outline: none; }
.sh-klpin:focus-visible i { box-shadow: 0 0 0 4px rgba(232, 195, 107, .5); }
.sh-klmap__in.is-filtered .sh-klpin:not(.is-on) i { opacity: .4; }

.sh-klside__n { display: grid; margin: 0; }
.sh-klside__n b { font-family: var(--head); font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-klside__n span { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.sh-klside__d { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.sh-klside__sel { display: grid; gap: 8px; margin-top: 28px; }
.sh-klside__sel > span { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-t); }
.sh-klside__sel select { width: 100%; height: 52px; padding: 0 44px 0 18px; border: 1px solid var(--gold-line); border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%239a7219'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; font: 600 15px var(--body); color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; }
.sh-klside__sel select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sh-klside__on { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 16px 0 0; padding: 12px 14px 12px 16px; border-radius: 14px; background: #1a1813; font-size: 14px; font-weight: 600; color: #fff; }
.sh-klside__on[hidden] { display: none; }
.sh-klside__on button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 600 13px var(--body); color: var(--gold-2); cursor: pointer; }
.sh-klside__on .sh-i { width: 14px; height: 14px; }

.sh-klgrid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; }
.sh-klc { display: flex; }
.sh-klc[hidden] { display: none; }
.sh-anim .sh-klc.is-in { animation: shRise .6s var(--ease) both; }
.sh-klc__open { display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; font: inherit; text-align: left; color: inherit; cursor: zoom-in; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.sh-klc__ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e3d6; }
.sh-klc__ph img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.sh-klc__cnt { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(21, 19, 15, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: #fff; }
.sh-klc__cnt .sh-i { width: 13px; height: 13px; color: var(--gold-2); }
.sh-klc__b { display: grid; gap: 3px; padding: 14px 16px 16px; }
.sh-klc__b b { font-family: var(--head); font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.sh-klc__b small { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.sh-klc__open:hover { border-color: var(--gold-line); box-shadow: var(--sh-lg); transform: translateY(-2px); }
.sh-klc__open:hover img { scale: 1.05; }
.sh-klc__open:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sh-klc.is-hot .sh-klc__open { border-color: var(--gold); }

/* ---------- the master module ---------- */
.sh-klmod { padding: 110px 0 120px; }
.sh-klmod__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }

.sh-demo { position: sticky; top: calc(var(--bar-hc) + 30px); margin: 0; padding: 28px 28px 24px; border-radius: 26px; color: #f3efe6; background: radial-gradient(70% 50% at 50% 0%, rgba(201, 154, 50, .14), rgba(201, 154, 50, 0) 70%), linear-gradient(180deg, #1a1813 0%, #12110e 100%); box-shadow: 0 50px 90px -50px rgba(40, 28, 8, .7); }
.sh-demo__mod { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; margin: 0 auto; padding: 12px 18px; border: 1px solid rgba(232, 195, 107, .35); border-radius: 16px; background: #0f0e0b; }
.sh-demo__led { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #3fbf6e; box-shadow: 0 0 10px rgba(63, 191, 110, .8); }
.sh-demo.is-off .sh-demo__led { background: #d2463a; box-shadow: 0 0 10px rgba(210, 70, 58, .8); }
.sh-demo__mt { display: grid; }
.sh-demo__mt b { font-size: 14px; font-weight: 600; color: #fff; }
.sh-demo__mt small { font-size: 12px; color: rgba(243, 239, 230, .6); }
.sh-demo__time { margin-left: 8px; padding-left: 14px; border-left: 1px solid rgba(232, 195, 107, .25); font-family: var(--head); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--gold-2); }
.sh-demo__wires { display: block; width: 100%; height: 40px; }
.sh-demo__wires path { fill: none; stroke: rgba(232, 195, 107, .35); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sh-demo__wires .sh-demo__pulse { stroke: var(--gold-2); stroke-width: 2.4; stroke-dasharray: 14 100; stroke-dashoffset: 14; opacity: 0; }
.sh-demo.is-sync .sh-demo__pulse { animation: shPulse 1.1s ease-in-out; }
@keyframes shPulse { 0% { stroke-dashoffset: 14; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.sh-demo__faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sh-demo__face { display: grid; justify-items: center; gap: 10px; transition: opacity .5s, filter .5s; }
.sh-demo__face svg { display: block; width: 100%; max-width: 132px; }
.sh-demo__face .r { fill: #f3eee3; stroke: var(--gold); stroke-width: 2; }
.sh-demo__face .t line { stroke: #2a241a; stroke-width: .7; }
.sh-demo__face .t line.b { stroke-width: 1.6; }
.sh-demo__face .h, .sh-demo__face .m { fill: #1a1813; }
.sh-demo__face .s { fill: #b4463a; }
.sh-demo__face .c { fill: #1a1813; }
.sh-demo__face g { transform-origin: 50px 50px; }
.sh-demo.is-catch .sh-demo__face g { transition: transform 1.6s cubic-bezier(.3, .7, .2, 1); }
.sh-demo__face > span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 239, 230, .65); }
.sh-demo.is-off .sh-demo__face { opacity: .4; filter: grayscale(1); }
.sh-demo__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.sh-demo__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid rgba(232, 195, 107, .4); border-radius: 999px; background: transparent; font: 600 13.5px var(--body); color: #f3efe6; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.sh-demo__btn .sh-i { width: 16px; height: 16px; color: var(--gold-2); }
.sh-demo__btn:hover { border-color: var(--gold-2); color: var(--gold-2); }
.sh-demo__btn:disabled { opacity: .45; cursor: default; }
.sh-demo__btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.sh-demo__cap { min-height: 3em; margin: 16px 0 0; text-align: center; font-size: 13px; line-height: 1.5; color: rgba(243, 239, 230, .6); }

.sh-klfeat { list-style: none; display: grid; margin: 0; padding: 0; }
.sh-klfeat li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; padding: 15px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--ink); }
.sh-klfeat li:last-child { border-bottom: 1px solid var(--line); }
.sh-klfeat .sh-i { width: 16px; height: 16px; padding: 7px; box-sizing: content-box; border-radius: 50%; background: var(--gold-l); color: var(--gold-d); }
.sh-klmod__sub { margin: 40px 0 6px; font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--ink); }
.sh-klfeat--x li { color: var(--text); }

/* ---------- contacts ---------- */
.sh-klask__people { list-style: none; display: grid; gap: 0; margin: 24px 0 0; padding: 0; max-width: 560px; }
.sh-klask__people li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding: 13px 0; border-top: 1px solid rgba(232, 195, 107, .16); }
.sh-klask__people b { font-size: 15.5px; font-weight: 600; color: #fff; }
.sh-klask__people span { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sh-klask__people a { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--gold-2); transition: color .25s; }
.sh-klask__people a .sh-i { width: 16px; height: 16px; }
.sh-klask__people a:hover { color: #fff; }

/* ---------- the photo viewer ---------- */
.sh-lb { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: #0d0c0a; color: #f3efe6; }
.sh-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.sh-lb::backdrop { background: rgba(0, 0, 0, .75); }
.sh-lb__bar { display: flex; align-items: center; gap: 18px; padding: 12px 18px 12px 22px; border-bottom: 1px solid rgba(232, 195, 107, .14); }
.sh-lb__cap { display: grid; gap: 1px; flex: 1; min-width: 0; margin: 0; }
.sh-lb__cap b { overflow: hidden; font-family: var(--head); font-size: 18px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; color: #fff; }
.sh-lb__cap span { font-size: 13px; color: rgba(243, 239, 230, .6); }
.sh-lb__n { flex: none; font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(243, 239, 230, .6); }
.sh-lb__btn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(232, 195, 107, .3); border-radius: 50%; background: rgba(13, 12, 10, .6); color: #f3efe6; cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.sh-lb__btn .sh-i { width: 19px; height: 19px; }
.sh-lb__btn:hover { border-color: var(--gold-2); color: var(--gold-2); }
.sh-lb__btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.sh-lb__stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; padding: 24px 84px; touch-action: pan-y; }
.sh-lb__stage img { display: block; max-width: min(100%, var(--mw, 100%)); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #1a1813; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity .3s; }
.sh-lb__stage img.is-loading { opacity: .35; }
.sh-lb__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; }
.sh-lb__nav--p { left: 20px; }
.sh-lb__nav--n { right: 20px; }
.sh-lb__foot { margin: 0; padding: 10px 22px 16px; text-align: center; font-size: 13px; color: rgba(243, 239, 230, .6); }
.sh-lb__foot:empty { padding: 0 0 14px; }
html.sh-lb-open { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
	.sh-klgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.sh-klh__in { grid-template-columns: 1fr; gap: 56px; }
	.sh-klh__fig { margin: 0; max-width: 380px; }
	.sh-klobj__top { grid-template-columns: 1fr; gap: 30px; }
	.sh-klmod__grid { grid-template-columns: 1fr; gap: 40px; }
	.sh-demo { position: relative; top: auto; max-width: 560px; }
}
@media (max-width: 760px) {
	.sh-klh__in { padding-top: 24px; padding-bottom: 60px; gap: 44px; }
	.sh-klh__lead { font-size: 18px; }
	.sh-klh__p { font-size: 15.5px; }
	.sh-klh__facts li { padding: 0 16px; }
	.sh-klh__facts b { font-size: 24px; }
	.sh-klh__acts .sh-btn { width: 100%; }
	.sh-klh__fig { width: calc(100% - 12px); max-width: 320px; }
	.sh-klh__mat::before { inset: 12px -12px -12px 12px; }

	.sh-klobj, .sh-klmod { padding: 72px 0 80px; }
	.sh-klobj__head, .sh-klmod__head { margin-bottom: 32px; }
	.sh-klobj__p, .sh-klmod__p { font-size: 16px; }
	.sh-klmap { padding: 14px; border-radius: 18px; }
	.sh-klpin i { left: 7px; top: 7px; width: 12px; height: 12px; border-width: 1.5px; }
	.sh-klpin span { font-size: 11.5px; padding: 4px 9px; }
	.sh-klside__n b { font-size: 48px; }
	.sh-klgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.sh-klc__open { border-radius: 14px; }
	.sh-klc__b { padding: 10px 12px 12px; }
	.sh-klc__b b { font-size: 14px; }
	.sh-klc__b small { font-size: 12.5px; }
	.sh-klc__cnt { right: 6px; bottom: 6px; height: 26px; padding: 0 8px; font-size: 11px; }

	.sh-demo { padding: 22px 16px 18px; border-radius: 20px; }
	.sh-demo__time { font-size: 17px; }
	.sh-demo__faces { gap: 10px; }
	.sh-demo__face > span { font-size: 10.5px; letter-spacing: .1em; }
	.sh-klfeat li { font-size: 15px; }

	.sh-klask__people li { flex-direction: column; align-items: flex-start; }
	.sh-lb__stage { padding: 12px; }
	.sh-lb__nav { top: auto; bottom: 16px; translate: none; }
	.sh-lb__nav--p { left: calc(50% - 56px); }
	.sh-lb__nav--n { right: calc(50% - 56px); }
	.sh-lb__stage { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	.sh-klc__open, .sh-klc__ph img, .sh-klpin i, .sh-klpin span { transition: none; }
	.sh-demo.is-sync .sh-demo__pulse { animation: none; }
}
