/* --- VARIABLES --- */
:root {
  --primary-yellow: #ffbd4b;
  --dark-yellow: #e8a531;
  --text-gray: #4a4a4a;
  --black: #000000;
  --gray-bg: #f2f2f2;
  --white: #ffffff;
  --highlight-bg: #fffbe6;
}

/* --- TABLE CONTAINER --- */
.pricing-table {
  width: 100%;
  max-width: 1050px;
  margin: 20px auto;
  font-family: "Poppins", sans-serif;
  border-radius: 12px;
  overflow: hidden;
}

/* --- HEADERS --- */
.pricing-table th {
  color: var(--black);
  font-weight: 700;
  text-align: center;
  padding: 8px 4px !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
}

.pricing-table th:first-child {
  background: transparent;
  text-align: left;
  padding-left: 18px !important;
}

/* STRATEGY */
.pricing-table th:nth-child(2) {
  background: #f5f5f5;
}

/* ACCOUNTING */
.pricing-table th:nth-child(3) {
  background: var(--primary-yellow);
  border-bottom: 2px solid #d1d1d1;
}

/* BOOKKEEPING */
.pricing-table th:nth-child(4) {
  background: #f5f5f5;
}

/* --- CELDAS --- */
.pricing-table td {
  padding: 6px 4px !important;
  font-size: 11px !important;         /* <<< más pequeño */
  color: var(--black);
  text-align: center;
  border-bottom: 1px solid #ededed;
  line-height: 1.2 !important;
}

/* Primera columna (features) */
.pricing-table td:first-child {
  text-align: left;
  font-weight: 600;
  padding-left: 14px !important;
  font-size: 11.2px !important;       /* <<< más pequeño */
}

/* Accounting columna destacada */
.pricing-table td:nth-child(3) {
  background: var(--highlight-bg);
}

/* Alternancia */
.pricing-table tr:nth-child(even) td {
  background: #fafafa;
}

/* Hover */
.pricing-table tr:hover td {
  background: #f3f3f3;
}

/* --- SUBTÍTULOS (BOOKKEEPING / SUPPORT) --- */
.pricing-table .section-title td {
  background: #f2f2f2 !important;
  color: var(--black);
  font-weight: 700;
  font-size: 11.5px !important;
  padding: 5px 14px !important;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-top: 2px solid var(--primary-yellow);
  line-height: 1.1 !important;
}

/* Check icons */
.pricing-table .check {
  color: #2ecc71;
  font-size: 14px !important;         /* <<< más pequeño */
}

/* Centrar las 3 columnas */
.pricing-table td:nth-child(2),
.pricing-table td:nth-child(3),
.pricing-table td:nth-child(4),
.pricing-table th:nth-child(2),
.pricing-table th:nth-child(3),
.pricing-table th:nth-child(4) {
    text-align: center !important;
}

/* Filas más compactas */
.pricing-table tr {
    height: auto !important;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-table th,
  .pricing-table td {
    font-size: 10px !important;
    padding: 5px !important;
  }
}

/* --- VARIABLES --- */
:root {
  --primary-yellow: #ffbd4b;
  --primary-light: #ffe39c;
  --black: #000000;
  --gray-bg: #f2f2f2;
  --white: #ffffff;
  --highlight-bg: #fff6d5;
  --divider: #e8e8e8;
}

/* --- TABLE CONTAINER --- */
.pricing-table {
  width: 100%;
  max-width: 1050px;
  margin: 20px auto;
  font-family: "Poppins", sans-serif;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #f1f1f1;
  border-collapse: separate;
  border-spacing: 0;
}

/* --- HEADERS --- */
.pricing-table th {
  color: var(--black);
  font-weight: 700;
  text-align: center;
  padding: 10px 4px !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #fafafa;
  border-bottom: 1px solid var(--divider);
}

/* HEADER packages */
.pricing-table th:first-child {
  text-align: left;
  padding-left: 16px !important;
  background: var(--gray-bg) !important;
}

/* HEADER accounting */
.pricing-table th:nth-child(3) {
  background: var(--primary-yellow) !important;
  border-bottom: 3px solid var(--primary-yellow);
}

/* --- CELDAS --- */
.pricing-table td {
  background: var(--white) !important;
  padding: 7px 4px !important;
  font-size: 11px !important;
  border-bottom: 1px solid var(--divider);
  color: var(--black);
  line-height: 1.2;
  text-align: center;
}

/* PRIMERA COLUMNA packages → gris */
.pricing-table td:first-child {
  background: var(--gray-bg) !important;
  text-align: left;
  padding-left: 14px !important;
  font-weight: 600;
  font-size: 11.2px !important;
}

/* ACCOUNTING columna destacada */
.pricing-table td:nth-child(3) {
  background: var(--highlight-bg) !important;
}

/* Divisiones verticales suaves */
.pricing-table td:not(:first-child) {
  border-left: 1px solid #f1f1f1;
}

/* SUBTÍTULO SUPPORT */
.pricing-table .section-title td {
  background: var(--gray-bg) !important;
  color: var(--black);
  font-weight: 700;
  font-size: 11.3px !important;
  padding: 6px 14px !important;
  text-align: left !important;
  letter-spacing: 0.8px;
  border-top: 2px solid var(--primary-yellow);
}

/* Check icons */
.pricing-table .check {
  color: #2ecc71;
  font-size: 14px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .pricing-table th,
  .pricing-table td {
    font-size: 10px !important;
    padding: 5px !important;
  }
}
