/* ==========================================================================
   Service — FAQ, Variant 2. Same construction as the Real Estate App
   Development page's own FAQ section (assets/css/real-estate-app-
   development.css `.reapp-faq-*`) — reused verbatim and renamed
   `.svc-faq2-*`. Full white section, centered heading. Left accordion + a
   right blue-gradient "still have questions" CTA card. Variant 1 needs no
   CSS here — it reuses the sitewide `.faq-item` styles in main.css.
   ========================================================================== */

.svc-faq2 {
  position: relative;
  background: #ffffff;
  padding: 96px 0 104px;
}

.svc-faq2-title {
  margin: 0 auto;
  max-width: 700px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  color: #04070d;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 1550px) {
  .svc-faq2-title { font-size: 38px; }
}

@media (max-width: 1440px) {
  .svc-faq2-title { font-size: 36px; }
}

@media (max-width: 1200px) {
  .svc-faq2-title { font-size: 40px; }
}

@media (max-width: 1024px) {
  .svc-faq2-title { font-size: 36px; }
}

@media (max-width: 912px) {
  .svc-faq2-title { font-size: 32px; }
}

@media (max-width: 820px) {
  .svc-faq2-title { font-size: 30px; }
}

@media (max-width: 767px) {
  .svc-faq2-title { font-size: 27px; }
}

@media (max-width: 650px) {
  .svc-faq2-title { font-size: 22px; }
}

.svc-faq2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  margin-top: 56px;
}

/* ---- Accordion ---- */

.svc-faq2-accordion {
  display: flex;
  flex-direction: column;
}

.svc-faq2-item {
  border-bottom: 1px solid rgba(4, 7, 13, 0.1);
}

.svc-faq2-heading {
  margin: 0;
}

.svc-faq2-header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
  padding: 22px 2px;
  border: 0;
  background: none;
  color: #04070d;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.svc-faq2-index {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  color: rgba(4, 7, 13, 0.35);
}

.svc-faq2-question {
  flex: 1 1 auto;
  font-size: 16.5px;
  font-weight: 700;
  color: #04070d;
  transition: color 200ms ease;
}

.svc-faq2-header:hover .svc-faq2-question {
  color: #0284c7;
}

.svc-faq2-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  border: 1px solid rgba(4, 7, 13, 0.16);
  color: #04070d;
  transition: transform 320ms cubic-bezier(0.65, 0, 0.35, 1), background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.svc-faq2-toggle svg {
  width: 14px;
  height: 14px;
}

/* Plus rotates 45° into a cross when open — one icon, no swap needed. */
.svc-faq2-item.is-open .svc-faq2-toggle {
  transform: rotate(45deg);
  background: #00c2ff;
  border-color: #00c2ff;
  color: #ffffff;
}

/* Same `grid-template-rows` collapsible technique as the Sectors accordion
   — sizes correctly regardless of answer length, no magic numbers. */
.svc-faq2-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms cubic-bezier(0.65, 0, 0.35, 1);
}

.svc-faq2-item.is-open .svc-faq2-panel {
  grid-template-rows: 1fr;
}

.svc-faq2-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.svc-faq2-answer {
  margin: 0 0 24px;
  padding-right: 40px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(4, 7, 13, 0.66);
}

.svc-faq2-answer a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .svc-faq2-panel,
  .svc-faq2-toggle {
    transition: none;
  }
}

/* ---- "Still have questions" CTA card ---- */

.svc-faq2-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  border-radius: 28px;
  padding: 40px 36px;
  background: linear-gradient(150deg, #2f5fe6 0%, #1a3696 100%);
  color: #ffffff;
}

.svc-faq2-cta-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  z-index: 0;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.svc-faq2-cta-mark {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 12px;
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.14);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

.svc-faq2-cta-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  text-align: center;
}

.svc-faq2-cta-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  text-wrap: balance;
}

.svc-faq2-cta-copy {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.svc-faq2-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1220;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 18px 40px -16px rgba(4, 7, 13, 0.4);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.svc-faq2-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -16px rgba(4, 7, 13, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .svc-faq2-cta-btn:hover {
    transform: none;
  }
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .svc-faq2 {
    padding: 80px 0 88px;
  }

  .svc-faq2-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .svc-faq2-cta {
    min-height: 0;
    padding: 36px 28px;
  }

  .svc-faq2-cta-mark {
    font-size: 120px;
  }
}

@media (max-width: 640px) {
  .svc-faq2 {
    padding: 64px 0 72px;
  }

  .svc-faq2-header {
    gap: 12px;
    padding: 18px 2px;
  }

  .svc-faq2-question {
    font-size: 15px;
  }

  .svc-faq2-answer {
    padding-right: 0;
    font-size: 14px;
  }

  .svc-faq2-cta-mark {
    font-size: 96px;
  }
}
