.pricing-section {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #fff, #f4f6f9);
}

.pricing-heading {
  max-width: 920px;
  margin: 0 auto 30px;
  text-align: center;
}

.pricing-heading__eyebrow {
  margin: 0 0 10px;
  color: var(--color-red, #b71f24);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.pricing-heading h2 {
  margin: 0;
  font-family: var(--font-display, inherit);
  color: var(--color-navy, #102a4d);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.pricing-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--color-gray-700, #6a7280);
  font-size: 16px;
}

.pricing-comparison {
  max-width: 1240px;
  margin: 0 auto;
}

.pricing-desktop {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dfe7;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(16, 42, 77, .14);
}

.pricing-desktop table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-desktop th,
.pricing-desktop td {
  padding: 14px 10px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #d9dfe7;
}

.pricing-desktop thead th {
  height: 68px;
  color: #fff;
  background: #102a4d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
}

.pricing-desktop thead th:first-child,
.pricing-desktop tbody th {
  width: 16%;
  padding-left: 24px;
  text-align: left;
}

.pricing-desktop thead th.is-recommended {
  background: #b28a45;
}

.pricing-desktop thead th.is-recommended span {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
}

.pricing-desktop tbody tr:nth-child(even) > * {
  background-color: #f4f6f8;
}

.pricing-desktop tbody th {
  color: #102a4d;
  font-size: 13px;
  font-weight: 800;
}

.pricing-desktop tbody td.is-recommended {
  background: #f3eee5;
}

.pricing-desktop tbody tr:nth-child(even) td.is-recommended {
  background: #eee9e1;
}

.pricing-desktop td small,
.pricing-desktop td strong {
  display: block;
}

.pricing-desktop td small {
  min-height: 17px;
  color: #9299a3;
  font-size: 10px;
  line-height: 1.25;
}

.pricing-desktop td strong {
  margin-top: 3px;
  color: #102a4d;
  font-size: 15px;
  font-weight: 800;
}

.pricing-mobile {
  display: none;
}

.pricing-note {
  margin: 26px auto 0;
  color: #737b87;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 767px) {
  .pricing-section {
    padding: 58px 0 68px;
  }

  .pricing-section > .container {
    width: 100%;
    max-width: none;
    padding-right: 16px;
    padding-left: 16px;
  }

  .pricing-heading {
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .pricing-heading h2 {
    font-size: 34px;
  }

  .pricing-heading > p:last-child {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.45;
  }

  .pricing-desktop {
    display: none;
  }

  .pricing-mobile {
    display: block;
  }

  .pricing-mobile-card {
    margin: 0 0 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9dfe7;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(16, 42, 77, .13);
  }

  .pricing-mobile-card__toggle,
  .pricing-mobile-card__more {
    width: 100%;
    border: 0;
    cursor: pointer;
    font: inherit;
  }

  .pricing-mobile-card__toggle {
    display: grid;
    grid-template-columns: 1fr auto 16px;
    gap: 9px;
    align-items: center;
    padding: 15px 14px 13px 24px;
    color: #102a4d;
    background: #fff;
    text-align: left;
  }

  .pricing-mobile-card__toggle::before {
    position: absolute;
    width: 3px;
    height: 22px;
    margin-left: -10px;
    content: '';
    background: #b28a45;
  }

  .pricing-mobile-card__toggle strong {
    font-size: 12px;
    letter-spacing: .7px;
  }

  .pricing-mobile-card__count {
    color: #77808e;
    font-size: 10px;
  }

  .pricing-mobile-card__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
  }

  .pricing-mobile-card.is-expanded .pricing-mobile-card__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .pricing-mobile-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .pricing-mobile-table th,
  .pricing-mobile-table td {
    padding: 12px 7px;
    color: #102a4d;
    border-bottom: 1px solid #d9dfe7;
    text-align: center;
  }

  .pricing-mobile-table thead th {
    color: #fff;
    background: #102a4d;
    font-size: 9px;
    font-weight: 800;
  }

  .pricing-mobile-table thead th:first-child,
  .pricing-mobile-table tbody th {
    width: 32%;
    padding-left: 12px;
    text-align: left;
  }

  .pricing-mobile-table thead th.is-recommended {
    background: #b28a45;
    font-size: 7.5px;
    line-height: 1.15;
  }

  .pricing-mobile-table tbody th {
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
  }

  .pricing-mobile-table tbody td {
    font-size: 11.5px;
  }

  .pricing-mobile-table tbody td.is-recommended {
    background: #f3eee5;
  }

  .pricing-mobile-row--extra {
    display: none;
  }

  .pricing-mobile-card.is-expanded .pricing-mobile-row--extra {
    display: table-row;
  }

  .pricing-mobile-card__more {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    color: #b71f24;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
  }

  .pricing-mobile-card__more .pricing-mobile-card__chevron {
    width: 7px;
    height: 7px;
  }

  .pricing-note {
    padding: 0 14px;
    margin-top: 20px;
  }
}

@media (max-width: 359px) {
  .pricing-mobile-table thead th:first-child,
  .pricing-mobile-table tbody th {
    padding-right: 3px;
    padding-left: 3px;
  }

  .pricing-mobile-table tbody th {
    font-size: 9px;
  }
}
