/* Layout: wrap, grids, sections, header, footer, global chrome */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.sec { padding-block: var(--sec-y); position: relative; }
.sec-cream { background: var(--cream); }
.sec-dark { background: var(--teal-dd); color: #fff; }
.sec-teal { background: var(--teal); color: #fff; }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.two-col.top { align-items: start; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 4vw, 44px); }
.split-head .sec-head { margin: 0; }

/* Top bar + header */
.topbar { background: var(--teal-ddd); color: #cfe4e1; font-size: .72rem; letter-spacing: .05em; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar i { display: inline-block; width: 4px; height: 4px; margin: 0 7px 2px; border-radius: 50%; background: var(--yellow); }
.topbar a:hover { color: var(--yellow); } .topbar .sep { margin: 0 10px; opacity: .4; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(0, 40, 44, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .25s, background .25s; }
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 20, 22, .35); }
.bar { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); flex: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-word { display: flex; flex-direction: column; color: var(--cream); font: 800 1.35rem/.92 var(--font-head); letter-spacing: -.01em; }
.brand-word b { font-weight: 800; }
.primary { margin-left: auto; display: flex; align-items: center; }
.primary > ul { display: flex; align-items: center; gap: 2px; }
.primary li { position: relative; display: flex; align-items: center; }
.primary a { display: block; padding: 10px 13px; border-radius: var(--r-pill); font-weight: 600; font-size: .94rem; color: #e8f2f0; transition: color .2s, background .2s; }
.primary a:hover { color: var(--yellow); }
.primary a.is-active { color: var(--yellow); }
.primary a.is-active::after { content: ""; display: block; height: 2px; margin-top: 3px; background: var(--yellow); border-radius: 2px; }
.sub-toggle { display: grid; place-items: center; width: 24px; height: 36px; margin-left: -8px; color: #cfe4e1; font-size: .8rem; }
.has-mega.open .sub-toggle .i { transform: rotate(180deg); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--r-pill); color: inherit; font-size: 1.15rem; transition: background .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn.round { border: 1px solid var(--line); background: #fff; color: var(--teal-dd); } .icon-btn.round:hover { background: var(--yellow); }
.icon-btn .kbd { font-size: .65rem; }
.badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: var(--yellow); color: var(--teal-ddd); font: 800 .68rem/1 var(--font-body); font-style: normal; }
.menu-btn { display: none; flex-direction: column; gap: 5px; }
.menu-btn span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-cta { display: none; }
.scrim { position: fixed; inset: 0; z-index: 900; background: rgba(0, 20, 22, .55); backdrop-filter: blur(2px); }

/* Mega menu */
.mega { position: absolute; top: 100%; left: 50%; z-index: 20; width: min(860px, 92vw); padding-top: 14px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 24px; padding: 26px; background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-title { display: flex !important; align-items: center; gap: 10px; padding: 0 !important; margin-bottom: 10px; color: var(--teal-dd) !important; font: 700 1rem var(--font-head) !important; }
.mega-ico, .svc-ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--cream); color: var(--teal); font-size: 1.15rem; flex: none; }
.mega li { display: block; } .mega ul a { padding: 6px 0 !important; color: var(--muted) !important; font-weight: 500 !important; font-size: .9rem !important; border-radius: 0; }
.mega ul a:hover { color: var(--teal) !important; transform: translateX(3px); }
.mega-cta { padding: 18px; border-radius: var(--r); background: var(--teal-dd); color: #fff; }
.mega-cta p { font-size: .86rem; color: #cfe4e1; margin: .4em 0 1em; }

/* Footer */
.site-footer { background: var(--teal-ddd); color: #cfe4e1; padding-top: clamp(44px, 6vw, 72px); font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.5fr; gap: clamp(24px, 3vw, 44px); padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer li { margin-bottom: .55em; } .site-footer a:hover { color: var(--yellow); }
.foot-contact a { display: flex; gap: 10px; margin-bottom: .8em; align-items: flex-start; } .foot-contact .i { margin-top: .3em; color: var(--yellow); }
.foot-contact .btn { display: inline-flex; margin-top: .4em; }
.foot-about p { max-width: 36ch; margin-top: 1em; }
.social { display: flex; gap: 8px; margin-bottom: 18px; } .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.news label { display: block; font-weight: 600; color: #fff; margin-bottom: .5em; }
.news-row { display: flex; gap: 8px; } .news-row input { flex: 1; min-width: 0; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0 calc(20px + var(--safe-b)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }

/* Floating UI */
.wa-float { position: fixed; z-index: 800; right: 18px; bottom: 18px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.to-top { position: fixed; z-index: 790; right: 24px; bottom: 86px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--teal-ddd); box-shadow: var(--sh-1); }
.to-top .rot { transform: rotate(-45deg); }
.mobile-bar { display: none; }
.toast { position: fixed; z-index: 3100; left: 50%; bottom: 90px; transform: translate(-50%, 20px); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r-pill); background: var(--teal-ddd); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--sh-2); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
