.plans {
  position: relative;
  padding: 110px 7vw 105px;
  background: #f7f5f0;
  overflow: hidden;
}

.plans::before {
  content: "EUROPE";
  position: absolute;
  top: 18px;
  right: -20px;
  color: rgba(8, 29, 56, .035);
  font: 600 clamp(90px, 14vw, 210px)/1 'Playfair Display';
  letter-spacing: -.05em;
  pointer-events: none;
}

.plans-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: end;
  gap: 70px;
  max-width: 1260px;
  margin: 0 auto 58px;
}

.plans-heading h2 {
  margin: 0;
  color: var(--navy);
  font: 500 clamp(40px, 4.4vw, 68px)/1.06 'Playfair Display';
  letter-spacing: -.025em;
}

.plans-heading h2 em {
  color: #ae843d;
  font-weight: 500;
}

.plans-intro {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.plans-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1260px;
  margin: 0 auto;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 530px;
  flex-direction: column;
  padding: 38px 36px 34px;
  background: white;
  border: 1px solid #e2ddd2;
  box-shadow: 0 22px 60px rgba(8, 29, 56, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(8, 29, 56, .15);
}

.plan-standard {
  border-top: 4px solid #cda65d;
}

.plan-premium {
  margin-top: -18px;
  margin-bottom: 18px;
  border-color: var(--navy);
  background: var(--navy);
  color: white;
  box-shadow: 0 28px 70px rgba(8, 29, 56, .24);
}

.popular {
  position: absolute;
  top: 0;
  right: 0;
  padding: 9px 15px;
  background: var(--gold);
  color: var(--navy);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.25px;
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}

.plan-number {
  color: #b3a993;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.plan-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3eee3;
  color: #a87c31;
  font: 600 25px 'Playfair Display';
}

.plan-premium .plan-icon {
  background: var(--gold);
  color: var(--navy);
}

.plan-name {
  margin: 0 0 12px;
  color: #a87c31;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.plan-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font: 600 29px/1.18 'Playfair Display';
}

.plan-premium h3 {
  color: white;
}

.plan-promise {
  min-height: 82px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.plan-premium .plan-promise {
  color: #bdc8d4;
}

.plan-card ul {
  display: grid;
  gap: 13px;
  margin: 26px 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid #e7e2d9;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b58b42;
  font-weight: 800;
}

.plan-premium ul {
  border-color: rgba(255, 255, 255, .14);
}

.plan-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 15px 0 7px;
  border-bottom: 1px solid #c9b075;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.plan-link span {
  color: #ad8138;
  font-size: 20px;
  transition: transform .2s ease;
}

.plan-link:hover span {
  transform: translateX(5px);
}

.plan-premium .plan-link {
  color: white;
}

.plans-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1260px;
  margin: 30px auto 0;
  color: #707b88;
  font-size: 12px;
}

.plans-note b {
  color: var(--navy);
  white-space: nowrap;
}

@media (max-width: 950px) {
  .plans-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .plan-card {
    min-height: auto;
  }

  .plan-premium {
    margin: 0;
  }

  .plan-promise {
    min-height: auto;
  }
}

@media (max-width: 650px) {
  .plans {
    padding: 78px 22px 74px;
  }

  .plans-heading h2 {
    font-size: 42px;
  }

  .plans-intro {
    font-size: 16px;
  }

  .plan-card {
    padding: 32px 26px 28px;
  }

  .plans-note {
    flex-direction: column;
  }
}
