@charset "UTF-8";
/* ==========================================
   SECCION DE PRECIOS
   ENTRENADOR PERSONAL
=========================================== */

.sd-pricing {
  position: relative;
    isolation: isolate;

    background-image: url("../images/fondo acorreon-1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  --sd-accent: #afca0b;
  
  --sd-card: #151515;
  --sd-text: #ffffff;

  
}

.sd-pricing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
}

.sd-pricing *,
.sd-pricing *::before,
.sd-pricing *::after {
  box-sizing: border-box;
}

.sd-pricing-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ENCABEZADO */

.sd-pricing-header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 65px;
}

.sd-pricing-tag {
  display: inline-block;
  color: var(--sd-accent);
  border: 1px solid var(--sd-accent);
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.sd-pricing-header h2 {
  font-size: clamp(32px, 5vw, 55px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0 0 20px;
}

.sd-pricing-header h2 span {
  display: block;
  color: var(--sd-accent);
}

.sd-pricing-header p {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* TARJETAS */

.sd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.sd-plan {
  position: relative;
  background: var(--sd-card);
  border: 1px solid #303030;
  border-radius: 13px;
  padding: 38px 29px;
  display: flex;
  flex-direction: column;
  min-width: 0;

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.sd-plan:hover {
  transform: translateY(-9px);
  border-color: var(--sd-accent);
  box-shadow: 0 15px 40px rgba(182,255,0,.10);
}

.sd-plan-top {
  margin-bottom: 25px;
}

.sd-plan-label {
  display: inline-block;
  color: var(--sd-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.sd-plan h3 {
  font-size: 35px;
  font-weight: 900;
  margin: 0 0 9px;
  letter-spacing: -1px;
}

.sd-plan-top p {
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

/* PRECIOS */

.sd-plan-price {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: 15px;
  white-space: nowrap;
}

.sd-currency {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-top: 7px;
}

.sd-amount {
  color: #ffffff;
  font-size: clamp(42px, 4vw, 55px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
}

.sd-period {
  color: #ffffff;
  font-size: 13px;
  align-self: flex-end;
  padding-bottom: 6px;
}

.sd-plan-description {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.6;
  min-height: 42px;
  margin: 0 0 25px;
}

/* BOTONES */

.sd-plan-button {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--sd-accent);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sd-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  transition: all .3s ease;
}

.sd-plan-button span {
  font-size: 19px;
  transition: transform .3s ease;
}

.sd-plan-button:hover {
  background: var(--sd-accent);
  color: #080808;
}

.sd-plan-button:hover span {
  transform: translateX(5px);
}

/* BENEFICIOS */

.sd-plan-divider {
  height: 1px;
  background: #333333;
  margin: 30px 0;
}

.sd-plan h4 {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0 0 20px;
}

.sd-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sd-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #dddddd;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.sd-plan-features li span {
  color: var(--sd-accent);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  flex-shrink: 0;
}

.sd-plan-features li.sd-disabled {
  color: #686868;
}

.sd-plan-features li.sd-disabled span {
  color: #686868;
}

/* PLAN DESTACADO */

.sd-plan-featured {
  border: 2px solid var(--sd-accent);

  background: linear-gradient(
    160deg,
    #20251a 0%,
    #151515 40%,
    #111111 100%
  );

  transform: scale(1.035);
  z-index: 2;
  box-shadow: 0 0 35px rgba(182,255,0,.08);
}

.sd-plan-featured:hover {
  transform: scale(1.035) translateY(-9px);
}

.sd-featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sd-accent);
  color: #080808;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 9px 22px;
  border-radius: 30px;
  white-space: nowrap;
}

.sd-button-featured {
  background: var(--sd-accent);
  color: #080808;
}

.sd-button-featured:hover {
  background: #ffffff;
  border-color: #ffffff;
}

/* PIE DE SECCION */

.sd-pricing-footer {
  text-align: center;
  color: #ffffff;
  font-size: 1px;
  margin-top: 55px;
  line-height: 1.7;
}

.sd-pricing-footer span {
  color: var(--sd-accent);
  font-weight: 900;
  margin-right: 7px;
}

/* TABLETS */

@media (max-width: 950px) {

  .sd-pricing {
    padding: 75px 20px;
  }

  .sd-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }

  .sd-plan-featured {
    transform: none;
  }

  .sd-plan-featured:hover {
    transform: translateY(-9px);
  }

  .sd-plan:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12.5px);
    justify-self: center;
  }
}

/* CELULARES */

@media (max-width: 600px) {

  .sd-pricing {
    padding: 60px 15px;
  }

  .sd-pricing-header {
    margin-bottom: 50px;
  }

  .sd-pricing-header h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .sd-pricing-header p {
    font-size: 14px;
  }

  .sd-pricing-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 430px;
    margin: 0 auto;
  }

  .sd-plan,
  .sd-plan:last-child {
    grid-column: auto;
    width: 100%;
    padding: 34px 25px;
  }

  .sd-plan-featured {
    transform: none;
  }

  .sd-plan-featured:hover,
  .sd-plan:hover {
    transform: translateY(-5px);
  }

  .sd-amount {
    font-size: 54px;
  }

  .sd-pricing-footer {
    margin-top: 40px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
    .sd-pricing {
        background-position: center center;
        background-size: cover;
    }
}

/* ANIMACIONES */

@media (prefers-reduced-motion: no-preference) {

  .sd-plan {
    animation: sdFadeUp .7s ease both;
  }

  .sd-plan:nth-child(2) {
    animation-delay: .12s;
  }

  .sd-plan:nth-child(3) {
    animation-delay: .24s;
  }

  @keyframes sdFadeUp {
    from {
      opacity: 0;
      translate: 0 25px;
    }

    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}

