/* PLAZA header controls — approved 17 October 2026. */
html body .site-header[data-plaza-header="stable"]{--plaza-header-control:48px;--plaza-header-actions-gap:16px;--plaza-header-phone-gap:24px}
html body .site-header[data-plaza-header="stable"] .pn-burger{box-sizing:border-box;width:var(--plaza-header-control)!important;height:var(--plaza-header-control)!important;min-width:var(--plaza-header-control)!important;min-height:var(--plaza-header-control)!important;flex:0 0 var(--plaza-header-control)!important;gap:0!important}
html body .site-header[data-plaza-header="stable"] .pn-burger{position:relative;display:block!important;padding:0!important}
html body .site-header[data-plaza-header="stable"] .pn-burger>span{position:absolute;left:calc(50% - 12px);top:calc(50% - 1px);width:24px!important;height:2px!important;margin:0;border-radius:var(--plaza-radius-pill);transform:translate(0,0);transform-origin:center}
html body .site-header[data-plaza-header="stable"] .pn-burger>span:nth-child(1){transform:translateY(-8px)}
html body .site-header[data-plaza-header="stable"] .pn-burger>span:nth-child(3){transform:translateY(8px)}
html body .site-header[data-plaza-header="stable"] .pn-burger[aria-expanded="true"]>span:nth-child(2){opacity:0;transform:translate(0,0) scaleX(.5)}
html body .site-header[data-plaza-header="stable"] .pn-burger[aria-expanded="true"]>span:nth-child(1){transform:translate(0,0) rotate(45deg)}
html body .site-header[data-plaza-header="stable"] .pn-burger[aria-expanded="true"]>span:nth-child(3){transform:translate(0,0) rotate(-45deg)}
html body .site-header[data-plaza-header="stable"] .header-actions{gap:var(--plaza-header-actions-gap)!important}
html body .site-header[data-plaza-header="stable"] .header-actions .site-nav{flex-basis:var(--plaza-header-control)!important}
/* Stable header navigation contains controls; full menus have their own scrolling panels. */
html body .site-header[data-plaza-header="stable"] .site-nav{overflow:visible}
html body .site-header[data-plaza-header="stable"] .header-call{min-height:var(--plaza-header-control)!important}
html body .site-header[data-plaza-header="stable"] .header-price{white-space:nowrap;width:var(--plaza-cta-width);min-width:var(--plaza-cta-width);font-size:var(--plaza-cta-font);box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:var(--plaza-header-control)!important;min-height:var(--plaza-header-control)!important;padding-block:0!important}
html body .site-header[data-plaza-header="stable"] .header-inner{column-gap:var(--plaza-header-phone-gap)!important}
/* Network header: phone and daylight emblem in one trailing group. */
html body.plaza-network .site-header[data-plaza-header="stable"] .header-actions{display:flex!important;align-items:center;flex:0 0 auto!important;margin-left:auto!important;gap:min(var(--plaza-header-actions-gap),var(--plaza-header-phone-gap))!important}
html body.plaza-network .site-header[data-plaza-header="stable"] .header-actions .site-nav{order:initial;flex:0 0 var(--plaza-header-control)!important;margin:0!important}
/* Network-only phone emphasis and unframed daylight emblem. */
html body.plaza-network .site-header[data-plaza-header="stable"]{--plaza-network-header-phone-size:1.25rem;--plaza-network-header-phone-weight:500}
html body.plaza-network .site-header[data-plaza-header="stable"] .header-call>svg{width:26px;height:26px;stroke-width:1.65}
html body:is(.plaza-network,.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .pn-header-sun{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;flex:0 0 48px;padding:5px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--plaza-service-link-color,var(--gold));cursor:pointer;transform:none;transition:color 300ms linear}
html body:is(.plaza-network,.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .pn-header-sun>svg{width:38px;height:38px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.pn-header-sun .pn-sun-rays{transform-origin:0 0;opacity:1;transition:opacity .35s}
.pn-header-sun .pn-sun-core{fill:none;stroke:currentColor;stroke-width:1.2}
html[data-theme="dark"] .pn-header-sun .pn-sun-rays{opacity:1}
.pn-header-sun:is(:hover,:focus-visible) .pn-sun-rays{opacity:1}
.pn-header-sun:is(:hover,:focus-visible) .pn-sun-core{fill:none}
.pn-header-sun:focus-visible{outline:2px solid currentColor;outline-offset:3px}
html body.plaza-network .site-header[data-plaza-header="stable"] .pn-header-sun{order:3}
@media(max-width:700px){html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-inner>.pn-header-sun{order:1}}
@media(prefers-reduced-motion:reduce){.pn-header-sun .pn-sun-rays{animation:none;transition:none}.pn-header-sun .pn-sun-core{transition:none}}
@media(min-width:701px) and (max-width:850px){html body.plaza-network .site-header[data-plaza-header="stable"]{--plaza-network-phone-display:none}}
@media(min-width:701px) and (max-width:1250px){
 html body .site-header[data-plaza-header="stable"]{--plaza-header-phone-gap:16px}
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-actions{margin-left:0!important}
}
/* Portrait tablets and intermediate widths: keep the booking call reachable without crowding. */
@media(min-width:701px) and (max-width:1100px){
 html body.plaza-object-zheleznovodsk .site-header[data-plaza-header="stable"] .header-inner>.header-call{width:48px!important;flex:0 0 48px!important;gap:0!important;justify-content:center}
 html body.plaza-object-zheleznovodsk .site-header[data-plaza-header="stable"] .header-inner>.header-call span{display:none!important}
}
@media(max-width:1050px){
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .header-actions{flex-basis:auto!important;margin-right:0!important}
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .site-nav{flex-basis:48px!important}
}
@media(min-width:701px){
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .header-call{width:auto!important;flex:0 0 auto!important;font-size:var(--plaza-network-header-phone-size,0.875rem)!important;gap:8px!important;font-weight:var(--plaza-network-header-phone-weight,400)}
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .header-call span{display:var(--plaza-network-phone-display,inline)!important;font-size:inherit!important}
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .header-actions{flex:0 0 auto!important}
}
@media(max-width:700px){
 html body .site-header[data-plaza-header="stable"]{--plaza-header-phone-gap:12px}
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-inner{column-gap:12px!important}
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-inner>.pn-toggle{flex:0 1 auto!important;min-width:0}
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-call{width:48px!important;height:48px!important;flex:0 0 48px!important}
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-actions{flex-basis:48px!important;margin-left:0!important;gap:0!important}
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .header-actions{margin-right:0!important}
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .header-call{width:48px!important;height:48px!important;flex:0 0 48px!important}
 html body.plaza-brand-preview .site-header[data-plaza-header="stable"] .header-call span{display:none!important}
}

/* PLAZA burger: approved internal variant 07; hover changes color only. 18 October 2026. */
/* The added daylight control keeps every existing control at narrow phone widths. */
@media(max-width:375px){
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-inner{column-gap:4px!important}
}
@media(max-width:360px){
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-inner{column-gap:0!important}
 html body:is(.plaza-object-kislovodsk,.plaza-object-zheleznovodsk) .site-header[data-plaza-header="stable"] .header-inner>.pn-toggle{gap:4px!important;padding-left:6px!important}
}
html body .site-header[data-plaza-header="stable"] .pn-burger{
 --plaza-burger-duration:700ms;
 --plaza-burger-easing:var(--plaza-ease-out-expo);isolation:isolate;background:transparent!important;
}
html body .site-header[data-plaza-header="stable"] .pn-burger>span{
 z-index:1;clip-path:inset(0 0 round 999px);transition:clip-path 300ms var(--plaza-burger-easing)!important;
}

/* Closed burger: shorten only the outer lines by 15% at each end. */
@media(hover:hover) and (pointer:fine){
 html body .site-header[data-plaza-header="stable"] .pn-burger[aria-expanded="false"]:hover>span:is(:first-child,:last-child){clip-path:inset(0 15% round 999px)}
}
html body .site-header[data-plaza-header="stable"] .pn-burger[aria-expanded="false"]:focus-visible>span:is(:first-child,:last-child){clip-path:inset(0 15% round 999px)}
@media(prefers-reduced-motion:reduce){html body .site-header[data-plaza-header="stable"] .pn-burger>span{transition:none!important}}

/* Header neon: approved burger light inherited by header, footer and booking telephones, night only. */
html[data-theme="dark"] body :is(.site-header[data-plaza-header="stable"] :is(.pn-burger,.header-call,.pn-header-sun),.plaza-footer-edge-phone,.plaza-booking-panel .booking-phone>a){
 --plaza-header-neon-on:300ms;--plaza-header-neon-off:300ms;
 --plaza-header-neon-ease:linear;
 filter:brightness(1) drop-shadow(0 0 0 transparent) drop-shadow(0 0 0 transparent) drop-shadow(0 0 0 transparent) drop-shadow(0 0 0 transparent);
 transition:color 300ms linear,filter var(--plaza-header-neon-off) linear;
}
@media(hover:hover) and (pointer:fine){
 html[data-theme="dark"] body :is(.site-header[data-plaza-header="stable"] :is(.pn-burger,.header-call,.pn-header-sun),.plaza-footer-edge-phone,.plaza-booking-panel .booking-phone>a):hover{
  filter:brightness(1.18) drop-shadow(0 0 2.4px currentColor) drop-shadow(0 0 8.4px currentColor) drop-shadow(0 0 19.2px color-mix(in srgb,currentColor 90%,transparent)) drop-shadow(0 0 33.6px color-mix(in srgb,currentColor 60%,transparent));
  transition:color 300ms linear,filter var(--plaza-header-neon-on) var(--plaza-header-neon-ease);
 }
}
html[data-theme="dark"] body :is(.site-header[data-plaza-header="stable"] :is(.pn-burger,.header-call,.pn-header-sun),.plaza-footer-edge-phone,.plaza-booking-panel .booking-phone>a):focus-visible{
 filter:brightness(1.18) drop-shadow(0 0 2.4px currentColor) drop-shadow(0 0 8.4px currentColor) drop-shadow(0 0 19.2px color-mix(in srgb,currentColor 90%,transparent)) drop-shadow(0 0 33.6px color-mix(in srgb,currentColor 60%,transparent));
 transition:color 300ms linear,filter var(--plaza-header-neon-on) var(--plaza-header-neon-ease);
}
@media(prefers-reduced-motion:reduce){html[data-theme="dark"] body :is(.site-header[data-plaza-header="stable"] :is(.pn-burger,.header-call,.pn-header-sun),.plaza-footer-edge-phone,.plaza-booking-panel .booking-phone>a){transition:none!important}}

/* Approved sun: 38px on all viewports; preserve the 48px touch target. */

/* Shared sun colour follows the same independent palette roles as header phone/burger. */
html body.plaza-shell .site-header[data-plaza-header="stable"] .pn-header-sun{color:var(--plaza-service-link-color,var(--gold))}
html body.plaza-shell .site-header[data-plaza-header="stable"] .pn-header-sun:focus-visible{color:var(--plaza-service-link-hover,var(--plaza-interaction))}
@media(hover:hover) and (pointer:fine){html body.plaza-shell .site-header[data-plaza-header="stable"] .pn-header-sun:hover{color:var(--plaza-service-link-hover,var(--plaza-interaction))}}
/* Geometry is shared; the footer retains its existing size and icon-motion transform. */
.plaza-sun-toggle .plaza-sun-icon{fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.plaza-sun-toggle .pn-sun-core{fill:none;stroke:currentColor;stroke-width:1.2}

/* PSK: reserve independent 48px controls before the phone label can crowd its neighbours. */
@media(min-width:701px) and (max-width:1100px){
 html body.plaza-object-kislovodsk .site-header[data-plaza-header="stable"] .header-inner>.header-call{width:48px!important;min-width:48px!important;flex:0 0 48px!important;gap:0!important;justify-content:center}
 html body.plaza-object-kislovodsk .site-header[data-plaza-header="stable"] .header-inner>.header-call span{display:none!important}
}

/* PSK: retain home, property selection, phone and menu before the optional sun. */
@media(max-width:360px){
 html body.plaza-object-kislovodsk .site-header[data-plaza-header="stable"] .header-inner>.pn-header-sun{display:none!important}
 html body.plaza-object-kislovodsk .site-header[data-plaza-header="stable"] .header-inner>.pn-toggle{width:auto!important;min-width:112px!important;flex:1 1 auto!important;padding-right:8px!important;justify-content:flex-start;gap:8px!important}
}
