/* SJ Global widget styles — component-level only.
 * Band backgrounds and vertical section padding are intentionally NOT here —
 * that's a page-template concern that belongs to Elementor's own Section/
 * Container controls, and duplicating it here would fight whatever the editor
 * sets. The two-col grids below (empathy/why/come-to-you/faq/final-cta) ARE
 * kept, though: each is a single Elementor widget rendering two children of
 * its OWN markup side by side — Elementor's column system has no way to
 * split a single widget's internal content, so this layout is genuinely the
 * widget's own responsibility, not a page-template concern.
 *
 * A few components (Why, Final CTA, Video Reviews) assume a dark backdrop
 * and hardcode light text colors accordingly — pair those widgets with a
 * dark Elementor section background to match the intended design.
 */

/* SECTION HEAD (shared eyebrow + title + sub used by Results/Empathy/Reviews) */
.home-section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.home-section-head--center {
  max-width: 720px; margin-left: auto; margin-right: auto; text-align: center;
}
.home-section-head .sj-display { margin-top: 14px; color: #003399; }
.home-section-head .sj-display em {
  font-weight: 800;
  color: #003399;
}
.home-section-head__sub {
  margin-top: 16px;
  font-size: 19px;
  color: var(--sj-ink-soft);
  line-height: 1.6;
  max-width: 640px;
}

/* EMPATHY — two-col: text block + pull-quote card */
.empathy__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center;
}
.empathy__quote {
  background: var(--sj-paper);
  border-radius: var(--sj-r-2xl);
  padding: 36px 36px 32px;
  border: 1px solid var(--sj-line);
  position: relative;
}
.empathy__quote::before {
  content: '"';
  position: absolute; top: 12px; left: 24px;
  font-family: var(--sj-font-display);
  font-size: 92px; font-weight: 800;
  color: var(--sj-navy);
  line-height: 1;
  opacity: 1;
}
.empathy__quote-text {
  position: relative;
  font-family: var(--sj-font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--sj-ink);
  padding-top: 18px;
}
.empathy__quote-attr {
  margin-top: 22px;
  font-weight: 800;
  font-size: 14px;
  color: var(--sj-ink);
}
.empathy__quote-sub { font-weight: 400; font-size: 12px; color: var(--sj-muted); margin-top: 2px; letter-spacing: 0.04em; }

/* WHY SWEET JAMES — two-col: photo card + text/feature list */
.why__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.why__photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--sj-r-xl);
  overflow: hidden;
  background: #16235e;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--sj-shadow-lg);
}
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }

.why__h2 {
  font-family: var(--sj-font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.02;
  margin: 14px 0 22px;
  color: #fff;
}
.why__h2 em { color: var(--sj-gold); font-weight: 800; }
.why__lede {
  font-size: 19px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 36px;
}
/* Feature list is widget-internal repeater content, not page layout — keep its own grid. */
.why__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px;
}
.why__feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.why__feature-icon {
  flex: 0 0 44px; height: 44px;
  border-radius: var(--sj-r-sm);
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: var(--sj-gold);
}
.why__feature-icon svg { width: 22px; height: 22px; }
.why__feature-title { font-size: 15px; font-weight: 800; text-transform: uppercase; }
.why__feature-sub { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; margin-top: 4px; }

/* COME TO YOU — two-col: text/checklist + photo card */
.come-to-you__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center;
}
.come-to-you__grid--reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.come-to-you__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--sj-r-2xl);
  overflow: hidden;
  background: var(--sj-bone);
  box-shadow: var(--sj-shadow-lg);
}
.come-to-you__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scaleX(-1); }
/* Checklist is widget-internal repeater content, not page layout — keep its own grid. */
.come-to-you__list {
  list-style: none; padding: 0; margin: 28px 0 32px;
  display: grid; gap: 16px;
}
.come-to-you__list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 17px;
  color: var(--sj-ink);
  font-weight: 500;
}
.come-to-you__list li::before {
  content: '';
  width: 28px; height: 28px; border-radius: 50%;
  background: #003399; color: #fff;
  flex: 0 0 28px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
}

/* VIDEO REVIEWS — dark-background text overrides (pair with a dark Elementor section) */
.reviews-band .sj-eyebrow.sj-eyebrow--dark { color: var(--sj-gold); }
.reviews-band .sj-display { color: var(--sj-white); }
.reviews-band .sj-display em { color: var(--sj-gold); }
.reviews-band .sj-stars-caption { color: rgba(255,255,255,0.7); }

/* FAQ — two-col: intro + accordion */
.faq__grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px;
}
.faq__intro .sj-display { color: var(--sj-ink); }

/* Intro column follows the user down the accordion list on desktop, until
   the (taller) accordion column ends. Relies on the grid's default
   align-items: stretch (unchanged) to size .faq__intro's box to match the
   accordion's height, giving sticky room to release at the end of the
   section instead of unsticking immediately. */
@media (min-width: 961px) {
  .faq__intro {
    position: sticky;
    top: 120px;
  }
}

/* FINAL CTA — two-col: text + form card. Dark-background text (pair with a dark Elementor section). */
.final-cta__grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
}
.final-cta__h2 {
  font-family: var(--sj-font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1;
  margin: 14px 0 18px;
  color: #fff;
}
.final-cta__h2 em { color: var(--sj-gold); font-weight: 800; }
.final-cta__sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 0 0 32px;
}

@media (max-width: 960px) {
  .why__features { grid-template-columns: 1fr; gap: 18px; }
  .empathy__grid,
  .why__grid,
  .come-to-you__grid,
  .come-to-you__grid--reverse,
  .final-cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  /* On mobile, always show the image first regardless of desktop reverse order. */
  .come-to-you__grid--reverse .come-to-you__visual { order: -1; }
}
@media (max-width: 420px) {
  .home-section-head { margin-bottom: 22px; }
}
