/* =============================================================
   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: #38bdf8;
  box-shadow: 0 18px 44px rgba(56, 189, 248, .18);
}
.plan__cinta {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #0ea5e9;
  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: .84rem; 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: .85rem; color: #52607a; display: flex; gap: 8px; line-height: 1.45; }
.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: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .15);
}
.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; }

@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; }
}
