/* Shared presentation for company, flow and contact pages. Page-specific files contain differences only. */

.page-company,
.page-flow,
.page-contact {
  background: #fff;
}

.company-hero,
.flow-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

.company-hero,
.flow-hero {
  min-height: 660px;
}

.company-hero::before,
.flow-hero::before,
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 70px 70px;
}

.company-hero::before,
.flow-hero::before {
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.company-hero__inner,
.flow-hero__inner,
.contact-hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  align-items: center;
}

.company-hero__copy,
.flow-hero__copy {
  position: relative;
  z-index: 3;
}

.company-hero__eyebrow,
.flow-hero__eyebrow,
.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #9dd9ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.company-hero__eyebrow::before,
.flow-hero__eyebrow::before,
.contact-hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8fd0ff, transparent);
}

.company-hero__title,
.flow-hero__title,
.contact-hero__title {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.company-hero__title-line,
.flow-hero__title-line,
.contact-hero__title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.company-hero__title-line--accent,
.flow-hero__title-line--accent,
.contact-hero__title-line--accent {
  color: #86ceff;
}

.flow-hero__title-line--accent,
.contact-hero__title-line--accent {
  margin-top: 7px;
}

.company-hero__lead,
.flow-hero__lead,
.contact-hero__lead {
  margin: 28px 0 0;
  color: rgba(255,255,255,.85);
  line-height: 1.95;
}

.company-hero__lead,
.flow-hero__lead {
  max-width: 670px;
}

.company-hero__actions,
.flow-hero__actions,
.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.company-hero__actions .btn--outline,
.flow-hero__actions .btn--outline,
.contact-hero__actions .btn--outline {
  background: rgba(255,255,255,.06);
}

.company-hero__visual,
.flow-hero__visual,
.contact-hero__visual {
  position: relative;
}

.flow-hero__visual,
.contact-hero__visual {
  min-height: 500px;
}

.company-hero__visual::before,
.flow-hero__visual::before,
.contact-hero__visual::before {
  content: "";
  position: absolute;
  transform: rotate(2deg);
}

.flow-hero__visual::before,
.contact-hero__visual::before {
  border: 1px solid rgba(143,208,255,.25);
  border-radius: 36px;
}

.company-hero__frame,
.flow-hero__frame,
.contact-hero__frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: #0a2a4b;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
}

.company-hero__frame img,
.flow-hero__frame img,
.contact-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-hero__frame--main,
.flow-hero__frame--main,
.contact-hero__frame--main {
  border-radius: 28px;
}

.company-hero__frame--main::after,
.flow-hero__frame--main::after,
.contact-hero__frame--main::after {
  content: "";
  position: absolute;
  inset: 0;
}

.company-hero__frame--top,
.flow-hero__frame--top,
.contact-hero__frame--top {
  top: 0;
  border-radius: 20px;
  transform: translateY(-8px);
}

.flow-hero__frame--top,
.contact-hero__frame--top {
  height: 36%;
}

.company-hero__frame--bottom,
.flow-hero__frame--bottom,
.contact-hero__frame--bottom {
  left: 0;
  border-radius: 20px;
}

.flow-hero__frame--bottom,
.contact-hero__frame--bottom {
  bottom: 8px;
  height: 38%;
}

.company-hero__badge,
.contact-hero__badge {
  position: absolute;
  z-index: 4;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
}

.company-hero__badge-icon,
.contact-hero__badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #0b72db, #5fb8f5);
}

.company-hero__badge-icon svg,
.contact-hero__badge-icon svg {
  width: 22px;
  height: 22px;
}

.company-hero__badge strong,
.contact-hero__badge strong {
  line-height: 1.4;
}

.company-intro,
.flow-intro,
.contact-intro {
  position: relative;
  overflow: hidden;
}

.company-intro::before,
.flow-intro::before,
.contact-intro::before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(6,60,122,.035);
  font-weight: 900;
  letter-spacing: -.08em;
  white-space: nowrap;
  pointer-events: none;
}

.flow-intro::before,
.contact-intro::before {
  top: 10px;
  font-size: clamp(6rem, 15vw, 12rem);
}

.company-intro__inner,
.flow-intro__inner,
.contact-intro__inner {
  position: relative;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.company-intro__label,
.flow-intro__label,
.contact-intro__label {
  color: var(--color-primary);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.flow-intro__label,
.contact-intro__label {
  margin: 10px 0 0;
}

.company-intro__title,
.flow-intro__title,
.contact-intro__title {
  margin: 0;
  color: var(--color-primary-deep);
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1.28;
  letter-spacing: -.045em;
}

.company-intro__text,
.flow-intro__text,
.contact-intro__text {
  margin: 25px 0 0;
  color: #4b6075;
  font-size: 1.04rem;
  line-height: 2;
}

/* Keep the hero badge pictograms centered inside their blue icon tiles. */
.company-hero__badge .company-hero__badge-icon,
.contact-hero__badge .contact-hero__badge-icon {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.company-hero__badge .company-hero__badge-icon svg,
.contact-hero__badge .contact-hero__badge-icon svg {
  display: block;
  margin: auto;
}

