.home-h2-cta {
  --home-shell-gutter: max(10px, calc((100vw - 1290px) / 2));
  --home-cta-accent-surface: var(--accent-tertiary, #d9edf8);
  --home-cta-primary: var(--cta-default, #2f80b7);
  --home-cta-eyebrow-bg: rgba(21, 50, 75, 0.7);
  background: #F8FAFC;
  position: relative;
  overflow: visible;
  min-height: auto;
}

.home-h2-cta__inner {
  position: relative;
  z-index: 1;
  width: min(1290px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 40px;
  display: flex;
  gap: 54px;
  align-items: flex-start;
}

.home-h2-cta__content-col {
  width: 630px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.home-h2-cta__content-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.home-h2-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--xs, 12px);
  border-radius: 60px;
  border: 1px solid var(--accent-secondary, #5fa8d3);
  background: var(--home-cta-eyebrow-bg);
  backdrop-filter: blur(4px);
  color: var(--text-light-secondary, #dde5ec);
  font-family: var(--eyebrow-font-family, 'Inter-Bold', sans-serif);
  font-size: var(--eyebrow-font-size, 14px);
  line-height: var(--eyebrow-line-height, 110%);
  letter-spacing: var(--eyebrow-letter-spacing, 0.012em);
  font-weight: var(--eyebrow-font-weight, 700);
}

.home-h2-cta__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-secondary, #5fa8d3);
}

.home-h2-cta__title {
  margin: 0;
  width: 628px;
  color: var(--accent-primary, #15324b);
  font-family: var(--headings-h3-font-family, 'JosefinSans-Medium', sans-serif);
  font-size: var(--headings-h3-font-size, 48.83px);
  line-height: var(--headings-h3-line-height, 110%);
  font-weight: var(--headings-h3-font-weight, 500);
}

.home-h2-cta__body {
  margin: 0;
  width: 630px;
  color: var(--text-dark, #22313f);
  font-family: var(--body-regular-font-family, 'Inter-Regular', sans-serif);
  font-size: var(--body-regular-font-size, 16px);
  line-height: var(--body-regular-line-height, 160%);
  font-weight: var(--body-regular-font-weight, 400);
  opacity: 1 !important;
  transition: opacity 220ms ease;
}

.home-h2-cta__body p {
  margin: 0;
}

.home-h2-cta__body p + p {
  margin-top: 14px;
}

.home-h2-cta__body a {
  color: #2f80b7 !important;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-h2-cta__body a[href^="tel:"] {
  color: #2f80b7 !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home-h2-cta__body a:hover,
.home-h2-cta__body a:focus-visible {
  color: #1f6a9a;
  border-bottom-color: currentColor;
}

.home-h2-cta__body.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.home-h2-cta__show-more {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  cursor: pointer;
  transition: transform 220ms var(--ease-out-expo), opacity 220ms var(--ease-out-expo);
}

.home-h2-cta__show-more-text {
  color: var(--cta-default, #2f80b7);
  text-align: center;
  font-family: var(--cta-small-font-family, 'Inter-SemiBold', sans-serif);
  font-size: var(--cta-small-font-size, 14px);
  line-height: var(--cta-small-line-height, 110%);
  font-weight: var(--cta-small-font-weight, 600);
  text-transform: uppercase;
}

.home-h2-cta__show-more-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  transition: transform 220ms var(--ease-out-expo);
}

.home-h2-cta__show-more.is-expanded .home-h2-cta__show-more-icon {
  transform: rotate(180deg);
}

.home-h2-cta__show-more:hover,
.home-h2-cta__show-more:focus-visible {
  transform: translateY(-1px);
  opacity: 0.86;
}

.home-h2-cta__cta-wrap {
  display: flex;
  gap: 24px;
}

.home-h2-cta__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--xxs, 8px);
  padding: var(--s, 16px) var(--l, 32px);
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--home-cta-primary);
  text-decoration: none;
  transition: transform 220ms var(--ease-out-expo), box-shadow 220ms var(--ease-out-expo);
}

.home-h2-cta__cta:hover,
.home-h2-cta__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 128, 183, 0.18);
}

.home-h2-cta__cta-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
}

.home-h2-cta__cta-icon svg {
  transition: transform 220ms var(--ease-out-expo);
  transform-origin: 56% 58%;
}

.home-h2-cta__cta:hover .home-h2-cta__cta-icon svg,
.home-h2-cta__cta:focus-visible .home-h2-cta__cta-icon svg {
  animation: homeH2CtaPhoneWiggle 700ms ease-in-out infinite;
}

.home-h2-cta__cta-label {
  color: var(--text-light, #ffffff);
  font-family: var(--cta-large-font-family, 'PlusJakartaSans-SemiBold', sans-serif);
  font-size: var(--cta-large-font-size, 20px);
  line-height: var(--cta-large-line-height, 130%);
  font-weight: var(--cta-large-font-weight, 600);
}

.home-h2-cta__media-col {
  width: 606px;
  height: 536px;
  position: sticky;
  top: clamp(20px, 4vh, 56px);
  align-self: flex-start;
}

.home-h2-cta__media-underlay {
  position: absolute;
  left: -24px;
  right: min(0px, calc((100vw - 1290px) / -2));
  top: -24px;
  width: auto;
  height: 584px;
  border-radius: var(--xl, 48px) 0 0 var(--xl, 48px);
  background: var(--home-cta-accent-surface);
  z-index: 0;
  transition: none;
}

.home-h2-cta__image-frame {
  width: 606px;
  height: 536px;
  border-radius: var(--xl, 48px);
  overflow: hidden;
  position: relative;
  background: #c8dce9;
  box-shadow: 0 18px 40px rgba(21, 50, 75, 0.16);
  transition: transform 260ms var(--ease-out-expo), box-shadow 260ms var(--ease-out-expo);
  z-index: 1;
}

.home-h2-cta__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(217, 237, 248, 0.18) 10%, rgba(255, 255, 255, 0.5) 45%, rgba(217, 237, 248, 0.18) 70%);
  background-size: 220% 100%;
  animation: homeH2CtaShimmer 1.45s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  transition: opacity 380ms ease;
}

.home-h2-cta__image-frame.is-loaded::before {
  opacity: 0;
  animation: none;
}

.home-h2-cta__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-h2-cta__image-frame.is-loaded .home-h2-cta__image {
  opacity: 1;
  transform: scale(1);
}

.home-h2-cta__image-frame:hover,
.home-h2-cta__image-frame:focus-within,
.home-h2-cta__media-col:hover .home-h2-cta__image-frame,
.home-h2-cta__media-col:focus-within .home-h2-cta__image-frame {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(21, 50, 75, 0.2);
}

.home-h2-cta__image-frame:hover .home-h2-cta__image,
.home-h2-cta__image-frame:focus-within .home-h2-cta__image,
.home-h2-cta__media-col:hover .home-h2-cta__image,
.home-h2-cta__media-col:focus-within .home-h2-cta__image {
  transform: scale(1.035);
}

.home-h2-cta__media-col:hover .home-h2-cta__media-underlay,
.home-h2-cta__media-col:focus-within .home-h2-cta__media-underlay {
  transform: translateY(2px);
}

@keyframes homeH2CtaPhoneWiggle {
  0%,
  100% {
    transform: rotate(0deg) translateX(0);
  }

  20% {
    transform: rotate(-14deg) translateX(0.5px);
  }

  45% {
    transform: rotate(8deg) translateX(0);
  }

  70% {
    transform: rotate(-6deg) translateX(0.5px);
  }
}

@keyframes homeH2CtaShimmer {
  0% {
    background-position: 140% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

@media (max-width: 1100px) {
  .home-h2-cta__inner {
    gap: 32px;
  }

  .home-h2-cta__content-col,
  .home-h2-cta__body,
  .home-h2-cta__title,
  .home-h2-cta__media-col,
  .home-h2-cta__image-frame {
    width: 100%;
  }

  .home-h2-cta__media-col {
    position: relative;
    top: auto;
  }

  .home-h2-cta__media-underlay {
    left: -20px;
    right: -20px;
    width: auto;
    height: calc(100% + 48px);
  }
}

@media (max-width: 900px) {
  .home-h2-cta {
    min-height: auto;
  }

  .home-h2-cta__inner {
    width: calc(100% - 28px);
    padding: 84px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-h2-cta__title {
    font-size: clamp(34px, 7vw, 48px);
  }

  .home-h2-cta__image-frame {
    height: 420px;
  }

  .home-h2-cta__media-col {
    height: 420px;
    position: relative;
    top: auto;
  }

  .home-h2-cta__media-underlay {
    left: -12px;
    right: -12px;
    top: -12px;
    width: auto;
    height: calc(100% + 24px);
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-h2-cta__show-more,
  .home-h2-cta__show-more-icon,
  .home-h2-cta__cta,
  .home-h2-cta__cta-icon svg,
  .home-h2-cta__image-frame,
  .home-h2-cta__media-underlay,
  .home-h2-cta__image,
  .home-h2-cta__body {
    transition: none !important;
  }

  .home-h2-cta__image-frame::before {
    animation: none !important;
  }
}
