/* ─── CAR360 Service Page Widget ────────────────────────────────────────────
   Three sections stacked: hero split · FAQ accordion · CTA dark strip
   ─────────────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════════
   Shared helpers
   ══════════════════════════════════════════════════════════════════════════ */

.c360-sp__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-500, #EC3D23);
  margin-bottom: 14px;
}

.c360-sp__eyebrow--center {
  justify-content: center;
}

.c360-sp__eyebrow--light {
  color: var(--brand-400, #F16548);
}

.c360-sp__eyebrow-line {
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION 1 — Hero split
   ══════════════════════════════════════════════════════════════════════════ */

.c360-sp__hero {
  background: var(--bg-light, #fff);
}

.c360-sp__hero-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 560px;
}

/* Image right variant */
.c360-sp__hero-inner--right .c360-sp__hero-media  { order: 2; }
.c360-sp__hero-inner--right .c360-sp__hero-content { order: 1; }

/* ── Image ─────────────────────────────────────────────────────────────── */

.c360-sp__hero-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.c360-sp__hero-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.c360-sp__hero-media:hover .c360-sp__hero-img {
  transform: scale(1.03);
}

.c360-sp__hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--bg-light-alt, #FAF7F6);
}

/* ── Content ────────────────────────────────────────────────────────────── */

.c360-sp__hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 56px;
}

.c360-sp__hero-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-title-strong, #0D0D0D);
  line-height: 1.15;
  margin: 0 0 20px;
}

.c360-sp__hero-desc {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .95rem;
  color: var(--text-muted, #767676);
  line-height: 1.75;
  margin-bottom: 36px;
}

.c360-sp__hero-desc p { margin: 0; }

/* ── Trust section (full-width, below hero split) ───────────────────────── */

.c360-sp__trust {
  background: var(--bg-light, #fff);
}

.c360-sp__trust-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 32px 24px 56px;
}

.c360-sp__trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.c360-sp__trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light, #E8E2E0);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color .22s;
}

.c360-sp__trust-item:hover {
  border-color: var(--brand-500, #EC3D23);
}

.c360-sp__trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-50, #FEEEEA);
  color: var(--brand-600, #C92F1A);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
}

.c360-sp__trust-icon svg {
  width: 18px;
  height: 18px;
}

.c360-sp__trust-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-title, #1A1A1A);
  line-height: 1.45;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION 2 — FAQ
   ══════════════════════════════════════════════════════════════════════════ */

.c360-sp__faq {
  background: var(--bg-light-alt, #FAF7F6);
}

.c360-sp__faq-inner {
  max-width: 860px;
  margin-inline: auto;
  padding: 96px 24px;
}

.c360-sp__faq-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c360-sp__faq-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-title-strong, #0D0D0D);
  margin: 0 0 12px;
  line-height: 1.18;
}

.c360-sp__faq-subtitle {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .92rem;
  color: var(--text-muted, #767676);
  margin: 0;
  line-height: 1.65;
}

/* ── Accordion ──────────────────────────────────────────────────────────── */

.c360-sp__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c360-sp__faq-item {
  background: var(--bg-light, #fff);
  border: 1px solid var(--border-light, #E8E2E0);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}

.c360-sp__faq-item:has(.c360-sp__faq-question[data-expanded="true"]) {
  border-color: var(--brand-500, #EC3D23);
}

.c360-sp__faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
}

.c360-sp__faq-question-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .96rem;
  font-weight: 700;
  color: var(--text-title, #1A1A1A);
  line-height: 1.4;
  flex: 1;
  transition: color .18s;
}

.c360-sp__faq-question[data-expanded="true"] .c360-sp__faq-question-text {
  color: var(--brand-500, #EC3D23);
}

.c360-sp__faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-light-alt, #FAF7F6);
  color: var(--text-body, #4A4A4A);
  transition: background .20s, color .20s;
  position: relative;
}

.c360-sp__faq-question[data-expanded="true"] .c360-sp__faq-icon {
  background: var(--brand-500, #EC3D23);
  color: #fff;
}

.c360-sp__faq-icon-plus,
.c360-sp__faq-icon-minus {
  position: absolute;
  transition: opacity .20s, transform .20s;
}

.c360-sp__faq-icon-minus { opacity: 0; transform: scale(.6); }

.c360-sp__faq-question[data-expanded="true"] .c360-sp__faq-icon-plus  { opacity: 0; transform: scale(.6); }
.c360-sp__faq-question[data-expanded="true"] .c360-sp__faq-icon-minus { opacity: 1; transform: scale(1); }

.c360-sp__faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s cubic-bezier(.4, 0, .2, 1);
}

.c360-sp__faq-answer.is-open { max-height: 600px; }

.c360-sp__faq-answer-inner {
  padding: 0 24px 22px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .90rem;
  color: var(--text-muted, #767676);
  line-height: 1.70;
  border-top: 1px solid var(--border-light, #E8E2E0);
  padding-top: 18px;
}


/* ══════════════════════════════════════════════════════════════════════════
   SECTION 3 — CTA dark strip
   ══════════════════════════════════════════════════════════════════════════ */

.c360-sp__cta {
  background: var(--bg-dark, #181412);
  position: relative;
  overflow: hidden;
}

.c360-sp__cta-inner {
  max-width: 800px;
  margin-inline: auto;
  padding: 96px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.c360-sp__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c360-sp__cta-title {
  font-family: var(--font-heading, 'Sora', sans-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}

.c360-sp__cta-desc {
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .95rem;
  color: rgba(255,255,255,.60);
  margin: 0 0 40px;
  max-width: 540px;
  line-height: 1.75;
}

.c360-sp__cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Primary button */
.c360-sp__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding-inline: 36px;
  border-radius: 12px;
  background: var(--brand-500, #EC3D23);
  color: #fff;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .20s, transform .20s;
  white-space: nowrap;
}

.c360-sp__cta-btn:hover {
  background: var(--brand-600, #C92F1A);
  transform: translateY(-2px);
}

.c360-sp__cta-btn svg {
  flex-shrink: 0;
  transition: transform .20s;
}

.c360-sp__cta-btn:hover svg { transform: translateX(3px); }

/* Phone link */
.c360-sp__cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: .90rem;
  font-weight: 600;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}

.c360-sp__cta-phone:hover { color: #fff; }

/* Decorative dot grid */
.c360-sp__cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .c360-sp__hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 24px;
    min-height: unset;
  }

  /* always show image on top regardless of direction */
  .c360-sp__hero-inner--right .c360-sp__hero-media,
  .c360-sp__hero-inner--right .c360-sp__hero-content {
    order: unset;
  }

  .c360-sp__hero-media {
    aspect-ratio: 16 / 9;
    min-height: unset;
  }

  .c360-sp__hero-content {
    padding: 48px 24px 56px;
  }
}

@media (max-width: 640px) {
  .c360-sp__trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .c360-sp__hero-content {
    padding: 36px 16px 48px;
  }

  .c360-sp__trust-inner {
    padding: 40px 16px;
  }

  .c360-sp__faq-inner,
  .c360-sp__cta-inner {
    padding-top: 56px;
    padding-bottom: 56px;
    padding-inline: 16px;
  }

  .c360-sp__faq-question { padding: 18px 16px; }
  .c360-sp__faq-answer-inner { padding: 0 16px 18px; padding-top: 16px; }

  .c360-sp__cta-actions { flex-direction: column; gap: 14px; }
}
