/* ==========================================================================
   MSI Enterprise — Site Stylesheet
   ========================================================================== */

:root {
  --color-navy: #1a4a75;
  --color-navy-dark: #0d2843;
  --color-navy-mid: #1c4870;
  --color-teal: #0ea89a;
  --color-teal-dark: #086d63;
  --color-gold: #cba135;
  --color-gold-light: #e4c468;
  --color-gold-dark: #a6842b;
  --color-bg: #f7f8fa;
  --color-card: #ffffff;
  --color-text: #16232f;
  --color-text-light: #5c6b78;
  --color-border: #e4e8ec;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);
  --radius: 10px;
  --radius-sm: 6px;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--color-navy-dark);
  color: #a9c2d6;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #cfe0ee; transition: color 0.2s; }
.topbar a:hover { color: var(--color-gold-light); }
.topbar-contacts { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* ---------- Header dealer badge — the single, persistent USP callout ---------- */
.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, var(--color-gold-dark), var(--color-gold) 55%, var(--color-gold-light));
  background-size: 200% 100%;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.005em;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 8px 22px rgba(179, 134, 44, 0.4), 0 0 0 1px rgba(255,255,255,0.15) inset;
  white-space: nowrap;
  animation: dealer-sheen 6s ease-in-out infinite;
  flex-shrink: 0;
}
.header-badge .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.header-badge .badge-short { display: none; }
@keyframes dealer-sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (max-width: 900px) {
  .header-badge { font-size: 0.92rem; padding: 10px 20px; }
  .header-badge .badge-full { display: none; }
  .header-badge .badge-short { display: inline; }
}
@media (max-width: 620px) {
  .header-badge { padding: 9px; border-radius: 50%; box-shadow: 0 4px 14px rgba(179, 134, 44, 0.4); }
  .header-badge .badge-short { display: none; }
  .header-badge .badge-icon { width: 28px; height: 28px; font-size: 1.1rem; }
}
.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  display: block;
}
.brand-text .brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-text .brand-tag {
  font-size: 0.68rem;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Footer brand lockup uses the logo on a dark background */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 44px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 4px 8px;
}
.footer-brand h4 { font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.01em; }

nav.main-nav {
  margin-left: auto;
}
nav.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  padding: 10px 2px;
  position: relative;
  transition: color 0.2s;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--color-gold);
  transition: right 0.25s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--color-gold-dark);
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  right: 0;
}
.nav-cta {
  background: var(--color-navy);
  color: #fff !important;
  padding: 12px 24px !important;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--color-gold-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(179, 134, 44, 0.18), transparent 60%),
    radial-gradient(ellipse 800px 600px at 100% 100%, rgba(14, 168, 154, 0.16), transparent 55%),
    linear-gradient(150deg, var(--color-navy) 0%, var(--color-navy-dark) 75%);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--color-gold-light);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero p {
  color: #c3d5e3;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 48ch;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-card h3 {
  font-size: 0.85rem;
  color: var(--color-gold-light);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: #fff;
}
.hero-stats div span {
  font-size: 0.82rem;
  color: #b9cddb;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-teal);
  color: #fff;
}
.btn-primary:hover { background: var(--color-teal-dark); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline:hover { border-color: var(--color-gold-light); color: var(--color-gold-light); }
.btn-orange {
  background: var(--color-gold);
  color: #fff;
}
.btn-orange:hover { background: var(--color-gold-dark); }

/* ---------- Section basics ---------- */
section { padding: 88px 0; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.section-head .eyebrow {
  color: var(--color-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 14px;
}
.section-head p { color: var(--color-text-light); font-size: 1.05rem; }
.section-alt { background: #eef2f5; }

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

.card {
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 168, 154, 0.14), rgba(179, 134, 44, 0.14));
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { font-family: "Manrope", sans-serif; color: var(--color-navy); margin-bottom: 10px; font-size: 1.15rem; font-weight: 700; }
.card p { color: var(--color-text-light); font-size: 0.94rem; margin-bottom: 14px; }
.card a.card-link { color: var(--color-teal-dark); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.03em; }
.card a.card-link:hover { color: var(--color-gold-dark); }

.badge {
  display: inline-block;
  background: rgba(179, 134, 44, 0.12);
  color: var(--color-gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ---------- Featured Filter Paper Banner ---------- */
.spotlight {
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal) 130%);
  border-radius: 16px;
  color: #fff;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.spotlight h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; }
.spotlight p { color: #e3f6f2; margin-bottom: 22px; line-height: 1.7; }
.spotlight-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.spotlight-list span {
  background: rgba(255, 255, 255, 0.18);
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 500;
}
.spotlight-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 26px;
}
.spotlight-panel ul li {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 0.92rem;
}
.spotlight-panel ul li:last-child { border-bottom: none; }

/* ---------- Table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table th, .spec-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.spec-table th {
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #f9fbfc; }
.table-scroll { overflow-x: auto; }

/* ---------- Steps / Why us ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step {
  position: relative;
  padding-top: 12px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-mid));
  color: var(--color-gold-light);
  font-weight: 800;
  font-family: "Manrope", sans-serif;
  margin-bottom: 16px;
}
.step h4 { font-family: "Manrope", sans-serif; color: var(--color-navy); margin-bottom: 6px; font-weight: 700; }
.step p { color: var(--color-text-light); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy), var(--color-navy-dark));
  color: #fff;
  border-radius: 16px;
  padding: 46px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.cta-band h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.cta-band p { color: #c9dbe6; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 0.85rem; color: var(--color-navy); text-transform: uppercase; letter-spacing: 0.03em; }
input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(14, 168, 154, 0.15);
}
textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 10px;
}

.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 44px; }
.info-card { text-align: center; padding: 30px 20px; }
.info-card .card-icon { margin: 0 auto 16px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--color-navy-dark);
  color: #b9cddb;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 700;
}
.footer-grid p { font-size: 0.9rem; margin-bottom: 10px; }
.footer-grid ul li { margin-bottom: 11px; font-size: 0.9rem; }
.footer-grid ul li a { transition: color 0.2s; }
.footer-grid ul li a:hover { color: var(--color-gold-light); }
.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #8fa9ba;
}

/* ---------- Placeholder notice ---------- */
.placeholder-banner {
  background: #fff3cd;
  color: #7a5b00;
  border-bottom: 1px solid #ffe08a;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- Breadcrumb / page header ---------- */
.page-header {
  position: relative;
  background: linear-gradient(150deg, var(--color-navy) 0%, var(--color-navy-dark) 80%);
  color: #fff;
  padding: 60px 0;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 10px; }
.page-header p { color: #c9dbe6; font-size: 1.05rem; }
.breadcrumb { font-size: 0.84rem; color: #a9c4d4; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--color-gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .spotlight { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-card);
    box-shadow: var(--shadow-md);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
  }
  nav.main-nav ul li { border-top: 1px solid var(--color-border); }
  nav.main-nav a { display: block; padding: 14px 4px; }
  nav.main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .topbar .container { justify-content: center; text-align: center; }
  section { padding: 60px 0; }
}
