body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f6f8fa;
  margin: 0;
  color: #1e293b;
}
.pricing-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}
.titulo { font-size: 2rem; margin-bottom: 10px; }
.subtitulo {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}
.banner-frase {
  background: linear-gradient(90deg, #00bfa6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 40px;
  animation: fadeIn 1s ease;
}
@keyframes fadeIn { from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }

/* Toggle */
.toggle-container { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:35px; font-weight:600; }
.tag-desc { color:#059669; font-size:.9rem; background:#dcfce7; padding:2px 8px; border-radius:999px; }

/* Switch */
.switch { position:relative; display:inline-block; width:55px; height:28px; }
.switch input { display:none; }
.slider { position:absolute; inset:0; cursor:pointer; background:#cbd5e1; border-radius:34px; transition:.3s; }
.slider:before { content:""; position:absolute; height:22px; width:22px; left:3px; bottom:3px; background:#fff; border-radius:50%; transition:.3s; }
input:checked + .slider { background:#00bfa6; }
input:checked + .slider:before { transform:translateX(26px); }

/* Planes */
.planes { display:grid; gap:25px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.card {
  position:relative; background:#fff; border-radius:16px; padding:25px 20px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform:translateY(-6px); box-shadow:0 10px 28px rgba(0,0,0,.08); }
.card.destacado { border:2px solid #00bfa6; background:linear-gradient(180deg,#ecfdf5 0%,#fff 100%); }

.ribbon {
  position:absolute; top:14px; left:-6px;
  background:#38bdf8; color:#fff; font-size:.75rem;
  padding:4px 10px; border-top-right-radius:8px; border-bottom-right-radius:8px;
}
.ribbon--green { background:#10b981; }

.card h3 { margin:0 0 8px; font-size:1.3rem; color:#0f172a; }
.price { font-size:1.9rem; font-weight:800; color:#00bfa6; margin:10px 0 6px; }
.price small { font-size:.9rem; color:#475569; }
.price-compare { height:22px; margin-bottom:6px; }
.tachado { text-decoration:line-through; color:#94a3b8; margin-right:8px; }
.pill { display:inline-block; padding:2px 8px; border-radius:999px; font-size:.75rem; font-weight:700; background:#dcfce7; color:#065f46; }
.saving { color:#0f172a; font-size:.92rem; min-height:20px; }
.clientes { font-weight:700; color:#334155; margin-bottom:10px; }

.card p { font-size:.95rem; color:#475569; margin-bottom:20px; min-height:60px; }

.btn {
  display:inline-block; padding:10px 20px; background:#00bfa6;
  color:#fff; border-radius:8px; text-decoration:none; font-weight:600;
  transition:background .25s ease;
}
.btn:hover { background:#059669; }
.btn--pulse { animation:pulse 1.8s infinite ease-in-out; }
@keyframes pulse {
  0%{ box-shadow:0 0 0 0 rgba(16,185,129,.4);}
  70%{ box-shadow:0 0 0 14px rgba(16,185,129,0);}
  100%{ box-shadow:0 0 0 0 rgba(16,185,129,0);}
}

.nota-iva {
  color:#64748b;
  font-size:.9rem;
  margin-top:25px;
  line-height:1.6;
}

.confetti {
  position:fixed; left:50%; top:12px; transform:translateX(-50%);
  font-size:24px; pointer-events:none; animation:fall 1.1s ease forwards;
}
@keyframes fall {
  0%{opacity:0; transform:translate(-50%,-10px) rotate(0deg);}
  20%{opacity:1;}
  100%{opacity:0; transform:translate(-50%,40px) rotate(6deg);}
}

/* ================================
   WhatsApp Add-on por plan
================================ */

.wa-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease;
}

.wa-toggle:hover {
  background: #e2e8f0;
  box-shadow: inset 0 0 0 1px #cbd5e1;
}

.wa-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #25d366; /* verde WhatsApp */
  cursor: pointer;
}

/* Texto "WhatsApp incluido" */
.hint {
  display: block;
  margin: 10px 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
}

/* Ajuste visual en cards con WhatsApp */
.card[data-wa="0"] .wa-toggle {
  display: none;
}

/* ==============================
   SECCIÓN SEO / TEXTO INFORMATIVO
================================ */
.seo-section {
  max-width: 900px;
  margin: 70px auto 20px;
  padding: 35px 30px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0,0,0,.06);
  color: #334155;
}

.seo-section h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: #0f172a;
  position: relative;
}

.seo-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00bfa6, #0ea5e9);
}

.seo-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 15px 0 25px;
}

.seo-section ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.seo-section ul li {
  font-size: .95rem;
  color: #334155;
  padding-left: 28px;
  position: relative;
}

.seo-section ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 700;
}

/* ===========================
   SELECTOR DE PERIODO
=========================== */

.toggle-container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin:28px auto 40px;
  padding:12px 18px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  width:fit-content;
  box-shadow:0 6px 20px rgba(0,0,0,.05);
}

.toggle-container label{
  font-weight:600;
  color:#334155;
  font-size:.95rem;
}

/* SELECT */
.periodo-select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding:10px 42px 10px 14px;
  font-size:.95rem;
  font-weight:600;
  color:#0f172a;
  background:#ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 8 10 12 14 8'/%3E%3C/svg%3E") no-repeat right 14px center;
  border:1px solid #d1d5db;
  border-radius:10px;
  cursor:pointer;
  transition:all .2s ease;
  min-width:240px;
}

/* Hover */
.periodo-select:hover{
  border-color:#22c55e;
}

/* Focus */
.periodo-select:focus{
  outline:none;
  border-color:#22c55e;
  box-shadow:0 0 0 3px rgba(34,197,94,.15);
}

/* MOBILE */
@media (max-width:600px){
  .toggle-container{
    flex-direction:column;
    gap:8px;
    padding:14px;
  }

  .periodo-select{
    width:100%;
    min-width:auto;
  }
}

