/* ─────────────────────────────────────────────────────────────
   Site header, mega menus, phone menu, chat launcher and footer.
   Every page loads this (_includes/head.php, and the homepage),
   before its own styles. Markup: _includes/header.php and
   footer.php; behaviour: Assets/js/site.js.
   ───────────────────────────────────────────────────────────── */

/* ─── Moved from fibre/assets/fibre.css (unchanged) ─── */

/* ─── Header ─── */
#site-header { position: sticky; top: 0; z-index: 50; }
/* In-page anchors (/contact/#message, #faq ...) land below the sticky header,
   not under it. :where() keeps this at zero specificity so a page's own
   scroll-margin-top (FAQ topics, legal clauses) still wins. */
:where(section[id], #message) { scroll-margin-top: 170px; }
@media (max-width: 1023px) { :where(section[id], #message) { scroll-margin-top: 84px; } }
#top-bar { background: #fff; border-bottom: 1px solid #efefef; }
.top-bar-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: #555; transition: color 0.2s ease;
}
.top-bar-link:hover { color: #d82633; }
.social-icon {
    --si: #d82633;
    position: relative; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #9a9a9a; isolation: isolate;
    transition: color 0.22s ease, transform 0.22s cubic-bezier(.34,1.56,.64,1), box-shadow 0.22s ease;
}
/* Brand-colour fill grows from the centre */
.social-icon::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
    background: var(--si); transform: scale(0); transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
/* Name tooltip under the icon */
.social-icon::after {
    content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%;
    transform: translate(-50%, -4px); white-space: nowrap; pointer-events: none;
    padding: 4px 8px; border-radius: 6px; background: #111; color: #fff;
    font-size: 11px; font-weight: 600; letter-spacing: 0; opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease; z-index: 70;
}
.social-icon:hover, .social-icon:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px -4px var(--si); z-index: 80; }  /* above the main bar, so the tooltip shows */
#top-bar .social-icon:hover, #top-bar .social-icon:focus-visible { color: #fff !important; }
.social-icon:hover::before, .social-icon:focus-visible::before { transform: scale(1); }
.social-icon:hover::after, .social-icon:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.social-icon:hover svg { animation: si-pop 0.35s ease; }
@keyframes si-pop { 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1) rotate(0); } }
.si-fb { --si: #1877F2; }
.si-ig { --si: #dd2a7b; }
.si-ig::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.si-li { --si: #0A66C2; }
.si-wa { --si: #25D366; }
.si-call, .si-mail { --si: #d82633; }

/* Top bar: Network Status pill with a live pulse and signal bars */
.ns-pill {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 10px; border-radius: 999px;
    border: 1px solid rgba(34,197,94,0.28); background: rgba(34,197,94,0.07);
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em; color: #3f3f3f;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
/* A soft light sweeps across every few seconds */
.ns-pill::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.22), transparent);
    animation: ns-sweep 4.5s ease-in-out infinite;
}
.ns-pill:hover { background: rgba(34,197,94,0.13); border-color: rgba(34,197,94,0.5); color: #15803d; box-shadow: 0 4px 14px -6px rgba(34,197,94,0.6); }
.ns-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.ns-dot::before, .ns-dot::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; background: #22c55e;
    animation: ns-ping 2.4s cubic-bezier(0,0,.2,1) infinite;
}
.ns-dot::after { animation-delay: 1.2s; }
.ns-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.ns-bars i { display: block; width: 2.5px; border-radius: 1px; background: #22c55e; animation: ns-bar 1.6s ease-in-out infinite; }
.ns-bars i:nth-child(1) { height: 4px;  animation-delay: 0s; }
.ns-bars i:nth-child(2) { height: 6px;  animation-delay: .15s; }
.ns-bars i:nth-child(3) { height: 8px;  animation-delay: .3s; }
.ns-bars i:nth-child(4) { height: 11px; animation-delay: .45s; }
.ns-go { width: 0; height: 13px; opacity: 0; margin-left: -8px; transition: width 0.2s ease, opacity 0.2s ease, margin 0.2s ease, transform 0.2s ease; }
.ns-pill:hover .ns-go { width: 13px; opacity: 1; margin-left: -2px; transform: translate(1px, -1px); }
@keyframes ns-ping  { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes ns-bar   { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes ns-sweep { 0%, 55% { left: -40%; } 100% { left: 110%; } }
[data-theme="dark"] .ns-pill { color: var(--tx-1); background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
[data-theme="dark"] .ns-pill:hover { color: #4ade80; }
[data-theme="dark"] .social-icon::after { background: #fff; color: #111; }
@media (prefers-reduced-motion: reduce) {
    .ns-dot::before, .ns-dot::after, .ns-bars i, .ns-pill::after, .social-icon:hover svg { animation: none; }
    .ns-pill::after { display: none; }
}

.header-dd {
    position: absolute; top: calc(100% + 8px); left: 0;
    background: #fff; border: 1px solid #f0f0f0;
    border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.10);
    min-width: 200px; padding: 6px; z-index: 100;
    opacity: 0; pointer-events: none; transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.header-dd.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.header-dd.centered { left: 50%; transform: translateX(-50%) translateY(-6px); }
.header-dd.centered.open { transform: translateX(-50%) translateY(0); }
.dd-item {
    display: block; padding: 9px 14px;
    font-size: 13px; font-weight: 500; color: #444;
    border-radius: 10px; transition: all 0.18s ease;
}
.dd-item:hover { color: #d82633; background: #fef5f5; }
.dd-item.active { color: #d82633; }
.dd-divider { height: 1px; background: #f5f5f5; margin: 4px 8px; }

#main-nav { background: #fff; border-bottom: 1px solid #ebebeb; box-shadow: 0 1px 12px rgba(0,0,0,0.05); will-change: box-shadow; }
.nav-link {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: #444; white-space: nowrap;
    padding: 6px 0; position: relative;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: #d82633;
    transform: scaleX(0); transition: transform 0.22s ease;
    border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: #d82633; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.mobile-nav-link {
    display: block; padding: 11px 0;
    font-size: 13px; font-weight: 700; color: #333;
    border-bottom: 1px solid #f5f5f5;
    text-transform: uppercase; letter-spacing: 0.08em;
    transition: color 0.2s ease;
}
.mobile-nav-link:hover { color: #d82633; }

/* Dark mode */
[data-theme="dark"] #top-bar        { background: var(--hd-bg) !important; border-color: var(--hd-bd) !important; }
[data-theme="dark"] #main-nav       { background: var(--hd-bg) !important; border-color: var(--hd-bd) !important; box-shadow: 0 1px 0 var(--hd-bd) !important; }
[data-theme="dark"] #mobile-menu    { background: var(--hd-bg) !important; border-color: var(--hd-bd) !important; }
[data-theme="dark"] .top-bar-link   { color: var(--tx-2); }
[data-theme="dark"] .social-icon    { color: var(--hd-muted); }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: block; }
[data-theme="dark"] .nav-link       { color: var(--hd-tx); }
[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .nav-link:hover { color: var(--brand); }
[data-theme="dark"] .mobile-nav-link { color: var(--tx-1); border-color: var(--bd); }
[data-theme="dark"] .header-dd      { background: var(--hd-bg); border-color: var(--hd-bd); box-shadow: 0 16px 48px rgba(0,0,0,0.35); }
[data-theme="dark"] .dd-item        { color: var(--tx-2); }
[data-theme="dark"] .dd-item.active { color: var(--brand); }
[data-theme="dark"] .dd-item:hover  { background: rgba(216,38,51,0.08) !important; }
[data-theme="dark"] .dd-divider     { background: var(--bd); }

/* Theme toggle */
#theme-toggle {
    width: 34px; height: 34px;
    border-radius: 9px;
    border: 1px solid var(--bd-md);
    background: transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: var(--hd-muted);
    transition: all 0.22s ease; flex-shrink: 0;
}
#theme-toggle:hover { border-color: var(--brand); color: var(--brand); background: rgba(216,38,51,0.06); }
[data-theme="dark"] #theme-toggle { border-color: #2a2a2a; color: #888; }
[data-theme="dark"] #theme-toggle:hover { border-color: var(--brand); color: var(--brand); }

.mobile-contact { display: flex; gap: 8px; padding: 14px 0 2px; }
.mobile-contact a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border: 1px solid #eee; border-radius: 10px; color: #374151; font-size: 12.5px; font-weight: 700; }
.mobile-contact svg { width: 15px; height: 15px; color: #d82633; }
[data-theme="dark"] .mobile-contact a { border-color: var(--bd); color: var(--tx-1); }

/* ─── Sticky chat launcher (mascot) ─── */
#chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 9999; }
@keyframes chat-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
#chat-launcher-btn {
    display: block; position: relative; width: 118px; height: auto;
    background: transparent; border: none; padding: 0; margin: 0;
    cursor: pointer; line-height: 0;
    animation: chat-bob 3.2s ease-in-out infinite;
}
#chat-launcher-btn img { width: 100%; height: auto; display: block; pointer-events: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.30)); }
.chat-launcher-fallback {
    display: none; width: 76px; height: 76px; border-radius: 50%;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #d82633, #99151c); color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}
.chat-launcher-ping {
    position: absolute; top: -8px; right: 2px; width: 13px; height: 13px;
    border-radius: 50%; background: #22c55e; border: 2px solid #fff;
    animation: chat-ping 2.4s ease-out infinite;
}
[data-theme="dark"] .chat-launcher-ping { border-color: var(--bg); }
@keyframes chat-ping {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
#chat-menu {
    position: absolute; right: 6px; bottom: calc(100% + 6px); width: 236px;
    background: var(--bg-card); border: 1px solid var(--bd); border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.20); padding: 10px;
    display: flex; flex-direction: column; gap: 4px;
    opacity: 0; visibility: hidden;
    transform: translateY(12px) scale(0.94); transform-origin: bottom right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
#chat-launcher.open #chat-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-menu-hd { padding: 4px 8px 8px; font-weight: 800; font-size: 13.5px; color: var(--tx-1); border-bottom: 1px solid var(--bd); margin-bottom: 4px; }
.chat-menu-item {
    display: flex; align-items: center; gap: 11px; width: 100%;
    padding: 9px 8px; border-radius: 12px; border: none; background: transparent;
    text-decoration: none; text-align: left; font-family: inherit; cursor: pointer;
    transition: background 0.18s ease;
}
.chat-menu-item:hover { background: rgba(216,38,51,0.08); }
.chat-menu-icon { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.chat-menu-icon--wa   { background: #25D366; }
.chat-menu-icon--call { background: linear-gradient(135deg, #d82633, #99151c); }
.chat-menu-icon--live { background: #a90000; }
#chat-menu-livechat[aria-disabled="true"] { cursor: default; opacity: 0.75; }
/* Live chat (Yeastar widget, see site.js). The widget draws its own iframe container; these
   rules place it. Open: a panel bottom right (full screen on phones) and the mascot hides.
   Not open: hidden (the mascot menu is the way back in). */
body.lc-open #chat-launcher { display: none; }
body:not(.lc-open):not(.lc-btn) #ys-chatbot-container { display: none !important; }
body.lc-open #ys-chatbot-container { width: 360px !important; height: min(650px, calc(100vh - 40px)) !important; bottom: 20px !important; right: 20px !important; transform: none !important; }
/* Backup only (body.lc-btn): if the widget ever stops opening by itself, its own 60px button
   (drawn flush in its frame's corner) is shown above the mascot. */
body.lc-btn:not(.lc-open) #ys-chatbot-container { width: 60px !important; height: 60px !important; bottom: 140px !important; right: 40px !important; transform: none !important; }
@media (max-width: 640px) {
    body.lc-btn:not(.lc-open) #ys-chatbot-container { bottom: 92px !important; right: 10px !important; }
    body.lc-open #ys-chatbot-container { width: 100% !important; height: 100% !important; max-height: none !important; bottom: 0 !important; right: 0 !important; border-radius: 0 !important; }
}
body.mm-open #ys-chatbot-container { display: none !important; }
.chat-menu-title { display: block; font-weight: 700; font-size: 13.5px; color: var(--tx-1); line-height: 1.3; }
.chat-menu-sub   { display: block; font-size: 11.5px; color: var(--tx-2); line-height: 1.3; }
@media (max-width: 640px) {
    #chat-launcher { right: 10px; bottom: 10px; }
    #chat-launcher-btn { width: 60px; }
    .chat-launcher-fallback { width: 44px; height: 44px; }
    .chat-launcher-ping { width: 9px; height: 9px; top: 0; right: 0; }
    #chat-menu { width: 210px; }
}

/* ─── Footer ─── */
.ft-link { color: rgba(255,255,255,0.48); font-size: 13px; text-decoration: none; transition: color 0.18s; display: inline-block; }
.ft-link:hover { color: #fff; }
.ft-head { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; }
.ft-soc { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); transition: all 0.18s; flex-shrink: 0; }
.ft-soc:hover { background: #d82633; border-color: #d82633; color: #fff; }
/* Support column: quick actions and the ISPA badge (dark lettering, so on white) */
.ft-help { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 20px; }
.ft-help-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 600; transition: background .18s, border-color .18s, color .18s; }
.ft-help-btn svg { width: 15px; height: 15px; }
.ft-help-btn:hover { border-color: #d82633; color: #fff; background: rgba(216,38,51,0.18); }
.ft-help-btn.is-red { background: #d82633; border-color: #d82633; color: #fff; }
.ft-help-btn.is-red:hover { background: #b81f2b; border-color: #b81f2b; }
.ft-ispa { display: inline-flex; margin-top: 20px; padding: 8px 12px; border-radius: 10px; background: #fff; opacity: .85; transition: opacity .18s, transform .18s; }
.ft-ispa:hover { opacity: 1; transform: translateY(-2px); }
.ft-ispa img { display: block; width: 95px; height: 25px; }

/* Logos (header and footer): a lift, a soft red glow and a light sweep across the logo's shape */
.logo-shine { position: relative; display: inline-block; line-height: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.logo-sheen { position: absolute; inset: 0; pointer-events: none;
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.95) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 140% 0; }
.logo-shine.is-dark .logo-sheen { background-image: linear-gradient(105deg, transparent 38%, #ff4d5a 50%, transparent 62%); }
.logo-shine:hover, .logo-shine:focus-visible { transform: translateY(-1px) scale(1.03); filter: drop-shadow(0 8px 18px rgba(216,38,51,0.28)); }
.logo-shine:hover .logo-sheen, .logo-shine:focus-visible .logo-sheen { background-position: -40% 0; transition: background-position .9s ease; }
@media (prefers-reduced-motion: reduce) { .logo-shine, .logo-shine:hover { transform: none; transition: none; } .logo-sheen { display: none; } }
.ft-label { color: rgba(255,255,255,0.38); display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.ft-text { color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.6; }

@media (max-width: 767px) {
    /* ── Header: hide the utility bar, slimmer main bar ── */
    #top-bar { display: none; }
    #main-nav .h-24 { height: 64px; gap: 12px; }
    #main-nav .h-14 { height: 38px; }
}

/* ═════════════════════════════════════════════════════════════
   Mega menus
   ═════════════════════════════════════════════════════════════ */
#main-nav { position: relative; }
.mega-wrap { position: relative; }
.mega-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.dd-chev { transition: transform 0.2s ease; }
[aria-expanded="true"] > .dd-chev { transform: rotate(180deg); }

.mega {
    z-index: 60; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.mega.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mega-card {
    background: var(--bg-card, #fff); border: 1px solid var(--bd, #f0f0f0);
    border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
/* Invisible bridge over the gap between the menu item and its panel, so the mouse can cross it */
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }

/* Every mega menu: full width under the main bar, three columns */
.mega { position: absolute; left: 0; right: 0; top: 100%; transform: translateY(-6px); }
.mega.open { transform: none; }
.mega .mega-card { margin-top: 8px; }
.mega-grid {
    display: grid; grid-template-columns: 236px minmax(0, 1fr) 262px;
    max-height: calc(100vh - 176px); overflow-y: auto; overscroll-behavior: contain;
}

/* Left rail + mascot */
.mega-side { padding: 18px 14px 10px; border-right: 1px solid var(--bd, #f0f0f0); display: flex; flex-direction: column; }
.mega-rail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mega-rail-item {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border-radius: 14px; font-size: 14px; font-weight: 600; color: var(--tx-1, #111);
    transition: background 0.18s ease, color 0.18s ease;
}
.mega-rail-item span { flex: 1; }
.mega-rail-item svg { flex-shrink: 0; }
.mega-rail-icon { width: 20px; height: 20px; color: var(--tx-2, #555); }
.mega-rail-chev { width: 16px; height: 16px; color: var(--tx-3, #999); }
.mega-rail-item:hover { background: var(--bg-alt, #f5f5f5); }
.mega-rail-item.is-active { background: #fef0f1; color: #d82633; }
.mega-rail-item.is-active svg { color: #d82633; }
.mega-mascot { margin-top: auto; padding: 22px 0 6px; display: flex; justify-content: center; }

/* Mascot movement (from the mascot pack): each layer runs its own back-and-forth
   cycle, so the combined motion never shows a restart. Paused while the menu is closed. */
.mascot { position: relative; width: 150px; aspect-ratio: 400 / 366; margin-bottom: 8%; }
.mascot__drift { position: absolute; inset: 0; animation: mascot-drift 7s ease-in-out infinite alternate; }
.mascot__bob   { position: absolute; inset: 0; animation: mascot-bob 2.6s ease-in-out infinite alternate; }
.mascot__sway  { position: absolute; inset: 0; transform-origin: 50% 75%; animation: mascot-sway 4.2s ease-in-out infinite alternate; }
.mascot img { display: block; width: 100%; height: 100%; }
.mascot__shadow {
    position: absolute; left: 30%; right: 30%; bottom: -6%; height: 6%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,0,0,.28), rgba(0,0,0,0));
    animation: mascot-shadow 2.6s ease-in-out infinite alternate;
}
.mega:not(.open) .mascot * { animation-play-state: paused; }
@keyframes mascot-bob    { from { transform: translateY(0); }     to { transform: translateY(-4%); } }
@keyframes mascot-sway   { from { transform: rotate(-3.5deg); }   to { transform: rotate(3.5deg); } }
@keyframes mascot-drift  { from { transform: translateX(-1.5%); } to { transform: translateX(1.5%); } }
@keyframes mascot-shadow { from { transform: scale(1); opacity: 1; } to { transform: scale(.8); opacity: .6; } }

/* Middle panes */
.mega-panes { padding: 26px 28px; min-width: 0; }
.mega-pane-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.mega-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #d82633; margin: 0 0 4px; }
.mega-title { font-size: 24px; font-weight: 900; color: var(--tx-1, #111); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.mega-sub { font-size: 13.5px; color: var(--tx-2, #555); margin: 6px 0 0; line-height: 1.5; }
.mega-all {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
    font-size: 13px; font-weight: 700; color: #d82633;
    text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.mega-all svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.mega-all:hover svg { transform: translateX(3px); }

/* Network tiles */
.mega-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-tile {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    border: 1px solid var(--bd, #f0f0f0); border-radius: 12px; overflow: hidden;
    background: var(--bg-card, #fff);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.mega-tile:hover { border-color: rgba(216,38,51,0.35); box-shadow: 0 8px 22px rgba(0,0,0,0.08); transform: translateY(-2px); }
.mega-logo, .mega-more-num { grid-column: 1 / -1; aspect-ratio: 2 / 1; display: block; overflow: hidden; background: #f4f4f4; }
.mega-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega-logo--text, .mega-more-num { display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; }
.mega-logo--text { background: #1e1f28; color: #fff; font-weight: 800; font-size: 14px; }
.mega-more-num { background: #fef0f1; color: #d82633; font-size: 26px; font-weight: 900; }
.mega-tile-txt { padding: 8px 4px 9px 10px; min-width: 0; }
.mega-tile-name { display: block; font-size: 12.5px; font-weight: 700; color: var(--tx-1, #111); line-height: 1.3; }
.mega-tile-tag { display: block; font-size: 11px; color: var(--tx-2, #555); line-height: 1.3; margin-top: 1px; }
.mega-tile-go {
    margin-right: 9px; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #fef0f1; color: #d82633; transition: background 0.18s ease, color 0.18s ease;
}
.mega-tile-go svg { width: 13px; height: 13px; }
.mega-tile:hover .mega-tile-go { background: #d82633; color: #fff; }

/* Single-product panes (wireless, LTE, VoIP, hosting...): one photo card filling the panel,
   with the points as pills and the button over a dark fade at the bottom */
.mega-panes { display: flex; flex-direction: column; }
.mega-pane:not([hidden]) { display: flex; flex-direction: column; flex: 1; }
.mega-feature {
    position: relative; flex: 1; min-height: 280px; overflow: hidden; border-radius: 18px;
    display: flex; align-items: flex-end; background: #141416;
}
.mega-feature-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mega-feature:hover .mega-feature-img { transform: scale(1.03); }
.mega-feature::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.55) 42%, rgba(10,10,10,0.05) 78%);
}
.mega-feature-body { position: relative; z-index: 1; padding: 22px 24px; width: 100%; }
.mega-points { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mega-points li {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
    font-size: 13px; font-weight: 600; line-height: 1.3; color: #fff;
    background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mega-points svg { width: 15px; height: 15px; color: #ff5a66; flex-shrink: 0; }
.mega-feature .mega-feature-body > a { vertical-align: middle; }
.mega-feature .mega-more { display: inline-flex; margin: 0 0 0 16px; color: rgba(255,255,255,0.85); }
.mega-feature .mega-more:hover { color: #fff; }
/* Cut-out product shots (IoT tracker): light card, photo shown whole on the right */
.mega-feature.is-contain { background: linear-gradient(135deg, #f6f6f7 0%, #ebebee 100%); align-items: center; }
.mega-feature.is-contain::after { display: none; }
.mega-feature.is-contain .mega-feature-img { left: auto; width: 42%; object-fit: contain; padding: 18px; }
.mega-feature.is-contain .mega-feature-body { width: 60%; }
.mega-feature.is-contain .mega-points li { color: var(--tx-1, #111); background: #fff; border-color: rgba(0,0,0,0.08); backdrop-filter: none; }
.mega-feature.is-contain .mega-points svg { color: #d82633; }
.mega-feature.is-contain .mega-more { color: var(--tx-2, #555); }
.mega-feature.is-contain .mega-more:hover { color: #d82633; }

/* Link panes (Support): two columns of icon links */
.mega-linkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.mega-linkgrid .mega-link { border: 1px solid transparent; }
.mega-linkgrid .mega-link:hover { border-color: rgba(216,38,51,0.18); }
.mega-linkgrid.is-compact .mega-link { align-items: center; padding: 9px 12px; }
.mega-linkgrid.is-compact .mega-link-icon { width: 34px; height: 34px; border-radius: 10px; }
/* Photo under a short list of links, filling the rest of the panel */
.mega-photo { position: relative; flex: 1; min-height: 110px; margin-top: 16px; border-radius: 16px; overflow: hidden; background: var(--bg-alt, #f5f5f5); }
.mega-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-more { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--tx-2, #555); }
.mega-more:hover { color: #d82633; }
.mega-more svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.mega-more:hover svg { transform: translateX(3px); }

/* "Need help choosing?" */
.mega-help {
    margin: 14px; padding: 22px; border-radius: 18px;
    background: linear-gradient(160deg, #fff6f6 0%, #fdeaea 100%);
    display: flex; flex-direction: column;
}
.mega-help-title { font-size: 18px; font-weight: 900; color: var(--tx-1, #111); margin: 0 0 6px; letter-spacing: -0.01em; }
.mega-help-text { font-size: 13px; color: var(--tx-2, #555); line-height: 1.55; margin: 0; }
/* Support hours under the help text: one row per day range, times aligned */
.mega-help .mega-help-hours { display: grid; gap: 2px; margin: 8px 0 0; font-size: 13px; line-height: 1.55; }
.mega-help .mega-help-hours div { display: flex; justify-content: space-between; gap: 12px; }
.mega-help .mega-help-hours dt { margin: 0; font-size: 13px; font-weight: 400; color: var(--tx-2, #555); }
.mega-help .mega-help-hours dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--tx-2, #555); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mega-help-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0; white-space: nowrap; }
.mega-help-or { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-2, #555); margin: 0 0 4px; }
.mega-help-link { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13px; font-weight: 600; color: var(--tx-1, #111); }
.mega-help-link:hover { color: #d82633; }
.mega-help-link svg { width: 16px; height: 16px; color: #d82633; flex-shrink: 0; }

/* 1280–1439px: tighter spacing so the whole bar (logo to Check Coverage) fits */
@media (min-width: 1280px) and (max-width: 1439px) {
    #main-nav .h-24 { gap: 20px; }
    #nav-links { gap: 22px; }
    #main-nav .h-14 { height: 50px; }
}
.mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 14px; transition: background 0.18s ease; }
.mega-link:hover { background: #fef5f5; }
.mega-link-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #fef0f1; color: #d82633; transition: background 0.18s ease, color 0.18s ease;
}
.mega-link-icon svg { width: 18px; height: 18px; }
.mega-link:hover .mega-link-icon { background: #d82633; color: #fff; }
.mega-link-title { display: block; font-size: 14px; font-weight: 700; color: var(--tx-1, #111); line-height: 1.35; }
.mega-link:hover .mega-link-title { color: #d82633; }
.mega-ext { display: inline-block; width: 12px; height: 12px; color: var(--tx-3, #999); vertical-align: -1px; margin-left: 2px; }
.mega-link-sub { display: block; font-size: 12.5px; color: var(--tx-2, #555); line-height: 1.45; margin-top: 2px; }
/* Dark mode */
[data-theme="dark"] .mega-card { box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
[data-theme="dark"] .mega-rail-item.is-active,
[data-theme="dark"] .mega-link-icon,
[data-theme="dark"] .mega-tile-go,
[data-theme="dark"] .mega-more-num { background: rgba(216,38,51,0.14); }
[data-theme="dark"] .mega-link:hover { background: rgba(216,38,51,0.08); }
[data-theme="dark"] .mega-tile { background: var(--bg-alt); }
[data-theme="dark"] .mega-help { background: linear-gradient(160deg, rgba(216,38,51,0.12) 0%, rgba(216,38,51,0.04) 100%); }

@media (prefers-reduced-motion: reduce) {
    .mascot__drift, .mascot__bob, .mascot__sway, .mascot__shadow { animation: none; }
    .mega, .mega-tile { transition: none; }
}

/* ═════════════════════════════════════════════════════════════
   Phone and tablet menu (drill-down lists)
   ═════════════════════════════════════════════════════════════ */
#mobile-menu { max-height: calc(100vh - 152px); max-height: calc(100dvh - 152px); overflow-y: auto; overscroll-behavior: contain; }
.mm-next { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; border-width: 0 0 1px; text-align: left; cursor: pointer; font-family: inherit; }
.mm-next > svg { width: 17px; height: 17px; color: var(--tx-3, #999); flex-shrink: 0; }
.mm-ic { display: inline-flex; align-items: center; gap: 10px; }
.mm-ic svg { width: 18px; height: 18px; color: #d82633; flex-shrink: 0; }
.mm-back { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0 10px; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; color: #d82633; }
.mm-back svg { width: 16px; height: 16px; }
.mm-title { font-size: 20px; font-weight: 900; color: var(--tx-1, #111); letter-spacing: -0.01em; margin: 2px 0 8px; }
.mm-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-bottom: 12px; border-radius: 12px; background: #fef5f5; color: #d82633; font-size: 14px; font-weight: 700; }
.mm-all svg { width: 16px; height: 16px; flex-shrink: 0; }
.mm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 8px; }
@media (min-width: 640px) { .mm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .mm-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mm-tile { display: flex; flex-direction: column; border: 1px solid var(--bd, #f0f0f0); border-radius: 12px; overflow: hidden; background: var(--bg-card, #fff); }
.mm-tile img, .mm-tile-text { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; background: #f4f4f4; }
.mm-tile-text { display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px; background: #1e1f28; color: #fff; font-size: 13px; font-weight: 800; }
.mm-tile-name { padding: 7px 10px 8px; font-size: 12.5px; font-weight: 700; color: var(--tx-1, #111); line-height: 1.3; }
.mm-link { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.mm-group { padding: 14px 0 2px; }
body.mm-open #chat-launcher { display: none; }
[data-theme="dark"] .mm-all { background: rgba(216,38,51,0.12); }
[data-theme="dark"] .mm-link { border-color: var(--bd); }
@media (max-width: 767px) {
    #mobile-menu { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); }
}

/* ─── Grey dotted sections (every page, homepage too) ─── */
/* Section with the homepage's red dot grid (packages / testimonials look) */
.fh-dots {
    background-color: #f5f5f5;
    background-image: radial-gradient(circle, rgba(216,38,51,0.22) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    /* clip, not hidden: hidden turns the section into a scroll container,
       which silently stops position: sticky inside it (the FAQ headings).
       hidden stays as the fallback for browsers without clip. */
    overflow: hidden;
    overflow: clip;
}

/* Interactive dots: the canvas replaces the CSS dots (Assets/js/dots.js, mouse devices only) */
.fh-dots.has-dots-canvas { background-image: none; }
.fh-dots-canvas { position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; }
.fh-dots > :not(.fh-dots-canvas) { position: relative; z-index: 1; }

/* ─── FAQ section heading (every page with an FAQ, homepage included) ─── */
@media (max-width: 767px) {
    /* ── FAQs: questions first, then contact + related links; no mascot ── */
    .faq-grid { display: flex !important; flex-direction: column; gap: 18px !important; }
    .faq-heading { display: contents; }
    .faq-heading > span { order: 1; align-self: flex-start; margin-bottom: 0 !important; }
    .faq-heading > h2 { order: 2; margin-bottom: 0 !important; }
    .faq-grid > .space-y-3 { order: 3; }
    .faq-heading > div { order: 4; }
    .faq-heading img { display: none; }
    .fh-related { order: 5; margin-top: 0; padding-top: 18px; }
}
/* Hub FAQ heading: title + button left, the mascot larger on the right; related links close below */
.hub-faq-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hub-faq-mascot { width: 260px; max-width: 40%; height: auto; margin: 0 -8px -6px 0; }
#faq .hub-faq-top + .fh-related { margin-top: 26px; padding-top: 20px; }
@media (max-width: 767px) {
    /* Phones, as on the network pages: heading, questions, then the button and related links (no mascot) */
    #faq .hub-faq-top, #faq .hub-faq-top > div { display: contents; }
    #faq .hub-faq-top > div > span { order: 1; align-self: flex-start; margin-bottom: 0 !important; }
    #faq .hub-faq-top h2 { order: 2; margin-bottom: 0 !important; }
    #faq .hub-faq-top > div > a { order: 4; align-self: flex-start; }
    #faq .hub-faq-top + .fh-related { margin-top: 0; padding-top: 18px; }
}

/* No lone last words: headings balance their lines, body text avoids a single-word last line
   (browsers without text-wrap support simply wrap as before) */
h1, h2, h3, h4, h5, h6, .slide-h1 { text-wrap: balance; }
p, li, dd, dt, figcaption, blockquote, small, label, td, th { text-wrap: pretty; }

/* Dark mode: near-black heading text never stays dark (e.g. careers "We're always looking") */
[data-theme="dark"] .text-gray-900 { color: var(--tx-1, #e3e4e9); }

/* Light mode: small grey labels a shade darker so they read on white (#9ca3af was 2.5:1) */
:root:not([data-theme="dark"]) :is(.pkg-pm, .pkg-side-sub, .tool-note, .net-meta, .kb-guide-cat, .kb-lights th,
    .kb-stats dt, .kb-share-note, .kb-iptool-meta, .planner-result small, .ga-tier-label, .kb-gauge-val span, .kb-targets span) { color: #6b7280; }
/* Network-coloured card labels: a touch darker on white so light brand colours (Frogfoot green) read */
:root:not([data-theme="dark"]) .pkg-eyebrow { color: color-mix(in srgb, var(--net, #6b7280) 72%, #000); }
:root:not([data-theme="dark"]) #packages :is(.text-gray-400) { color: #6b7280; }
/* ...but never on the red or dark panels: the planner's "download / upload" labels, VoIP calculator note */
:root:not([data-theme="dark"]) .planner-result .planner-need small { color: rgba(255,255,255,0.85); }
:root:not([data-theme="dark"]) .vp-calc .tool-note { color: rgba(255,255,255,0.6); }

/* Fibre hub "Why choose Tech5": the left column is right-aligned for the desktop layout around
   the mascot; on phones and tablets every point reads left-aligned with its icon first */
@media (max-width: 1023px) {
    #why-choose .text-right { text-align: left; flex-direction: row-reverse; justify-content: flex-end; }
}

/* ── Enquiry pop-up (_includes/footer.php, Assets/js/enquiry.js) ── */
.enq { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.enq[hidden] { display: none; }
html.enq-open { overflow: hidden; }
.enq-backdrop { position: absolute; inset: 0; background: rgba(8,8,10,0.62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.enq-panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 24px; background: #fff; box-shadow: 0 40px 100px rgba(0,0,0,0.45); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.enq.is-in .enq-backdrop, .enq.is-in .enq-panel { opacity: 1; transform: none; }
.enq-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.enq-x:hover { background: rgba(255,255,255,0.3); }
.enq-x svg { width: 18px; height: 18px; }
.enq.is-sent .enq-x { background: #f3f4f6; color: #111; }
.enq-head { position: relative; padding: 26px 28px 22px; color: #fff; background: linear-gradient(150deg, #d82633, #99151c); overflow: hidden; }
.enq-head::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.16) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.enq-head > * { position: relative; }
.enq.is-sent .enq-head { display: none; }
.enq-pill { display: inline-block; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 5px 12px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.enq-title { margin: 12px 48px 0 0; color: #fff; font-size: clamp(22px, 3vw, 28px); font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; }
.enq-context { margin-top: 8px; color: rgba(255,255,255,0.88); font-size: 14px; font-weight: 600; }
.enq-context[hidden] { display: none; }
.enq-form { padding: 22px 28px 24px; }
.enq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enq-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.enq-field[hidden] { display: none; }
.enq-field.is-full { grid-column: 1 / -1; }
.enq-field > span { color: #374151; font-size: 13px; font-weight: 700; }
.enq-field small { color: #6b7280; font-weight: 500; }
.enq-field input, .enq-field textarea { font: inherit; font-size: 15px; color: #111; padding: 11px 13px; border: 1.5px solid #e5e7eb; border-radius: 12px; background: #fafafa; outline: none; transition: border-color .2s, background .2s; min-width: 0; }
.enq-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.enq-field input:focus, .enq-field textarea:focus { border-color: #d82633; background: #fff; }
.enq-send { width: 100%; justify-content: center; margin-top: 16px; padding: 14px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 15.5px; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.enq-send:disabled { opacity: .7; cursor: wait; }
.enq-error { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 13.5px; line-height: 1.45; }
.enq-error[hidden] { display: none; }
.enq-error a { color: inherit; font-weight: 700; text-decoration: underline; }
.enq-note { margin-top: 10px; color: #6b7280; font-size: 12.5px; text-align: center; }
.enq-done { display: none; padding: 46px 30px 34px; text-align: center; }
.enq.is-sent .enq-form { display: none; }
.enq.is-sent .enq-done { display: block; }
.enq-done-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #16a34a; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(22,163,74,0.14); animation: enq-pop .4s cubic-bezier(.2,1.4,.4,1); }
.enq-done-icon svg { width: 30px; height: 30px; stroke-width: 3; }
@keyframes enq-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.enq-done h2 { color: #111; font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.enq-done p { color: #4b5563; font-size: 15px; line-height: 1.6; max-width: 400px; margin: 0 auto 22px; }
.enq-done-close { display: inline-flex; justify-content: center; min-width: 160px; padding: 13px 22px; border-radius: 12px; border: 0; color: #fff; font-weight: 700; cursor: pointer; }
[data-theme="dark"] .enq-panel { background: #16171d; }
[data-theme="dark"] .enq-field > span, [data-theme="dark"] .enq-done h2 { color: #fff; }
[data-theme="dark"] .enq-field input, [data-theme="dark"] .enq-field textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: #fff; }
[data-theme="dark"] .enq-done p, [data-theme="dark"] .enq-note, [data-theme="dark"] .enq-field small { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .enq.is-sent .enq-x { background: rgba(255,255,255,0.08); color: #fff; }
@media (max-width: 559px) {
    .enq { padding: 0; align-items: flex-end; }
    .enq-panel { max-height: 94vh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
    .enq-head { padding: 22px 20px 18px; }
    .enq-form { padding: 18px 20px 22px; }
    .enq-grid { grid-template-columns: 1fr; }
    .enq-field input, .enq-field textarea { font-size: 16px; }   /* no zoom on focus in iOS */
}
@media (prefers-reduced-motion: reduce) { .enq-backdrop, .enq-panel { transition: none; } .enq-done-icon { animation: none; } }

/* Spam trap field in the enquiry pop-up: off screen, never seen */
.enq .ct-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Sticky coverage button (_includes/footer.php): bottom left, opposite the chat mascot ── */
.cov-fab { position: fixed; left: 20px; bottom: 20px; z-index: 9998; display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; background: #fff; color: #111; box-shadow: 0 12px 30px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, bottom .35s ease; }
.cov-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(216,38,51,0.28), 0 0 0 1px rgba(216,38,51,0.25); }
.cov-fab-icon { position: relative; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #d82633, #99151c); }
.cov-fab-icon svg { width: 18px; height: 18px; }
.cov-fab-icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(216,38,51,0.5); animation: cov-fab-ping 2.4s ease-out infinite; }
@keyframes cov-fab-ping { 0% { box-shadow: 0 0 0 0 rgba(216,38,51,0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(216,38,51,0); } }
.cov-fab-text { display: flex; flex-direction: column; font-size: 14.5px; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.cov-fab-text small { font-size: 11px; font-weight: 600; color: #6b7280; }
[data-theme="dark"] .cov-fab { background: #1c1d23; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.1); }
[data-theme="dark"] .cov-fab-text small { color: rgba(255,255,255,0.6); }
@media (max-width: 640px) {
    .cov-fab { left: 10px; bottom: 14px; padding: 5px 14px 5px 5px; gap: 8px; }
    .cov-fab-icon { width: 34px; height: 34px; }
    .cov-fab-text { font-size: 13.5px; }
    .cov-fab-text small { display: none; }
    body.has-action-bar .cov-fab { bottom: 88px; }   /* network pages: above the slim price bar */
}
@media (prefers-reduced-motion: reduce) { .cov-fab-icon::after { animation: none; } }
@media print { .cov-fab { display: none; } }

/* ── Subtle depth for white cards on white / light-grey sections (light mode) ──
   Found by checking every page for white boxes whose shadow is missing or too faint to see.
   Cards with their own :hover shadow only get this at rest; the rest keep it on hover too. */
html:not([data-theme="dark"]) :is(.net-card, .inc-item, .guide-card, .hs-guide-card, .fq-topic, .addon-card,
    .ga-why-card, .ga-camp, .ct-link, .bl-card, .vp-tile, .lte-vs-card, .bg-white.shadow-sm,
    .pkg-card:not(.featured)):not(:hover),
html:not([data-theme="dark"]) :is(.faq-item, .care-card, .planner, .kb-guide, .kb-tool, .kb-tool-row, .ga-tier,
    .ct-team, .cz-notices > li, .hs-step, .wl-links, .lte-who, .vs-wrap,
    .tool-tabs [role="tab"]:not([aria-selected="true"]), .ct-router-tabs button:not([aria-selected="true"])) {
    box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 4px 14px rgba(17,17,17,0.045);
}

/* ---------- Ways to pay: scrolling strip above the footer ($paymentStrip) ---------- */
.pay-strip { background: #111; border-top: 2px solid #d82633; }
.pay-strip + footer > div:first-child { display: none; }   /* one red line above strip + footer, not two */
.pay-strip-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 20px; }
.pay-strip-label { flex-shrink: 0; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
.pay-strip-wrap { flex: 1; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.pay-strip-track { display: flex; align-items: center; row-gap: 8px; width: max-content; margin: 0; padding: 0; list-style: none; }
.pay-strip-track.is-moving { animation: pay-scroll var(--pay-dur, 30s) linear infinite; }
.pay-strip-wrap:hover .pay-strip-track { animation-play-state: paused; }
@keyframes pay-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pm { flex-shrink: 0; margin-right: 12px; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; color: #fff; }
.pm-card    { background: #1a1f71; }
.pm-debit   { background: #1a3a6b; }
.pm-eft     { background: #2d6a4f; }
.pm-ieft    { background: #0077c8; }
.pm-netcash { background: #00897b; }
.pm-payfast { background: #c46a00; }
.pm-zapper  { background: #8338ec; }
.pay-strip-btn { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; color: #fff; background: #d82633; padding: 8px 16px; border-radius: 6px; text-decoration: none; transition: background .2s ease, transform .15s ease; }
.pay-strip-btn:hover { background: #b81e2a; transform: translateY(-1px); }
.pay-strip-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
    .pay-strip-inner { height: 52px; padding: 0 12px; gap: 10px; }
    .pay-strip-label { display: none; }
    .pay-strip-btn { padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .pay-strip-track.is-moving { animation: none; }
    .pay-strip-inner { height: auto; padding-top: 12px; padding-bottom: 12px; }
    .pay-strip-wrap { -webkit-mask-image: none; mask-image: none; }
    .pay-strip-track { flex-wrap: wrap; width: auto; }
}

/* ─── Cookie consent (/cookie-consent/tech5-consent.css, shared with the old pages): site font + dark mode ─── */
#t5-cookie-banner, #t5-cookie-modal, #t5-cookie-banner button, #t5-cookie-modal button { font-family: Inter, system-ui, sans-serif; }
#t5-cookie-banner { border: 1px solid #efefef; }
[data-theme="dark"] #t5-cookie-banner, [data-theme="dark"] #t5-cookie-modal { background: #16171d; color: #fff; border-color: rgba(255,255,255,0.08); box-shadow: 0 12px 40px rgba(0,0,0,0.55); }
[data-theme="dark"] .t5-cookie-btn-settings, [data-theme="dark"] .t5-cookie-close { color: rgba(255,255,255,0.8); }
[data-theme="dark"] .t5-cookie-btn-reject { background: rgba(255,255,255,0.08); color: #fff; }
[data-theme="dark"] .t5-cookie-btn-reject:hover { background: rgba(255,255,255,0.14); }
[data-theme="dark"] .t5-cookie-modal-header, [data-theme="dark"] .t5-cookie-category { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .t5-cookie-category-title, [data-theme="dark"] .t5-cookie-category p { color: rgba(255,255,255,0.65); }
