/* TMSA shell (css/tmsa-shell.css), Stage 2 of the new design: top bar, header, footer, floating buttons, chat launcher, Poppins.
   Values come from tmsa-lite/shared.css and partials/. Blue and white only. Loaded on every page after tmsa-layout. */

/* ==== Poppins, self-hosted (no Google Fonts). Files are in css/fonts/ (Latin subset, SIL Open Font Licence): poppins-400.woff2 ... poppins-900.woff2 ==== */
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/poppins-400.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(fonts/poppins-500.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(fonts/poppins-600.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(fonts/poppins-700.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:800;font-display:swap;src:url(fonts/poppins-800.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:900;font-display:swap;src:url(fonts/poppins-900.woff2) format("woff2")}

/* The header is no longer fixed, so pages must not reserve space for the old fixed header (set in tmsa-layout.css). */
:root{--tm-header-h:0px}

body.tmsa-shell-on{margin:0;background:#fff;font-family:Poppins,"Helvetica Neue",Arial,sans-serif;color:#0F172A;font-size:16.5px;line-height:1.6}
.tmsa-shell,.tmsa-shell *,.tmsa-shell *::before,.tmsa-shell *::after{box-sizing:border-box}
.tmsa-shell{overflow-x:hidden}
.tmsa-shell input,.tmsa-shell button{font-family:inherit}
.tmsa-shell a:focus-visible,.tmsa-shell button:focus-visible{outline:3px solid #0047AB;outline-offset:2px;box-shadow:0 0 0 6px #fff}

.tmsa-skip{position:absolute;left:12px;top:-60px;z-index:200;background:#0047AB;color:#fff;padding:12px 16px;font-weight:800;border-radius:3px;font-family:Poppins,Arial,sans-serif}
.tmsa-skip:focus{top:12px;color:#fff}

/* ==== Top bar ==== */
.tmsa-topbar{background:#00337D;color:#fff;font-size:14px}
.tmsa-topbar__in{max-width:1280px;margin:0 auto;padding:7px 28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px}
.tmsa-topbar__contact{display:flex;flex-wrap:wrap;gap:4px 22px}
.tmsa-topbar__social{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.tmsa-topbar a{color:#fff;text-decoration:none}
.tmsa-topbar__social a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px}
@media(max-width:700px){.tmsa-topbar__contact a:nth-child(3){display:none}}

/* ==== Header ==== */
.tmsa-header{position:sticky;top:0;z-index:40;background:#fff;box-shadow:0 6px 20px -12px rgba(15,23,42,.35)}
.tmsa-header__in{max-width:1280px;margin:0 auto;padding:8px 28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px}
.tmsa-header__logo{display:block;line-height:0}
.tmsa-header__logo img{height:60px;width:auto}
.tmsa-nav{display:flex;flex-wrap:wrap;align-items:center;gap:2px 20px;font-size:15px;font-weight:700}
.tmsa-nav a{color:#0047AB;text-decoration:none;padding:10px 0;display:inline-block}
.tmsa-nav a:hover{color:#00337D}
.tmsa-nav .tmsa-nav__free{background:#0047AB;color:#fff;padding:8px 14px;border-radius:3px}
.tmsa-nav .tmsa-nav__free:hover{background:#00337D;color:#fff}
.tmsa-nav .tmsa-nav__btn{background:#fff;color:#0047AB;padding:6px 12px;border:2px solid #0047AB;border-radius:3px}
.tmsa-nav .tmsa-nav__btn:hover{background:#EAF2FC}
.tmsa-dd{position:relative}
.tmsa-ddm{display:none;position:absolute;left:0;top:100%;flex-direction:column;min-width:200px;background:#fff;border-top:3px solid #0047AB;box-shadow:0 18px 30px -12px rgba(15,23,42,.35);z-index:50}
.tmsa-dd:hover .tmsa-ddm,.tmsa-dd:focus-within .tmsa-ddm{display:flex}
.tmsa-ddm a{padding:11px 16px;border-bottom:1px solid #E5E5E5}
.tmsa-ddm a:last-child{border-bottom:0}
.tmsa-nav a[aria-current="page"]:not(.tmsa-nav__free):not(.tmsa-nav__btn){border-bottom:3px solid #0047AB}
.tmsa-menu-btn{display:none;font:inherit;font-weight:800;background:#0047AB;color:#fff;border:0;border-radius:3px;padding:10px 18px;min-height:44px;cursor:pointer}
@media(max-width:900px){
.tmsa-menu-btn{display:block}
.tmsa-nav{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:0;padding-bottom:10px}
.tmsa-nav.open{display:flex}
.tmsa-nav>a,.tmsa-dd>a{padding:10px 0}
.tmsa-ddm{position:static;display:flex;box-shadow:none;border-top:0;padding-left:14px}
}

/* ==== Footer ==== */
.tmsa-footer{background:#F1F5FB;color:#334155;font-size:15px;border-top:4px solid #0047AB}
.tmsa-footer__grid{max-width:1280px;margin:0 auto;padding:44px 28px 26px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px 40px}
.tmsa-footer__col{display:flex;flex-direction:column;gap:7px}
.tmsa-footer h2{margin:0 0 6px;font-size:18px;color:#0047AB!important;font-weight:900;text-transform:uppercase;text-align:center;border-bottom:3px solid #0047AB;padding-bottom:8px}
.tmsa-footer a{color:#0047AB}
.tmsa-footer a:hover{color:#00337D}
.tmsa-footer__name{color:#0F172A;font-weight:700}
.tmsa-footer__social{display:flex;flex-wrap:wrap;gap:14px;margin-top:6px}
.tmsa-footer__office{display:flex;gap:14px;align-items:flex-start;line-height:1.6}
.tmsa-footer__office img{width:110px;height:110px;object-fit:cover;border:2px solid #D3E2F5}
.tmsa-footer__base{max-width:1280px;margin:0 auto;padding:14px 28px 24px;border-top:1px solid #D3E2F5;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;font-size:13.5px}

/* ==== Floating WhatsApp and Call buttons ==== */
.tmsa-floatc{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:60;display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.tmsa-floatc a{font-weight:800;font-size:15px;padding:12px 20px;border-radius:26px;text-decoration:none;box-shadow:0 10px 22px -8px rgba(0,0,0,.55)}
.tmsa-floatc__wa{background:#0047AB;color:#fff}
.tmsa-floatc__call{background:#fff;color:#0047AB;border:2px solid #0047AB}
.tmsa-floatc a:hover{color:inherit}
@media(max-width:700px){
.tmsa-floatc{left:0;right:0;bottom:0;flex-direction:row;gap:0;padding-bottom:env(safe-area-inset-bottom,0px);background:#00337D}
.tmsa-floatc a{flex:1;text-align:center;border-radius:0;box-shadow:none;padding:14px 10px;font-size:15px}
body.tmsa-shell-on{padding-bottom:56px}
}

/* ==== TMSA Assistant (AI Engine plugin, kept; restyle only) ====
   Launcher: 60px blue circle, bottom right, above the floating buttons (132px desktop, 72px phone). Window header #0047AB.
   Selectors are the AI Engine class names mwai-*; they must be checked against the installed plugin on staging. */
.mwai-trigger,.mwai-chatbot-container .mwai-trigger{right:18px!important;bottom:132px!important;z-index:70}
.mwai-trigger .mwai-icon-container,.mwai-trigger .mwai-icon{background:#0047AB!important}
.mwai-chatbot,.mwai-window{font-family:Poppins,Arial,sans-serif}
.mwai-window .mwai-header{background:#0047AB!important;color:#fff!important}
.mwai-window .mwai-input button,.mwai-chatbot .mwai-input button{background:#0047AB!important;color:#fff!important}
@media(max-width:700px){.mwai-trigger,.mwai-chatbot-container .mwai-trigger{right:14px!important;bottom:72px!important}}

/* Stage 7 fixes (2026-11-19): chat launcher icon, underlined text links, Contact page repeats */
.mwai-chat.mwai-window .mwai-trigger .mwai-icon-container{background:#0047AB;border-radius:50%;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.mwai-chat.mwai-window .mwai-trigger .mwai-icon{background:transparent!important;border-radius:0;filter:brightness(0) invert(1);padding:14px;box-sizing:border-box}
.tmsa-shell main p a,.tmsa-shell footer a{text-decoration:underline}
.tmsa-contact-form>section.l-section:first-child{display:none}
.tmsa-contact-form .g-cols>.vc_col-sm-6:first-child{display:none}
.tmsa-contact-form .g-cols>.vc_col-sm-6:last-child{width:100%!important;max-width:100%!important;flex:1 1 100%!important}
.tmsa-contact-form .l-section-h{padding-left:0!important;padding-right:0!important}
