/* Página del bot de WhatsApp para WordPress (bot-whatsapp.html). Usa los tokens de styles.css */

.muted { color: var(--muted); font-weight: 400; }

/* ---------- Encabezado ---------- */

.bot-hero {
  padding: 56px 0 88px;
}

.bot-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.bot-hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.2rem);
  margin: 18px 0 20px;
}

.bot-hero h1 .serif { display: block; }

.bot-lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 34ch;
}

.bot-proof {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.94rem;
}

.bot-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bot-proof li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.5-5' fill='none' stroke='%232b3bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

@media (max-width: 900px) {
  .bot-hero { padding: 32px 0 64px; }
  .bot-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Cómo funciona ---------- */

.bot-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bot-steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.bot-steps b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
}

.bot-steps h3 {
  font-size: 1.25rem;
  margin: 18px 0 8px;
}

.bot-steps p { color: var(--muted); }

.bot-note {
  margin: 20px 0 40px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-size: 0.97rem;
}

.card .bot-note { margin: 16px 0 0; }

#como-funciona .live-demo { background: var(--bg); }

@media (max-width: 900px) {
  .bot-steps { grid-template-columns: 1fr; }
}

/* ---------- Qué puedes cambiar / para quién ---------- */

.bot-features h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.bot-features p { color: var(--muted); }

.bot-who { margin-top: 48px; }

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
}

.chips li:nth-child(4n + 1) { background: var(--lilac); border-color: transparent; }
.chips li:nth-child(4n + 2) { background: var(--mint); border-color: transparent; }
.chips li:nth-child(4n + 3) { background: var(--butter); border-color: transparent; }
.chips li:nth-child(4n + 4) { background: var(--sky); border-color: transparent; }

/* ---------- Planes ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan h3 { font-size: 1.4rem; }

.plan-for {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
  min-height: 3em;
}

.plan-price {
  margin: 20px 0 4px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.plan-price strong {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan-price span { color: var(--muted); font-size: 0.92rem; }

.plan-plus {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 28px;
  display: grid;
  gap: 9px;
  font-size: 0.95rem;
  flex: 1;
  align-content: start;
}

.plan-list li {
  position: relative;
  padding-left: 26px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 1px;
  margin-top: 0.8em;
  background: var(--accent);
}

.plan .btn { width: 100%; }

.plan-pro {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.plan-extras {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.plan-extras h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.plan-annual { background: var(--butter); border-color: transparent; }

.plan-annual-big {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 8px 0 16px;
}

.bot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.bot-table th,
.bot-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
}

.bot-table thead th {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.bot-table tbody th { font-weight: 600; }

.compare {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 28px;
}

.compare summary {
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
}

.compare[open] { padding-bottom: 20px; }

.compare .bot-table { min-width: 560px; }

@media (max-width: 900px) {
  .plans,
  .plan-extras { grid-template-columns: 1fr; }
  .plans { gap: 28px; }
  .plan-for { min-height: 0; }
  /* En celular, Pro primero */
  .plan-pro { order: -1; }
  .compare { padding: 0 20px; }
}

/* ---------- Seguridad ---------- */

.bot-security {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.bot-security h2 { font-size: clamp(2rem, 5vw, 3.1rem); }

.lock-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.lock-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.lock-list li::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b3bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / 20px no-repeat;
}

@media (max-width: 900px) {
  .bot-security { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Preguntas frecuentes ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 200ms var(--ease-out);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  color: var(--muted);
  padding-bottom: 18px;
}

/* ---------- Pie ---------- */

.footer-disclaimer {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}
