/* ==========================================================================
   PRICING COMPONENT (.dt-pricing)
   ========================================================================== */

.dt-pricing {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 248, 252, 0.95) 100%);
}

.dt-pricing__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.dt-pricing__label {
  color: rgba(5, 4, 32, 0.72);
  font-weight: 600;
}

.dt-toggle {
  display: inline-flex;
  padding: 0.35rem;
  background: linear-gradient(135deg, #e8f4fb 0%, #d9eef7 100%);
  border-color: var(--secundario);
  border: 1px solid rgba(5, 4, 32, 0.08);
  border-radius: 999px;
}

.dt-toggle__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.8rem 1.2rem;
  background: transparent;
  color: rgba(5, 4, 32, 0.7);
  font-family: var(--fontcta_lg);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dt-toggle__button span {
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  background: var(--cuarto);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
}

.dt-toggle__button.is-active {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 10px 18px rgba(5, 4, 32, 0.08);
}

.dt-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 2.25rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(5, 4, 32, 0.08);
  border-radius: 1.75rem;
  box-shadow: 0 25px 45px rgba(5, 4, 32, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dt-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 60px rgba(5, 4, 32, 0.08);
}

.dt-plan--featured {
  height: 100%;
  background: linear-gradient(145deg, rgba(5, 4, 32, 0.98) 0%, rgba(5, 100, 130, 0.96) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 35px 65px rgba(5, 4, 32, 0.15);
}

.dt-plan--custom {
  background: linear-gradient(135deg, #f8fbfd 0%, #edf5fc 100%);
}

.dt-plan--included {
  padding-bottom: 2rem;
}

.dt-plan__featured-label {
  position: absolute;
  top: -0.85rem;
  left: 2rem;
  display: inline-flex;
  padding: 0.45rem 1rem;
  background: var(--cuarto);
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
}

.dt-plan__header {
  margin-bottom: 1.5rem;
}

.dt-plan__header--divider {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(5, 4, 32, 0.06);
}

.dt-plan__name {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--primario);
  font-family: var(--fonth4_lg);
  font-size: 1.4rem;
  font-weight: 700;
}

.dt-plan__name--compact {
  color: var(--dark);
  font-size: 1.15rem;
}

.dt-plan__name--dark {
  color: var(--dark);
}

.dt-plan--featured .dt-plan__name {
  color: var(--white);
  font-family: var(--fonth2_lg);
}

.dt-plan__audience {
  margin-bottom: 0;
  color: rgba(5, 4, 32, 0.74);
  font-size: 0.98rem;
  line-height: 1.6;
}

.dt-plan__audience--compact {
  line-height: 1.5;
}

.dt-plan--featured .dt-plan__audience {
  color: rgba(255, 255, 255, 0.75);
}

.dt-plan__price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(5, 4, 32, 0.035);
  border: 1px solid rgba(5, 4, 32, 0.05);
  border-radius: 1.25rem;
}

.dt-plan--featured .dt-plan__price {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.dt-plan__price--compact {
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border: none;
}

.dt-plan__amount {
  color: var(--dark);
  font-family: var(--fonth2_lg);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.dt-plan--featured .dt-plan__amount {
  color: var(--cuarto);
}

.dt-plan__period,
.dt-plan__support-price {
  color: rgba(5, 4, 32, 0.7);
}

.dt-plan--featured .dt-plan__period {
  color: rgba(255, 255, 255, 0.65);
}

.dt-plan__period {
  margin-top: .3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.dt-plan__saving {
  display: inline-flex;
  margin-top: 0.4rem;
  color: var(--secundario);
  font-size: 0.9rem;
  font-weight: 700;
}

.dt-plan--featured .dt-plan__saving {
  color: var(--cuarto);
}

.dt-plan__features-title {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--fonth5_lg);
  font-size: 1.1rem;
  font-weight: 700;
}

.dt-plan__list {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.dt-plan__list li {
  position: relative;
  padding-left: 1.65rem;
  color: rgba(5, 4, 32, 0.76);
  line-height: 1.55;
}

.dt-plan--featured .dt-plan__list li {
  color: rgba(255, 255, 255, 0.85);
}

.dt-plan__list li::before {
  content: "\F26E";
  position: absolute;
  top: 0.1rem;
  left: 0;
  color: var(--greenCTA);
  font-family: "bootstrap-icons";
  font-size: 1.15rem;
}

.dt-plan .dt-button {
  margin-top: auto;
}

.dt-plan__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.dt-plan__include {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dt-plan__include--panel {
  height: 100%;
  padding: 1rem;
  background: rgba(5, 4, 32, 0.02);
  border: 1px solid rgba(5, 4, 32, 0.04);
  border-radius: 0.75rem;
}

.dt-plan__include-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(7, 134, 173, 0.1);
  color: var(--secundario);
  border-radius: 8px;
}

.dt-plan__include-title {
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-family: var(--fonth6_lg);
  font-size: 0.95rem;
  font-weight: 700;
}

.dt-plan__include-text {
  margin-bottom: 0.65rem;
  color: rgba(5, 4, 32, 0.6);
  font-size: 0.85rem;
  line-height: 1.4;
}

.dt-plan__include-list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  color: rgba(5, 4, 32, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
  list-style: none;
}

.dt-button--white {
  background: var(--white);
  color: var(--dark);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 32px rgba(255, 255, 255, 0.08);
}

.dt-button--white:hover {
  color: var(--dark);
  box-shadow: 0 22px 36px rgba(255, 255, 255, 0.14);
}

.border-md-end {
  border-right: none;
}

@media (min-width: 768px) {
  .border-md-end {
    border-right: 1px solid rgba(5, 4, 32, 0.08);
  }
}

/* Compact layout for secondary options */
.dt-plan--compact {
  padding: 2rem;
  flex-direction: column;
}