/* ==========================================================================
   Ishwar Jewellers — SECTION 09 · Offer / Testimonials / Why Choose Us
   (Phase-02, keyframe 09 · spec §13)
   --------------------------------------------------------------------------
   Four editorial bands. A: the 50%-off promotional moment (photographic
   plate, all type live) with a soft editorial entrance and gentle parallax.
   B: three light testimonial cards, staggered fade + rise, restrained hover.
   C: the five-reason trust system revealing ONE BY ONE left→right, the
   divider motif drawing with them. D: the consultation band with the
   engraved marble brand panel. Reveals ride the shared [data-section]
   controller (.is-in), transforms/opacity only, graceful in reverse.
   ========================================================================== */

.gjo {
  --gjo-gold: #a9853c;
  --gjo-brown: #6b4d1e;
  --gjo-ink: #4a3a22;
  --gjo-body: #7a6a52;
  position: relative;
  background: #f6f0e4;
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
}

.gjo::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 64px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to bottom, #f6f0e4, rgba(246, 240, 228, 0));
}

/* ================================================== band A — offer banner
   Just the pre-designed promo image, full-bleed, no overlay text/buttons —
   the artwork already carries the offer copy. A desktop crop and a
   mobile crop swap at the same 1024px breakpoint the rest of the page uses. */
.gjo__banner { position: relative; overflow: hidden; line-height: 0; }

.gjo__banner-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 1.1s ease, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .gjo__banner:not(.is-in) .gjo__banner-img img { opacity: 0; transform: scale(1.03); }

.gjo__banner-img--m { display: none; }

/* copy entrance stagger (shared by every band in this section) */
.js .gjo [data-rv] {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease var(--d, 0s), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.js .gjo [data-section]:not(.is-in) [data-rv] { opacity: 0; transform: translateY(18px); }

/* ============================================================= bands B+C */
.gjo__band {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7svh, 84px) clamp(20px, 5vw, 72px) clamp(40px, 6svh, 72px);
  text-align: center;
}

.gjo__b { background: #fbf8f1; }
.gjo__c { background: #f7f1e4; }

.gjo__kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 14px;
  font-size: clamp(9.5px, 0.8vw, 12.5px);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #8a6f3a;
}

.gjo__kicker::before, .gjo__kicker::after { content: ""; width: clamp(24px, 3vw, 46px); height: 1px; background: rgba(169, 133, 60, 0.55); }

.gjo__h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 3.3vw, 50px);
  color: #5d4520;
}

.gjo__sub {
  margin: 0 auto clamp(26px, 4svh, 44px);
  font-size: clamp(12.5px, 1vw, 16px);
  color: #8a7a5e;
}

/* ornament divider (draws left -> right) */
.gjo__orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(30px, 4.6svh, 52px) 0 0;
  color: var(--gjo-gold);
  font-size: 13px;
}

.gjo__orn::before, .gjo__orn::after {
  content: "";
  width: clamp(40px, 5vw, 80px);
  height: 1px;
  background: rgba(169, 133, 60, 0.55);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1) var(--d, 1.6s);
}

.js .gjo [data-section]:not(.is-in) .gjo__orn::before,
.js .gjo [data-section]:not(.is-in) .gjo__orn::after { transform: scaleX(0); }

/* --- testimonials: sliding-track carousel, arrows + dots navigate */
.gjo__rail {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.gjo__viewport { overflow: hidden; border-radius: 14px; }

.gjo__cards {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gjo__card {
  flex: 0 0 100%;
  background: #fffdf8;
  border: 1px solid rgba(190, 160, 90, 0.16);
  padding: clamp(20px, 2vw, 32px) clamp(16px, 1.8vw, 30px) clamp(18px, 1.8vw, 28px);
  box-shadow: 0 14px 30px rgba(150, 110, 50, 0.07);
}

/* arrows - same look as the rings collection rail (.gjr__arrow) */
.gjo__arrow {
  position: absolute;
  top: 34%;
  width: clamp(30px, 2.6vw, 42px);
  height: clamp(30px, 2.6vw, 42px);
  border-radius: 50%;
  border: 1px solid rgba(169, 133, 60, 0.55);
  background: rgba(255, 252, 244, 0.55);
  color: var(--gjo-gold);
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s ease, color 0.3s ease;
}

.gjo__arrow:hover { background: var(--gjo-gold); color: #fffcf4; }
.gjo__arrow--prev { left: calc(-1 * clamp(36px, 3.4vw, 58px)); }
.gjo__arrow--next { right: calc(-1 * clamp(36px, 3.4vw, 58px)); }

.gjo__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(18px, 2.2vw, 28px);
}

.gjo__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(169, 133, 60, 0.6);
  box-sizing: border-box;
  transition: background 0.35s ease, transform 0.35s ease;
}

.gjo__dots i.is-active { background: var(--gjo-gold); transform: scale(1.15); }

.gjo__qmark {
  position: absolute;
  left: clamp(16px, 1.8vw, 28px);
  top: clamp(10px, 1.2vw, 18px);
  font-family: Georgia, serif;
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1;
  color: #c9a44f;
}

.gjo__stars {
  color: #c9a44f;
  font-size: clamp(15px, 1.25vw, 19px);
  letter-spacing: 0.45em;
  margin: 2px 0 0 0.45em;
}

.gjo__review {
  margin: clamp(12px, 1.4vw, 20px) 4% clamp(14px, 1.6vw, 22px);
  font-style: italic;
  font-size: clamp(13.5px, 1.02vw, 16px);
  line-height: 1.7;
  color: #6b6257;
}

.gjo__who {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding-left: 6%;
}

.gjo__who i {
  flex: 0 0 clamp(38px, 3vw, 48px);
  height: clamp(38px, 3vw, 48px);
  border-radius: 50%;
  background: #f3e7cd;
  display: grid;
  place-items: center;
}

.gjo__who svg { width: 46%; height: 46%; stroke: #8a6f3a; fill: none; stroke-width: 1.6; stroke-linecap: round; }
.gjo__who b { display: block; font-size: clamp(13.5px, 1.05vw, 16px); font-weight: 600; color: #3f3428; }
.gjo__who small { display: block; font-size: clamp(11px, 0.85vw, 13px); color: #9b8c74; margin-top: 2px; }

.gjo__fl, .gjo__fr {
  position: absolute;
  top: 36%;
  width: clamp(70px, 9vw, 150px);
  pointer-events: none;
  transition: opacity 1.2s ease 0.5s;
}

.gjo__fl { left: 0; }
.gjo__fr { right: 0; top: 32%; }
.gjo__fl img, .gjo__fr img { width: 100%; height: auto; display: block; }
.js .gjo__b:not(.is-in) .gjo__fl, .js .gjo__b:not(.is-in) .gjo__fr { opacity: 0; }

/* --- why choose: one-by-one L->R with the connector drawing */
.gjo__why {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.gjo__why li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1svh, 14px);
  padding: 4px clamp(8px, 1.2vw, 22px);
}

.gjo__why li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 78%;
  width: 1px;
  background: rgba(169, 133, 60, 0.32);
  transform: scaleY(1);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) var(--ds, 0.3s);
}

.js .gjo__c:not(.is-in) .gjo__why li + li::before { transform: scaleY(0); }

.gjo__chip {
  width: clamp(64px, 6.6vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #faf0da, #f1e2c2);
  box-shadow: 0 10px 22px rgba(150, 110, 50, 0.14), inset 0 0 0 1px rgba(190, 158, 84, 0.25);
  display: grid;
  place-items: center;
  transition: opacity 0.7s ease var(--d, 0s), transform 0.85s cubic-bezier(0.34, 1.45, 0.5, 1) var(--d, 0s);
}

.js .gjo__c:not(.is-in) .gjo__chip { opacity: 0; transform: scale(0.5); }

.gjo__chip svg { width: 50%; height: 50%; stroke: #8a6f3a; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.gjo__why-h {
  margin: clamp(6px, 0.9svh, 12px) 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gjo-ink);
  line-height: 1.35;
}

.gjo__why-p {
  margin: 0;
  font-size: clamp(11.5px, 0.92vw, 14px);
  line-height: 1.5;
  color: #8a7a5e;
}

.js .gjo__c .gjo__why-h { transition-delay: calc(var(--d, 0s) + 0.14s); }
.js .gjo__c .gjo__why-p { transition-delay: calc(var(--d, 0s) + 0.24s); }

/* ============================================================= band D  */
.gjo__d {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

@media (min-width: 1024px) {
  .gjo__d { aspect-ratio: 897 / 324; }
}

.gjo__d-media {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.gjo__d-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.035);
  transition: opacity 1.2s ease, transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .gjo__d:not(.is-in) .gjo__d-media img { opacity: 0; transform: scale(1.065); }

.gjo__d-brand {
  position: absolute;
  left: 66%;
  top: 33%;
  width: 23%;
  text-align: center;
  color: #8a6a3f;
  font-family: "Cormorant Garamond", Georgia, serif;
  text-shadow: 0 1px 0 rgba(255, 252, 244, 0.45);
  transition: opacity 1.1s ease 0.5s;
}

.gjo__d-brand b {
  display: block;
  font-weight: 600;
  font-size: 2.15cqw;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gjo__d-brand i {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9cqw;
  margin-top: 1cqw;
  font-style: normal;
  font-size: 1.15cqw;
  letter-spacing: 0.22em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #927448;
}

.gjo__d-brand i::before, .gjo__d-brand i::after { content: ""; width: 2.4cqw; height: 1px; background: rgba(146, 116, 72, 0.6); }

.js .gjo__d:not(.is-in) .gjo__d-brand { opacity: 0; }

.gjo__d-copy {
  position: absolute;
  left: 6.4%;
  top: 7%;
  width: 48%;
  z-index: 2;
}

.gjo__d-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1cqw;
  font-size: clamp(9.5px, 0.8vw, 12.5px);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8a6f3a;
  white-space: nowrap;
}

.gjo__d-eyebrow::after { content: ""; width: clamp(24px, 3vw, 46px); height: 1px; background: rgba(169, 133, 60, 0.65); }

.gjo__d-h2 {
  margin: 0 0 1cqw;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 3.3vw, 50px);
  line-height: 1.12;
  color: #5d4520;
}

.gjo__d-desc {
  margin: 0 0 1.6cqw;
  width: min(40cqw, 420px);
  font-size: clamp(12.5px, 1vw, 16px);
  line-height: 1.6;
  color: #6f6046;
}

.gjo__d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2cqw 1.6cqw; margin: 0 0 1.8cqw; }

.gjo__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 0.9vw, 15px) clamp(20px, 1.8vw, 30px);
  border-radius: 999px;
  background: linear-gradient(100deg, #b28d43, #96742c);
  color: #fdf8ec;
  text-decoration: none;
  font-size: clamp(11px, 0.85vw, 13.5px);
  font-weight: 500;
  box-shadow: 0 10px 22px rgba(150, 110, 45, 0.25);
  transition: filter 0.35s ease, box-shadow 0.35s ease;
  white-space: nowrap;
}

.gjo__btn:hover, .gjo__btn:focus-visible { filter: brightness(1.08); box-shadow: 0 14px 26px rgba(150, 110, 45, 0.35); }

.gjo__btn--ghost {
  background: rgba(255, 253, 247, 0.55);
  color: #6b4d1e;
  border: 1px solid rgba(150, 116, 44, 0.55);
  box-shadow: none;
}

.gjo__btn--ghost:hover, .gjo__btn--ghost:focus-visible { background: rgba(255, 253, 247, 0.9); filter: none; }

.gjo__btn svg { width: clamp(14px, 1.2vw, 18px); height: clamp(14px, 1.2vw, 18px); stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.gjo__d-minis {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gjo__d-minis li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(14px, 1.6vw, 26px);
  font-size: clamp(10.5px, 0.84vw, 13.5px);
  line-height: 1.5;
  color: #6b5b44;
  text-align: left;
}

.gjo__d-minis span { white-space: nowrap; }

.gjo__d-minis li:first-child { padding-left: 0; }

.gjo__d-minis i {
  flex: 0 0 clamp(36px, 3vw, 50px);
  height: clamp(36px, 3vw, 50px);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.85);
  border: 1px solid rgba(190, 158, 84, 0.4);
  display: grid;
  place-items: center;
}

.gjo__d-minis svg { width: 52%; height: 52%; stroke: #8a6f3a; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.gjo__d-mob { display: none; }

/* --------------------------------------------------------------- compact */
@media (max-width: 1023px) {
  .gjo__banner-img--d { display: none; }
  .gjo__banner-img--m { display: block; }

  .gjo__rail { max-width: 400px; }
  .gjo__arrow--prev { left: -6px; }
  .gjo__arrow--next { right: -6px; }
  .gjo__fl, .gjo__fr { width: 64px; opacity: 0.85; }

  .gjo__why { grid-template-columns: 1fr 1fr; gap: 26px 8px; max-width: 460px; }
  .gjo__why li:last-child { grid-column: 1 / -1; }
  .gjo__why li + li::before { display: none; }
  .gjo__chip { width: 68px; }
  .gjo__why-h { font-size: 14px; }
  .gjo__why-p { font-size: 12px; }

  .gjo__d { container-type: normal; background: linear-gradient(to bottom, #f6efe0, #f3ead8); }
  .gjo__d-media { display: none; }

  .gjo__d-copy {
    position: relative;
    inset: auto;
    width: auto;
    padding: 46px clamp(20px, 6vw, 56px) 8px;
  }

  .gjo__d-eyebrow { font-size: 11px; gap: 12px; margin-bottom: 14px; }
  .gjo__d-eyebrow::after { width: 40px; }
  .gjo__d-h2 { font-size: clamp(30px, 8vw, 42px); margin-bottom: 12px; }
  .gjo__d-desc { width: auto; max-width: 470px; font-size: clamp(14px, 3.8vw, 16px); margin-bottom: 20px; }
  .gjo__d-actions { flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
  .gjo__btn { font-size: 14px; padding: 12px 22px; gap: 8px; }
  .gjo__btn svg { width: 16px; height: 16px; }
  .gjo__d-minis { display: none; }

  .gjo__d-mob { display: block; position: relative; margin: 24px 0 0; container-type: inline-size; }
  .gjo__d-mob img { width: 100%; height: auto; display: block; }
  .gjo__d-mob .gjo__d-brand { left: 50%; top: 40%; width: 53%; transform: translateX(-50%); }
  .gjo__d-mob .gjo__d-brand b { font-size: 4.4cqw; }
  .gjo__d-mob .gjo__d-brand i { font-size: 2.3cqw; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js .gjo [data-rv],
  .js .gjo .gjo__chip,
  .js .gjo .gjo__banner-img img,
  .js .gjo .gjo__d-media img { transition: opacity 0.6s ease !important; transform: none !important; animation: none !important; }

  .gjo__orn::before, .gjo__orn::after,
  .gjo__why li + li::before { transition: none !important; transform: none !important; }

  .gjo__cards { transition: none !important; }
}
