/* ══ Tours Globe — shared brand layer (2026-09-25) ═══════════════════════════════
   One look across every customer-facing page. The home page (index.html) is the
   reference: navy #0f2040, brand red #c0392b, gold #c9a84c, Playfair Display for
   headings, DM Sans for text, DM Mono for references.

   Used by the secondary pages (trip page, checkout, office visit, my account, ferry,
   policy/privacy/support, portal, live tracker). The main site pages (home, FAQs,
   free tools, visa) keep their own full site header/footer, which this matches.

   The shared header/footer are DIVs with .tgb-* classes, never <nav>/<header>/<footer>:
   several pages style those tags globally (e.g. `nav{height:64px}`), and every rule
   below sets what it needs explicitly so page CSS can't bleed in.
   Markup comes from assets/tg-brand.js.
   ══════════════════════════════════════════════════════════════════════════════ */

:root{
  --tg-navy:#0f2040; --tg-navy-2:#1a3a6e; --tg-red:#c0392b; --tg-red-2:#a93226;
  --tg-gold:#c9a84c; --tg-ink:#1e293b; --tg-ink-2:#475569; --tg-muted:#94a3b8;
  --tg-line:#e2e8f0; --tg-bg:#f7f8fc; --tg-green:#16a34a; --tg-wa:#25d366;
  --tg-radius:12px; --tg-shadow:0 4px 24px rgba(15,32,64,.10);
  --tg-font:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --tg-font-display:'Playfair Display',Georgia,serif;
  --tg-font-mono:'DM Mono',ui-monospace,monospace;
}

/* Pages that opt in with <body class="tgb"> get the brand type everywhere. */
body.tgb{font-family:var(--tg-font);color:var(--tg-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
body.tgb button,body.tgb input,body.tgb select,body.tgb textarea{font-family:inherit;}
body.tgb :focus-visible{outline:3px solid rgba(201,168,76,.55);outline-offset:2px;}
body.tgb ::selection{background:rgba(201,168,76,.28);}

/* ── Header ──────────────────────────────────────────────────────────────────── */
.tgb-header{position:sticky;top:0;z-index:900;background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--tg-line);font-family:var(--tg-font);margin:0;padding:0;}
.tgb-header *{box-sizing:border-box;}
.tgb-header .tgb-in{max-width:1200px;margin:0 auto;height:70px;padding:0 24px;display:flex;align-items:center;gap:16px;}
.tgb-header .tgb-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;}
.tgb-header .tgb-logo img{height:48px;width:auto;display:block;}
.tgb-header .tgb-links{display:flex;align-items:center;gap:2px;flex:1;min-width:0;justify-content:center;overflow:hidden;}
.tgb-header .tgb-links a{padding:8px 12px;border-radius:8px;font-size:13.5px;font-weight:500;color:var(--tg-ink-2);text-decoration:none;white-space:nowrap;transition:background .15s,color .15s;}
.tgb-header .tgb-links a:hover{background:#f0f4fa;color:var(--tg-navy);}
.tgb-header .tgb-links a[aria-current="page"]{color:var(--tg-red);font-weight:600;}
.tgb-header .tgb-ctas{margin-left:auto;display:flex;align-items:center;gap:8px;flex-shrink:0;}
.tgb-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:10px;font-family:var(--tg-font);font-size:13.5px;font-weight:700;line-height:1.1;text-decoration:none;cursor:pointer;border:1.5px solid transparent;white-space:nowrap;transition:transform .12s,background .15s,border-color .15s,box-shadow .15s;}
.tgb-btn:active{transform:translateY(1px);}
.tgb-btn-red{background:var(--tg-red);color:#fff;box-shadow:0 4px 14px rgba(192,57,43,.22);}
.tgb-btn-red:hover{background:var(--tg-red-2);color:#fff;}
.tgb-btn-navy{background:var(--tg-navy);color:#fff;}
.tgb-btn-navy:hover{background:var(--tg-navy-2);color:#fff;}
.tgb-btn-ghost{background:#fff;color:var(--tg-navy);border-color:var(--tg-line);}
.tgb-btn-ghost:hover{border-color:var(--tg-navy);color:var(--tg-navy);}
.tgb-header .tgb-secure{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--tg-green);background:#f0fdf4;border:1px solid #bbf7d0;border-radius:20px;padding:6px 11px;white-space:nowrap;}
.tgb-header .tgb-menu{display:none;width:42px;height:42px;border-radius:10px;border:1.5px solid var(--tg-line);background:#fff;color:var(--tg-navy);font-size:20px;line-height:1;cursor:pointer;align-items:center;justify-content:center;padding:0;}
.tgb-sheet{display:none;border-top:1px solid var(--tg-line);background:#fff;padding:10px 16px 16px;}
.tgb-sheet.open{display:block;}
.tgb-sheet a{display:flex;align-items:center;gap:10px;padding:13px 12px;border-radius:10px;font-size:15px;font-weight:600;color:var(--tg-ink);text-decoration:none;}
.tgb-sheet a:hover{background:#f1f5f9;}
.tgb-sheet .tgb-sheet-ctas{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;}
.tgb-sheet .tgb-sheet-ctas a{justify-content:center;padding:12px;}
.tgb-sheet .tgb-sheet-ctas .tgb-sheet-wide{grid-column:1/-1;}
.tgb-sheet .tgb-sheet-ctas a.tgb-btn-red,.tgb-sheet .tgb-sheet-ctas a.tgb-btn-navy{color:#fff;}
.tgb-sheet .tgb-sheet-ctas a.tgb-btn-ghost{color:var(--tg-navy);}
/* ☰ from 768px down (as the home page), or wider when the menu would not fit (.tgb-compact). */
.tgb-header.tgb-compact .tgb-links{display:none;}
.tgb-header.tgb-compact .tgb-menu{display:inline-flex;}
@media (max-width:768px){
  .tgb-header .tgb-links{display:none;}
  .tgb-header .tgb-menu{display:inline-flex;}
  .tgb-header .tgb-ctas .tgb-hide-sm,.tgb-header .tgb-ctas .tgb-signup{display:none;}
  .tgb-header .tgb-in{height:60px;padding:0 16px;}
}
@media (max-width:420px){
  .tgb-header .tgb-in{height:60px;padding:0 14px;gap:10px;}
  .tgb-header .tgb-logo img{height:38px;}
  .tgb-btn{padding:9px 12px;font-size:13px;}
  .tgb-header .tgb-secure span.tgb-sec-txt{display:none;}
}

/* ── Page hero (secondary pages) ─────────────────────────────────────────────── */
.tgb-hero{background:linear-gradient(135deg,var(--tg-navy) 0%,var(--tg-navy-2) 100%) !important;color:#fff !important;text-align:center;padding:48px 20px 42px !important;position:relative;overflow:hidden;}
.tgb-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(600px 240px at 85% -10%,rgba(201,168,76,.18),transparent 60%),radial-gradient(500px 220px at 0% 110%,rgba(192,57,43,.16),transparent 60%);pointer-events:none;}
.tgb-hero > *{position:relative;}
.tgb-hero h1{font-family:var(--tg-font-display) !important;font-size:clamp(1.7rem,4vw,2.6rem) !important;font-weight:700 !important;line-height:1.2 !important;color:#fff !important;margin:0 0 10px !important;}
.tgb-hero p,.tgb-hero .meta{color:rgba(255,255,255,.72) !important;font-size:14.5px;line-height:1.7;}
.tgb-eyebrow{display:inline-block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:12px;}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.tgb-footer{background:var(--tg-navy);color:rgba(255,255,255,.72);font-family:var(--tg-font);margin:48px 0 0;padding:0;text-align:left;}
.tgb-footer *{box-sizing:border-box;}
.tgb-footer .tgb-fin{max-width:1200px;margin:0 auto;padding:40px 20px 22px;}
.tgb-footer .tgb-fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px;}
.tgb-footer img{height:52px;width:auto;display:block;margin-bottom:12px;border-radius:8px;}
.tgb-footer p{font-size:13px;line-height:1.7;margin:0 0 10px;color:rgba(255,255,255,.65);}
.tgb-footer h4{font-family:var(--tg-font);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--tg-gold);margin:0 0 12px;}
.tgb-footer a{display:block;color:rgba(255,255,255,.78);text-decoration:none;font-size:13.5px;padding:4px 0;}
.tgb-footer a:hover{color:#fff;}
.tgb-footer .tgb-fbtns{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.tgb-footer .tgb-fbtns a{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:9px;font-size:12.5px;font-weight:700;}
.tgb-footer .tgb-wa{background:var(--tg-wa);color:#fff;}
.tgb-footer .tgb-office{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;}
.tgb-footer .tgb-fbot{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:16px;font-size:12px;color:rgba(255,255,255,.5);}
.tgb-footer .tgb-fbot a{display:inline;font-size:12px;color:rgba(255,255,255,.6);padding:0;}
.tgb-footer .tgb-fbot .tgb-pills{display:flex;flex-wrap:wrap;gap:6px 14px;}
@media (max-width:760px){
  .tgb-footer .tgb-fgrid{grid-template-columns:1fr 1fr;gap:22px;}
  .tgb-footer .tgb-fbrand{grid-column:1/-1;}
}
@media print{.tgb-header,.tgb-footer{display:none !important;}}
