/* ===========================================================================
   TG77 shared chrome — ONE header + footer for the whole site.
   Namespaced .tg-* so it never collides with Flatsome on inner pages.
   Loaded by index.html and every supporting page. Single source of truth.
   =========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,700;6..96,900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#04102a; --navy-1:#1e4a8a; --navy-2:#0e2c5e; --navy-3:#071630;
  --panel-a:#143864; --panel-b:#0a1c3c;
  --line:rgba(120,170,255,.18); --line-gold:rgba(212,175,55,.22); --line-gold-2:rgba(212,175,55,.4);
  --gold:#d4af37; --gold-deep:#b8860b; --cream:#fbf1cf; --heading:#f3ebd6;
  --gold-text:#e6cf86; --warm:#cdbf95; --warm-dim:#a89e7d;
  --text:#eaf1ff; --body:#d6e0f2; --blue-text:#cfe2ff;
  --orange-1:#ffe082; --orange-2:#ffa72e; --orange-3:#ff7a00;
  --radius:18px; --radius-sm:14px; --max:1120px;
}

/* kill the leftover Flatsome off-canvas mobile drawer + its overlay on inner pages */
#main-menu,.mfp-bg,.mfp-wrap{display:none !important;}

/* container shared by header + footer */
.tg-wrap{max-width:var(--max);margin:0 auto;padding:0 20px;}

/* ---- buttons ---- */
.tg-btn{display:inline-flex !important;align-items:center;justify-content:center;gap:.5em;
  font-family:Manrope,sans-serif !important;font-weight:800 !important;border-radius:14px;
  padding:15px 26px;min-height:48px;cursor:pointer;border:0;text-decoration:none !important;
  transition:transform .18s,box-shadow .18s,filter .18s;white-space:nowrap;}
.tg-btn:hover{filter:brightness(1.07);transform:translateY(-1px);}
.tg-btn-gold{color:#1a1206 !important;background:linear-gradient(135deg,var(--cream),var(--gold) 50%,var(--gold-deep));
  box-shadow:0 8px 24px -8px rgba(212,175,55,.55);}
.tg-btn-orange{color:#3a1700 !important;background:linear-gradient(135deg,var(--orange-1),var(--orange-2) 55%,var(--orange-3));
  border-radius:999px;box-shadow:0 4px 14px rgba(255,140,0,.4);}
.tg-btn-ghost{color:var(--blue-text) !important;background:transparent;border:1px solid rgba(120,170,255,.4);border-radius:999px;}
.tg-btn-ghost:hover{border-color:#7fb2ff;color:#fff !important;}

/* ---- header ---- */
.tg-header{position:sticky !important;top:0;z-index:200;
  background:linear-gradient(180deg,rgba(7,18,40,.96),rgba(7,18,40,.82)) !important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line) !important;font-family:Manrope,sans-serif;}
.tg-nav-inner{display:flex !important;align-items:center;gap:16px;height:66px;}
.tg-brand{display:flex !important;align-items:center;padding:0 !important;}
.tg-brand img{height:40px !important;width:auto !important;max-width:none !important;margin:0 !important;display:block;}
.tg-nav{display:flex !important;gap:22px;margin-left:auto;align-items:center;}
.tg-nav>a{color:var(--blue-text) !important;font-weight:600;font-size:.93rem;text-decoration:none !important;
  text-transform:none !important;letter-spacing:0 !important;transition:color .15s;line-height:1;}
.tg-nav>a:hover{color:var(--gold) !important;}
.tg-nav .tg-btn{padding:9px 18px;min-height:40px;font-size:.85rem;}
.tg-menu-btn{display:none !important;margin-left:auto;background:none;border:1px solid rgba(120,170,255,.4);
  color:var(--text);border-radius:10px;width:44px;height:44px;cursor:pointer;font-size:1.25rem;
  align-items:center;justify-content:center;}
#tg-mtoggle{display:none;}

/* ---- footer ---- */
.tg-footer{background:rgba(4,12,30,.85) !important;border-top:1px solid var(--line);
  padding:50px 0 30px;margin-top:56px;font-family:Manrope,sans-serif;color:var(--warm);}
.tg-foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;}
.tg-foot-grid h4{font-family:Manrope,sans-serif;font-size:.9rem;font-weight:800;letter-spacing:.06em;margin:0 0 13px;color:var(--heading);}
.tg-foot-grid a{display:block;color:var(--warm) !important;font-size:.9rem;padding:5px 0;text-decoration:none !important;transition:color .15s;}
.tg-foot-grid a:hover{color:var(--gold) !important;}
.tg-foot-brand p{font-size:.9rem;color:var(--warm);line-height:1.6;margin:0;}
.tg-foot-brand img{height:42px !important;width:auto !important;max-width:none !important;margin:0 0 12px !important;display:block;}
.tg-responsible{display:flex;align-items:center;justify-content:center;gap:10px;margin:32px auto 20px;
  font-size:.84rem;color:var(--warm);border:1px solid rgba(212,175,55,.2);border-radius:999px;
  padding:10px 18px;max-width:fit-content;text-align:left;}
.tg-responsible a{color:var(--gold-text) !important;}
.tg-age{flex:none;width:26px;height:26px;border-radius:50%;border:1.5px solid var(--gold-text);
  color:var(--gold-text);font-weight:800;font-size:10px;display:inline-flex;align-items:center;justify-content:center;}
.tg-foot-bottom{border-top:1px solid var(--line);padding-top:20px;color:var(--warm-dim);font-size:.83rem;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.tg-foot-bottom a{color:var(--warm-dim) !important;text-decoration:none !important;}
.tg-foot-bottom a:hover{color:var(--gold) !important;}

@media(max-width:920px){
  .tg-foot-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:680px){
  .tg-wrap{padding:0 16px;}
  .tg-nav{position:fixed;inset:66px 0 auto 0;flex-direction:column;gap:0;
    background:#081830;border-bottom:1px solid var(--line);padding:8px 20px 18px;
    transform:translateY(-130%);transition:transform .25s ease;align-items:stretch;}
  #tg-mtoggle:checked ~ .tg-nav{transform:translateY(0);}
  .tg-nav>a{padding:13px 0;border-bottom:1px solid var(--line);}
  .tg-nav .tg-btn{margin-top:12px;}
  .tg-menu-btn{display:flex !important;}
  .tg-footer{padding:38px 0 24px;margin-top:40px;}
  .tg-foot-grid{grid-template-columns:1fr;gap:24px;}
  .tg-responsible{max-width:100%;}
  .tg-foot-bottom{flex-direction:column;gap:8px;}
}
