/* Żugraga new site chrome (v0.5.0-dev4): fonts, brand tokens, buttons, header, footer. Shared by the 3D homepage and every
   "Żugraga New Site" page (e.g. the booking page). Loaded before styles.css on the homepage. Split out of styles.css 0.4.3 unchanged,
   except the body/skip/focus/button rules are scoped to body.zg-site (the homepage body has both zg-site and zugraga-3d-homepage). */
@font-face{font-family:"Kumbh Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/kumbh-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Kumbh Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/kumbh-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --zg-purple:#6A3987;--zg-purple-70:#9674AB;--zg-purple-25:#DACDE1;--zg-purple-dk:#542C6C;
  --zg-yellow:#F4B619;--zg-yellow-25:#FCEDC6;--zg-cream:#FFEEE1;--zg-white:#fff;--zg-ink:#3B1F4D;
  --zg-header-h:84px;--zg-radius:999px;
  --zg-shadow:0 18px 40px -18px rgba(78,39,102,.45);
  --zg-ease-bounce:cubic-bezier(.3,1.6,.5,1);
  --zg-adminbar:var(--wp-admin--admin-bar--height,0px);
}
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:clip;scroll-padding-top:calc(var(--zg-header-h) + var(--zg-adminbar) + 8px)}
#zg-main [id],.zg-centre-card,.zg-faq,.zg-faq-item,.zg-reviews,.zgv,.zgv-card,.zgv-body,.zgv-step{scroll-margin-top:calc(var(--zg-header-h) + var(--zg-adminbar) + 8px)}
body.zg-site{margin:0;font-family:"Kumbh Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-weight:400;font-size:1.0625rem;line-height:1.55;color:var(--zg-ink);background:var(--zg-cream);overflow-x:clip;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* 3D homepage base rules (kept here, before the header rules, so the homepage cascade is exactly as in 0.4.3) */
.zugraga-3d-homepage img{max-width:100%;height:auto;display:block}
.zugraga-3d-homepage a{color:inherit}
.zugraga-3d-homepage a.zg-btn-primary,.zugraga-3d-homepage .zg-btn-primary{color:var(--zg-cream)}
.zugraga-3d-homepage a.zg-btn-outline{color:var(--zg-purple)}
.zugraga-3d-homepage a.zg-skip{color:var(--zg-cream)}
.zugraga-3d-homepage h1,.zugraga-3d-homepage h2{font-weight:700;line-height:1.06;letter-spacing:-.015em;color:var(--zg-purple);margin:0 0 .45em}
.zugraga-3d-homepage :focus-visible{outline:3px solid var(--zg-purple);outline-offset:3px;border-radius:10px}
/* the same for New Site pages, limited to the header and footer so the page content (e.g. the booking form) is not touched */
.zg-site .zg-brand img{max-width:100%;height:auto;display:block}
/* links in the header/footer inherit their colour, as on the homepage (same specificity as .zugraga-3d-homepage a) */
:where(.zg-site) :is(.zg-header,.zg-footer-temp) a{color:inherit}
.zg-site a.zg-btn-primary,.zg-site .zg-btn-primary{color:var(--zg-cream)}
.zg-site a.zg-btn-outline{color:var(--zg-purple)}
.zg-site a.zg-skip{color:var(--zg-cream)}
.zg-site :is(.zg-header,.zg-footer-temp,.zg-skip) :focus-visible,.zg-site .zg-skip:focus-visible{outline:3px solid var(--zg-purple);outline-offset:3px;border-radius:10px}
.zg-skip{position:absolute;left:-9999px;top:12px;z-index:1000;background:var(--zg-purple);color:var(--zg-cream);padding:.7rem 1.1rem;border-radius:12px;font-weight:700;text-decoration:none}
.zg-skip:focus{left:12px}

/* ---------- Buttons ---------- */
.zg-btn{--h:48px;display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:var(--h);padding:0 1.35rem;border-radius:var(--zg-radius);border:2px solid transparent;font:700 1rem/1.1 "Kumbh Sans",system-ui,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform .25s var(--zg-ease-bounce),background-color .2s,box-shadow .25s,color .2s}
.zg-btn svg{width:1.05em;height:1.05em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--zg-ease-bounce)}
.zg-btn:hover{transform:translateY(-2px)}
.zg-btn:hover svg{transform:translateX(3px)}
.zg-btn:active{transform:translateY(0) scale(.98)}
.zg-btn-primary{background:var(--zg-purple);color:var(--zg-cream);box-shadow:0 5px 0 var(--zg-purple-dk),var(--zg-shadow)}
.zg-btn-primary:hover{background:#74409a;box-shadow:0 7px 0 var(--zg-purple-dk),0 22px 40px -18px rgba(78,39,102,.55)}
.zg-btn.zg-btn-primary:active{transform:translateY(4px);box-shadow:0 1px 0 var(--zg-purple-dk),0 10px 22px -14px rgba(78,39,102,.5)}
.zg-btn-outline{box-shadow:0 4px 0 rgba(106,57,135,.25)}
.zg-btn-outline:hover{box-shadow:0 6px 0 rgba(106,57,135,.28)}
.zg-btn.zg-btn-outline:active{transform:translateY(3px);box-shadow:0 1px 0 rgba(106,57,135,.25)}
.zg-btn-outline{background:var(--zg-cream);color:var(--zg-purple);border-color:var(--zg-purple)}
.zg-btn-outline:hover{background:var(--zg-white)}
.zg-btn-lg{--h:56px;padding:0 1.7rem;font-size:1.0625rem}
.zg-btn-block{width:100%}
.zg-site .zg-btn-primary:focus-visible{outline-color:var(--zg-yellow);outline-offset:3px}

/* ---------- Header ---------- */
/* The frosted backdrop sits on a pseudo-element: a backdrop-filter on the header itself would become the
   containing block of the fixed mobile menu panel and trap it inside the header bar. */
.zg-header{position:sticky;top:var(--zg-adminbar);z-index:100;border-bottom:1px solid transparent;transition:box-shadow .3s,border-color .3s}
.zg-header::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(255,238,225,.88);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);transition:background-color .3s}
.zg-header.is-scrolled{border-color:rgba(106,57,135,.12);box-shadow:0 10px 30px -22px rgba(78,39,102,.55)}
.zg-header.is-scrolled::before,.zg-menu-open .zg-header::before{background:rgba(255,238,225,.96)}
.zg-header-inner{position:relative;width:min(1280px,100% - 48px);margin-inline:auto;height:var(--zg-header-h);display:flex;align-items:center;gap:1.5rem}
.zg-brand{flex:none;display:block;padding:6px 0}
.zg-brand img{width:150px;height:32px}
.zg-nav{margin-left:auto}
.zg-nav-list{display:flex;align-items:center;gap:.15rem;list-style:none;margin:0;padding:0}
.zg-nav-list>li>a,.zg-sub-toggle{position:relative;white-space:nowrap;display:inline-flex;align-items:center;gap:.3rem;padding:.55rem .58rem;border-radius:12px;font:500 .98rem/1.2 "Kumbh Sans",system-ui,sans-serif;color:var(--zg-purple);text-decoration:none;background:none;border:0;cursor:pointer}
.zg-nav-list>li>a::after,.zg-sub-toggle::after{content:"";position:absolute;left:.7rem;right:.7rem;bottom:.22rem;height:3px;border-radius:3px;background:var(--zg-yellow);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.zg-nav-list>li>a:hover::after,.zg-nav-list>li>a.is-current::after,.zg-nav-list>li>a[aria-current=page]::after,.zg-sub-toggle:hover::after,.zg-sub-toggle[aria-expanded=true]::after{transform:scaleX(1)}
.zg-sub-toggle svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.zg-sub-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.zg-has-sub{position:relative}
.zg-sub{position:absolute;left:0;top:calc(100% + 8px);min-width:230px;list-style:none;margin:0;padding:.5rem;background:var(--zg-white);border-radius:18px;box-shadow:0 24px 50px -20px rgba(59,31,77,.45);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .25s var(--zg-ease-bounce),visibility 0s .25s}
.zg-sub-toggle[aria-expanded=true]+.zg-sub{opacity:1;visibility:visible;transform:none;transition:opacity .2s,transform .25s var(--zg-ease-bounce)}
.zg-sub a{display:block;padding:.65rem .85rem;border-radius:12px;color:var(--zg-purple);text-decoration:none;font-weight:500}
.zg-sub a:hover{background:var(--zg-cream)}
.zg-nav-extra{display:none}
.zg-header-actions{display:flex;align-items:center;gap:1rem;flex:none}
.zg-menu-toggle{display:none}

/* ---------- Footer (placeholder until the footer section is designed) ---------- */
.zg-tag{display:inline-block;margin:0 0 1rem;padding:.35rem .7rem;border:1.5px dashed var(--zg-purple);border-radius:8px;color:var(--zg-purple);font-weight:700;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}
.zg-tag-light{border-color:currentColor;color:inherit;margin:0 0 0 .5rem;vertical-align:middle}
.zg-footer-temp{background:var(--zg-ink);color:var(--zg-cream);text-align:center;padding:1.4rem 24px 1.4rem;font-size:.9rem}
.zg-footer-temp p{margin:0}
.zg-footer-temp a{text-underline-offset:3px}
@media (max-width:600px){.zg-footer-temp a{display:inline-flex;align-items:center;min-height:44px;padding:4px 2px}}
.zg-site .screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- Header: tablet / mobile ---------- */
@media (max-width:1300px){
  .zg-nav-list>li>a,.zg-sub-toggle{padding:.55rem .55rem;font-size:.95rem}
}
@media (max-width:1119px){
  :root{--zg-header-h:68px}
  .zg-header-inner{width:min(1280px,100% - 32px);gap:.75rem}
  .zg-brand img{width:124px}
  .zg-header-actions{margin-left:auto}
  .zg-header-cta{--h:42px;padding:0 1rem;font-size:.92rem}
  .zg-menu-toggle{display:inline-flex;align-items:center;gap:.5rem;height:42px;padding:0 .9rem 0 .75rem;border-radius:var(--zg-radius);border:2px solid var(--zg-purple);background:transparent;color:var(--zg-purple);font:700 .92rem "Kumbh Sans",system-ui,sans-serif;cursor:pointer;order:3}
  .zg-burger{position:relative;width:18px;height:12px;display:block}
  .zg-burger span{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform .25s,opacity .2s}
  .zg-burger span:nth-child(1){top:0}.zg-burger span:nth-child(2){top:5px}.zg-burger span:nth-child(3){top:10px}
  .zg-menu-open .zg-burger span:nth-child(1){transform:translateY(5px) rotate(45deg)}
  .zg-menu-open .zg-burger span:nth-child(2){opacity:0}
  .zg-menu-open .zg-burger span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
  .zg-nav{position:fixed;left:0;right:0;top:calc(var(--zg-header-h) + var(--zg-adminbar));bottom:0;margin:0;background:var(--zg-cream);overflow-y:auto;overscroll-behavior:contain;padding:1rem 20px 2rem;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .25s,transform .3s ease,visibility 0s .3s}
  .zg-menu-open .zg-nav{visibility:visible;opacity:1;transform:none;transition:opacity .25s,transform .3s ease;z-index:199}
  html.zg-menu-open,html.zg-menu-open body{overflow:hidden}
  html.zg-menu-open .zg-header{position:fixed;top:var(--zg-adminbar);left:0;right:0;width:100%;z-index:200}
  html.zg-menu-open .zg-menu-toggle{position:relative;z-index:201}
  .zg-nav-list{flex-direction:column;align-items:stretch;gap:0}
  .zg-nav-list>li{border-bottom:1px solid rgba(106,57,135,.12)}
  .zg-nav-list>li>a,.zg-sub-toggle{width:100%;justify-content:space-between;padding:1rem .25rem;font-size:1.15rem;font-weight:700}
  .zg-nav-list>li>a::after,.zg-sub-toggle::after{display:none}
  .zg-sub{position:static;min-width:0;box-shadow:none;background:transparent;padding:0 0 .6rem .5rem;opacity:1;visibility:visible;transform:none;display:none}
  .zg-sub-toggle[aria-expanded=true]+.zg-sub{display:block}
  .zg-sub a{font-size:1.05rem;padding:.6rem .5rem}
  .zg-nav-extra{display:grid;gap:.75rem;margin-top:1.5rem}
  .zg-nav-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.4rem;margin:.6rem 0 0;font-weight:500;color:var(--zg-purple)}
}
@media (max-width:600px){
  .admin-bar .zg-header{top:0}
  .admin-bar .zg-nav{top:var(--zg-header-h)}
}
@media (max-width:560px){
  .zg-header-cta{display:none}
}
@media (prefers-reduced-motion:reduce){
  .zg-site :is(.zg-header,.zg-footer-temp,.zg-skip),.zg-site :is(.zg-header,.zg-footer-temp) *,.zg-site :is(.zg-header,.zg-footer-temp) *::before,.zg-site :is(.zg-header,.zg-footer-temp) *::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---------- New Site page (templates/zugraga-site-page.php): page content between the header and footer ---------- */
.zg-page-main{display:block;min-height:60vh}
.zg-page-main>.zgv:first-of-type{padding-top:clamp(20px,3.5vw,48px)}
/* "Book a free viewing" in the header on the booking page itself: shown as the current page */
.zg-header-cta.is-current{position:relative;background:var(--zg-purple-dk);box-shadow:0 3px 0 #3f2052,var(--zg-shadow)}
.zg-header-cta.is-current::after{content:"";position:absolute;left:1.35rem;right:1.35rem;bottom:7px;height:3px;border-radius:3px;background:var(--zg-yellow)}

/* ---------- Uniforms Order page outer chrome (v0.5.0-dev13): matches 3D homepage & booking page while leaving #gform_wrapper_3 100% untouched ---------- */
html:has(body.zg-uniforms-page),body.zg-uniforms-page,body.zg-uniforms-page #page,body.zg-uniforms-page #content,body.zg-uniforms-page .site-content{background:var(--zg-cream,#FFEEE1)!important}
body.zg-uniforms-page [data-elementor-type="header"],body.zg-uniforms-page [data-elementor-type="footer"],body.zg-uniforms-page #masthead,body.zg-uniforms-page #colophon,body.zg-uniforms-page .site-header,body.zg-uniforms-page .site-footer,body.zg-uniforms-page a.skip-link{display:none!important}
body.zg-uniforms-page #content{position:relative;z-index:1;padding-top:8px;padding-bottom:12px}
body.zg-uniforms-page #content>.ast-container{max-width:1160px;margin:0 auto;padding:0 20px}
body.zg-uniforms-page .zg-header ul.zg-nav-list,body.zg-uniforms-page .zg-header ul.zg-sub{list-style:none!important;margin:0!important}
body.zg-uniforms-page .zg-header .zg-nav-list>li>a,body.zg-uniforms-page .zg-header button.zg-sub-toggle{background:transparent!important;color:var(--zg-purple)!important;border:0!important;box-shadow:none!important;font:500 .98rem/1.2 "Kumbh Sans",system-ui,sans-serif!important;text-decoration:none!important}
body.zg-uniforms-page .zg-header a.zg-btn-primary,body.zg-uniforms-page .zg-header .zg-btn-primary{background:var(--zg-purple)!important;color:var(--zg-cream)!important;border:2px solid transparent!important;border-radius:var(--zg-radius)!important;font:700 1rem/1.1 "Kumbh Sans",system-ui,sans-serif!important;text-decoration:none!important;box-shadow:0 5px 0 var(--zg-purple-dk),var(--zg-shadow)!important}
body.zg-uniforms-page .zg-header a.zg-btn-primary:hover{background:#74409a!important;color:var(--zg-cream)!important}
body.zg-uniforms-page .zg-header a.zg-btn-outline{background:var(--zg-cream)!important;color:var(--zg-purple)!important;border:2px solid var(--zg-purple)!important;border-radius:var(--zg-radius)!important;font:700 1rem/1.1 "Kumbh Sans",system-ui,sans-serif!important;text-decoration:none!important}
body.zg-uniforms-page .zg-header button.zg-menu-toggle{background:transparent!important;color:var(--zg-purple)!important;border:2px solid var(--zg-purple)!important;border-radius:var(--zg-radius)!important;box-shadow:none!important;font:700 .92rem "Kumbh Sans",system-ui,sans-serif!important}
body.zg-uniforms-page .zg-footer-temp{position:relative;z-index:1;background:var(--zg-ink)!important;color:var(--zg-cream)!important;font:400 .9rem/1.55 "Kumbh Sans",system-ui,sans-serif!important}
body.zg-uniforms-page .zg-footer-temp a{color:var(--zg-cream)!important;text-decoration:underline;text-underline-offset:3px}
.zg-uniforms-bg{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.zg-uniforms-bg .zgv-shape{position:absolute;width:clamp(74px,10.5vw,148px);height:auto;aspect-ratio:1;opacity:.88;display:block;overflow:visible}
.zg-uniforms-bg .zgv-bg-1{top:108px;left:2.2%;color:var(--zg-yellow,#F4B619);transform:rotate(-12deg)}
.zg-uniforms-bg .zgv-bg-2{bottom:9%;left:3%;color:var(--zg-purple,#6A3987);transform:rotate(10deg)}
.zg-uniforms-bg .zgv-bg-3{top:136px;right:2.4%;color:var(--zg-purple,#6A3987);transform:rotate(8deg)}
.zg-uniforms-bg .zgv-bg-4{bottom:7%;right:2.2%;color:var(--zg-yellow,#F4B619);transform:rotate(-10deg)}
@media (max-width:1119px){
  body.zg-uniforms-page .zg-header .zg-nav-list>li>a,body.zg-uniforms-page .zg-header button.zg-sub-toggle{font-size:1.15rem!important;font-weight:700!important}
  body.zg-uniforms-page .zg-header .zg-header-cta{font-size:.92rem!important}
}
@media (max-width:640px){
  body.zg-uniforms-page #content>.ast-container{padding:0 10px}
  body.zg-uniforms-page,body.zg-uniforms-page #page,body.zg-uniforms-page #content{overflow-x:clip}
  .zg-uniforms-bg{overflow:hidden;inset:0}
  .zg-uniforms-bg .zgv-shape{width:56px;max-width:18vw;opacity:.5}
  .zg-uniforms-bg .zgv-bg-1{left:0;top:96px}
  .zg-uniforms-bg .zgv-bg-2{left:0;bottom:8%}
  .zg-uniforms-bg .zgv-bg-3{right:0;top:120px}
  .zg-uniforms-bg .zgv-bg-4{right:0;bottom:6%}
  body.zg-uniforms-page .gform_title,
  body.zg-uniforms-page .gsection_title,
  body.zg-uniforms-page .gform_wrapper h2,
  body.zg-uniforms-page .gform_wrapper h3,
  body.zg-uniforms-page .gform_heading,
  body.zg-uniforms-page .gfield_label{font-size:max(14px,.9rem)!important;line-height:1.35}
  body.zg-uniforms-page .gform_wrapper,
  body.zg-uniforms-page .gfield_description,
  body.zg-uniforms-page .gform_wrapper li,
  body.zg-uniforms-page .ginput_container{font-size:max(14px,.875rem)}
}

/* Booking page only: no Ask Żugraga pill or chat panel. Other pages are unchanged. */
body.zg-booking-page #zug-launch,
body.zg-booking-page #zug-panel{display:none!important}
