/* ── Shared inner page styles ─────────────────────────────────────────── */

.nav__active { color: #3ecf6e !important; font-weight: 600; }

/* Page hero */
.page-hero {
  padding-top: clamp(7rem, 16vw, 11rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-hero__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.page-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0a0f0c;
  margin: 0.5rem 0 1.1rem;
}
.page-hero__title em { font-style: normal; color: #3ecf6e; }
.page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #4a5a50;
  line-height: 1.65;
  max-width: 580px;
}

/* Card grid */
.cards-section { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 8vw, 6rem); }
.cards-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
  gap: 1.5rem;
}

/* Inner card */
.inner-card {
  background: #fff;
  border: 1.5px solid rgba(10,15,12,0.13);
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  text-decoration: none;
  color: inherit;
}
.inner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at var(--mx,50%) var(--my,50%), rgba(62,207,110,0.07), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.inner-card:hover { box-shadow: 0 12px 48px rgba(10,15,12,0.10); transform: translateY(-4px); border-color: rgba(62,207,110,0.35); }
.inner-card:hover::before { opacity: 1; }

.inner-card__icon {
  width: 52px; height: 52px;
  background: rgba(62,207,110,0.10);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #3ecf6e; flex-shrink: 0;
}
.inner-card__icon svg { width: 28px; height: 28px; }
.inner-card__num {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: #b0c8bc; font-family: 'Space Grotesk', sans-serif;
}
.inner-card__tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #3ecf6e;
  border: 1px solid rgba(62,207,110,0.3); border-radius: 20px;
  padding: 0.22rem 0.7rem; width: fit-content;
}
.inner-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: #0a0f0c; margin: 0; line-height: 1.15;
}
.inner-card__desc { font-size: 0.975rem; color: #4a5a50; line-height: 1.65; margin: 0; flex: 1; }
.inner-card__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: #0a0f0c; margin-top: 0.4rem; transition: gap 0.2s;
}
.inner-card:hover .inner-card__cta { gap: 0.7rem; }

/* Detail page layout */
.detail-hero { padding-top: clamp(7rem, 16vw, 11rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.detail-hero__inner {
  max-width: 860px; margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.detail-hero__back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: #6a857a; text-decoration: none;
  margin-bottom: 1.5rem; transition: color 0.2s;
}
.detail-hero__back:hover { color: #3ecf6e; }
.detail-hero__tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #3ecf6e;
  border: 1px solid rgba(62,207,110,0.3); border-radius: 20px;
  padding: 0.22rem 0.7rem; width: fit-content; margin-bottom: 1rem;
}
.detail-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  color: #0a0f0c; margin: 0 0 1.2rem;
}
.detail-hero__title em { font-style: normal; color: #3ecf6e; }
.detail-hero__sub {
  font-size: clamp(1rem, 2vw, 1.18rem); color: #4a5a50;
  line-height: 1.68; max-width: 620px;
}

/* Content body */
.detail-body {
  max-width: 860px; margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 6rem);
}
.detail-section { margin-bottom: 3.5rem; }
.detail-section__label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #3ecf6e; margin-bottom: 0.8rem;
}
.detail-section__title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: -0.02em; color: #0a0f0c;
  margin: 0 0 1.2rem; line-height: 1.2;
}
.detail-section__body { font-size: 1rem; color: #3a5045; line-height: 1.75; }
.detail-section__body p { margin: 0 0 1rem; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem; margin-top: 1.2rem;
}
.feature-item {
  background: #f5f9f6; border: 1px solid rgba(62,207,110,0.15);
  border-radius: 12px; padding: 1.1rem 1.2rem;
}
.feature-item__title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem;
  font-weight: 600; color: #0a0f0c; margin-bottom: 0.35rem;
}
.feature-item__desc { font-size: 0.875rem; color: #4a5a50; line-height: 1.55; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.2rem; }
.step {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem; background: #fff;
  border: 1.5px solid rgba(10,15,12,0.10); border-radius: 14px;
}
.step__num {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(62,207,110,0.12); color: #3ecf6e;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step__title { font-family: 'Space Grotesk', sans-serif; font-size: 0.975rem; font-weight: 600; color: #0a0f0c; margin-bottom: 0.3rem; }
.step__desc { font-size: 0.875rem; color: #4a5a50; line-height: 1.55; }

/* Bottom CTA */
.inner-cta {
  background: #f5f9f6;
  border-top: 1.5px solid rgba(10,15,12,0.07);
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}
.inner-cta__inner { max-width: 580px; margin: 0 auto; }
.inner-cta .section__title em { font-style: normal; color: #3ecf6e; }
.inner-cta__sub { font-size: 1rem; color: #4a5a50; margin: 1rem 0 2rem; line-height: 1.65; }
.inner-cta__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .cards-grid, .features-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 0.8rem; }
}
