/* =====================================================================
 * BlueMax — handwritten CSS, no Divi, no jQuery, no framework
 * Brand: #009fe3 cyan / #f7f7f7 light gray / #333 body / #1e1e1e headings
 * ===================================================================== */

:root {
  --brand: #009fe3;
  --brand-dark: #007cb3;
  --ink: #2a2a2a;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --line: #e6e6e6;
  --maxw: 1180px;
  --gap: clamp(16px, 3vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Exo, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 40px);
}

/* ---------- header ---------- */
.bm-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(20px, 4vw, 40px);
}
.bm-header__logo img { height: 64px; width: auto; }
@media (max-width: 640px) {
  .bm-header__logo img { height: 44px; }
}
.bm-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(12px, 2vw, 28px);
}
.bm-nav a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 6px 4px; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.bm-nav a:hover, .bm-nav a:focus-visible {
  color: var(--brand); border-bottom-color: var(--brand); text-decoration: none;
}
@media (max-width: 640px) {
  .bm-nav ul { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .bm-nav a { font-size: 13px; }
}

/* ---------- hero ---------- */
.bm-hero {
  position: relative;
  min-height: clamp(380px, 60vh, 620px);
  overflow: hidden;
  color: #fff;
}
.bm-hero__slides { position: absolute; inset: 0; }
.bm-hero__slide {
  position: absolute; inset: 0;
  background: #003049;
  opacity: 0; transition: opacity 1s ease-in-out;
  display: block;
}
.bm-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-hero__slide--active { opacity: 1; }
/* very light gradient — only enough to anchor the white headline without darkening
   the image itself. Matches the live page's near-untouched look. */
.bm-hero__slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.18), transparent 65%),
    linear-gradient(to bottom, transparent 60%, rgba(0,0,0,.25));
  pointer-events: none;
}
.bm-hero__overlay {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 80px clamp(20px, 4vw, 40px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: clamp(380px, 60vh, 620px); text-align: center;
}
.bm-hero__overlay h1 {
  font-size: clamp(40px, 7vw, 90px); margin: 0 0 12px;
  font-weight: 700; letter-spacing: -.02em; line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.bm-hero__overlay p {
  font-size: clamp(18px, 2.4vw, 26px); margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

/* ---------- intro / testimonials ---------- */
.bm-intro__lead {
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--brand);
  text-align: center;
  margin: 0 auto 48px;
  max-width: 880px;
  line-height: 1.35;
}
.bm-testimonials {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.bm-testimonial {
  position: relative;
  background: #fafafa;
  border: 1px solid #ececec;
  padding: 44px 24px 24px; border-radius: 4px;
  display: flex; flex-direction: column; gap: 18px;
}
/* big curly quote mark on top, like the live page */
.bm-testimonial::before {
  content: "”"; position: absolute;
  top: 4px; left: 50%; transform: translateX(-50%);
  font: 42px/1 Georgia, serif;
  color: var(--brand);
}
.bm-testimonial blockquote {
  font-style: italic; margin: 0;
  font-size: 15px; line-height: 1.55; color: #444;
}
.bm-testimonial cite {
  color: #222; font-style: normal; font-size: 14px; font-weight: 500;
}

/* ---------- section titles ---------- */
.bm-section-title {
  font-size: clamp(34px, 4.5vw, 54px);
  color: var(--brand);
  text-align: center;
  margin: 0 0 36px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.bm-section-subtitle {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--brand);
  text-align: center;
  margin: 60px 0 24px;
  font-weight: 600;
}

/* ---------- how-it-works steps ---------- */
.bm-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.bm-steps__step { margin: 0; }
.bm-steps__step img { width: 100%; height: auto; border-radius: 4px; }
.bm-steps__body {
  text-align: center; margin: 36px auto 0;
  max-width: 880px; font-size: 16px; line-height: 1.6;
}

/* ---------- video card ---------- */
.bm-video {
  position: relative; display: block;
  max-width: 900px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: 6px; overflow: hidden;
  transition: transform .2s;
}
.bm-video:hover { transform: translateY(-2px); }
.bm-video img { width: 100%; height: 100%; object-fit: cover; }
.bm-video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 60px;
  background: rgba(0,0,0,.78); color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; pointer-events: none;
}
.bm-video__chip {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(0,0,0,.78); color: #fff;
  padding: 6px 12px; border-radius: 4px;
  font-size: 13px; font-weight: 500;
}

/* ---------- retailers ---------- */
.bm-retailers {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.bm-retailers img {
  max-height: 80px; width: auto; margin: 0 auto;
  filter: grayscale(.1); transition: filter .15s, transform .15s;
}
.bm-retailers a:hover img { filter: none; transform: scale(1.04); }

/* ---------- products ---------- */
.bm-products {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap);
}
.bm-product {
  background: var(--bg-soft);
  padding: 16px;
  border-radius: 4px;
  text-align: center;
}
.bm-product h4 {
  font-size: 13px; color: var(--muted);
  margin: 0 0 12px; font-weight: 600;
}
.bm-product img {
  width: 100%; max-width: 200px; height: auto; margin: 0 auto 12px;
  aspect-ratio: 1;
  object-fit: contain;
}
.bm-product__name { font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.bm-product__size { color: var(--muted); font-size: 13px; margin: 0; }

.bm-wallmount {
  text-align: center; margin: 56px 0 8px;
  font-size: clamp(18px, 2vw, 22px); color: var(--brand);
  font-weight: 600;
}
.bm-wallmount__body {
  text-align: center; max-width: 720px;
  margin: 0 auto; color: var(--ink);
}

/* ---------- social plastic ---------- */
.bm-social-plastic {
  display: grid;
  grid-template-columns: 2fr 1fr; gap: var(--gap);
  align-items: center;
  background: var(--bg-soft);
  border-radius: 6px;
}
.bm-social-plastic p {
  margin: 0; line-height: 1.65; font-size: 15px;
}
.bm-social-plastic img { max-width: 320px; margin-left: auto; }
@media (max-width: 720px) {
  .bm-social-plastic { grid-template-columns: 1fr; text-align: center; }
  .bm-social-plastic img { margin: 0 auto; }
}

/* ---------- tagline ---------- */
.bm-tagline {
  background: var(--brand);
  text-align: center;
  padding: clamp(28px, 5vw, 60px) 24px;
  color: #fff;
}
.bm-tagline h3 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- contact ---------- */
.bm-contact > p { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.bm-contact__grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px);
}
@media (max-width: 760px) { .bm-contact__grid { grid-template-columns: 1fr; } }
.bm-contact__info dt {
  color: var(--brand); font-weight: 600; margin-top: 18px;
}
.bm-contact__info dt:first-child { margin-top: 0; }
.bm-contact__info dd { margin: 6px 0 0; color: var(--ink); }

.bm-form { background: var(--bg-soft); padding: clamp(20px, 3vw, 32px); border-radius: 6px; }
.bm-form h3 { color: var(--brand); margin: 0 0 24px; font-weight: 600; }
.bm-form label {
  display: block; margin-bottom: 14px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.bm-form input, .bm-form textarea {
  display: block; width: 100%; margin-top: 4px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px;
  font: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s;
}
.bm-form input:focus, .bm-form textarea:focus {
  outline: none; border-color: var(--brand);
}
.bm-form button {
  display: inline-block; margin-top: 4px;
  background: var(--brand); color: #fff;
  padding: 12px 28px; border: 0; border-radius: 4px;
  font: 600 15px Exo, sans-serif; cursor: pointer;
  transition: background .15s;
}
.bm-form button:hover { background: var(--brand-dark); }
.bm-form__note { color: var(--muted); font-size: 12px; margin: 12px 0 0; }

/* ---------- subpages: lead, prose, doc lists ---------- */
.bm-page-lead {
  text-align: center; max-width: 760px; margin: 0 auto 48px;
  font-size: 17px; color: var(--muted); line-height: 1.6;
}
.bm-doc-section { margin-bottom: 48px; }
.bm-doc-section h2 {
  color: var(--brand); font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 20px; font-weight: 600;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 8px;
}
.bm-docs {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 24px;
}
.bm-docs li { margin: 0; }
.bm-docs a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 4px;
  background: var(--bg-soft); color: var(--ink);
  text-decoration: none; font-size: 14px;
  border: 1px solid transparent;
  transition: background .12s, border-color .12s;
}
.bm-docs a:hover { background: #eef9ff; border-color: var(--brand); text-decoration: none; }
.bm-docs a::before {
  content: "📄"; margin-right: 10px; font-size: 16px;
}
.bm-docs a span {
  margin-left: auto;
  background: var(--brand); color: #fff;
  padding: 2px 8px; border-radius: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: .03em;
}
.bm-prose {
  max-width: 760px; margin: 0 auto;
  font-size: 16px; line-height: 1.7;
}
.bm-prose h2 {
  color: var(--brand); font-size: 22px; margin: 40px 0 16px;
  font-weight: 600;
}
.bm-prose ul { padding-left: 20px; }
.bm-prose code {
  background: var(--bg-soft); padding: 1px 6px;
  border-radius: 3px; font-size: 14px;
}

/* ---------- footer ---------- */
.bm-footer {
  background: #1a1a1a; color: #d6d6d6;
  padding: 48px 0; margin-top: 60px;
  text-align: center;
}
.bm-footer img { margin: 0 auto 16px; max-height: 80px; width: auto; }
.bm-footer p { margin: 0; font-size: 13px; color: #999; }
.bm-footer a { color: var(--brand); }

/* ---------- accessibility ---------- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
