/* =========================
   CARD GENERAL
========================= */

.cec-card {
  background: #fff;
  border-radius: 22px;
  padding: 34px;
  margin-bottom: 34px;
  box-shadow: 0 18px 45px rgba(17, 19, 66, .10);
  border: 1px solid rgba(17, 19, 66, .08);
}

/* =========================
   EYEBROW / ETIQUETA
========================= */

.cec-eyebrow{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:fit-content;

    padding:10px 18px;
    border-radius:50px;

    background:#fff4da;
    border:1px solid #f1cf7a;

    color:#d89b00;

    font-size:15px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;

    line-height:1;

    font-family:inherit;

    margin-bottom:18px;
}

/* =========================
   TITULOS
========================= */

.cec-card h2 {
  margin: 0 0 28px;
  color: #111;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.03em;
}

/* =========================
   TABLA PRECIOS
========================= */

.cec-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(17, 19, 66, .10);
  box-shadow: 0 14px 35px rgba(17, 19, 66, .08);
}

.cec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: #fff;
}

.cec-table thead {
  background: linear-gradient(135deg, #111342, #2b2c7f);
  color: #fff;
}

.cec-table th,
.cec-table td {
  padding: 28px 26px;
  text-align: left;
  font-size: 18px;
}

.cec-table th {
  font-weight: 900;
  letter-spacing: -.02em;
}

.cec-table tbody tr:nth-child(even) {
  background: #f7f8ff;
}

.cec-table tbody tr {
  transition:
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.cec-table tbody tr:hover,
.cec-table tbody tr:nth-child(even):hover {
  background: #fff4da !important;
}

.cec-table tbody tr:hover td {
  color: #111342;
}

.cec-table td {
  font-weight: 800;
  color: #111;
  border-top: 1px solid rgba(17, 19, 66, .08);
}

.cec-table td span {
  display: inline-block;
  color: #4d4d63;
  font-weight: 700;
  font-size: 15px;
  margin-left: 6px;
}

/* =========================
   HORARIOS
========================= */

.cec-schedule {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(17, 19, 66, .10);
  box-shadow: 0 14px 35px rgba(17, 19, 66, .08);
  background: #fff;
}

.cec-schedule-row {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  align-items: center;
  gap: 20px;

  padding: 22px 26px;
  background: #fff;
  color: #111;

  border-left: 6px solid transparent;
  border-bottom: 1px solid rgba(17, 19, 66, .10);

  transition: all .25s ease;
}

.cec-schedule-row:nth-child(even) {
  background: #f7f8ff;
}

.cec-schedule-row:last-child {
  border-bottom: 0;
}

.cec-schedule-row:hover {
  border-left-color: #f4b000;
  background: #fffaf0;
}

.cec-schedule-row strong {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.cec-schedule-row span {
  justify-self: center;

  background: linear-gradient(135deg, #111342, #2b2c7f);
  color: #fff;

  font-weight: 900;
  font-size: 15px;

  padding: 10px 18px;
  border-radius: 999px;

  min-width: 84px;
  text-align: center;

  box-shadow: 0 8px 18px rgba(17,19,66,.16);
}

.cec-schedule-row em {
  justify-self: end;

  font-style: normal;
  font-weight: 900;
  font-size: 17px;

  color: #292b78;
}

/* =========================
   BOTON ELEMENTOR
========================= */

.cec-btn .elementor-button{
    background: linear-gradient(135deg, #2b2c7f, #15174a) !important;

    color:#fff !important;

    border-radius:16px;

    padding:18px 34px;

    font-size:20px;
    font-weight:800;

    border:none;

    box-shadow:
      0 10px 25px rgba(17,19,66,.18),
      inset 0 1px 0 rgba(255,255,255,.12);

    transition:all .25s ease;
}

.cec-btn .elementor-button:hover{
    transform:translateY(-2px);

    box-shadow:
      0 16px 32px rgba(17,19,66,.28),
      inset 0 1px 0 rgba(255,255,255,.12);

    background: linear-gradient(135deg, #31339a, #1b1d5e) !important;
}

.cec-btn .elementor-button-text{
    font-weight:800;
    letter-spacing:.02em;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .cec-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .cec-card h2 {
    font-size: 42px;
  }

  .cec-table,
  .cec-table thead,
  .cec-table tbody,
  .cec-table tr,
  .cec-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .cec-table thead {
    display: none;
  }

  .cec-table tr {
    padding: 10px;
    border-bottom: 1px solid rgba(17, 19, 66, .10);
  }

  .cec-table td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border: 0;
  }

  .cec-table td::before {
    content: attr(data-label);
    color: #292b78;
    font-weight: 900;
  }

  .cec-table td span {
    display: block;
    margin-left: 0;
    text-align: right;
  }

  .cec-schedule-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .cec-schedule-row span,
  .cec-schedule-row em {
    justify-self: start;
  }

  .cec-btn .elementor-button{
    width:100%;
  }
}