/* ESK CTA (Editorial split) — white panel, shimmer headline, shine CTA,
   tilting image + floating chip. Tilt is applied by esk-ctasplit.js
   (desktop pointers only). */

.eskcta { position: relative; background: #ffffff; color: var(--deep, #022450); padding: var(--esk-section-pad) 28px; }
.eskcta *, .eskcta *::before, .eskcta *::after { box-sizing: border-box; }
.eskcta a { color: inherit; text-decoration: none; }
.eskcta, .eskcta * { font-family: "niveaugroteskregular", system-ui, sans-serif !important; }

@keyframes eskctaShimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes eskctaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.eskcta__panel { position: relative; overflow: hidden; max-width: 1280px; margin: 0 auto; background: transparent; border: none; border-radius: 0; box-shadow: none; padding: 0; }
.eskcta__glow { display: none; }

.eskcta__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px,3.6vw,48px); align-items: stretch; }

/* full-width heading block above the split */
.eskcta__head { position: relative; margin-bottom: clamp(28px, 4vw, 52px); }

/* left column vertically centered against the image, any content height;
   open outline card like the reference: rounded border on the left that
   fades out toward the right — no right edge */
.eskcta__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 32px);
}

.eskcta__text::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--deep, #022450);
  border-radius: 36px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 88%);
  mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 88%);
}

@media (max-width: 860px) {
  .eskcta__text { padding: clamp(24px, 5vw, 32px); }
  .eskcta__text::before { border-radius: 28px; }
}

/* left-column heading under the big one */
.eskcta__col-title {
  margin: 0 0 14px;
  font-family: "niveaugroteskregular", sans-serif !important;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--deep, #022450) !important;
}

/* Text */
.eskcta__title { margin: 0; font-family: "niveaugroteskregular", sans-serif !important; font-weight: 900; letter-spacing: -0.03em; color: #022450 !important; font-size: var(--esk-h2); line-height: var(--esk-h2-lh); letter-spacing: var(--esk-h2-ls); }
.eskcta__title * { font-family: "niveaugroteskregular", sans-serif !important; }
.eskcta__title > span { display: block; }
.eskcta__shimmer { display: inline; background: linear-gradient(100deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, #fff) 45%, var(--accent) 90%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; animation: eskctaShimmer 7s ease-in-out infinite; }
.eskcta__body { margin: clamp(20px,2.4vw,28px) 0 0; font-size: clamp(16px,1.35vw,19px); line-height: 1.6; color: #4E5D6B; max-width: 560px; }

/* CTA — footer-button DNA (Montserrat, coral, circled arrow, lift + slide)
   scaled up to the design's size, with the design's shine sweep kept. */
.eskcta__cta-wrap { margin-top: clamp(26px,3.4vw,38px); display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.eskcta__cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; background-color: var(--btn); color: #fff !important; font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: background 0.25s ease, transform 0.3s cubic-bezier(.22,.7,.3,1); }
.eskcta__cta, .eskcta__cta * { font-family: 'Roboto', system-ui, sans-serif !important; color: #fff !important; }
.eskcta__cta:hover, .eskcta__cta:focus { color: #fff !important; text-decoration: none; transform: translateY(-1px); background-color: var(--btn); }
.eskcta__cta-ic { flex: 0 0 auto; width: 18px; height: 18px; transition: transform 0.35s cubic-bezier(.22,.7,.3,1); stroke: #fff; }
.eskcta__cta:hover .eskcta__cta-ic { transform: translateX(4px); }
.eskcta__shine { display: none; }

/* Media */
.eskcta__media { position: relative; height: 100%; min-height: 420px; }
.eskcta__shot { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 70px -40px color-mix(in srgb, var(--deep) 50%, transparent); }
.eskcta__shot .eskcta__img, .eskcta__shot img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: none !important; object-fit: cover; object-position: center; display: block; }
.eskcta__ph { position: absolute; inset: 0; background: radial-gradient(360px 280px at 50% 42%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, #E8EBF1), #E3E7EE 65%); }

.eskcta__chip { position: absolute; bottom: 22px; left: -26px; display: flex; align-items: center; gap: 12px; padding: 13px 18px; background: #fff; border-radius: 16px; box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--deep) 40%, transparent); animation: eskctaFloat 5s ease-in-out infinite; }
.eskcta__chip-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--deep); color: #fff !important; font-weight: 800; }
.eskcta__chip-body { line-height: 1.2; display: block; }
.eskcta__chip-title { display: block; font-size: 14px; font-weight: 800; color: var(--deep); }
.eskcta__chip-sub { display: block; font-size: 12.5px; font-weight: 600; color: #7A8794; }

/* Responsive */
@media (max-width: 860px) {
  .eskcta__grid { grid-template-columns: 1fr; }
  .eskcta__media { height: clamp(240px,52vw,360px); min-height: 0; }
  .eskcta__chip { left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .eskcta__shimmer, .eskcta__chip { animation: none !important; }
  .eskcta__cta:hover { transform: none; }
}

/* Full-bleed inside WPBakery columns: drop the builder's default
   15px column padding when this element is the column content. */
.vc_column_container > .vc_column-inner:has(.eskcta) { padding-left: 0; padding-right: 0; }

/* Kill the theme's mobile .vc_row{padding:0 12px} (320-768 media rule)
   for rows that contain this element — full-bleed on mobile too. */
@media only screen and (min-width: 320px) and (max-width: 768px) {
  .vc_row:has(.eskcta) { padding-left: 0 !important; padding-right: 0 !important; }
}

/* C4 hero slots. */
.eskcta__kicker { font-size: var(--esk-kicker) !important; font-weight: 700; letter-spacing: var(--esk-kicker-ls); text-transform: uppercase; display: block; margin-bottom: 0.55em; color: var(--accent) !important; }
.eskcta__hero { font-size: var(--esk-display) !important; line-height: var(--esk-display-lh) !important; letter-spacing: var(--esk-display-ls); font-weight: 800; text-transform: uppercase; display: block; color: #022450 !important; }
.eskcta__support { font-size: clamp(22px, 2.4vw, 34px) !important; line-height: 1.15 !important; font-weight: 800; letter-spacing: 0.04em !important; word-spacing: 0.15em; text-transform: uppercase; display: block; margin-top: 0.45em; color: #022450 !important; }

/* Color system: static orange accent — the page's single animated gradient
   lives on the Why Choose brand name. (shimmer-static override) */
.eskcta__shimmer { background: none !important; -webkit-text-fill-color: currentColor !important; color: #022450 !important; animation: none !important; }

/* mobile support size */
@media (max-width: 767px) {
  .eskcta__support { font-size: 18px !important; }
}


/* Support-line shimmer — same sweep as Why Choose (.eskw__t2): base-colour
   text, orange band drifts through every 9s. Reduced motion: static base. */
.eskcta__support {
  background-image: linear-gradient(100deg, #022450 0%, #022450 42%, #e36745 50%, #022450 58%, #022450 100%) !important;
  background-size: 300% auto !important;
  background-position: 0% 50%;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
  animation: eskctaGrad 6s ease-in-out infinite !important;
}
@keyframes eskctaGrad { 0% { background-position: 0% 50%; } 75%, 100% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  .eskcta__support { animation: none !important; }
}
