/**
 * Autorys - Página del CRM de Autorys (autorys.com/crm/<idioma>/) · estilos
 * Developed by Autorys · https://autorys.com · sales@autorys.com
 *
 * [Autorys · Página del CRM 2026-10-01] Misma familia visual que /follow-up/ (colores, letras,
 * menú, botones, secciones, preguntas, cierre y pie copiados de followup.css para que esta
 * página no dependa de la otra). Propio de esta página: el ejemplo del CRM (menú + embudo),
 * las tarjetas de beneficios y funciones, el chat de Nora, la lista de configuración y
 * "Lo que viene".
 */
/* ---------- 1. Tipografías ---------- */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/dm-sans-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/dm-sans-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:600;font-display:swap;src:url(fonts/source-serif-4-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:600;font-display:swap;src:url(fonts/source-serif-4-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- 2. Colores (los del diseño; claro y oscuro) ---------- */
:root {
  color-scheme: light dark;
  --bg: #f5f9fe;
  --surface: #ffffff;
  --surface-2: #eef5fc;
  --surface-3: #e4eef8;
  --ink: #0b1828;
  --muted: #526477;
  --line: #cfdeec;
  --line-strong: #a8bed2;
  --blue: #087cf0;
  --blue-text: #0563c6;
  --btn: #0870dc;
  --btn-hover: #0560c0;
  --blue-soft: #e2f0ff;
  --cyan: #27c7d9;
  --green: #1b9d68;
  --green-text: #0b7a59;
  --green-soft: #e1f6ed;
  --orange: #e4682a;
  --navy: #0b1828;
  --shadow: 0 22px 70px rgba(15, 52, 86, .14);
  --shadow-soft: 0 10px 30px rgba(15, 52, 86, .09);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07111e;
    --surface: #0c1929;
    --surface-2: #102236;
    --surface-3: #172c42;
    --ink: #edf6ff;
    --muted: #a9bdd0;
    --line: #223b52;
    --line-strong: #365873;
    --blue: #2995ff;
    --blue-text: #6bb7ff;
    --btn: #0870dc;
    --btn-hover: #2690fa;
    --blue-soft: #0e3050;
    --cyan: #4cd9e8;
    --green: #4dd39a;
    --green-text: #4dd39a;
    --green-soft: #0d3b30;
    --orange: #ff8d54;
    --navy: #0c1929;
    --shadow: 0 24px 80px rgba(0, 0, 0, .34);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, .24);
  }
}

/* ---------- 3. Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
h1, h2, h3, p { margin-top: 0; }

/* ---------- 3b. La franja con los sitios de Autorys es una pieza aparte: /assets/css/site-bar.css ---------- */

/* ---------- 4. Menú: logotipo, enlaces del diseño, idioma y "Hablar con Karla" ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.topbar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand b { color: var(--blue-text); font-weight: 700; }
.brand img { display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; margin: 0 auto 0 14px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue-text); }
.lang { position: relative; }
.lang-btn { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; min-height: 40px; padding: 0 13px; font-size: 14px; font-weight: 700; cursor: pointer; }
.lang-menu { display: none; position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: 6px; border-radius: 12px; width: 150px; z-index: 30; }
.lang.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a.active { font-weight: 700; color: var(--blue-text); }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 45%, transparent); outline-offset: 3px; }
.btn-primary { color: white; background: var(--btn); box-shadow: 0 8px 20px color-mix(in srgb, var(--blue) 26%, transparent); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--blue-text); color: var(--blue-text); }
.btn-light { background: white; color: #064e93; margin-top: 30px; }
.btn-light:hover { background: #e6f2ff; }
.btn-small { min-height: 40px; padding: 0 17px; font-size: 14px; white-space: nowrap; }

.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { margin-top: 0; }
.pdf-short { display: none; }

/* ---------- 5. Hero ---------- */
.hero { position: relative; padding: 88px 0 70px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%;
  right: -220px; top: -140px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 17%, transparent), transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 72px; }
/* El H1 (palabras clave) se ve como etiqueta */
.status-pill {
  display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 12px 7px 9px; border-radius: 999px;
  color: var(--blue-text); background: var(--blue-soft); border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent);
  font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0;
}
.pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--green) 16%, transparent); }
.display { margin: 24px 0; max-width: 720px; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.serif-accent { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 600; color: var(--blue); }
.hero-copy > .lead { max-width: 620px; margin-bottom: 30px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proofs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 30px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.proofs li { display: inline-flex; gap: 8px; align-items: center; }
.proofs li::before { content: "✓"; color: var(--green-text); font-weight: 800; }

/* Ejemplo del CRM: ventana con menú a la izquierda y embudo de prospectos */
.app-shell { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 88%, var(--blue-soft)); box-shadow: var(--shadow); }
.app-window { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.window-bar { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--green-text); }
.app-body { display: grid; grid-template-columns: 158px 1fr; min-height: 400px; }
.app-menu { display: flex; flex-direction: column; gap: 4px; padding: 16px 10px; border-right: 1px solid var(--line); background: var(--surface-2); }
.app-menu-item { padding: 9px 11px; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--muted); }
.app-menu-item.active { background: var(--btn); color: #fff; }
.app-main { padding: 22px 20px; }
.app-title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.board-col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: var(--surface-2); min-height: 250px; }
.board-head { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dot-1 { background: var(--orange); }
.dot-2 { background: var(--green); }
.board-card { padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.board-card b { display: block; font-size: 12px; line-height: 1.25; }
.board-card span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.floating-note { position: absolute; right: -24px; bottom: -30px; width: 230px; padding: 15px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-soft); }
.floating-note .label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.floating-note strong { display: block; margin: 4px 0 2px; font-size: 14px; }
.floating-note p { margin: 0; color: var(--muted); font-size: 11px; }

/* ---------- 6. Franja de cuatro verbos ---------- */
.signal-strip { border-block: 1px solid var(--line); background: var(--surface); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal { padding: 25px 28px; border-right: 1px solid var(--line); }
.signal:last-child { border-right: 0; }
.signal b { display: block; font-size: 16px; margin-bottom: 3px; }
.signal span { color: var(--muted); font-size: 13px; }

/* ---------- 7. Secciones ---------- */
section { padding: 104px 0; }
section.soft { background: var(--surface-2); }
.section-intro { max-width: 740px; margin-bottom: 50px; }
.kicker { display: inline-block; margin-bottom: 12px; color: var(--blue-text); font-size: 13px; font-weight: 800; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.06; letter-spacing: -.045em; }
.section-intro p { color: var(--muted); font-size: 18px; }

/* ---------- 8. Qué es: cinco beneficios ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.benefit { padding: 24px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.benefit h3 { margin: 22px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue-text); background: var(--blue-soft); border-radius: 13px; }
.feature-icon svg { width: 22px; height: 22px; }

/* ---------- 9. Cómo se entra ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { min-height: 220px; padding: 28px 34px 28px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 34px; }
.step:last-child { border-right: 0; }
.step-num { display: inline-flex; color: var(--blue-text); font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 600; font-size: 24px; margin-bottom: 36px; }
.step h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.025em; }
.step p { color: var(--muted); margin-bottom: 0; }

/* ---------- 10. Funciones: las doce opciones del menú ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--line); background: var(--surface); border-radius: 22px 8px 22px 8px; }
.feature:nth-child(even) { border-radius: 8px 22px 8px 22px; }
.feature h3 { margin: 24px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
/* [Autorys · CRM a la venta 2026-10-01] "Se le puede integrar": cada tarjeta lleva la etiqueta "Se contrata aparte" */
.int-grid { grid-template-columns: repeat(4, 1fr); }
.integration { position: relative; }
.int-tag { position: absolute; top: 26px; right: 22px; padding: 3px 9px; border-radius: 999px; background: #fff1d6; color: #7a4f00; font-size: 12px; font-weight: 800; }
.integration h3 { margin-top: 20px; font-size: 18px; }

/* ---------- 11. Nora (panel azul con su chat) ---------- */
.suite { padding-top: 0; }
.suite-panel { display: grid; grid-template-columns: 1fr 1fr; background: #0667cf; color: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 22px 60px rgba(8,124,240,.24); }
.suite-copy { padding: 60px; }
.suite-copy .kicker { color: #e6f2ff; }
.suite-copy h2 { color: white; }
.suite-copy > p { color: #eaf4ff; font-size: 18px; }
.suite-list { list-style: none; padding: 0; display: grid; gap: 13px; margin: 28px 0 0; }
.suite-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.suite-list svg { width: 19px; flex: 0 0 19px; margin-top: 2px; }
.suite-visual { display: grid; place-items: center; padding: 40px 34px; background: rgba(5, 50, 105, .22); }
.chat-card { width: min(100%, 340px); padding: 16px; border-radius: 26px; background: #f7fbff; color: #0b1828; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 20px 50px rgba(0,36,78,.24); transform: rotate(1.5deg); }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 3px 4px 13px; border-bottom: 1px solid #dce7f2; }
.chat-mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: white; font-weight: 800; background: #0870dc; }
.chat-top b { display: block; font-size: 14px; }
.chat-top small { display: block; color: #54667a; font-size: 12px; }
.bubble { max-width: 86%; padding: 10px 13px; border-radius: 14px; margin-top: 12px; font-size: 14px; line-height: 1.45; }
.bubble.in { background: #edf2f7; }
.bubble.out { background: #dff0ff; margin-left: auto; }

/* ---------- 12. Configuración ---------- */
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; border-top: 1px solid var(--line); }
.setting { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.setting svg { width: 20px; margin-top: 3px; color: var(--green-text); }
.setting b { display: block; margin-bottom: 4px; font-size: 17px; }
.setting span { color: var(--muted); font-size: 15px; }
.settings-note { margin: 26px 0 0; color: var(--muted); font-weight: 600; }

/* ---------- 13. Seguridad y lo que viene ---------- */
.boundary-panel { display: grid; grid-template-columns: .78fr 1.22fr; gap: 54px; align-items: start; padding: 46px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.boundary-mark { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--green-text); background: var(--green-soft); border-radius: 50%; margin-bottom: 22px; }
.boundary-mark svg { width: 23px; }
.boundary h2 { font-size: clamp(30px, 3.6vw, 44px); }
.boundary-copy > p { color: var(--muted); }
.guardrails { display: grid; gap: 2px; }
.guardrail { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.guardrail:last-child { border-bottom: 0; }
.guardrail .index { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 600; color: var(--blue-text); }
.guardrail b { display: block; margin-bottom: 4px; }
.guardrail div span { color: var(--muted); font-size: 14px; }
.next { margin-top: 26px; padding: 26px 30px; border-radius: 20px; border: 1px dashed var(--line-strong); }
.next h3 { margin-bottom: 10px; font-size: 18px; }
.next ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* ---------- 14. Preguntas frecuentes (sin JavaScript) ---------- */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.faq-grid .section-intro { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; list-style: none; cursor: pointer; padding: 23px 44px 23px 0; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--blue); font-size: 23px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: -4px 42px 24px 0; }

/* ---------- 15. Cierre: descargar el PDF (siempre azul marino) ---------- */
.closing { padding-top: 40px; padding-bottom: 90px; }
.closing-inner { position: relative; overflow: hidden; padding: 70px 7%; border-radius: var(--radius-lg); background: var(--navy); border: 1px solid var(--line); color: white; }
.closing-inner::after { content: "$9"; position: absolute; right: -20px; bottom: -70px; font-size: 260px; line-height: 1; color: color-mix(in srgb, var(--blue) 30%, transparent); font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 600; pointer-events: none; }
.closing-copy { position: relative; z-index: 1; max-width: 720px; }
.closing h2 { color: white; }
.closing p { color: #c8d7e5; font-size: 18px; max-width: 590px; }
.closing .hero-actions { margin: 28px 0 26px; }
.closing .btn-secondary { color: white; border-color: rgba(255,255,255,.42); }
.closing .btn-secondary:hover { border-color: white; color: white; }
.closing .closing-more { font-size: 15px; margin: 0; }
/* [Autorys · SEO nivel Dios 2026-10-01] Velocidad en celular: las secciones de abajo se dibujan hasta que se
   acercan a la pantalla (el navegador se ahorra trabajo al cargar). */
main > section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* [Autorys · CRM a la venta 2026-10-01] Precio en el cierre */
.closing .price { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; color: white; font-size: 16px; line-height: 1.3; }
.closing .price b { font-size: 64px; line-height: 1; letter-spacing: -.04em; }
.closing .price span { color: #c8d7e5; font-weight: 600; }
.closing-more a { color: #fff; font-weight: 700; }

/* ---------- 16. Pie ---------- */
footer { padding: 30px 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot img { width: 170px; height: auto; display: block; }
.foot p { margin: 0; text-align: right; line-height: 1.6; }
.foot a, .foot-legal a { text-decoration: none; }
.foot a:hover, .foot-legal a:hover { color: var(--blue-text); }
.foot-legal { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; }

/* ---------- 17. Globo "Hablar con Karla" en píldora (igual que la portada de autorys.com) ---------- */
#autorys-contact.ac-pill .ac-btn{width:auto;height:auto;min-height:60px;border-radius:999px;padding:11px 18px 11px 11px;gap:11px;font:700 15px/1 'DM Sans',system-ui,sans-serif;background:var(--btn);color:#fff;box-shadow:0 16px 38px rgba(8,124,240,.34)}
#autorys-contact.ac-pill .ac-btn:hover{background:var(--btn-hover);transform:none}
#autorys-contact.ac-pill .ac-bubble{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--btn);flex:none}
#autorys-contact.ac-pill .ac-bubble svg{width:21px;height:21px}
#autorys-contact.ac-pill .ac-label{white-space:nowrap}
#autorys-contact.ac-pill:not([data-state="closed"]) .ac-btn{width:60px;height:60px;padding:0;justify-content:center}
#autorys-contact.ac-pill:not([data-state="closed"]) .ac-bubble,
#autorys-contact.ac-pill:not([data-state="closed"]) .ac-label{display:none}
#autorys-contact.ac-pill .ac-panel,#autorys-contact.ac-pill .ac-chat{bottom:76px}

/* ---------- 18. Tableta y celular ---------- */
@media (max-width: 1100px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .brand { margin-right: auto; }
}
@media (max-width: 920px) {
  .hero { padding-top: 62px; }
  .hero-grid, .suite-panel, .boundary-panel, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .feature-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .boundary-panel { gap: 20px; }
  .faq-grid { gap: 28px; }
}
@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .topbar-inner { min-height: 62px; gap: 10px; }
  .hero { padding: 46px 0 64px; }
  .display { font-size: clamp(40px, 13vw, 58px); }
  .hero-copy > .lead { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .app-shell { padding: 8px; border-radius: 22px; }
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-menu { display: none; }
  .app-main { padding: 16px 12px; }
  .board { gap: 7px; }
  .board-col { padding: 7px; min-height: 0; }
  .floating-note { position: relative; right: auto; bottom: auto; width: auto; margin: 10px 4px 2px; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal { padding: 20px 16px; border-bottom: 1px solid var(--line); }
  .signal:nth-child(2) { border-right: 0; }
  .signal:nth-child(3), .signal:nth-child(4) { border-bottom: 0; }
  section { padding: 78px 0; }
  .section-intro { margin-bottom: 36px; }
  .benefit-grid, .feature-grid, .settings-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { border-radius: 18px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step-num { margin-bottom: 16px; }
  .suite-copy { padding: 42px 26px; }
  .suite-visual { padding: 30px 18px; }
  .boundary-panel { padding: 30px 24px; }
  .next { padding: 22px 22px; }
  .closing-inner { padding: 48px 25px; }
  .closing-inner::after { font-size: 170px; bottom: -40px; right: -25px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot p { text-align: left; }
}
@media (max-width: 640px) {
  #autorys-contact.ac-pill .ac-btn{min-height:0;padding:9px}
  #autorys-contact.ac-pill .ac-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  #autorys-contact.ac-pill:not([data-state="closed"]) .ac-btn{width:56px;height:56px}
  #autorys-contact.ac-pill .ac-panel{bottom:68px}
}
@media (max-width: 520px) {
  .pdf-long { display: none; }
  .pdf-short { display: inline; }
}
@media (max-width: 470px) {
  .brand span { display: none; }
  .btn-small { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   19. [Autorys · Diseño 2026-10-06] Pulido (el mismo de la portada de autorys.com)
   Pedido de Richard: que se vea más cuidada y menos "plantilla".
   - Logotipo horizontal completo en el menú (antes la "A" diminuta; en celular sin nombre)
     y el nombre del servicio en chico a un lado. Caja blanca solo en modo oscuro.
   - Etiquetas de sección en letra normal con una rayita delante; insignias pequeñas
     ("En línea", "Siguiente acción"…) sin mayúsculas forzadas ni letras separadas.
   - Movimiento suave: el inicio entra al cargar, los bloques aparecen al bajar (crm.js pone
     .rv en <html> solo si hay JavaScript), tarjetas que suben un poco al pasar el mouse y
     botones que se "hunden" al tocarlos. Todo se apaga si la persona pidió menos movimiento
     (además de la regla general de la sección 18).
   - Celular: logotipo completo y desvanecido a la derecha de la franja oscura.
   Deshacer: el instalador de la entrega sitios_diseno_20261006 tiene "revert".
   ========================================================= */

/* Curvas del movimiento (salida rápida y frenado suave; las mismas de la portada) */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }

/* --- Logotipo horizontal + nombre del servicio --- */
.brand { gap: 12px; }
.brand img { width: auto; height: 38px; }
.brand .brand-prod { display: block; padding-left: 12px; border-left: 1px solid var(--line-strong); font-size: 16px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; color: var(--blue-text); }
@media (prefers-color-scheme: dark) {
  .brand img { background: #fff; padding: 5px 9px; border-radius: 9px; height: 42px; }
}

/* --- Etiquetas de sección: letra normal, con una rayita delante --- */
.kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.kicker::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .75; }
.live { letter-spacing: 0; font-size: 12px; font-weight: 700; }
.floating-note .label { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 700; }

/* --- Movimiento: botones que se hunden y tarjetas que responden --- */
.btn, .lang-btn { transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out), box-shadow .2s var(--ease-out); }
.btn:active, .lang-btn:active { transform: scale(.97); }
.feature, .benefit { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .feature:hover, .benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
  .btn-primary:hover { box-shadow: 0 14px 30px rgba(8, 124, 240, .30); }
  .btn-primary:active { transform: scale(.97); }
}

/* Aparecer al bajar: crm.js marca cada bloque con data-rv y le pone .in al entrar a la pantalla */
.rv [data-rv] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--rv-i, 0) * 70ms); }
.rv [data-rv].in { opacity: 1; transform: none; }

/* Entrada del inicio al cargar: los textos uno tras otro, luego el ejemplo y su nota */
@keyframes rv-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rv-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rv-up .7s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.app-shell { animation: rv-up .8s var(--ease-out) .15s both; }
.app-shell .floating-note { animation: rv-pop .5s var(--ease-out) .6s both; }

/* --- Franja de sitios en celular: desvanecido a la derecha (se recorre con el dedo) --- */
@media (max-width: 700px) {
  .asb .asb-links { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 18px; }
}

/* --- Celular: logotipo completo y legible (el nombre "CRM" se esconde solo donde no cabe junto al botón PDF) --- */
.lang, .brand { flex: none; }
.lang-btn { white-space: nowrap; }
@media (max-width: 600px) {
  .brand { gap: 10px; }
  .brand img { height: 32px; }
  .brand .brand-prod { font-size: 14px; padding-left: 10px; }
}
@media (max-width: 380px) {
  .brand .brand-prod { display: none; }
}
@media (max-width: 400px) {
  .brand img { height: 30px; }
}
@media (max-width: 600px) and (prefers-color-scheme: dark) {
  .brand img { height: 36px; padding: 4px 8px; }
}

/* --- Menos movimiento: todo quieto si la persona lo pidió --- */
@media (prefers-reduced-motion: reduce) {
  .rv [data-rv] { opacity: 1; transform: none; transition: none; }
  .btn:active, .lang-btn:active, .btn-primary:active { transform: none; }
}
