/* ============================================================
   SERVICE DETAIL PAGE  —  service-detail.css
   All classes are prefixed .sd-* to avoid any collisions
   ============================================================ */

/* ── Design tokens ── */
:root {
  --sd-cyan: #009ab5;
  --sd-text: #222222;
  --sd-white: #ffffff;
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.sd-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 120px;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Mobile / Tablet (≤ 990px) */
@media (max-width: 990px) {
  .sd-hero {
    padding: 70px 0 80px;
    min-height: 380px;
  }
}

/* Small Mobile (≤ 650px) */
@media (max-width: 650px) {
  .sd-hero {
    min-height: 260px;
  }
}

/* =========================================
   FAQ SECTION
   ========================================= */
.sd-faq-section {
  background-color: #fff;
  padding: 40px 0;
}

.sd-faq-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin: 0 0 28px;
  line-height: 1.3;
}

.sd-faq-layout {
  max-width: 1000px;
}

.sd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sd-faq-item {
  background: #79A600;
  transition: background 0.2s ease;
}

.sd-faq-item.active {
  background: #F7FFE3;
}

.sd-faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 22px;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sd-faq-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-faq-icon svg {
  width: 100%;
  height: 100%;
}

/* Plus (+) by default, becomes a minus (-) when the item is active */
.sd-faq-icon__vert {
  transition: opacity 0.2s ease;
}

.sd-faq-item.active .sd-faq-icon__vert {
  opacity: 0;
}

.sd-faq-content {
  padding: 0 22px 20px 22px;
}

.sd-faq-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #000000;
  margin: 0;
}

@media (max-width: 767px) {
  .sd-faq-section {
    padding: 30px 0;
  }

  .sd-faq-section h2 {
    font-size: 24px;
  }

  .sd-faq-btn {
    font-size: 14px;
    padding: 14px 16px;
  }

  .sd-faq-content {
    padding: 0 16px 14px 16px;
  }
}

/* Third Content Section - Steps */
.third-content-section {
  padding: 40px 0;
  background: white;
}

.third-content-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.third-content-section h2 span {
  color: #292660;
}

.third-content-section p {
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
}

@media (max-width: 768px) {
  .third-content-section h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .third-content-section {
    padding: 30px 0;
  }
}

/* ══════════════════════════════════════════════════════
   ABOUT (PRESERVING WHAT MATTERS)
══════════════════════════════════════════════════════ */
.about-preserving {
  padding: 40px 0;
  background: #ffffff;
}

.about-preserving__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-preserving__content span,
.about-preserving__content p > span,
.about-preserving__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #2B3990;
  margin-bottom: 14px;
}

.about-preserving__content > p:has(> span:only-child) {
  margin: 0 0 14px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.about-preserving__content h2,
.about-preserving__content h1,
.about-preserving__title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  line-height: 1.25;
  margin: 0 0 22px;
}

.about-preserving__content p {
  font-size: 18px;
  line-height: 1.75;
  color: #000000;
  margin: 0 0 16px;
}

.about-preserving__content p:last-child {
  margin-bottom: 0;
}

.about-preserving__media {
  border: 3px solid #79A600;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
}

.about-preserving__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  max-height: 450px;
}

@media (max-width: 991px) {
  .about-preserving__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-preserving__media {
    order: -1;
  }
}

@media (max-width: 575px) {
  .about-preserving {
    padding: 30px 0;
  }

  .about-preserving__title {
    font-size: 24px;
  }
}

/* ========================================= RUG SIGNS SECTION ========================================= */
.signs-section {
  padding: 40px 0;
  background: #ffffff;
}

.signs-section>.container-1200>span,
.signs-section>.container-1200>p>span {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #2B3990;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.signs-section>.container-1200>p:has(> span:only-child) {
  margin: 0 0 8px;
  text-align: center;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.signs-section>.container-1200>h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 40px;
}

.signs-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.signs-section ul li {
  background: #ffffff;
  border: 2px solid #2B3990;
  border-radius: 8px;
  padding: 26px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signs-section ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.signs-section ul li>span,
.signs-section ul li>p>span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #79A600;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.signs-section ul li>p:has(> span:only-child) {
  margin: 0 auto 16px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.signs-section ul li h3 {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px;
}

.signs-section ul li p {
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .signs-section ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .signs-section ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .signs-section>.container-1200>h2 {
    font-size: 22px;
  }

  .signs-section {
    padding: 30px 0;
  }
}

@media (max-width: 400px) {
  .signs-section ul {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════
   CTA BANNER (Get A Free Estimate)
══════════════════════════════════════════════════════ */
.cta-banner-section {
  padding: 30px 0;
  background: #ffffff;
}

.cta-banner {
  background: #2B3990;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner__text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.3;
}

.cta-banner__text p {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  opacity: 0.9;
}

.cta-banner__btn {
  flex: 0 0 auto;
  background: #79A600;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 4px;
  border: 2px solid #79A600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-banner__btn:hover {
  background: #ffffff;
  color: #2B3990;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 26px;
  }

  .cta-banner__btn {
    align-self: stretch;
    text-align: center;
  }

  .cta-banner__text h2 {
    font-size: 19px;
  }
}

/* ══════════════════════════════════════════════════════
   WHY CHOOSE US (navy, 3x2 icon grid)
══════════════════════════════════════════════════════ */
.why-choose-new {
  background: #2B3990;
  padding: 30px 0;
  margin: 40px 0;
}

.why-choose-new__header {
  text-align: center;
}

.why-choose-new__header>h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.why-choose-new__header>p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 1);
  /* max-width: 780px; */
  margin: 0 auto 0px;
}

.why-choose-new__header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
  text-align: center;
}

.why-choose-new__header li {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 30px;
}

.why-choose-new__header li::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 95px;
  background: rgba(255, 255, 255, 0.7);
}

.why-choose-new__header li:nth-child(3)::after,
.why-choose-new__header li:nth-child(6)::after {
  display: none;
}



.why-choose-new__header li span,
.why-choose-new__header li p > span {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 8px;
}

.why-choose-new__header li > p:has(> span:only-child) {
  margin: 0 0 8px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.why-choose-new__header li h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  padding-bottom: 6px;
}

.why-choose-new__header li p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 1);
  margin: 0;
  max-width: none;
}

@media (max-width: 991px) {
  .why-choose-new__header ul {
    grid-template-columns: 1fr 1fr;
  }

  .why-choose-new__header li:nth-child(2)::after,
  .why-choose-new__header li:nth-child(4)::after,
  .why-choose-new__header li:nth-child(6)::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .why-choose-new {
    padding: 30px 0;
  }

  .why-choose-new__header>h2 {
    font-size: 22px;
  }

  .why-choose-new__header ul {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* ══════════════════════════════════════════════════════
   BEFORE / AFTER
══════════════════════════════════════════════════════ */
.before-after {
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) 1.55fr;
  min-height: 220px;
}

.before-after__content {
  background: #79A600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px 40px max(40px, calc((100vw - 1200px) / 2 + 16px));
}

.before-after__content h2 {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  line-height: 1.35;
  margin: 0 0 16px;
}

.before-after__content p {
  font-size: 16px;
  line-height: 1.75;
  color: #111;
  margin: 0 0 12px;
}

.before-after__content p:last-child {
  margin-bottom: 0;
}

.before-after__content p:has(> span:only-child) {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 16px;
}

.before-after__content p:has(> span:only-child) span {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.before-after__media {
  background: #2B3990;
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 0 6px;
  padding-right: max(6px, calc((100vw - 1200px) / 2));
}

.before-after__image {
  position: relative;
  flex: 1;
  border: 3px solid #79A600;
  overflow: hidden;
  line-height: 0;
}

.before-after__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.before-after__image span {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #2B3990;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 14px 12px;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after__content {
    padding: 32px 24px;
  }

  .before-after__media {
    flex-direction: column;
    padding-top: 10px;
  }
}