/* =============================================================
   estilos-extra.css — 新增部分的样式（不覆盖 estilos.css）
   包含：语言切换、手机模型视频、订阅页、工作台
   ============================================================= */

/* ---------- 语言切换 ---------- */
.idiomas {
  display: flex;
  gap: 2px;
  background: #eef2f7;
  border-radius: 9px;
  padding: 3px;
  margin-right: 6px;
}
.idiomas button {
  border: none;
  background: transparent;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  line-height: 1.4;
}
.idiomas button:hover { color: #0f172a; }
.idiomas button.activo {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .14);
}
.barra__enlaces a.activo { color: var(--tinta); background: #eef2f7; }

/* ---------- 手机模型里的视频 ---------- */
.movil__pantalla video.movil__foto {
  opacity: 1;
  object-fit: cover;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: block;
}
.movil__play { display: none; }

/* ---------- 订阅页 ---------- */
.planes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  height: 100%;
}
.plan--destacado {
  border-color: #E8541E;
  box-shadow: 0 18px 44px rgba(232, 84, 30, .2);
}
/* 绿版高亮（免费 / 基础）：与标准套餐同款处理，仅换绿色 */
.plan--verde {
  border-color: var(--verde);
  box-shadow: 0 18px 44px rgba(46, 158, 91, .18);
}
/* 绿色按钮（与 btn--primario 同款，仅换绿色） */
.btn--verde {
  background: linear-gradient(135deg, #34b06a, #1f7d45);
  color: #fff;
  box-shadow: 0 10px 22px rgba(46, 158, 91, .32);
}
.btn--verde:hover { filter: brightness(.97); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(46, 158, 91, .42); }
.plan__cinta {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #C2410C;
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 1rem; letter-spacing: -.01em; }
.plan__desc { font-size: .92rem; color: #52607a; min-height: 36px; }
.plan__precio { display: flex; align-items: baseline; gap: 5px; }
.plan__precio b { font-size: 1.95rem; letter-spacing: -.045em; font-weight: 800; }
.plan__precio span { font-size: .75rem; color: #8592a8; }
.plan__nota { font-size: .74rem; color: #059669; font-weight: 650; margin-top: -6px; }
.plan ul { display: grid; gap: 8px; margin: 4px 0 10px; }
.plan li { font-size: .92rem; color: #52607a; display: flex; gap: 8px; line-height: 1.5; }
.plan li::before { content: "✓"; color: #059669; font-weight: 800; flex: none; }
.plan li.no { color: #8592a8; }
.plan li.no::before { content: "✕"; color: #a9b3c4; }
.plan .btn { margin-top: auto; }

/* ---------- 工作台 ---------- */
.work {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 18px;
  align-items: start;
}
.campo { display: grid; gap: 6px; margin-top: 16px; }
.campo:first-of-type { margin-top: 0; }
.campo label { font-size: .84rem; font-weight: 700; letter-spacing: -.01em; }
.campo input,
.campo textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d5dce8;
  border-radius: 10px;
  font: inherit;
  font-size: .9rem;
  background: #fff;
  color: #0f172a;
}
.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: #E8541E;
  box-shadow: 0 0 0 3px rgba(232, 84, 30, .16);
}
.campo textarea { min-height: 72px; resize: vertical; }
.campo input[type="file"] { padding: 8px; font-size: .82rem; background: #f8fafc; }
.pista { font-size: .76rem; color: #8592a8; line-height: 1.45; }

.qr-lienzo {
  width: min(260px, 100%);
  margin: 0 auto;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
}
.qr-lienzo canvas,
.qr-lienzo img { width: 100% !important; height: auto !important; display: block; }

.url-caja {
  margin-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  background: #f6f8fb;
  border: 1px solid var(--linea);
  border-radius: 8px;
  padding: 8px 10px;
  color: #52607a;
  word-break: break-all;
  text-align: left;
}

.aviso-demo {
  background: #fff8e6;
  border: 1px solid #f5dfa8;
  color: #7a5200;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: .84rem;
  line-height: 1.55;
  margin-bottom: 20px;
}
.tenue { color: #8592a8; }

/* 价格参考说明（试验阶段，价格未定） */
.aviso-ref {
  max-width: 720px;
  margin: 0 auto 30px;
  background: var(--cielo-suave);
  border: 1px solid #f6d9c8;
  color: #7a3414;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: .85rem;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Pago (checkout placeholder) ---------- */
.pago-tarjeta {
  max-width: 520px;
  margin: 0 auto 22px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 26px 24px;
  text-align: center;
  box-shadow: var(--sombra);
}
.pago-etiq {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cielo-osc);
  background: var(--cielo-suave);
  border-radius: 7px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.pago-tarjeta .plan-nombre { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.pago-tarjeta .plan-precio { margin-top: 6px; font-size: 1.2rem; font-weight: 700; color: var(--cielo-osc); }
.pago-tarjeta .plan-precio span { font-size: .8rem; color: var(--tenue); font-weight: 600; }
.pago-tarjeta .plan-nota { margin-top: 8px; font-size: .8rem; color: var(--tenue); }
.pago-form {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 26px 24px;
}
.pago-form h3 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 4px; }
.pago-formsub { font-size: .85rem; color: var(--suave); margin-bottom: 14px; }
.pago-form .btn { margin-top: 16px; }
.pago-exito {
  max-width: 520px;
  margin: 0 auto;
  background: var(--cielo-suave);
  border: 1px solid #f6d9c8;
  color: #7a3414;
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
}
.pago-exito p { font-size: .98rem; line-height: 1.5; }

@media (max-width: 980px) {
  .planes { grid-template-columns: repeat(2, 1fr); }
  .work { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .planes { grid-template-columns: 1fr; }
  .idiomas button { padding: 5px 7px; font-size: .74rem; }
  .barra__acciones .btn--primario { padding: 8px 12px; font-size: .82rem; }
}

/* ---------- 浮动 WhatsApp 按钮（转化） ---------- */
.wa-flotante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42);
  border-radius: 999px;
  padding: 13px 18px 13px 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-flotante:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, .5); }
.wa-flotante svg { width: 25px; height: 25px; flex: none; }
.wa-flotante span { font-size: .9rem; line-height: 1; white-space: nowrap; }
.wa-flotante__pulse {
  position: absolute;
  left: 19px; top: 50%;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(37, 211, 102, .55);
  transform: translate(-50%, -50%);
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: translate(-50%, -50%) scale(.6); opacity: .85; }
  70% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 按钮：WhatsApp / 描边深色 ---------- */
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1ebe5b; }
.btn--borde-osc { color: #C2410C; border: 1.5px solid #C2410C; background: #fff; }
.btn--borde-osc:hover { background: #fff3ec; }

/* ---------- 联系方式卡片 ---------- */
.tarjetas--contacto { gap: 16px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tarjetas--contacto .tarjeta { display: flex; flex-direction: column; }
.tarjetas--contacto .tarjeta .btn { margin-top: auto; }
.tarjeta--wa { border-color: #25D366; box-shadow: 0 14px 34px rgba(37, 211, 102, .16); }
.tarjeta--wa .tarjeta__icono { background: #e9fbef; color: #1ebe5b; }
.tarjeta .btn { margin-top: 16px; }

@media (max-width: 640px) {
  .wa-flotante { right: 14px; bottom: 14px; padding: 12px; }
  .wa-flotante span { display: none; }
  .wa-flotante__pulse { left: 18px; }
}
