/* ============================================
   SUBPAGE STYLES - ACİL BATMAN TESİSATÇI
   Modern, SEO-friendly Service Page Styles
   ============================================ */

/* ========================
   SUBPAGE HERO
   ======================== */
.sp-hero {
  position: relative;
  background: linear-gradient(180deg, #071526 0%, #0d2238 60%, #081627 100%);
  border-bottom: 1px solid #1a385c;
  padding: 80px 0 90px;
  overflow: hidden;
  color: var(--white);
}

.sp-hero::before {
  display: none;
}

.sp-hero::after {
  display: none;
}

.sp-hero .container {
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.sp-breadcrumb {
  margin-bottom: 24px;
}
.sp-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}
.sp-breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-breadcrumb ol li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.sp-breadcrumb ol li a:hover {
  color: var(--white);
  text-decoration: underline;
}
.sp-breadcrumb ol li i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}
.sp-breadcrumb ol li[aria-current="page"] {
  color: var(--accent-light);
  font-weight: 600;
}

/* Title & Lead */
.sp-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.sp-hero__title span {
  color: #ffffff !important;
  font-weight: 800 !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  display: inline;
}

.sp-hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 740px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.sp-hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sp-hero__cta .btn {
  border-radius: 6px !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  min-height: 50px;
}

/* ========================
   MAIN CONTENT & LAYOUT
   ======================== */
.sp-main {
  background: var(--grey-50);
  padding: 80px 0 100px;
}

.sp-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.sp-content {
  min-width: 0;
}

/* Intro Card */
.sp-intro {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-200);
  border-left: 5px solid var(--blue-500);
  margin-bottom: 44px;
}
.sp-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--grey-900);
  margin-bottom: 16px;
  line-height: 1.3;
}
.sp-intro h2 strong {
  color: var(--blue-500);
}
.sp-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-700);
}
.sp-intro p strong {
  color: var(--grey-900);
}

/* Process Section */
.sp-process {
  margin-bottom: 48px;
}
.sp-process h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 26px);
  color: var(--grey-900);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-process h2::before {
  content: '';
  width: 6px;
  height: 22px;
  background: var(--blue-500);
  border-radius: var(--radius-full);
  display: inline-block;
}

.sp-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sp-step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-200);
  position: relative;
  transition: var(--transition);
}
.sp-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-300);
}
.sp-step__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: rgba(21, 101, 192, 0.12);
  line-height: 1;
  pointer-events: none;
}
.sp-step__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(21,101,192,0.1) 0%, rgba(33,150,243,0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue-500);
  margin-bottom: 18px;
  transition: var(--transition);
}
.sp-step:hover .sp-step__icon {
  background: var(--blue-500);
  color: var(--white);
  transform: scale(1.05);
}
.sp-step h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 8px;
}
.sp-step p {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.65;
}

/* Features Grid */
.sp-features {
  margin-bottom: 48px;
}
.sp-features h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 26px);
  color: var(--grey-900);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-features h2::before {
  content: '';
  width: 6px;
  height: 22px;
  background: var(--green);
  border-radius: var(--radius-full);
  display: inline-block;
}

.sp-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sp-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: var(--transition);
}
.sp-feature:hover {
  border-color: var(--grey-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.sp-feature > i {
  font-size: 22px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}
.sp-feature h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 4px;
}
.sp-feature p {
  font-size: 13.5px;
  color: var(--grey-600);
  line-height: 1.5;
  margin: 0;
}

/* FAQ in Subpage */
.sp-faq {
  margin-bottom: 40px;
}
.sp-faq h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 26px);
  color: var(--grey-900);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-faq h2::before {
  content: '';
  width: 6px;
  height: 22px;
  background: var(--accent);
  border-radius: var(--radius-full);
  display: inline-block;
}

/* ========================
   SIDEBAR
   ======================== */
.sp-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sp-sidebar__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-200);
}

/* Sidebar CTA Card */
.sp-sidebar__card--cta {
  background: linear-gradient(145deg, #060e1a 0%, #0d2137 60%, #0e3460 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-sidebar__card--cta::before {
  display: none;
}

.sp-sidebar__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent-light);
  margin: 0 auto 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sp-sidebar__card--cta h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.sp-sidebar__card--cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Sidebar Links */
.sp-sidebar__card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 16px;
}

.sp-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.sp-sidebar__links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-800);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
}
.sp-sidebar__links li a i {
  width: 20px;
  font-size: 14px;
  color: var(--blue-500);
  transition: var(--transition);
}
.sp-sidebar__links li a:hover {
  background: rgba(21, 101, 192, 0.08);
  border-color: var(--blue-300);
  color: var(--blue-600);
  transform: translateX(4px);
}
.sp-sidebar__links li a:hover i {
  transform: scale(1.15);
}

/* Guarantee Card */
.sp-sidebar__card--info {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1px solid #BBF7D0;
}
.sp-sidebar__card--info h4 {
  color: #166534;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sp-sidebar__card--info h4 i {
  color: #22C55E;
}
.sp-sidebar__card--info p {
  color: #14532D;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* ========================
   BOTTOM CTA STRIP
   ======================== */
.sp-cta-strip {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  padding: 60px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.sp-cta-strip::before {
  display: none;
}
.sp-cta-strip .container {
  position: relative;
  z-index: 2;
}
.sp-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.sp-cta-strip__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.sp-cta-strip__text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
.sp-cta-strip__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 991px) {
  .sp-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sp-sidebar {
    position: static;
  }
  .sp-cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }
  .sp-cta-strip__actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .sp-hero {
    padding: 55px 0 65px;
  }
  .sp-main {
    padding: 50px 0 70px;
  }
  .sp-intro {
    padding: 26px 22px;
  }
  .sp-steps {
    grid-template-columns: 1fr;
  }
  .sp-features__grid {
    grid-template-columns: 1fr;
  }
  .sp-hero__cta {
    flex-direction: column;
    width: 100%;
  }
  .sp-hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sp-cta-strip__actions {
    flex-direction: column;
    width: 100%;
  }
  .sp-cta-strip__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
