.whatsapp-icon {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 56px;
  height: 56px;
  z-index: 2000;
}

.whatsapp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (hover: hover) {
  .whatsapp-icon:hover {
    transform: scale(1.1);
  }
}



:root {
  --green: #2ecc71; /* verde modernista */
  --green-dark: #3c7654;
  --bg-dark: #2b772984;
  --bg-light: #f9fafb;
  --card: #70707047;
  --shadow: 0 6px 18px rgba(0,0,0,0.12);
  --text-dark: #1c1c1c;
  --text-light: #ffffff;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin:0; padding:0; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-dark);
  background-image: radial-gradient(circle at 10% 20%, rgb(255, 255, 255), transparent 70%),
                    radial-gradient(circle at 80% 40%, rgba(0, 197, 82, 0.762), transparent 20%);
  background-attachment: fixed;
  color: var(--text-dark);
  margin: 0;
  padding: 40px 16px;
}

/* ===== Back Button ===== */
.back-btn {
  position: fixed;
  top: 20px;
  left: 30%;
  right: 30%;
  z-index: 1000;
  background: var(--green-dark);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s ease, transform 0.2s;
  border: none;
  
}
.back-btn:hover { background: #1e874b; transform: scale(1.05); }

/* ===== Pricing Table ===== */
.pricing-wrapper { max-width: 1200px; margin: 60px auto 0 auto; }

.features-explained {
  max-width: 80%;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.204);
  border-radius: 12px;
  color: #000000;
  line-height: 1.6;
}

.features-explained h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--green);
  text-align: center;
}

.features-explained ul {
  list-style: none;
  padding: 0;
}

.features-explained li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.btn.regalo {
  margin-top: 10px;
  background: linear-gradient(135deg, #ff4d4d, #ff8c42);
  color: white;
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  font-weight: bold;
}

/* ================= MODAL BASE ================= */

.gift-modal,
.redeem-modal {
  backdrop-filter: blur(6px);
  animation: modalFadeIn 0.35s ease-out;
}

.gift-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gift-modal.hidden {
  display: none;
}

.wsp-phone {
  width: 320px;
  background: #0b141a;
  border-radius: 14px;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}

.wsp-header {
  background: #075e54;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

.wsp-chat {
  padding: 12px;
  background: #0b141a;
}

.msg {
  max-width: 80%;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.msg.received {
  background: #1f2c34;
  color: #e9edef;
}

.wsp-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #202c33;
}

.wsp-input input {
  padding: 8px;
  border-radius: 6px;
  border: none;
}

.wsp-input button {
  background: #25d366;
  border: none;
  padding: 8px;
  font-weight: bold;
  border-radius: 6px;
}




@media (min-width: 901px) {
  .pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .carousel { display: contents; }
}

.plan {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  border: 2px solid rgba(46,204,113,0.15);
  transition: transform 0.3s, border-color 0.3s;
}
.plan:hover {
  transform: translateY(-6px);
  border-color: var(--green);
}

.plan__head { display:flex; flex-direction:column; align-items:center; gap:6px; margin-bottom: 12px; }
.plan__icon { font-size: 30px; line-height: 1; }
.plan__title { font-size: 1.4rem; font-weight: 700; }
.plan__price {
  font-size: 1.2rem;
  font-weight: 700;
  background: rgba(46,204,113,.08);
  color: var(--green-dark);
  padding: 4px 12px;
  border-radius: 999px;
}

.features {
  list-style: none;
  width: 100%;
  margin: 16px 0 24px 0;
  padding: 0;
}
.features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.features li.muted {
  color: #9ca3af;
  font-style: italic;
}

/* ===== Botones ===== */
.btn.mp {
  background-color: var(--green);
  color: var(--text-light);
  padding: 12px 26px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}
.btn.mp:hover {
  background-color: var(--green-dark);
  transform: scale(1.05);
}

/* ===== Mobile Carousel ===== */
@media (max-width: 900px) {
  .pricing-table { display: block; }
  .carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 8px 24px 8px;
    perspective: 1200px;
  }
  .carousel::-webkit-scrollbar { height: 6px; }
  .carousel::-webkit-scrollbar-thumb { background: rgba(46,204,113,.4); border-radius: 8px; }

  .plan { min-width: 85%; scroll-snap-align: center; margin: 0 4px; }
  .plan.is-center { transform: translateZ(20px) scale(1.01); box-shadow: 0 12px 24px rgba(0,0,0,.15); }
  .plan.is-left { transform: rotateY(8deg) scale(.98); }
  .plan.is-right { transform: rotateY(-8deg) scale(.98); }

  .dots { display:flex; justify-content:center; gap:8px; margin:12px 0; }
  .dot {
    width:9px; height:9px; border-radius:50%; background:#cbd5e1;
    transition: transform .2s, background .2s;
  }
  .dot.active { background: var(--green); transform: scale(1.4); }
}

.redeem-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.redeem-modal.hidden {
  display: none;
}

.redeem-box {
  background: linear-gradient(180deg, #0f172a, #020617);
  color: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 16px;
  padding: 24px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: modalFadeIn 0.35s ease-out;
}


.redeem-header {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.redeem-header .close {
  cursor: pointer;
  font-size: 22px;
}

.redeem-body input {
  background: #020617;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.redeem-body input:focus {
  outline: none;
  border-color: #00ff9c;
}



.redeem-footer {
  text-align: right;
}

.redeem-btn {
  background: #00ff9c;
  color: #000;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}


.client-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
}

.perfil-btn {
  transition: transform .2s ease, box-shadow .2s ease;
  background: linear-gradient(135deg, #00ff9c, #00c2ff);
  color: #000;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.perfil-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
