/* ================================================
   SMARTLAKE MOTORS — service-page.css
   Shared styles for all dedicated service pages
   ================================================ */

/* ── PAGE HERO ──────────────────────────────── */
.sp-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  margin-top: 5.5em;
  overflow: hidden;
  background: #0d0d0d;
}

.sp-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
}

.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,13,13,0.95) 0%,
    rgba(13,13,13,0.75) 55%,
    rgba(13,13,13,0.45) 100%
  );
}

/* Gold left-edge accent */
.sp-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--sl-gold, #C9A84C);
  z-index: 2;
}

.sp-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 3rem;
}

/* Breadcrumb */
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.sp-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.sp-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.sp-breadcrumb span { color: rgba(255,255,255,0.85); }
.sp-breadcrumb__sep { opacity: 0.4; }

/* Badge */
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74,144,196,0.15);
  border: 1px solid rgba(74,144,196,0.35);
  color: #9DC8E8;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.sp-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sl-blue, #4A90C4);
  flex-shrink: 0;
}

/* H1 */
.sp-hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  max-width: 680px;
}
.sp-hero__title em {
  font-style: normal;
  color: var(--sl-gold, #C9A84C);
}

/* Subtitle */
.sp-hero__sub {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 1.75rem;
}

/* CTA row */
.sp-hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── LAYOUT ─────────────────────────────────── */
.sp-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .sp-body {
    display: flex !important;
    flex-direction: column !important;
    padding: 2.5rem 1.25rem 3rem;
  }

  /* Sidebar: strip sticky, sit below main content, constrained width */
  .sp-sidebar {
    order: 2;
    position: static !important;
    top: auto !important;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Info card: compact natural feel */
  .sp-info-card {
    display: flex;
    flex-direction: column;
  }

  .sp-info-row {
    margin-bottom: 0.85rem;
  }
  .sp-info-row:last-of-type {
    margin-bottom: 1.25rem;
  }

  .sp-info-card .btn-primary,
  .sp-info-card .btn-secondary {
    width: 100%;
    display: block;
    text-align: center;
    justify-content: center;
  }
}

/* ── CONTENT (left column) ──────────────────── */
.sp-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d0d0d;
  margin: 2rem 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}
.sp-content h2:first-child { margin-top: 0; }

.sp-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.sp-content strong { color: #0d0d0d; }

.sp-content a {
  color: var(--sl-blue);
  text-decoration: none;
  transition: border-color 0.2s;
}
.sp-content a:hover { border-color: var(--sl-gold); }

/* Services grid */
.sp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.75rem;
  list-style: none;
  padding: 0;
}

.sp-services-grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #333;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s;
}
.sp-services-grid li:hover {
  border-color: rgba(74,144,196,0.35);
  background: #f5f9fd;
}
.sp-services-grid li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sl-gold, #C9A84C);
  flex-shrink: 0;
  margin-top: 4px;
}

/* CTA strip at bottom of content */
.sp-content-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #ebebeb;
}

/* ── SIDEBAR (right column) ─────────────────── */
.sp-sidebar {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Ensure sticky never overflows into other elements */
  align-self: start;
}

/* Info card */
.sp-info-card {
  background: #1B2A3B;
  border-radius: 12px;
  padding: 1.5rem;
  color: #fff;
}

.sp-info-card__title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sl-gold, #C9A84C);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.sp-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
}
.sp-info-row:last-of-type { margin-bottom: 1.5rem; }

.sp-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(74,144,196,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-info-icon svg {
  width: 15px;
  height: 15px;
  stroke: rgba(255,255,255,0.7);
}

.sp-info-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}
.sp-info-value {
  color: rgba(255,255,255,0.9);
}
.sp-info-value a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s;
}
.sp-info-value a:hover { border-color: #fff; }

.sp-info-card .btn-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: block;
  margin-bottom: 0.6rem;
}
.sp-info-card .btn-secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: block;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}
.sp-info-card .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Trust card */
.sp-trust-card {
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.sp-trust-card__title {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
  margin-bottom: 1rem;
}
.sp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #444;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.sp-trust-item:last-child { margin-bottom: 0; }
.sp-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sl-gold, #C9A84C);
  flex-shrink: 0;
}

/* ── RELATED SERVICES STRIP ─────────────────── */
.sp-related {
  background: #f5f5f5;
  border-top: 1px solid #e8e8e8;
  padding: 3rem 2rem;
}
.sp-related__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sp-related__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.sp-related__heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0d0d0d;
  margin-bottom: 1.5rem;
}
.sp-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
.sp-related__card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #0d0d0d;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.sp-related__card:hover {
  border-color: var(--sl-gold, #C9A84C);
  box-shadow: 0 4px 16px rgba(201,168,76,0.12);
  transform: translateY(-2px);
}
.sp-related__card svg {
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.2s, color 0.2s;
}
.sp-related__card:hover svg {
  opacity: 1;
  color: var(--sl-gold, #C9A84C);
}

/* ── BUTTONS (local overrides) ───────────────── */
.sp-hero .btn,
.sp-info-card .btn,
.sp-content-cta .btn {
  font-size: 0.9rem;
  padding: 11px 24px;
}

@media (max-width: 560px) {
  .sp-related__grid { grid-template-columns: 1fr 1fr; }
  .sp-hero__inner { padding: 2.5rem 1.25rem 2rem; }
}