/* TAC Services */
/* ===== PAGE HERO ===== */
.page-hero {
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  background: #0d0d0d;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1920&q=70');
  background-size: cover; background-position: center;
  opacity: .18;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,.95) 40%, rgba(13,13,13,.5) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding-top: 200px;
  max-width: 680px;
}
.page-hero-content .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.page-hero-content .breadcrumb a { color: #666; font-size: .82rem; transition: color .3s; }
.page-hero-content .breadcrumb a:hover { color: var(--red); }
.page-hero-content .breadcrumb i { color: #444; font-size: .65rem; }
.page-hero-content .breadcrumb span { color: #888; font-size: .82rem; }
.page-hero-content h1 { color: #fff; margin-bottom: 16px; }
.page-hero-content p { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 520px; margin: 0; }

/* ===== SERVICE TABS BAR ===== */
.service-tabs-bar {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  position: sticky; top: 80px; z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.service-tabs {
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.service-tabs::-webkit-scrollbar { display: none; }
.tab-item {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 22px;
  color: #666; font-size: .85rem; font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .25s; text-decoration: none;
}
.tab-item i { font-size: .9rem; }
.tab-item:hover { color: var(--red); background: rgba(221,25,26,.04); }
.tab-item.active { color: var(--red); border-bottom-color: var(--red); }

/* ===== SERVICE DETAIL SECTIONS ===== */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-label {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.service-label-icon {
  width: 44px; height: 44px;
  background: rgba(221,25,26,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1.1rem;
}
.service-label span {
  color: var(--red); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: 2.5px;
}
.service-detail-content h2 { margin-bottom: 18px; }
.service-lead {
  font-size: 1.05rem; color: #444; font-weight: 500;
  line-height: 1.75; margin-bottom: 16px;
}
.service-detail-content p { color: #666; font-size: .95rem; line-height: 1.8; }

.service-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin: 28px 0;
}
.feature-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: #444;
}
.feature-item i { color: var(--red); font-size: .9rem; flex-shrink: 0; }

.service-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Service image */
.service-detail-image { position: relative; }
.service-detail-image img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
  object-fit: cover; height: 420px;
}
.service-info-card {
  position: absolute; bottom: -24px; left: -24px;
  background: #fff; border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  min-width: 220px;
  border-left: 4px solid var(--red);
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid #f5f5f5;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-label { color: #999; font-size: .78rem; font-weight: 500; }
.info-val { color: #111; font-size: .82rem; font-weight: 700; }

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: flex; align-items: flex-start;
  gap: 0; margin-top: 16px;
}
.process-step {
  flex: 1; text-align: center; padding: 0 20px;
  position: relative;
}
.step-number {
  font-size: 3.5rem; font-weight: 800;
  color: rgba(221,25,26,.08); line-height: 1;
  margin-bottom: -12px; font-family: 'Inter', sans-serif;
}
.step-icon {
  width: 64px; height: 64px;
  background: rgba(221,25,26,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.4rem; color: var(--red);
  transition: all .3s; position: relative; z-index: 1;
}
.process-step:hover .step-icon {
  background: var(--red); color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(221,25,26,.3);
}
.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: .88rem; color: #666; line-height: 1.7; }
.process-connector {
  color: #ddd; font-size: 1.2rem;
  padding-top: 52px; flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .service-detail-grid { gap: 48px; }
  .service-info-card { left: 0; bottom: -20px; }
}
@media (max-width: 768px) {
  .service-detail-grid,
  .service-detail-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
  .service-detail-grid.reverse .service-detail-image { order: -1; }
  .service-detail-image img { height: 280px; }
  .service-info-card { position: static; margin-top: 16px; }
  .service-features { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; gap: 24px; }
  .process-connector { display: none; }
  .process-step { max-width: 320px; }
  .service-tabs-bar { top: 0; }
  .page-hero { min-height: 320px; padding-bottom: 44px; }
}

/* ===== HEADER FIX: always dark on inner pages ===== */
body:not(.home-page) #site-header {
  background: rgba(13,13,13,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
