/* =========================================================
   SERVICE DETAIL PAGE — "WHY" SECTION
   ---------------------------------------------------------
   Exact style of the "Why Choose Digit Us?" card on the
   about page (css/about/about-us.css — .partners-card).
   Class names are prefixed with sd- so the component can
   coexist with the about page markup, but every rule
   mirrors its about-page counterpart 1:1.
   ========================================================= */

.sd-why {
  --panel-bg: #eef0fa;
  --ink: #1c1e2b;
  --muted: #6b7080;
  --accent: #4a6cf7;

  background: rgb(254, 254, 255);
  padding: clamp(40px, 5vw, 72px) 0;
}

/* ---------- Card shell (.partners-card) ---------- */

.sd-why-card {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 520px 1fr;

  background: var(--panel-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(30, 34, 60, 0.08);
}

/* ---------- Sidebar (.partners-sidebar) ---------- */

.sd-why-sidebar {
  padding: 46px 44px;
}

.sd-why-title {
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 34px;
}

.sd-why--mobile-app .sd-why-title {
  margin-bottom: 14px;
}

.sd-why-intro {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Tabs (.tab-list / .tab-item) ---------- */

.sd-why-tabs {
  display: flex;
  flex-direction: column;
}

.sd-why-tab {
  position: relative;
  padding: 24px 22px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.sd-why-tab:hover {
  background: rgba(255, 255, 255, 0.5);
}

.sd-why-tab.is-active {
  background: #ffffff;
  color: var(--ink);
  border-left-color: var(--accent);
}

/* ---------- Content (.partners-content) ---------- */

.sd-why-content {
  display: flex;
  flex-direction: column;
  background: #f4f5fb;
  font-size: 1px;
}

/* ---------- Media (.partners-media) ---------- */

.sd-why-media {
  width: 100%;
  aspect-ratio: 16 / 9.2;
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease;
}

/* ---------- Copy panel (.partners-links / .partner-text) ---------- */

.sd-why-body {
  background: #ffffff;
  padding: 32px 40px 44px;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 22px;
  align-content: start;
}

.sd-why-copy {
  display: none;

  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  max-width: 680px;

  font-size: 1.1rem;
  line-height: 1.75;

  color: var(--ink);
}

.sd-why-copy.is-active {
  display: block;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .sd-why-card { grid-template-columns: 1fr; }
  .sd-why-body { grid-template-columns: 1fr; }
}
