.nav-links a.active {
  color: var(--secondary);
}

.page-hero {
  color: white;
  padding: 190px 0 115px;
  background:
    linear-gradient(135deg, rgba(0,63,65,.96), rgba(0,81,83,.86)),
    url("../images/epos/epos-hero.png") center/cover no-repeat;
}

.page-hero h1 {
  max-width: 780px;
}

.page-hero p:not(.mini-title) {
  color: rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
}

.epos-hero .hero-bg {
  background:
    linear-gradient(90deg, rgba(0,63,65,.98), rgba(0,81,83,.82) 42%, rgba(0,63,65,.25)),
    url("../images/epos/epos-hero.png") center/cover no-repeat;
}

.epos-hero .hero-visual {
  height: 520px;
}

.hero-product {
  position: absolute;
  right: 0;
  bottom: 38px;
  width: min(650px, 48vw);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.32);
}

.contact-details {
  background: #fbfffb;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.detail-grid article {
  background: white;
  border: 1px solid rgba(0,81,83,.12);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(0,81,83,.06);
}

.detail-grid span {
  display: inline-flex;
  color: #005153;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.detail-grid h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.detail-grid p {
  color: #63716e;
  line-height: 1.7;
}

.pricing-v2 {
  background: #fbfffb;
}

.pricing-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.pricing-v2-card {
  position: relative;
  background: white;
  border: 1px solid rgba(0,81,83,.12);
  border-radius: 12px;
  padding: 36px 30px;
  box-shadow: 0 24px 60px rgba(0,81,83,.07);
}

.pricing-v2-card.featured {
  color: white;
  background: linear-gradient(145deg, #005153, #003f41);
  transform: translateY(-16px);
}

.pricing-v2-card.featured p,
.pricing-v2-card.featured li,
.pricing-v2-card.featured small {
  color: rgba(255,255,255,.76);
}

.plan-label {
  display: inline-flex;
  color: #005153;
  background: rgba(170, 238, 88, .22);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.featured .plan-label {
  color: #003f41;
  background: var(--secondary);
}

.pricing-v2-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.pricing-v2-card p {
  color: #63716e;
  line-height: 1.65;
  margin-bottom: 22px;
}

.pricing-v2-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.pricing-v2-card li {
  color: #344541;
  font-weight: 700;
}

.pricing-v2-card li::before {
  content: "+";
  color: var(--secondary);
  font-weight: 900;
  margin-right: 10px;
}

.pricing-compare {
  background: white;
}

.compare-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.compare-grid h2 {
  margin-bottom: 18px;
}

.compare-grid p {
  color: #63716e;
  line-height: 1.7;
}

.compare-list {
  display: grid;
  gap: 18px;
}

.compare-list article {
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 18px;
  background: #f7fbf7;
  border: 1px solid rgba(0,81,83,.1);
  border-radius: 12px;
  padding: 24px;
}

.compare-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #003f41;
  background: var(--secondary);
  border-radius: 50%;
  font-weight: 900;
}

.compare-list h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.compare-list p {
  grid-column: 2;
}

@media (max-width: 1000px) {
  .pricing-v2-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .pricing-v2-card.featured {
    transform: none;
  }

  .hero-product {
    width: min(680px, 88vw);
    right: 0;
  }
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .epos-hero .hero-visual {
    height: 340px;
  }

  .hero-product {
    position: relative;
    width: 100%;
    bottom: auto;
  }
}
