.plans-section {
  padding-top: 104px;
  padding-bottom: 92px;
  background: #ffffff;
}

.plans-section-heading {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  gap: 52px;
  margin-bottom: 48px;
}

.plans-section-heading h2,
.additional-services-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: #11263a;
  font-size: 3.1rem;
}

.plans-section-heading > p {
  max-width: 490px;
  margin-bottom: 2px;
  color: #586774;
  font-size: 1.03rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 580px;
  padding: 29px;
  color: #11263a;
  background: #f7f8f6;
  border: 1px solid #dce2e6;
  border-radius: 8px;
}

.service-plan-featured {
  color: #ffffff;
  background: #11263a;
  border-color: #11263a;
  box-shadow: 0 16px 30px rgba(17, 38, 58, 0.16);
}

.service-plan-level {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 21px;
  margin-bottom: 22px;
  color: #0b63d8;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-plan-featured .service-plan-level { color: #ffc077; }

.service-plan-card h3 {
  margin-bottom: 12px;
  color: inherit;
  font-size: 1.58rem;
}

.service-plan-price {
  margin-bottom: 18px;
  color: #11263a;
  font-size: 3.55rem;
  font-weight: 700;
  line-height: 1;
}

.service-plan-featured .service-plan-price { color: #ffffff; }

.service-plan-price span {
  color: #f57912;
  font-size: 1.32rem;
  vertical-align: middle;
}

.service-plan-price small {
  color: #586774;
  font-size: 0.9rem;
  font-weight: 700;
}

.service-plan-featured .service-plan-price small { color: #bdd7ff; }

.service-plan-audience {
  min-height: 78px;
  margin-bottom: 24px;
  color: #586774;
  font-size: 0.96rem;
}

.service-plan-featured .service-plan-audience { color: #d8e2e7; }

.service-plan-list {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  margin: 0 0 27px;
  border-top: 1px solid #dce2e6;
  border-bottom: 1px solid #dce2e6;
  list-style: none;
}

.service-plan-featured .service-plan-list {
  border-color: #3b5368;
}

.service-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: inherit;
  font-size: 0.91rem;
}

.service-plan-list i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #087f5b;
  font-size: 1.08rem;
}

.service-plan-featured .service-plan-list i { color: #8ee2c1; }

.plans-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  margin-top: auto;
  color: #ffffff;
  background: #0b63d8;
  border: 1px solid #0b63d8;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.plans-button:hover,
.plans-button:focus {
  color: #ffffff;
  background: #064ca8;
  border-color: #064ca8;
  transform: translateY(-2px);
}

.service-plan-featured .plans-button {
  color: #11263a;
  background: #ffffff;
  border-color: #ffffff;
}

.service-plan-featured .plans-button:hover,
.service-plan-featured .plans-button:focus {
  color: #11263a;
  background: #fff0dc;
  border-color: #fff0dc;
}

.plans-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  color: #586774;
  font-size: 0.9rem;
  text-align: center;
}

.plans-note i { color: #0b63d8; }

.additional-services-section {
  padding-top: 98px;
  padding-bottom: 104px;
  background: #dcefe8;
}

.additional-services-heading {
  max-width: 760px;
  margin-bottom: 45px;
}

.additional-services-heading h2 { margin-bottom: 18px; }

.additional-services-heading > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
  color: #586774;
  font-size: 1.03rem;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.additional-service-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #c6e0d5;
  border-radius: 8px;
}

.additional-service-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #88a79a;
  font-size: 0.86rem;
  font-weight: 700;
}

.additional-service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: #0b63d8;
  background: #e5efff;
  border-radius: 6px;
  font-size: 1.26rem;
  place-items: center;
}

.additional-service-card:nth-child(2) .additional-service-icon {
  color: #b84332;
  background: #f9ddd5;
}

.additional-service-card:nth-child(3) .additional-service-icon {
  color: #bf5100;
  background: #fff0dc;
}

.additional-service-card h3 {
  max-width: 280px;
  margin-bottom: 12px;
  color: #11263a;
  font-size: 1.22rem;
}

.additional-service-card p {
  margin-bottom: 22px;
  color: #586774;
  font-size: 0.93rem;
}

.additional-service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #11263a;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.additional-service-card a:hover,
.additional-service-card a:focus { color: #0b63d8; }

@media (max-width: 991.98px) {
  .plans-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-plan-card:last-child { grid-column: 1 / -1; justify-self: center; max-width: calc(50% - 9px); }
  .additional-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .additional-service-card:last-child { grid-column: 1 / -1; justify-self: center; max-width: calc(50% - 9px); }
}

@media (max-width: 767.98px) {
  .plans-section,
  .additional-services-section { padding-top: 76px; padding-bottom: 76px; }
  .plans-section-heading { margin-bottom: 36px; }
  .plans-section-heading h2,
  .additional-services-heading h2 { font-size: 2.4rem; }
  .plans-grid,
  .additional-services-grid { grid-template-columns: 1fr; }
  .service-plan-card:last-child,
  .additional-service-card:last-child {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
  .service-plan-card { min-height: 0; }
  .service-plan-audience { min-height: 0; }
  .additional-service-card { min-height: 0; }
}

.portfolio-section {
  padding-top: 104px;
  padding-bottom: 104px;
  background: #f7f8f6;
}

.portfolio-heading {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: 52px;
  margin-bottom: 48px;
}

.portfolio-heading h2 {
  max-width: 600px;
  margin-bottom: 0;
  color: #11263a;
  font-size: 3.1rem;
}

.portfolio-heading > p {
  max-width: 500px;
  margin-bottom: 2px;
  color: #586774;
  font-size: 1.03rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 23px;
  color: #11263a;
  background: #ffffff;
  border: 1px solid #dce2e6;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.portfolio-card:hover,
.portfolio-card:focus {
  color: #11263a;
  border-color: #0b63d8;
  box-shadow: 0 12px 24px rgba(17, 38, 58, 0.1);
  transform: translateY(-3px);
}

.portfolio-number {
  position: absolute;
  top: 21px;
  right: 23px;
  color: #91a0ac;
  font-size: 0.79rem;
  font-weight: 700;
}

.portfolio-browser {
  position: relative;
  height: 58px;
  margin-bottom: 23px;
  overflow: hidden;
  background: #e5efff;
  border: 1px solid #cfddf0;
  border-radius: 6px;
}

.portfolio-browser::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  height: 13px;
  background: #ffffff;
  border-radius: 3px;
  content: "";
}

.portfolio-browser span {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 10px 0 0 4px;
  background: #0b63d8;
  border-radius: 50%;
}

.portfolio-browser span:first-child { margin-left: 11px; }

.portfolio-card:nth-child(2) .portfolio-browser { background: #fff0dc; border-color: #f3d4ae; }
.portfolio-card:nth-child(2) .portfolio-browser span { background: #f57912; }
.portfolio-card:nth-child(3) .portfolio-browser { background: #dcefe8; border-color: #bddccd; }
.portfolio-card:nth-child(3) .portfolio-browser span { background: #087f5b; }
.portfolio-card:nth-child(4) .portfolio-browser { background: #f9ddd5; border-color: #ebc0b4; }
.portfolio-card:nth-child(4) .portfolio-browser span { background: #b84332; }
.portfolio-card:nth-child(5) .portfolio-browser { background: #f1eaff; border-color: #dbcef4; }
.portfolio-card:nth-child(5) .portfolio-browser span { background: #7b4ab4; }
.portfolio-card:nth-child(6) .portfolio-browser { background: #fff4c9; border-color: #eadb9e; }
.portfolio-card:nth-child(6) .portfolio-browser span { background: #977000; }
.portfolio-card:nth-child(7) .portfolio-browser { background: #e3edf1; border-color: #cad8de; }
.portfolio-card:nth-child(7) .portfolio-browser span { background: #315467; }
.portfolio-card:nth-child(8) .portfolio-browser { background: #fce6ef; border-color: #f0cbd9; }
.portfolio-card:nth-child(8) .portfolio-browser span { background: #a8406a; }

.portfolio-label {
  margin-bottom: 8px;
  color: #0b63d8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin-bottom: 8px;
  color: #11263a;
  font-size: 1.13rem;
}

.portfolio-domain {
  margin-bottom: 20px;
  overflow-wrap: anywhere;
  color: #586774;
  font-size: 0.84rem;
}

.portfolio-visit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #11263a;
  font-size: 0.86rem;
  font-weight: 700;
}

.portfolio-card:hover .portfolio-visit,
.portfolio-card:focus .portfolio-visit { color: #0b63d8; }

@media (max-width: 991.98px) {
  .portfolio-heading { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .portfolio-section { padding-top: 76px; padding-bottom: 76px; }
  .portfolio-heading { margin-bottom: 36px; }
  .portfolio-heading h2 { font-size: 2.4rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { min-height: 250px; }
}
