/* ESK Why Choose — aurora bg, gradient headline, light-border hover cards.
   All motion is CSS; no JS. */

.eskw { position: relative; overflow: hidden; background: #ffffff; color: var(--deep, #022450); }
.eskw *, .eskw *::before, .eskw *::after { box-sizing: border-box; }
.eskw a { color: inherit; text-decoration: none; }
/* Force the component font over the theme's element rules. */
.eskw, .eskw * { font-family: "niveaugroteskregular", system-ui, sans-serif !important; }

/* Aurora background */
@keyframes eskwAuroraA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%,4%) scale(1.15); } }
@keyframes eskwAuroraB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5%,-6%) scale(1.1); } }
@keyframes eskwAuroraC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4%,5%) scale(1.2); } }
@keyframes eskwGrad { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eskw__bg { display: none; }
.eskw__blob { position: absolute; border-radius: 50%; filter: blur(32px); display: block; }
.eskw__blob--a { top: -14%; left: -8%; width: 40%; height: 46%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); animation: eskwAuroraA 16s ease-in-out infinite; }
.eskw__blob--b { top: 8%; right: -10%; width: 44%; height: 52%; background: radial-gradient(circle, color-mix(in srgb, var(--deep) 10%, transparent), transparent 70%); animation: eskwAuroraB 20s ease-in-out infinite; }
.eskw__blob--c { bottom: -16%; left: 20%; width: 44%; height: 48%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%); animation: eskwAuroraC 24s ease-in-out infinite; }
.eskw__blob--d { bottom: 6%; right: 12%; width: 34%; height: 40%; background: radial-gradient(circle, color-mix(in srgb, var(--deep) 7%, transparent), transparent 70%); animation: eskwAuroraA 22s ease-in-out infinite; }

.eskw__wrap { position: relative; z-index: 1; max-width: 1336px; margin: 0 auto; padding: var(--esk-section-pad) 28px; }

/* Header */
.eskw__title { margin: 0; font-weight: 800; font-size: var(--esk-h2); line-height: var(--esk-h2-lh); letter-spacing: var(--esk-h2-ls); color: var(--deep) !important; }
.eskw__title > span { display: block; }
/* Navy-dominant: the word reads blue; only a narrow orange sheen sweeps by. */
.eskw__t2 { background: linear-gradient(100deg, var(--deep) 0%, var(--deep) 42%, var(--accent) 50%, var(--deep) 58%, var(--deep) 100%); background-size: 300% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; animation: eskwGrad 6s ease-in-out infinite; }
.eskw__kicker { margin: 22px 0 0; font-weight: 600; font-size: var(--esk-kicker); letter-spacing: var(--esk-kicker-ls); color: #4A5966; text-transform: uppercase; }
.eskw__rule { margin-top: 20px; height: 3px; width: 72px; background: var(--accent); border-radius: 2px; }

/* Cards grid — spinning light-border hover */
@property --eskw-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes eskwSpin { to { --eskw-a: 360deg; } }

.eskw__grid { margin-top: clamp(36px,4.5vh,56px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eskw__card { position: relative; overflow: hidden; border: 1px solid color-mix(in srgb, var(--deep) 10%, transparent); border-radius: 16px; background: #FFFFFF; box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--deep) 22%, transparent); padding: clamp(26px,2.6vw,38px) clamp(26px,2.8vw,40px); transition: transform .5s cubic-bezier(.22,.7,.3,1), box-shadow .5s ease; }
.eskw__card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px;
  background: conic-gradient(from var(--eskw-a),
    transparent 0deg, transparent 40deg,
    color-mix(in srgb, var(--accent) 55%, #fff) 90deg, var(--accent) 120deg, color-mix(in srgb, var(--accent) 30%, #fff) 150deg,
    transparent 200deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease; pointer-events: none; z-index: 2; }
.eskw__card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--deep) 24%, transparent); }
.eskw__card:hover::before { opacity: 1; animation: eskwSpin 2.8s linear infinite; }

.eskw__card-title { margin: 0; font-weight: 800; font-size: clamp(20px,1.8vw,24px); line-height: 1.25; letter-spacing: -0.01em; color: var(--deep) !important; }
.eskw__card-body { margin: 18px 0 0; font-size: clamp(14.5px,1.2vw,16px); line-height: 1.65; color: #5B6B78; }

/* CTA — unified site footer "Book A Consultation" button (bg follows accent). */
.eskw__cta-wrap { margin-top: clamp(32px,4.5vh,44px); }
.eskw__cta { display: inline-flex; align-items: center; gap: 10px; background-color: var(--accent); color: #fff !important; font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: 8px; text-decoration: none; transition: background 0.25s ease, transform 0.2s ease; white-space: nowrap; }
.eskw__cta, .eskw__cta * { font-family: 'Roboto', system-ui, sans-serif !important; color: #fff !important; }
.eskw__cta:hover, .eskw__cta:focus { color: #fff !important; text-decoration: none; transform: translateY(-1px); }
.eskw__cta-ic { flex: 0 0 auto; width: 18px; height: 18px; transition: transform 0.25s ease; stroke: #fff; }
.eskw__cta:hover .eskw__cta-ic { transform: translateX(4px); }

/* Responsive */
@media (max-width: 767px) {
  .eskw__grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .eskw__blob, .eskw__t2 { animation: none !important; }
  .eskw__card:hover { transform: none; }
  .eskw__card:hover::before { animation: 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(.eskw) { 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(.eskw) { padding-left: 0 !important; padding-right: 0 !important; }
}

/* Signature heading: 'Why choose' = kicker, gradient word = display tier. */
.eskw__t1 { 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; color: var(--deep) !important; }
.eskw__t2 { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; letter-spacing: 0; margin-top: 0.3em; }

/* Mobile: gradient support line matches every other shimmer line — 18px/800
   (was inheriting the desktop clamp's 24px floor). */
@media (max-width: 767px) {
  .eskw__t2 { font-size: 18px !important; font-weight: 800 !important; }
}
