/* Capri Studio Films v49 — AI Production hero formatting and Contact review readability */

/* AI Production hero: preserve the cinematic image while keeping every line readable. */
.ai-page-v41 .csf-hero-ai {
  min-height: clamp(700px, 82vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #070a0f;
}
.ai-page-v41 .csf-hero-ai .csf-hero-media {
  background-position: 64% center;
  background-size: cover;
  transform: scale(1.01);
}
.ai-page-v41 .csf-hero-ai::before {
  background:
    linear-gradient(90deg,
      rgba(5,8,13,.98) 0%,
      rgba(5,8,13,.93) 32%,
      rgba(5,8,13,.78) 50%,
      rgba(5,8,13,.36) 72%,
      rgba(5,8,13,.14) 100%) !important;
}
.ai-page-v41 .csf-hero-ai::after {
  background:
    radial-gradient(circle at 76% 24%, rgba(220,165,49,.16), transparent 35%),
    linear-gradient(0deg, rgba(5,8,13,.78), transparent 48%) !important;
}
.ai-page-v41 .csf-hero-ai .csf-hero-content {
  box-sizing: border-box;
  width: min(820px, calc(100% - clamp(4rem, 12vw, 13rem)));
  max-width: 820px;
  margin-left: clamp(2rem, 5.5vw, 6.5rem);
  margin-right: auto;
  padding: clamp(10rem, 16vh, 13rem) 0 clamp(4.5rem, 9vh, 7rem);
}
.ai-page-v41 .csf-hero-ai .csf-kicker {
  margin-bottom: .65rem;
  color: #e0a630;
}
.ai-page-v41 .csf-hero-ai h1 {
  max-width: 820px;
  margin: .5rem 0 1.35rem;
  font-size: clamp(4.15rem, 6.15vw, 6.7rem);
  line-height: .91;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.ai-page-v41 .csf-hero-ai h1 em {
  display: block;
  color: #dfa331;
  font-weight: 500;
}
.ai-page-v41 .csf-hero-ai p {
  max-width: 740px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.65;
}
.ai-page-v41 .csf-hero-ai .csf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  margin-top: 2rem;
}
.ai-page-v41 .csf-hero-ai .csf-actions .btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ai-page-v41 .csf-hero-ai .csf-actions .btn-secondary {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.48) !important;
  background: rgba(8,11,17,.28) !important;
  opacity: 1 !important;
  backdrop-filter: blur(8px);
}
.ai-page-v41 .csf-hero-ai .csf-actions .btn-secondary:hover,
.ai-page-v41 .csf-hero-ai .csf-actions .btn-secondary:focus-visible {
  color: #101318 !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* Contact review section: force a dark, high-contrast treatment. */
.contact-page-v45 .contact-next-steps-v46 {
  position: relative;
  isolation: isolate;
  background: #0a0d12 !important;
  color: #fff !important;
}
.contact-page-v45 .contact-next-steps-v46::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 14%, rgba(220,165,49,.15), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 45%);
  pointer-events: none;
}
.contact-page-v45 .contact-next-steps-v46 .container {
  position: relative;
  z-index: 1;
}
.contact-page-v45 .contact-next-steps-v46 .csf-media-split {
  display: grid;
  grid-template-columns: minmax(320px,.96fr) minmax(360px,1.04fr);
  gap: clamp(2rem,5vw,5rem);
  align-items: center;
}
.contact-page-v45 .contact-next-steps-v46 figure {
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: #11161d;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 26px 64px rgba(0,0,0,.34);
}
.contact-page-v45 .contact-next-steps-v46 figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  opacity: 1 !important;
  filter: none !important;
}
.contact-page-v45 .contact-next-steps-v46 .csf-kicker {
  color: #dfa331 !important;
}
.contact-page-v45 .contact-next-steps-v46 h2 {
  margin: .75rem 0 1.1rem;
  color: #fff !important;
  font-size: clamp(2.6rem,4.5vw,4.8rem);
  line-height: .94;
  letter-spacing: -.055em;
  text-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.contact-page-v45 .contact-next-steps-v46 .csf-step-list.light article {
  border-color: rgba(255,255,255,.16) !important;
}
.contact-page-v45 .contact-next-steps-v46 .csf-step-list.light article b {
  color: #dfa331 !important;
}
.contact-page-v45 .contact-next-steps-v46 .csf-step-list.light h3 {
  color: #fff !important;
}
.contact-page-v45 .contact-next-steps-v46 .csf-step-list.light p {
  color: rgba(255,255,255,.74) !important;
}

@media (max-width: 980px) {
  .ai-page-v41 .csf-hero-ai .csf-hero-content {
    width: calc(100% - 3rem);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  .contact-page-v45 .contact-next-steps-v46 .csf-media-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ai-page-v41 .csf-hero-ai {
    min-height: 720px;
    align-items: flex-end;
  }
  .ai-page-v41 .csf-hero-ai .csf-hero-media {
    background-position: 70% center;
  }
  .ai-page-v41 .csf-hero-ai .csf-hero-content {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 9rem 0 3.5rem;
  }
  .ai-page-v41 .csf-hero-ai h1 {
    font-size: clamp(3.15rem, 14vw, 4.7rem);
  }
  .ai-page-v41 .csf-hero-ai .csf-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .ai-page-v41 .csf-hero-ai .csf-actions .btn {
    width: 100%;
  }
  .contact-page-v45 .contact-next-steps-v46 figure,
  .contact-page-v45 .contact-next-steps-v46 figure img {
    min-height: 300px;
  }
}
