/* ==========================================================================
   Approach ("what makes us different") + customer reviews
   Both live on the homepage below the tours grid.
   ========================================================================== */

/* ── Approach ── */

.ne-approach {
  margin-top: 56px;
  padding: 44px 40px 46px;
  border: 1px solid var(--border);
  border-radius: 24px;
  /* A warm, light panel: it still lifts off the page background, but through
     a soft sage-to-sand wash and a gold glow rather than a dark block. */
  background:
    radial-gradient(74% 56% at 84% 6%, rgba(var(--gold-rgb), 0.3), rgba(var(--gold-rgb), 0) 60%),
    linear-gradient(158deg, var(--tint) 0%, var(--tint-2) 54%, var(--surface) 100%);
  color: var(--text);
}

.ne-approach .section-kicker {
  color: var(--accent-dark);
}

.ne-approach-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.ne-approach-title {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3.1vw, 2.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: #1c2a21;
  text-wrap: balance;
}

.ne-approach-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.66;
  color: #46564a;
}

.ne-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ne-approach-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(36, 49, 39, 0.04);
}

.ne-approach-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--gold-ink);
  background: var(--ne-gold, var(--gold-soft));
  border-radius: 13px;
}

.ne-approach-icon svg {
  width: 24px;
  height: 24px;
}

.ne-approach-card-title {
  margin: 0 0 9px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.012em;
  color: var(--text);
}

.ne-approach-card-lead {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.ne-approach-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.ne-approach-list li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: #334237;
}

.ne-approach-list svg {
  width: 15px;
  height: 15px;
  /* Optical nudge so the tick sits on the first line's cap height. */
  margin-top: 3px;
  /* Green, not the gold used on the old dark panel — gold on white is about
     1.7:1 and would read as a smudge. */
  color: #2f7d4f;
}

/* ── Reviews ── */

.ne-reviews {
  margin-top: 56px;
}

.ne-reviews-aggregate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  margin: 0;
  padding: 10px 18px;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.ne-reviews-aggregate-value {
  font-weight: 800;
  /* Tabular so the number does not shift width as the average changes. */
  font-variant-numeric: tabular-nums;
}

.ne-reviews-aggregate-count {
  color: var(--muted);
}

.ne-review-stars {
  display: inline-flex;
  gap: 2px;
}

.ne-review-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--star-empty);
}

.ne-review-stars svg.is-on {
  fill: var(--gold);
}

/* Half star: grey base with a gold copy clipped to 50% width on top. */
.ne-review-star-half {
  position: relative;
  display: inline-flex;
  width: 15px;
  height: 15px;
}

.ne-review-star-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  display: inline-flex;
}

/* The clipped copy must keep its full width, or the star geometry squashes
   instead of being cut in half. */
.ne-review-star-fill svg {
  width: 15px;
  max-width: none;
  flex-shrink: 0;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.interest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.interest-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--interest-accent, var(--accent));
  opacity: 0.9;
}

.interest-card:hover {
  transform: translateY(-4px);
  border-color: var(--interest-accent, var(--accent));
  box-shadow: 0 12px 24px rgba(23, 48, 36, 0.1);
  text-decoration: none;
}

.interest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--interest-accent, var(--accent));
  background: color-mix(in srgb, var(--interest-accent, var(--accent)) 14%, transparent);
}

.interest-icon svg {
  width: 24px;
  height: 24px;
}

.interest-name {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.interest-count {
  font-size: 13.5px;
  color: var(--muted);
}

.interest-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  color: var(--interest-accent, var(--accent));
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.interest-arrow svg {
  width: 18px;
  height: 18px;
}

.interest-card:hover .interest-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .interest-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .interest-card {
    padding: 18px 16px 20px;
  }

  .interest-icon {
    width: 40px;
    height: 40px;
  }

  .interest-icon svg {
    width: 20px;
    height: 20px;
  }

  .interest-name {
    font-size: 15.5px;
  }
}

.ne-google-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 32px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ne-google-card:hover {
  border-color: var(--gold, #d9a441);
  box-shadow: 0 4px 16px rgba(36, 49, 39, 0.08);
}

.ne-google-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.ne-google-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-right: auto;
}

.ne-google-title {
  font-weight: 750;
  font-size: 15px;
}

.ne-google-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.ne-google-value {
  font-weight: 800;
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.ne-google-avatars {
  display: flex;
  align-items: center;
}

.ne-google-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card);
  margin-left: -10px;
  background: var(--border);
}

.ne-google-avatar:first-child {
  margin-left: 0;
}

.ne-google-avatar.is-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #2f7d4f;
}

.ne-google-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.ne-google-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.ne-google-card:hover .ne-google-cta svg {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .ne-google-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .ne-google-body {
    margin-right: 0;
  }

  .ne-google-cta {
    align-self: stretch;
    justify-content: center;
    padding: 8px 0;
  }
}

.ne-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ne-review-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(36, 49, 39, 0.04);
}

.ne-review-title {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ne-review-body {
  margin: 0;
  padding: 0;
  border: 0;
}

.ne-review-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--body);
}

/* The "what they learned" line ties each review back to the teaching
   differentiator, so it is visually distinct from the quote itself. */
.ne-review-learned {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  align-items: start;
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: #2f4436;
  background: rgba(var(--gold-rgb), 0.16);
  border-radius: 11px;
}

.ne-review-learned svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #a9782a;
}

.ne-review-foot {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 18px;
}

.ne-review-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.ne-review-avatar.is-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 750;
  color: var(--gold-ink);
  background: var(--ne-gold, var(--gold-soft));
}

.ne-review-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ne-review-author {
  font-size: 14px;
  font-weight: 700;
}

.ne-review-sub {
  font-size: 12.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Responsive ── */

@media (max-width: 1000px) {
  .ne-approach-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ne-approach {
    padding: 36px 28px 34px;
  }
}

@media (max-width: 600px) {
  .ne-approach {
    margin-top: 40px;
    padding: 28px 20px 26px;
    border-radius: 20px;
  }

  .ne-approach-head {
    margin-bottom: 24px;
  }

  .ne-approach-lead {
    font-size: 15px;
  }

  .ne-approach-card {
    padding: 22px 18px 20px;
  }

  .ne-reviews {
    margin-top: 40px;
  }

  .ne-reviews-grid {
    gap: 14px;
  }

  .ne-review-card {
    padding: 20px 18px 17px;
  }

  /* The aggregate pill sits under the heading on mobile, where .section-head
     has already switched to a column. */
  .ne-reviews-aggregate {
    padding: 8px 15px;
    font-size: 13px;
  }
}
