/* ===== Saumyam — process strip, comparison table, testimonials ===== */

/* ---- Stats/trust band: give the flat dark background some depth ---- */
.sd-stats-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(231,198,122,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(201,151,63,0.12) 0%, transparent 55%),
    #3a2900;
}
.sd-stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(135deg, rgba(231,198,122,0.035) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(45deg, rgba(231,198,122,0.035) 0 2px, transparent 2px 26px);
}
.sd-stats-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  z-index: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18), transparent);
  pointer-events: none;
}
.sd-stats-band-grid {
  position: relative;
  z-index: 1;
}
@media (max-width: 480px) {
  /* Extra clearance so the fixed WhatsApp button doesn't sit on top of the last stat row */
  .sd-stats-band { padding-bottom: 86px; }
}

/* ---- Hero carousel: hide prev/next arrows on mobile ----
   Below 900px the photo switches to object-fit:contain and shrinks a lot,
   so the arrow buttons land on top of the photo's own baked-in headline text.
   Swipe (already wired in hero-carousel.js) and the dot indicators are enough
   for mobile navigation, so the arrows are simply hidden here instead of
   repositioned. */
@media (max-width: 900px) {
  .sd-carousel-arrow { display: none; }
}

/* ---- Process diagram strip ---- */
.sd-process-strip-eyebrow { color: var(--sd-gold-dark); margin-bottom: 6px; }
.sd-process-strip {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 20px auto 60px;
  padding: 0 10px;
}
.sd-process-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 10px;
}
.sd-process-step-media {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: visible;
}
.sd-process-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 3px solid var(--sd-gold-bright);
  box-shadow: 0 10px 24px rgba(43,32,22,0.14);
}
.sd-process-step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sd-green);
  color: var(--sd-cream);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(43,32,22,0.25);
}
.sd-process-step h3 {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sd-ink);
  margin: 0 0 4px;
}
.sd-process-step p {
  font-size: 0.78rem;
  color: var(--sd-ink-soft) !important;
  opacity: 0.85;
  margin: 0;
  line-height: 1.4;
}
.sd-process-step-connector {
  flex: 0 0 auto;
  width: 40px;
  align-self: flex-start;
  margin-top: 40px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sd-gold) 0 8px, transparent 8px 16px);
  opacity: 0.6;
}
@media (max-width: 1024px) and (min-width: 861px) {
  /* Tablet/narrow-laptop range: 4-across is too cramped (titles wrap to 3
     lines, columns nearly touch) but there's still room for 2 per row. */
  .sd-process-strip {
    flex-wrap: wrap;
    row-gap: 32px;
  }
  .sd-process-step {
    flex: 1 1 45%;
  }
  .sd-process-step-connector { display: none; }
}
@media (max-width: 860px) {
  .sd-process-strip {
    flex-direction: column;
    gap: 28px;
  }
  .sd-process-step-connector { display: none; }
}

/* ---- Comparison table ---- */
.sd-compare-section {
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
}
.sd-compare-eyebrow { color: var(--sd-gold-dark); margin-bottom: 10px; }
.sd-compare-title { font-style: italic; color: #3a2900; margin-top: 0; margin-bottom: 30px; }
.sd-compare-table-wrap {
  overflow-x: auto;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(43,32,22,0.1);
}
.sd-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sd-surface);
  text-align: left;
  font-size: 0.92rem;
}
.sd-compare-table th, .sd-compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(201,151,63,0.16);
}
.sd-compare-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sd-ink-soft);
  background: var(--sd-page-bg);
}
.sd-compare-table th.sd-compare-col-us {
  color: var(--sd-green);
}
.sd-compare-table td.sd-compare-yes {
  color: var(--sd-green);
  font-weight: 600;
}
.sd-compare-table td.sd-compare-yes::before {
  content: "✓ ";
}
.sd-compare-table td.sd-compare-no {
  color: var(--sd-ink-soft);
  opacity: 0.75;
}
.sd-compare-table td.sd-compare-no::before {
  content: "✕ ";
  opacity: 0.6;
}
.sd-compare-table tbody tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .sd-compare-table { font-size: 0.82rem; }
  .sd-compare-table th, .sd-compare-table td { padding: 10px 12px; }
}

/* ---- Testimonials ---- */
#sd-testimonials-section {
  margin: 60px auto;
  text-align: center;
  padding: 0 20px;
}
.sd-testimonials-eyebrow { color: var(--sd-gold-dark); margin-bottom: 10px; }
.sd-testimonials-title { font-style: italic; color: #3a2900; margin-top: 0; margin-bottom: 30px; }
.sd-testimonials-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
}
.sd-testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  background: var(--sd-surface);
  border: 1px solid rgba(201,151,63,0.2);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  box-shadow: 0 8px 22px rgba(43,32,22,0.06);
}
.sd-testimonial-quote {
  color: var(--sd-ink);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 14px;
  opacity: 0.9;
}
.sd-testimonial-quote::before { content: "\201C"; }
.sd-testimonial-quote::after { content: "\201D"; }
.sd-testimonial-name {
  font-weight: 600;
  color: var(--sd-gold-dark);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .sd-testimonials-row { scroll-behavior: auto; }
}
