/* Pricing section ------------------------------------------ */

.pricing-section {
  position: relative;
  z-index: 2;

  width: 100%;

  padding:
    clamp(4.5rem, 8vw, 7rem)
    clamp(1rem, 5vw, 5rem);

  color: var(--text-primary);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.016),
      transparent 42%
    ),
    linear-gradient(
      to bottom,
      var(--bg-brown-alt),
      var(--bg-dark)
    );

  border-top: 1px solid var(--border-brass);
}

.pricing-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(154, 103, 50, 0.09),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(119, 72, 36, 0.08),
      transparent 34%
    );

  pointer-events: none;
}

.pricing-inner {
  position: relative;
  z-index: 1;

  width: min(100%, 1200px);

  margin: 0 auto;
}


/* Pricing heading ------------------------------------------ */

.pricing-heading-wrapper {
  max-width: 820px;

  margin: 0 auto clamp(3rem, 6vw, 4.5rem);

  text-align: center;
}

.pricing-introduction {
  max-width: 780px;

  margin: 1.8rem auto 0;

  color: var(--text-secondary);

  font-size: clamp(1.03rem, 1.55vw, 1.16rem);
  line-height: 1.8;
}


/* Guarantees ----------------------------------------------- */

.pricing-guarantees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);

  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.pricing-guarantee-card {
  position: relative;

  padding: clamp(1.6rem, 3vw, 2.25rem);

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(190, 139, 72, 0.1),
      rgba(255, 255, 255, 0.018)
    );

  border: 1px solid rgba(190, 139, 72, 0.38);
  border-radius: 4px;

  box-shadow: 0 16px 34px var(--shadow-dark);
}

.pricing-guarantee-card::after {
  content: "";

  position: absolute;

  right: 1.5rem;
  bottom: 0;
  left: 1.5rem;

  height: 2px;

  background:
    linear-gradient(
      to right,
      transparent,
      var(--brass),
      transparent
    );
}

.pricing-card-eyebrow,
.pricing-group-kicker {
  margin-bottom: 0.7rem;

  color: var(--brass-soft);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.pricing-guarantee-heading {
  margin-bottom: 1rem;

  color: rgb(248, 243, 234);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

.pricing-guarantee-text {
  color: var(--text-secondary);

  font-size: 1rem;
  line-height: 1.75;
}

.pricing-guarantee-smallprint {
  margin-top: 1rem;

  color: var(--text-muted);

  font-size: 0.9rem;
  line-height: 1.65;
}


/* Pricing groups ------------------------------------------- */

.pricing-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.pricing-group {
  min-width: 0;

  overflow: hidden;

  background:
    linear-gradient(
      to bottom,
      rgba(67, 47, 32, 0.84),
      rgba(32, 23, 17, 0.96)
    );

  border: 1px solid var(--border-brass);
  border-radius: 4px;

  box-shadow: 0 16px 32px var(--shadow-dark);
}

.pricing-group-heading {
  padding:
    1.55rem
    clamp(1.2rem, 2.5vw, 1.7rem)
    1.35rem;

  background:
    linear-gradient(
      to right,
      rgba(190, 139, 72, 0.08),
      rgba(190, 139, 72, 0.015)
    );

  border-bottom: 1px solid var(--border-brass-light);
}

.pricing-group-heading h3 {
  color: rgb(248, 243, 234);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}


/* Price rows ----------------------------------------------- */

.pricing-list {
  display: grid;
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;

  padding:
    1rem
    clamp(1.2rem, 2.5vw, 1.7rem);

  border-bottom: 1px solid rgba(190, 139, 72, 0.14);
}

.pricing-row:last-child {
  border-bottom: 0;
}

.pricing-row > span {
  color: var(--text-secondary);

  font-size: 0.98rem;
  line-height: 1.55;
}

.pricing-row > strong {
  max-width: 190px;

  color: var(--brass-light);

  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}

.pricing-row-highlight {
  background-color: rgba(190, 139, 72, 0.055);
}


/* Notes ---------------------------------------------------- */

.pricing-note {
  padding:
    1rem
    clamp(1.2rem, 2.5vw, 1.7rem)
    1.35rem;

  color: var(--text-muted);

  font-size: 0.9rem;
  line-height: 1.65;

  border-top: 1px solid rgba(190, 139, 72, 0.15);
}

.pricing-footer-note {
  max-width: 900px;

  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding: clamp(1.5rem, 3vw, 2rem);

  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025),
      rgba(190, 139, 72, 0.04)
    );

  border: 1px solid rgba(190, 139, 72, 0.28);
  border-radius: 4px;
}

.pricing-footer-note h3 {
  margin-bottom: 0.85rem;

  color: var(--brass-light);

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 500;
}

.pricing-footer-note p {
  color: var(--text-secondary);

  font-size: 0.98rem;
  line-height: 1.75;
}


/* Pricing tablet ------------------------------------------- */

@media only screen and (max-width: 900px) {
  .pricing-guarantees,
  .pricing-groups {
    grid-template-columns: 1fr;
  }

  .pricing-group {
    width: 100%;
  }
}


/* Pricing mobile ------------------------------------------- */

@media only screen and (max-width: 600px) {
  .pricing-section {
    padding: 4rem 1rem;
  }

  .pricing-heading-wrapper {
    margin-bottom: 3rem;
  }

  .pricing-guarantees {
    margin-bottom: 3rem;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;

    padding: 1rem 1.1rem;
  }

  .pricing-row > strong {
    max-width: none;

    text-align: left;
  }

  .pricing-note {
    padding: 1rem 1.1rem 1.25rem;
  }
}
