/* =========================================================
   SN WHY US SECTION (new layout, SN-consistent)
   ========================================================= */

.sn-why{
  background: linear-gradient(180deg, rgba(11,58,164,.05), rgba(255,255,255,0));
}

/* Head layout */
.sn-whyHead{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  align-items:start;
  margin-bottom: 14px;
}
.sn-whyMini{ top: 14px; }

/* Main grid: media + cards */
.sn-whyGrid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 14px;
  align-items:start;
  margin-top: 12px;
}

/* Media block */
.sn-whyMedia{ display:grid; gap: 12px; }
.sn-whyImg{
  position:relative;
  border-radius: var(--sn-r20);
  overflow:hidden;
  min-height: 430px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--sn-shadow);
  border:1px solid var(--sn-border);
}
.sn-whyImgOverlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 380px at 20% 15%, rgba(255,122,0,.26), transparent 55%),
    radial-gradient(900px 420px at 70% 20%, rgba(11,58,164,.22), transparent 60%),
    linear-gradient(180deg, rgba(12,16,23,.10), rgba(12,16,23,.66));
}
.sn-whyBadge{
  position:absolute;
  top: 12px; left: 12px;
  z-index:2;
  border-radius: var(--sn-pill);
  padding: 8px 10px;
  font-weight: 950;
  font-size: 12px;
  color: rgba(255,255,255,.96);
  background: rgba(12,16,23,.35);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  display:inline-flex;
  gap: 8px;
  align-items:center;
}
.sn-whyStack{
  position:absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index:2;
  display:grid;
  gap: 10px;
}
.sn-whyStat{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  border-radius: var(--sn-r16);
  padding: 12px;
  color: rgba(255,255,255,.94);
}
.sn-whyStat i{ font-size: 18px; margin-top:2px; opacity:.95; }
.sn-whyStat b{ display:block; font-weight: 950; font-size: 13px; }
.sn-whyStat span{ display:block; font-weight: 700; font-size: 12.5px; opacity:.92; }

.sn-whyNote{
  background: rgba(255,255,255,.82);
}

/* Cards side */
.sn-whyCards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

/* Why card */
.sn-wCard{
  border:1px solid var(--sn-border);
  background: rgba(255,255,255,.86);
  border-radius: var(--sn-r20);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(12,16,23,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  position:relative;
  overflow:hidden;
}
.sn-wCard:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(12,16,23,.12);
}
.sn-wIcon{
  width:42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  color:#fff;
  box-shadow: 0 14px 30px rgba(12,16,23,.16);
  margin-bottom: 10px;
}
.sn-wCard h3{
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 950;
  color: var(--sn-ink);
}
.sn-wCard p{
  margin: 0 0 10px;
  color: rgba(12,16,23,.76);
  font-size: 13.4px;
  line-height: 1.55;
}

/* Bottom FAQ block */
.sn-whyFAQ{ margin-top: 16px; }

/* Responsive */
@media (max-width: 992px){
  .sn-whyHead{ grid-template-columns: 1fr; }
  .sn-miniQuote{ position: relative; top:auto; }
  .sn-whyGrid{ grid-template-columns: 1fr; }
  .sn-whyImg{ min-height: 360px; }
}
@media (max-width: 576px){
  .sn-whyCards{ grid-template-columns: 1fr; }
  .sn-whyImg{ min-height: 340px; }
}

/* =========================================================
   SANNIDHI – WHY US SECTION (RESPONSIVE)
   Section: #why-us.sn-why
   Paste AFTER your existing sn-* CSS so it overrides.
   Covers: head + sticky CTA, media+cards grid, overlay stack, FAQ grid
   ========================================================= */

/* ---------- Desktop-first layout ---------- */
.sn-why{
  padding: clamp(26px, 4vw, 58px) 0;
}

.sn-why .container{
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Head: left content + right mini card */
.sn-whyHead{
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: clamp(14px, 2.2vw, 24px);
  align-items: start;
}

.sn-whyHead > div{ min-width: 0; }

/* Title/lead scale */
.sn-why .sn-h2{
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.15;
  margin: 10px 0 10px;
}

.sn-why .sn-lead{
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
  margin: 0 0 14px;
}

/* Proof pills */
.sn-whyPills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.sn-whyPills .sn-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  max-width: 100%;
}

/* Mini CTA card (sticky on desktop) */
.sn-whyMini{
  position: sticky;
  top: var(--sn-sticky-offset, 96px);
  align-self: start;
}

/* mini CTAs */
.sn-miniCtas{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sn-miniCtas .sn-btn{
  width: 100%;
  justify-content: center;
}

/* Main grid: media + cards */
.sn-whyGrid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(16px, 2.2vw, 22px);
  align-items: start;
}

/* Media block */
.sn-whyMedia{ min-width: 0; }

.sn-whyImg{
  position: relative;
  border-radius: var(--sn-r20, 20px);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 520px; /* desktop height */
}

/* Overlay already exists in HTML; ensure it covers */
.sn-whyImgOverlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Badge + stack positioning */
.sn-whyBadge{
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.sn-whyStack{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 10px;
}

.sn-whyStat{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}
.sn-whyStat > div{ min-width: 0; }
.sn-whyStat b{
  display: block;
  line-height: 1.2;
}
.sn-whyStat span{
  display: block;
  line-height: 1.25;
  opacity: .9;
}

/* Note under image */
.sn-whyNote{
  margin-top: 12px;
}
.sn-whyNote h3{
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.sn-whyNote p{
  margin: 0;
  line-height: 1.6;
}

/* Cards side */
.sn-whyCards{
  display: grid;
  gap: 12px;
  min-width: 0;
}

.sn-wCard{
  min-width: 0;
}

.sn-wCard h3{
  font-size: 18px;
  line-height: 1.25;
  margin: 10px 0 8px;
}

.sn-wCard p{
  margin: 0;
  line-height: 1.6;
}

/* points list inside wCard */
.sn-wCard .sn-points{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.sn-wCard .sn-points li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

/* FAQ row */
.sn-whyFAQ{
  margin-top: clamp(18px, 2.4vw, 28px);
}

.sn-whyFAQ .sn-h3{
  font-size: clamp(18px, 1.5vw, 22px);
  margin: 0 0 12px;
}

.sn-whyFAQ .sn-faqGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sn-whyFAQ .sn-faqItem{ min-width: 0; }
.sn-whyFAQ summary{ cursor: pointer; }

/* ---------- <= 1024px (tweak image height) ---------- */
@media (max-width: 1024px){
  .sn-whyImg{ min-height: 480px; }
}

/* ---------- <= 860px (tablet: stack head, then stack media+cards) ---------- */
@media (max-width: 860px){
  .sn-whyHead{
    grid-template-columns: 1fr;
  }

  /* stop sticky on smaller screens */
  .sn-whyMini{
    position: relative;
    top: auto;
  }

  .sn-whyGrid{
    grid-template-columns: 1fr;
  }

  .sn-whyImg{
    min-height: 420px;
  }

  /* FAQ becomes single column */
  .sn-whyFAQ .sn-faqGrid{
    grid-template-columns: 1fr;
  }
}

/* ---------- <= 520px (mobile: tighten + stack CTAs + adjust overlay items) ---------- */
@media (max-width: 520px){
  .sn-why .container{
    width: min(1180px, calc(100% - 22px));
  }

  .sn-eyebrow{
    font-size: 12px;
    line-height: 1.35;
  }
  .sn-sep{ display: none; }

  .sn-why .sn-h2{
    font-size: 22px;
    line-height: 1.18;
  }

  .sn-why .sn-lead{
    font-size: 14px;
  }

  /* mini CTAs stack for tap targets */
  .sn-miniCtas{
    grid-template-columns: 1fr;
  }

  /* proof pills scroll nicely if too many */
  .sn-whyPills{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 10px;
  }
  .sn-whyPills::-webkit-scrollbar{ height: 6px; }

  .sn-whyImg{
    min-height: 360px;
  }

  .sn-whyBadge{
    top: 12px;
    left: 12px;
    right: 12px;
    white-space: normal;
    line-height: 1.2;
  }

  .sn-whyStack{
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  /* Make stats more compact */
  .sn-whyStat{
    gap: 10px;
  }
}

/* ---------- Optional: reduce motion ---------- */
@media (prefers-reduced-motion: reduce){
  .sn-why *{
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}