/* ==========================================================================
   WebKeyIndia — homepage sections  (2026-09-16)
     .wkv   video testimonials   (home-video.php, video-testimonial.php)
     .wkcs  case studies         (index-case-study.php)
     .wkcl  valuable clients     (home-clients.php)
   Same brand system as css/wk-hf.css and css/wk-consult.css: ink surfaces,
   orange -> crimson accent, Poppins. Every rule is scoped to its section.
   ========================================================================== */
.wkv, .wkcs, .wkcl {
  --h-ink:     #0E0F12;
  --h-text:    #1B1D24;
  --h-muted:   #6B7080;
  --h-line:    #E4E7EF;
  --h-orange:  #FF7A1A;
  --h-crimson: #E11D2A;
  --h-grad:    linear-gradient(90deg, #FF7A1A 0%, #F0471E 55%, #E11D2A 100%);
  --h-font:    "Poppins","Segoe UI",Roboto,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
  position: relative;
  font-family: var(--h-font);
}
.wkv *, .wkv *::before, .wkv *::after,
.wkcs *, .wkcs *::before, .wkcs *::after,
.wkcl *, .wkcl *::before, .wkcl *::after { box-sizing: border-box; }

/* ---------- shared section head ---------- */
.wk-sec__in   { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wk-sec__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.wk-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,122,26,.10); color: #D9480F;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.4;
}
.wkv .wk-sec__title, .wkcs .wk-sec__title, .wkcl .wk-sec__title {
  margin: 14px 0 10px !important; padding: 0 !important;
  font-family: var(--h-font) !important; font-size: 36px !important; font-weight: 700 !important;
  line-height: 1.2 !important; letter-spacing: -.3px; text-align: center; color: var(--h-ink) !important;
}
.wk-sec__sub { margin: 0 auto; font-size: 16px; line-height: 1.65; color: var(--h-muted); text-align: center; }

/* ==========================================================================
   VIDEO TESTIMONIALS
   ========================================================================== */
#vdoYt.wkv {
  overflow: hidden;
  padding: 88px 0 !important;
  background:
    radial-gradient(800px 380px at 8% 0%, rgba(255,122,26,.16), transparent 62%),
    radial-gradient(720px 380px at 96% 100%, rgba(225,29,42,.16), transparent 62%),
    linear-gradient(180deg, #121318 0%, #0B0C0F 100%) !important;
}
.wkv::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.wkv > * { position: relative; }
.wkv .wk-eyebrow { background: rgba(255,122,26,.14); color: #FFB47A; }
.wkv .wk-sec__title { color: #fff !important; }
.wkv .wk-sec__sub { color: #A7ABB4; }

.wkv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wkv-card {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 20px; background: #000;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 22px 50px -22px rgba(0,0,0,.8);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
@media (hover: hover) {   /* touch screens: no hover lift, so the first tap plays instead of just "hovering" */
  .wkv-card:hover { transform: translateY(-6px); border-color: rgba(255,122,26,.45); box-shadow: 0 30px 60px -22px rgba(225,29,42,.35); }
  .wkv-card:hover .wk-ytfacade img { transform: scale(1.05); }
}
.wkv-card.is-playing { transform: none; border-color: rgba(255,122,26,.6); }
.wkv-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.wkv .wk-ytfacade {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: #000;
  cursor: pointer; overflow: hidden; font: inherit; color: #fff; text-align: left;
}
.wkv .wk-ytfacade img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover;
  transition: transform .6s ease;
}
.wkv-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 55%, rgba(0,0,0,.82) 100%);
}
.wkv .wk-ytplay {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--h-grad); box-shadow: 0 14px 30px rgba(225,29,42,.5);
  transition: transform .25s ease;
}
.wkv .wk-ytplay::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  animation: wkvPulse 2.2s ease-out infinite;
}
.wkv .wk-ytplay svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
.wkv .wk-ytfacade:hover .wk-ytplay,
.wkv .wk-ytfacade:focus-visible .wk-ytplay { transform: translate(-50%, -50%) scale(1.1); }
.wkv .wk-ytfacade:focus-visible { outline: 3px solid var(--h-orange); outline-offset: -3px; }
@keyframes wkvPulse { 0% { transform: scale(.88); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

.wkv-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(14,15,18,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 11px; font-weight: 600; letter-spacing: .4px; color: #fff;
}
.wkv-badge svg { width: 12px; height: 12px; fill: #FF4E45; }
.wkv-meta { position: absolute; left: 16px; right: 16px; bottom: 16px; pointer-events: none; }
.wkv-stars { display: flex; gap: 2px; margin-bottom: 5px; }
.wkv-stars svg { width: 14px; height: 14px; fill: #FFC53D; }
.wkv-meta b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; }
.wkv-meta small { display: block; font-size: 12px; color: rgba(255,255,255,.72); }

.wkv-foot { margin-top: 44px; text-align: center; }
.wkv-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04);
  font-family: var(--h-font); font-size: 15px; font-weight: 600; color: #fff !important;
  text-decoration: none !important;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.wkv-btn i { transition: transform .2s; }
.wkv-btn:hover { background: var(--h-grad); border-color: transparent; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(225,29,42,.55); }
.wkv-btn:hover i { transform: translateX(4px); }
.wkv-btn:focus-visible { outline: 3px solid rgba(255,122,26,.6); outline-offset: 3px; }

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.wkcs { padding: 88px 0; background: linear-gradient(180deg, #F4F6FA 0%, #EEF1F6 100%); }
.wkcs-shell {
  position: relative; padding: 44px;
  background: #fff; border: 1px solid rgba(14,15,18,.06); border-radius: 24px;
  box-shadow: 0 1px 2px rgba(14,15,18,.04), 0 30px 70px -30px rgba(14,15,18,.25);
}
.wkcs-track { display: grid; touch-action: pan-y; }
.wkcs-slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center;
  align-content: start;   /* stacked slides share the tallest height; never spread rows apart */
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.wkcs-slide.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s ease, transform .5s ease, visibility 0s;
}

.wkcs-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,122,26,.10); color: #D9480F;
  font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.wkcs-client { margin: 12px 0 4px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.2px; color: var(--h-ink); }
.wkcs .wkcs-link {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
  font-size: 14px; color: var(--h-muted) !important; text-decoration: none !important; overflow-wrap: anywhere;
  transition: color .18s;
}
.wkcs .wkcs-link:hover { color: var(--h-crimson) !important; }
.wkcs-link i { font-size: 12px; }

.wkcs-points { display: grid; gap: 18px; margin-top: 26px; }
.wkcs-point { display: flex; align-items: flex-start; gap: 14px; }
.wkcs-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 17px; }
.wkcs-ic--ch { background: #FDECEC; color: #D11A2A; }
.wkcs-ic--so { background: #FFF1E6; color: #E8590C; }
.wkcs-point > div { min-width: 0; }
.wkcs .wkcs-h {
  margin: 0 0 7px !important; padding: 0 !important;
  font-family: var(--h-font) !important; font-size: 15px !important; font-weight: 600 !important;
  line-height: 1.3 !important; color: var(--h-ink) !important;
}
.wkcs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wkcs-tags li {
  padding: 4px 10px; border-radius: 8px;
  background: #F4F6FA; border: 1px solid var(--h-line);
  font-size: 13px; line-height: 1.45; color: #3F4350;
}
.wkcs-p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #555A66; }

.wkcs-result {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 22px;
  margin-top: 26px; padding: 20px 22px; border-radius: 18px;
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(255,122,26,.22), transparent 70%),
    linear-gradient(135deg, #1B1C22 0%, #0E0F12 100%);
}
.wkcs-result__num {
  flex: none; font-size: 44px; font-weight: 800; line-height: 1; white-space: nowrap;
  background: var(--h-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wkcs-result > div { min-width: 0; }
.wkcs .wkcs-result .wkcs-h { color: #fff !important; }
.wkcs-checks { margin: 0; padding: 0; list-style: none; }
.wkcs-checks li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.5; color: #D5D8DF; }
.wkcs-checks li + li { margin-top: 3px; }
.wkcs-checks li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px;
  border-left: 2px solid var(--h-orange); border-bottom: 2px solid var(--h-orange); transform: rotate(-45deg);
}
.wkcs-result .wkcs-p { color: #D5D8DF; font-size: 13.5px; }

.wkcs-media { min-width: 0; }
.wkcs-browser {
  overflow: hidden; border-radius: 16px; background: #fff;
  border: 1px solid var(--h-line); box-shadow: 0 30px 60px -30px rgba(14,15,18,.35);
}
.wkcs-browser__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: #F4F6FA; border-bottom: 1px solid var(--h-line);
}
.wkcs-browser__bar > i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #FF5F57; }
.wkcs-browser__bar > i:nth-child(2) { background: #FEBC2E; }
.wkcs-browser__bar > i:nth-child(3) { background: #28C840; }
.wkcs .wkcs-browser__bar .wkcs-h { margin: 0 0 0 10px !important; font-size: 13px !important; color: var(--h-muted) !important; }
.wkcs-browser img { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 1120 / 448; object-fit: cover; }
.wkcs .wkcs-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 15px; font-weight: 600; color: var(--h-crimson) !important; text-decoration: none !important;
}
.wkcs-cta i { transition: transform .2s; }
.wkcs-cta:hover i { transform: translateX(4px); }

.wkcs-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.wkcs-arrow {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  padding: 0; border-radius: 50%; border: 1.5px solid var(--h-line); background: #fff;
  color: var(--h-ink); font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.wkcs-arrow:hover { background: var(--h-grad); color: #fff; border-color: transparent; }
.wkcs-arrow:active { transform: scale(.94); }
.wkcs-arrow:focus-visible, .wkcs-dot:focus-visible { outline: 3px solid rgba(255,122,26,.55); outline-offset: 3px; }
.wkcs-dots { display: flex; align-items: center; gap: 8px; }
.wkcs-dot {
  position: relative; overflow: hidden; width: 10px; height: 10px;
  padding: 0; border: 0; border-radius: 999px; background: #D3D7E0; cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.wkcs-dot.is-active { width: 36px; background: #F6D9C8; }
.wkcs-dot.is-active::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--h-grad); transform-origin: left center;
  animation: wkcsProgress var(--wkcs-dur, 6s) linear forwards;
}
.wkcs.is-paused .wkcs-dot.is-active::after { animation-play-state: paused; }
@keyframes wkcsProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ==========================================================================
   VALUABLE CLIENTS
   ========================================================================== */
/* full-colour logos on white cards, two rows drifting in opposite directions */
.wkcl, #we-work.wkcl {                     /* new.css has #we-work { padding: 15px 0 } */
  padding: 72px 0; overflow: hidden;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(255,122,26,.09), transparent 62%),
    radial-gradient(700px 320px at 100% 100%, rgba(225,29,42,.08), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F5F9 100%);
}
.wkcl .wk-sec__head { margin-bottom: 32px; }
.wkcl-rows { display: grid; gap: 10px; max-width: 1480px; margin: 0 auto; }
.wkcl-marquee {
  position: relative; overflow: hidden; padding: 10px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.wkcl-track { display: flex; width: max-content; animation: wkclScroll 48s linear infinite; }
.wkcl-marquee--rev .wkcl-track { animation-direction: reverse; animation-duration: 54s; }
.wkcl-rows:hover .wkcl-track,
.wkcl-rows:focus-within .wkcl-track { animation-play-state: paused; }
.wkcl-set { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.wkcl-logo {
  position: relative; overflow: hidden;
  flex: none; width: 168px; height: 88px; display: grid; place-items: center;
  border-radius: 14px; background: #fff; border: 1px solid #EDEFF4;
  box-shadow: 0 1px 2px rgba(14,15,18,.04), 0 14px 30px -18px rgba(14,15,18,.22);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.wkcl-logo::after {                        /* brand accent that slides in on hover */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--h-grad); transform: scaleX(0); transform-origin: left center;
  transition: transform .3s ease;
}
.wkcl-logo img {
  display: block; width: auto; height: auto; max-width: 128px; max-height: 62px;   /* below natural 160x80: never upscaled */
  transition: transform .3s ease;
}
.wkcl-logo:hover { transform: translateY(-4px); border-color: rgba(255,122,26,.35); box-shadow: 0 24px 40px -22px rgba(225,29,42,.32); }
.wkcl-logo:hover::after { transform: scaleX(1); }
.wkcl-logo:hover img { transform: scale(1.04); }
@keyframes wkclScroll { to { transform: translateX(-50%); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
  .wkv-grid { gap: 18px; }
  .wkcs-slide { gap: 36px; }
}
@media (max-width: 991px) {
  #vdoYt.wkv, .wkcs { padding: 64px 0 !important; }
  .wkcl, #we-work.wkcl { padding: 60px 0; }
  .wkv .wk-sec__title, .wkcs .wk-sec__title, .wkcl .wk-sec__title { font-size: 30px !important; }
  .wk-sec__head { margin-bottom: 34px; }
  .wkv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 640px; margin: 0 auto; }
  .wkcs-shell { padding: 32px; }
  .wkcs-slide { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
}
@media (max-width: 575px) {
  .wk-sec__in { padding: 0 16px; }
  #vdoYt.wkv, .wkcs { padding: 48px 0 !important; }
  .wkcl, #we-work.wkcl { padding: 48px 0; }
  .wkv .wk-sec__title, .wkcs .wk-sec__title, .wkcl .wk-sec__title { font-size: 25px !important; }
  .wk-sec__sub { font-size: 14.5px; }
  .wk-sec__head { margin-bottom: 26px; }

  .wkv-grid { gap: 12px; }
  .wkv-card { border-radius: 14px; }
  .wkv .wk-ytplay { width: 54px; height: 54px; }
  .wkv .wk-ytplay svg { width: 20px; height: 20px; margin-left: 3px; }
  .wkv .wk-ytplay::before { inset: -6px; }
  .wkv-badge { top: 9px; left: 9px; padding: 4px 8px; font-size: 10px; }
  .wkv-meta { left: 10px; right: 10px; bottom: 10px; }
  .wkv-stars svg { width: 11px; height: 11px; }
  .wkv-meta b { font-size: 12.5px; }
  .wkv-meta small { font-size: 11px; }
  .wkv-foot { margin-top: 30px; }
  .wkv-btn { height: 48px; padding: 0 24px; font-size: 14px; }

  .wkcs-shell { padding: 22px 18px; border-radius: 18px; }
  .wkcs-client { font-size: 22px; }
  .wkcs-ic { width: 38px; height: 38px; font-size: 15px; border-radius: 11px; }
  .wkcs-result { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .wkcs-result__num { font-size: 36px; }
  .wkcs-browser__bar { padding: 10px 12px; }
  .wkcs-nav { gap: 12px; margin-top: 26px; }
  .wkcs-arrow { width: 40px; height: 40px; font-size: 14px; }

  .wkcl-rows { gap: 8px; }
  .wkcl-set { gap: 12px; padding-right: 12px; }
  .wkcl-set { gap: 10px; padding-right: 10px; }
  .wkcl-logo { width: 126px; height: 70px; border-radius: 12px; }
  .wkcl-logo img { max-width: 100px; max-height: 50px; }
  .wkcl-track { animation-duration: 34s; }
  .wkcl-marquee--rev .wkcl-track { animation-duration: 40s; }
}
@media (max-width: 359px) {
  .wkv-grid { gap: 10px; }
  .wkv-meta small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wkv .wk-ytplay::before { animation: none; }
  .wkcs-slide, .wkcs-slide.is-active { transition: none; transform: none; }
  .wkcs-dot.is-active::after { animation: none; transform: none; }
  .wkcl-track { animation: none; width: auto; }
  .wkcl-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .wkcl-set[aria-hidden="true"] { display: none; }
}
