/* ===================================================================
   MR ELECTRICIAN SOUTH EAST QUEENSLAND - SERVICE DETAIL PAGE STYLES
   Pixel-perfect match to visual brand design mockup for New Home Electrical
   =================================================================== */

/* Container Fallback */
.service-container,
.section-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===================================================================
   1. SERVICE HERO SECTION (SPLIT FULL-BLEED)
   =================================================================== */
.service-hero-section {
  position: relative;
  padding: 130px 0 0;
  background-color: var(--bg-dark);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(88vh - 130px);
  width: 100%;
}

.service-hero-left-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 60px 50px 80px max(24px, calc((100vw - var(--container-max-width)) / 2 + 24px));
  z-index: 2;
}

.service-hero-content {
  max-width: 600px;
  width: 100%;
}

.section-supertitle-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-supertitle-line::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--accent-gold);
}

.service-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.16;
  color: var(--text-white);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.service-hero-desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 580px;
}

.service-hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.service-hero-right-col {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  background-color: #0b0c10;
}

.service-hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.service-hero-right-col::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 70px;
  background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(10, 11, 14, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ===================================================================
   2. TRUST BADGES STRIP (4 ITEMS)
   =================================================================== */
.trust-strip-section {
  background-color: #0d0f15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 34px 0;
  position: relative;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 24px;
  position: relative;
}

.trust-strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.trust-strip-icon {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-strip-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.trust-strip-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  max-width: 220px;
}

/* ===================================================================
   3. SERVICE STORY / OVERVIEW SECTION ("OUR SERVICE")
   =================================================================== */
.service-story-section {
  padding: 100px 0;
  background-color: #0a0b0e;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.service-story-left {
  display: flex;
  flex-direction: column;
}

.service-story-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1.22;
  margin-bottom: 22px;
}

.service-story-text {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.service-story-right {
  position: relative;
}

.service-story-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 10;
  background-color: #12151e;
}

.service-story-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-story-img-card:hover img {
  transform: scale(1.04);
}

/* ===================================================================
   4. WHY CHOOSE US FOR NEW HOMES SECTION
   =================================================================== */
.service-why-section {
  padding: 100px 0;
  background-color: #0c0e14;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-why-header {
  margin-bottom: 50px;
}

.service-why-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-why-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 640px;
  line-height: 1.6;
}

.service-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-why-card {
  background: #11141c;
  border: 1px solid #1e2330;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 176, 5, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(250, 176, 5, 0.1);
}

.service-why-icon {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.service-why-card-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-why-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* ===================================================================
   5. OUR PROCESS: 4 SIMPLE & STRAIGHTFORWARD STEPS
   =================================================================== */
.service-process-section {
  padding: 100px 0;
  background-color: #090a0e;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-process-header {
  margin-bottom: 60px;
}

.service-process-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-process-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
}

.service-process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-process-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: transform 0.3s ease;
}

.service-process-item:hover {
  transform: translateY(-4px);
}

.process-step-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.process-step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: #000000;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
  flex-shrink: 0;
}

.process-step-icon {
  font-size: 1.4rem;
  color: #ffffff;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.process-step-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 240px;
}

.process-flow-arrow {
  color: #475569;
  font-size: 1.3rem;
  margin-top: 12px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.service-process-item:hover + .process-flow-arrow {
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* ===================================================================
   6. FAQS ACCORDION SECTION
   =================================================================== */
.service-faqs-section {
  padding: 100px 0;
  background-color: #0c0e14;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-faqs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.service-faqs-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.service-faq-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.service-faq-all-link:hover {
  color: var(--accent-gold-light);
  transform: translateX(4px);
}

.service-faqs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}

.service-faq-item {
  background: #11141c;
  border: 1px solid #1e2330;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.service-faq-item.active {
  border-color: rgba(250, 176, 5, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.service-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  text-align: left;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: 16px;
}

.service-faq-btn:hover {
  color: var(--accent-gold);
}

.service-faq-item.active .service-faq-btn {
  color: var(--accent-gold);
}

.service-faq-icon {
  font-size: 1.1rem;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.service-faq-item.active .service-faq-icon {
  transform: rotate(45deg);
}

.service-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  background-color: #0e1017;
}

.service-faq-item.active .service-faq-body {
  max-height: 300px;
  padding: 0 24px 22px;
}

.service-faq-body p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #cbd5e1;
}

/* ===================================================================
   7. SERVICE CTA BANNER SECTION
   =================================================================== */
.service-cta-banner-section {
  position: relative;
  padding: 70px 0;
  background-image: url('../images/hero_house.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-top: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  overflow: hidden;
}

.service-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 14, 0.96) 0%,
    rgba(10, 11, 14, 0.9) 45%,
    rgba(10, 11, 14, 0.6) 80%,
    rgba(10, 11, 14, 0.4) 100%
  );
  z-index: 1;
}

.service-cta-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.service-cta-left {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 580px;
}

.service-cta-bolt {
  color: var(--accent-gold);
  font-size: 3.2rem;
  filter: drop-shadow(0 0 16px rgba(250, 176, 5, 0.7));
  animation: boltPulse 2.5s infinite ease-in-out;
  flex-shrink: 0;
}

.service-cta-sub {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.service-cta-main {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.service-cta-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.service-cta-right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.service-cta-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-size: 0.94rem;
  font-weight: 600;
}

.service-cta-contact-item i {
  color: var(--accent-gold);
  width: 16px;
}

.service-cta-contact-item:not(.static):hover {
  color: var(--accent-gold);
}

/* ===================================================================
   8. RESPONSIVE ADJUSTMENTS
   =================================================================== */
@media (max-width: 1024px) {
  .service-hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-hero-left-col {
    justify-content: flex-start;
    padding: 40px 24px 40px;
  }

  .service-hero-right-col {
    min-height: 420px;
    height: 420px;
  }

  .service-hero-right-col::before {
    display: none;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .trust-strip-item:nth-child(2)::after {
    display: none;
  }

  .service-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-process-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .process-flow-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .service-hero-section {
    padding-top: 110px;
  }

  .service-hero-right-col {
    min-height: 320px;
    height: 320px;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .trust-strip-item::after {
    display: none;
  }

  .service-why-grid {
    grid-template-columns: 1fr;
  }

  .service-process-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-cta-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-cta-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .service-cta-right .btn-hero-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-container,
  .section-container {
    padding: 0 18px;
  }

  .service-hero-title {
    font-size: 2rem;
  }

  .service-story-title {
    font-size: 1.7rem;
  }
}
