/* Native Digital Marketing service page. */

body.bpo-native-digital-marketing {
  --bpo-marketing-blue: #0035a2;
  --bpo-marketing-sky: #4a9dff;
  --bpo-marketing-ink: #183252;
  --bpo-marketing-copy: #5a6b84;
  --bpo-marketing-line: rgba(0, 53, 162, 0.11);
}

.bpo-marketing {
  overflow: clip;
  color: var(--bpo-marketing-ink);
  font-family: var(--bpo-font-body), Poppins, sans-serif;
}

body.bpo-native-digital-marketing .elementor-55400.elementor-location-popup {
  display: none !important;
}

.bpo-marketing-shell {
  width: min(calc(100% - 40px), 1200px);
  margin-inline: auto;
}

.bpo-marketing-section {
  position: relative;
  padding-block: 64px;
}

.bpo-marketing-heading {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.bpo-marketing-heading--center {
  justify-content: center;
  text-align: center;
}

.bpo-marketing-heading > div:first-child {
  width: min(920px, 100%);
}

.bpo-marketing-heading h2 {
  margin: 0;
  color: #404041;
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.bpo-marketing-heading p {
  margin: 18px 0 0;
  color: var(--bpo-marketing-copy);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Hero */
.bpo-marketing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 53, 162, 0.08);
  background:
    radial-gradient(circle at 8% 12%, rgba(74, 157, 255, 0.13), transparent 28%),
    radial-gradient(circle at 92% 84%, rgba(0, 53, 162, 0.07), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 56%, #edf5ff 100%);
}

.bpo-marketing-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(0, 53, 162, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 53, 162, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 58%, #000);
  content: "";
}

.bpo-marketing-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(470px, 1.06fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 82px);
}

.bpo-marketing-hero__content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.bpo-marketing-hero h1 {
  margin: 0;
  color: #404041;
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.bpo-marketing-hero__content > p {
  max-width: 64ch;
  margin: 0;
  color: var(--bpo-marketing-copy);
  font-size: 16px;
  line-height: 1.72;
  text-wrap: pretty;
}

.bpo-marketing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--secondary {
  appearance: none;
  border-color: rgba(0, 53, 162, 0.08) !important;
  background: linear-gradient(135deg, #0035a2 0%, #155dcc 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 53, 162, 0.18) !important;
  color: #ffffff !important;
}

body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--secondary:hover,
body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--secondary:focus,
body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--secondary:focus-visible {
  border-color: rgba(74, 157, 255, 0.38) !important;
  background: linear-gradient(135deg, #0b4ab6 0%, #176ddf 100%) !important;
  box-shadow: 0 16px 34px rgba(0, 53, 162, 0.22) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--secondary .bpo-button__icon-wrapper {
  background: #ffffff !important;
  color: #0035a2 !important;
}

body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--primary {
  appearance: none;
  border-color: rgba(0, 53, 162, 0.24) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 12px 26px rgba(0, 53, 162, 0.1) !important;
  color: #0035a2 !important;
}

body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--primary:hover,
body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--primary:focus,
body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--primary:focus-visible {
  border-color: rgba(0, 53, 162, 0.42) !important;
  background: #ffffff !important;
  box-shadow: 0 16px 32px rgba(0, 53, 162, 0.15) !important;
  color: #0035a2 !important;
  transform: translateY(-2px);
}

body.bpo-native-digital-marketing .bpo-marketing-hero button.bpo-finance-button--primary .bpo-button__icon-wrapper {
  background: #0035a2 !important;
  color: #ffffff !important;
}

.bpo-marketing-button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 12px 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--bpo-font-body), Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, color 260ms ease, transform 260ms ease;
}

.bpo-marketing-button--primary,
body.bpo-native-digital-marketing button.bpo-marketing-button--primary {
  border-color: rgba(0, 53, 162, 0.08) !important;
  background: linear-gradient(135deg, #0035a2, #155dcc) !important;
  box-shadow: 0 14px 30px rgba(0, 53, 162, 0.18) !important;
  color: #ffffff !important;
}

.bpo-marketing-button--primary:hover,
.bpo-marketing-button--primary:focus-visible,
body.bpo-native-digital-marketing button.bpo-marketing-button--primary:hover,
body.bpo-native-digital-marketing button.bpo-marketing-button--primary:focus-visible {
  border-color: rgba(74, 157, 255, 0.4) !important;
  background: linear-gradient(135deg, #0a49b7, #176edc) !important;
  box-shadow: 0 17px 36px rgba(0, 53, 162, 0.23) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.bpo-marketing-button:focus-visible {
  outline: 3px solid rgba(74, 157, 255, 0.3);
  outline-offset: 3px;
}

.bpo-marketing-button .bpo-button__icon-wrapper {
  width: 27px;
  height: 27px;
  background: #ffffff;
  color: var(--bpo-marketing-blue);
}

.bpo-marketing-button:hover .bpo-button__icon-svg:first-child,
.bpo-marketing-button:focus-visible .bpo-button__icon-svg:first-child {
  transform: translate(150%, -150%);
}

.bpo-marketing-button:hover .bpo-button__icon-svg--copy,
.bpo-marketing-button:focus-visible .bpo-button__icon-svg--copy {
  transform: translate(0);
}

.bpo-marketing-hero__media {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(0, 53, 162, 0.11);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 72px rgba(0, 53, 162, 0.14);
}

.bpo-marketing-hero__media::before {
  position: absolute;
  z-index: -1;
  inset: 12% -18px -18px 10%;
  border: 1px solid rgba(74, 157, 255, 0.16);
  border-radius: 25px;
  background: rgba(222, 237, 255, 0.58);
  content: "";
}

.bpo-marketing-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 17px;
  object-fit: cover;
}

/* Marketing capabilities: Growth & Performance cards, then the Creative
 * On-Demand banner, each under its own H3. */
.bpo-marketing-roles {
  background: #ffffff;
}

.bpo-marketing-group + .bpo-marketing-group {
  margin-top: clamp(48px, 6vw, 72px);
}

.bpo-marketing-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  color: #15375f;
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.bpo-marketing-group__description {
  margin: calc(-1 * clamp(8px, 1vw, 12px)) 0 clamp(22px, 2.6vw, 30px);
  color: var(--bpo-marketing-copy);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.bpo-marketing-group__title::before {
  width: 28px;
  height: 3px;
  flex: 0 0 28px;
  border-radius: 99px;
  background: linear-gradient(90deg, #4a9dff, #44c9ff);
  content: "";
}

/* The cards share the row evenly on desktop: no sideways scrolling. */
.bpo-marketing-roles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.bpo-marketing-role {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid var(--bpo-marketing-line);
  border-radius: 18px;
  background: #f9fbfe;
  box-shadow: 0 14px 32px rgba(24, 61, 116, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: border-color 400ms ease, background 500ms ease, box-shadow 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.bpo-marketing-role::before,
.bpo-marketing-role::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.bpo-marketing-role::before {
  top: 0;
  left: 22px;
  z-index: 2;
  width: 48px;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, #4a9dff, #44c9ff);
  box-shadow: none;
  transition: width 480ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms ease;
}

.bpo-marketing-role::after {
  right: -70px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(74, 157, 255, 0.12);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 450ms ease, transform 540ms cubic-bezier(0.16, 1, 0.3, 1);
}

.bpo-marketing-role:hover,
.bpo-marketing-role:focus-within {
  z-index: 20;
  border-color: rgba(0, 53, 162, 0.23);
  background:
    radial-gradient(circle at 90% 6%, rgba(74, 157, 255, 0.15), transparent 28%),
    linear-gradient(155deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 20px 44px rgba(24, 61, 116, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transform: translate3d(0, -6px, 0);
}

.bpo-marketing-role:hover::before,
.bpo-marketing-role:focus-within::before {
  width: calc(100% - 44px);
}

.bpo-marketing-role:hover::after,
.bpo-marketing-role:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.bpo-marketing-role figure {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 0 20px;
  place-items: center;
  border: 1px solid rgba(0, 53, 162, 0.1);
  border-radius: 14px;
  background: #edf5ff;
}

.bpo-marketing-role figure img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: none;
}

.bpo-marketing-role h4,
.bpo-marketing-certificate h3 {
  margin: 0;
  color: #15375f;
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-weight: 400;
  line-height: 1.22;
  text-wrap: balance;
}

.bpo-marketing-role h4 {
  font-size: 21px;
}

.bpo-marketing-role p,
.bpo-marketing-certificate p {
  margin: 11px 0 0;
  color: var(--bpo-marketing-copy);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.bpo-finance-js .bpo-marketing-roles:not(.is-visible) .bpo-marketing-role {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.bpo-finance-js .bpo-marketing-roles.is-visible .bpo-marketing-role {
  animation: bpo-marketing-card-reveal 720ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.bpo-finance-js .bpo-marketing-roles.is-visible .bpo-marketing-role:nth-child(2) { animation-delay: 70ms; }
.bpo-finance-js .bpo-marketing-roles.is-visible .bpo-marketing-role:nth-child(3) { animation-delay: 140ms; }
.bpo-finance-js .bpo-marketing-roles.is-visible .bpo-marketing-role:nth-child(4) { animation-delay: 210ms; }
.bpo-finance-js .bpo-marketing-roles.is-visible .bpo-marketing-role:nth-child(5) { animation-delay: 280ms; }
.bpo-finance-js .bpo-marketing-roles.is-visible .bpo-marketing-role:nth-child(6) { animation-delay: 350ms; }

@keyframes bpo-marketing-card-reveal {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}

/* Desktop: four cards in one row. The icon sits beside a two-line title
 * slot, so every description starts at the same height and runs wider. */
@media (min-width: 1181px) {
  /* Room for every title on one line at 20px (the longest, "Performance
   * Marketing", needs about 201px): a slimmer icon, padding and gutter. */
  .bpo-marketing-roles__grid {
    gap: 12px;
  }

  .bpo-marketing-role {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 10px;
    align-content: start;
    align-items: center;
    padding: 24px 14px 22px;
  }

  .bpo-marketing-role figure {
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 10px;
  }

  .bpo-marketing-role figure img {
    width: 20px;
    height: 20px;
  }

  .bpo-marketing-role h4 {
    font-size: 20px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .bpo-marketing-role p {
    grid-column: 1 / -1;
    align-self: start;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 53, 162, 0.08);
    font-size: 13.5px;
    line-height: 1.6;
  }
}

/* Creative On-Demand banner: the title and button in code, the creative
 * collage from the banner PSD beside them (below them on phones). */
.bpo-marketing-cod {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding: clamp(28px, 3vw, 40px) clamp(12px, 1.6vw, 20px) clamp(28px, 3vw, 40px) clamp(24px, 3.6vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(0, 53, 162, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 46% 72% at 80% 42%, rgba(120, 208, 248, 0.34), transparent 72%),
    radial-gradient(ellipse 20% 42% at 2% 96%, rgba(120, 208, 248, 0.2), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 22px 52px rgba(24, 61, 116, 0.07);
}

/* One link for the whole banner: it lifts a little and its button lights
 * up wherever the pointer is. */
a.bpo-marketing-cod {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

a.bpo-marketing-cod:hover,
a.bpo-marketing-cod:focus-visible {
  border-color: rgba(74, 157, 255, 0.28);
  box-shadow: 0 28px 60px rgba(24, 61, 116, 0.12);
  color: inherit;
  transform: translateY(-3px);
}

a.bpo-marketing-cod:focus-visible {
  outline: 3px solid rgba(74, 157, 255, 0.35);
  outline-offset: 4px;
}

a.bpo-marketing-cod:is(:hover, :focus-visible) .bpo-marketing-cod__cta {
  border-color: rgba(74, 157, 255, 0.4) !important;
  background: linear-gradient(135deg, #0a49b7, #176edc) !important;
  box-shadow: 0 17px 36px rgba(0, 53, 162, 0.23) !important;
  transform: translateY(-2px);
}

a.bpo-marketing-cod:is(:hover, :focus-visible) .bpo-marketing-cod__cta .bpo-button__icon-svg:first-child {
  transform: translate(150%, -150%);
}

a.bpo-marketing-cod:is(:hover, :focus-visible) .bpo-marketing-cod__cta .bpo-button__icon-svg--copy {
  transform: translate(0);
}

.bpo-marketing-cod__art img {
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

a.bpo-marketing-cod:hover .bpo-marketing-cod__art img {
  transform: scale(1.02);
}

.bpo-marketing-cod__copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.bpo-marketing-cod__title {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  margin: 0 0 clamp(18px, 2vw, 24px);
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 1.02;
}

.bpo-marketing-cod__title span {
  background: linear-gradient(100deg, #6ad0f6 0%, #2bb7ec 52%, #0b7fc0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The three sparkles round the title, placed as in the PSD. */
.bpo-marketing-cod__stars {
  position: absolute;
  top: -31%;
  left: 67%;
  width: 53%;
  height: auto;
  pointer-events: none;
}

.bpo-marketing-cod__cta {
  margin-top: clamp(20px, 2.2vw, 26px);
}

.bpo-marketing-cod__art {
  display: block;
  min-width: 0;
  margin: 0 clamp(-20px, -1.2vw, -8px) 0 0;
}

.bpo-marketing-cod__art img {
  display: block;
  width: 100%;
  height: auto;
}

/* Tablets and phones: the cards slide sideways as the original carousel,
 * overlapping a little, with a draggable bar under them (the script shows
 * it only when the cards overflow). */
.bpo-marketing-carousel__scrollbar {
  position: relative;
  height: 6px;
  margin: -34px 20px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 53, 162, 0.14);
}

.bpo-marketing-carousel__scrollbar[hidden] {
  display: none;
}

.bpo-marketing-carousel__scrollbar .roles-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4a9dff 0%, #2c6be0 100%);
  cursor: grab;
  transition: background 200ms ease;
  will-change: transform;
}

.bpo-marketing-carousel__scrollbar .roles-scrollbar-thumb:hover,
.bpo-marketing-carousel__scrollbar .roles-scrollbar-thumb.dragging {
  background: linear-gradient(90deg, #74b4ff 0%, #4a9dff 100%);
}

@media (max-width: 1180px) {
  .bpo-marketing-roles__grid {
    --card-width: 300px;
    --card-overlap: 92px;
    --card-reveal-shift: 80px;
    display: flex;
    flex-flow: row nowrap;
    gap: 0;
    /* Room above for the lifted card, below for its shadow and the bar. */
    padding: 16px 20px 60px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .bpo-marketing-roles__grid::-webkit-scrollbar {
    display: none;
  }

  .bpo-marketing-roles__grid:focus-visible {
    outline: 2px solid var(--bpo-marketing-sky);
    outline-offset: 5px;
  }

  .bpo-marketing-role {
    flex: 0 0 var(--card-width);
    width: var(--card-width);
    min-width: var(--card-width);
    scroll-snap-align: start;
  }

  .bpo-marketing-role:not(:first-child) {
    margin-left: calc(-1 * var(--card-overlap));
  }

  .bpo-marketing-role:hover,
  .bpo-marketing-role:focus-within {
    transform: translate3d(-3px, -8px, 0) rotate(0.4deg);
  }

  .bpo-marketing-role:hover ~ .bpo-marketing-role,
  .bpo-marketing-role:focus-within ~ .bpo-marketing-role {
    transform: translate3d(var(--card-reveal-shift), 0, 0);
  }
}

@media (max-width: 900px) {
  .bpo-marketing-roles__grid {
    --card-width: min(82vw, 310px);
    --card-overlap: 52px;
    --card-reveal-shift: 44px;
    padding: 14px 14px 48px;
    scroll-padding-inline: 14px;
  }

  .bpo-marketing-carousel__scrollbar {
    margin: -24px 14px 0;
  }

  /* Stacked: title on one line with its sparkles beside it, then the
   * collage, and the button last, centred. */
  .bpo-marketing-cod {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 30px 24px 30px;
  }

  .bpo-marketing-cod__copy {
    display: contents;
  }

  .bpo-marketing-cod__title {
    order: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.26em;
    justify-self: start;
    margin: 0;
    padding: 0.3em calc(1.92em + 6px) 0.3em 0;
    font-size: min(7.2vw, 40px);
    line-height: 1.1;
    white-space: nowrap;
  }

  /* Beside the words, never over them: the title keeps their width free. */
  .bpo-marketing-cod__stars {
    top: 50%;
    right: 0;
    left: auto;
    width: auto;
    height: 2.1em;
    transform: translateY(-50%);
  }

  .bpo-marketing-cod__art {
    order: 3;
    margin: 0 -8px;
  }

  .bpo-marketing-cod__cta {
    order: 4;
    justify-self: center;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .bpo-marketing-cod {
    padding: 24px 18px 26px;
    border-radius: 18px;
  }

}

/* Marketing discovery survey */
.bpo-marketing-survey {
  overflow: hidden;
  border-top: 1px solid rgba(0, 53, 162, 0.07);
  background: #ffffff;
}

.bpo-marketing-survey__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding: clamp(34px, 4vw, 50px);
  overflow: hidden;
  border: 1px solid rgba(0, 53, 162, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(74, 157, 255, 0.15), transparent 31%),
    linear-gradient(135deg, #f9fcff 0%, #edf5ff 100%);
  box-shadow: 0 20px 52px rgba(24, 61, 116, 0.08);
}

.bpo-marketing-survey__inner::before {
  position: absolute;
  top: 0;
  left: clamp(34px, 4vw, 50px);
  width: 54px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--bpo-marketing-blue), var(--bpo-marketing-sky));
  content: "";
  opacity: 0.7;
  transform-origin: left center;
  transition: width 420ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}

.bpo-marketing-survey__inner::after {
  position: absolute;
  right: -88px;
  bottom: -126px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(0, 53, 162, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(74, 157, 255, 0.025), 0 0 0 60px rgba(74, 157, 255, 0.018);
  content: "";
  pointer-events: none;
}

.bpo-marketing-survey__inner:hover::before,
.bpo-marketing-survey__inner:focus-within::before {
  width: min(280px, 34%);
  opacity: 1;
}

.bpo-marketing-survey__content,
.bpo-marketing-survey__cta {
  position: relative;
  z-index: 1;
}

.bpo-marketing-survey__content {
  max-width: 760px;
}

.bpo-marketing-survey__content h2 {
  margin: 0;
  color: #404041;
  font-family: var(--bpo-font-title), Poppins, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.bpo-marketing-survey__content p {
  max-width: 68ch;
  margin: 15px 0 0;
  color: var(--bpo-marketing-copy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.bpo-marketing-survey__cta {
  justify-self: end;
  min-width: max-content;
  margin: 0;
}

@media (min-width: 1181px) {
  .bpo-marketing-survey__content h2 {
    white-space: nowrap;
  }
}

/* Certificates */
.bpo-marketing-certificates {
  border-block: 1px solid rgba(0, 53, 162, 0.07);
  background: #f4f8fd;
}

.bpo-marketing-certificates__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bpo-marketing-certificate {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 53, 162, 0.1);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 13px 34px rgba(0, 53, 162, 0.05);
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.bpo-marketing-certificate:hover {
  border-color: rgba(0, 53, 162, 0.22);
  box-shadow: 0 20px 44px rgba(0, 53, 162, 0.09);
  transform: translateY(-3px);
}

.bpo-marketing-certificate figure {
  display: grid;
  width: 160px;
  aspect-ratio: 1;
  margin: 0;
  padding: 20px;
  place-items: center;
  border-right: 1px solid rgba(0, 53, 162, 0.08);
  background: linear-gradient(145deg, #e7f1ff, #f8fbff);
}

.bpo-marketing-certificate figure img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
}

.bpo-marketing-certificate > div {
  align-self: center;
  min-width: 0;
  padding: 20px 18px;
}

.bpo-marketing-certificate h3 {
  font-size: 20px;
}

.bpo-marketing-certificate p {
  font-size: 13px;
}

.bpo-marketing-pricing,
.bpo-marketing-consultation {
  border-top: 1px solid rgba(0, 53, 162, 0.07);
}

.bpo-marketing-case-study {
  background: #f4f8fd;
}

.bpo-marketing-faq {
  background: #ffffff;
}

@media (max-width: 1080px) {
  .bpo-marketing-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.95fr);
    gap: 38px;
  }

  .bpo-marketing-certificates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 1180px) {
  .bpo-marketing-survey__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .bpo-marketing-survey__cta {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .bpo-marketing-heading h2 {
    font-size: 36px;
  }

  .bpo-marketing-survey__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .bpo-marketing-survey__content h2 {
    font-size: 36px;
  }

  .bpo-marketing-survey__cta {
    justify-self: start;
  }

  .bpo-marketing-hero__inner {
    grid-template-columns: 1fr;
  }

  .bpo-marketing-hero__content {
    max-width: 720px;
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }

  .bpo-marketing-hero__content > p {
    margin-inline: auto;
  }

  .bpo-marketing-hero__media {
    width: min(100%, 720px);
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .bpo-marketing-shell {
    width: min(calc(100% - 28px), 560px);
  }

  .bpo-marketing-section {
    padding-block: 52px;
  }

  .bpo-marketing-heading {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 30px;
  }

  .bpo-marketing-heading h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .bpo-marketing-survey__inner {
    gap: 20px;
    padding: 30px 22px;
    border-radius: 18px;
  }

  .bpo-marketing-survey__inner::before {
    left: 22px;
  }

  .bpo-marketing-survey__content h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .bpo-marketing-survey__content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .bpo-marketing-survey__cta {
    width: fit-content;
    max-width: 100%;
    font-size: 13px;
  }

  .bpo-marketing-heading p,
  .bpo-marketing-hero__content > p {
    font-size: 14px;
    line-height: 1.65;
  }

  .bpo-marketing-hero__inner {
    gap: 30px;
    padding-block: 32px 40px;
  }

  .bpo-marketing-hero__content {
    gap: 17px;
  }

  .bpo-marketing-hero h1 {
    font-size: 32px;
    line-height: 1.06;
  }

  .bpo-marketing-button {
    width: fit-content;
    max-width: 100%;
  }

  .bpo-marketing-hero__media {
    padding: 7px;
    border-radius: 20px;
  }

  .bpo-marketing-hero__media img {
    border-radius: 14px;
  }

  .bpo-marketing-role {
    padding: 22px 20px;
    border-radius: 15px;
  }

  .bpo-marketing-role figure {
    width: 56px;
    height: 56px;
  }

  .bpo-marketing-role figure img {
    width: 28px;
    height: 28px;
  }

  .bpo-marketing-role h4 {
    font-size: 20px;
  }

  .bpo-marketing-certificates__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bpo-marketing-certificate {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: stretch;
    border-radius: 16px;
  }

  .bpo-marketing-certificate figure {
    grid-column: 1;
    grid-row: 1;
    width: 88px;
    min-height: 88px;
    height: 100%;
    padding: 12px;
    border-right-color: rgba(0, 53, 162, 0.08);
    aspect-ratio: auto;
  }

  .bpo-marketing-certificate figure img {
    width: 64px;
    height: 64px;
  }

  .bpo-marketing-certificate > div {
    display: contents;
  }

  .bpo-marketing-certificate h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.28;
    text-align: left;
  }

  .bpo-marketing-certificate p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding: 13px 16px 16px;
    border-top: 1px solid rgba(0, 53, 162, 0.08);
    font-size: 13px;
    line-height: 1.62;
  }

}

@media (prefers-reduced-motion: reduce) {
  .bpo-marketing :where(.bpo-marketing-button, .bpo-marketing-role, .bpo-marketing-certificate, .bpo-marketing-cod, .bpo-marketing-cod__art img) {
    transition-duration: 0.01ms !important;
  }

  .bpo-finance-js .bpo-marketing-roles .bpo-marketing-role {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .bpo-marketing-role:hover,
  .bpo-marketing-certificate:hover {
    transform: none;
  }
}
