/* Joseteasiste (marca comercial inicial; nombre técnico interno: flujo-doc-ia) — landing local.
   CSS estático, sin build, sin dependencias. Tema claro, mobile-first. */

:root {
  --bg: #ffffff;
  --bg-alt: #eef6f7;
  --surface: #ffffff;
  --border: #dde7ea;
  --text: #16242e;
  --muted: #5b6b78;
  --brand: #0e9aa3;          /* teal */
  --brand-dark: #0b7e86;
  --brand-soft: #e3f4f5;
  --wa: #25d366;             /* WhatsApp verde */
  --wa-dark: #1fae55;
  --ink-on-wa: #06351b;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 10px 30px rgba(16, 40, 50, .08);
  --shadow-sm: 0 4px 14px rgba(16, 40, 50, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.5px; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.accent { color: var(--brand); }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 30;
  background: var(--brand); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 34px; height: 34px; display: block; }
.brand-word { font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: -.3px; }
.brand-word span { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a:not(.btn) { color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav > a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .08s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: var(--ink-on-wa); box-shadow: var(--shadow-sm); }
.btn-wa::before { content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.5 15.2L2 22l4.9-1.4A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-1.7-.1-.4-.1-1-.3-1.7-.6-2.9-1.3-4.8-4.3-5-4.5-.1-.2-1.1-1.5-1.1-2.8s.7-2 .9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 1.9c.1.2.1.3 0 .5l-.4.6c-.2.2-.3.4-.1.7.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.2.1.4.1.6-.1l.7-.9c.2-.3.4-.2.7-.1l1.8.9c.3.1.5.2.5.4.1.2.1.9-.1 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.5 15.2L2 22l4.9-1.4A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-1.7-.1-.4-.1-1-.3-1.7-.6-2.9-1.3-4.8-4.3-5-4.5-.1-.2-1.1-1.5-1.1-2.8s.7-2 .9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 1.9c.1.2.1.3 0 .5l-.4.6c-.2.2-.3.4-.1.7.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.2.1.4.1.6-.1l.7-.9c.2-.3.4-.2.7-.1l1.8.9c.3.1.5.2.5.4.1.2.1.9-.1 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-nav { padding: 9px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 7vw, 84px) 0;
  background:
    radial-gradient(900px 460px at 85% -10%, var(--brand-soft), transparent 60%),
    linear-gradient(180deg, #f7fbfc, var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero-copy { max-width: 34em; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.hero-proof {
  display: inline-block; margin: 0; font-weight: 700; color: var(--brand-dark);
  font-size: clamp(1rem, 1.5vw, 1.12rem); background: var(--brand-soft);
  border: 1px solid #cfe9eb; border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm); padding: 10px 16px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.4em 0 1.2em; }

/* CTA segmentado en el hero (arriba de la imagen, navegación interna) */
.hero-media { display: flex; flex-direction: column; gap: 12px; }
.hero-segment-cta {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 14px; box-shadow: var(--shadow-sm);
}
.hero-segment-cta > p { margin: 0 0 .5em; font-weight: 700; color: var(--text); font-size: .92rem; }
.hero-segment-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.segment-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #cfe9eb;
  border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .88rem;
  transition: background .2s ease, border-color .2s ease, transform .08s ease;
}
.segment-btn:hover { text-decoration: none; background: #d3eef0; border-color: var(--brand); transform: translateY(-1px); }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.badges li {
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: .9rem;
  padding: 7px 14px; border-radius: 999px; border: 1px solid #cfe9eb;
}

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 7vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 1.2em; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { color: var(--brand-dark); }
.card p { color: var(--muted); margin: 0; }

/* ---------- Helpers de contenido ---------- */
.narrow { max-width: 760px; }
.centered { text-align: center; }
.centered.lead { color: var(--muted); margin-inline: auto; max-width: 44em; }
.section-title + .centered.muted { max-width: 52em; margin-inline: auto; margin-bottom: 1.8em; }

/* Frase clave / cita destacada */
.key-phrase {
  max-width: 50em; margin: 1.6em auto 0; text-align: center; font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--brand-dark);
  background: var(--brand-soft); border: 1px solid #cfe9eb; border-radius: var(--radius);
  padding: 18px 24px;
}

/* ---------- Tabs de soluciones (CSS-only, sin JS) ---------- */
.tabs { margin-top: 1.6em; }
.tab-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tab-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.tab-label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; font-weight: 700; color: var(--muted); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.tab-label:hover { border-color: var(--brand); color: var(--text); }
.tab-state { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; }
.tab-state.soon { color: var(--muted); background: #f1f5f7; }
/* Tab activa */
#tab-juridico:checked ~ .tab-list label[for="tab-juridico"],
#tab-admin:checked ~ .tab-list label[for="tab-admin"],
#tab-dev:checked ~ .tab-list label[for="tab-dev"] {
  border-color: var(--brand); color: #fff; background: var(--brand);
}
#tab-juridico:checked ~ .tab-list label[for="tab-juridico"] .tab-state,
#tab-admin:checked ~ .tab-list label[for="tab-admin"] .tab-state,
#tab-dev:checked ~ .tab-list label[for="tab-dev"] .tab-state {
  background: rgba(255,255,255,.22); color: #fff;
}
/* Foco por teclado en el radio -> resaltar su label */
.tab-input:focus-visible ~ .tab-list label { outline: none; }
#tab-juridico:focus-visible ~ .tab-list label[for="tab-juridico"],
#tab-admin:focus-visible ~ .tab-list label[for="tab-admin"],
#tab-dev:focus-visible ~ .tab-list label[for="tab-dev"] {
  outline: 3px solid var(--brand); outline-offset: 2px;
}
/* Paneles: ocultos salvo el seleccionado */
.tab-panel { display: none; }
.tab-panels {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm);
}
#tab-juridico:checked ~ .tab-panels #panel-juridico,
#tab-admin:checked ~ .tab-panels #panel-admin,
#tab-dev:checked ~ .tab-panels #panel-dev { display: block; }
.tab-panel > h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 1.4rem; color: var(--text); }
.badge-active { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  color: #fff; background: var(--brand); border-radius: 999px; padding: 3px 10px; }

/* ---------- Mundos apilados con anclas (reemplaza tabs) ---------- */
#soluciones { scroll-margin-top: 84px; }
.mundo-stack { display: grid; gap: 22px; margin-top: 1.6em; }
.mundo-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); scroll-margin-top: 84px;
}
.mundo-panel > h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 1.35rem; color: var(--text); margin-bottom: .5em; }
.mundo-problem { color: var(--muted); }
.mundo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin: .4em 0; }
.mundo-grid h4, .tab-panel h4 { color: var(--brand-dark); margin: .4em 0 .6em; font-size: 1.02rem; }
.quote-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.quote-list li {
  background: var(--bg-alt); border-left: 3px solid var(--brand); border-radius: 8px;
  padding: 8px 14px; color: var(--text); font-style: italic;
}
.mundo-note { color: var(--muted); font-size: .92rem; border-top: 1px dashed var(--border); padding-top: 14px; margin-top: 1.2em; }

/* Mundos en desarrollo */
.dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: .4em; }
.dev-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.dev-card h4 { margin: .2em 0 .4em; color: var(--text); }
.dev-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.tag-soon {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  color: var(--muted); background: #eef2f4; border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px;
}

/* ---------- Comparación Antes / Después ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.compare-col h3 { margin-bottom: .7em; }
.compare-before { background: var(--surface); }
.compare-before h3 { color: var(--muted); }
.compare-before .bullets li::before { background: var(--muted); }
.compare-after { background: var(--brand-soft); border-color: #cfe9eb; }
.compare-after h3 { color: var(--brand-dark); }

/* ---------- Demo de consultas (chat simulado, ficticio) — compacta ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 1.4em auto 0; }
.demo-group {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.demo-group h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--brand-dark); font-size: 1.08rem; margin-bottom: .4em; }
.demo-tag {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  color: var(--muted); background: #eef2f4; border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px;
}
.chat { display: flex; flex-direction: column; gap: 7px; margin: .5em 0 .8em; }
.chat p { margin: 0; padding: 8px 13px; border-radius: 13px; max-width: 90%; line-height: 1.4; font-size: .92rem; }
.chat-user {
  align-self: flex-end; background: var(--wa); color: var(--ink-on-wa);
  border-bottom-right-radius: 4px; font-weight: 600;
}
.chat-bot {
  align-self: flex-start; background: var(--brand-soft); color: var(--text);
  border: 1px solid #cfe9eb; border-bottom-left-radius: 4px;
}
.demo-note { color: var(--muted); font-size: .82rem; font-style: italic; margin: 0; border-top: 1px dashed var(--border); padding-top: 10px; }

/* ---------- Bloque DOCX contextual (Estudios jurídicos) ---------- */
.mundo-docx {
  background: var(--brand-soft); border: 1px solid #cfe9eb; border-radius: var(--radius);
  padding: 20px 22px; margin: .4em 0 1.2em;
}
.mundo-docx h4 { color: var(--brand-dark); margin: 0 0 .5em; font-size: 1.05rem; }
.mundo-docx > p:first-of-type { color: var(--text); }
.docx-list { margin: .4em 0 .2em; }
.mundo-docx .mundo-note { border-top-color: #bfe0e2; }

/* ---------- Mockup ficticio Telegram ---------- */
.mockup-tg { max-width: 600px; margin: 1.8em auto 0; }
.mockup-head { text-align: center; margin-bottom: 1em; }
.mockup-head h3 { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: center; color: var(--brand-dark); font-size: 1.1rem; }
.phone {
  background: linear-gradient(180deg, #eef6f7, #ffffff);
  border: 1px solid var(--border); border-radius: 22px; padding: 16px;
  box-shadow: var(--shadow); max-width: 420px; margin: 0 auto;
}
.phone .chat { margin: 0; gap: 8px; }

/* ---------- Casos típicos simulados ---------- */
.casos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 1.4em; }
.caso-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.caso-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--brand-dark); font-size: 1.05rem; }
.caso-line { color: var(--text); font-size: .95rem; margin: 0 0 .6em; }
.caso-label {
  display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  border-radius: 999px; padding: 2px 9px; margin-right: 6px;
}
.caso-before { color: var(--muted); background: #f1f5f7; border: 1px solid var(--border); }
.caso-after { color: #fff; background: var(--brand); }
.caso-result { color: var(--muted); font-size: .9rem; font-style: italic; margin: .4em 0 0; border-top: 1px dashed var(--border); padding-top: .8em; }
.caso-soon { background: var(--bg-alt); }

/* ---------- Resguardo documental simple ---------- */
.resg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 1.4em; }
.resg-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.resg-card h3 { color: var(--brand-dark); font-size: 1.02rem; margin-bottom: .4em; }
.resg-card p { color: var(--muted); margin: 0; font-size: .94rem; }
.chips-soon li { background: #f1f5f7; color: var(--muted); border-color: var(--border); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.start-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Aclaración profesional prudente */
.aclaracion-pro {
  margin: 1.6em auto 0; max-width: 60em; text-align: center; color: var(--muted);
  font-size: .95rem; border-top: 1px dashed var(--border); padding-top: 1.2em;
}
.aclaracion-pro strong { color: var(--text); }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}

/* ---------- Split (visual secundaria) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-copy .btn { margin-top: .6em; }

/* ---------- Bullets ---------- */
.bullets { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 30px; }
.bullets li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.two-col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 32px; }

/* ---------- Piloto / precios ---------- */
.piloto-legal { margin-bottom: 2em; }
.piloto-sub { text-align: center; margin: 1.6em 0 1em; color: var(--brand-dark); }
.piloto-volumen { max-width: 52em; margin: 1.6em auto 0; }
.precio-band {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 1.8em 0 1em;
}
.precio-card {
  background: var(--surface, #fff); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px 30px; text-align: center; min-width: 220px; box-shadow: var(--shadow-sm);
}
.precio-card-abono { border-color: var(--brand); }
.precio-label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 700; }
.precio-monto { display: block; font-size: 2rem; font-weight: 800; color: var(--brand-dark); margin: .15em 0; }
.precio-detalle { display: block; font-size: .9rem; color: var(--muted); }
.precio-nota { max-width: 48em; margin: .4em auto 0; }
.precio-cta { justify-content: center; margin-top: 1.6em; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: radial-gradient(800px 320px at 50% -20%, var(--brand-soft), transparent 60%), var(--bg-alt);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-band .lead { color: var(--muted); max-width: 32em; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; }
.contact-line { margin-top: 1.2em; font-weight: 600; }
.contact-line a { color: var(--brand-dark); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 14px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); background: #fbfdfd; }
.brand-foot { font-weight: 800; font-size: 1.1rem; color: var(--text); margin: 0 0 .2em; }
.site-footer p { margin: 0 0 .3em; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav > a:not(.btn) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-proof { display: block; }
  .hero-cta, .badges { justify-content: center; }
  .hero-segment-cta { text-align: center; }
  .hero-segment-actions { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .mundo-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .casos-grid { grid-template-columns: 1fr; }
  .resg-grid { grid-template-columns: 1fr; }
  .tab-label { font-size: .92rem; padding: 9px 14px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
