@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

/* ===========================================================================
   UC Info  —  colors come from CSS vars set inline per instance
   =========================================================================== */

.uc-info {
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  overflow: hidden;
  padding: 0 2rem;
  /* clip reveal slide-ins so they never cause page scroll */
  box-sizing: border-box;
}

.uc-info *,
.uc-info *::before,
.uc-info *::after {
  box-sizing: border-box;
}

.uc-info__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

/* image-left flip (desktop) */
.uc-info--img-left .uc-info__content {
  order: 2;
}

.uc-info--img-left .uc-info__media {
  order: 1;
}

/* ---- Content ---- */
.uc-info__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 0;
}

.uc-info__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--uc-eyebrow-bg, linear-gradient(100deg, #E6F2FC, #F1E9FB));
  margin-bottom: 22px;
}

.uc-info__eyebrow-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: var(--uc-eyebrow-fallback, #924DC2);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .uc-info__eyebrow-text {
    background: var(--uc-eyebrow-text, linear-gradient(100deg, #0099CC, #924DC2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.uc-info__heading {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--uc-heading, #0F0F14);
}

.uc-info__body {
  color: var(--uc-body, #52525B);
  font-size: 18px;
  line-height: 1.65;
}

.uc-info__body p {
  margin: 0 0 16px;
}

.uc-info__body p:last-child {
  margin-bottom: 0;
}

.uc-info__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.uc-info__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--uc-btn-bg, linear-gradient(100deg, #0DB7E1, #C065FF));
  color: var(--uc-btn-text, #ffffff);
  text-decoration: none;
  font-weight: 700 !important;
  font-size: 16px;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}

.uc-info__cta:hover {
  transform: translateY(-1px);
  font-weight: 700 !important;
  color: var(--uc-btn-text, #ffffff);
}

/* secondary (Contact Us) — white w/ black border; hover: black fill + white text.
   Forced past global link/btn styles. */
.uc-info__cta--secondary,
.uc-info__cta--secondary:link,
.uc-info__cta--secondary:visited {
  background: transparent !important;
  color: #0F0F14 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 2px solid #0F0F14;
  box-shadow: none;
}

.uc-info__cta--secondary:hover,
.uc-info__cta--secondary:focus,
.uc-info__cta--secondary:active {
  background: #0F0F14 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: none;
}

.uc-info__cta svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* ---- Media ---- */
.uc-info__media {
  min-width: 0;
  padding-top: 60px;
}

.uc-info__image {
  width: 100%;
  height: 100%;
  /* fill the full cell height (matches content side) */
  object-fit: cover;
  display: block;
}

/* ---- Reveal-on-scroll (hidden state added by JS only → never blanks) ---- */
.uc-info .uc-reveal.is-init {
  opacity: 0;
}

.uc-info .uc-reveal--from-left.is-init {
  transform: translateX(-40px);
}

.uc-info .uc-reveal--from-right.is-init {
  transform: translateX(40px);
}

.uc-info .uc-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}

.uc-info .uc-reveal--delay.is-in {
  transition-delay: .12s;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .uc-info__inner {
    gap: 40px;
  }

  .uc-info__heading {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .uc-info {
    padding: 0px 18px;
  }

  .uc-info__content {
    padding: 0;
  }

  .uc-info__media {
    padding-top: 0;
  }

  .uc-info__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* content always first on mobile, regardless of image_position */
  .uc-info--img-left .uc-info__content,
  .uc-info--img-left .uc-info__media {
    order: initial;
  }

  .uc-info__heading {
    font-size: 30px;
  }

  .uc-info__body {
    font-size: 16px;
  }

  /* stacked: image returns to natural height */
  .uc-info__image {
    height: auto;
  }
}