:root {
  --row-h: 40px;
  --intro-h-fluid: clamp(56px, 6vw, 84px);
  --hr-block: 33px;
  --priceblock-h: clamp(28px, 3.2vw, 36px);
  --priceblock-mb: 12px;
  --cta-h: 45px;
  --cta-mt: 8px;
  --features-mt: 32px;
  --features-pt: 10px;
  --precheck-nudge: 0px;
  --plan-intro-fs: clamp(10px, 2.3vw, 18px);
  --precheck-gap: calc(var(--intro-h-fluid) + var(--hr-block) + var(--priceblock-h) + var(--priceblock-mb) + var(--cta-h) + var(--cta-mt) + var(--features-mt) + var(--features-pt) + var(--precheck-nudge));
}

.pricing-btn {
  background-color: #02557d;
  color: #fff;
  border-radius: 25px;
  height: var(--cta-h);
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: clamp(14px, 5vw, 22px);
  width: 260px;
  max-width: 100%;
  margin: var(--cta-mt) auto 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s ease;
}

.pricing-btn:hover {
  background-color: #005fa3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 192, 0.3);
}

.pricing-btn-light {
  background-color: #fff;
  color: #1e293b;
  border-radius: 25px;
  height: 40px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: 240px;
  max-width: 100%;
  margin: 0 auto;
}

.extraLight {
  border-bottom: 2px solid #ffffff;
}

.pricing-containers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  margin-bottom: 26px;
}

.card-divider {
  border: none;
  height: 1px;
  background-color: #d1d1d1;
  margin-top: 16px;
  width: calc(100% + 40px);
  margin-bottom: 16px;
  margin-left: -20px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 var(--priceblock-mb);
  min-height: var(--priceblock-h);
}

.text-price {
  font-size: 3rem;
  line-height: 1;
}

.price span {
  font-size: 17px;
  color: #555;
  white-space: nowrap;
}

.box-container {
  background-color: #fff;
  color: #1e293b;
  display: flex;
  font-size: 18px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  flex: 1 1 calc(25% - 30px);
  max-width: 320px;
  box-shadow: 0 0 10px #00000063;
}

.box-container>p {
  align-self: center;
  margin-bottom: 0;
}

.card-footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  margin: auto;
  text-align: center;
  align-self: stretch;
  width: 100%;
}

.types,
.features {
  display: grid;
  grid-auto-rows: var(--row-h);
  align-items: center;
  gap: 0;
  padding-left: 0;
  list-style: none;
}

.features {
  justify-items: center;
  margin: var(--features-mt) 0;
  padding-top: var(--features-pt);
}

.types li {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
  padding-left: 0;
  display: flex;
  align-items: center;
}

.features img {
  width: 30px;
  height: 30px;
}

.space {
  display: none !important;
}

.text {
  font-size: 16px;
  color: #006494;
  text-align: start;
}

.highlight {
  color: #4dabf7;
  font-weight: 600;
}

.monthly {
  background-color: #f0f0f0;
}

.yearly {
  background-color: #edf9ff;
}

.service-types {
  align-items: flex-start;
  text-align: left;
  background-color: #f0f0f0;
}

.service-types h2,
.service-types h3 {
  color: #1e293b;
  font-size: 18px;
}

.service-types h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-types h3 {
  font-size: 18px;
  font-weight: 300;
  margin-top: 20px;
}

.service-types .types span {
  font-size: 14px;
  margin-bottom: 8px;
  color: #1e293b;
}

.addons {
  list-style: none;
  text-decoration: none;
}

.addons li a {
  color: #16529f;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
}

.addons li a:hover {
  text-decoration: underline;
}

.enterprise-full {
  background-color: #edf1ff;
  width: 100%;
  max-width: 65%;
  border-radius: 10px;
  padding: 20px 30px;
  box-sizing: border-box;
  margin-bottom: 80px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #00000063;
}

.enterprise-full-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.enterprise-text h4 {
  font-size: 35px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.enterprise-text p {
  font-size: 16px;
  color: #1e293b;
  margin-top: 6px;
}

.pricing-btn-full {
  background-color: #204b6a;
  color: #fff;
  border-radius: 25px;
  padding: 10px 30px;
  font-weight: bold;
  font-size: 18px;
  width: 260px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.pricing-btn-full:hover {
  background-color: #005fa3;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 119, 192, 0.3);
}

.monthly,
.yearly {
  --intro-h: var(--intro-h-fluid);
}

.monthly>p,
.yearly>p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.monthly>p:first-of-type {
  min-height: var(--intro-h);
  font-size: 16px;
}

.monthly>p:nth-of-type(2) {
  display: none;
}

.yearly>p:first-of-type,
.yearly>p:nth-of-type(2) {
  min-height: calc(var(--intro-h) / 2);
  font-size: 16px;
}

.monthly .card-divider,
.yearly .card-divider {
  margin-top: 16px;
}

.service-types .types {
  padding-top: var(--precheck-gap);
}

@media (min-width: 992px) {
  .types li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 1024px) {
  .box-container {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }

  .pricing-containers {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    padding-top: 15px;
  }
}

@media (max-width: 768px) {
  .enterprise-full-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .pricing-btn-full {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header-main {
    position: static;
  }

  .pricing-containers {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .box-container {
    padding: 16px;
    max-width: 100%;
    font-size: 22px;
    border-radius: 8px;
  }

  .price {
    font-size: 24px;
    text-align: center;
  }

  .text {
    font-size: 14px;
  }

  :root {
    --row-h: 36px;
    --precheck-gap: 0px;
  }

  .service-types .types {
    padding-top: 0;
  }
}

@media (min-width: 1200px) {
  .box-container {
    flex: 1 1 calc(20% - 30px);
    max-width: calc(22% - 26px);
  }
}

@media (max-width: 1199px) {
  .pricing-containers {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    /* grid-template-rows: auto auto; */
    gap: 10px;
    justify-content: center;
    align-items: stretch;
    padding: 12px;
  }

  .box-container:not(.enterprise-full) {
    font-size: 12px;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .box-container:not(.enterprise-full) .text-price {
    font-size: 28px;
  }

  .box-container:not(.enterprise-full) .pricing-btn {
    font-size: 12px;
    height: 30px;
    width: 20vw;
    margin-top: 18px;
  }

  .box-container:not(.enterprise-full) .features img {
    width: 18px;
    height: 18px;
  }

  .box-container:not(.enterprise-full) .price span,
  .box-container:not(.enterprise-full) .types li,
  .box-container:not(.enterprise-full) .text {
    font-size: 14px;
  }

  .box-container:not(.enterprise-full) .text-head {
    font-size: 16px;
    padding-left: 6px;
  }

  .enterprise-full {
    grid-column: span 3;
    width: 100%;
    margin: 0 auto;
  }

  .enterprise-text h4 {
    font-size: 18px;
  }

  .enterprise-text p {
    font-size: 12px;
  }

  .pricing-btn-full {
    font-size: 14px;
    padding: 8px 16px;
    width: 180px;
  }
}

@media (max-width: 480px) {
  .pricing-containers {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .box-container:not(.enterprise-full) .price span,
  .box-container:not(.enterprise-full) .types li,
  .box-container:not(.enterprise-full) .text {
    font-size: 10px;
  }

  .box-container {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    font-size: 16px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .box-container>p {
    font-size: 9px;
    text-align: center;
    padding-left: 0;
  }

  .text-price {
    font-size: 20px !important;
  }

  .price span {
    font-size: 14px;
  }

  .features img {
    width: 20px;
    height: 20px;
  }

  .text {
    font-size: 13px;
    text-align: center;
  }

  .types li {
    font-size: 14px;
  }

  .enterprise-full {
    flex-direction: column;
    padding: 16px;
    gap: 10px;
  }

  .service-types h3 {
    font-size: 8px;
  }

  .enterprise-text h4 {
    font-size: 20px;
  }

  .enterprise-text p {
    font-size: 14px;
  }

  .pricing-btn-full {
    width: 90%;
    font-size: 16px;
    padding: 8px 12px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .pricing-containers {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px;
    align-items: stretch;
    justify-items: stretch;
    padding: 0 16px;
  }

  .box-container {
    max-width: none !important;
    width: 100% !important;
    flex: initial !important;
  }

  .enterprise-full {
    grid-column: 1 / -1 !important;
    max-width: none !important;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  :root {
    --row-h: 34px;
    --plan-head-h: clamp(20px, 6vw, 28px);
    --svc-head-h: clamp(26px, 6.4vw, 34px);
    --intro-h-fluid: clamp(44px, 9vw, 62px);
    --priceblock-h: clamp(22px, 7.5vw, 30px);
    --priceblock-mb: 10px;
    --cta-h: 38px;
    --cta-mt: 6px;
    --features-mt: 18px;
    --features-pt: 8px;
    --precheck-nudge: 6px;
    --precheck-gap: calc(var(--plan-head-h) + var(--intro-h-fluid) + var(--hr-block) + var(--priceblock-h) + var(--priceblock-mb) + var(--cta-h) + var(--cta-mt) + var(--features-mt) + var(--features-pt) - var(--svc-head-h) + var(--precheck-nudge));
  }

  .pricing-containers {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr 1fr !important;
    gap: 12px;
    padding: 0 8px;
    align-items: start;
    overflow: visible;
  }

  .box-container {
    max-width: none !important;
    width: 100% !important;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .08);
  }

  .price {
    min-height: var(--priceblock-h);
    margin-bottom: var(--priceblock-mb);
  }

  .text-price {
    font-size: clamp(18px, 6vw, 22px);
  }

  .price span {
    font-size: 12px;
  }

  .pricing-btn {
    height: var(--cta-h);
    font-size: 12px;
    width: 100%;
    margin-top: var(--cta-mt);
  }

  .types,
  .features {
    grid-auto-rows: var(--row-h);
  }

  .types li {
    font-size: 12px;
  }

  .features img {
    width: 16px;
    height: 16px;
  }

  .monthly>p,
  .yearly>p {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
    font-size: 10px;
  }

  .service-types .types {
    padding-top: var(--precheck-gap) !important;
  }
}

@media (min-width: 460px) and (max-width: 1024px) {
  :root {
    --row-h: 36px;
    --plan-head-h: clamp(22px, 4.5vw, 32px);
    --svc-head-h: clamp(30px, 5vw, 40px);
    --intro-h-fluid: clamp(48px, 7vw, 70px);
    --priceblock-h: clamp(24px, 5.5vw, 34px);
    --priceblock-mb: 12px;
    --cta-h: 42px;
    --cta-mt: 8px;
    --features-mt: 22px;
    --features-pt: 8px;
    --precheck-nudge: 6px;
    --precheck-gap: calc(var(--plan-head-h) + var(--intro-h-fluid) + var(--hr-block) + var(--priceblock-h) + var(--priceblock-mb) + var(--cta-h) + var(--cta-mt) + var(--features-mt) + var(--features-pt) - var(--svc-head-h) + var(--precheck-nudge));
  }

  .yearly>p:first-of-type,
  .yearly>p:nth-of-type(2) {
    font-size: clamp(10px, 1.7vw, 18px);
  }

  .monthly>p:first-of-type {
    font-size: clamp(10px, 1.7vw, 18px);
  }

  .pricing-containers {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr 1fr !important;
    gap: 16px;
    padding: 0 12px;
    align-items: start;
  }

  .box-container {
    max-width: none !important;
    width: 100% !important;
  }

  .types,
  .features {
    grid-auto-rows: var(--row-h);
  }

  .service-types .types {
    padding-top: var(--precheck-gap) !important;
  }
}

@media (min-width: 1025px) {

  .monthly>h1,
  .monthly>h2,
  .monthly>h3,
  .monthly>h4,
  .yearly>h1,
  .yearly>h2,
  .yearly>h3,
  .yearly>h4 {
    font-size: clamp(26px, 1.6vw, 34px);
    line-height: 1.2;
    margin: 0 0 8px;
    text-align: center;
    font-weight: 700;
  }
}

@media (max-width: 767px) {
  .service-types h3 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  .yearly>p:first-of-type,
  .yearly>p:nth-of-type(2) {
    font-size: clamp(8px, 1.7vw, 18px);
  }

  .monthly>p:first-of-type {
    font-size: clamp(8px, 1.7vw, 18px);
  }
}

.types li {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.types,
.features {
  grid-auto-rows: minmax(var(--row-h), auto);
}

@media (min-width: 992px) {
  .types li {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}