/* =====================================================================
   site.css — global chrome: topbar, header, mobile menu, footer,
   conversion elements, intro loader, lightbox.
   ===================================================================== */

/* ---------- topbar */
.topbar { background: var(--navy-2); color: #B8C2D6; font-size: .82rem; position: relative; z-index: 60; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #DDE3EE; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--gold); }
.topbar-right { display: flex; gap: 22px; }
.topbar-open { font-weight: 700; letter-spacing: .06em; color: #fff !important; }
.topbar-open .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
.topbar a.topbar-btn { background: var(--gold); color: var(--navy) !important; font-weight: 700; letter-spacing: .02em; padding: .32em .85em; border-radius: 6px; margin: 4px 0; box-shadow: 0 1px 0 rgba(0,0,0,.15); transition: background .2s, transform .2s; }
.topbar a.topbar-btn:hover, .topbar a.topbar-btn:focus-visible { background: #E0BE64; transform: translateY(-1px); }
.topbar a.topbar-btn svg { width: 1.05em; height: 1.05em; }
.topbar-right { align-items: center; }
.topbar-btn-short { display: none; }
.topbar a, .topbar-open, .topbar-tag { white-space: nowrap; }
@media (max-width: 1180px) { .topbar-email { display: none !important; } }
@media (max-width: 640px) { .topbar-btn-full { display: none; } .topbar-btn-short { display: inline; } .topbar-right { gap: 14px; } .topbar-session, .topbar-phone-num { display: none; } .topbar-inner { gap: 10px; } }
.topbar-tag { font-family: var(--serif); font-style: italic; letter-spacing: .02em; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (max-width: 420px) { .hide-xs { display: none !important; } .topbar { font-size: .76rem; } }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,240,.92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,31,58,.35); background: rgba(255,255,255,.96); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .3s; }
.is-scrolled .header-inner { min-height: 70px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand-logo { width: 56px; height: 56px; transition: width .3s, height .3s; flex: none; }
.is-scrolled .brand-logo { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 600 1.28rem/1.1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand-tag { font: 700 .66rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; white-space: nowrap; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; list-style: none; gap: 2px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; font: 600 .92rem/1 var(--sans); color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-active { color: var(--navy); }
.main-nav .caret { width: 14px; height: 14px; transition: transform .3s; }
.has-sub { position: relative; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 11px 12px; font-weight: 600; }
.sub a:hover, .sub a[aria-current] { background: var(--ivory); color: var(--gold-2); }
.header-cta { flex: none; }
.header-cta .icon { width: 16px; height: 16px; }
.burger { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 4px; color: var(--navy); font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-left: auto; min-height: 48px; position: relative; z-index: 70; }
.burger-lines { display: grid; gap: 6px; width: 26px; }
.burger-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), width .3s; }
.burger-lines i:last-child { width: 70%; justify-self: end; }
.nav-open .burger { color: #fff; }
.nav-open .burger-lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .burger-lines i:last-child { width: 100%; transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 1240px) { .main-nav a { padding: 10px 8px; font-size: .88rem; } .main-nav > ul > li > a::after { left: 8px; right: 8px; } }
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  :root { --header-h: 72px; }
  .brand-logo { width: 48px; height: 48px; }
}
@media (max-width: 420px) { .brand-name { font-size: 1.08rem; } .brand-tag { letter-spacing: .16em; } .burger-label { display: none; } }

/* ---------- mobile menu */
.mobile-nav { position: fixed; inset: 0; z-index: 65; background: var(--navy); color: #fff; visibility: hidden; clip-path: circle(0 at calc(100% - 40px) 60px); transition: clip-path .7s var(--ease-in-out), visibility 0s .7s; overflow-y: auto; }
.nav-open .mobile-nav { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 60px); transition: clip-path .8s var(--ease-in-out), visibility 0s; }
.nav-open body { overflow: hidden; }
.nav-open .site-header { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
.nav-open .site-header .brand { color: #fff; }
.mobile-nav-inner { min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--header-h) + 60px) var(--gutter) 32px; }
.mnav-list { list-style: none; counter-reset: n; }
.mnav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(18px); transition: .6s var(--ease); transition-delay: calc(.12s + var(--i) * .045s); }
.nav-open .mnav-list > li { opacity: 1; transform: none; }
.mnav-list > li > a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font: 500 clamp(1.6rem, 6vw, 2.2rem)/1.1 var(--serif); color: #fff; text-decoration: none; }
.mnav-list > li > a[aria-current] { color: var(--gold); }
.mnav-num { font: 700 .7rem/1 var(--sans); letter-spacing: .14em; color: var(--gold); min-width: 22px; }
.mnav-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0 0 14px 38px; }
.mnav-sub a { color: #B8C2D6; text-decoration: none; font-weight: 600; font-size: .95rem; }
.mnav-foot { margin-top: auto; padding-top: 32px; opacity: 0; transition: opacity .6s .5s; }
.nav-open .mnav-foot { opacity: 1; }
.mnav-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.mnav-actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 1px solid rgba(255,255,255,.15); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600; }
.mnav-addr { color: #8E9AB2; font-size: .88rem; }

/* ---------- footer */
.site-footer { background: var(--navy-2); color: #AEB9CC; position: relative; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(44px, 6vw, 72px); }
.footer-cta-title { font: 500 clamp(2rem, 1.2rem + 3.6vw, 3.8rem)/1 var(--serif); color: #fff; letter-spacing: -.02em; margin: 0; }
.footer-cta-title span { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.brand-light { color: #fff; }
.brand-light img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(201, 164, 76, .55); }
.footer-about { margin: 22px 0 10px; font-size: .95rem; line-height: 1.7; max-width: 42ch; }
.footer-society { font-size: .82rem; color: var(--gold); letter-spacing: .06em; }
.footer-h { font: 700 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: #DDE3EE; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact address { font-style: normal; display: grid; gap: 14px; margin-bottom: 18px; }
.footer-contact p { display: flex; gap: 12px; margin: 0; line-height: 1.55; }
.footer-contact .icon { color: var(--gold); margin-top: 4px; }
.footer-contact .link-arrow { color: #fff; }
.socials { list-style: none; display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: #AEB9CC; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- conversion: floating WhatsApp + mobile action bar */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px 0 16px; background: var(--wa); color: #fff; border-radius: 40px; text-decoration: none; font-weight: 700; font-size: .9rem; box-shadow: 0 14px 30px -10px rgba(31,168,85,.6); transition: transform .3s var(--ease), box-shadow .3s; }
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(31,168,85,.7); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.6s infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.action-bar { display: none; }
@media (max-width: 760px) {
  .fab.has-bar { display: none; }
  .fab { width: 56px; padding: 0; justify-content: center; }
  .fab-label { display: none; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(11,31,58,.4); padding-bottom: env(safe-area-inset-bottom); transform: translateY(0); transition: transform .4s var(--ease); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; text-decoration: none; font: 700 .86rem/1 var(--sans); color: var(--navy); }
  .action-bar .icon { width: 20px; height: 20px; }
  .ab-wa { color: #128C4A !important; }
  .ab-call { border-left: 1px solid var(--line); }
  .ab-enq { background: var(--navy); color: #fff !important; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .nav-open .action-bar, .lb-open .action-bar { transform: translateY(110%); }
}

/* ---------- intro loader */
.intro { display: none; }
.show-intro .intro { display: flex; position: fixed; inset: 0; z-index: 10000; background: var(--navy-2); color: #fff; align-items: center; justify-content: center; overflow: hidden; animation: introFailsafe .4s linear 8s forwards; }
.show-intro body { overflow: hidden; }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro-bg { position: absolute; inset: 0; color: rgba(201,164,76,.16); }
.intro-arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-arcs path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.2s var(--ease-in-out) forwards; }
.intro-arcs path:nth-child(2) { animation-delay: .25s; } .intro-arcs path:nth-child(3) { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-grain { position: absolute; inset: 0; background: radial-gradient(900px 600px at 50% 110%, rgba(201,164,76,.14), transparent 60%), radial-gradient(700px 500px at 50% -20%, rgba(19,41,75,.9), transparent 70%); }
.intro-scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility 0s .55s; }
.intro-scene.is-active { opacity: 1; visibility: visible; transition: opacity .55s var(--ease) .1s, visibility 0s; }
.show-intro .intro-s1:not(.is-past) { opacity: 1; visibility: visible; } /* visible before JS runs */
.intro-mark { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.intro-mark img { width: 132px; height: 132px; border-radius: 50%; opacity: 0; transform: scale(.85); animation: logoIn 1s var(--ease) .25s forwards; }
@keyframes logoIn { to { opacity: 1; transform: none; } }
.intro-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.intro-ring circle { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 360; stroke-dashoffset: 360; animation: ring-draw 1.3s var(--ease-in-out) .1s forwards; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
.intro-name { margin: 28px 0 0; font: 500 clamp(1.7rem, 5vw, 3rem)/1.1 var(--serif); letter-spacing: .01em; display: flex; flex-wrap: wrap; justify-content: center; }
.intro-name span { display: inline-block; opacity: 0; transform: translateY(.5em); animation: letterIn .7s var(--ease) forwards; animation-delay: calc(.55s + var(--c) * .028s); }
@keyframes letterIn { to { opacity: 1; transform: none; } }
.intro-tag { margin: 14px 0 0; font: 700 .72rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); opacity: 0; animation: fadeUp .8s var(--ease) 1.1s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.intro-art { width: 120px; height: 90px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.intro-art * { stroke-dasharray: 400; stroke-dashoffset: 400; }
.intro-scene.is-active .intro-art * { animation: draw 1.1s var(--ease-in-out) forwards; }
.intro-label { font: 700 .7rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.intro-line { font: 500 clamp(1.6rem, 4.6vw, 3.2rem)/1.15 var(--serif); max-width: 18ch; margin: 0; letter-spacing: -.01em; }
.intro-scene.is-active .intro-line { animation: lineIn .8s var(--ease) .15s both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.intro-line-lg { font-size: clamp(1.8rem, 5vw, 3.6rem); }
.intro-arch { width: min(240px, 52vw); aspect-ratio: 3/4; border-radius: 999px 999px 0 0; overflow: hidden; border: 1px solid rgba(201,164,76,.6); padding: 6px; margin-bottom: 26px; clip-path: inset(100% 0 0 0); }
.intro-arch picture, .intro-arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
.intro-s5.is-active .intro-arch { animation: archUp 1s var(--ease-in-out) forwards; }
@keyframes archUp { to { clip-path: inset(0 0 0 0); } }
.intro-progress { position: absolute; left: 50%; bottom: 44px; width: min(220px, 50vw); height: 1px; background: rgba(255,255,255,.15); transform: translateX(-50%); overflow: hidden; }
.intro-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.intro-skip { position: absolute; right: 24px; bottom: 30px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; font: 700 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: .25s; }
.intro-skip:hover, .intro-skip:focus-visible { border-color: var(--gold); color: var(--gold); }
.intro-skip .icon { width: 14px; height: 14px; }
@media (max-width: 600px) { .intro-progress { bottom: 100px; } .intro-skip { right: 50%; transform: translateX(50%); bottom: 32px; } }
.intro.is-leaving { clip-path: circle(150% at 50% 50%); animation: introOut .95s var(--ease-in-out) forwards; }
@keyframes introOut { to { clip-path: circle(0% at 50% 42%); } }
.intro.is-leaving .intro-scene { opacity: 0; transition: opacity .3s; }
.intro-ghost { border-radius: 50%; pointer-events: none; }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(7,20,38,.96); display: grid; place-items: center; opacity: 0; transition: opacity .25s; padding: 60px 70px; }
.lightbox.is-open { opacity: 1; }
.lb-open body { overflow: hidden; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-figure img { max-width: min(1400px, 100%); max-height: calc(100vh - 160px); object-fit: contain; opacity: 0; transform: scale(.98); transition: opacity .35s, transform .35s var(--ease); }
.lb-figure img.is-loaded { opacity: 1; transform: none; }
.lb-figure figcaption { color: #DDE3EE; font-family: var(--serif); font-style: italic; text-align: center; }
.lb-count { position: absolute; top: 22px; left: 24px; margin: 0; color: var(--gold); font: 700 .78rem/1 var(--sans); letter-spacing: .18em; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: .2s; }
.lb-btn:hover, .lb-btn:focus-visible { border-color: var(--gold); color: var(--gold); }
.lb-close { top: 14px; right: 14px; } .lb-full { top: 14px; right: 74px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); } .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox { padding: 70px 12px 90px; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lb-full { display: none; } }

/* keep sticky sub-navigation flush when the header auto-hides */
.site-header { will-change: transform; }
.site-header.is-hidden ~ #main .subnav, .site-header.is-hidden ~ #main [data-sticky-top] { top: 0; }
.subnav { transition: top .45s var(--ease); }

/* ---------- header fit: wider bar, no wrapping; JS adds .nav-collapsed when the full menu cannot fit */
.site-header > .header-inner { max-width: calc(1480px + var(--gutter) * 2); }
.brand { flex: none; }
.main-nav a { white-space: nowrap; }
.header-cta { white-space: nowrap; }
.nav-collapsed .main-nav, .nav-collapsed .header-cta { display: none; }
.nav-collapsed .burger { display: inline-flex; }
.nav-measuring .main-nav, .nav-measuring .header-cta { display: block !important; visibility: hidden; }
.nav-measuring .header-cta { display: inline-flex !important; }
.nav-measuring .burger { display: none !important; }
.topbar > .topbar-inner { max-width: calc(1480px + var(--gutter) * 2); }
