/**
 * Home closing CTA (#digital-project-cta) — light mode only.
 * Wins over site.ar.css, juman-import-surfaces, and text remaps.
 */

html[data-theme='light'] .juman-import #digital-project-cta,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta {
  --juman-cta-light-heading: #fffdf9;
  --juman-cta-light-body: color-mix(in srgb, #fffdf9 93%, transparent);
  --juman-cta-gradient: linear-gradient(135deg, #8a4a25 0%, #a3592d 50%, #c4784a 100%);

  padding-block: clamp(4.75rem, 9vw, 6.75rem) !important;
  background: var(--juman-cta-gradient) !important;
  color: var(--juman-cta-light-heading) !important;
}

html[data-theme='light'] .juman-import #digital-project-cta::before,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta::before {
  opacity: 0.1 !important;
  z-index: 2;
}

html[data-theme='light'] .juman-import #digital-project-cta .cta-section-bg,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta .cta-section-bg {
  background-color: #8a4a25 !important;
}

html[data-theme='light'] .juman-import #digital-project-cta .cta-section-bg-media,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta .cta-section-bg-media {
  opacity: 0.32 !important;
  filter: saturate(1.08) contrast(1.08) brightness(0.95);
}

html[data-theme='light'] .juman-import #digital-project-cta .cta-section-scrim,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta .cta-section-scrim {
  z-index: 2 !important;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, #8a4a25 88%, #1a1510) 0%,
    color-mix(in srgb, #a3592d 72%, transparent) 44%,
    color-mix(in srgb, #8a4a25 86%, #1a1510) 100%
  ) !important;
}

html[data-theme='light'] .juman-import #digital-project-cta .cta-section-inner,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta .cta-section-inner {
  z-index: 3 !important;
}

html[data-theme='light'] .juman-import #digital-project-cta :is(h1, h2, h3, h4, .text-white),
html:has(.juman-import):not([data-theme='dark'])
  .juman-import
  #digital-project-cta
  :is(h1, h2, h3, h4, .text-white) {
  color: var(--juman-cta-light-heading) !important;
}

html[data-theme='light'] .juman-import #digital-project-cta h2,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.45rem) !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 20px color-mix(in srgb, #1a1510 32%, transparent);
  margin-bottom: 1.1rem !important;
}

html[data-theme='light'] .juman-import #digital-project-cta .lead,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta .lead {
  color: var(--juman-cta-light-body) !important;
  opacity: 1 !important;
  font-size: clamp(1.02rem, 2vw, 1.2rem) !important;
  line-height: 1.8 !important;
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: 2rem !important;
  text-shadow: 0 1px 14px color-mix(in srgb, #1a1510 24%, transparent);
}

html[data-theme='light'] .juman-import #digital-project-cta .btn-light,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta .btn-light {
  background: #fffdf9 !important;
  color: #8a4a25 !important;
  border: 1px solid #fffdf9 !important;
  box-shadow: 0 10px 30px color-mix(in srgb, #1a1510 24%, transparent) !important;
}

html[data-theme='light'] .juman-import #digital-project-cta .btn-light:is(:hover, :active, :focus-visible),
html:has(.juman-import):not([data-theme='dark'])
  .juman-import
  #digital-project-cta
  .btn-light:is(:hover, :active, :focus-visible) {
  background: #faf7f2 !important;
  color: #7a3f1e !important;
}

html[data-theme='light'] .juman-import #digital-project-cta .btn-outline-light,
html:has(.juman-import):not([data-theme='dark']) .juman-import #digital-project-cta .btn-outline-light {
  color: #fffdf9 !important;
  border: 1px solid color-mix(in srgb, #fffdf9 62%, transparent) !important;
  background: color-mix(in srgb, #fffdf9 12%, transparent) !important;
}

html[data-theme='light'] .juman-import #digital-project-cta .btn-outline-light:is(:hover, :active, :focus-visible),
html:has(.juman-import):not([data-theme='dark'])
  .juman-import
  #digital-project-cta
  .btn-outline-light:is(:hover, :active, :focus-visible) {
  color: #8a4a25 !important;
  background: #fffdf9 !important;
  border-color: #fffdf9 !important;
}