/*
 * specialized.css — Specialized Content Page Template
 *
 * The hero reuses .hero / .hero-grid / .hero-copy from components.css.
 * All other section components are namespaced .sc-*.
 *
 * Production: wp-content/themes/inspire-recovery/assets/css/pages/specialized.css
 */


/* ══════════════════════════════════════════════════════════════════════════════
   SHARED SECTION UTILITIES
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-hero-checklist-strip,
.sc-video,
.sc-motive-band,
.sc-benefits,
.sc-pivot-band,
.sc-features-photo,
.sc-testimonial,
.sc-ready-list,
.sc-brand-band,
.sc-contact,
.sc-editorial,
.sc-editorial-video,
.sc-faq,
.sc-action-band,
.sc-final {
  padding: var(--space-lg) 0;
}

.sc-video,
.sc-motive-band,
.sc-pivot-band,
.sc-brand-band,
.sc-action-band {
  padding: var(--space-md) 0;
}

/* Standard section eyebrow — individual sections override size where needed */
.sc-section-eyebrow {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-aqua-hover);
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 44px);
}


/* ══════════════════════════════════════════════════════════════════════════════
   HERO — copy left / form right (reuses .hero .hero-grid from components.css)
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-form-hero {
  background: var(--surface-soft-blue);
  padding-top: clamp(48px, 7vh, 88px);
  padding-bottom: clamp(48px, 7vh, 88px);
}

/* Match approved Single Post and Admissions hero headline scale */
.sc-form-hero .hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.sc-form-hero .hero-copy .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Make hero-copy a flex column so h1, lead, and .actions all share the same left edge */
.sc-form-hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sc-form-hero .hero-copy .actions {
  justify-content: flex-start;
  width: 100%;
}

/* Right column: form card */
.sc-hero-form {
  display: flex;
  flex-direction: column;
}

.sc-hero-form .form-card {
  background: var(--surface-warm);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.sc-hero-form-heading {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
}


/* ── Video Background Test (sc-form-hero--video-bg) ── */

.sc-form-hero--video-bg {
  position: relative;
  overflow: hidden;
  /* Background overridden by video; fallback keeps soft-blue */
}

.sc-hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sc-hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sc-hero-video-overlay {
  position: absolute;
  inset: 0;
  /* Gradient: dark on the left (behind text), fades toward the right (form side stays lighter) */
  background: linear-gradient(
    to right,
    rgba(0, 18, 68, 0.82) 0%,
    rgba(0, 18, 68, 0.80) 50%,
    rgba(0, 18, 68, 0.30) 72%,
    rgba(0, 18, 68, 0.05) 100%
  );
}

/* Ensure content sits above the video */
.sc-form-hero--video-bg .hero-grid {
  position: relative;
  z-index: 1;
}

/* Left copy: white text on dark overlay */
.sc-form-hero--video-bg .hero-copy h1,
.sc-form-hero--video-bg .hero-copy .lead {
  color: #fff;
}

.sc-form-hero--video-bg .hero-copy .eyebrow {
  color: var(--brand-aqua);
}

/* Ghost button legible on dark bg */
.sc-form-hero--video-bg .hero-copy .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.sc-form-hero--video-bg .hero-copy .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Right form card: solid white, stronger shadow to separate from dark video */
.sc-form-hero--video-bg .sc-hero-form .form-card {
  background: #fff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

/* Mobile: disable video bg — too distracting on small screens */
@media (max-width: 767px) {
  .sc-hero-video-bg {
    display: none;
  }
  .sc-form-hero--video-bg {
    background: var(--surface-soft-blue);
  }
  .sc-form-hero--video-bg .hero-copy h1,
  .sc-form-hero--video-bg .hero-copy .lead {
    color: inherit;
  }
  .sc-form-hero--video-bg .hero-copy .eyebrow {
    color: var(--brand-aqua-hover);
  }
  .sc-form-hero--video-bg .hero-copy .btn.ghost {
    color: inherit;
    border-color: currentColor;
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   HERO CHECKLIST STRIP — "DO YOU..." cards below the hero
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-hero-checklist-strip {
  background: var(--surface-warm);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(115, 215, 238, 0.3);
}

.sc-hero-checklist-intro {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: clamp(28px, 4vh, 48px);
}

.sc-hero-checklist-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
}

@media (min-width: 640px) {
  .sc-hero-checklist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card treatment for checklist items */
.sc-checklist-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2vw, 24px);
  background: var(--surface-soft-blue);
  border-radius: var(--r-md);
}

.sc-checklist-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-brown-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-checklist-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-brown);
}

.sc-checklist-item p {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.sc-hero-checklist-cta {
  margin-top: clamp(28px, 4vh, 44px);
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════════════════════
   VIDEO — standalone educational section below hero
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-video {
  background: var(--surface-soft-blue);
}

.sc-video .wrap {
  max-width: 860px;
}

.sc-video-eyebrow {
  text-align: center;
  margin-bottom: 20px;
}

.sc-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.sc-video-frame video,
.sc-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ══════════════════════════════════════════════════════════════════════════════
   MOTIVE BAND — trans-pink; aqua primary + white ghost secondary
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-motive-band {
  background: var(--accent-trans-pink);
  color: var(--text-primary);
  text-align: center;
}

.sc-motive-band .wrap {
  max-width: 960px;
}

.sc-motive-band-headline {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.sc-motive-band-sub {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.4;
  text-align: center;
  margin: 16px 0 36px;
}

.sc-motive-band .actions {
  justify-content: center;
}

/* Primary: aqua background, dark text — readable on pink */
.sc-motive-band .btn:not(.ghost) {
  background: var(--brand-aqua);
  color: var(--text-primary);
  border-color: var(--brand-aqua);
}

.sc-motive-band .btn:not(.ghost):hover {
  background: var(--brand-aqua-hover);
  border-color: var(--brand-aqua-hover);
  color: #fff;
}

/* Secondary: white background, brown text + border */
.sc-motive-band .btn.ghost {
  background: #fff;
  color: var(--brand-brown);
  border-color: var(--brand-brown);
}

.sc-motive-band .btn.ghost:hover {
  background: var(--brand-brown-soft);
}


/* ══════════════════════════════════════════════════════════════════════════════
   BENEFITS — "IMAGINE IF..." larger heading; white card items
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-benefits {
  background: var(--surface-soft-blue);
}

/* Larger "IMAGINE IF..." heading */
.sc-benefits .sc-section-eyebrow {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: clamp(24px, 4vh, 44px);
}

.sc-benefits-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
}

@media (min-width: 640px) {
  .sc-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card treatment */
.sc-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2vw, 24px);
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sc-benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-aqua-hover);
}

.sc-benefit-item p {
  font-size: clamp(.93rem, 1.3vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.sc-benefits-cta {
  margin-top: clamp(28px, 4vh, 44px);
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════════════════════
   PIVOT BAND — "WHAT IF..." larger; aqua-soft bg; centered CTAs
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-pivot-band {
  background: var(--surface-soft-blue);
  text-align: center;
  padding-top: clamp(8px, 1.5vh, 16px);
  padding-bottom: clamp(36px, 5vh, 56px);
}

.sc-pivot-band .wrap {
  max-width: 940px;
}

/* Larger "WHAT IF..." eyebrow */
.sc-pivot-band .sc-section-eyebrow {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.sc-pivot-above,
.sc-pivot-below {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 0 16px;
}

.sc-pivot-below {
  margin: 16px 0 28px;
}

.sc-pivot-emphasis {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--brand-aqua-hover);
  margin: 0 0 16px;
}

.sc-pivot-band .actions {
  justify-content: center;
}


/* ══════════════════════════════════════════════════════════════════════════════
   FEATURES + PHOTO — full-width image + feature cards below
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-features-photo {
  background: var(--surface-soft-blue);
  padding: 0;
}

/* Full-width image */
.sc-features-photo-wide {
  width: 100%;
  height: clamp(280px, 38vw, 500px);
  overflow: hidden;
}

.sc-features-wide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.sc-features-photo-ph {
  background: var(--brand-brown-soft);
}

/* Cards below image */
.sc-features-below {
  padding: var(--space-md) 0;
}

.sc-features-below .sc-section-eyebrow {
  margin-bottom: clamp(20px, 3vh, 32px);
}

.sc-features-cards {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
}

@media (min-width: 640px) {
  .sc-features-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sc-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 20px);
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sc-feature-card-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-aqua);
  flex-shrink: 0;
}

.sc-feature-card p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════════════
   TESTIMONIAL — wide editorial blockquote with left accent bar
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-testimonial {
  background: var(--surface-soft-blue);
  padding: var(--space-md) 0;
}

.sc-testimonial .wrap {
  max-width: 940px;
}

.sc-testimonial-block {
  border-left: 4px solid var(--brand-aqua);
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px);
  margin: 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.sc-testimonial-block p {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.78;
  font-style: italic;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.sc-testimonial-block p:last-of-type {
  margin-bottom: 0;
}

.sc-testimonial-attr {
  display: block;
  margin-top: 16px;
  font-size: .88rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}


/* ══════════════════════════════════════════════════════════════════════════════
   READY LIST — "DO YOU..." larger heading; balanced list
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-ready-list {
  background: var(--surface-warm);
}

.sc-ready-list .wrap {
  max-width: 800px;
}

/* Larger "DO YOU..." heading */
.sc-ready-list .sc-section-eyebrow {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: clamp(24px, 4vh, 44px);
}

.sc-ready-items {
  margin: 0 0 clamp(32px, 4vh, 48px);
  padding: 0;
  list-style: none;
  counter-reset: ready;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-ready-items li {
  counter-increment: ready;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: clamp(.97rem, 1.4vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 14px 18px;
  border: 1px solid rgba(115, 215, 238, 0.4);
  border-radius: var(--r-sm);
  transition: border-color .2s;
}

.sc-ready-items li:hover {
  border-color: var(--brand-aqua);
}

.sc-ready-items li::before {
  content: counter(ready);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-aqua-hover);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.sc-ready-cta {
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════════════════════
   BRAND BAND — brown statement; centered buttons
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-brand-band {
  text-align: center;
}

.sc-brand-band .wrap {
  max-width: 860px;
}

.sc-brand-band-text {
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 28px;
}

.sc-brand-band .actions {
  justify-content: center;
}

/* Ghost button on brown: white outline + white text */
.sc-brand-band .btn.ghost {
  color: #fff;
  border-color: #fff;
}

.sc-brand-band .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}


/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT — benefit list + phone CTA + form; better column balance
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-contact {
  background: var(--surface-soft-blue);
}

.sc-contact .wrap {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

@media (min-width: 860px) {
  .sc-contact .wrap {
    grid-template-columns: 1fr 1.15fr;
  }
}

/* Push benefits block to the right side of its column so it faces the form */
.sc-contact-benefits {
  max-width: 380px;
  margin-left: auto;
  padding-left: 0;
}

/* Larger heading */
.sc-contact-benefits-heading {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-aqua-hover);
  margin-bottom: 24px;
  line-height: 1.3;
}

.sc-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(.95rem, 1.3vw, 1rem);
  color: var(--text-primary);
  line-height: 1.5;
}

.sc-contact-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-aqua);
}

.sc-contact-community {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.sc-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  min-height: 56px;
  font-size: 1rem;
}

.sc-contact-form {
  max-width: 460px;
}

.sc-contact .form-card {
  background: var(--surface-warm);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.sc-contact-form-heading {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════════════════════
   EDITORIAL — wide long-form content; optional closing CTA
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-editorial {
  background: var(--surface-warm);
}

.sc-editorial-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.sc-editorial-heading {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
}

.sc-editorial-body {
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  color: var(--text-secondary);
}

.sc-editorial-body p {
  margin-bottom: 1.4em;
}

.sc-editorial-body p:last-child {
  margin-bottom: 0;
}

.sc-editorial-body blockquote {
  border-left: 4px solid var(--brand-aqua);
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px);
  margin: 32px 0;
  background: var(--surface-soft-blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.sc-editorial-body blockquote p {
  font-style: italic;
  color: var(--text-primary);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.8;
  margin-bottom: 1em;
}

.sc-editorial-body blockquote p:last-child {
  margin-bottom: 0;
}

.sc-editorial-body h3 {
  font-size: clamp(.8rem, 1.2vw, .9rem);
  font-weight: 700;
  color: var(--brand-aqua-hover);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 2.4em 0 1em;
}

.sc-editorial-body h3:first-child {
  margin-top: 1.2em;
}

.sc-editorial-body ul,
.sc-editorial-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}

.sc-editorial-body li {
  margin-bottom: 0.4em;
  line-height: 1.7;
}

/* Signs card grid — applied via class="sc-signs-list" in content HTML */
.sc-editorial-body .sc-signs-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 640px) {
  .sc-editorial-body .sc-signs-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }
}

.sc-editorial-body .sc-signs-list li {
  padding: 13px 16px 13px 14px;
  background: var(--surface-soft-blue);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--brand-aqua);
  font-size: clamp(.93rem, 1.3vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
  margin-bottom: 0;
}

/* Widen the editorial inner container for sign-category sections */
.sc-editorial:has(.sc-signs-list) .sc-editorial-inner {
  max-width: 1060px;
}

/* Center sign-category editorial sections: heading, intro text, and H3 labels */
.sc-editorial-body:has(.sc-signs-list) {
  text-align: center;
}

.sc-editorial-body:has(.sc-signs-list) p {
  max-width: none;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  color: var(--text-primary);
  margin-bottom: 2em;
}

.sc-editorial-body:has(.sc-signs-list) h3 {
  text-align: center;
  margin-top: 2.4em;
  margin-bottom: 1em;
}

.sc-editorial-body a {
  color: var(--brand-aqua-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-editorial-body a:hover {
  color: var(--brand-brown);
}

.sc-editorial-cta {
  margin-top: clamp(32px, 5vh, 52px);
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════════════════════
   EDITORIAL VIDEO — text + YouTube embed, side by side; stacks on mobile
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-editorial-video {
  background: var(--surface-soft-blue);
  padding: var(--space-lg) 0;
}

/* Image-float variant — white bg, text wraps around floated photo */
.sc-editorial-video--image {
  background: #fff;
}

.sc-editorial-video--image .sc-editorial-video-inner {
  display: flex;
  flex-direction: column;
}

/* Mobile: heading → text → image (image below article text) */
.sc-editorial-video--image .sc-editorial-video-heading { order: 1; }
.sc-editorial-video--image .sc-editorial-video-text    { order: 2; }
.sc-editorial-image-float                              { order: 3; margin-top: 32px; }

.sc-editorial-image-float img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  display: block;
}

/* Desktop: block layout so float works; image right, text wraps */
@media (min-width: 900px) {
  .sc-editorial-video--image .sc-editorial-video-inner {
    display: block;
  }

  .sc-editorial-video--image .sc-editorial-video-inner::after {
    content: '';
    display: table;
    clear: both;
  }

  .sc-editorial-image-float {
    float: right;
    width: 42%;
    margin: 0 0 28px 44px;
    order: unset;
  }
}

/* MP4-float variant — white bg, text wraps around floated 16:9 video */
.sc-editorial-video--mp4 {
  background: #fff;
}

.sc-editorial-video--mp4 .sc-editorial-video-inner {
  display: flex;
  flex-direction: column;
}

/* Mobile: heading → text → video (video below article text) */
.sc-editorial-video--mp4 .sc-editorial-video-heading { order: 1; }
.sc-editorial-video--mp4 .sc-editorial-video-text    { order: 2; }
.sc-editorial-video-float                             { order: 3; margin-top: 32px; }

.sc-editorial-video-float video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  display: block;
}

@media (min-width: 900px) {
  .sc-editorial-video--mp4 .sc-editorial-video-inner {
    display: block;
  }
  .sc-editorial-video--mp4 .sc-editorial-video-inner::after {
    content: '';
    display: table;
    clear: both;
  }
  .sc-editorial-video-float {
    float: right;
    width: 48%;
    margin: 0 0 28px 44px;
    order: unset;
  }
}

.sc-editorial-video-inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

@media (min-width: 768px) {
  .sc-editorial-video-inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Swap column order so video appears on the left when video_side=left */
  .sc-editorial-video-inner--video-left .sc-editorial-video-text  { order: 2; }
  .sc-editorial-video-inner--video-left .sc-editorial-video-media { order: 1; }
}

.sc-editorial-video-heading {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.sc-editorial-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.sc-editorial-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/* ══════════════════════════════════════════════════════════════════════════════
   FAQ — centered reassurance card; white section bg
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-faq {
  background: var(--surface-warm);
}

.sc-faq-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

/* "YOU MAY BE WONDERING..." — section-level display heading, not a small eyebrow */
.sc-faq .sc-section-eyebrow {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  margin-bottom: clamp(24px, 3.5vh, 40px);
  color: var(--brand-aqua-hover);
}

.sc-faq-item {
  margin: 0;
  padding: clamp(36px, 5vw, 60px) clamp(36px, 6vw, 72px);
  background: var(--surface-soft-blue);
  border-radius: var(--r-md);
  border-top: 4px solid var(--brand-aqua);
  box-shadow: 0 4px 28px rgba(115, 215, 238, 0.18);
}

/* The question — headline weight, clear purpose */
.sc-faq-q {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin: 0 0 20px;
}

/* The answer — clearly subordinate, affirmation color */
.sc-faq-a {
  font-size: clamp(.95rem, 1.3vw, 1rem);
  font-weight: 500;
  color: var(--brand-aqua-hover);
  line-height: 1.65;
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════════════
   ACTION BAND — mid-page aqua CTA band (extends shared .final)
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-action-band.final {
  text-align: center;
}

.sc-action-band .inner {
  max-width: 680px;
}

.sc-action-band h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}


/* ══════════════════════════════════════════════════════════════════════════════
   FINAL CTA — "YOU'RE WELCOME HERE" closing section; extends shared .final
   ══════════════════════════════════════════════════════════════════════════════ */

.sc-final.final {
  text-align: center;
}

.sc-final .inner {
  max-width: 720px;
}

/* Substantially stronger heading */
.sc-final .inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.sc-final .inner .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  margin-bottom: 32px;
}


/* ══════════════════════════════════════════════════════════════════════════════
   MOBILE ADJUSTMENTS
   ══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 859px) {
  .sc-form-hero .sc-hero-form {
    margin-top: 0;
  }
}

@media (max-width: 639px) {

  .sc-hero-checklist-grid,
  .sc-benefits-grid,
  .sc-features-cards {
    grid-template-columns: 1fr;
  }

  .sc-contact .wrap {
    grid-template-columns: 1fr;
  }

  .sc-contact-benefits {
    max-width: none;
    margin-left: 0;
    padding-left: 0;
  }

  .sc-motive-band-headline {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  .sc-pivot-emphasis {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .sc-brand-band-text {
    font-size: clamp(.95rem, 4.5vw, 1.3rem);
  }

  .sc-btn-phone {
    width: 100%;
    justify-content: center;
  }

  .actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
