/* Estilos de planes. */

.plan-card.plan-card-featured {
  border: 2px solid #1f5fd0;
  background: #f7f9fc;
}

/* La comparativa conserva sus columnas mediante desplazamiento local. */
.comparison-scroll.bordered-panel {
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th,
.comparison-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #eef1f6;
  font-size: 13.5px;
  color: #5c6672;
  font-weight: 400;
  text-align: left;
}
.comparison-table th:first-child {
  width: 36%;
  padding-left: 18px;
  text-align: left;
  color: #12161b;
  font-size: 14.5px;
}
.comparison-table thead th {
  padding: 14px 12px;
  background: #12161b;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.comparison-table thead th:first-child {
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
}

.plans-hero {
  padding: clamp(52px, 6vw, 88px) 0 clamp(30px, 4vw, 48px);
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border-bottom: 1px solid #e9ecf1;
}

.plans-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.plans-section {
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
  background: #fff;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.plans-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.plan-card {
  border: 1px solid #e4e8ee;
  border-radius: 14px;
  padding: clamp(24px, 2.6vw, 34px);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 520px;
}

.plan-card-single {
  min-height: 0;
}

.plan-card-single .plan-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: none;
  gap: 12px 18px;
}

.plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.plan-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #1f5fd0;
  color: #fff;
  padding: 5px 10px;
  border-radius: 100px;
}

.plan-audience {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa3b0;
  margin-top: 8px;
}

.plan-price {
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.plan-period {
  font-size: 13.5px;
  color: #8a94a2;
  margin-top: 8px;
}

.plan-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #525c69;
}

.plan-benefits {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-benefit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: #12161b;
}

.checkmark {
  color: #1f5fd0;
  flex: none;
}

.plan-button {
  display: block;
  text-align: center;
  background: #12161b;
  color: #fff;
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
}

.plans-note {
  margin: 26px 0 0;
  font-size: 13.5px;
  color: #8a94a2;
  text-align: center;
}

.plan-smallprint {
  margin: -4px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #6b7480;
}

.comparison-section {
  padding: clamp(52px, 6vw, 92px) 0;
  background: #f7f9fc;
  border-top: 1px solid #e9ecf1;
  border-bottom: 1px solid #e9ecf1;
}

.comparison-title {
  margin: 0 0 34px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.faq-section {
  padding: clamp(52px, 6vw, 92px) 0;
  background: #fff;
}

.narrow-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
}

.faq-title {
  margin: 0 0 30px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.faq-list {
  border-top: 1px solid #e4e8ee;
}

.faq-item {
  border-bottom: 1px solid #e4e8ee;
  padding: 20px 0;
}

.faq-question {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: #12161b;
  list-style: none;
}

.faq-answer {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: #525c69;
  max-width: 64ch;
}

.plan-button:hover {
  background: #1f5fd0;
  color: #fff;
}

@media (max-width: 700px) {
  .plan-card-single .plan-benefits {
    grid-template-columns: 1fr;
  }

  .plan-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-table th:first-child {
    width: 42%;
  }
}
