/* chipaerp.com — una sola hoja, un solo tema (el "masa" sobre el que se dibujó el logo). */

@font-face { font-family: "Nunito"; src: url("/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #143A8A;
  --navy-d: #0E2A66;
  --navy-dd: #0A1F4D;
  --gold: #D9A21B;
  --gold-d: #B7860F;
  --gold-l: #F5E6BF;
  --ink: #1D2433;
  --muted: #5D6470;
  --line: #E6E0D2;
  --bg: #F6F3EC;
  --paper: #FBF9F4;
  --white: #FFFFFF;
  --ok: #2E9E63;
  --wa: #25D366;

  --r: 18px;
  --r-sm: 12px;
  --shadow-1: 0 1px 2px rgba(29,36,51,.06), 0 2px 8px rgba(29,36,51,.05);
  --shadow-2: 0 2px 6px rgba(29,36,51,.06), 0 18px 40px -12px rgba(20,58,138,.22);
  --shadow-3: 0 30px 70px -20px rgba(10,31,77,.35);

  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6;
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--display); font-weight: 800;
       font-size: 1rem; line-height: 1; padding: .95em 1.35em; border-radius: 999px; border: 2px solid transparent; text-decoration: none;
       cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 1.06rem; padding: 1.05em 1.6em; }
.btn--sm { font-size: .92rem; padding: .7em 1.1em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(20,58,138,.55); }
.btn--primary:hover { background: var(--navy-d); box-shadow: 0 12px 26px -10px rgba(20,58,138,.6); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(20,58,138,.22); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(20,58,138,.04); }
.btn--gold { background: var(--gold); color: var(--navy-dd); box-shadow: 0 10px 24px -10px rgba(217,162,27,.7); }
.btn--gold:hover { background: #E4AE29; }
.link-quiet { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.link-quiet:hover { color: var(--navy); }

/* ── Navegación ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,243,236,.82); backdrop-filter: saturate(1.4) blur(12px);
       -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(29,36,51,.35); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; opacity: .82; }
.nav__links a:hover { opacity: 1; color: var(--navy); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
@media (max-width: 900px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }
@media (max-width: 400px) { .nav__logo img { height: 32px; } .nav__cta { gap: 12px; } }

/* ── Hero ── */
.hero { position: relative; padding: 64px 0 120px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 760px; height: 760px; border-radius: 50%;
                background: radial-gradient(closest-side, rgba(217,162,27,.20), rgba(217,162,27,0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -280px; width: 640px; height: 640px; border-radius: 50%;
               background: radial-gradient(closest-side, rgba(20,58,138,.10), rgba(20,58,138,0)); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .88rem; color: var(--navy);
           background: rgba(20,58,138,.07); border: 1px solid rgba(20,58,138,.12); padding: 7px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(46,158,99,.18); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 900; margin: 22px 0 20px; letter-spacing: -.025em; }
.accent { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(217,162,27,.6); text-decoration-thickness: .14em;
          text-underline-offset: .06em; text-decoration-skip-ink: none; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn--primary .ic { width: 1.3em; height: 1.3em; }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink); font-weight: 700; font-size: .95rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts .ic { color: var(--ok); width: 1.1em; height: 1.1em; }

/* Ilustración */
.hero__art { position: relative; padding-bottom: 200px; }
.win { position: relative; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-3); border: 1px solid rgba(29,36,51,.07);
       overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transform-origin: left center; margin-right: 24px; }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #F3EFE6; border-bottom: 1px solid var(--line); }
.win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #DDD5C4; }
.win__bar i:first-child { background: #EE8C7E; } .win__bar i:nth-child(2) { background: #F1C46B; } .win__bar i:nth-child(3) { background: #8FCB9B; }
.win__bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.win__body { padding: 20px 20px 44px; }
.pos__search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--navy); border-radius: 10px;
               color: var(--muted); font-size: .9rem; box-shadow: 0 0 0 4px rgba(20,58,138,.08); }
.pos__search .ic { color: var(--navy); }
.pos__lines { width: 100%; border-collapse: collapse; margin: 16px 0 6px; font-size: .9rem; }
.pos__lines td { padding: 10px 4px; border-bottom: 1px dashed var(--line); }
.pos__lines td:nth-child(2) { text-align: center; color: var(--muted); width: 36px; }
.pos__lines td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.pos__foot { display: flex; justify-content: space-between; align-items: end; margin-top: 14px; }
.pos__foot small { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.pos__foot b { font-family: var(--display); font-size: 1rem; }
.pos__total { text-align: right; }
.pos__total b { font-size: 1.6rem; color: var(--navy); font-weight: 900; font-variant-numeric: tabular-nums; }
.pos__pay { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.chip { font-size: .8rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: rgba(20,58,138,.1); color: var(--navy); }
.chip--off { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.pos__btn { margin-left: auto; background: var(--gold); color: var(--navy-dd); font-family: var(--display); font-weight: 900; font-size: .9rem;
            padding: 10px 16px; border-radius: 10px; }

.ticket { position: absolute; right: 28px; bottom: -52px; width: 168px; z-index: 2; background: var(--white); padding: 18px 16px 20px; border-radius: 6px 6px 0 0;
          box-shadow: var(--shadow-2); text-align: center; font-size: .78rem; transform: rotate(3deg);
          animation: float 7s ease-in-out infinite; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
                 background: linear-gradient(-45deg, transparent 6px, #fff 0) 0 0 / 12px 10px, linear-gradient(45deg, transparent 6px, #fff 0) 0 0 / 12px 10px;
                 filter: drop-shadow(0 4px 4px rgba(29,36,51,.06)); }
.ticket img { width: 34px; height: 34px; margin: 0 auto 8px; }
.ticket__t { font-weight: 900; font-family: var(--display); letter-spacing: .04em; font-size: .74rem; }
.ticket__n { color: var(--muted); font-variant-numeric: tabular-nums; }
.ticket__rule { border-top: 1px dashed #CFC7B5; margin: 10px 0; }
.ticket__row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.ticket__qr { width: 64px; height: 64px; margin: 10px auto 10px; }
.ticket__ok { display: inline-flex; white-space: nowrap; font-size: .72rem; align-items: center; gap: 5px; color: var(--ok); font-weight: 800; background: rgba(46,158,99,.1);
              padding: 5px 10px; border-radius: 999px; }
.ticket__ok .ic { width: 1em; height: 1em; }

.toast { position: absolute; left: 8px; bottom: 70px; display: flex; align-items: center; gap: 12px; background: var(--white); padding: 12px 16px;
         border-radius: 14px; box-shadow: var(--shadow-2); border: 1px solid rgba(29,36,51,.05); animation: float 7s ease-in-out -3.5s infinite; }
.toast > .ic { color: #fff; background: var(--navy); border-radius: 10px; padding: 7px; width: 34px; height: 34px; }
.toast b { display: block; font-family: var(--display); font-size: .92rem; }
.toast small { color: var(--muted); font-size: .8rem; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (max-width: 980px) {
  .hero { padding: 40px 0 72px; }
  .hero__in { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { max-width: 560px; width: 100%; margin: 0 auto; min-height: 0; padding-bottom: 60px; }
  .win { transform: none; margin-right: 0; }
}
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .win { margin-right: 0; }
  .win__body { padding: 14px 14px 40px; }
  .hero__art { padding-bottom: 190px; }
  .pos__lines td:nth-child(1) { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ticket { width: 140px; right: 8px; bottom: -44px; font-size: .7rem; padding: 14px 12px 16px; }
  .ticket__qr { width: 56px; height: 56px; }
  .toast { left: 0; bottom: 60px; padding: 10px 12px; max-width: 200px; }
  .toast small { display: none; }
  .pos__btn { font-size: .8rem; padding: 9px 12px; }
}

/* ── Banda ── */
.band { background: var(--navy); color: #fff; position: relative; }
.band__in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.band li { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: rgba(255,255,255,.78); line-height: 1.35; }
.band li b { display: block; color: #fff; font-family: var(--display); font-size: 1rem; }
.band .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--gold); }
@media (max-width: 900px) { .band__in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .band__in { grid-template-columns: 1fr; gap: 16px; } }

/* ── Secciones ── */
.section { padding: 112px 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding: 76px 0; } }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head--left { text-align: left; margin: 0; }
.kicker { font-family: var(--display); font-weight: 900; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 14px; }
.kicker--gold { color: var(--gold); }
.sec-head h2, .trust h2, .cta h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 900; letter-spacing: -.02em; }
.sec-head > p:last-child { color: var(--muted); font-size: 1.1rem; margin-top: 18px; }

/* Funciones */
.grid { display: grid; gap: 20px; }
.feats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow-1);
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(20,58,138,.18); }
.feat__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(20,58,138,.08); color: var(--navy); margin-bottom: 20px; }
.feat__ic .ic { width: 26px; height: 26px; }
.feat h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .98rem; }
.feat--star { background: linear-gradient(160deg, #FFFDF6, #FFF6DD); border-color: rgba(217,162,27,.4); }
.feat--star .feat__ic { background: var(--gold); color: var(--navy-dd); }

/* Destacados */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 960px) { .duo { grid-template-columns: 1fr; } }
.spot { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line);
        border-radius: 24px; padding: 36px; box-shadow: var(--shadow-1); overflow: hidden; position: relative; }
@media (max-width: 600px) { .spot { grid-template-columns: 1fr; padding: 28px 22px; } }
.spot h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; letter-spacing: -.01em; }
.spot__copy p { color: var(--muted); }
.spot em { color: var(--ink); font-style: normal; font-weight: 700; }
.spot--navy { background: radial-gradient(120% 120% at 100% 0%, #1E4AA6 0%, var(--navy) 45%, var(--navy-dd) 100%); border-color: transparent; color: #fff; }
.spot--navy h3 { color: #fff; }
.spot--navy .spot__copy p { color: rgba(255,255,255,.78); }
.spot .kicker { color: var(--gold-d); }
.spot--navy .kicker { color: var(--gold); }

.chat { display: grid; gap: 10px; }
.bubble { padding: 12px 14px; border-radius: 16px; font-size: .9rem; max-width: 100%; }
.bubble--me { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; justify-self: end; font-weight: 600; }
.bubble--bot { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble--bot table { border-collapse: collapse; width: 100%; font-size: .86rem; }
.bubble--bot td { padding: 5px 2px; border-bottom: 1px solid var(--line); }
.bubble--bot tr:last-child td { border-bottom: 0; }
.bubble--bot td:last-child { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--navy); padding-left: 16px; }

.label { background: #fff; color: var(--ink); border-radius: 10px; padding: 16px 16px 14px; transform: rotate(-3deg); box-shadow: 0 20px 40px -16px rgba(0,0,0,.45);
         font-size: .8rem; justify-self: center; width: 100%; max-width: 220px; }
.label__k { font-family: var(--display); font-weight: 900; letter-spacing: .08em; font-size: .7rem; color: var(--muted); }
.label__n { font-family: var(--display); font-weight: 900; font-size: 1.3rem; }
.label__bars { height: 44px; margin: 8px 0 10px;
               background: repeating-linear-gradient(90deg, #1D2433 0 2px, transparent 2px 4px, #1D2433 4px 5px, transparent 5px 8px, #1D2433 8px 11px, transparent 11px 12px, #1D2433 12px 13px, transparent 13px 16px); }
.label__d { color: var(--muted); }
.label__s { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* Llave en mano */
.keys { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .keys { grid-template-columns: 1fr; gap: 32px; } .counter { order: -1; max-width: 480px; margin: 0 auto; } }
.keys__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: k; }
.keys__list li { display: flex; gap: 18px; padding: 18px 20px; border-radius: var(--r-sm); transition: background-color .2s; }
.keys__list li:hover { background: rgba(20,58,138,.04); }
.keys__n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 900;
           background: var(--navy); color: #fff; box-shadow: 0 0 0 6px rgba(20,58,138,.08); }
.keys__list h3 { font-size: 1.15rem; font-weight: 800; margin: 6px 0 4px; }
.keys__list p { color: var(--muted); font-size: .98rem; }
.counter { margin: 0; background: linear-gradient(180deg, #FFFFFF, #F3EDE0); border: 1px solid var(--line); border-radius: 28px; padding: 28px 24px 22px; box-shadow: var(--shadow-2); }
.counter figcaption { text-align: center; color: var(--muted); font-size: .92rem; font-weight: 600; margin-top: 8px; }
.counter .paper { animation: print 4.5s ease-in-out infinite; transform-origin: 317px 176px; }
.counter .beam { animation: beam 2.2s ease-in-out infinite; }
@keyframes print { 0%, 15% { transform: scaleY(.25); } 55%, 100% { transform: scaleY(1); } }
@keyframes beam { 0%, 100% { opacity: 0; } 40%, 60% { opacity: .9; } }
.keys__note { display: flex; gap: 12px; align-items: flex-start; margin: 40px auto 0; max-width: 860px; background: var(--white); border: 1px solid var(--line);
              border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: var(--r-sm); color: var(--muted); }
.keys__note .ic { color: var(--gold-d); margin-top: 3px; }
.keys__note strong { color: var(--ink); }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
                 background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .6; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__n { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold);
           font-family: var(--display); font-weight: 900; color: var(--navy); margin-bottom: 18px; position: relative; }
.step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .step__n { grid-row: span 2; margin: 0; } }

/* Planes */
.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px 30px; box-shadow: var(--shadow-1); position: relative; }
.plan h3 { font-size: 1.6rem; font-weight: 900; }
.plan__for { color: var(--muted); margin: 10px 0 22px; font-size: .98rem; min-height: 3.2em; }
.plan__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 30px; font-size: .97rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
                         background: rgba(46,158,99,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232E9E63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan--main { background: radial-gradient(130% 90% at 100% 0%, #1E4AA6 0%, var(--navy) 40%, var(--navy-dd) 100%); color: #fff; border-color: transparent;
              box-shadow: var(--shadow-3); transform: translateY(-12px); }
@media (max-width: 960px) { .plan--main { transform: none; } }
.plan--main h3 { color: #fff; }
.plan--main .plan__for { color: rgba(255,255,255,.75); }
.plan--main .plan__list li::before { background-color: rgba(217,162,27,.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23F2C14E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan--main .btn--primary { background: var(--gold); color: var(--navy-dd); box-shadow: 0 10px 24px -10px rgba(217,162,27,.7); }
.plan--main .btn--primary:hover { background: #E4AE29; }
.plan__tag { position: absolute; top: -14px; left: 30px; background: var(--gold); color: var(--navy-dd); font-family: var(--display); font-weight: 900;
             font-size: .78rem; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(217,162,27,.8); }
.plans__note { text-align: center; color: var(--muted); max-width: 760px; margin: 44px auto 0; }
.plans__note b { color: var(--ink); }

/* Datos */
.trust { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; gap: 36px; } }
.trust__copy p:last-child { color: var(--muted); font-size: 1.1rem; margin-top: 18px; }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
@media (max-width: 560px) { .trust__list { grid-template-columns: 1fr; } }
.trust__list li { display: flex; gap: 16px; }
.trust__list .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--gold-l); color: var(--gold-d); }
.trust__list h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.trust__list p { color: var(--muted); font-size: .97rem; }

/* Preguntas */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } .faq-wrap .sec-head { position: static; } }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(20,58,138,.25); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-family: var(--display); font-weight: 800; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
                      background: rgba(20,58,138,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23143A8A' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
                      transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* Contacto */
.cta { background: radial-gradient(90% 120% at 0% 0%, #1E4AA6 0%, var(--navy) 40%, var(--navy-dd) 100%); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; border: 70px solid rgba(255,255,255,.04); }
.cta::after { content: ""; position: absolute; right: 120px; bottom: -60px; width: 180px; height: 180px;
              background: url("/img/isotipo.svg") center / contain no-repeat; opacity: .06; transform: rotate(-12deg); }
.cta__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .cta__in { grid-template-columns: 1fr; gap: 40px; } }
.cta h2 { color: #fff; }
.cta__copy > p { color: rgba(255,255,255,.8); font-size: 1.12rem; margin: 18px 0 30px; max-width: 30em; }
.cta__copy .cta__alt { font-size: .95rem; margin: 22px 0 0; color: rgba(255,255,255,.6); }
@media (max-width: 560px) { .cta__copy .btn { width: 100%; } }

.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-3); display: grid; gap: 16px; }
@media (max-width: 560px) { .form { padding: 24px 20px; } }
.form__row { display: grid; gap: 6px; }
.form label { font-weight: 800; font-size: .92rem; font-family: var(--display); }
.form .opt { font-weight: 600; color: var(--muted); }
.form input, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
                               padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input::placeholder, .form textarea::placeholder { color: #A39C8E; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(20,58,138,.1); }
.form [aria-invalid="true"] { border-color: #C8443B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-size: .95rem; min-height: 1.4em; text-align: center; }
.form__msg.is-ok { color: var(--ok); font-weight: 700; }
.form__msg.is-err { color: #C8443B; font-weight: 700; }
.form button[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Pie */
.foot { background: var(--ink); color: rgba(255,255,255,.65); padding: 56px 0 28px; font-size: .95rem; }
.foot__in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot__brand img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 14px; }
.foot__brand p { max-width: 26em; }
.foot__links { display: flex; gap: 24px; flex-wrap: wrap; align-items: start; }
.foot__links a { color: rgba(255,255,255,.8); text-decoration: none; font-weight: 700; }
.foot__links a:hover { color: #fff; }
.foot__legal { padding-top: 22px; font-size: .86rem; color: rgba(255,255,255,.45); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
            background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .2s, opacity .3s;
            opacity: 0; pointer-events: none; transform: translateY(12px); }
.wa-float.is-on { opacity: 1; pointer-events: auto; transform: none; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }

/* Aparición al hacer scroll (sólo si hay JS y el usuario no pidió menos movimiento) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ── Un solo destacado (órdenes de trabajo) ── */
.duo--one { grid-template-columns: 1fr; }
.duo--one .spot { grid-template-columns: 1.4fr .6fr; padding: 40px 48px; }
@media (max-width: 600px) { .duo--one .spot { grid-template-columns: 1fr; padding: 28px 22px; } }

/* ── Asistente de IA ── */
.ai { position: relative; overflow: hidden; padding: 120px 0 96px; color: #fff;
      background: radial-gradient(60% 70% at 85% 30%, rgba(217,162,27,.18), transparent 70%),
                  radial-gradient(80% 90% at 0% 100%, #1E4AA6 0%, transparent 60%), var(--navy-dd); }
.ai::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
              background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px;
              -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
@media (max-width: 720px) { .ai { padding: 80px 0 72px; } }
.ai__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .ai__in { grid-template-columns: 1fr; gap: 48px; } }
.ai__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 900; font-size: .82rem; letter-spacing: .12em;
             text-transform: uppercase; color: var(--gold); background: rgba(217,162,27,.12); border: 1px solid rgba(217,162,27,.35); padding: 7px 14px; border-radius: 999px; }
.ai__badge .ic { width: 1.1em; height: 1.1em; }
.ai h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 900; letter-spacing: -.02em; margin: 22px 0 18px; }
.ai h2 span { background: linear-gradient(90deg, #F2C14E, #FFE3A1 60%, #F2C14E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai__lead { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 32em; }
.ai__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.ai__list li { display: flex; gap: 14px; color: rgba(255,255,255,.72); font-size: .98rem; }
.ai__list b { color: #fff; }
.ai__list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--gold); }

.ai__demo { display: grid; place-items: center; }
.phone { width: 100%; max-width: 380px; background: #F6F3EC; color: var(--ink); border-radius: 32px; padding: 10px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12);
         animation: float 8s ease-in-out infinite; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #fff; border-radius: 24px 24px 8px 8px; }
.phone__head b { display: block; font-family: var(--display); font-size: .95rem; }
.phone__head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; }
.phone__head small i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.phone__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 10px; height: 370px; overflow: hidden; justify-content: flex-end; }
.msg { margin: 0; padding: 11px 14px; border-radius: 18px; font-size: .9rem; line-height: 1.45; max-width: 86%; }
.msg--me { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 5px; font-weight: 600; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg--bot b { color: var(--navy); }
.msg--bot table { border-collapse: collapse; width: 100%; min-width: 190px; font-size: .86rem; }
.msg--bot td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.msg--bot tr:last-child td { border-bottom: 0; }
.msg--bot td:last-child { text-align: right; font-weight: 800; color: var(--navy); padding-left: 18px; font-variant-numeric: tabular-nums; }
.mini { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 10px; }
.mini i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--gold), #E9C46A); }
.mini i:last-child { background: var(--navy); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; border-bottom-left-radius: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #B9B2A3; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.msg-in { animation: msgIn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.phone__input { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 4px; padding: 8px 8px 8px 16px; background: #fff; border-radius: 999px;
                border: 1px solid var(--line); color: #A39C8E; font-size: .88rem; }
.phone__input b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.phone__input .ic { width: 16px; height: 16px; }
.phone__input.is-typing span { color: var(--ink); }

.soon { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 72px;
        padding: 28px 32px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px dashed rgba(217,162,27,.5); }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; } }
.soon__tag { justify-self: start; font-family: var(--display); font-weight: 900; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
             background: var(--gold); color: var(--navy-dd); padding: 6px 12px; border-radius: 999px; }
.soon h3 { color: #fff; font-size: 1.35rem; font-weight: 900; margin-bottom: 4px; }
.soon p { color: rgba(255,255,255,.72); }
.soon em { color: #fff; font-style: normal; font-weight: 700; }
.wave { display: flex; align-items: center; gap: 4px; height: 48px; }
.wave i { width: 5px; height: 30%; border-radius: 4px; background: var(--gold); animation: wave 1.3s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -1s; }
.wave i:nth-child(odd) { background: #F2C14E; }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
@media (max-width: 760px) { .wave { display: none; } }

/* ── Hero en movimiento (sólo con JS y sin "reducir movimiento") ── */
.anim .pos__lines tr { opacity: 0; transform: translateX(-10px); transition: opacity .45s ease, transform .45s ease; }
.anim.s1 .pos__lines tr:nth-child(1), .anim.s2 .pos__lines tr:nth-child(2), .anim.s3 .pos__lines tr:nth-child(3) { opacity: 1; transform: none; }
.anim .pos__lines tr.flash td { background: rgba(217,162,27,.12); }
.anim .pos__search { position: relative; overflow: hidden; }
.anim .pos__search::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: #E0413B; box-shadow: 0 0 10px 2px rgba(224,65,59,.5); opacity: 0; }
.anim.scan .pos__search::after { animation: scan .6s ease-in-out; }
@keyframes scan { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 1; } }
.anim .pos__btn { transition: transform .15s, box-shadow .3s; }
.anim.s4 .pos__btn { animation: press .5s ease; }
@keyframes press { 40% { transform: scale(.94); box-shadow: 0 0 0 6px rgba(217,162,27,.25); } }
.anim .ticket { clip-path: inset(-30px -30px 100% -30px); transition: clip-path 1.4s cubic-bezier(.4,.1,.3,1); }
.anim.s5 .ticket { clip-path: inset(-30px -30px -40px -30px); }
.anim .toast { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.anim.s6 .toast { opacity: 1; transform: none; }
.anim.fade .win__body, .anim.fade .ticket, .anim.fade .toast { opacity: 0; transition: opacity .5s ease; }

.form__ts:empty { display: none; }
.form__ts { min-height: 65px; display: flex; justify-content: center; }
.form__legal { font-size: .8rem; color: var(--muted); text-align: center; line-height: 1.45; margin-top: -4px; }

/* Página de gracias */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; text-align: center;
          background: radial-gradient(60% 50% at 50% 0%, rgba(217,162,27,.16), transparent 70%), var(--bg); }
.thanks__card { max-width: 520px; display: grid; gap: 18px; justify-items: center; }
.thanks__card img { height: 44px; width: auto; }
.thanks__ok { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 0 0 10px rgba(20,58,138,.08); }
.thanks__ok .ic { width: 34px; height: 34px; }
.thanks h1 { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 900; }
.thanks p { color: var(--muted); font-size: 1.1rem; }
