/* ============================================================
   iBEAM — Modern theme layer (Option 3: Visual / Product-Forward)
   Loaded AFTER bootstrap + style.css to refresh the surface
   without rebuilding the framework. New markup uses .m-* classes.
   ============================================================ */

:root {
  --m-ink: #0f172a;        /* headings / strong text */
  --m-body: #475569;       /* body copy */
  --m-muted: #64748b;      /* secondary text */
  --m-brand: #1976d2;      /* iBEAM blue */
  --m-brand-dark: #0d47a1;
  --m-brand-darker: #0a1f44;
  --m-accent: #f5a623;     /* safety-yellow CTA */
  --m-accent-dark: #e08e00;
  --m-surface: #f8fafc;    /* section tint */
  --m-card: #ffffff;
  --m-border: #e2e8f0;
  --m-radius: 14px;
  --m-radius-sm: 10px;
  --m-shadow: 0 10px 30px rgba(2, 8, 20, .08);
  --m-shadow-lg: 0 20px 50px rgba(2, 8, 20, .14);
  --m-maxw: 1180px;
}

/* ---------- Base typography ---------- */
body {
  color: var(--m-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

.m-section h1,
.m-section h2,
.m-section h3,
.m-hero h1 {
  color: var(--m-ink);
  letter-spacing: -.01em;
}

/* ---------- Layout helpers ---------- */
.m-wrap { max-width: var(--m-maxw); margin: 0 auto; padding: 0 24px; }
.m-section { padding: 72px 0; }
.m-section--tight { padding: 48px 0; }
.m-section--tint { background: var(--m-surface); }
.m-section--ink {
  background: var(--m-brand-darker);
  color: #cbd5e1;
}
.m-eyebrow {
  display: inline-block;
  font: 600 13px/1 "Open Sans", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m-brand);
  margin-bottom: 14px;
}
.m-section--ink .m-eyebrow { color: #5ec2ff; }
.m-h2 {
  font: 700 clamp(26px, 3.4vw, 40px)/1.12 "Roboto", sans-serif;
  margin: 0 0 16px;
  color: var(--m-ink);
}
.m-section--ink .m-h2 { color: #fff; }
.m-lead {
  font: 400 clamp(16px, 1.6vw, 19px)/1.6 "Open Sans", sans-serif;
  color: var(--m-muted);
  max-width: 720px;
  margin: 0 auto;
}
.m-center { text-align: center; }
.m-center .m-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font: 600 16px/1 "Roboto", sans-serif;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  cursor: pointer;
}
.m-btn:focus-visible { outline: 3px solid #5ec2ff; outline-offset: 2px; }
.m-btn--accent { background: var(--m-accent); color: #1a1300; }
.m-btn--accent:hover { background: var(--m-accent-dark); color: #1a1300; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245,166,35,.35); text-decoration: none; }
.m-btn--primary { background: var(--m-brand); color: #fff; }
.m-btn--primary:hover { background: var(--m-brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(25,118,210,.35); text-decoration: none; }
.m-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.m-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; text-decoration: none; }
.m-btn--ghost-dark { background: transparent; color: var(--m-brand); border-color: var(--m-brand); }
.m-btn--ghost-dark:hover { background: var(--m-brand); color: #fff; text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
.m-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #0a1f44 center/cover no-repeat;
  overflow: hidden;
}
.m-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.m-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,18,40,.92) 0%, rgba(7,18,40,.72) 42%, rgba(7,18,40,.25) 100%),
    linear-gradient(0deg, rgba(7,18,40,.55) 0%, rgba(7,18,40,0) 40%);
}
.m-hero .m-wrap { position: relative; z-index: 2; width: 100%; }
.m-hero__inner { max-width: 680px; padding: 80px 0; }
.m-hero h1 {
  color: #fff;
  font: 700 clamp(32px, 5vw, 56px)/1.06 "Roboto", sans-serif;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.m-hero__sub {
  color: #dbe6f5;
  font: 300 clamp(17px, 2.1vw, 22px)/1.5 "Open Sans", sans-serif;
  margin: 0 0 32px;
  max-width: 560px;
}
.m-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.m-hero__trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #aebfd6;
  font: 600 13.5px/1 "Open Sans", sans-serif;
  letter-spacing: .02em;
}
.m-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.m-hero__trust i { color: #5ec2ff; }

/* ============================================================
   FEATURE STRIP (value props)
   ============================================================ */
.m-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.m-feature { text-align: center; padding: 0 8px; }
.m-feature__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #e7f1fd, #d4e7fb);
  color: var(--m-brand-dark);
  font-size: 26px;
}
.m-feature h3 { font: 600 19px/1.3 "Roboto", sans-serif; color: var(--m-ink); margin: 0 0 8px; }
.m-feature p { font-size: 15.5px; line-height: 1.6; margin: 0; color: var(--m-body); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.m-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.m-cards--3 { grid-template-columns: repeat(3, 1fr); max-width: 940px; margin-left: auto; margin-right: auto; }
.m-card {
  display: flex;
  flex-direction: column;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.m-card:hover { transform: translateY(-6px); box-shadow: var(--m-shadow-lg); border-color: #cfe0f5; text-decoration: none; }
.m-card__media {
  aspect-ratio: 4 / 3;
  background: var(--m-surface);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.m-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.m-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.m-card__kicker { font: 600 12px/1 "Open Sans"; letter-spacing: .1em; text-transform: uppercase; color: var(--m-brand); margin-bottom: 8px; }
.m-card h3 { font: 600 20px/1.25 "Roboto", sans-serif; color: var(--m-ink); margin: 0 0 8px; }
.m-card p { font-size: 14.5px; line-height: 1.55; color: var(--m-body); margin: 0 0 16px; flex: 1; }
.m-card__link { font: 600 15px/1 "Roboto"; color: var(--m-brand); display: inline-flex; align-items: center; gap: 6px; }
.m-card:hover .m-card__link { gap: 10px; }

/* ============================================================
   VIDEO SHOWCASE
   ============================================================ */
.m-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--m-shadow-lg);
  margin-top: 40px;
  background: #000;
  aspect-ratio: 16 / 9;
}
.m-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-video__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  cursor: pointer; z-index: 2;
}
.m-video__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: none;
  background: rgba(25,118,210,.92);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .15s ease, background-color .15s ease;
}
.m-video__play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--m-brand); }
.m-video__play.is-hidden, .m-video__poster.is-hidden { display: none; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.m-quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.m-quote__mark { font: 700 64px/0.6 Georgia, serif; color: #cfe0f5; display: block; margin-bottom: 8px; }
.m-quote blockquote {
  border: none; margin: 0; padding: 0;
  font: 300 clamp(20px, 2.6vw, 28px)/1.45 "Open Sans", sans-serif;
  color: var(--m-ink);
}
.m-quote cite {
  display: block;
  margin-top: 22px;
  font: 600 15px/1.4 "Roboto", sans-serif;
  color: var(--m-brand-dark);
  font-style: normal;
}
.m-quote cite span { display: block; color: var(--m-muted); font-weight: 400; }

/* ============================================================
   SEGMENTS GRID
   ============================================================ */
.m-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.m-seg {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 12px;
  padding: 26px 16px;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  text-align: center;
  color: var(--m-ink);
  font: 600 16px/1.3 "Roboto", sans-serif;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.m-seg img { width: 62px; height: 62px; object-fit: contain; transition: transform .18s ease; }
.m-seg:hover { transform: translateY(-4px); box-shadow: var(--m-shadow); border-color: #cfe0f5; color: var(--m-brand-dark); text-decoration: none; }
.m-seg:hover img { transform: scale(1.08); }

/* ============================================================
   CTA BAND
   ============================================================ */
.m-cta {
  background: linear-gradient(120deg, var(--m-brand-dark) 0%, var(--m-brand) 100%);
  border-radius: 20px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--m-shadow);
}
.m-cta__text { color: #fff; }
.m-cta__text h2 { color: #fff; font: 700 clamp(22px,2.8vw,32px)/1.2 "Roboto", sans-serif; margin: 0 0 8px; }
.m-cta__text p { color: #dbe9fb; margin: 0; font-size: 15.5px; max-width: 560px; }
.m-cta__text a { color: #fff; text-decoration: underline; }

/* ============================================================
   TRUST / WBE
   ============================================================ */
.m-trust { text-align: center; }
.m-trust img { max-width: 420px; width: 80%; height: auto; margin: 0 auto 18px; }
.m-trust p { font-size: 17px; line-height: 1.6; color: var(--m-body); max-width: 640px; margin: 0 auto; }

/* ============================================================
   Restyle shared NAVBAR (.navbar-robotic) — flat & modern
   ============================================================ */
.navbar-robotic.navbar-fixed-top {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--m-border) !important;
  box-shadow: 0 2px 16px rgba(2,8,20,.06);
}
.navbar-robotic .navbar-brand {
  color: var(--m-ink) !important;
  font-weight: 400;
  letter-spacing: .02em;
  font-size: 30px;
  line-height: 45px;   /* fill & vertically center within the 45px navbar, even with the 38px logo */
  height: 45px;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-robotic .navbar-brand .brand-suffix { color: var(--m-brand); font-weight: 400; }
.navbar-robotic .navbar-nav > li > a { color: var(--m-ink) !important; font-weight: 500; transition: color .15s ease; }
.navbar-robotic .navbar-nav > li > a:hover,
.navbar-robotic .navbar-nav > li.open > a { color: var(--m-brand) !important; background: transparent !important; }
.navbar-robotic .navbar-nav > li > a[href="quoterequest.html"] span { color: var(--m-brand) !important; font-weight: 600; }
/* Dropdown menu items — readable/clickable (was light grey) */
.navbar-robotic .dropdown-menu > li > a { color: var(--m-ink) !important; }
.navbar-robotic .dropdown-menu > li > a:hover,
.navbar-robotic .dropdown-menu > li > a:focus,
.navbar-robotic .dropdown-menu > li.active > a { color: var(--m-brand) !important; background: var(--m-surface) !important; }
.navbar-robotic .dropdown-menu > li > a > i { color: var(--m-brand); }
.navbar-robotic .dropdown-menu .dropdown-header { color: var(--m-muted) !important; }

/* ============================================================
   Restyle shared FOOTER
   ============================================================ */
#last-widgets { background: #0a1f44; color: #aebfd6; }
#last-widgets h3 { color: #fff; }
#last-widgets .footer-sitemap a,
#last-widgets address a { color: #aebfd6; }
#last-widgets .footer-sitemap a:hover,
#last-widgets address a:hover { color: #5ec2ff; }
#footer { background: #07142a; color: #8aa0c0; }
#footer a { color: #b9cae4; }

/* ============================================================
   SUB-PAGE HERO (interior pages)
   ============================================================ */
.m-subhero {
  background: linear-gradient(120deg, var(--m-brand-darker) 0%, var(--m-brand-dark) 100%);
  color: #dbe6f5;
  padding: 46px 0 40px;
}
.m-subhero .m-wrap { width: 100%; }
.m-subhero__crumb {
  font: 600 13px/1 "Open Sans", sans-serif;
  letter-spacing: .03em;
  margin-bottom: 14px;
  color: #9fb6d6;
}
.m-subhero__crumb a { color: #cfe0f5; text-decoration: none; }
.m-subhero__crumb a:hover { color: #fff; text-decoration: underline; }
.m-subhero__crumb .sep { margin: 0 8px; color: #5f7aa3; }
.m-subhero h1 {
  color: #fff;
  font: 700 clamp(28px, 4vw, 44px)/1.1 "Roboto", sans-serif;
  letter-spacing: -.02em;
  margin: 0;
}
.m-subhero__lead {
  margin: 14px 0 0;
  max-width: 720px;
  font: 300 clamp(16px, 1.8vw, 20px)/1.55 "Open Sans", sans-serif;
  color: #dbe6f5;
}

/* ============================================================
   SPLIT (media + text two-column)
   ============================================================ */
.m-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.m-split + .m-split { margin-top: 56px; }
.m-split__media picture,
.m-split__media img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.m-split--reverse .m-split__media { order: 2; }
.m-split__body h2 {
  font: 700 clamp(23px, 2.6vw, 32px)/1.18 "Roboto", sans-serif;
  color: var(--m-ink);
  margin: 0 0 14px;
}
.m-split__body > p { font-size: 16px; line-height: 1.65; color: var(--m-body); margin: 0 0 14px; }

/* ---------- Hero / inline figure ---------- */
.m-figure { margin: 0; text-align: center; }
.m-figure img { max-width: 100%; height: auto; border-radius: var(--m-radius); box-shadow: var(--m-shadow); }

/* ---------- Callout card (image + text, e.g. recommended camera) ---------- */
.m-callout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 28px 32px;
}
.m-callout__media { text-align: center; }
.m-callout__media img { max-width: 100%; max-height: 200px; height: auto; }
.m-callout__body h3 { font: 600 22px/1.25 "Roboto", sans-serif; color: var(--m-ink); margin: 6px 0 12px; }
.m-callout__body h3 a { color: var(--m-ink); text-decoration: none; }
.m-callout__body h3 a:hover { color: var(--m-brand); }
.m-callout__body > p:last-child { margin-bottom: 0; }

/* ---------- 3-up media grid (e.g. zoom comparison) ---------- */
.m-media3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.m-media3 figure { margin: 0; text-align: center; }
.m-media3 img { width: 100%; height: auto; border-radius: var(--m-radius-sm); border: 1px solid var(--m-border); display: block; }
.m-media3 figcaption { margin-top: 10px; font-weight: 600; color: var(--m-ink); }

/* ---------- Two-column text blocks (spec columns) ---------- */
.m-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  text-align: left;
}
.m-cols h3 { font: 600 18px/1.3 "Roboto", sans-serif; color: var(--m-brand-dark); margin: 0 0 6px; }
.m-cols > div > p em { color: var(--m-muted); }

/* ============================================================
   CHECKLIST (spec / feature lists)
   ============================================================ */
.m-checklist { list-style: none; margin: 18px 0; padding: 0; }
.m-checklist li {
  position: relative;
  padding: 7px 0 7px 32px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--m-body);
}
.m-checklist li::before {
  content: "\f00c"; /* fa-check */
  font-family: FontAwesome;
  position: absolute; left: 0; top: 8px;
  color: var(--m-brand);
  font-size: 14px;
}
.m-checklist li a { color: var(--m-brand); text-decoration: none; }
.m-checklist li a:hover { text-decoration: underline; }
.m-checklist strong { color: var(--m-ink); }

/* ============================================================
   RESPONSIVE EMBED (Vimeo / iframe video)
   ============================================================ */
.m-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--m-shadow-lg);
  background: #000;
  margin-top: 8px;
}
.m-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m-embed__caption { text-align: center; margin-top: 14px; color: var(--m-muted); font-style: italic; }

/* ============================================================
   DOWNLOADS (PDF / spec sheet cards)
   ============================================================ */
.m-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.m-download {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-sm);
  text-decoration: none;
  color: var(--m-ink);
  font: 600 15px/1.35 "Roboto", sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.m-download:hover { border-color: #cfe0f5; box-shadow: var(--m-shadow); transform: translateY(-2px); text-decoration: none; color: var(--m-brand-dark); }
.m-download i { font-size: 28px; color: var(--m-brand); flex-shrink: 0; }
.m-download small { display: block; font-weight: 400; color: var(--m-muted); font-size: 12.5px; margin-top: 3px; }

/* ============================================================
   PROSE (article / rich-text blocks)
   ============================================================ */
.m-prose { max-width: 760px; margin: 0 auto; }
.m-prose p { font-size: 16.5px; line-height: 1.7; color: var(--m-body); margin: 0 0 18px; }
.m-prose h2 { font: 700 clamp(22px, 2.6vw, 30px)/1.2 "Roboto", sans-serif; color: var(--m-ink); margin: 34px 0 14px; }
.m-prose h3 { font: 600 20px/1.3 "Roboto", sans-serif; color: var(--m-ink); margin: 26px 0 10px; }
.m-prose a { color: var(--m-brand); }
.m-prose ul { margin: 0 0 18px; padding-left: 22px; }
.m-prose li { margin: 6px 0; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .m-cards { grid-template-columns: repeat(2, 1fr); }
  .m-features { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .m-segments { grid-template-columns: repeat(3, 1fr); }
  .m-split { gap: 32px; }
}
@media (max-width: 767px) {
  .m-section { padding: 52px 0; }
  .m-hero { min-height: 540px; }
  .m-hero__overlay { background: linear-gradient(180deg, rgba(7,18,40,.72) 0%, rgba(7,18,40,.85) 100%); }
  .m-features { grid-template-columns: 1fr; }
  .m-cards { grid-template-columns: 1fr; }
  .m-segments { grid-template-columns: repeat(2, 1fr); }
  .m-cta { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .m-split { grid-template-columns: 1fr; gap: 28px; }
  .m-split--reverse .m-split__media { order: 0; }
  .m-cols { grid-template-columns: 1fr; gap: 28px; }
  .m-media3 { grid-template-columns: 1fr; }
  .m-callout { grid-template-columns: 1fr; text-align: center; padding: 24px; }
}
@media (max-width: 420px) {
  .m-segments { grid-template-columns: 1fr; }
}
