/* ========== International Publicidad · estilos ========== */
:root {
  --red: #e3262b; --blue: #1f4fa6; --green: #43b02a; --gray: #8c919c;
  --primary: #2457d6; --primary-2: #1a43ad;
  --grad: linear-gradient(100deg, #ff4650 0%, #4f7dff 50%, #3fd17a 100%);
  --ink: #0d1530; --ink-2: #47506b; --muted: #6c7590;
  --bg: #ffffff; --bg-alt: #f3f6fc; --card: #ffffff; --line: #e3e8f3;
  --dark: #0a0f24; --dark-2: #121a38;
  --wa: #1fae55;
  --r: 18px; --r-sm: 12px;
  --sh: 0 10px 30px -12px rgba(16, 28, 66, .18);
  --sh-lg: 0 30px 60px -20px rgba(16, 28, 66, .35);
  --ff: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --fh: 'Sora', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef2ff; --ink-2: #b9c2dd; --muted: #8e98b6;
    --bg: #0b1022; --bg-alt: #0f1630; --card: #131b38; --line: #232d52;
    --sh: 0 10px 30px -12px rgba(0,0,0,.6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef2ff; --ink-2: #b9c2dd; --muted: #8e98b6;
  --bg: #0b1022; --bg-alt: #0f1630; --card: #131b38; --line: #232d52;
  --sh: 0 10px 30px -12px rgba(0,0,0,.6); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--ff); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--fh); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 3px solid #4f7dff; outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: .95rem; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn.sm { padding: 8px 16px; font-size: .88rem; }
.btn.lg { padding: 15px 28px; font-size: 1.02rem; }
.btn.block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(36,87,214,.8); }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { background: rgba(255,255,255,.08); color: inherit; border: 1.5px solid currentColor; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31,174,85,.8); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: inherit; position: relative; }
.icon-btn:hover { background: rgba(127,140,180,.14); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.hdr.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t b { font-family: var(--fh); font-weight: 800; letter-spacing: .02em; font-size: 1.05rem; }
.brand-t small { font-size: .62rem; letter-spacing: .38em; font-weight: 600; opacity: .8; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: inherit; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .93rem; opacity: .88; }
.nav a:hover, .nav a.on { opacity: 1; background: rgba(127,140,180,.16); }
.hdr-act { display: flex; align-items: center; gap: 6px; }
.cart-n { position: absolute; top: 3px; right: 2px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cart-n[hidden] { display: none; }
.cart-n.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.5); } }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: .3s; }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 20%, #1b2a6b 0%, transparent 60%), var(--dark); color: #fff; padding: 130px 0 0; overflow: hidden; isolation: isolate; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -120px; top: 80px; background: conic-gradient(from 0deg, #ff4650, #4f7dff, #3fd17a, #ff4650); filter: blur(120px); opacity: .28; z-index: -1; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-bottom: 70px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; font-weight: 600; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #3fd17a; box-shadow: 0 0 0 0 rgba(63,209,122,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(63,209,122,0); } 100% { box-shadow: 0 0 0 0 rgba(63,209,122,0); } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; margin: 18px 0; }
.rotator { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-height: 1.15em; }
.rotator.out { animation: rotOut .35s forwards; }
.rotator.in { animation: rotIn .45s; }
@keyframes rotOut { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
.lead { font-size: 1.12rem; color: #c7d0ef; max-width: 590px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #c7d0ef; font-size: .9rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: #3fd17a; stroke-width: 2; }

.hero-art { position: relative; height: 520px; }
.phone { position: absolute; left: 50%; top: 10px; transform: translateX(-50%) rotate(-4deg); width: 270px; height: 500px; border-radius: 38px; background: #050816; padding: 12px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), inset 0 0 0 2px #2a3566; animation: floaty 7s ease-in-out infinite; }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #050816; border-radius: 12px; z-index: 2; }
.ph-screen { background: #fff; color: #0d1530; height: 100%; border-radius: 28px; padding: 46px 18px 18px; font-size: .82rem; display: flex; flex-direction: column; gap: 9px; }
.ph-top { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem; }
.ph-ok { display: flex; align-items: center; gap: 6px; background: #e7f8ee; color: #138a43; font-weight: 800; font-size: .75rem; padding: 8px 10px; border-radius: 10px; letter-spacing: .04em; }
.ph-ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; }
.ph-line { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #e3e8f3; }
.ph-line.mute { color: #6c7590; border: 0; padding: 2px 0; }
.ph-total { display: flex; justify-content: space-between; font-family: var(--fh); font-size: 1.15rem; font-weight: 800; margin-top: auto; padding-top: 10px; border-top: 2px solid #0d1530; }
.ph-send { text-align: center; background: #1fae55; color: #fff; border-radius: 12px; padding: 10px; font-weight: 700; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(18,26,60,.92); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 12px 16px 12px 12px; border-radius: 16px; font-size: .85rem; box-shadow: 0 24px 44px -16px rgba(0,0,0,.75); z-index: 2; white-space: nowrap; }
.float-card small { display: block; color: #c7d0ef; font-size: .76rem; }
.fc1 { left: -24px; top: 40px; animation: floaty 6s ease-in-out infinite; }
.fc2 { right: -34px; top: 250px; animation: floaty 8s ease-in-out infinite reverse; }
.fc3 { left: -10px; bottom: 30px; animation: floaty 7s ease-in-out 1s infinite; }
.fc-ico { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.fc-ico.firma { background: linear-gradient(135deg, #ff4650, #ff8a3d); }
.fc-ico.ia { background: linear-gradient(135deg, #4f7dff, #9b5bff); }
.fc-ico.ok { background: linear-gradient(135deg, #3fd17a, #18a058); }
@keyframes floaty { 50% { translate: 0 -12px; } }
.marquee { border-top: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); overflow: hidden; padding: 16px 0; }
.mq-track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.mq-track span { padding: 0 28px; font-family: var(--fh); font-weight: 600; color: #aab4d8; white-space: nowrap; position: relative; }
.mq-track span::after { content: "✦"; position: absolute; right: -6px; color: #4f7dff; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-dark p { color: #c7d0ef; }
.sec-grad { background: linear-gradient(130deg, #1a2d7a, #2457d6 45%, #1d8a52); color: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head p { color: var(--ink-2); font-size: 1.07rem; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.sec-dark .eyebrow, .eyebrow.light { color: #8fb0ff; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.reveal.vis { opacity: 1; transform: none; }

/* before/after */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ba-toggle { display: inline-flex; padding: 5px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; margin: 8px 0 18px; }
.ba-toggle button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--ink-2); }
.ba-toggle button.on { background: var(--primary); color: #fff; }
.ba-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ba-list li { background: var(--card); border: 1px solid var(--line); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; animation: rotIn .4s both; }
.ba-media { display: flex; justify-content: center; }
.ba-frame { position: relative; width: min(340px, 100%); aspect-ratio: 9/14; border-radius: 28px; overflow: hidden; box-shadow: var(--sh-lg); }
.ba-frame video { width: 100%; height: 100%; object-fit: cover; transition: filter .5s; }
.ba-frame.gray video { filter: grayscale(.7) contrast(1.05); }
.ba-tag { position: absolute; left: 14px; top: 14px; background: rgba(10,15,36,.75); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; }

/* cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; margin-top: 40px; }
.card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); opacity: 0; transition: .3s; }
.card:hover::before { opacity: 1; }
.card-art { height: 150px; margin: -22px -22px 6px; display: grid; place-items: center; position: relative; overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.card:hover .card-art img { transform: scale(1.06); }
.card-art svg { width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.art-firmas { background: linear-gradient(135deg, #ff4650, #ff8a3d); }
.art-facturacion { background: linear-gradient(135deg, #2457d6, #4fb3ff); }
.art-ia { background: linear-gradient(135deg, #5b3dff, #c04bff); }
.art-formularios { background: linear-gradient(135deg, #0fa4a4, #3fd17a); }
.art-web { background: linear-gradient(135deg, #0d1530, #2457d6); }
.art-diseno { background: linear-gradient(135deg, #ff4f9a, #ffb23d); }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: #0d1530; font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; z-index: 1; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.card h3 { margin: 0; font-size: 1.08rem; }
.card p { color: var(--ink-2); font-size: .93rem; margin: 0; flex: 1; }
.price { font-family: var(--fh); font-weight: 800; font-size: 1.45rem; }
.price small { font-size: .78rem; font-weight: 600; color: var(--muted); font-family: var(--ff); }
.card-act { display: flex; gap: 8px; margin-top: 6px; }
.card-act .btn { flex: 1; padding: 10px 12px; font-size: .88rem; }

/* wizard */
.wizard { display: grid; grid-template-columns: 300px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--sh); }
.wz-side { background: linear-gradient(160deg, #ff4650, #c0204f); color: #fff; padding: 30px; }
.wz-side p { color: #ffe1e4; }
.wz-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; counter-reset: s; }
.wz-steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; opacity: .6; font-weight: 700; }
.wz-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: .82rem; }
.wz-steps li.on, .wz-steps li.done { opacity: 1; }
.wz-steps li.done::before { content: "✓"; background: #fff; color: #c0204f; }
.wz-body { padding: 30px; }
.wz-q { font-family: var(--fh); font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.wz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.wz-opt { text-align: left; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 14px; padding: 16px; transition: .2s; }
.wz-opt:hover { border-color: var(--primary); transform: translateY(-2px); }
.wz-opt b { display: block; margin-bottom: 4px; }
.wz-opt small { color: var(--muted); }
.wz-res { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; }
.wz-res .price { font-size: 2rem; }
.link-btn { background: none; border: 0; color: var(--primary); font-weight: 700; padding: 0; margin-top: 14px; }
.req { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-top: 40px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.req ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); }

/* demo factura */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.demo-form, .ally-form, .c-form, .co-form { display: grid; gap: 12px; }
.demo-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); }
label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--ink-2); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; }
input.err, select.err { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tiny { font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }
.ride { background: #fff; color: #0d1530; border-radius: var(--r); padding: 26px; box-shadow: var(--sh-lg); font-size: .88rem; position: relative; overflow: hidden; border: 1px solid #e3e8f3; }
.ride.stamp::after { content: "AUTORIZADA"; position: absolute; right: 18px; top: 70px; border: 3px solid #138a43; color: #138a43; padding: 4px 12px; font-weight: 900; letter-spacing: .12em; transform: rotate(-12deg); border-radius: 8px; animation: stamp .5s cubic-bezier(.2,2,.4,1); }
@keyframes stamp { from { transform: rotate(-12deg) scale(2.5); opacity: 0; } }
.ride-h { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid #0d1530; padding-bottom: 12px; margin-bottom: 12px; }
.ride-h b { font-family: var(--fh); }
.ride-h small { display: block; color: #6c7590; }
.ride table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.ride th, .ride td { padding: 7px 4px; text-align: left; border-bottom: 1px solid #e3e8f3; }
.ride td:last-child, .ride th:last-child { text-align: right; }
.ride .tot { display: grid; gap: 4px; justify-content: end; text-align: right; }
.ride .tot b { font-size: 1.2rem; font-family: var(--fh); }
.ride .key { font-family: ui-monospace, Consolas, monospace; font-size: .7rem; color: #6c7590; word-break: break-all; margin-top: 12px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 34px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.range-l output { font-family: var(--fh); font-weight: 800; color: var(--primary); font-size: 1.4rem; margin-left: 6px; }
input[type=range] { padding: 0; border: 0; accent-color: var(--primary); height: 28px; background: transparent; }
.calc-res { background: var(--bg-alt); border-radius: 14px; padding: 18px; display: grid; gap: 6px; }
.calc-res b { font-family: var(--fh); font-size: 1.15rem; }

/* IA */
.ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; margin: 18px 0; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: #3fd17a; color: #062a14; font-size: .75rem; font-weight: 900; display: grid; place-items: center; }
.chat-demo { background: #0d1a14; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); border: 1px solid #1f3a2e; }
.cd-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #1f2c34; color: #fff; }
.cd-head small { display: block; color: #8fd8a8; font-size: .76rem; }
.cd-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #4f7dff, #9b5bff); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; font-size: .85rem; }
.cd-body { height: 380px; padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background: #0b141a; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; animation: rotIn .35s both; color: #e9edef; }
.msg.u { align-self: flex-end; background: #005c4b; border-bottom-right-radius: 4px; }
.msg.b { align-self: flex-start; background: #202c33; border-bottom-left-radius: 4px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; background: #8696a0; border-radius: 50%; animation: tp 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 50% { transform: translateY(-5px); opacity: .5; } }

/* catalog */
.cat-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--card); color: var(--ink-2); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: .2s; }
.chip.on, .chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--card); min-width: 260px; color: var(--muted); }
.search input { border: 0; padding: 10px 0; background: transparent; }
.empty { text-align: center; color: var(--muted); margin-top: 30px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.g-item { position: relative; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: #ddd; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s; }
.g-item:hover img { transform: scale(1.07); }
.g-item span { position: absolute; left: 12px; bottom: 12px; background: rgba(10,15,36,.8); color: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: relative; }
.steps span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--fh); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .93rem; }

/* ally */
.ally { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.ally p { color: #dfe7ff; font-size: 1.07rem; }
.checks.light li::before { background: #fff; color: #2457d6; }
.ally-form, .c-form { background: var(--card); color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: var(--sh-lg); border: 1px solid var(--line); }

/* guides */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.guide { text-align: left; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: .3s; }
.guide:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.guide .tag { align-self: flex-start; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--primary); text-transform: uppercase; letter-spacing: .08em; }
.guide h3 { font-size: 1.05rem; margin: 0; }
.guide p { color: var(--ink-2); font-size: .9rem; margin: 0; flex: 1; }
.guide small { color: var(--muted); font-weight: 600; }
.article h4 { margin-top: 1.2em; }
.article ul, .article ol { padding-left: 20px; display: grid; gap: 6px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); }

/* contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; }
.c-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.c-list li { display: flex; gap: 12px; align-items: flex-start; }
.c-list i { font-style: normal; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; flex: none; }
.c-list small { display: block; color: var(--muted); }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* footer */
.ftr { background: var(--dark); color: #aab4d8; padding: 64px 0 24px; }
.ftr-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.ftr .brand { color: #fff; margin-bottom: 14px; }
.ftr h4 { color: #fff; font-size: .95rem; }
.ftr a { display: block; color: #aab4d8; padding: 4px 0; }
.ftr a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.07); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.pays { display: flex; flex-wrap: wrap; gap: 6px; }
.pays span { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 4px 9px; font-size: .78rem; font-weight: 700; color: #dfe5ff; }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* floating */
.fab-wa, .fab-ai { position: fixed; right: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); transition: transform .2s; }
.fab-wa { bottom: 18px; background: var(--wa); animation: pulse-wa 2.4s infinite; }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(31,174,85,.55); } 70% { box-shadow: 0 0 0 16px rgba(31,174,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,174,85,0); } }
.fab-ai { bottom: 88px; background: linear-gradient(135deg, #4f7dff, #9b5bff); color: #fff; font-family: var(--fh); font-weight: 800; }
.fab-wa:hover, .fab-ai:hover { transform: scale(1.08); }

.assist { position: fixed; right: 18px; bottom: 158px; z-index: 70; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 190px)); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-lg); display: flex; flex-direction: column; overflow: hidden; animation: rotIn .3s; }
.assist[hidden] { display: none; }
.as-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, #1a2d7a, #2457d6); color: #fff; }
.as-head small { display: block; opacity: .8; font-size: .78rem; }
.as-head .icon-btn { margin-left: auto; color: #fff; }
.as-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.as-body .msg { color: var(--ink); }
.as-body .msg.b { background: var(--card); border: 1px solid var(--line); }
.as-body .msg.u { background: var(--primary); color: #fff; }
.as-body .msg .btn { margin-top: 8px; }
.as-quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 0; scrollbar-width: none; }
.as-quick button { flex: none; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; }
.as-form { display: flex; gap: 8px; padding: 12px; }
.as-form input { border-radius: 999px; padding: 10px 14px; }

/* drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(5,8,22,.55); z-index: 80; backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--card); color: var(--ink); z-index: 90; transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: var(--sh-lg); }
.drawer.open { transform: none; }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dr-head h3 { margin: 0; }
.dr-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; align-content: start; gap: 12px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.line b { font-size: .93rem; }
.line small { color: var(--muted); grid-column: 1; }
.line .qty { display: flex; align-items: center; gap: 6px; }
.line .qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.line .rm { background: none; border: 0; color: var(--red); font-size: .8rem; font-weight: 700; padding: 0; justify-self: end; }
.dr-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.dr-tot { display: flex; justify-content: space-between; font-family: var(--fh); font-weight: 800; font-size: 1.2rem; }
.dr-empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.dr-empty div { font-size: 3rem; }

/* modals */
.modal { border: 0; padding: 30px; border-radius: 24px; width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 40px); background: var(--card); color: var(--ink); box-shadow: var(--sh-lg); }
.modal.wide { width: min(760px, calc(100% - 24px)); }
.modal::backdrop, .lightbox::backdrop { background: rgba(5,8,22,.7); backdrop-filter: blur(4px); }
.modal[open] { animation: rotIn .3s; }
.m-x { position: absolute; top: 12px; right: 12px; }
.p-art { height: 180px; border-radius: 16px; margin-bottom: 18px; display: grid; place-items: center; overflow: hidden; }
.p-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.p-art svg { width: 76px; height: 76px; color: #fff; }
.p-inc { padding-left: 0; list-style: none; display: grid; gap: 6px; margin: 14px 0; }
.p-inc li::before { content: "✓ "; color: var(--green); font-weight: 900; }
.opts { display: grid; gap: 8px; margin: 14px 0; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 600; color: var(--ink); }
.opt input { width: auto; margin-right: 8px; accent-color: var(--primary); }
.opt:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.co-sum { background: var(--bg-alt); border-radius: 14px; padding: 14px; margin: 12px 0; font-size: .92rem; }
.co-sum div { display: flex; justify-content: space-between; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.method { text-align: left; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: .9rem; }
.method small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.method.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.bank { display: grid; gap: 4px; background: var(--bg-alt); border-radius: 12px; padding: 14px; font-size: .92rem; }
.note { background: #fff7e0; color: #6b4e00; border-radius: 12px; padding: 12px; font-size: .9rem; margin: 0; }
.small { font-size: .9rem; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox img { max-height: 88vh; border-radius: 14px; }
.lightbox .m-x { top: -48px; right: 0; background: #fff; color: #000; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; z-index: 200; transition: transform .35s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { position: fixed; inset: 70px 0 auto; flex-direction: column; background: var(--bg); color: var(--ink); padding: 14px 16px 22px; gap: 2px; box-shadow: var(--sh-lg); transform: translateY(-130%); transition: transform .35s; }
  .nav.open { transform: none; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .burger { display: inline-flex; }
  .hero-in, .ba-grid, .ia-grid, .demo, .calc, .ally, .contact { grid-template-columns: 1fr; }
  .hero-art { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .wizard { grid-template-columns: 1fr; }
  .wz-steps { display: flex; gap: 16px; margin-top: 14px; }
  .req { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .sec { padding: 70px 0; }
  .hide-m { display: none; }
  .hdr-act { margin-left: auto; }
  .hero { padding-top: 104px; }
  .hero-art { height: 430px; }
  .phone { width: 230px; height: 430px; }
  .ph-screen { font-size: .74rem; padding-top: 40px; }
  .fc1 { top: 30px; } .fc2 { right: 0; top: 200px; } .fc3 { left: 0; bottom: 20px; }
  .row2, .methods { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 180px; gap: 10px; }
  .search { min-width: 0; width: 100%; }
  .ftr-in { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; }
  .wz-body, .wz-side { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
