:root {
  --prensa-oscuro: #0b1220;
  --prensa-rojo: #dc2626;
  --nl-acento: #0d9488;
  --nl-acento-claro: #14b8a6;
  --nl-acento-suave: #ccfbf1;
}

body {
  background: #f1f5f9;
  padding-bottom: env(safe-area-inset-bottom);
}

.barra {
  background: var(--prensa-oscuro);
  padding-top: calc(env(safe-area-inset-top) + .4rem);
}

.tarjeta {
  background: #fff;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .05);
}

.stat .numero { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.stat .etiqueta { font-size: .78rem; color: #64748b; text-transform: uppercase; letter-spacing: .03em; }

.lista-conf a { text-decoration: none; color: inherit; }
.lista-conf .item { transition: background .15s; }
.lista-conf .item:hover { background: #f8fafc; }

/* --- Grabadora --- */
.grabadora { text-align: center; }
.reloj {
  font-variant-numeric: tabular-nums;
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--prensa-oscuro);
}
.btn-grabar {
  width: 128px; height: 128px;
  border-radius: 50%;
  border: 6px solid #fecaca;
  background: var(--prensa-rojo);
  color: #fff;
  font-size: 3rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(220, 38, 38, .35);
}
.btn-grabar:disabled { opacity: .5; }
.btn-grabar.grabando:disabled { opacity: 1; }
.btn-grabar.grabando { animation: latido 1.6s ease-in-out infinite; }
@keyframes latido {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45); }
  50% { box-shadow: 0 0 0 18px rgba(220, 38, 38, 0); }
}
.medidor {
  height: 14px;
  border-radius: 7px;
  background: #e2e8f0;
  overflow: hidden;
}
.medidor .nivel {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #16a34a 0%, #16a34a 60%, #eab308 80%, #dc2626 100%);
  transition: width .08s linear;
}
.punto-rec {
  display: inline-block; width: .7rem; height: .7rem; border-radius: 50%;
  background: var(--prensa-rojo); animation: parpadeo 1s steps(2, start) infinite;
}
@keyframes parpadeo { to { visibility: hidden; } }

/* --- Detalle --- */
.reproductor {
  position: sticky;
  top: calc(56px + env(safe-area-inset-top));
  z-index: 10;
  background: #fff;
  border-radius: .75rem;
  padding: .5rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
}
.reproductor audio { width: 100%; }

.segmento { padding: .35rem .5rem; border-radius: .5rem; }
.segmento.activo { background: #fef3c7; }
.segmento .marca {
  font-variant-numeric: tabular-nums;
  font-size: .8rem;
  min-width: 3.6rem;
}
.cuerpo-nota {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.6;
}
.cita {
  border-left: 4px solid var(--prensa-rojo);
  padding-left: .75rem;
}
.verificar-item { border-left: 4px solid #f59e0b; padding-left: .75rem; }
.nav-tabs .nav-link { font-weight: 600; }
textarea.autoalto { overflow: hidden; resize: vertical; }
.min-w-0 { min-width: 0; }

/* ===================== NotaLista ===================== */
.marca { font-weight: 800; letter-spacing: -.01em; }
.marca span { color: var(--nl-acento-claro); }
.btn-acento { background: var(--nl-acento); border-color: var(--nl-acento); color: #fff; font-weight: 600; }
.btn-acento:hover, .btn-acento:focus { background: #0f766e; border-color: #0f766e; color: #fff; }
.text-acento { color: var(--nl-acento) !important; }
.bg-acento-suave { background: var(--nl-acento-suave); }
.progress-acento .progress-bar { background: var(--nl-acento); }

/* Botón flotante de WhatsApp */
.whatsapp-flotante {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 1050;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25); text-decoration: none;
  transition: transform .15s;
}
.whatsapp-flotante:hover { transform: scale(1.06); color: #fff; }
.whatsapp-burbuja {
  position: absolute; right: 70px; white-space: nowrap;
  background: #fff; color: #111827; font-size: .85rem; font-weight: 600;
  padding: .4rem .7rem; border-radius: .6rem; box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
@media (max-width: 575px) { .whatsapp-burbuja { display: none; } }

/* Landing */
.landing section { padding: 3.5rem 0; }
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(20,184,166,.35), transparent 60%),
              linear-gradient(160deg, #0b1220 0%, #111c33 60%, #0b1220 100%);
  color: #e5e7eb; padding: 3.5rem 0 4rem !important;
}
.hero h1 { color: #fff; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(2rem, 6vw, 3.4rem); }
.hero h1 .resalta { color: var(--nl-acento-claro); }
.hero .lead { color: #cbd5e1; max-width: 36rem; }
.hero .chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(20,184,166,.15);
  color: #99f6e4; border: 1px solid rgba(20,184,166,.35); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; }
.maqueta {
  background: #fff; color: #111827; border-radius: 1.2rem; padding: 1.1rem 1.2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,.45); max-width: 360px; margin-left: auto; margin-right: auto;
}
.maqueta .etiqueta { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
.maqueta .titulo { font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.maqueta .parrafo { font-family: Georgia, serif; font-size: .9rem; color: #334155; }
.maqueta .cita-m { border-left: 3px solid var(--nl-acento); padding-left: .6rem; font-size: .85rem; }
.maqueta .ok { color: #16a34a; }
.paso-num { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--nl-acento); color: #fff;
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.beneficio i { font-size: 1.6rem; color: var(--nl-acento); }
.precio-card { border: 2px solid var(--nl-acento); border-radius: 1.2rem; background: #fff; }
.precio-card .monto { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.precio-card li { padding: .3rem 0; }
.precio-card li i { color: var(--nl-acento); }
.promo { background: #fef3c7; color: #92400e; border-radius: .6rem; padding: .5rem .8rem; font-weight: 600; font-size: .9rem; }
.landing .faq .accordion-button:not(.collapsed) { background: var(--nl-acento-suave); color: #134e4a; }
.pie { background: #0b1220; color: #94a3b8; padding: 2rem 0 5.5rem; }
.pie a { color: #cbd5e1; }

/* Negocio */
.badge-vence { background: #fef3c7; color: #92400e; }
.tabla-clientes td, .tabla-clientes th { vertical-align: middle; }
