/* ================================================================
   RepairX – Service & Brand Pages CSS  (service-pages.css)
   ================================================================ */

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  background: var(--dark, #0d1b2a);
  position: relative;
  overflow: hidden;
  padding: 130px 0 80px;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

/* Breadcrumb */
.page-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  font-size: 13px;
}
.page-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
}
.page-breadcrumb a:hover { color: #F9A501; }
.page-breadcrumb .bc-sep  { color: rgba(255,255,255,0.25); }
.page-breadcrumb .bc-cur  { color: rgba(255,255,255,0.75); }

/* Eyebrow tag */
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(249,165,1,.12);
  border: 1px solid rgba(249,165,1,.3);
  color: #F9A501;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* H1 */
.page-h1 {
  font-size: clamp(26px, 4.5vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 20px;
}
.page-h1 span { color: #E30613; }

/* Subline */
.page-subline {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  max-width: 620px;
  line-height: 1.75;
  margin: 0 0 32px;
}

/* Hero Buttons */
.page-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── TRUST STRIP ─────────────────────────────────────────────── */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
}
.trust-strip-inner {
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-right: 1px solid #e5e7eb;
  flex: 1 1 200px;
}
.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 38px;
  height: 38px;
  background: rgba(227,6,19,.07);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E30613;
}
.trust-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}
.trust-text span {
  font-size: 12px;
  color: #6b7280;
}

/* ── CONTENT SECTIONS ────────────────────────────────────────── */
.sp-section {
  padding: 76px 0;
}
.sp-section.sp-alt {
  background: #f6f8f7;
}
.sp-section .sp-h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #0d1b2a;
  margin: 0 0 14px;
  line-height: 1.2;
}
.sp-section .sp-intro {
  font-size: 15px;
  color: #4b5563;
  max-width: 680px;
  line-height: 1.75;
  margin: 0 0 44px;
}

/* H3 Cards Grid */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.sp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow .25s, border-color .25s;
}
.sp-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  border-color: rgba(227,6,19,.22);
}
.sp-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(227,6,19,.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #E30613;
}
.sp-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
}
.sp-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* Feature / Check List */
.sp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
}
.sp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}
.sp-list li:last-child { border-bottom: none; }
.sp-list li svg {
  color: #E30613;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Steps */
.sp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 32px;
  counter-reset: step-counter;
}
.sp-step {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.sp-step-num {
  width: 46px;
  height: 46px;
  background: #E30613;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.sp-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}
.sp-step p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Brand Tags */
.sp-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.sp-brand-tag {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  transition: border-color .2s, background .2s;
}
.sp-brand-tag:hover {
  border-color: #E30613;
  background: rgba(227,6,19,.04);
}

/* Compat Table */
.sp-table-wrap { overflow-x: auto; margin-top: 24px; }
.sp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.sp-table th {
  background: #0d1b2a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 20px;
  text-align: left;
}
.sp-table td {
  padding: 13px 20px;
  font-size: 13px;
  color: #4b5563;
  border-bottom: 1px solid #e5e7eb;
}
.sp-table tr:last-child td { border-bottom: none; }
.sp-table .ok {
  color: #E30613;
  font-weight: 700;
  font-size: 16px;
}

/* Warning Box */
.sp-warning-box {
  background: #fff8e1;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.sp-warning-box svg { color: #d97706; flex-shrink: 0; margin-top: 2px; }
.sp-warning-box p { font-size: 14px; color: #374151; margin: 0; line-height: 1.65; }

/* ── FAQ SECTION ─────────────────────────────────────────────── */
.sp-faq {
  padding: 76px 0;
  background: #f6f8f7;
}
.sp-faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}
.sp-faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.sp-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  transition: color .2s;
}
.sp-faq-q:hover { color: #E30613; }
.sp-faq-q .faq-arrow { flex-shrink: 0; transition: transform .3s; }
.sp-faq-item.open .sp-faq-q { color: #E30613; }
.sp-faq-item.open .faq-arrow { transform: rotate(180deg); }
.sp-faq-a {
  padding: 16px 24px 20px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  border-top: 1px solid #e5e7eb;
  display: none;
}
.sp-faq-item.open .sp-faq-a { display: block; }

/* ── MINI CTA ────────────────────────────────────────────────── */
.sp-cta {
  padding: 64px 0;
  background: #0d1b2a;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(227,6,19,.15) 0%, transparent 70%);
  pointer-events: none;
}
.sp-cta h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  position: relative;
}
.sp-cta p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  margin: 0 0 28px;
  position: relative;
}
.sp-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .page-hero { padding: 110px 0 60px; }
}
@media (max-width: 640px) {
  .trust-strip-inner { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid #e5e7eb; }
  .trust-item:last-child { border-bottom: none; }
  .sp-cards { grid-template-columns: 1fr; }
  .sp-list  { grid-template-columns: 1fr; }
  .sp-steps { grid-template-columns: 1fr; }
  .sp-section { padding: 48px 0; }
  .sp-faq { padding: 48px 0; }
  .page-hero-btns { flex-direction: column; }
  .sp-cta-btns { flex-direction: column; align-items: center; }
}

/* ── NAV DROPDOWN genişletilmiş stiller ─────────────────────── */
.nav-links .has-dropdown > .dropdown {
  min-width: 220px;
}
.nav-links .has-dropdown > .dropdown li a {
  white-space: nowrap;
}
