/* ==========================================================================
   WebKeyIndia — "Google Partner Company in India" / why choose us
   (.wkf.wkf--v2, home-features.php)  2026-09-23d
   Loaded after css/wk-offer.css, which still holds the 09-16 version of .wkf.
   Layout: on desktop the Google panel (heading, badge, Google products, buttons)
   sits on the left and the four reasons on the right (2x2, each in one of Google's colours);
   everything stacks below 992px. Every rule is written as #feature.wkf--v2 because later sections
   link css/wk-offer.css again, and at equal specificity that later copy would win.
   ========================================================================== */
.wkf--v2 {
  --f-ink:    #0E0F12;
  --f-text:   #3A3E48;
  --f-muted:  #6B7080;
  --f-line:   #E7EAF1;
  --f-orange: #FF7A1A;
  --f-grad:   linear-gradient(90deg, #FF7A1A 0%, #F0471E 55%, #E11D2A 100%);
  --g-blue:   #4285F4;
  --g-red:    #EA4335;
  --g-yellow: #FBBC05;
  --g-green:  #34A853;
  --f-font:   "Poppins","Segoe UI",Roboto,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
  position: relative; overflow: hidden;
  font-family: var(--f-font);
}
#feature.wkf--v2 {
  margin: 0; padding: 72px 0 !important;
  background:
    radial-gradient(820px 380px at 2% -10%, rgba(66,133,244,.10), transparent 62%),
    radial-gradient(760px 360px at 100% 110%, rgba(255,122,26,.12), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F6FA 100%) !important;
}
.wkf--v2 *, .wkf--v2 *::before, .wkf--v2 *::after { box-sizing: border-box; }

#feature.wkf--v2 .wkf-layout {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 44px; align-items: center;
  max-width: 1180px; margin: 0 auto;
}

/* ---------- left: heading, Google panel, buttons ---------- */
#feature.wkf--v2 .wkf-intro { position: relative; padding-top: 4px; }
#feature.wkf--v2 .wk-eyebrow { display: inline-flex; }
#feature.wkf--v2 .wk-sec__title {
  margin: 16px 0 12px !important; padding: 0 !important;
  font-family: var(--f-font) !important; font-size: 38px !important; font-weight: 700 !important;
  line-height: 1.16 !important; letter-spacing: -.6px; text-align: left; color: var(--f-ink) !important;
}
#feature.wkf--v2 .wkf-lead {
  margin: 0 0 22px !important; max-width: 470px;
  font-size: 15.5px; line-height: 1.65; color: var(--f-muted); text-align: left;
}

/* the Google panel: four-colour bar, the partner badge, the Google products we run */
#feature.wkf--v2 .wkg-panel {
  position: relative; overflow: hidden; max-width: 470px; margin: 0 0 24px;
  padding: 20px 20px 18px; border-radius: 20px;
  background: #fff; border: 1px solid var(--f-line);
  box-shadow: 0 1px 2px rgba(14,15,18,.05), 0 26px 50px -34px rgba(14,15,18,.55);
}
#feature.wkf--v2 .wkg-panel__bar {
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--g-blue) 0 25%, var(--g-red) 25% 50%, var(--g-yellow) 50% 75%, var(--g-green) 75% 100%);
}
#feature.wkf--v2 .wkg-panel > * { position: relative; z-index: 1; }

#feature.wkf--v2 .wkg-badge { display: flex; align-items: center; gap: 15px; }
#feature.wkf--v2 .wkg-badge__img {
  display: grid; place-items: center; width: 116px; height: 52px; flex: none;
  padding-right: 15px; border-right: 1px solid var(--f-line);
}
#feature.wkf--v2 .wkg-badge__img img { display: block; max-width: 100%; height: auto; }
#feature.wkf--v2 .wkg-badge__txt { display: block; line-height: 1.35; min-width: 0; }
#feature.wkf--v2 .wkg-badge__txt b { display: block; font-size: 15px; font-weight: 600; color: var(--f-ink); }
#feature.wkf--v2 .wkg-badge__txt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--f-muted); }

#feature.wkf--v2 .wkg-tools {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin: 16px 0 0 !important; padding: 14px 0 0 !important; list-style: none;
  border-top: 1px solid var(--f-line);
}
#feature.wkf--v2 .wkg-tools li {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 8px 10px; border-radius: 11px;
  background: #F7F9FC; border: 1px solid #EDF1F7;
}
#feature.wkf--v2 .wkg-tools li span {
  font-size: 12.8px; font-weight: 500; color: var(--f-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#feature.wkf--v2 .wkg-g { display: block; flex: none; }

#feature.wkf--v2 .wkf-cta { display: flex; flex-wrap: wrap; gap: 12px; }
#feature.wkf--v2 .wkf-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
#feature.wkf--v2 .wkf-btn--primary {
  background: var(--f-grad); color: #fff !important; border: 0;
  box-shadow: 0 16px 32px -14px rgba(225,29,42,.6);
}
#feature.wkf--v2 .wkf-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(225,29,42,.7); }
#feature.wkf--v2 .wkf-btn--primary i { transition: transform .2s ease; }
#feature.wkf--v2 .wkf-btn--primary:hover i { transform: translateX(4px); }
#feature.wkf--v2 .wkf-btn--ghost {
  background: #fff; color: var(--f-ink) !important; border: 1.5px solid var(--f-line);
}
#feature.wkf--v2 .wkf-btn--ghost:hover { border-color: rgba(255,122,26,.55); color: #D9480F !important; transform: translateY(-2px); }
#feature.wkf--v2 .wkf-btn:focus-visible { outline: 3px solid rgba(255,122,26,.55); outline-offset: 3px; }

/* ---------- right: the four reasons (2x2; --c is set per card in home-features.php) ---------- */
#feature.wkf--v2 .wkf-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch;
  margin: 0 !important; padding: 0 !important; list-style: none;
}
#feature.wkf--v2 .wkf-card {
  --c: #FF7A1A;
  position: relative; overflow: hidden; height: 100%;
  padding: 26px 24px 24px; border-radius: 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFDFF 100%);
  border: 1px solid var(--f-line);
  box-shadow: 0 1px 2px rgba(14,15,18,.04), 0 18px 38px -30px rgba(14,15,18,.5);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
/* a soft wash of the card's own colour in the corner */
#feature.wkf--v2 .wkf-card::after {
  content: ""; position: absolute; right: -55px; top: -55px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 62% 38%, color-mix(in srgb, var(--c) 20%, transparent), transparent 68%);
  opacity: .6; pointer-events: none; z-index: 0;
  transition: opacity .3s ease, transform .3s ease;
}
#feature.wkf--v2 .wkf-card > * { position: relative; z-index: 1; }
#feature.wkf--v2 .wkf-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 35%, transparent));
  transform: scaleX(0); transform-origin: left center; transition: transform .35s ease;
}
@media (hover: hover) {
  #feature.wkf--v2 .wkf-card:hover {
    transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 38%, transparent);
    box-shadow: 0 30px 50px -28px color-mix(in srgb, var(--c) 55%, transparent);
  }
  #feature.wkf--v2 .wkf-card:hover::before { transform: scaleX(1); }
  #feature.wkf--v2 .wkf-card:hover::after { opacity: .9; transform: scale(1.08); }
  #feature.wkf--v2 .wkf-card:hover .wkf-card__ic { transform: translateY(-2px) scale(1.05); }
  #feature.wkf--v2 .wkf-card:hover .wkf-card__num {
    color: color-mix(in srgb, var(--c) 12%, transparent);
    -webkit-text-stroke-color: color-mix(in srgb, var(--c) 45%, transparent);
  }
}
#feature.wkf--v2 .wkf-card__num {
  position: absolute; top: 16px; right: 18px;
  font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  color: transparent; -webkit-text-stroke: 1.2px #E2E6EE; user-select: none;
  transition: color .28s ease, -webkit-text-stroke-color .28s ease;
}
#feature.wkf--v2 .wkf-card__ic {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 78%, #fff) 0%, var(--c) 100%);
  box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--c) 85%, transparent);
  transition: transform .28s ease;
}
#feature.wkf--v2 .wkf-card__svg { display: block; }
#feature.wkf--v2 .wkf-card__t {
  margin: 0 0 8px !important; padding: 0 !important;
  font-family: var(--f-font) !important; font-size: 16.5px !important; font-weight: 600 !important;
  line-height: 1.35 !important; color: var(--f-ink) !important;
  min-height: 45px;   /* two lines: a one-line title would push its text up out of step */
}
#feature.wkf--v2 .wkf-card p { margin: 0 !important; font-size: 14px; line-height: 1.65; color: var(--f-muted); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  #feature.wkf--v2 .wkf-layout { gap: 32px; }
  #feature.wkf--v2 .wk-sec__title { font-size: 33px !important; }
  #feature.wkf--v2 .wkf-card { padding: 22px 18px 20px; }
  #feature.wkf--v2 .wkg-panel { padding: 18px 16px 16px; }
  #feature.wkf--v2 .wkg-badge__img { width: 100px; height: 46px; padding-right: 12px; }
  #feature.wkf--v2 .wkg-tools li { padding: 7px 9px; }
  #feature.wkf--v2 .wkg-tools li span { font-size: 12.2px; }
}
@media (max-width: 991px) {
  #feature.wkf--v2 { padding: 58px 0 !important; }
  #feature.wkf--v2 .wkf-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 700px; }
  #feature.wkf--v2 .wkf-intro { text-align: center; }
  #feature.wkf--v2 .wk-sec__title { font-size: 30px !important; text-align: center; }
  #feature.wkf--v2 .wkf-lead { margin: 0 auto 22px !important; max-width: 620px; text-align: center; }
  #feature.wkf--v2 .wkg-panel { margin-left: auto; margin-right: auto; max-width: 560px; text-align: left; }
  #feature.wkf--v2 .wkf-cta { justify-content: center; }
}
@media (max-width: 575px) {
  #feature.wkf--v2 { padding: 44px 0 !important; }
  #feature.wkf--v2 .wk-sec__title { font-size: 25px !important; }
  #feature.wkf--v2 .wkf-lead { font-size: 14.5px; margin-bottom: 18px !important; }
  #feature.wkf--v2 .wkg-panel { padding: 16px 14px 14px; border-radius: 18px; margin-bottom: 20px; }
  #feature.wkf--v2 .wkg-badge { gap: 12px; }
  #feature.wkf--v2 .wkg-badge__img { width: 92px; height: 42px; padding-right: 11px; }
  #feature.wkf--v2 .wkg-badge__txt b { font-size: 14px; }
  #feature.wkf--v2 .wkg-badge__txt small { font-size: 12px; }
  #feature.wkf--v2 .wkg-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 14px !important; padding-top: 12px !important; }
  #feature.wkf--v2 .wkg-tools li { padding: 7px 8px; border-radius: 10px; }
  #feature.wkf--v2 .wkg-tools li span { font-size: 11.6px; }
  #feature.wkf--v2 .wkf-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #feature.wkf--v2 .wkf-card { padding: 18px 16px 16px; border-radius: 18px; }
  #feature.wkf--v2 .wkf-card__t { min-height: 0; }   /* one card per row: the titles no longer share a baseline */
  #feature.wkf--v2 .wkf-card::after { width: 118px; height: 118px; right: -46px; top: -46px; }
  #feature.wkf--v2 .wkf-card__ic { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 12px; }
  #feature.wkf--v2 .wkf-card__num { font-size: 27px; top: 13px; right: 15px; }
  #feature.wkf--v2 .wkf-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  #feature.wkf--v2 .wkf-card, #feature.wkf--v2 .wkf-card::before, #feature.wkf--v2 .wkf-card::after,
  #feature.wkf--v2 .wkf-card__ic, #feature.wkf--v2 .wkf-card__num,
  #feature.wkf--v2 .wkf-btn, #feature.wkf--v2 .wkf-btn i { transition: none; }
}
