/* =============================================
   SERGO Appliance Repair — Service Page Design
   Unique layout · Same brand palette
   Colors: Blue #2B6CB0 · Orange #E88B2E
   ============================================= */

/* --- Service Hero --- */
.svc-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--primary-dark);
}
.svc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 71, 0.55) 0%,
    rgba(15, 42, 71, 0.82) 60%,
    rgba(8, 25, 44, 0.95) 100%
  );
  z-index: 1;
}
.svc-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px clamp(20px, 4vw, 56px) 52px;
  width: 100%;
}
.svc-hero__content h1 {
  color: var(--white);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 720px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.svc-hero__content h1 .accent {
  color: var(--accent-light);
}
.svc-hero__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 28px;
}
.svc-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: all 0.3s var(--ease);
}
.svc-hero__cta:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow: 0 8px 24px rgba(232, 139, 46, 0.4);
  transform: translateY(-2px);
  color: var(--white);
  text-decoration: none;
}


/* --- Breadcrumb --- */
.svc-breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.svc-breadcrumb__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
}
.svc-breadcrumb__inner a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.svc-breadcrumb__inner a:hover {
  color: var(--accent);
}
.svc-breadcrumb__sep {
  color: var(--gray-300);
  font-size: 11px;
}
.svc-breadcrumb__current {
  color: var(--gray-600);
  font-weight: 500;
}


/* --- Service Content Layout --- */
.svc-content {
  padding: clamp(48px, 7vw, 80px) 0;
}
.svc-content .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.svc-content__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.svc-content__main {
  min-width: 0;
}
.svc-content__main h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  padding-left: 18px;
}
.svc-content__main h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 4px;
}
.svc-content__main h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}
.svc-content__main p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.svc-content__main p a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 108, 176, 0.2);
  transition: all 0.2s;
}
.svc-content__main p a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.svc-content__main ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.svc-content__main ul li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}
.svc-content__main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(232, 139, 46, 0.12);
}


/* --- Sidebar --- */
.svc-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Sidebar CTA Card */
.svc-sidebar__cta {
  background: var(--primary-dark);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
}
.svc-sidebar__cta h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.svc-sidebar__cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.svc-sidebar__cta .btn {
  width: 100%;
  justify-content: center;
}
.svc-sidebar__cta .svc-sidebar__phone {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.svc-sidebar__cta .svc-sidebar__phone a {
  color: var(--accent-light);
  font-weight: 600;
}
.svc-sidebar__cta .svc-sidebar__phone a:hover {
  text-decoration: underline;
}

/* Sidebar Related Services */
.svc-sidebar__related {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}
.svc-sidebar__related h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}
.svc-sidebar__related a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  font-weight: 500;
}
.svc-sidebar__related a::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s;
}
.svc-sidebar__related a:hover {
  background: var(--primary-lighter);
  color: var(--primary);
  text-decoration: none;
}
.svc-sidebar__related a:hover::before {
  transform: translateX(3px);
}


/* --- Symptoms Grid Section --- */
.svc-symptoms {
  background: var(--gray-50);
  padding: clamp(48px, 7vw, 80px) 0;
}
.svc-symptoms .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.svc-symptoms__header {
  text-align: center;
  margin-bottom: 44px;
}
.svc-symptoms__header h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.svc-symptoms__header p {
  color: var(--gray-500);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.svc-symptoms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.svc-symptom-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}
.svc-symptom-card:hover {
  border-color: rgba(43, 108, 176, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.svc-symptom-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(43, 108, 176, 0.08), rgba(232, 139, 46, 0.1));
  border: 1px solid rgba(43, 108, 176, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.svc-symptom-card__text h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
  margin-top: 0;
}
.svc-symptom-card__text p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0;
}


/* --- Diagnostic Process Section --- */
.svc-process {
  background: var(--white);
  padding: clamp(48px, 7vw, 80px) 0;
}
.svc-process .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.svc-process__header {
  text-align: center;
  margin-bottom: 48px;
}
.svc-process__header h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.svc-process__header p {
  color: var(--gray-500);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.svc-process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  counter-reset: step-counter;
}
.svc-process__step {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  counter-increment: step-counter;
  transition: all 0.3s var(--ease);
}
.svc-process__step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.svc-process__step::before {
  content: counter(step-counter);
  position: absolute;
  top: -16px;
  left: 28px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.25);
}
.svc-process__step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
  margin-top: 8px;
}
.svc-process__step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}


/* --- Service FAQ Section --- */
.svc-faq {
  background: var(--primary-dark);
  padding: clamp(48px, 7vw, 80px) 0;
}
.svc-faq .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.svc-faq__header {
  text-align: center;
  margin-bottom: 44px;
}
.svc-faq__header h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 10px;
}
.svc-faq__header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.svc-faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.svc-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.svc-faq__q {
  width: 100%;
  padding: 22px 48px 22px 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  position: relative;
  transition: color 0.2s;
}
.svc-faq__q:hover {
  color: var(--accent-light);
}
.svc-faq__q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent-light);
  transition: transform 0.3s var(--ease);
}
.svc-faq__item.open .svc-faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}
.svc-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.svc-faq__item.open .svc-faq__a {
  max-height: 300px;
}
.svc-faq__a-inner {
  padding: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  line-height: 1.7;
}


/* --- Bottom CTA Section --- */
.svc-bottom-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #D47A1F 100%);
  padding: clamp(48px, 6vw, 72px) 0;
  text-align: center;
}
.svc-bottom-cta .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.svc-bottom-cta h2 {
  color: var(--white);
  font-size: clamp(22px, 3.5vw, 32px);
  margin-bottom: 12px;
}
.svc-bottom-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.svc-bottom-cta .btn--white {
  background: var(--white);
  color: var(--accent-hover);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}
.svc-bottom-cta .btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
  text-decoration: none;
}
.svc-bottom-cta__phone {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.svc-bottom-cta__phone a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}
.svc-bottom-cta__phone a:hover {
  color: var(--white);
}


/* --- Content Image --- */
.svc-content__img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.svc-content__img img {
  width: 100%;
  height: auto;
  display: block;
}


/* --- Service Page Responsive --- */
@media (max-width: 1024px) {
  .svc-content__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .svc-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .svc-hero { min-height: 360px; }
}

@media (max-width: 768px) {
  .svc-hero { min-height: 300px; }
  .svc-hero__content {
    padding: 60px 20px 40px;
  }
  .svc-sidebar {
    grid-template-columns: 1fr;
  }
  .svc-symptoms__grid {
    grid-template-columns: 1fr;
  }
  .svc-process__steps {
    grid-template-columns: 1fr;
  }
  .svc-content__main h2 {
    font-size: 21px !important;
  }
}
