/* ============================================
   Service Pages & Problem Pages Styles
   ============================================ */

/* SERVICE HERO */
.service-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(43,115,186,.07) 0%, transparent 70%);
}
.service-hero--dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  color: var(--white);
}
.sh-breadcrumb { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 20px; }
.sh-breadcrumb a { color: var(--gray-500); }
.sh-breadcrumb a:hover { color: var(--blue); }
.sh-breadcrumb--light { color: rgba(255,255,255,.5); }
.sh-breadcrumb--light a { color: rgba(255,255,255,.5); }
.sh-icon { font-size: 3.5rem; margin-bottom: 16px; }
.service-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.service-hero p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.service-hero--dark p { color: rgba(255,255,255,.7); }
.sh-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.sh-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}
.sh-trust--light { color: rgba(255,255,255,.6); }
.sh-trust span::before { content: ""; }

/* FIX GRID */
.fix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.fix-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition);
}
.fix-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.fix-item > span { font-size: 1.75rem; flex-shrink: 0; }
.fix-item strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.fix-item p { font-size: 0.825rem; color: var(--gray-500); }

/* DEV GRID */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.dev-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.dev-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.dev-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.dev-card p { font-size: 0.875rem; color: var(--gray-500); }

/* IMPACT GRID */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.impact-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.impact-card strong { display: block; font-size: 2.5rem; font-weight: 900; color: var(--blue); margin-bottom: 8px; }
.impact-card p { font-size: 0.85rem; color: var(--gray-500); }

/* SERVICE PRICING */
.service-pricing-section { max-width: 900px; margin: 0 auto; }
.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.sp-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  background: var(--white);
  position: relative;
}
.sp-card--featured { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,115,186,.1); }
.sp-name { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); margin-bottom: 8px; }
.sp-price { font-size: 1.6rem; font-weight: 900; color: var(--dark); margin-bottom: 8px; }
.sp-card p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 20px; }

/* STACK GRID */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.stack-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.stack-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.stack-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; color: var(--blue); }
.stack-card p { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 14px; }
.stack-use { font-size: 0.8rem; font-weight: 600; color: var(--gray-700); background: var(--gray-100); padding: 6px 12px; border-radius: 6px; }

/* HACK SIGNS */
.hack-signs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.sign-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fff7f0;
  border: 1px solid #ffd4b0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* CAUSES GRID */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.cause-item {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 22px;
}
.cause-item strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.cause-item p { font-size: 0.85rem; color: var(--gray-500); }

/* PROBLEM HERO */
.problem-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(43,115,186,.07) 0%, transparent 70%);
}
.problem-hero--dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: var(--white);
}
.problem-hero--speed {
  background: radial-gradient(ellipse at 50% 0%, rgba(43,115,186,.08) 0%, transparent 70%);
}
.problem-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.problem-hero p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 12px;
  line-height: 1.7;
}
.problem-hero--dark p { color: rgba(255,255,255,.7); }
.problem-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.3);
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.status-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
.problem-note { font-size: 0.85rem; color: var(--gray-500); margin-top: 16px; }

/* PROBLEM CTA BAND */
.problem-cta-band {
  background: linear-gradient(135deg, var(--dark), #1e3a5f);
  padding: 48px 0;
}
.pcta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pcta-content h2 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.pcta-content p { font-size: 0.9rem; color: rgba(255,255,255,.65); }

/* BLOG STYLES */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.blog-featured { margin-bottom: 32px; }
.blog-featured-card {
  display: block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}
.blog-featured-card:hover { transform: translateY(-2px); }
.bfc-label {
  display: inline-block;
  background: rgba(255,255,255,.2);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.bfc-cat {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.blog-featured-card h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-featured-card p { font-size: 0.95rem; color: rgba(255,255,255,.8); max-width: 700px; margin-bottom: 16px; }
.bfc-meta { font-size: 0.8rem; color: rgba(255,255,255,.6); display: flex; gap: 8px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.blog-card {
  display: block;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  transition: all var(--transition);
}
.blog-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.bc-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.bc-cat--wordpress { background: #e8f5e9; color: #2e7d32; }
.bc-cat--shopify { background: #e8f5e9; color: #1b5e20; }
.bc-cat--speed { background: #fff8e1; color: #f57f17; }
.bc-cat--seo { background: #e3f2fd; color: #1565c0; }
.bc-cat--security { background: #fce4ec; color: #880e4f; }
.blog-card h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.blog-card p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 14px; }
.bc-meta { font-size: 0.75rem; color: var(--gray-500); }
.blog-cta { text-align: center; padding: 40px; background: var(--gray-100); border-radius: var(--radius-lg); }
.blog-cta p { font-size: 1rem; margin-bottom: 16px; color: var(--gray-700); }

/* CASE STUDIES */
.cs-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
  padding: 32px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cs-stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 4px; }
.cs-stat span { font-size: 0.8rem; color: rgba(255,255,255,.5); }

.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-bottom: 64px; }
.cs-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
}
.cs-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.cs-tag--emergency { background: #fff3e0; color: #e65100; }
.cs-tag--security { background: #fce4ec; color: #880e4f; }
.cs-tag--speed { background: #fff8e1; color: #f57f17; }
.cs-tag--seo { background: #e3f2fd; color: #1565c0; }
.cs-tag--design { background: var(--blue-light); color: var(--blue); }
.cs-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; line-height: 1.4; }
.cs-client { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 14px; font-weight: 500; }
.cs-card p { font-size: 0.875rem; color: var(--gray-700); margin-bottom: 20px; line-height: 1.6; }
.cs-results {
  display: flex;
  gap: 0;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.cs-result { flex: 1; text-align: center; padding: 12px 8px; border-right: 1px solid var(--gray-300); }
.cs-result:last-child { border-right: none; }
.cs-result strong { display: block; font-size: 1.1rem; font-weight: 900; color: var(--blue); }
.cs-result span { font-size: 0.7rem; color: var(--gray-500); }
.cs-card blockquote { font-size: 0.85rem; font-style: italic; color: var(--gray-500); border-left: 3px solid var(--blue); padding-left: 14px; }
.cs-cta { text-align: center; padding: 56px 0; }
.cs-cta h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; }
.cs-cta p { font-size: 1rem; color: var(--gray-500); margin-bottom: 28px; }

@media (max-width: 768px) {
  .service-hero { padding: 110px 0 60px; }
  .sh-cta { flex-direction: column; align-items: center; }
  .pcta-content { flex-direction: column; text-align: center; }
  .cs-stats-row { grid-template-columns: repeat(2, 1fr); }
  .blog-featured-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .cs-stats-row { grid-template-columns: 1fr 1fr; }
  .cs-results { flex-direction: column; }
  .cs-result { border-right: none; border-bottom: 1px solid var(--gray-300); }
  .cs-result:last-child { border-bottom: none; }
}
