/* Pricing: deep forest section with three equal-height package cards,
   followed by the "Every hunt includes" band. */

.pricing {
  background-color: var(--forest-deep);
  color: var(--on-dark);
  padding-block: var(--section-y);
}

.pricing__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34%);
  align-items: end;
  gap: 3rem;
  margin-bottom: 4rem;
}

.pricing__title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--on-dark);
}

.pricing__intro {
  color: var(--on-dark-muted);
  margin: 0;
}

/* Grid items stretch by default, so all three cards share the tallest
   height. Inside each card the foot is pushed down with margin-top:auto,
   which lines the dividers and price rows up across the row. */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.5rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  background-color: transparent;
  padding: 2.75rem 2.5rem;
}

.price-card--featured {
  border-color: var(--gold);
  background-color: var(--card-raised);
}

.price-card__eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 1.5rem;
}

.price-card--featured .price-card__eyebrow {
  color: var(--gold);
}

/* The headline of the card. Playfair via the shared h3 rule. */
.price-card__name {
  font-size: clamp(2.125rem, 2.9vw, 2.875rem);
  color: var(--on-dark);
  margin-bottom: 0.625rem;
}

/* Cards 1 and 2 name their inch range in the title, so they carry no
   measure line. Absorb the measure's spacing here to keep the description
   on the same offset as the Elite card's. */
.price-card__name + .price-card__desc {
  margin-top: 1.25rem;
}

/* The qualifier slot. Only the Elite card uses it now, but the grid
   stretches every card to the tallest, so all three stay equal height. */
.price-card__measure {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 1.25rem;
}

.price-card__desc {
  color: var(--on-dark-muted);
  margin-bottom: 2.5rem;
}

.price-card__foot {
  margin-top: auto;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 1.5rem;
}

.price-card__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 0.5rem;
}

.price-card__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.625rem);
  line-height: 1.1;
  color: var(--on-dark);
  margin-bottom: 1.75rem;
}

.price-card__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
  transition: color 0.2s ease;
}

.price-card__link:hover {
  color: var(--gold);
}

.price-card--featured .price-card__link {
  color: var(--gold);
}

.price-card--featured .price-card__link:hover {
  color: var(--gold-hover);
}

/* ---------- Every hunt includes ---------- */

.includes {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--hairline-dark);
}

.includes__eyebrow {
  text-align: center;
  margin-bottom: 2.5rem;
}

.includes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 60rem;
  margin-inline: auto;
}

.includes__item {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--on-dark);
}

/* Marker is a rotated square, so no icon font or SVG set is needed. */
.includes__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  transform: rotate(45deg);
}

.pricing__note {
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  margin: 3.5rem auto 0;
  max-width: 46rem;
}

@media (max-width: 991.98px) {
  .pricing__head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  /* Stacked, but the rows still share the tallest card's height so the
     dividers and price rows stay on a common offset down the column. */
  .pricing__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
  }

  .includes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .price-card {
    padding: 2.25rem 1.75rem;
  }

  .includes__grid {
    grid-template-columns: 1fr;
    gap: 1.125rem;
  }
}
