/* Aroma Wealth – "Why clients choose" section
   Layout: title + text on the left (sticky), four cards on the right that stack over each other on scroll. */

:root {
  --forest:#ed1400;
  --sage: #D3D3D3;
  --mist: #8aecff;
  --navy: #000000;
  --ink: #0f1b3d;
  --white: #ffffff;
  --text-soft: #4a5a54;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --stack-top: 96px;   /* where the first card sticks */
  --stack-step: 0px;   /* 0 = every card lands in exactly the same spot */
  --card-gap: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Section layout ---------- */

.why {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px 5vh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* ---------- Left column ---------- */

.why__intro {
  position: sticky;
  top: var(--stack-top);
}

.why__title {
  margin: 0 0 24px;
  font-weight: 700;
  font-size: 200%;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #000;
  text-wrap: balance;
}

.why__text {
  margin: 0;
  max-width: 24em;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------- Right column: stacking cards ---------- */

/* Runway after the last card: the finished stack stays pinned while this scrolls past */
.why__stack::after {
  content: "";
  display: block;
  height: 30vh;
}

.card {
  position: sticky;
  top: calc(var(--stack-top) + var(--i) * var(--stack-step));
  margin-bottom: var(--card-gap);
  height: 320px; /* identical height so each card fully covers the last */
  padding: 0 52px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 28px;
  align-content: center;
  box-shadow: 0 10px 30px -12px rgba(15, 27, 61, 0.3);
}

.card__num {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

.card__title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card__body {
  margin: 0;
  max-width: 30em;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Card colours */
.card--sage   { background: var(--sage);   color: var(--ink); }
.card--mist   { background: var(--mist);   color: var(--ink); }
.card--navy   { background: var(--navy);   color: var(--white); }
.card--forest { background: var(--forest); color: var(--white); }

/* ---------- Tablet / phone ---------- */

@media (max-width: 900px) {
  :root {
    --stack-top: 16px;
    --stack-step: 0px;
    --card-gap: 20px;
  }

  .why {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    padding: 40px 16px 20vh;
  }

  .why__intro { position: static; }

  .card {
    height: 300px;
    padding: 0 26px;
    border-radius: 24px;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
  }

  .card__num { font-size: 1.6rem; }
  .card__title { font-size: 1.3rem; }
  .card__body { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
