/* ==========================================================================
   Sparkygo SEO landing page styles
   Loaded after the main /styles.css. Scoped under .seo-page wrappers.
   Colors aligned with the homepage theme:
   --primary: #0066cc
   --primary-dark: #0052a3
   --text-dark: #333
   --text-medium: #666
   --text-light: #999
   --bg-light: #f5f5f5
   --border: #e0e0e0
   ========================================================================== */

.seo-page {
  background: #f5f5f5;
  color: #333;
  padding: 0 0 64px;
  line-height: 1.6;
}

.seo-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumbs */
.seo-crumbs {
  font-size: 14px;
  color: #999;
  padding: 24px 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.seo-crumbs a {
  color: #0066cc;
  text-decoration: none;
}

.seo-crumbs a:hover {
  text-decoration: underline;
}

.seo-crumb-sep {
  margin: 0 8px;
  color: #e0e0e0;
}

.seo-crumbs span[aria-current="page"] {
  color: #333;
  font-weight: 600;
}

/* Hero */
.seo-hero {
  padding: 32px 0 24px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 32px;
}

.seo-eyebrow {
  display: inline-block;
  background: rgba(0, 102, 204, 0.08);
  color: #0066cc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 102, 204, 0.2);
}

.seo-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: #333;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.seo-lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: #666;
  margin: 0 0 24px;
  max-width: 820px;
  line-height: 1.55;
}

.seo-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.seo-hero-cta .btn-primary,
.seo-hero-cta .btn-outline-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.seo-hero-cta .btn-primary {
  background: #0066cc;
  color: #fff;
  border: 1px solid #0066cc;
}

.seo-hero-cta .btn-primary:hover {
  background: #0052a3;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.seo-hero-cta .btn-outline-large {
  background: #fff;
  color: #333;
  border: 1px solid #e0e0e0;
  text-decoration: none;
}

.seo-hero-cta .btn-outline-large:hover {
  border-color: #0066cc;
  color: #0066cc;
  transform: translateY(-1px);
}

/* Sections */
.seo-section {
  padding: 24px 0 32px;
}

.seo-section + .seo-section {
  border-top: 1px solid #e0e0e0;
}

.seo-section-light {
  background: #ffffff;
  margin: 16px -24px;
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
}

.seo-section h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.seo-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.seo-section p {
  margin: 0 0 16px;
  color: #666;
  max-width: 880px;
}

.seo-section p strong {
  color: #333;
}

/* Lists */
.seo-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.seo-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  color: #666;
  font-size: 15px;
  line-height: 1.55;
}

.seo-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.1);
  border: 2px solid #0066cc;
}

.seo-list li strong {
  color: #333;
  font-weight: 700;
}

/* Card grid */
.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.seo-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.seo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #0066cc;
}

.seo-card-static:hover {
  transform: none;
  box-shadow: none;
  border-color: #e0e0e0;
}

.seo-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.seo-card p {
  font-size: 14px;
  color: #666;
  margin: 0 0 12px;
  line-height: 1.55;
  flex: 1;
}

.seo-card-link {
  font-size: 14px;
  font-weight: 600;
  color: #0066cc;
  margin-top: auto;
}

/* Pill list (for suburbs / nearby) */
.seo-pill-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-pill-list-dense {
  gap: 6px;
}

.seo-pill-list li {
  margin: 0;
}

.seo-pill-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.seo-pill-list a:hover {
  border-color: #0066cc;
  color: #0052a3;
  background: rgba(0, 102, 204, 0.04);
}

.seo-pill-meta {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

/* FAQ */
.seo-faq {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.seo-faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.seo-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  color: #333;
  font-size: 16px;
  position: relative;
  padding-right: 44px;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #0066cc;
  font-weight: 400;
  transition: transform 0.15s ease;
}

.seo-faq-item[open] summary::after {
  content: "\2212";
}

.seo-faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* Nav link styles (used on homepage too) */
.seo-nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.seo-nav-link:hover {
  color: #0066cc;
}

/* Mobile */
@media (max-width: 720px) {
  .seo-section-light {
    margin-left: -16px;
    margin-right: -16px;
    padding: 24px 16px;
    border-radius: 12px;
  }

  .seo-page .container {
    padding: 0 16px;
  }

  .seo-hero h1 {
    font-size: 28px;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }
}
