/* ============================================
   BSS — Google Business Profile Optimization
   Brand: navy / gold — matches businesssolidsolutions.com
   ============================================ */

:root {
  --navy: #0d1b2a;
  --navy-mid: #162236;
  --gold: #f0a500;
  --gold-light: #f7c948;
  --white: #ffffff;
  --muted: #8a9bb0;
  --light-bg: #f4f6f9;
  --border: #e2e8f0;
  --text: #1e2d3d;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section-light { background: var(--light-bg); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-sub { max-width: 560px; margin-bottom: 32px; color: inherit; opacity: 0.85; }

.hidden { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-lg { font-size: 17px; padding: 16px 36px; }

/* ---------- Nav ---------- */
nav {
  background: var(--navy);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.nav-name { color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.2; }
.nav-name span { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.nav-cta {
  color: var(--navy);
  background: var(--gold);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 80px 0 96px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 20px; }
.hero-sub { color: var(--muted); font-size: 17px; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--muted); }

/* ---------- Signature: Map Pack mock ---------- */
.mappack {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.mappack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.mappack-dot { width: 10px; height: 10px; border-radius: 50%; background: #e74c3c; flex-shrink: 0; }
.mappack-query { font-size: 14px; color: var(--text); font-weight: 500; }
.mappack-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
}
.mappack-row:last-child { border-bottom: none; }
.row-rank {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.row-body { flex: 1; min-width: 0; }
.row-name { font-weight: 600; font-size: 15px; }
.row-meta { font-size: 12.5px; color: #5f7186; }
.stars { color: var(--gold); letter-spacing: 1px; }
.row-call {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
}

/* Your-business row: animates from "missing" to ranked */
.your-business {
  border-radius: 10px;
  transition: background 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease;
}
.your-business.is-missing { opacity: 0.35; filter: grayscale(1); }
.your-business.is-found {
  background: #fff8e6;
  box-shadow: inset 0 0 0 2px var(--gold);
  opacity: 1;
}
.your-business.is-found .row-rank { background: var(--gold); color: var(--navy); }

.mappack-caption {
  font-size: 12.5px;
  color: #5f7186;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

/* ---------- Facts ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.fact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.fact-stat {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}
.fact-label { font-size: 14.5px; color: #44566c; }

.math-callout {
  background: var(--navy);
  color: var(--white);
  border-left: 6px solid var(--gold);
  border-radius: 10px;
  padding: 24px 28px;
  font-size: 16px;
}

/* ---------- Deliverables ---------- */
.deliver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}
.deliver-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 32px;
}
.deliver-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.deliver-card h3 { font-size: 1.3rem; margin-bottom: 18px; color: var(--white); }
.deliver-card ul { list-style: none; }
.deliver-card li {
  padding: 9px 0 9px 28px;
  position: relative;
  font-size: 15px;
  color: #c8d4e2;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.deliver-card li:last-child { border-bottom: none; }
.deliver-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.deliver-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.price-featured {
  border: 2px solid var(--gold);
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.12);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-weight: 700; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase; color: #5f7186; margin-bottom: 12px; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
}
.price-amount span { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; color: #5f7186; }
.price-desc { font-size: 14.5px; color: #44566c; flex: 1; margin-bottom: 24px; }

/* ---------- Ownership ---------- */
.ownership { max-width: 720px; text-align: center; }
.ownership p { color: #c8d4e2; font-size: 16.5px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: #44566c; }

/* ---------- CTA / Opt-in ---------- */
.section-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  text-align: center;
}
.section-cta h2 { color: var(--white); }
.cta-container { max-width: 560px; }
.cta-container .section-sub { margin-left: auto; margin-right: auto; }

.optin-form {
  margin-top: 32px;
  text-align: left;
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  color: var(--text);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row input {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--light-bg);
}
.form-row input:focus { outline: none; border-color: var(--gold); background: var(--white); }
.optin-form .btn { width: 100%; border: none; }
.form-error { color: #c0392b; font-size: 14px; margin-bottom: 14px; }
.form-fineprint { font-size: 12.5px; color: #5f7186; text-align: center; margin-top: 14px; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: var(--muted); padding: 48px 0; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand p { color: var(--white); font-size: 14px; line-height: 1.4; text-align: left; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 12.5px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .your-business { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .fact-grid, .deliver-grid, .price-grid, .steps { grid-template-columns: 1fr; }
  .price-featured { order: -1; }
  nav { padding: 16px 20px; }
  .section { padding: 56px 0; }
}
