/* QBSux marketing site — shared styles.
   Brand: blue #2B6FE0 + charcoal #1A201E on white. Spectral (display) + Hanken Grotesk (body).
   Apple-clean: big type, generous air, restrained blue accent. */

:root {
  --blue: #2b6fe0;
  --blue-dk: #1f57b8;
  --blue-lt: #eef3fd;
  --ink: #1a201e;
  --ink-2: #3d4744;
  --muted: #6b7671;
  --line: #e7eae9;
  --line-2: #eef0ef;
  --bg: #ffffff;
  --bg-soft: #f7f9f8;
  --bg-tint: #f4f8fe;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 28px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.12);
  --maxw: 1120px;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.navlink { color: var(--ink-2); font-weight: 500; font-size: 0.97rem; }
.nav-links a.navlink:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: 0.2s; }

/* ---------- hero / slider ---------- */
.hero { padding: 72px 0 40px; }
.slider { position: relative; }
.slides { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.slide.is-active { display: grid; animation: fade 0.5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.slide-copy h1 { margin-bottom: 0.3em; }
.slide-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.slide-own { margin-top: 18px; font-weight: 600; color: var(--ink); }
.slide-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #fff;
  overflow: hidden;
}
.slide-shot img { width: 100%; }

.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.dots { display: flex; gap: 10px; }
.dot {
  width: 9px; height: 9px; border-radius: 999px;
  border: 0; background: var(--line); cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.dot.is-active { background: var(--blue); transform: scale(1.25); }
.arrow {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 1.1rem;
}
.arrow:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; color: var(--muted); font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .tick { color: var(--blue); font-weight: 700; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: #d7dcda; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; }
.card .kicker { font-weight: 600; color: var(--blue); font-size: 0.95rem; margin-bottom: 10px; }

/* feature list */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line-2);
}
.feature:first-of-type { border-top: 0; }
.feature.flip .feature-shot { order: -1; }
.feature-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #fff;
}
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { padding: 7px 0 7px 28px; position: relative; color: var(--ink-2); }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 7px; height: 7px; border-radius: 999px; background: var(--blue);
}

/* ---------- why-local ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  color: var(--ink);
}
.pill b { color: var(--blue); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-lt); position: relative; }
.price-badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--blue); color: #fff;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }
.price { font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; margin: 10px 0 4px; }
.price small { font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 28px; }
.price-card li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-2); border-top: 1px solid var(--line-2); }
.price-card li:first-child { border-top: 0; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.price-card .btn { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7cdcb; }

/* ---------- contact form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-lt);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #eaf7ee; color: #1c7d3f; }
.form-status.err { display: block; background: #fdecec; color: #b3261e; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-grid a { display: block; color: var(--ink-2); padding: 5px 0; font-size: 0.97rem; }
.footer-grid a:hover { color: var(--blue); }
.footer-logo img { height: 28px; margin-bottom: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.9rem; }

/* ---------- misc ---------- */
.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head.left { margin-left: 0; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links, .nav-cta .navlink-signin { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 18px 24px; gap: 16px;
  }
  .slide, .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-shot { order: 0; }
  .grid-3, .grid-2, .price-grid, .form-wrap, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 16px; }
  .cta-band { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.is-active { animation: none; }
  * { transition: none !important; }
}
