/* ==========================================================================
   StickerPrintingCo — Redesign v2
   Namespaced with "sp-" so it layers on top of the existing style.css
   without breaking pages that haven't been redesigned yet.
   ========================================================================== */

:root {
  --sp-navy: #0b131f;
  --sp-blue: #009ee3;
  --sp-blue-dark: #0678a8;
  --sp-gold: #ffc300;
  --sp-ink: #1a2230;
  --sp-muted: #5b6472;
  --sp-line: #e4e7eb;
  --sp-bg-soft: #f6f8fa;
  --sp-white: #ffffff;
  --sp-font-heading: 'Poppins', sans-serif;
  --sp-font-body: 'Inter', sans-serif;
  --sp-radius: 10px;
  --sp-container: 1180px;
}

.sp-scope, .sp-scope * {
  font-family: var(--sp-font-body);
  box-sizing: border-box;
}

.sp-scope h1, .sp-scope h2, .sp-scope h3, .sp-scope h4 {
  font-family: var(--sp-font-heading);
  color: var(--sp-ink);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

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

/* ---- Top utility bar ---- */
.sp-topbar {
  background: var(--sp-navy);
  padding: 8px 0;
}
.sp-topbar a {
  color: #c7cdd6;
  font-size: 13px;
  text-decoration: none;
}
.sp-topbar a:hover { color: var(--sp-gold); }

/* ---- Nav ---- */
.sp-nav-wrap {
  background: var(--sp-white);
  border-bottom: 1px solid var(--sp-line);
  position: sticky;
  top: 0;
  z-index: 999;
}
.sp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.sp-logo img {
  height: 42px;
  display: block;
}
.sp-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--sp-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.sp-menu a:hover {
  background: var(--sp-bg-soft);
  color: var(--sp-blue-dark);
}
.sp-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--sp-navy);
  cursor: pointer;
}
@media (max-width: 991px) {
  .sp-menu-toggle { display: block; }
  .sp-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sp-white);
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--sp-line);
    padding: 8px;
    display: none;
  }
  .sp-menu.is-open { display: flex; }
  .sp-menu a { padding: 12px 14px; }
}

/* ---- Hero ---- */
.sp-hero {
  background: var(--sp-navy);
  padding: 72px 0 68px;
  text-align: center;
}
.sp-hero-eyebrow {
  color: var(--sp-gold);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}
.sp-hero h1 {
  color: var(--sp-white);
  font-size: 36px;
  max-width: 640px;
  margin: 0 auto 16px;
}
.sp-hero p {
  color: #9aa4b2;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.sp-btn {
  display: inline-block;
  background: var(--sp-blue);
  color: #042c53;
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.sp-btn:hover {
  background: var(--sp-blue-dark);
  color: #ffffff;
}
.sp-btn:active { transform: scale(0.98); }
.sp-btn-outline {
  background: transparent;
  border: 1.5px solid var(--sp-white);
  color: var(--sp-white);
}
.sp-btn-outline:hover {
  background: var(--sp-white);
  color: var(--sp-navy);
}

/* ---- Section shell ---- */
.sp-section {
  padding: 64px 0;
}
.sp-section-soft { background: var(--sp-bg-soft); }
.sp-section-head {
  text-align: center;
  margin-bottom: 36px;
}
.sp-section-head h2 {
  font-size: 26px;
  margin-bottom: 10px;
}
.sp-section-head p {
  color: var(--sp-muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.sp-underline {
  width: 40px;
  height: 3px;
  background: var(--sp-gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ---- Material / product cards ---- */
.sp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sp-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
  display: block;
}
.sp-card:hover {
  border-color: var(--sp-blue);
  transform: translateY(-3px);
}
.sp-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 14px;
}
.sp-card p {
  color: var(--sp-ink);
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}

/* ---- Steps (how it works) ---- */
.sp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sp-step {
  text-align: center;
}
.sp-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(0,158,227,0.1);
  color: var(--sp-blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.sp-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.sp-step p {
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---- Why us ---- */
.sp-grid-3-tight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-why-item {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  padding: 24px;
}
.sp-why-item .sp-icon {
  color: var(--sp-blue-dark);
  font-size: 26px;
  margin-bottom: 12px;
  display: block;
}
.sp-why-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.sp-why-item p {
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

/* ---- Editorial / SEO copy blocks ---- */
.sp-editorial h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.sp-editorial p {
  color: var(--sp-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 26px;
}
.sp-editorial a {
  color: var(--sp-blue-dark);
  font-weight: 600;
  text-decoration: underline;
}
.sp-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}

/* ---- Carousel row (kept simple, no owl dependency needed on this section) ---- */
.sp-scroll-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.sp-scroll-row .sp-card {
  min-width: 220px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

/* ---- Footer ---- */
.sp-footer {
  background: var(--sp-navy);
  padding: 56px 0 0;
}
.sp-footer h3 {
  color: var(--sp-white);
  font-size: 17px;
  margin-bottom: 18px;
}
.sp-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-footer li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #9aa4b2;
  font-size: 14px;
  line-height: 1.6;
}
.sp-footer li svg { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; fill: var(--sp-gold); }
.sp-footer a { color: #9aa4b2; text-decoration: none; }
.sp-footer a:hover { color: var(--sp-gold); }
.sp-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.sp-social img { width: 28px; height: 28px; }
.sp-payments img { max-width: 220px; margin-bottom: 20px; }
.sp-copyright {
  text-align: center;
  color: #6b7480;
  font-size: 13px;
  padding: 18px 0;
}

/* ---- Image placeholder system ----
   Point an <img> at a filename the client will eventually upload.
   If it 404s, onerror hides it and reveals a labeled dashed box
   in its place — no code changes needed once the real file lands. */
.sp-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--sp-radius);
}
.sp-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-placeholder-label {
  display: none;
}
.sp-img-wrap.sp-img-missing {
  background: var(--sp-bg-soft);
  border: 2px dashed var(--sp-line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.sp-img-wrap.sp-img-missing .sp-placeholder-label {
  display: block;
  text-align: center;
  color: var(--sp-muted);
  font-size: 13px;
  padding: 20px;
  line-height: 1.6;
}
.sp-placeholder-label b {
  color: var(--sp-ink);
  font-family: var(--sp-font-heading);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

/* ---- Hero with image ---- */
.sp-hero-split {
  background: var(--sp-navy);
  padding: 56px 0;
}
.sp-hero-split .sp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.sp-hero-split h1 {
  color: var(--sp-white);
  font-size: 32px;
  margin-bottom: 14px;
}
.sp-hero-split p {
  color: #9aa4b2;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.sp-hero-split .sp-img-wrap { aspect-ratio: 4/3.4; }
.sp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* ---- Trust badge ---- */
.sp-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 20px;
  color: #d6dbe2;
  font-size: 13px;
}
.sp-trust b { color: var(--sp-gold); }

/* ---- Quick category links ---- */
.sp-quicklinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sp-quicklink {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.sp-quicklink:hover { border-color: var(--sp-blue); transform: translateY(-2px); }
.sp-quicklink i { font-size: 22px; color: var(--sp-blue-dark); margin-bottom: 8px; display: block; }
.sp-quicklink span { display: block; font-family: var(--sp-font-heading); font-size: 14px; font-weight: 500; color: var(--sp-ink); }
.sp-quicklink small { color: var(--sp-muted); font-size: 12px; }

/* ---- Feature cards (two-column, image + copy) ---- */
.sp-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sp-feature-card {
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.sp-feature-card .sp-img-wrap { aspect-ratio: 16/10; border-radius: 0; }
.sp-feature-card-body { padding: 20px 22px; }
.sp-feature-card-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.sp-feature-card-body p {
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---- Case studies / social proof ---- */
.sp-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sp-case-card {
  border-radius: var(--sp-radius);
  overflow: hidden;
  border: 1px solid var(--sp-line);
  text-decoration: none;
  display: block;
}
.sp-case-card .sp-img-wrap { aspect-ratio: 1/1; border-radius: 0; }
.sp-case-card-body { padding: 16px 18px; background: var(--sp-white); }
.sp-case-card-body h4 {
  font-family: var(--sp-font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--sp-ink);
  margin: 0 0 4px;
}
.sp-case-card-body p {
  color: var(--sp-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .sp-grid-4, .sp-quicklinks { grid-template-columns: repeat(2, 1fr); }
  .sp-grid-3, .sp-grid-3-tight { grid-template-columns: 1fr; }
  .sp-editorial-grid { grid-template-columns: 1fr; }
  .sp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sp-hero h1 { font-size: 28px; }
  .sp-hero-split .sp-container { grid-template-columns: 1fr; }
  .sp-hero-split h1 { font-size: 26px; }
  .sp-feature-grid, .sp-case-grid { grid-template-columns: 1fr; }
}
