.plan-inkarty {
  background-color: #F9F9F9;
}

.plan-header {
  padding: 2rem;
  text-align: center;
}

.post-inkarty .title,
.plan-resources .title,
.plan-question .title {
  font-size: 39px;
  font-weight: bold;
}

.post-inkarty .sub-title,
.plan-resources .sub-title {
  font-size: 1.2rem;
}

.post-inkarty ul,
.plan-resources ul {
  display: grid;
  gap: 1rem;
}

.post-inkarty ul li,
.plan-resources ul li {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.plan-plans {
  margin-bottom: 3rem;
}

.plan-title {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.plan-title h1 {
  display: grid;
  justify-items: center;
}

.plan-title span:nth-child(1) {
  font-size: 39px;
}

.plan-title span:nth-child(2) {
  font-size: 43px;
  background: linear-gradient(to right, #005ce0, #00a5f2);
  background-clip: "text";
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-options {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.plan-option {
  background-color: #f0f5f9;
  display: flex;
  padding: 0.75rem 0.75rem;
  gap: 0.75rem;
  border-radius: 0.3rem;
}

.plan-option button {
  min-width: 100px;
  display: block;
  border: 1px solid transparent;
  padding: .75rem .75rem;
  border-radius: .25rem;
  font-weight: bold;
}

.cards {
  width: 100%;
}

.plan-cards-group {
  display: none;
  justify-content: center;
  gap: 29px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.plan-cards-group.active {
  display: flex;
}

.plan-cards-group.fade-out {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.plan-cards-group li > i {
  flex-shrink: 0;
}

.card {
  position: relative;
  width: 355px;
  min-height: 690px;
  border: 1px solid #e8e8e8;
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card .title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card .sub-title {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.card .price {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  justify-content: space-around;
  align-items: end;
}

.price-currency {
  color: #7c8fa3;
  text-decoration: line-through;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  height: 24px;
}

.card .price .price-value {
  font-size: 2rem;
  font-size: 3rem;
  color: black;
  font-weight: bold;
  line-height: 1;
}

.card .price .discount {
  background-color: #e3f0ff;
  color: #004dbe;
  padding: 0.25rem;
  font-size: 0.7rem;
  border-radius: 0.5rem;
}

.card .description {
  color: #7c8fa3;
}

.card a {
  margin-bottom: 2rem;
}

.card .btn-outline-primary {
  display: block;
  padding: 0.875rem 1.25rem;
  border: 1px solid #0374f5;
  border-radius: 0.4rem;
  background: transparent;
  color: #0374f5;
  font-weight: 600;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

.card .btn-outline-primary:hover {
  background: #0374f5;
  color: #fff;
}

.card .fa-check {
  height: 27.5px;
  width: 27.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  border-radius: 50%;
  background-color: #e7edfc;
  color: #004ddd;
}

.recommended-box {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 1;
  overflow: hidden;
  width: 105px;
  height: 105px;
  text-decoration: none;
  pointer-events: none;
  transition: all 0.1s ease-in;
  will-change: transform;
}

.recommended-box::after {
  right: 0;
  bottom: 0;
}

.recommended-box::before,
.recommended-box::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #002b98;
  transition: all 0.1s ease-in;
}

.plan-bonus-request {
  margin-top: auto;
}

.btn-switch {
  font-weight: 500;
  background-color: transparent;
}

.btn-switch.active {
  background-color: #fff;
}

.recommended {
  position: relative;
  top: 21px;
  left: -11px;
  z-index: 1;
  display: block;
  width: 160px;
  padding: 9px 0 6px 0;
  background-color: #004ddd;
  color: #fff;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
  font-weight: var(--fontWeightBold, 700);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  pointer-events: auto;
  transition: all 0.1s ease-in;
  transform: rotate(45deg);
  font-size: 0.7rem;
  padding: 14px;
  line-height: normal;
  padding-left: 8px;
}

.plan-resources {
  margin-bottom: 3rem;
}

.plan-resource-title {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.plan-resource-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.plan-resource-block {
  background-color: #eef5ff;
  padding: 1.5rem;
  border-radius: 1rem;
}

.plan-resource-block .fa-check {
  height: 25px;
  width: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  color: #004ddd;
}

.plan-bonus-request {
  background-color: #f8fbff;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: -1.5rem;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

.plan-bonus-request span {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.plan-bonus-request i {
  color: #004ddd;
  transform: rotate(45deg);
  opacity: 0.75;
  height: 27.5px;
  width: 27.5px;
  margin-top: 13.75px;
}

.promotion {
  margin-left: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.3rem;
  background-color: #00a441;
  color: #fff;
  font-size: 0.9rem;
}

.plan-comparison {
  width: 100%;
  min-width: 0;
  margin-top: 7rem;
  margin-bottom: 7rem;
}

.comparison-table {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 1100px;
  margin-inline: auto;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 4rem 0;
}

.comparison-table th,
.comparison-table td {
  width: 260px;
  max-width: 260px;
  overflow-wrap: break-word;
  color: #07354d;
  font-weight: normal;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  padding: 1rem 0;
  text-align: center;
  vertical-align: middle;
}

.comparison-table td.comparison-column:not(:first-child) {
  padding: 1rem 0;
  background-color: #f8f9fb;
}

.comparison-table thead th:first-child {
  padding-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: bold;
  line-height: normal;
  text-align: left;
  vertical-align: bottom;
}

.comparison-table .fa-circle-check {
  color: #006aff;
  font-size: 20px;
}

.comparison-table button {
  width: 100%;
}

.comparison-table th[scope="col"] {
  padding-bottom: 2.5rem;
}

.comparison-table th[scope="row"] {
  padding-left: 16px;
  text-align: left;
}

.comparison-title {
  font-size: 1.4rem;
  font-weight: bold;
}

.comparison-price-group {
  margin-bottom: 8px;
}

.comparison-price {
  font-size: 2rem;
  font-weight: bold;
}

.comparison-table span.comparison-description {
  margin-left: 0.25rem;
  color: #7c8fa3;
  font-weight: normal;
}

.comparison-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid #f1f2f6;
}

.comparison-table span.btn,
.card span.btn {
  border-color: #eef5ff;
  background: #eef5ff;
  color: #07354d;
  pointer-events: none;
}

.plan-designer {
  padding: 176px 0;
  background-color: #eef5ff;
}

.plan-designer span {
  line-height: 1.5rem;
}

.plan-designer .content {
  padding: 0;
}

.plan-designer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.plan-designer-content div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.plan-designer-content h2 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: bold;
}

.plan-designer-content img {
  width: 100%;
}

.plan-question {
  margin: 6rem 0 12rem;
}

.plan-question-accordion {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.question-item {
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid #dfe3e8;
}

.question-item:last-child {
  border-bottom: none;
}

.question-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.question-item summary::-webkit-details-marker {
  display: none;
}

.question-item summary i {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.question-item[open] summary i {
  transform: rotate(180deg);
}

.question-answer {
  padding: 0 2rem 3rem;
}

.question-answer p {
  margin: 0;
  color: #666;
  font-size: 1.125rem;
  line-height: 1.65;
}

.plan-try {
  padding: 6rem 0;
  background: #0072f8;
}

.plan-try-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}

.plan-try h2 {
  color: #fff;
  font-size: 39px;
  font-weight: bold;
}

.plan-try .btn {
  color: var(--inkarty-primary-blue-color);
}

.btn-md {
  height: 43px;
}

.plan-customization {
  margin-bottom: 5rem;
}

.plan-customization h2 {
  margin-bottom: 1rem;
  font-size: 39px;
}

.plan-customization h3 {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.plan-customization-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-customization-content h2 {
  margin-bottom: 3.25rem;
}

.customization-grid {
  display: grid;
  grid-template-columns: 460px 460px;
  gap: 2.5rem;
}

.customization-card {
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
}

.customization-card span {
  display: block;
}

.customization-subcard {
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
}

.customization-subcard button {
  width: 100%;
  margin-top: 1.5rem;
}

.customization-subcard div {
  display: flex;
}

.customization-subcard > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  line-height: normal;
}

.customization-subcard > div p {
  margin: 0;
}

.customization-subcard .fa-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 38px;
  min-width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background-color: #e7edfc;
  color: #004ddd;
  font-size: 20px;
  line-height: 1;
}

.customization-description {
  margin-bottom: 1.75rem;
  color: #7c8fa3;
}

@media (prefers-reduced-motion: reduce) {
  .question-item summary i,
  .plan-cards-group {
    transition: none;
  }
}

@media (max-width: 1023px) {
  .plan-cards-group {
    flex-wrap: wrap;
  }

  .card {
    width: min(100%, 355px);
  }

  .plan-resource-blocks {
    grid-template-columns: 1fr;
  }

  .customization-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 768px) {
  .plan-header {
    padding: 1.5rem 0;
  }

  .post-inkarty .title,
  .plan-resources .title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  .post-inkarty .sub-title,
  .plan-resources .sub-title {
    display: block;
    font-size: 1rem;
    line-height: 1.6;
  }

  .plan-plans {
    margin-bottom: 3.5rem;
  }

  .plan-title {
    padding: 2.5rem 0 1.5rem;
    text-align: center;
  }

  .plan-title h1 {
    gap: 0.25rem;
    margin: 0;
  }

  .plan-title span:nth-child(1),
  .plan-title span:nth-child(2) {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  .plan-option {
    width: 100%;
  }

  .plan-option button {
    flex: 1;
    width: auto;
    min-width: 0;
    padding-inline: 0.75rem;
  }

  .promotion {
    display: inline-block;
    width: 80px;
    white-space: nowrap;
    margin-left: 0.25rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
  }

  .plan-cards-group.active {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .card {
    width: 100%;
    min-height: auto;
  }

  .card .price {
    grid-template-columns: auto auto 1fr;
    justify-content: start;
    gap: 0.35rem;
  }

  .card .price .price-value {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .card a {
    width: 100%;
  }

  .plan-designer {
    padding: 4rem 0;
  }

  .plan-designer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .plan-designer-content h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  .plan-designer-content div {
    gap: 1.25rem;
  }

  .plan-designer-content button {
    width: 100%;
  }

  .plan-comparison {
    margin-block: 4rem;
  }

  .comparison-table {
    padding-bottom: 0.75rem;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .comparison-table table {
    min-width: 720px;
    border-spacing: 1rem 0;
  }

  .comparison-table th,
  .comparison-table td {
    width: 210px;
    max-width: 210px;
  }

  .comparison-table thead th:first-child {
    font-size: 1.5rem;
  }

  .comparison-table th[scope="row"] {
    padding-left: 0.5rem;
  }

  .comparison-title {
    font-size: 1.2rem;
  }

  .comparison-price {
    font-size: 1.6rem;
  }

  .plan-resources {
    margin-bottom: 2rem;
  }

  .plan-resource-block {
    padding: 1.25rem;
  }

  .plan-resource-block ul {
    padding-left: 0;
  }

  .plan-question {
    margin: 4rem 0 6rem;
  }

  .plan-question-accordion {
    margin-top: 1rem;
  }

  .question-item summary {
    padding: 1.5rem 0.25rem;
    font-size: 1rem;
  }

  .question-answer {
    padding: 0 0.25rem 2rem;
  }

  .question-answer p {
    font-size: 1rem;
  }

  .plan-try {
    padding: 4rem 0;
  }

  .plan-try-content {
    gap: 1.5rem;
    text-align: center;
  }

  .plan-try h2 {
    margin: 0;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  .plan-try .btn {
    width: 100%;
  }

  .plan-customization h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  .customization-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 420px) {
  .plan-option {
    gap: 0.35rem;
    padding: 0.5rem;
  }

  .plan-option button {
    font-size: 0.875rem;
  }

  .promotion {
    display: block;
    margin: 0.2rem auto 0;
  }

  .card {
    padding: 1.25rem;
  }

  .plan-bonus-request {
    margin-inline: -1.25rem;
    margin-bottom: -1.25rem;
  }

  .comparison-table table {
    min-width: 640px;
    border-spacing: 0.5rem 0;
  }

  .comparison-table th,
  .comparison-table td {
    width: 190px;
    max-width: 190px;
  }
}

html {
  scroll-behavior: smooth;
}

#planos {
  scroll-margin-top: 80px;
}

.plan-try h2 {
  margin: 0 0 .5rem 0;
}

.question-item:first-child {
  border-top: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.comparison-table span.btn {
        width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
}

.btn-primary {
  padding: 14px 24px;
  background-color: var(--inkarty-tertiary-blue-color);
  border: 1px solid var(--inkarty-tertiary-blue-color);
  color: #fff;
  border-radius: .25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
