.ci-tech-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(650px, 47vw, 760px);
  margin: 0;
  overflow: hidden;
  color: #071d4a;
  background: #f8fafc;
  scroll-margin-top: 96px;
}

.ci-tech-hero,
.ci-tech-hero * {
  box-sizing: border-box;
}

.ci-tech-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
}

.ci-tech-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ci-tech-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 37%, rgba(255, 255, 255, 0.12) 59%, transparent 72%);
  content: "";
  pointer-events: none;
}

.ci-tech-hero__inner {
  width: min(100% - 128px, 1320px);
  margin-inline: auto;
}

.ci-tech-hero__content {
  width: min(52%, 690px);
  padding: clamp(72px, 6vw, 94px) 0 clamp(60px, 5vw, 78px);
}

.ci-tech-hero__eyebrow {
  margin: 0 0 clamp(18px, 1.7vw, 25px);
  color: #008fb0;
  font-family: var(--paragraph-font, sans-serif);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.ci-tech-hero__title {
  margin: 0;
  color: #071d4a;
  font-family: var(--title-font, sans-serif);
  font-size: clamp(54px, 4.7vw, 72px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.ci-tech-hero__title span {
  display: block;
}

.ci-tech-hero__title-accent {
  color: #1672f4;
}

.ci-tech-hero__copy {
  max-width: 665px;
  margin-top: clamp(24px, 2.1vw, 32px);
}

.ci-tech-hero__copy p {
  margin: 0;
  color: #132e5d;
  font-family: var(--paragraph-font, sans-serif);
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.33;
}

.ci-tech-hero__copy p + p {
  margin-top: clamp(16px, 1.3vw, 20px);
}

.ci-tech-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: clamp(30px, 2.5vw, 38px);
}

.ci-tech-hero__button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  font-family: var(--paragraph-font, sans-serif);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.ci-tech-hero__button--primary {
  min-width: 326px;
  padding: 17px 26px;
  border: 1px solid #071d4a;
  color: #fff;
  background: #071d4a;
}

.ci-tech-hero__button--secondary {
  min-width: 230px;
  padding: 16px 4px;
  color: #071d4a;
  background: transparent;
}

.ci-tech-hero__button--secondary svg {
  width: 16px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ci-tech-hero__button--primary:hover {
  color: #071d4a;
  background: #fff;
  transform: translateY(-2px);
}

.ci-tech-hero__button--secondary:hover {
  color: #1672f4;
  transform: translateY(3px);
}

.ci-tech-hero__button:focus-visible {
  outline: 3px solid rgba(22, 114, 244, 0.4);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .ci-tech-hero__inner {
    width: min(100% - 80px, 1080px);
  }

  .ci-tech-hero__content {
    width: 56%;
  }

  .ci-tech-hero__title {
    font-size: clamp(50px, 5.4vw, 64px);
  }

  .ci-tech-hero__copy p {
    font-size: 20px;
  }

  .ci-tech-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ci-tech-hero__button--secondary {
    justify-content: flex-start;
    min-height: 46px;
    padding-left: 6px;
  }
}

@media (max-width: 767px) {
  .ci-tech-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: #fff;
  }

  .ci-tech-hero::after {
    display: none;
  }

  .ci-tech-hero__inner {
    width: calc(100% - 40px);
  }

  .ci-tech-hero__content {
    width: 100%;
    padding: 52px 0 42px;
  }

  .ci-tech-hero__title {
    font-size: clamp(44px, 13vw, 60px);
    line-height: 0.97;
  }

  .ci-tech-hero__copy p {
    font-size: 18px;
    line-height: 1.42;
  }

  .ci-tech-hero__actions {
    width: 100%;
    margin-top: 28px;
  }

  .ci-tech-hero__button--primary {
    width: 100%;
    min-width: 0;
  }

  .ci-tech-hero__button--secondary {
    min-width: 0;
  }

  .ci-tech-hero__media {
    position: relative;
    z-index: auto;
    order: 2;
    width: 100%;
    aspect-ratio: 1 / 1.05;
  }

  .ci-tech-hero__media img {
    object-position: center 52%;
  }
}

@media (max-width: 420px) {
  .ci-tech-hero__inner {
    width: calc(100% - 32px);
  }

  .ci-tech-hero__title {
    font-size: 43px;
  }

  .ci-tech-hero__eyebrow {
    letter-spacing: 0.22em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ci-tech-hero__button {
    transition: none;
  }
}
