/* Sitio público de Dotly (www.dotly.com.py): página principal y textos legales.
   Sin estilos ni scripts inline (Content Security Policy estricta); fuentes autoalojadas. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../../fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 300 500;
  font-display: block;
  src: url("../../fonts/material-symbols-rounded.woff2?v=f5d6726fd0") format("woff2");
}

:root {
  --ink: #0b2b22;
  --deep: #06201a;
  --accent: #0a9d73;
  --accent-strong: #077a57;
  --accent-hover: #16c08f;
  --mint: #2ad3a1;
  --mint-soft: #d6f5e8;
  --cream: #f6f3ea;
  --chat: #efeae0;
  --sun: #ffd25a;
  --text: #3d5a50;
  --muted: #5f6e69;
  --on-dark: #b9d3c9;
  --on-dark-2: #9fbcb1;
  --on-dark-3: #7fa497;
  --danger: #c0392b;
  --line-soft: #c7d3cd;
  --wrap: 1180px;
  --nav-h: 78px;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); scrollbar-width: thin; scrollbar-color: var(--accent) #e9e4d8; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
button { font-family: inherit; }
input, textarea { font-family: inherit; }
::selection { background: var(--mint); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: #e9e4d8; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; border: 3px solid #e9e4d8; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--sun); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 12px; }

.icon {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.icon--fill { font-variation-settings: "FILL" 1; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.h2 { margin: 0; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.05; font-weight: 900; letter-spacing: -0.035em; text-wrap: balance; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.on-dark .lead { color: var(--on-dark); }
.mint { color: var(--mint); }
.accent { color: var(--accent); }

/* --- botones ------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 30px; border-radius: 999px; font-weight: 700; font-size: 17px; border: 2px solid var(--ink); cursor: pointer; white-space: nowrap; transition: background 0.15s, transform 0.12s, box-shadow 0.12s; }
.btn .icon { font-size: 22px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 5px 0 var(--ink); }
.btn--primary:hover { background: var(--accent-strong); color: #fff; }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mint-soft); color: var(--ink); }
.btn--sm { height: 46px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* --- barra superior ------------------------------------------------------------------------ */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 32, 26, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__logo { flex: 0 0 auto; display: block; width: 132px; }
.nav__logo img { width: 132px; height: auto; }
.nav__links { flex: 1; display: flex; justify-content: center; gap: 26px; }
.nav__links a { color: #d9e8e2; font-size: 15px; font-weight: 600; height: 40px; display: flex; align-items: center; }
.nav__links a:hover { color: var(--mint); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__login { color: #d9e8e2; font-weight: 700; font-size: 15px; height: 46px; padding: 0 14px; display: flex; align-items: center; border-radius: 12px; }
.nav__login:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__cta { height: 46px; padding: 0 22px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 8px 24px rgba(10, 157, 115, 0.35); }
.nav__cta:hover { color: #fff; background: var(--accent-hover); }
.nav__menu-btn { display: none; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #fff; place-items: center; cursor: pointer; }
.nav__menu-btn .icon { font-size: 26px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(6, 32, 26, 0.55); animation: fade 0.2s ease-out both; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(86vw, 360px); background: var(--deep); color: #fff; display: flex; flex-direction: column; padding: 18px 20px 28px; gap: 8px; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35); animation: slide-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1) both; overflow-y: auto; }
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 46px; margin-bottom: 14px; }
.drawer__head img { width: 120px; height: auto; }
.drawer__close { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer__link { min-height: 56px; padding: 0 14px; border-radius: 14px; display: flex; align-items: center; gap: 14px; color: #fff; font-size: 17px; font-weight: 600; }
.drawer__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.drawer__link .icon { font-size: 22px; color: var(--mint); }
.drawer__spacer { flex: 1; min-height: 20px; }
.drawer__cta { height: 56px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.drawer__cta:hover { color: #fff; background: var(--accent-hover); }
.drawer__login { height: 52px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.drawer__login:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.drawer__note { font-size: 12.5px; color: var(--on-dark-2); text-align: center; margin-top: 6px; }

/* --- portada ------------------------------------------------------------------------------- */
.hero__inner { padding: clamp(36px, 6vw, 64px) 20px clamp(64px, 8vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { margin: 0; font-size: clamp(36px, 5.6vw, 74px); line-height: 1.02; font-weight: 900; letter-spacing: -0.035em; text-wrap: balance; }
.swash { position: relative; display: inline-block; color: var(--accent); }
.swash svg { position: absolute; left: 0; bottom: -0.16em; width: 100%; height: 0.26em; }
.hero__lead { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fine { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.hero__fine .icon { font-size: 18px; color: var(--accent); }

.hero__visual { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.phone-stage { position: relative; width: 340px; max-width: 100%; height: 640px; }
.phone-stage__blob { position: absolute; left: -70px; top: 70px; width: 480px; height: 480px; border-radius: 50%; background: var(--mint); }
.phone-stage__dots { position: absolute; right: -40px; top: 20px; width: 150px; height: 150px; border-radius: 50%; background-image: radial-gradient(var(--ink) 2.4px, transparent 3px); background-size: 16px 16px; opacity: 0.5; }
.badge-chats { position: absolute; left: -24px; top: 6px; width: 72px; height: 72px; border-radius: 24px; background: var(--sun); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); rotate: -10deg; animation: bob 4s ease-in-out infinite; display: grid; place-items: center; z-index: 2; }
.badge-chats .icon { font-size: 38px; color: var(--ink); }
.badge-chats__count { position: absolute; top: -10px; right: -10px; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: #fff; border: 2px solid var(--ink); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.sparkle { position: absolute; animation: spin 9s linear infinite; }
.sparkle--a { right: -56px; top: 300px; width: 46px; height: 46px; }
.sparkle--b { left: -30px; top: 470px; width: 28px; height: 28px; animation-duration: 7s; animation-direction: reverse; }
.phone { position: absolute; left: 20px; right: 20px; top: 0; height: 620px; border-radius: 44px; background: var(--ink); padding: 9px; border: 2px solid var(--ink); box-shadow: 10px 10px 0 rgba(11, 43, 34, 0.18); }
.phone__screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--chat); display: flex; flex-direction: column; }
.phone__status { height: 30px; flex: 0 0 30px; background: var(--accent); display: flex; align-items: center; justify-content: space-between; padding: 4px 24px 0; font-size: 12px; font-weight: 700; color: #fff; position: relative; }
.phone__status .icon { font-size: 15px; }
.phone__notch { position: absolute; left: calc(50% - 32px); top: 7px; width: 64px; height: 17px; border-radius: 9px; background: var(--ink); }
.phone__head { height: 60px; flex: 0 0 60px; background: var(--accent); display: flex; align-items: center; gap: 10px; padding: 0 12px; color: #fff; }
.phone__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.phone__who { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.phone__who strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__who span { font-size: 11.5px; font-weight: 500; opacity: 0.85; }
.phone__pill { flex: 0 0 auto; white-space: nowrap; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.2); font-size: 11.5px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.phone__pill .icon { font-size: 14px; }
.phone__chat { flex: 1; min-height: 0; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.dotted { background-image: radial-gradient(rgba(11, 43, 34, 0.09) 1.4px, transparent 1.8px); background-size: 18px 18px; }
.phone__day { align-self: center; padding: 3px 10px; border-radius: 7px; background: #fff; font-size: 11px; font-weight: 600; color: var(--muted); }
.phone__composer { height: 58px; flex: 0 0 58px; display: flex; align-items: center; gap: 8px; padding: 0 10px 6px; }
.phone__input { flex: 1; height: 40px; border-radius: 20px; background: #fff; display: flex; align-items: center; padding: 0 16px; font-size: 13px; color: var(--muted); }
.phone__send { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; }

.msg { margin: 0; max-width: 84%; border-radius: 4px 16px 16px 16px; padding: 8px 12px 6px; font-size: 13.5px; line-height: 1.4; color: var(--ink); background: #fff; box-shadow: 0 1px 1px rgba(11, 43, 34, 0.12); align-self: flex-start; }
.msg--out { align-self: flex-end; max-width: 86%; background: var(--mint-soft); border-radius: 16px 4px 16px 16px; }
.msg__ai { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--accent-strong); margin-bottom: 2px; }
.msg__ai .icon { font-size: 13px; }
.msg__time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10px; color: var(--muted); margin-top: 2px; }
.msg__time .icon { font-size: 14px; color: var(--accent); }
.typing { align-self: flex-end; background: var(--mint-soft); border-radius: 16px 4px 16px 16px; padding: 10px 14px; display: flex; align-items: center; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
[data-step-from], [data-step-only] { display: none; }
[data-step-from].is-on, [data-step-only].is-on { display: flex; animation: pop 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
.msg[data-step-from].is-on { display: block; }

.badge-247 { position: absolute; right: -14px; top: 96px; width: 88px; height: 88px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; rotate: 10deg; animation: bob 3.6s ease-in-out infinite; }
.badge-247 strong { font-size: 26px; font-weight: 900; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.badge-247 span { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; margin-top: 3px; }
.deal-card { position: absolute; left: -30px; bottom: 70px; width: min(250px, 78vw); padding: 14px 16px; border-radius: 20px; background: #fff; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); flex-direction: column; gap: 8px; rotate: -4deg; }
.deal-card__top { display: flex; align-items: center; gap: 8px; }
.deal-card__check { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.deal-card__check .icon { font-size: 17px; }
.deal-card__title { flex: 1; font-size: 14px; font-weight: 800; }
.deal-card__who { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-card__bottom { display: flex; align-items: center; justify-content: space-between; }
.deal-card__price { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.chip-soft { padding: 3px 8px; border-radius: 999px; background: var(--mint-soft); color: var(--accent-strong); font-size: 10.5px; font-weight: 700; }

.rubro-switch { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
.rubro-switch button { height: 38px; padding: 0 14px; border-radius: 999px; border: none; cursor: pointer; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; background: transparent; color: var(--ink); }
.rubro-switch button .icon { font-size: 17px; }
.rubro-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* --- franja -------------------------------------------------------------------------------- */
.strip { background: var(--deep); color: #fff; }
.strip__inner { padding: 30px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.strip__by { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; }
.strip__by span { font-size: 12px; font-weight: 600; color: var(--on-dark-2); }
.strip__by a { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.strip__by a:hover { color: var(--mint); }
.strip__item { flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 6px 0; }
.strip__item > .icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: rgba(42, 211, 161, 0.14); color: var(--mint); display: grid; place-items: center; font-size: 24px; }
.strip__item div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.strip__item strong { font-size: 15px; }
.strip__item small { font-size: 13px; color: var(--on-dark-2); }

/* --- secciones ----------------------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section--round { border-radius: 48px 48px 0 0; }
.section--overlap { margin-top: -48px; }
.section--dark { background: var(--ink); color: #fff; overflow: hidden; }
.section--mint { background: var(--mint-soft); }
.section--cream { background: var(--cream); }
.section__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section__head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.section__head--row > div:first-child { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.blob { position: absolute; border-radius: 50%; }
.blob--sun-tr { right: -30px; top: -30px; width: 120px; height: 120px; background: var(--sun); }
.blob--accent-bl { left: -80px; bottom: -80px; width: 260px; height: 260px; background: var(--accent); }
.section > .wrap { position: relative; }
.section.agents { padding-bottom: calc(clamp(64px, 9vw, 110px) + 48px); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split__media { flex: 1 1 520px; min-width: 0; position: relative; }

.chat-card { position: relative; border-radius: 32px; background: var(--chat); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.chat-card__head { height: 64px; background: #fff; border-bottom: 2px solid var(--ink); display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.chat-card__faces { display: flex; }
.chat-card__faces span { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.chat-card__faces span:first-child { background: var(--sun); }
.chat-card__faces span:last-child { background: var(--accent); color: #fff; margin-left: -10px; }
.chat-card__faces .icon { font-size: 18px; }
.chat-card__title { display: flex; flex-direction: column; }
.chat-card__title strong { font-size: 15px; }
.chat-card__title span { font-size: 12px; color: var(--muted); font-weight: 500; }
.chat-card__body { padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.say { margin: 0; max-width: 78%; padding: 12px 16px; font-size: 16px; line-height: 1.45; font-weight: 500; }
.say small { display: block; font-size: 12px; font-weight: 800; margin-bottom: 2px; }
.say--you { align-self: flex-start; background: #fff; border-radius: 4px 20px 20px 20px; box-shadow: 0 1px 1px rgba(11, 43, 34, 0.12); }
.say--you small { color: #b07400; }
.say--dotly { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 20px 4px 20px 20px; font-weight: 600; }
.say--dotly small { color: var(--mint-soft); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 32px; margin-top: 6px; }
.facts div { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.facts strong { font-size: 17px; }
.facts span { font-size: 15px; line-height: 1.55; color: var(--on-dark); }
.ai-visual { flex: 1 1 420px; min-width: 0; position: relative; min-height: 440px; }
.ai-visual__blob { position: absolute; left: 8%; top: 6%; width: 84%; aspect-ratio: 1; border-radius: 50%; background: var(--mint); }
.ai-visual__star { position: absolute; right: 4%; top: 2%; width: 54px; height: 54px; animation: spin 10s linear infinite; }
.ai-visual__bubbles { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 50px 6% 0; }
.bubble-pop { margin: 0; max-width: 80%; background: #fff; color: var(--ink); padding: 14px 18px; font-size: 16px; line-height: 1.45; font-weight: 500; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.bubble-pop--in { align-self: flex-start; border-radius: 4px 22px 22px 22px; rotate: -2deg; }
.bubble-pop--out { align-self: flex-end; max-width: 84%; border-radius: 22px 4px 22px 22px; rotate: 1.5deg; }
.bubble-pop .msg__ai { font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 3px; }
.tag-sun { align-self: center; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 14px; font-weight: 800; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); animation: wiggle 3s ease-in-out infinite; }

/* --- agentes de IA ------------------------------------------------------------------------- */
.agents { background: var(--deep); color: #fff; }
.agents__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 18px; margin-top: 44px; }
.agent { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 4vw, 30px); border-radius: 28px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.agent__head { display: flex; align-items: center; gap: 14px; }
.agent__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--ink); display: grid; place-items: center; }
.agent__icon .icon { font-size: 28px; }
.agent:nth-child(2) .agent__icon { background: var(--sun); }
.agent:nth-child(3) .agent__icon { background: #fff; }
.agent:nth-child(4) .agent__icon { background: #ffb8a8; }
.agent__role { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.agent h3 { margin: 2px 0 0; font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.agent > p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--on-dark); }
.agent__edge { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(42, 211, 161, 0.1); border: 1px solid rgba(42, 211, 161, 0.35); }
.agent__edge strong { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); }
.agent__edge span { font-size: 15px; line-height: 1.5; font-weight: 600; }
.agent__sample { margin-top: auto; padding: 14px; border-radius: 18px; background: var(--chat); color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.mini { margin: 0; max-width: 88%; padding: 8px 12px; font-size: 13.5px; line-height: 1.4; border-radius: 4px 14px 14px 14px; background: #fff; box-shadow: 0 1px 1px rgba(11, 43, 34, 0.12); }
.mini--out { align-self: flex-end; border-radius: 14px 4px 14px 14px; background: var(--mint-soft); }
.mini--out .icon { font-size: 14px; color: var(--accent-strong); margin-right: 4px; vertical-align: -2px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chips span { padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid #dcd6c8; font-size: 12.5px; font-weight: 700; }
.mini-chips span:first-child { background: #ffe1d9; border-color: #f3b4a3; color: #8e2a1f; }
.mini-suggest { padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px dashed var(--accent); }
.mini-suggest small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: var(--accent-strong); }
.mini-suggest small .icon { font-size: 14px; }
.mini-suggest p { margin: 4px 0 8px; font-size: 13.5px; line-height: 1.4; }
.mini-suggest div { display: flex; gap: 6px; }
.mini-suggest div span { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--accent); color: #fff; }
.mini-suggest div span + span { background: transparent; color: var(--ink); border: 1px solid #c7d3cd; }
.mini-alert { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; }
.mini-alert > .icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ffe1d9; color: #b03a22; font-size: 19px; }
.mini-alert div { display: flex; flex-direction: column; }
.mini-alert strong { font-size: 13.5px; }
.mini-alert span { font-size: 12.5px; color: var(--muted); }

/* --- embudo de ventas (demo) ----------------------------------------------------------------- */
.sold { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-radius: 22px; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); rotate: 2deg; }
.sold span { font-size: 13px; font-weight: 700; color: var(--muted); }
.sold strong { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min(78vw, 250px), 1fr); gap: 14px; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 6px 18px; margin: 40px -6px 0; scrollbar-width: none; }
.board::-webkit-scrollbar { display: none; }
.stage { scroll-snap-align: start; border-radius: 24px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; background: rgba(255, 255, 255, 0.55); border: 2px solid transparent; }
.stage--won { background: var(--mint); border-color: var(--ink); }
.stage__head { display: flex; align-items: center; gap: 8px; padding: 6px 6px 2px; }
.stage__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.stage__dot--2 { background: var(--sun); }
.stage__dot--3 { background: var(--mint); }
.stage__dot--4 { background: var(--accent); }
.stage__name { flex: 1; font-size: 15px; font-weight: 800; }
.stage__count { font-size: 12.5px; font-weight: 800; background: #fff; border-radius: 999px; padding: 3px 10px; }
.deal { text-align: left; border: 2px solid var(--ink); background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); animation: pop 0.35s cubic-bezier(0.2, 1.3, 0.4, 1) both; transition: transform 0.12s, box-shadow 0.12s; color: var(--ink); }
.deal:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.deal:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.deal[aria-disabled="true"] { cursor: default; }
.deal[aria-disabled="true"]:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
.deal__top { display: flex; align-items: center; gap: 8px; width: 100%; }
.deal__name { flex: 1; font-size: 14.5px; font-weight: 800; }
.deal__top .icon { font-size: 18px; color: #9aa7a2; }
.deal[aria-disabled="true"] .deal__top .icon { color: var(--accent); }
.deal__what { font-size: 13px; color: var(--muted); }
.deal__value { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.btn-ghost { align-self: flex-start; height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.btn-ghost:hover { background: var(--cream); }
.btn-ghost .icon { font-size: 18px; }

/* --- funciones ----------------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: 64px; margin-top: 44px; }
.feature { display: flex; gap: 18px; padding: 22px 0; border-top: 2px solid var(--ink); }
.feature__n { font-size: 15px; font-weight: 900; color: var(--accent); width: 28px; flex: 0 0 28px; }
.feature div { display: flex; flex-direction: column; gap: 6px; }
.feature h3 { margin: 0; font-size: 18px; font-weight: 800; }
.feature p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }

/* --- rubros -------------------------------------------------------------------------------- */
.rubros { background: var(--accent); color: #fff; border-radius: clamp(28px, 5vw, 48px); margin: 0 10px; overflow: hidden; }
.rubros__dots { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background-image: radial-gradient(rgba(255, 255, 255, 0.35) 2.4px, transparent 3px); background-size: 16px 16px; }
.rubro-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rubro-tabs button { height: 48px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.rubro-tabs button[aria-pressed="true"] { background: var(--sun); box-shadow: 3px 3px 0 var(--ink); }
.rubros__body { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.rubros__uses { flex: 1 1 440px; min-width: 0; padding: clamp(22px, 5vw, 36px); border-radius: 32px; background: var(--ink); display: flex; flex-direction: column; gap: 22px; }
.rubros__uses h3 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.rubros__uses ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.rubros__uses li { display: flex; gap: 14px; font-size: 16.5px; line-height: 1.5; color: var(--mint-soft); }
.rubros__uses li .icon { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--ink); display: grid; place-items: center; font-size: 17px; }
.rubros__chat { flex: 1 1 380px; min-width: 0; padding: 28px; border-radius: 32px; background-color: var(--chat); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.rubros__chat .msg { font-size: 15px; padding: 12px 16px; border-radius: 4px 18px 18px 18px; max-width: 86%; }
.rubros__chat .msg--out { border-radius: 18px 4px 18px 18px; }
.rubros__chat .msg__ai { font-size: 12px; font-weight: 800; }

/* --- planes -------------------------------------------------------------------------------- */
.cycle { align-self: flex-start; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
.cycle button { height: 42px; padding: 0 18px; border-radius: 999px; border: none; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cycle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cycle__save { padding: 2px 8px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 11.5px; font-weight: 800; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; align-items: stretch; margin-top: 40px; }
.plan { position: relative; padding: clamp(22px, 5vw, 32px); border-radius: 32px; background: #fff; border: 2px solid var(--ink); display: flex; flex-direction: column; gap: 20px; }
.plan--featured { background: var(--accent); color: #fff; box-shadow: 8px 8px 0 var(--ink); }
.plan__flag { position: absolute; top: -16px; right: 24px; padding: 8px 16px; border-radius: 999px; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); font-size: 13px; font-weight: 800; rotate: 6deg; }
.plan__name { display: flex; flex-direction: column; gap: 6px; }
.plan__name h3 { margin: 0; font-size: 24px; font-weight: 900; }
.plan__name p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text); }
.plan--featured .plan__name p { color: var(--mint-soft); }
.plan__price { display: flex; flex-direction: column; gap: 4px; }
.plan__amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__amount strong { white-space: nowrap; font-size: clamp(26px, 2.6vw, 32px); font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__amount span { font-size: 15px; font-weight: 700; color: var(--text); }
.plan--featured .plan__amount span { color: var(--mint-soft); }
.plan__note { font-size: 13px; color: var(--muted); min-height: 1.4em; }
.plan--featured .plan__note { color: var(--mint-soft); }
.plan__list { flex: 1; margin: 0; padding: 18px 0 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.4; border-top: 2px dashed var(--line-soft); }
.plan--featured .plan__list { border-top-color: rgba(255, 255, 255, 0.4); }
.plan__list li { display: flex; gap: 10px; }
.plan__list .icon { color: var(--accent); flex: 0 0 20px; }
.plan--featured .plan__list .icon { color: var(--sun); }
.plan__cta { height: 54px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; }
.plan__cta:hover { color: var(--ink); background: var(--mint-soft); }
[data-cycle-show] { display: none; }
[data-cycle="monthly"] [data-cycle-show="monthly"], [data-cycle="annual"] [data-cycle-show="annual"] { display: revert; }
.plans__fine { margin: 20px 0 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* --- preguntas ----------------------------------------------------------------------------- */
.faq { max-width: 860px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq details { border-radius: 24px; background: #fff; border: 2px solid var(--ink); padding: 0 clamp(18px, 4vw, 24px); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: clamp(16px, 2.2vw, 18px); font-weight: 800; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span:first-child { flex: 1; }
.faq summary .icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--mint-soft); color: var(--accent-strong); display: grid; place-items: center; font-size: 24px; transition: transform 0.2s, background 0.2s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { margin: 0; padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--text); text-wrap: pretty; animation: pop 0.25s ease-out both; }
.faq__more { margin: 24px 0 0; font-size: 15px; color: var(--text); }
.faq__more a { font-weight: 700; }

/* --- consultas ----------------------------------------------------------------------------- */
.contact__blob { right: -120px; top: -120px; width: 380px; height: 380px; background: var(--accent); }
.contact__dots { position: absolute; left: 40px; bottom: 60px; width: 150px; height: 150px; border-radius: 50%; background-image: radial-gradient(rgba(42, 211, 161, 0.5) 2.4px, transparent 3px); background-size: 16px 16px; }
.contact__grid { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.contact__text h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; }
.contact__points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; font-weight: 600; }
.contact__points li { display: flex; align-items: center; gap: 12px; }
.contact__points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: 0 0 8px; }
.contact__wa { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; height: 50px; padding: 0 20px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.25); color: #fff; font-weight: 700; }
.contact__wa:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.contact__card { flex: 1 1 480px; min-width: 0; border-radius: 32px; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); padding: clamp(20px, 5vw, 32px); box-shadow: 8px 8px 0 var(--accent); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__hello { display: flex; align-items: flex-start; gap: 10px; }
.form__hello > .icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 19px; }
.form__hello p { margin: 0; background: #fff; border-radius: 4px 18px 18px 18px; padding: 12px 16px; font-size: 15.5px; line-height: 1.45; font-weight: 600; box-shadow: 0 1px 2px rgba(11, 43, 34, 0.12); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 700; }
.field > span small { font-weight: 600; color: var(--muted); }
.field input, .field textarea { border-radius: 16px; border: 2px solid var(--ink); background: #fff; color: var(--ink); padding: 0 16px; font-size: 16px; outline: none; }
.field input { height: 54px; }
.field textarea { padding: 14px 16px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 157, 115, 0.18); }
.field input::placeholder, .field textarea::placeholder { color: #8a9a93; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: 12.5px; font-weight: 600; color: var(--danger); }
.field__error:empty { display: none; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; border: none; margin: 0; padding: 0; }
.topics legend { font-size: 13.5px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; cursor: pointer; }
.topic input:checked + span { background: var(--accent); color: #fff; }
.topic input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { height: 62px; border-radius: 999px; border: 2px solid var(--ink); cursor: pointer; background: var(--accent); color: #fff; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 5px 0 var(--ink); }
.form__submit:hover { background: var(--accent-strong); }
.form__submit:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.form__submit[disabled] { opacity: 0.7; cursor: progress; }
.form__note { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.5; }
.form__alert { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fde8e6; color: #8e2a1f; font-size: 14px; font-weight: 600; }
.form__alert[hidden] { display: none; }
.sent { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; animation: pop 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
.sent[hidden] { display: none; }
.sent > .icon { width: 88px; height: 88px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; font-size: 48px; color: #fff; }
.sent strong { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; }
.sent p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); max-width: 380px; }

/* --- cierre y pie -------------------------------------------------------------------------- */
.closing { padding: clamp(56px, 8vw, 90px) 0; text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing h2 { max-width: 820px; }
.footer { background: var(--deep); color: #fff; padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand img { width: 160px; height: auto; }
.footer__brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-dark); max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col h2 { margin: 0 0 4px; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; }
.footer__col a { color: var(--on-dark); }
.footer__col a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 2px; }
.footer__contact span { font-size: 12.5px; font-weight: 600; color: var(--on-dark-3); }
.footer__contact a, .footer__contact em { color: #e4f2ec; font-style: normal; }
.footer__bottom { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom > span { flex: 1; font-size: 14px; color: var(--on-dark-3); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); display: grid; place-items: center; color: #e4f2ec; }
.footer__social a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* --- textos legales ------------------------------------------------------------------------ */
.legal-hero { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 84px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.legal-hero .blob { right: -100px; top: -140px; width: 340px; height: 340px; background: var(--accent); }
.legal-hero__inner { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.legal-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; }
.legal-hero p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.legal-hero__meta { font-size: 13px; font-weight: 700; color: var(--mint); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: clamp(40px, 6vw, 72px) 20px clamp(64px, 8vw, 100px); }
.legal-nav { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 4px; }
.legal-nav h2 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.legal-nav a { padding: 10px 14px; border-radius: 12px; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.legal-nav a:hover { background: #fff; color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.prose { max-width: 760px; font-size: 16.5px; line-height: 1.75; color: #22413a; }
.prose h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 800; color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose .callout { margin: 0 0 24px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--mint); }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dcd6c8; vertical-align: top; }
.prose th { font-weight: 800; color: var(--ink); }

/* --- animaciones --------------------------------------------------------------------------- */
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(14px) scale(0.9); } 100% { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes wiggle { 0%, 100% { rotate: -6deg; } 50% { rotate: -2deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- responsive ---------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 14px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__login { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__menu-btn { display: grid; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal-nav h2 { width: 100%; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .hero__ctas .btn { width: 100%; }
  .phone-stage { height: 600px; }
  .phone { height: 580px; }
  .badge-247 { right: -6px; }
  .deal-card { left: -6px; }
  .phone-stage__blob { left: -40px; width: 400px; height: 400px; }
  .sparkle--a { right: -14px; }
  .rubro-switch button { padding: 0 10px; font-size: 12px; }
  .section--round { border-radius: 32px 32px 0 0; }
  .section--overlap { margin-top: -32px; }
  .say { font-size: 15px; max-width: 88%; }
  .sold { rotate: 0deg; }
}

/* --- Dot AI a voluntad (portada) ----------------------------------------------------------- */
.ai-mode { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 22px; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--mint); max-width: 560px; }
.ai-mode__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.ai-mode__label .icon { color: var(--accent); }
.ai-mode__switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream); border: 1px solid #ddd6c6; }
.ai-mode__switch button { min-height: 40px; padding: 0 10px; border: none; border-radius: 999px; background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.ai-mode__switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ai-mode__hint { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.msg__ai--team { display: none; }
[data-ai-mode-view="off"] .msg__ai--bot { display: none; }
[data-ai-mode-view="off"] .msg__ai--team { display: flex; }
[data-ai-mode-view="off"] .badge-247 { opacity: 0; transform: scale(0.6); }
.badge-247 { transition: opacity 0.25s, transform 0.25s; }
[data-ai-mode-view="after"] .phone__chat { background-color: #e3dccd; }
.examples { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.examples__label { font-size: 14px; font-weight: 700; color: var(--text); max-width: 380px; }
.rubro-switch { flex-wrap: wrap; justify-content: center; }
.rubro-switch__more { height: 38px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; font-size: 13px; font-weight: 800; color: var(--accent-strong); }
.rubro-switch__more:hover { background: var(--mint-soft); color: var(--accent-strong); }
.rubros__lead { color: var(--mint-soft); max-width: 760px; margin-top: 14px; }

/* --- el sistema por dentro ----------------------------------------------------------------- */
.section__head--center { align-items: center; text-align: center; margin: 0 auto; }
.system { padding-top: clamp(56px, 8vw, 96px); }
.shots { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.shots__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
.shots__tabs button { height: 42px; padding: 0 16px; border: none; border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.shots__tabs button .icon { font-size: 19px; }
.shots__tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.shot { margin: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: fade 0.25s ease-out both; }
.shot__window { width: 100%; border-radius: 22px; overflow: hidden; background: #fff; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--mint); }
.shot__bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #ece7db; border-bottom: 2px solid var(--ink); }
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9cfba; }
.shot__bar i:first-child { background: #ff8f73; }
.shot__bar i:nth-child(2) { background: var(--sun); }
.shot__bar i:nth-child(3) { background: var(--mint); }
.shot__bar span { margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--muted); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { max-width: 640px; text-align: center; font-size: 16px; line-height: 1.55; color: var(--text); }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.cta-row span { font-size: 13.5px; color: var(--muted); }

/* --- "Tu WhatsApp vende": dos columnas parejas -------------------------------------------- */
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pair__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pair__media { position: relative; }
.outcomes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.outcomes li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 700; }
.outcomes .icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); color: var(--accent-strong); }
.chat-card--compact { box-shadow: 6px 6px 0 var(--ink); }
.chat-card--compact .chat-card__head { height: 56px; }
.chat-card--compact .chat-card__body { padding: 16px 14px; gap: 7px; }
.chat-card--compact .say { font-size: 14.5px; padding: 9px 13px; max-width: 84%; }
.chat-card--compact .say small { font-size: 11px; }

/* --- tres pasos ---------------------------------------------------------------------------- */
.steps { padding-top: clamp(48px, 7vw, 80px); padding-bottom: 0; }
.steps__list { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.steps__list li { position: relative; padding: 26px 24px 24px; border-radius: 26px; background: #fff; border: 2px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.steps__list li:nth-child(2) { box-shadow: 6px 6px 0 var(--mint); }
.steps__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 900; font-size: 18px; border: 2px solid var(--ink); }
.steps__list h3 { margin: 6px 0 0; font-size: 20px; font-weight: 800; }
.steps__list p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.steps .cta-row { justify-content: flex-start; }

/* --- botón fijo para crear la cuenta (celular) --------------------------------------------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; display: none; animation: pop 0.25s ease-out both; }
.sticky-cta .btn { height: 54px; box-shadow: 0 5px 0 var(--ink), 0 12px 30px rgba(6, 32, 26, 0.35); }

@media (max-width: 900px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sticky-cta:not([hidden]) { display: block; }
  .shots__tabs { border-radius: 22px; }
  .shots__tabs button { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .shot__window { box-shadow: 6px 6px 0 var(--mint); border-radius: 16px; }
  .ai-mode__switch button { font-size: 12.5px; padding: 0 6px; }
}
.turnstile { margin: 0; }
