/* ==========================================================================
   Talsnet — Managed IT Services
   Global stylesheet (redesign 2026)
   Design system: deep-space dark, electric blue→cyan accents, Space Grotesk + Inter
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg:            #070b14;
  --bg-soft:       #0a1020;
  --surface:       #0e1524;
  --surface-2:     #121a2c;
  --border:        rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);

  /* Text */
  --text:          #e9eef8;
  --muted:         #9aa7bd;
  --faint:         #6b7890;

  /* Brand */
  --brand:         #4f7dff;
  --brand-2:       #22d3ee;
  --brand-3:       #8b5cff;
  --brand-ink:     #0a1020;

  /* Effects */
  --grad-brand: linear-gradient(120deg, #4f7dff 0%, #22d3ee 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(79,125,255,0.16), rgba(34,211,238,0.10));
  --glow: 0 0 0 1px rgba(79,125,255,0.35), 0 18px 60px -12px rgba(79,125,255,0.45);
  --shadow-card: 0 24px 60px -24px rgba(0,0,0,0.7);
  --shadow-soft: 0 8px 30px -12px rgba(0,0,0,0.55);

  /* Metrics */
  --radius:      16px;
  --radius-lg:   24px;
  --radius-sm:   10px;
  --container:   1180px;
  --nav-h:       74px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(79,125,255,0.35); color: #fff; }

/* Ambient page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% -8%, rgba(79,125,255,0.20), transparent 60%),
    radial-gradient(50% 45% at 8% 4%, rgba(34,211,238,0.12), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148,163,184,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--brand-2);
  opacity: 0.7;
}
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
h2.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-title .accent { color: transparent; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }
.lead { color: var(--muted); font-size: 1.075rem; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-brand);
  color: #06122b;
  box-shadow: 0 10px 30px -10px rgba(79,125,255,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(79,125,255,0.75); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--brand); background: rgba(79,125,255,0.10); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 54px; width: auto; filter: brightness(0) saturate(100%) invert(45%) sepia(86%) saturate(1400%) hue-rotate(196deg) brightness(103%) contrast(101%); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .2s; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 80px); padding-bottom: 96px; overflow: hidden; }
.hero-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  font-size: 0.82rem; color: var(--muted); font-weight: 500;
  margin-bottom: 28px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 12px 2px rgba(34,211,238,0.7); }
.badge b { color: var(--text); font-weight: 600; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.hero h1 .grad { color: transparent; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 620px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-trust { margin-top: 46px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; color: var(--faint); font-size: 0.85rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brand-2); }

/* Hero stat strip */
.stat-strip {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 760px;
  margin-inline: auto;
}
.stat-strip .stat { background: var(--surface); padding: 28px 20px; text-align: center; }
.stat-strip .stat .num { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stat-strip .stat .num .accent { color: transparent; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }
.stat-strip .stat .label { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(79,125,255,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::after { opacity: 1; }
.card-link { cursor: pointer; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 20px;
  color: var(--brand-2);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .card-more {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand-2); font-weight: 600; font-size: 0.9rem;
  opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s;
}
.card-link:hover .card-more { opacity: 1; transform: translateX(0); }
.card .card-more svg { width: 16px; height: 16px; }

/* Small feature (icon + text inline) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fic {
  flex: none; width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(79,125,255,0.10); border: 1px solid var(--border);
  color: var(--brand-2);
}
.feature .fic svg { width: 22px; height: 22px; }
.feature h4 { font-size: 1.05rem; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* Checklist */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.check { display: flex; gap: 13px; align-items: flex-start; }
.check .tick {
  flex: none; width: 26px; height: 26px; border-radius: 8px; margin-top: 2px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--brand-2);
  border: 1px solid var(--border);
}
.check .tick svg { width: 15px; height: 15px; }
.check h4 { font-size: 1rem; margin-bottom: 3px; }
.check p { color: var(--muted); font-size: 0.9rem; }

/* Split (two column with panel) */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split .prose p { color: var(--muted); margin-top: 14px; }
.split .prose p strong { color: var(--text); }

.panel {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.step .snum {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad-brand); color: #06122b; margin-bottom: 18px;
}
.step h4 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(79,125,255,0.22), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta-band p { color: var(--muted); margin: 14px auto 0; max-width: 540px; }
.cta-band .hero-cta { margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .info-item .fic {
  flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(79,125,255,0.10); border: 1px solid var(--border); color: var(--brand-2);
}
.contact-info .info-item .fic svg { width: 20px; height: 20px; }
.contact-info .info-item .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.contact-info .info-item .val { color: var(--text); font-weight: 500; }
.contact-info .info-item a.val:hover { color: var(--brand-2); }

.form-card { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--brand-2); }
.field input, .field textarea {
  width: 100%;
  background: rgba(8,12,22,0.6);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79,125,255,0.18);
  background: rgba(8,12,22,0.85);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.82rem; color: var(--faint); margin-top: 6px; }
.form-status { margin-top: 16px; padding: 13px 16px; border-radius: 11px; font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(34,211,238,0.10); border: 1px solid rgba(34,211,238,0.4); color: #a7f3ec; }
.form-status.err { background: rgba(255,99,99,0.08); border: 1px solid rgba(255,99,99,0.35); color: #ffb4b4; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(8,12,22,0.6)); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) saturate(100%) invert(45%) sepia(86%) saturate(1400%) hue-rotate(196deg) brightness(103%) contrast(101%); }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 260px; }
.footer-brand .tag { color: var(--brand-2); font-family: var(--font-display); font-weight: 600; margin-top: 14px; font-size: 0.92rem; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 18px; }
.footer-col a, .footer-col .fitem { display: block; color: var(--muted); font-size: 0.92rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 0.86rem; }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .legal-links a:hover { color: var(--text); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 60px; text-align: center; position: relative; }
.page-hero .container { max-width: 780px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero h1 .grad { color: transparent; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }
.page-hero .lead { max-width: 620px; margin-inline: auto; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: var(--faint); font-size: 0.85rem; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--brand-2); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Legal / prose ---------- */
.legal { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 40px; }
.legal .container { max-width: 820px; }
.legal-head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 12px; }
.legal-head .dates { color: var(--faint); font-size: 0.9rem; }
.legal-body h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--text); }
.legal-body h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--text); }
.legal-body p { color: var(--muted); margin-bottom: 14px; }
.legal-body strong { color: var(--text); }
.legal-body ul { margin: 0 0 16px; padding-left: 4px; }
.legal-body ul li { color: var(--muted); position: relative; padding-left: 24px; margin-bottom: 9px; }
.legal-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--grad-brand); }
.legal-body a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-body hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.legal-body .note { color: var(--faint); font-style: italic; }
.legal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin: 18px 0; }
.quick-ref { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.quick-ref .qr { display: flex; gap: 8px; color: var(--muted); font-size: 0.94rem; }
.quick-ref .qr b { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider-soft { height: 1px; background: var(--border); border: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-actions .btn-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,12,22,0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; gap: 4px;
  }
  .nav-links.mobile-open a { padding: 14px 12px; font-size: 1rem; border-radius: 10px; }
  .nav-links.mobile-open .btn { margin-top: 10px; }
  .grid-3, .grid-4, .grid-2, .checklist, .quick-ref { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-trust { gap: 16px; }
}


/* ==========================================================================
   Message widget (floating "Message us")
   ========================================================================== */
.msg-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  background: var(--grad-brand); color: #06122b; border: none;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 12px 34px -8px rgba(79,125,255,0.7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s;
}
.msg-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(79,125,255,0.85); }
.msg-launcher svg { width: 20px; height: 20px; }
.msg-launcher.hidden { opacity: 0; pointer-events: none; transform: scale(.9); }

.msg-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 201;
  width: min(370px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8);
  overflow: hidden; transform: translateY(12px) scale(.98); opacity: 0;
  pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.msg-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.msg-head {
  background: linear-gradient(120deg, rgba(79,125,255,0.22), rgba(34,211,238,0.14)), var(--surface-2);
  padding: 20px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.msg-head h4 { font-size: 1.12rem; margin-bottom: 3px; }
.msg-head p { color: var(--muted); font-size: 0.85rem; }
.msg-close {
  flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--text); display: grid; place-items: center;
}
.msg-close:hover { background: rgba(255,255,255,0.09); }
.msg-close svg { width: 16px; height: 16px; }
.msg-body { padding: 20px 22px 22px; }
.msg-body .field { margin-bottom: 14px; }
.msg-body label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.msg-body input, .msg-body textarea {
  width: 100%; background: rgba(8,12,22,0.6); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 11px 13px; color: var(--text); font-family: inherit; font-size: 0.92rem;
  transition: border-color .2s, box-shadow .2s;
}
.msg-body input:focus, .msg-body textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,125,255,0.18);
}
.msg-body textarea { resize: vertical; min-height: 88px; }
.msg-body .btn { width: 100%; }
.msg-note { font-size: 0.78rem; color: var(--faint); margin-top: 10px; text-align: center; }
.msg-status { display: none; text-align: center; padding: 26px 8px; }
.msg-status.show { display: block; }
.msg-status .ok-ic {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: var(--grad-brand-soft); border: 1px solid var(--border-strong); color: var(--brand-2);
}
.msg-status .ok-ic svg { width: 28px; height: 28px; }
.msg-status h4 { font-size: 1.1rem; margin-bottom: 6px; }
.msg-status p { color: var(--muted); font-size: 0.9rem; }
.msg-form.hide { display: none; }
@media (max-width: 480px) {
  .msg-launcher span { display: none; }
  .msg-launcher { padding: 14px; }
}


/* ---------- Fix: nav Request-a-Quote readability (v3, 8/12/2026 audit) ---------- */
.nav-links a.btn-primary { color: #06122b; font-weight: 600; }
.nav-links a.btn-primary:hover { color: #06122b; background: var(--grad-brand); }
