/* Paleta NSL (second-brain/3-Recursos/Marca/manual-de-marca-NSL-Voces.md) */
:root {
  --sky: #00c8ff;
  --deep: #005a7f;
  --gold: #ffcc00;
  --coral: #d94d3d;
  --menta: #0f9d8a;
  --ink: #0a0a0a;
  --secondary: #4a5560;
  --paper-1: #f6fbff;
  --paper-2: #ebf8ff;
  --surface: #ffffff;
  --border: #d9eaf2;
  --radius: 14px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  accent-color: var(--sky);
}

/* Variante oscura (manual de marca NSL, sección "Oscuro") — para el flujo de
   reserva pública, que sigue la referencia visual pedida. Se activa con
   `<body class="dark">`; el resto de los componentes (.card, botones,
   badges…) ya leen estas variables, así que no hace falta duplicarlos. */
body.dark {
  --deep: #7fd9ff;
  --secondary: #9cc3da;
  --paper-1: #081018;
  --paper-2: #0f1d2b;
  --surface: #132638;
  --border: #24455f;
  --ink: #e7f5ff;
}
body.dark .slot-btn { background: #fff; color: #14202b; border-color: transparent; }
body.dark .slot-btn:hover { background: #eaf6ff; }
body.dark .slot-btn.selected { background: var(--sky); color: #01202b; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper-1), var(--paper-2) 320px, var(--paper-1) 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.wrap.wide { max-width: 1180px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
/* Ancho fijo (no min-width del texto): que ES/EN midan lo mismo y no "salte" el layout al cambiar idioma. */
.header-actions .btn { width: 148px; padding: 9px 12px; font-size: 0.88rem; text-align: center; white-space: nowrap; }

.lang-switch { display: flex; align-items: center; background: var(--paper-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-btn { border: none; background: transparent; color: var(--secondary); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.lang-btn:hover { color: var(--deep); }
.lang-btn.active { background: var(--surface); color: var(--deep); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }

@media (max-width: 480px) {
  .header-actions { gap: 6px; }
  .header-actions .btn { width: 104px; padding: 8px 8px; font-size: 0.76rem; }
  .lang-btn { padding: 4px 8px; font-size: 0.68rem; }
}

body.landing header.top {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 calc(50% - 50vw);
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Header de la landing: arranca oscuro sobre el hero, se aclara al bajar
   (inspirado en tuturno.io) — solo en index.html, no en el resto del sitio. */
body.landing header.top.hero-header {
  background: var(--deep);
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
body.landing header.top.hero-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
.hero-header .lang-switch { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); }
.hero-header .lang-btn { color: rgba(255, 255, 255, 0.75); }
.hero-header .lang-btn:hover { color: #fff; }
.hero-header .lang-btn.active { background: #fff; color: var(--deep); }
.hero-header .header-actions .btn.secondary { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
/* El degradado deep→sky del logo se funde con el fondo oscuro del header — acá va sólido claro */
.hero-header .brand { background: none; -webkit-background-clip: unset; background-clip: unset; color: #fff; }
.hero-header.scrolled .brand { background: linear-gradient(90deg, var(--deep), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-header.scrolled .lang-switch { background: var(--paper-2); border-color: var(--border); }
.hero-header.scrolled .lang-btn { color: var(--secondary); }
.hero-header.scrolled .lang-btn:hover { color: var(--deep); }
.hero-header.scrolled .lang-btn.active { background: var(--surface); color: var(--deep); }
.hero-header.scrolled .header-actions .btn.secondary { background: var(--paper-2); border-color: var(--border); color: var(--deep); }

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--deep), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(10, 20, 30, 0.04);
}

h1 { font-size: 1.6rem; margin: 0 0 6px; color: var(--deep); }
h2 { font-size: 1.15rem; margin: 0 0 14px; color: var(--deep); }
p.lead { color: var(--secondary); margin-top: 0; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 14px 0 6px;
}
label:first-child { margin-top: 0; }

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--paper-1);
  color: var(--ink);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
}

/* El `input, select { width: 100% }` de arriba también agarraba a los checkbox/radio:
   dentro de un label flex (.check-inline) el checkbox se estiraba a todo el ancho
   disponible y el texto quedaba empujado al borde derecho, desacoplado de su casilla. */
input[type="checkbox"], input[type="radio"] {
  width: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--secondary);
}
.check input { width: auto; margin-top: 3px; }

button, .btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: var(--sky);
  color: #01202b;
  text-decoration: none;
  text-align: center;
}
button:hover, .btn:hover { filter: brightness(1.05); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.secondary, .btn.secondary { background: var(--paper-2); color: var(--deep); border: 1px solid var(--border); }
button.danger { background: var(--coral); color: #fff; }
button.block, .btn.block { display: block; width: 100%; margin-top: 18px; }

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.slot-day { margin-top: 16px; }
.slot-day .fecha { font-weight: 600; color: var(--deep); font-size: 0.85rem; text-transform: capitalize; margin-bottom: 6px; }
.slot-btn {
  border: 1px solid var(--border);
  background: var(--paper-1);
  border-radius: 8px;
  padding: 8px 4px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
}
.slot-btn:hover { border-color: var(--sky); background: #e6f9ff; }
.slot-btn.selected { background: var(--sky); border-color: var(--sky); color: #01202b; font-weight: 700; }
/* CAT-010 · cupo restante de un turno grupal, debajo del horario */
.slot-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.slot-cupo { font-size: 0.62rem; font-weight: 600; color: var(--menta); text-transform: uppercase; letter-spacing: 0.02em; }
.slot-btn.selected .slot-cupo { color: #0f4a3d; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.badge.confirmado { background: #e0f7f3; color: var(--menta); }
.badge.completado { background: #e6f9ff; color: var(--deep); }
.badge.ausente, .badge.cancelado_cliente, .badge.cancelado_negocio, .badge.cancelado_sistema {
  background: #ffeeea; color: var(--coral);
}
.badge.pendiente_pago { background: #fff8e0; color: #9a7b00; }
.badge.inactivo { background: var(--paper-2); color: var(--secondary); }

.msg { border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; margin-top: 14px; }
.msg.error { background: #ffeeea; color: var(--coral); }
.msg.ok { background: #e0f7f3; color: var(--menta); }
.msg.info { background: var(--paper-2); color: var(--deep); }

.turno-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.turno-row:last-child { border-bottom: none; }
.turno-row .avatar { margin-top: 1px; }
.turno-row .info { flex: 1; min-width: 0; }
.turno-row .info .quien { font-weight: 700; color: var(--deep); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.turno-row .info .servicio { color: var(--secondary); font-size: 0.86rem; margin-top: 2px; }
.turno-row .info .cuando { color: var(--secondary); font-size: 0.78rem; margin-top: 2px; font-family: var(--font-mono); text-transform: capitalize; }
.sesion-detalle { margin-top: 10px; max-width: 360px; }
.sesion-detalle label { margin: 8px 0 4px; }
.sesion-detalle .sd-msg { color: var(--coral); font-size: 0.8rem; }
.turno-row .acciones { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; max-width: 220px; }
/* Bloquear/desbloquear cliente es una acción rara — no debería competir visualmente con Completado/Ausente/Cancelar */
.turno-row .acciones button.tenue { background: transparent; border: none; color: var(--secondary); text-decoration: underline; padding: 6px 2px; }
.turno-row .acciones button.tenue:hover { color: var(--coral); }
.turno-row .acciones button { padding: 6px 10px; font-size: 0.8rem; }

.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.stat { flex: 1; min-width: 108px; background: var(--paper-2); border-radius: 10px; padding: 14px; text-align: center; }
.stat .n { font-size: 1.5rem; font-weight: 800; color: var(--deep); }
.stat .l { font-size: 0.75rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.03em; }

/* ── Panel del negocio (dashboard real) ──────────────────────────────────── */

/* Navbar oscura del panel — logo + nombre de la empresa a la izquierda, avatar/menú a la derecha. */
.panel-navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 calc(50% - 50vw) 28px;
  padding: 12px clamp(20px, 4vw, 56px);
  background: #14212c;
}
.panel-navbar-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.panel-navbar-logo, .panel-navbar-logo-placeholder { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; object-fit: cover; }
.panel-navbar-logo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--sky); color: #01202b; font-weight: 800; font-size: 1.1rem; }
.panel-navbar-text { min-width: 0; }
.panel-navbar-name { margin: 0; font-size: 1.05rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-navbar-sub { margin: 1px 0 0; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; }

.panel-user { position: relative; flex-shrink: 0; }
.panel-user-btn { display: flex; align-items: center; gap: 8px; background: none; border: none; color: #fff; font-weight: 700; font-size: 0.92rem; cursor: pointer; padding: 6px 8px; border-radius: 10px; font-family: inherit; }
.panel-user-btn:hover { background: rgba(255, 255, 255, 0.1); }
.panel-user-avatar { width: 30px; height: 30px; font-size: 0.85rem; border: 2px solid var(--gold); flex-shrink: 0; }
.panel-user-chevron { transition: transform 0.15s ease; }
.panel-user.open .panel-user-chevron { transform: rotate(180deg); }
.panel-user-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 30;
  background: var(--surface); border-radius: 14px; padding: 8px;
  min-width: 236px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.4);
  display: none;
}
.panel-user.open .panel-user-menu { display: block; }
.panel-user-menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.panel-user-menu-head .nombre { font-weight: 800; color: var(--ink); }
.panel-user-menu-head .email { font-size: 0.78rem; color: var(--secondary); word-break: break-all; }
.panel-user-menu-label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--secondary); padding: 8px 10px 2px; margin: 0; }
.panel-user-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 10px; border-radius: 8px; border: none; background: none;
  font-family: inherit; font-weight: 600; font-size: 0.88rem; color: var(--ink);
  text-decoration: none; cursor: pointer; text-align: left;
}
.panel-user-menu-item:hover { background: var(--paper-2); }
.panel-user-menu-item svg { flex-shrink: 0; color: var(--secondary); }
/* pisa a `button.danger` (fondo coral + texto blanco) — acá el ítem del menú lleva
   el mismo fondo transparente que sus hermanos, solo el texto/ícono van en coral. */
.panel-user-menu-item.danger { background: none; color: var(--coral); }
.panel-user-menu-item.danger:hover { background: var(--paper-2); }
.panel-user-menu-item.danger svg { color: var(--coral); }

/* Barra de 12 pestañas con ícono — la activa se expande con texto, el resto queda en cuadrado gris. */
.icon-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 20px; }
.icon-tab {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  height: 44px; width: 44px; padding: 0; overflow: hidden; white-space: nowrap;
  border-radius: 10px; border: 1px solid var(--border); background: var(--paper-2);
  color: var(--secondary); cursor: pointer; font-family: inherit;
  transition: width 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.icon-tab svg { flex-shrink: 0; margin: 0 auto; }
.icon-tab:hover:not(.active) { border-color: var(--sky); color: var(--deep); }
.icon-tab.active { width: auto; padding: 0 16px 0 13px; background: var(--deep); border-color: var(--deep); color: #fff; }
.icon-tab.active svg { margin: 0; }
.icon-tab-label { display: none; font-weight: 700; font-size: 0.85rem; }
.icon-tab.active .icon-tab-label { display: inline; }

.proximamente-card h2 { display: flex; align-items: center; gap: 8px; }
.proximamente-card .badge-soon { background: var(--paper-2); color: var(--secondary); font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; }

/* Selector de fecha navegable — «« ‹ [5 días] › »» (H9 / Informes, calcado del patrón de tuturno.io). */
.day-strip-nav { display: flex; align-items: flex-start; gap: 6px; }
.day-nav { flex-shrink: 0; width: 36px; height: 36px; padding: 0; border-radius: 9px; background: var(--ink); color: #fff; font-size: 0.95rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.day-nav:hover { filter: brightness(1.3); }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 16px; flex: 1; }
.day-col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; }
.day-col-mes { font-size: 0.64rem; color: var(--secondary); text-transform: lowercase; font-family: var(--font-mono); }
.day-pill {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 54px;
  padding: 9px 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.day-pill:hover { border-color: var(--sky); transform: translateY(-1px); }
.day-pill.active { background: var(--deep); border-color: var(--deep); }
.day-pill-dow { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; color: var(--secondary); text-transform: uppercase; }
.day-pill.active .day-pill-dow { color: rgba(255, 255, 255, 0.72); }
.day-pill-num { font-size: 1.1rem; font-weight: 800; color: var(--deep); }
.day-pill.active .day-pill-num { color: #fff; }
.day-pill-count { font-size: 0.64rem; font-weight: 700; color: var(--sky); background: var(--paper-2); padding: 1px 7px; border-radius: 999px; }
.day-pill.active .day-pill-count { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* Botonera de acciones rápidas de la Agenda: Cambiar vista / Bloquear agenda / Novedades. */
.panel-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 2px 0 22px; }
.pill-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1.5px solid var(--sky); color: var(--deep); border-radius: 999px; padding: 9px 16px; font-size: 0.85rem; font-weight: 700; font-family: inherit; }
.pill-btn:hover { background: var(--paper-2); filter: none; }
.pill-btn.danger-outline { border-color: var(--coral); color: var(--coral); }
.pill-btn svg { flex-shrink: 0; }

.novedades-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.novedades-lista li { font-size: 0.9rem; color: var(--ink); line-height: 1.45; }

.agenda-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.agenda-card-head h2 { margin: 0; }
.check-inline { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--secondary); font-weight: 500; cursor: pointer; }

/* REQ-MET-001 · foco del día: próximo turno destacado + aviso de turnos pasados sin resolver */
.agenda-alert { background: #ffeeea; color: var(--coral); border-radius: 10px; padding: 10px 14px; font-size: 0.86rem; font-weight: 600; margin: 0 0 16px; }
.turno-row.proximo { background: var(--paper-2); margin: 0 -16px; padding: 14px 16px; border-radius: 10px; border-bottom-color: transparent; }
.tag-proximo { background: var(--sky); color: #01202b; font-size: 0.64rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
/* REQ-CRM-002.3 · conteo de ausencias del cliente, visible sin abrir una ficha aparte */
.tag-ausencias { background: #fff8e0; color: #9a7b00; font-size: 0.64rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
/* REQ-NOT-008.UI · fallaron todos los canales de aviso — que lo vea un humano */
.tag-seguimiento { background: #ffeeea; color: var(--coral); font-size: 0.64rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; cursor: help; }

@media (max-width: 560px) {
  .panel-head .stats { flex-wrap: wrap; }
}

/* REQ-CRM-002.1/002.2 · ficha de cliente */
.link-cliente { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: var(--deep); cursor: pointer; text-decoration: none; }
.link-cliente:hover { text-decoration: underline; color: var(--sky); }

/* REQ-CRM-010 · WhatsApp directo — el teléfono del cliente ya está cargado, no hay motivo para tipearlo de nuevo */
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: #25d366; color: #fff; flex-shrink: 0; }
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-whatsapp svg { width: 12px; height: 12px; }
.btn-whatsapp.grande { width: 34px; height: 34px; }
.btn-whatsapp.grande svg { width: 18px; height: 18px; }
.modal-overlay { position: fixed; inset: 0; background: rgba(10, 20, 30, 0.45); z-index: 30; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.modal-box { position: relative; background: var(--surface); border-radius: var(--radius); padding: 28px; max-width: 480px; width: 100%; box-shadow: 0 30px 60px -20px rgba(0, 20, 30, 0.5); }
.modal-cerrar { position: absolute; top: 16px; right: 16px; background: var(--paper-2); border: none; width: 30px; height: 30px; border-radius: 999px; color: var(--secondary); cursor: pointer; font-size: 0.9rem; }
.modal-cerrar:hover { color: var(--deep); }

.muted { color: var(--secondary); font-size: 0.88rem; }
.hidden { display: none !important; }
a { color: var(--deep); }

/* Página dedicada de alta (crear-empresa.html) */
.form-hero { text-align: center; padding: 56px 20px 40px; }
.form-hero .eyebrow { justify-content: center; }
.form-hero h1 { margin: 6px 0 0; font-size: clamp(2rem, 5vw, 3rem); background: linear-gradient(90deg, var(--deep), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.moneda-picker { display: flex; gap: 10px; flex-wrap: wrap; }
.moneda-opt { flex: 1; min-width: 90px; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--paper-1); color: var(--ink); font-weight: 600; cursor: pointer; }
.moneda-opt.active { border-color: var(--sky); background: var(--paper-2); color: var(--deep); box-shadow: inset 0 0 0 1px var(--sky); }
.foot-links { display: flex; gap: 16px; margin-top: 8px; font-size: 0.85rem; }
.form-hero .subtitle { color: var(--secondary); margin: 10px auto 0; max-width: 460px; }

/* ONB-003 · nombre/slogan + logo, lado a lado */
.empresa-datos { display: flex; gap: 16px; align-items: flex-start; }
.empresa-campos { flex: 1; min-width: 0; }
.logo-picker { flex: 0 0 auto; padding-top: 26px; }
.logo-drop {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 88px; height: 88px; border-radius: 999px; border: 1.5px dashed var(--border);
  background: var(--paper-1); color: var(--secondary); font-size: 0.68rem; font-weight: 600;
  line-height: 1.25; cursor: pointer; overflow: hidden;
}
.logo-drop:hover { border-color: var(--sky); color: var(--deep); }
.logo-drop img { width: 100%; height: 100%; object-fit: cover; }

/* ONB-003 · rubro del negocio, grilla de íconos */
.rubro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.rubro-opt {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--paper-1); color: var(--secondary); font-size: 0.72rem; font-weight: 600;
  text-align: center; cursor: pointer;
}
.rubro-opt svg { width: 22px; height: 22px; }
.rubro-opt:hover { border-color: var(--sky); }
.rubro-opt.active { border-color: var(--sky); background: var(--paper-2); color: var(--deep); box-shadow: inset 0 0 0 1px var(--sky); }

/* ONB-003 · horario por día, con turnos partidos y "Replicar" */
.horarios-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; overflow-x: auto; }
@media (max-width: 640px) { .horarios-grid { grid-template-columns: repeat(7, 108px); } }
.horario-dia { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.horario-dia .dia-check { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 0.8rem; color: var(--deep); }
.horario-dia .dia-check input { width: auto; }
.horario-dia.inactivo .dia-check { color: var(--secondary); }
.horario-rango { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.horario-rango input[type="time"] { padding: 6px 4px; font-size: 0.78rem; text-align: center; }
.horario-rango .quitar-rango { border: none; background: none; color: var(--coral); font-size: 0.68rem; cursor: pointer; padding: 0; text-decoration: underline; }
.horario-agregar { border: none; background: none; color: var(--sky); font-size: 1.1rem; font-weight: 700; cursor: pointer; padding: 2px; line-height: 1; }
.horario-agregar:disabled { opacity: 0.3; cursor: default; }
.horario-replicar { width: 100%; padding: 6px 4px; font-size: 0.68rem; border-radius: 8px; }
.horario-replicar:disabled { opacity: 0.35; cursor: default; }

/* ANALISIS_REFERENCIA_TUTURNO_DASHBOARD.md §3.4 · link público + QR, panel */
.link-publico-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--paper-2); border-radius: 10px; padding: 12px 14px; }
.link-publico-box a { font-weight: 700; color: var(--deep); word-break: break-all; }
.link-publico-acciones { display: flex; gap: 8px; flex-shrink: 0; }
#qr-render { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
#qr-render img, #qr-render canvas { border-radius: 8px; border: 1px solid var(--border); }

/* ── Landing ──────────────────────────────────────────────────────────────
   Motivo de marca: el "ticket de turno" — lo que un cliente real recibe hoy
   (un mensaje de WhatsApp) se convierte en algo que se siente hecho, con
   sello y todo. La tipografía serif (Fraunces) da el peso editorial de un
   ticket impreso; la mono (IBM Plex Mono) hace de sello/etiqueta. */
body.landing { font-family: var(--font-body); }
body.landing h1, body.landing h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
body.landing .brand { font-family: var(--font-display); font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
  margin: 0 0 16px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 16px; height: 1px; background: var(--sky); }

.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; padding: 12px 0 4px; }
.hero-grid h1 { font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1.12; margin: 0 0 14px; max-width: 640px; }
.hero-grid .subtitle { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--sky); margin: 0 0 16px; max-width: 540px; }
.hero-grid .agitate { font-size: 1.05rem; color: var(--secondary); max-width: 540px; margin: 0 0 26px; line-height: 1.6; }
.hero-grid .cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-grid .cta-row a.muted-link { font-size: 0.9rem; font-weight: 600; }

/* Antes/después — el elemento de marca de la página, ahora como carrusel que
   entra por tiempo: un chat de WhatsApp donde se pierde un cliente real,
   contra un turno que se confirma solo. El celular usa proporción real de
   pantalla (~9:19.5), no una tarjeta chica. */
.hero-visual { display: flex; flex-direction: column; align-items: flex-end; }

.compare-tag { display: block; text-align: center; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.compare-tag.good { color: var(--menta); }

.phone-real {
  width: 260px;
  height: 540px;
  background: #17191c;
  border-radius: 36px;
  padding: 16px 10px;
  box-shadow: 0 24px 40px -20px rgba(0, 40, 60, 0.4);
}
.phone-notch { width: 46px; height: 5px; border-radius: 3px; background: #3a3d42; margin: 0 auto 10px; }
.phone-real .chat, .phone-real .dash-full { height: calc(100% - 15px); border-radius: 22px; padding: 14px 11px; display: flex; flex-direction: column; }
/* La conversación es más larga que el alto del celular a propósito — se lee
   completa scrolleando, como pasaría de verdad en WhatsApp. */
.phone-real .chat { background: var(--paper-1); gap: 7px; overflow-y: auto; scrollbar-width: none; }
.phone-real .chat::-webkit-scrollbar { display: none; }
.bubble { max-width: 84%; padding: 8px 11px; border-radius: 13px; font-size: 0.76rem; line-height: 1.4; }
.bubble.in { background: #fff; border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 3px; }
.bubble.out { background: #dcf8c6; color: #111; align-self: flex-end; border-bottom-right-radius: 3px; }
.bubble.ghost { align-self: flex-start; background: transparent; border: 1px dashed var(--border); color: var(--secondary); font-style: italic; font-size: 0.7rem; }
.time-gap { align-self: center; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; color: var(--menta); text-decoration: underline; text-decoration-color: rgba(15, 157, 138, 0.4); text-underline-offset: 3px; margin: 4px 0; }

.avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--paper-2); color: var(--deep); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* Captura real del panel del negocio (no un mockup) en un marco de "ventana" */
.browser-frame { width: 100%; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 40px -20px rgba(0, 40, 60, 0.35); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--paper-2); border-bottom: 1px solid var(--border); }
.browser-bar span { width: 9px; height: 9px; border-radius: 999px; background: #cddce3; }
.browser-shot { display: block; width: 100%; height: auto; }

.result-caption { margin-top: 16px; font-weight: 700; font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; text-align: center; }
.result-caption.lost { color: var(--coral); }
.result-caption.win { color: var(--menta); }

/* "Todo lo que necesitás..." en 2 columnas: funcionalidades a la izquierda,
   captura del panel más chica y fija a la derecha. */
.feat-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.feat-shot { margin: 0; position: sticky; top: 90px; }
@media (max-width: 860px) {
  .feat-layout { grid-template-columns: 1fr; }
  .feat-shot { position: static; order: -1; }
}
@media (max-width: 780px) {
  .phone-real { width: 230px; height: 480px; }
}

/* Bandas a sangre: cada tramo de la landing tiene su propio fondo, para que
   se note el cambio de sección al hacer scroll sin depender de espaciado. */
.band { width: 100%; }
.band-inner { padding: 64px 0; }
.band-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-deep { background: var(--paper-2); }

.section { margin: 0; }
.section-head { max-width: 560px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 0 0 10px; line-height: 1.2; }
.section-head p { color: var(--secondary); margin: 0; font-size: 1.02rem; line-height: 1.5; }

/* Bento: grilla de 2×3 — vive en la mitad izquierda de .feat-layout, junto a
   la captura del panel a la derecha. */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.bento-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.bento-item:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: 0 14px 28px -18px rgba(0, 90, 127, 0.35); }
.bento-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); color: var(--sky); transition: background 0.18s ease, color 0.18s ease; }
.bento-item:hover .bento-icon { background: var(--sky); color: #fff; }
.bento-item .ico { width: 22px; height: 22px; }
.bento-item h3 { font-size: 1.08rem; margin: 16px 0 7px; color: var(--deep); font-weight: 700; letter-spacing: -0.005em; }
.bento-item p { margin: 0; color: var(--secondary); font-size: 0.9rem; line-height: 1.55; }
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
  .compare-stack { max-width: 420px; margin: 0 auto; }
  .bento { grid-template-columns: 1fr; }
}

/* 3 categorías grandes, cada una con sus rubros como subcategoría */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { position: relative; min-height: 300px; perspective: 1400px; }
.card-flip { position: relative; width: 100%; height: 100%; min-height: 300px; transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; }
.category-card:hover .card-flip, .category-card:focus-within .card-flip, .card-flip.is-flipped { transform: rotateY(180deg); }
.card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-front {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 24px -14px rgba(4, 20, 28, 0.4);
}
.card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 28, 0.05) 30%, rgba(4, 20, 28, 0.86) 100%);
}
.category-card:hover .card-front, .category-card:focus-within .card-front { box-shadow: 0 20px 36px -16px rgba(4, 20, 28, 0.45); }
.category-overlay { position: relative; z-index: 1; padding: 26px 24px; width: 100%; }
.category-overlay h3 { margin: 0; font-size: 1.2rem; color: #fff; font-weight: 700; letter-spacing: -0.005em; }
.card-back {
  transform: rotateY(180deg);
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card-back .subrubros { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.card-back .subrubros span { background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(3px); border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
@media (max-width: 780px) { .category-grid { grid-template-columns: 1fr; } }

/* Placeholder de video — deja el lugar marcado sin fingir que hay contenido */
.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--secondary);
}
.video-placeholder .play {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
}
.video-placeholder span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }

.benefit-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; text-align: left; }
.benefit-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.benefit-item:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(0, 90, 127, 0.28); }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--deep); margin-bottom: 16px; transition: background 0.18s ease, color 0.18s ease; }
.benefit-icon .ico { width: 22px; height: 22px; }
.benefit-item:nth-child(1) .benefit-icon { background: var(--paper-2); }
.benefit-item:nth-child(1):hover .benefit-icon { background: var(--sky); color: #01202b; }
.benefit-item:nth-child(2) .benefit-icon { background: #e0f7f3; }
.benefit-item:nth-child(2):hover .benefit-icon { background: var(--menta); color: #fff; }
.benefit-item:nth-child(3) .benefit-icon { background: #fff6d9; }
.benefit-item:nth-child(3):hover .benefit-icon { background: var(--gold); color: #4a3800; }
.benefit-item .eyebrow { margin-bottom: 8px; }
.benefit-item h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--deep); font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; }
.benefit-item p:last-child { margin: 0; color: var(--secondary); font-size: 0.9rem; line-height: 1.55; }

/* Banda a sangre (fondo de extremo a extremo), igual patrón que .band-alt/.band-deep */
.band-cta { position: relative; background: var(--deep); overflow: hidden; }
.band-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 20%, rgba(0, 200, 255, 0.35), transparent 55%); }
.cta-final { position: relative; max-width: 620px; margin: 0 auto; text-align: center; color: #fff; }
.cta-final .eyebrow { justify-content: center; color: var(--sky); }
.cta-final .eyebrow::before, .cta-final .eyebrow::after { background: var(--sky); }
.cta-final h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.cta-final p { color: rgba(255, 255, 255, 0.78); margin: 0 0 26px; }
.cta-final .btn { background: #fff; color: var(--deep); }

footer.site-foot { margin-top: 40px; padding: 28px 0 10px; border-top: 1px solid var(--border); }
.site-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 14px; }
.site-foot-links a { color: var(--secondary); text-decoration: none; font-size: 0.82rem; font-weight: 600; }
.site-foot-links a:hover { color: var(--deep); text-decoration: underline; }
.site-foot-bottom { text-align: center; color: var(--secondary); font-size: 0.76rem; font-family: var(--font-mono); letter-spacing: 0.02em; }

@media (prefers-reduced-motion: no-preference) {
  .dash { animation: dash-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
  .badge-mini { animation: badge-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both; }
}
@keyframes dash-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes badge-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

/* Wizard de reserva pública (Servicio → Profesional → Horario) */
.stepper {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 18px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--secondary);
  background: var(--paper-1);
  border: 1px solid var(--border);
}
.step.done { color: var(--menta); }
.step.active { background: var(--sky); color: #01202b; border-color: var(--sky); }

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 12px;
  font-size: 1rem;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.avatar-row .precio { margin-left: auto; text-align: right; }
.avatar-row .precio .p { color: var(--sky); font-weight: 800; }
.avatar-circle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  font-size: 1.15rem;
}

.date-strip { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; padding: 4px 2px; }
.date-nav {
  flex-shrink: 0;
  background: var(--paper-1);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 8px;
  width: 32px;
  cursor: pointer;
  font-size: 0.9rem;
}
.date-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.date-cell {
  flex: 0 0 62px;
  text-align: center;
  border-radius: 10px;
  padding: 8px 4px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--paper-1);
}
.date-cell .mes { display: block; font-size: 0.65rem; text-transform: uppercase; opacity: 0.7; }
.date-cell .dia { display: block; font-size: 0.72rem; }
.date-cell .num { display: block; font-size: 1.1rem; font-weight: 700; }
.date-cell.sin-cupo { color: var(--secondary); cursor: not-allowed; opacity: 0.5; }
.date-cell.con-cupo { background: rgba(15, 157, 138, 0.16); color: var(--ink); border-color: transparent; }
.date-cell.con-cupo:hover { border-color: var(--menta); }
.date-cell.seleccionado { background: var(--sky); color: #01202b; border-color: var(--sky); }

.slot-group-title { display: flex; align-items: center; gap: 6px; font-weight: 700; margin: 18px 0 10px; font-size: 0.85rem; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: #1f1f1f;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-google:hover { background: #f7f7f7; }
.btn-google:disabled { opacity: 0.6; cursor: not-allowed; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--secondary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* /preguntas-frecuentes · acordeón nativo (<details>), agrupado por categoría */
.faq-cat { margin-bottom: 36px; }
.faq-cat h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 14px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; background: var(--surface); }
.faq-item summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 700; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 1.3rem; color: var(--deep); font-weight: 400; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 16px; color: var(--secondary); font-size: 0.92rem; line-height: 1.55; }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* /precios · toggle mensual/anual, 3 planes, contador de profesionales */
.billing-toggle { display: flex; justify-content: center; gap: 6px; background: var(--paper-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; width: fit-content; margin: 0 auto 40px; }
.billing-btn { border: none; background: transparent; padding: 9px 18px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 0.86rem; color: var(--secondary); cursor: pointer; }
.billing-btn.active { background: var(--surface); color: var(--deep); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

.plan-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--sky); box-shadow: 0 20px 40px -24px rgba(0, 90, 127, 0.35); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--sky); color: #01202b; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; }
.plan-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 4px 0 2px; }
.plan-includes { color: var(--secondary); font-size: 0.86rem; margin: 0 0 16px; }

.plan-features { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; line-height: 1.4; }
.plan-features li::before { content: '✓'; color: var(--menta); font-weight: 800; flex-shrink: 0; }
.plan-features li.soon::before { content: '○'; color: var(--secondary); }
.soon-tag { background: var(--paper-2); color: var(--secondary); font-size: 0.66rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

.plan-profcount { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--secondary); }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper-btn { width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--border); background: var(--paper-2); color: var(--deep); font-size: 1rem; font-weight: 700; cursor: pointer; line-height: 1; }
.stepper-btn:hover { background: var(--sky); color: #01202b; }
.stepper-n { min-width: 14px; text-align: center; font-weight: 700; }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.plan-currency { color: var(--secondary); font-size: 0.86rem; font-weight: 600; }
.plan-amount { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--deep); }
.plan-period { color: var(--secondary); font-size: 0.8rem; }
.plan-perprof { color: var(--secondary); font-size: 0.76rem; margin: 0 0 20px; }
.plan-cta { text-align: center; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { text-align: center; }
.value-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--paper-2); color: var(--deep); font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.value-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 6px; }
.value-card p { color: var(--secondary); font-size: 0.88rem; margin: 0; line-height: 1.5; }

.trial-benefits { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.trial-benefits li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink); }
.trial-benefits li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; background: var(--sky); color: #01202b; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Widget de contacto flotante — WhatsApp / asesoría / tutorial, en todas las páginas públicas */
.help-widget { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.help-fab { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 64px; height: 64px; border-radius: 999px; border: none; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4); cursor: pointer; font-family: inherit; }
.help-fab:hover { background: #1ebe5b; }
.help-fab svg { width: 22px; height: 22px; }
.help-fab span { font-size: 0.62rem; font-weight: 700; }
.help-menu { display: none; flex-direction: column; gap: 2px; background: var(--surface); border-radius: 16px; padding: 8px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.35); min-width: 230px; }
.help-widget.open .help-menu { display: flex; }
.help-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.help-item:hover { background: var(--paper-2); }
.help-item .help-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; flex-shrink: 0; color: #fff; }
.help-item .help-icon.wa { background: #25d366; }
.help-item .help-icon.meet { background: #2f7cf6; }
.help-item .help-icon.yt { background: #ff0000; }
.help-item .help-icon svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .help-widget { right: 14px; bottom: 14px; } .help-fab { width: 56px; height: 56px; } }
