/* === Service Page Styles === */

/* Service Hero */
.service-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f2341 0%, #1a3a5c 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 0;
}
.service-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}
.service-hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Service Detail Layout */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.service-main h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f2341;
  margin-bottom: 16px;
}
.service-main h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f2341;
  margin: 32px 0 16px;
}
.service-main p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Service Lists */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.5;
}
.service-list li svg {
  color: #1a56db;
  flex-shrink: 0;
  margin-top: 2px;
}
.service-list.warning li {
  padding-left: 20px;
  position: relative;
}
.service-list.warning li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
}

/* CTA Box */
.service-cta-box {
  margin-top: 40px;
  padding: 32px;
  background: #eff6ff;
  border-radius: 14px;
  border: 1px solid #dbeafe;
}
.service-cta-box h3 {
  margin-top: 0;
}
.service-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn-outline-dark {
  background: transparent;
  color: #0f2341;
  border: 2px solid #cbd5e1;
}
.btn-outline-dark:hover {
  border-color: #1a56db;
  color: #1a56db;
  background: rgba(26,86,219,0.04);
}

/* Sidebar */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 92px;
}
.sidebar-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
}
.sidebar-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f2341;
  margin-bottom: 16px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav a {
  display: block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #475569;
  border-radius: 8px;
  transition: all 0.25s;
}
.sidebar-nav a:hover {
  color: #1a56db;
  background: #eff6ff;
}
.sidebar-nav a.active {
  color: #1a56db;
  background: #eff6ff;
  font-weight: 600;
}
.sidebar-warranty {
  text-align: center;
}
.sidebar-warranty svg {
  color: #1a56db;
  margin-bottom: 8px;
}
.sidebar-warranty p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}
.sidebar-hours p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-card {
    flex: 1;
    min-width: 250px;
  }
}
@media (max-width: 768px) {
  .service-hero h1 { font-size: 2rem; }
  .service-hero { min-height: 240px; }
  .service-detail { padding: 56px 0; }
  .service-detail-grid { gap: 32px; }
  .service-main h2 { font-size: 1.55rem; }
  .service-main h3 { font-size: 1.2rem; }
  .service-sidebar { flex-direction: column; }
  .sidebar-card { min-width: auto; padding: 22px; }
  .service-cta-box { padding: 24px; margin-top: 32px; }
  .service-cta-actions { flex-direction: column; }
  .service-cta-actions .btn { text-align: center; }
}
@media (max-width: 480px) {
  .service-hero h1 { font-size: 1.7rem; }
  .service-hero { padding: 36px 0; }
  .service-main h2 { font-size: 1.4rem; }
  .service-cta-box { padding: 22px 20px; }
  .sidebar-card { padding: 20px; }
}

/* === DARK MODE OVERRIDES === */
.service-detail { background: #0b1120; }
.service-main h2,
.service-main h3 { color: #f1f5f9; }
.service-main p { color: #cbd5e1; }
.service-list li { color: #e2e8f0; }
.service-cta-box { background: rgba(26,86,219,0.12); border-color: rgba(26,86,219,0.3); }
.btn-outline-dark { color: #e2e8f0; border-color: rgba(255,255,255,0.25); }
.btn-outline-dark:hover { border-color: #1a56db; color: #fbbf24; background: rgba(26,86,219,0.15); }
.sidebar-card { background: #14233d; border-color: rgba(255,255,255,0.08); }
.sidebar-card h4 { color: #f1f5f9; }
.sidebar-nav a { color: #cbd5e1; }
.sidebar-nav a:hover,
.sidebar-nav a.active { color: #fbbf24; background: rgba(26,86,219,0.18); }
.sidebar-warranty p,
.sidebar-hours p { color: #cbd5e1; }
