/* Investors Hub Services Page - No header/footer included */
.ih-services,
.ih-services * {
  box-sizing: border-box;
}

.ih-services {
  --ih-blue: #0b49df;
  --ih-blue-2: #0836a8;
  --ih-navy: #071640;
  --ih-text: #33405c;
  --ih-muted: #68738c;
  --ih-gold: #f6b928;
  --ih-green: #04875d;
  --ih-bg: #f6f9ff;
  --ih-card: #ffffff;
  --ih-line: rgba(7, 22, 64, .1);
  --ih-shadow: 0 20px 50px rgba(7, 22, 64, .10);
  --ih-soft-shadow: 0 14px 34px rgba(7, 22, 64, .08);
  --ih-radius: 22px;
  width: 100%;
  overflow: hidden;
  color: var(--ih-text);
  background:
    radial-gradient(circle at 8% 8%, rgba(11, 73, 223, .08), transparent 30%),
    radial-gradient(circle at 92% 40%, rgba(4, 135, 93, .06), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ih-services a {
  color: inherit;
  text-decoration: none;
}

.ih-services__container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ih-services__hero {
  position: relative;
  padding: clamp(54px, 7vw, 92px) 0 clamp(44px, 6vw, 78px);
}

.ih-services__hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(38vw, 440px);
  height: min(38vw, 440px);
  background-image: radial-gradient(rgba(11, 73, 223, .18) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  opacity: .45;
  transform: translate(-20%, -18%);
  pointer-events: none;
}

.ih-services__hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.ih-services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--ih-blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ih-services__eyebrow::after {
  content: "";
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: var(--ih-gold);
}

.ih-services__title {
  max-width: 670px;
  margin: 0;
  color: var(--ih-navy);
  font-size: clamp(42px, 6.1vw, 76px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 950;
}

.ih-services__title span {
  color: var(--ih-blue);
}

.ih-services__intro {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--ih-text);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.ih-services__hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 4vw, 46px);
}

.ih-services__feature {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.ih-services__feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--ih-blue);
  border: 1px solid rgba(11, 73, 223, .10);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 25px rgba(11, 73, 223, .09);
}

.ih-services__feature svg {
  width: 25px;
  height: 25px;
}

.ih-services__feature h3 {
  margin: 0;
  color: var(--ih-navy);
  font-size: 18px;
  line-height: 1.12;
  font-weight: 900;
}

.ih-services__feature p {
  margin: 8px 0 0;
  color: var(--ih-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ih-services__visual {
  position: relative;
  min-height: 500px;
}

.ih-services__image-frame {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 570px);
  height: 430px;
  overflow: hidden;
  border: 2px solid rgba(11, 73, 223, .9);
  border-right: 0;
  border-radius: 96px 0 0 96px;
  background: #fff;
  box-shadow: var(--ih-shadow);
  transform: skewX(-9deg);
}

.ih-services__image-frame img {
  width: 115%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: skewX(9deg) translateX(-20px) scale(1.03);
  display: block;
}

.ih-services__quote {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(88%, 430px);
  padding: 42px 42px 36px;
  color: #fff;
  border-radius: 28px 0 28px 28px;
  background: linear-gradient(135deg, var(--ih-blue-2), var(--ih-blue));
  box-shadow: 0 24px 55px rgba(8, 54, 168, .25);
}

.ih-services__quote-mark {
  display: block;
  margin-bottom: 14px;
  color: var(--ih-gold);
  font-size: 64px;
  line-height: .55;
  font-weight: 950;
}

.ih-services__quote p {
  margin: 0;
  max-width: 280px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 650;
}

.ih-services__quote::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--ih-gold);
}

.ih-services__section-head {
  text-align: center;
  padding: clamp(36px, 6vw, 64px) 0 30px;
}

.ih-services__subeyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ih-blue);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ih-services__subeyebrow::before,
.ih-services__subeyebrow::after {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--ih-blue);
  border-radius: 999px;
}

.ih-services__section-head h2 {
  margin: 0;
  color: var(--ih-navy);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 950;
}

.ih-services__section-head p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--ih-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ih-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: clamp(32px, 5vw, 58px);
}

.ih-service-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--ih-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--ih-soft-shadow);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.ih-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 18%, var(--card-glow, rgba(11, 73, 223, .12)), transparent 34%);
  opacity: .55;
  pointer-events: none;
}

.ih-service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--card-accent, var(--ih-blue));
}

.ih-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 73, 223, .22);
  box-shadow: 0 24px 60px rgba(7, 22, 64, .14);
}

.ih-service-card__image {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 210px;
  padding: 18px 20px 0;
}

.ih-service-card__image img {
  width: min(88%, 260px);
  max-height: 205px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 20px rgba(7, 22, 64, .13));
}

.ih-service-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 10px 30px 30px;
}

.ih-service-card h3 {
  max-width: 260px;
  margin: 0;
  color: var(--ih-navy);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 950;
}

.ih-service-card p {
  margin: 14px 0 18px;
  color: var(--ih-text);
  font-size: 15px;
  line-height: 1.56;
}

.ih-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--ih-blue);
  font-size: 15px;
  font-weight: 900;
}

.ih-service-card__link svg {
  width: 17px;
  height: 17px;
  transition: transform .22s ease;
}

.ih-service-card:hover .ih-service-card__link svg {
  transform: translateX(4px);
}

.ih-services__quality {
  padding-bottom: clamp(54px, 7vw, 86px);
}

.ih-services__quality-bar {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, #05236f 0%, #0b49df 100%);
  color: #fff;
  box-shadow: 0 22px 60px rgba(11, 73, 223, .24);
}

.ih-services__quality-main,
.ih-services__quality-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.ih-services__quality-main {
  padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,.32);
}

.ih-services__quality-icon,
.ih-services__small-icon {
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(246,185,40,.78);
  border-radius: 50%;
  color: var(--ih-gold);
}

.ih-services__quality-icon {
  width: 68px;
  height: 68px;
}

.ih-services__small-icon {
  width: 54px;
  height: 54px;
}

.ih-services__quality-icon svg,
.ih-services__small-icon svg {
  width: 28px;
  height: 28px;
}

.ih-services__quality-main h3 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 950;
}

.ih-services__quality-main span {
  color: var(--ih-gold);
}

.ih-services__quality-item h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
}

.ih-services__quality-item p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .ih-services__hero-grid {
    grid-template-columns: 1fr;
  }

  .ih-services__visual {
    min-height: 430px;
  }

  .ih-services__image-frame {
    left: 0;
    width: 100%;
    height: 380px;
  }

  .ih-services__quote {
    right: 26px;
    bottom: 8px;
  }

  .ih-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ih-services__quality-bar {
    grid-template-columns: 1fr 1fr;
  }

  .ih-services__quality-main {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
    padding: 0 0 22px;
  }
}

@media (max-width: 760px) {
  .ih-services__container {
    width: min(100% - 28px, 1180px);
  }

  .ih-services__hero {
    padding-top: 44px;
  }

  .ih-services__hero-features {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ih-services__feature {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ih-services__feature-icon {
    width: 48px;
    height: 48px;
  }

  .ih-services__visual {
    min-height: 370px;
  }

  .ih-services__image-frame {
    height: 318px;
    border-radius: 58px 0 0 58px;
  }

  .ih-services__quote {
    right: 12px;
    width: min(92%, 360px);
    padding: 28px 28px 24px;
    border-radius: 22px;
  }

  .ih-services__quote-mark {
    font-size: 48px;
  }

  .ih-services__quote p {
    font-size: 17px;
  }

  .ih-services__section-head {
    padding-top: 38px;
  }

  .ih-services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ih-service-card {
    min-height: 360px;
  }

  .ih-service-card__image {
    height: 195px;
  }

  .ih-service-card h3 {
    font-size: 22px;
  }

  .ih-services__quality-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
  }

  .ih-services__quality-main,
  .ih-services__quality-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .ih-services__quality-main {
    padding-bottom: 20px;
  }

  .ih-services__quality-icon {
    width: 56px;
    height: 56px;
  }

  .ih-services__small-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 430px) {
  .ih-services__title {
    font-size: 40px;
  }

  .ih-services__intro {
    font-size: 15.5px;
  }

  .ih-services__visual {
    min-height: 330px;
  }

  .ih-services__image-frame {
    height: 280px;
  }

  .ih-services__quote {
    padding: 22px 22px 20px;
  }

  .ih-services__quote p {
    font-size: 15.5px;
  }

  .ih-service-card__body {
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ih-service-card,
  .ih-service-card__link svg {
    transition: none;
  }

  .ih-service-card:hover {
    transform: none;
  }
}

/* ===== Hero overlap fix (added 2026-07-10) =====
   The skewed image frame was overlapping the third hero feature ("End-to-End
   Support"). Keep the copy above the visual and pull the frame fully into its
   own column so text never sits under the image. */
.ih-services__hero-grid{grid-template-columns:minmax(0,1fr) minmax(400px,.92fr);gap:clamp(40px,5vw,84px)}
.ih-services__hero-copy{position:relative;z-index:2}
.ih-services__visual{z-index:1}
.ih-services__image-frame{width:min(100%,540px);transform:skewX(-6deg)}
.ih-services__image-frame img{transform:skewX(6deg) translateX(-16px) scale(1.03)}
@media(max-width:900px){
  .ih-services__hero-grid{grid-template-columns:1fr}
  .ih-services__image-frame{transform:none;border-radius:24px;border-right:2px solid rgba(11,73,223,.9)}
  .ih-services__image-frame img{transform:none}
}
