/* LEGARE theme — dark variant. */
:root{
  --bg:#111417; --bg2:#191d21; --card:#1e2328; --ink:#f2efe9; --muted:#9aa1a6;
  --gold:#c9a46a; --gold2:#e0c493; --line:#2a3036;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
.wrap{max-width:1240px;margin:0 auto;padding:0 24px}
h1,h2,h3,.logo{font-family:'Playfair Display',serif}
.sent{background:rgba(201,164,106,.14);border:1px solid var(--gold);color:var(--gold2);font-weight:600;padding:16px 20px;font-size:15px;letter-spacing:.02em}
.btn{display:inline-block;background:var(--gold);color:#15181b;font-weight:600;font-size:14px;letter-spacing:.06em;text-transform:uppercase;padding:15px 30px;border:none;cursor:pointer;transition:.25s;text-align:center;font-family:inherit}
.btn:hover{background:var(--gold2)}
.btn.line{background:transparent;color:var(--ink);border:1px solid rgba(242,239,233,.4)}
.btn.line:hover{border-color:var(--gold);color:var(--gold2)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(17,20,23,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:24px;padding-top:18px;padding-bottom:18px}
.logo{font-size:25px;font-weight:600;letter-spacing:.2em;flex-shrink:0}
.logo i{font-style:normal;color:var(--gold)}
.logo img{max-height:46px;width:auto}
.custom-logo-link{flex-shrink:0;display:inline-block}
.custom-logo{max-height:48px;width:auto;display:block}
.main-nav{flex:1}
.main-nav .menu{display:flex;gap:26px;list-style:none;font-size:15px;font-weight:500;letter-spacing:.02em;color:var(--muted)}
.main-nav .menu a{white-space:nowrap;transition:.2s}
.main-nav .menu a:hover{color:var(--gold2)}
.header-phone{font-weight:600;letter-spacing:.02em;white-space:nowrap}
@media(max-width:1160px){.header-phone{display:none}}
@media(max-width:1040px){.main-nav .menu{gap:18px}}

.burger{display:none;width:44px;height:44px;border:1px solid var(--line);background:transparent;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex-shrink:0}
.burger span{display:block;width:20px;height:1.5px;background:var(--ink);transition:.25s}
.burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
.mnav{display:none;position:fixed;top:0;right:0;bottom:0;width:min(320px,86vw);background:var(--bg2);z-index:100;padding:28px 26px;box-shadow:-20px 0 60px rgba(0,0,0,.5);flex-direction:column;gap:2px;transform:translateX(105%);transition:.3s;border-left:1px solid var(--line)}
.mnav.open{transform:translateX(0)}
.mnav .menu{list-style:none;display:flex;flex-direction:column}
.mnav .menu a,.mnav>a{display:block;padding:14px 4px;font-weight:500;font-size:16px;letter-spacing:.04em;border-bottom:1px solid var(--line);color:var(--ink)}
.mnav .mnav-phone{font-weight:600;font-size:18px;border:none;color:var(--gold2);padding:6px 4px}
.mnav .btn{margin-top:14px}
.mnav .mclose{align-self:flex-end;background:none;border:none;font-size:30px;line-height:1;cursor:pointer;color:var(--muted);margin-bottom:10px}
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:90;opacity:0;visibility:hidden;transition:.3s;pointer-events:none}
.scrim.open{opacity:1;visibility:visible;pointer-events:auto}

/* Social icons */
.soc-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.soc{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;color:var(--muted);transition:.2s}
.soc svg,.soc-img{width:25px;height:25px;object-fit:contain;display:block}
.soc:hover{color:#15181b;background:var(--gold);border-color:var(--gold)}
/* Uploaded custom icon (e.g. official MAX brand asset) */
.soc--img{padding:0}
.soc--img:hover{background:transparent;border-color:var(--gold)}

/* Social icons in the desktop header */
.header-social{display:flex;gap:8px;align-items:center;flex-shrink:0}
.header-social .soc{width:34px;height:34px}
.header-social .soc svg,.header-social .soc-img{width:22px;height:22px}
@media(max-width:1080px){.header-social{display:none}}

/* Mobile header phone (left of burger) */
.header-phone-m{display:none;font-weight:600;font-size:14.5px;white-space:nowrap;color:var(--gold2)}

/* Mobile menu bottom group */
.mnav-bottom{margin-top:auto;padding-top:18px;display:flex;flex-direction:column}
.mnav-social{margin-bottom:16px}
.mnav-social .soc{width:42px;height:42px}
.mnav-social .soc svg,.mnav-social .soc-img{width:28px;height:28px}

/* Footer social */
.footer-social{margin-top:14px}

/* Back to top */
.to-top{position:fixed;right:22px;bottom:22px;width:48px;height:48px;border:none;border-radius:50%;background:var(--gold);color:#15181b;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transform:translateY(12px);transition:.25s;z-index:85;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--gold2)}
.to-top svg{width:22px;height:22px}

/* Hero */
.hero{position:relative;min-height:88vh;display:flex;align-items:center;overflow:hidden}
.hero .bgimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
.hero--photo::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(17,20,23,.96) 30%,rgba(17,20,23,.45) 75%,rgba(17,20,23,.75))}
/* Suppress the stray blinking text caret in the WordPress admin bar (logged-in view only) */
#wpadminbar :not(input):not(textarea){caret-color:transparent}

/* Text-first hero (default, no photo) */
.hero--plain{background:linear-gradient(180deg,#171b1f 0%,#0f1216 100%)}
.hero--plain::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(1100px 560px at 80% 38%,rgba(201,164,106,.18),rgba(201,164,106,0) 62%);animation:legareGlow 9s ease-in-out infinite}
.hero--plain::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.05;mix-blend-mode:soft-light;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.hero-cursorglow{position:absolute;left:0;top:0;width:640px;height:480px;transform:translate(-50%,-50%);pointer-events:none;z-index:0;opacity:0;transition:opacity .5s ease;background:radial-gradient(closest-side,rgba(201,164,106,.13),rgba(201,164,106,0) 70%);will-change:left,top}
.hero-ghost{position:absolute;right:-30px;top:50%;transform:translateY(-50%);font-family:'Playfair Display',serif;font-weight:700;font-size:min(58vh,560px);line-height:.7;color:rgba(224,196,147,.06);pointer-events:none;user-select:none;z-index:1}
.hero-hairline{position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(201,164,106,.5),transparent);z-index:1}
@keyframes legareGlow{0%,100%{opacity:.75;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}
@keyframes legareRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.hero .kicker{animation:legareRise .7s .05s both}
.hero h1{animation:legareRise .8s .16s both}
.hero>.wrap>p{animation:legareRise .8s .30s both}
.hero .hero-cta{animation:legareRise .8s .44s both}
.hero .hero-nums{animation:legareRise .8s .58s both}
@media (prefers-reduced-motion: reduce){.hero--plain::before{animation:none}.hero .kicker,.hero h1,.hero>.wrap>p,.hero .hero-cta,.hero .hero-nums{animation:none}}
.hero .wrap{position:relative;z-index:2;padding-top:80px;padding-bottom:80px}
.kicker{display:flex;align-items:center;gap:14px;color:var(--gold);font-size:12.5px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;margin-bottom:26px}
.kicker::before{content:"";width:46px;height:1px;background:var(--gold)}
.hero h1{font-size:60px;line-height:1.12;font-weight:600;max-width:15ch}
.hero h1 em{font-style:italic;color:var(--gold2)}
.hero p{margin:26px 0 38px;font-size:17px;color:var(--muted);max-width:52ch}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap}
.hero-nums{display:flex;gap:56px;margin-top:64px;flex-wrap:wrap}
.hero-nums b{display:block;font-family:'Playfair Display',serif;font-size:34px;color:var(--gold2)}
.hero-nums span{font-size:13px;color:var(--muted)}

section{padding:96px 0}
.sec-head{margin-bottom:52px}
.sec-head .kicker{margin-bottom:14px}
h2{font-size:42px;font-weight:600}
.sec-head p{color:var(--muted);margin-top:14px;max-width:60ch}

/* Showcase mosaic */
.showcase{background:var(--bg2)}
.mosaic{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:230px;gap:14px}
.tile{position:relative;overflow:hidden;cursor:pointer}
.tile img{width:100%;height:100%;object-fit:cover;transition:.5s;filter:saturate(.92)}
.tile:hover img{transform:scale(1.06)}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(10,12,14,.82))}
.tile .cap{position:absolute;left:18px;right:18px;bottom:14px;z-index:2}
.tile .cap b{display:block;font-size:16.5px;font-weight:600}
.tile .cap span{font-size:12.5px;color:var(--gold2);letter-spacing:.08em;text-transform:uppercase}
.tile.w2{grid-column:span 2}
.tile.h2{grid-row:span 2}

/* Filters + works grid */
.filters{display:flex;gap:24px;margin-bottom:34px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.chip{background:none;border:none;color:var(--muted);font:600 14px 'Inter',sans-serif;letter-spacing:.04em;padding:0 2px 14px;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.chip.on,.chip:hover{color:var(--gold2);border-color:var(--gold)}
.works{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.work{position:relative;background:var(--card);overflow:hidden;cursor:pointer;display:block}
.work .work-thumb{position:relative;overflow:hidden}
.work img{height:280px;width:100%;object-fit:cover;transition:.4s}
.work:hover img{opacity:.85}
.work .work-hint{position:absolute;top:12px;right:12px;background:rgba(201,164,106,.92);color:#15181b;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:6px 12px;opacity:0;transition:.25s;z-index:2}
.work:hover .work-hint{opacity:1}
.work .info{padding:18px 20px 20px;border:1px solid var(--line);border-top:none}
.work .info b{font-size:16px;font-weight:600}
.work .info span{display:block;font-size:13px;color:var(--muted);margin-top:5px}
.work .tag{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);margin-bottom:8px}
.works-more{text-align:center;margin-top:44px}

/* About */
.about{background:var(--bg2)}
.about .wrap{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.about img{height:520px;width:100%;object-fit:cover}
.feat{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}
.feat:last-child{border:none}
.feat .n{font-family:'Playfair Display',serif;color:var(--gold);font-size:22px;min-width:44px}
.feat b{display:block;font-size:17px;margin-bottom:5px}
.feat p{font-size:14px;color:var(--muted)}

/* Steps */
.steps .step-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.step{border-top:1px solid var(--gold);padding-top:20px}
.step .n{color:var(--gold);font-size:12px;letter-spacing:.24em;text-transform:uppercase;font-weight:600}
.step b{display:block;margin:10px 0 7px;font-size:17px}
.step p{font-size:13.5px;color:var(--muted)}

/* Reviews */
.reviews{background:var(--bg2)}
.rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.rev{background:var(--card);border:1px solid var(--line);padding:30px 26px;display:flex;flex-direction:column;position:relative}
.rev::before{content:"“";font-family:'Playfair Display',serif;font-size:64px;color:var(--gold);line-height:.6;display:block;margin-bottom:16px}
.stars{color:var(--gold2);font-size:14px;letter-spacing:4px;margin-bottom:14px}
.rev p{font-size:14.5px;color:var(--ink);flex:1;font-style:italic}
.rev .who{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.rev .who b{display:block;font-size:15px;letter-spacing:.04em}
.rev .who span{font-size:12.5px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}

/* CTA */
.cta{background:var(--bg2);text-align:center}
.cta h2{max-width:22ch;margin:0 auto}
.cta>.wrap>p{color:var(--muted);margin:18px auto 36px;max-width:52ch}

/* Lead form */
.legare-form__fields{display:flex;gap:12px;max-width:560px;margin:0 auto;flex-wrap:wrap;justify-content:center}
.legare-form input[type=tel],.legare-form input[type=text]:not(.legare-hp){flex:1;min-width:220px;background:var(--card);border:1px solid var(--line);color:var(--ink);padding:15px 18px;font-size:15px;font-family:inherit}
.legare-form input:focus{outline:none;border-color:var(--gold)}
.legare-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.legare-form__msg{margin-top:16px;font-weight:600;min-height:1px}
.legare-form__msg.ok{color:var(--gold2)}
.legare-form__msg.err{color:#e8846a}
.legare-form__note{display:block;margin-top:16px;color:var(--muted);font-size:12px}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:44px 0;color:var(--muted);font-size:14px}
.site-footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.site-footer a:hover{color:var(--gold2)}

/* Lightbox */
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(8,10,12,.94);display:none;align-items:center;justify-content:center;padding:30px}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:88vh;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.lightbox .lb-close{position:absolute;top:22px;right:28px;color:#fff;font-size:40px;line-height:1;cursor:pointer;background:none;border:none}
.lightbox .lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.1);border:none;color:#fff;font-size:30px;width:54px;height:54px;cursor:pointer;transition:.2s}
.lightbox .lb-nav:hover{background:rgba(201,164,106,.8);color:#15181b}
.lightbox .lb-prev{left:20px}
.lightbox .lb-next{right:20px}

/* Single work */
.single-work{padding:60px 0 96px}
.single-work .back{color:var(--muted);font-size:14px;display:inline-block;margin-bottom:24px}
.single-work .back:hover{color:var(--gold2)}
.single-work h1{font-size:44px;font-weight:600;margin-bottom:10px}
.single-work .w-cats{color:var(--gold);font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:30px}
.single-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:40px;align-items:start}
.single-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.single-gallery .g-main{grid-column:span 2}
.single-gallery img{width:100%;height:100%;object-fit:cover;cursor:pointer;transition:.3s}
.single-gallery .g-main img{height:440px}
.single-gallery .g-thumb img{height:180px}
.single-gallery img:hover{opacity:.85}
.single-side{position:sticky;top:100px}
.work-specs{border:1px solid var(--line);background:var(--bg2)}
.work-spec{display:flex;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid var(--line);font-size:14.5px}
.work-spec:last-child{border-bottom:none}
.work-spec__label{color:var(--muted)}
.work-spec__value{font-weight:600;text-align:right}
.single-desc{margin-top:26px;color:var(--muted);font-size:15px;line-height:1.75}
.single-desc p{margin-bottom:14px}
.single-cta{margin-top:30px;padding:26px;border:1px solid var(--gold);background:rgba(201,164,106,.06)}
.single-cta b{display:block;font-family:'Playfair Display',serif;font-size:20px;margin-bottom:14px}

/* Archive */
.page-head{padding:72px 0 20px;text-align:center}
.page-head h1{font-size:46px;font-weight:600}
.page-head p{color:var(--muted);margin-top:12px}
.archive-works{padding:40px 0 96px}

/* Responsive */
@media(max-width:960px){
  .site-header .main-nav{display:none}
  .site-header .header-phone{display:none}
  .site-header .header-cta{display:none}
  .header-phone-m{display:inline-flex;margin-left:auto;margin-right:14px}
  .burger{display:flex}
  .mnav{display:flex}
  .hero h1{font-size:44px}
  .mosaic{grid-template-columns:repeat(2,1fr)}
  .works,.rev-grid{grid-template-columns:repeat(2,1fr)}
  .about .wrap{grid-template-columns:1fr}
  .steps .step-grid{grid-template-columns:repeat(2,1fr)}
  .single-grid{grid-template-columns:1fr}
  .single-side{position:static}
}
@media(max-width:600px){
  .wrap{padding:0 18px}
  section{padding:60px 0}
  .hero{min-height:0}
  .hero .wrap{padding-top:64px;padding-bottom:64px}
  .hero-ghost{font-size:min(34vh,240px);top:26%;right:-18px;color:rgba(224,196,147,.05)}
  .hero h1{font-size:32px}
  h2{font-size:29px}
  .hero-nums{gap:26px;margin-top:44px}
  .hero-nums b{font-size:27px}
  .hero-cta .btn{width:100%}
  .mosaic{grid-template-columns:1fr;grid-auto-rows:210px}
  .tile.w2,.tile.h2{grid-column:span 1;grid-row:span 1}
  .works,.rev-grid,.steps .step-grid{grid-template-columns:1fr}
  .about img{height:300px}
  .filters{gap:16px;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
  .chip{white-space:nowrap}
  .legare-form__fields{flex-direction:column}
  .legare-form input{min-width:0}
  .single-work h1{font-size:32px}
  .single-gallery .g-main img{height:280px}
  .page-head h1{font-size:32px}
  .header-phone-m{font-size:13px;margin-right:10px}
  .to-top{right:16px;bottom:16px;width:44px;height:44px}
}
@media(max-width:360px){
  .header-phone-m{display:none}
}

/* ===== v1.3.3 additions ===== */

/* Keyboard focus visibility (was missing on links/buttons) */
a:focus-visible,button:focus-visible,.btn:focus-visible,.chip:focus-visible,.soc:focus-visible,.burger:focus-visible,.to-top:focus-visible,.mobile-bar__item:focus-visible,.msg-widget__toggle:focus-visible,.msg-widget__item:focus-visible,.legare-form input:focus-visible{outline:2px solid var(--gold2);outline-offset:3px}

/* Anchor targets clear the sticky header */
html{scroll-padding-top:84px}

/* Visually-hidden helper */
.legare-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Privacy-policy link inside the form note */
.legare-form__note a{color:var(--gold2);text-decoration:underline}

/* Floating messenger widget (desktop): a chat button that expands into all messengers */
.msg-widget{position:fixed;left:22px;bottom:22px;z-index:85;display:flex;flex-direction:column;align-items:flex-start;gap:10px;transition:bottom .25s}
.msg-widget__list{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.msg-widget__item{display:flex;align-items:center;gap:11px;background:linear-gradient(180deg,var(--card),var(--bg2));border:1px solid var(--line);border-radius:40px;padding:8px 18px 8px 10px;color:var(--ink);box-shadow:0 10px 26px rgba(0,0,0,.4);white-space:nowrap;transform:translateY(10px) scale(.94);opacity:0;pointer-events:none;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .28s,background .2s,border-color .2s}
.msg-widget__item:hover{background:linear-gradient(180deg,#232a30,#1b2025);border-color:rgba(201,164,106,.5)}
.msg-widget__ic{width:30px;height:30px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--gold2)}
.msg-widget__ic svg{width:24px;height:24px}
.msg-widget__img{width:24px;height:24px;object-fit:contain}
.msg-widget__label{font-size:14px;font-weight:500;letter-spacing:.01em}
.msg-widget.open .msg-widget__item{transform:none;opacity:1;pointer-events:auto}
.msg-widget.open .msg-widget__item:nth-last-child(1){transition-delay:.03s}
.msg-widget.open .msg-widget__item:nth-last-child(2){transition-delay:.07s}
.msg-widget.open .msg-widget__item:nth-last-child(3){transition-delay:.11s}
.msg-widget.open .msg-widget__item:nth-last-child(4){transition-delay:.15s}
.msg-widget__toggle{width:56px;height:56px;border:none;border-radius:50%;cursor:pointer;background:var(--gold);color:#15181b;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.4);transition:.2s}
.msg-widget__toggle:hover,.msg-widget.open .msg-widget__toggle{background:var(--gold2)}
.msg-widget__toggle svg{width:27px;height:27px}
.msg-widget__chat,.msg-widget__x{display:flex;align-items:center;justify-content:center}
.msg-widget__x{display:none}
.msg-widget.open .msg-widget__chat{display:none}
.msg-widget.open .msg-widget__x{display:flex}
@media(prefers-reduced-motion:reduce){.msg-widget__item{transition:opacity .12s}}

/* Sticky mobile action bar: call / messenger / measure */
.mobile-bar{display:none}
@media(max-width:600px){
  .mobile-bar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:88;background:rgba(17,20,23,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
  .mobile-bar__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:9px 4px 8px;font-size:11px;letter-spacing:.02em;color:var(--muted)}
  .mobile-bar__item svg{width:22px;height:22px}
  .mobile-bar__cta{background:var(--gold);color:#15181b;font-weight:600}
  body{padding-bottom:62px}
  .to-top{bottom:74px}
  .msg-widget{display:none}
}

/* ===== v1.3.5 premium motion & polish ===== */

/* Header condenses on scroll */
.site-header .wrap{transition:padding .3s ease}
.site-header.is-condensed{background:rgba(17,20,23,.98)}
.site-header.is-condensed .wrap{padding-top:11px;padding-bottom:11px}
.site-header.is-condensed .logo{font-size:22px}
.site-header.is-condensed .custom-logo{max-height:40px}

/* Reveal-on-scroll (only while JS is active; off for reduced motion) */
.lg-js .lg-reveal{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);will-change:opacity,transform}
.lg-js .lg-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.lg-js .lg-reveal{opacity:1 !important;transform:none !important}}

/* Premium nav hover underline (desktop) */
.main-nav .menu a{position:relative}
.main-nav .menu a::after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:1px;background:var(--gold);transition:right .3s ease}
.main-nav .menu a:hover::after{right:0}

/* Mobile menu polish: larger type + staggered entrance */
.mnav .menu a,.mnav>a{font-size:17px}
.mnav.open .menu li{animation:lgMnavIn .5s both}
.mnav.open .menu li:nth-child(1){animation-delay:.05s}
.mnav.open .menu li:nth-child(2){animation-delay:.10s}
.mnav.open .menu li:nth-child(3){animation-delay:.15s}
.mnav.open .menu li:nth-child(4){animation-delay:.20s}
.mnav.open .menu li:nth-child(5){animation-delay:.25s}
.mnav.open .menu li:nth-child(6){animation-delay:.30s}
@keyframes lgMnavIn{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.mnav.open .menu li{animation:none}}

/* ===== v1.3.6 contact icons + mobile back-to-top ===== */

/* Inline contact icons (phone in header / menu, address + hours + phone in footer) */
.header-phone{display:inline-flex;align-items:center;gap:8px}
.header-phone-m{align-items:center;gap:8px}
.mnav-phone{display:inline-flex;align-items:center;gap:8px}
.header-phone svg,.header-phone-m svg,.mnav-phone svg{width:16px;height:16px;color:var(--gold);flex-shrink:0}
.foot-contacts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:2px}
.foot-contacts span,.foot-contacts a{display:inline-flex;align-items:center;gap:9px}
.foot-contacts svg{width:16px;height:16px;color:var(--gold);flex-shrink:0}

/* Back-to-top clears the sticky mobile bar (with iOS safe-area) */
@media(max-width:600px){
  .mobile-bar{padding-bottom:env(safe-area-inset-bottom)}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .to-top{right:16px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:90}
}

/* ===== v1.3.7 developer credit ===== */
.foot-copy{line-height:1.5}
.foot-credit{display:block;margin-top:5px;font-size:12.5px;color:var(--muted);opacity:.8}
.foot-credit a{color:var(--gold2)}
.foot-credit a:hover{text-decoration:underline}

/* ===== v1.3.9 mobile header: phone NUMBER visible between logo and burger, no overflow ===== */
@media(max-width:600px){
  .site-header .wrap{gap:9px;padding-left:14px;padding-right:14px}
  .logo{font-size:20px;letter-spacing:.09em}
  .header-phone-m{margin-right:7px;font-size:12.5px;gap:5px}
  .header-phone-m span{display:inline}
  .header-phone-m svg{width:13px;height:13px}
}
@media(max-width:360px){
  .header-phone-m{display:inline-flex}   /* keep the number on small phones (override the base hide) */
  .header-phone-m svg{display:none}      /* drop only the icon so the number still fits */
}

/* ===== v1.4.0 «Доставка и оплата» section + back-to-top above the mobile bar ===== */
.delivery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 44px;max-width:920px}
.delivery-item{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--line);font-size:15.5px}
.delivery-check{color:var(--gold);font-weight:700;line-height:1.55;flex-shrink:0}
@media(max-width:760px){.delivery-grid{grid-template-columns:1fr}}
@media(max-width:600px){.to-top{z-index:95}}

/* ===== v1.4.1 cookie consent bar ===== */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:96;display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;background:rgba(25,29,33,.98);border-top:1px solid var(--line);padding:15px 24px;box-shadow:0 -10px 30px rgba(0,0,0,.32)}
.cookie-bar[hidden]{display:none}
.cookie-bar p{margin:0;font-size:13.5px;color:var(--muted);max-width:820px;line-height:1.5}
.cookie-bar a{color:var(--gold2);text-decoration:underline}
.cookie-bar .cookie-ok{padding:11px 28px;font-size:13px;flex-shrink:0}
@media(max-width:600px){
  .cookie-bar{bottom:calc(62px + env(safe-area-inset-bottom));flex-direction:column;gap:10px;padding:14px 16px;text-align:center}
  .cookie-bar .cookie-ok{width:100%}
}
/* Пока плашка cookie видна — приподнимаем плавающие кнопки над ней (JS замеряет высоту → --cookie-top). */
body.cookie-open .to-top{bottom:calc(var(--cookie-top, 66px) + 14px)}
body.cookie-open .msg-widget{bottom:calc(var(--cookie-top, 66px) + 14px)}
