/* Layout: web comercial clara (un sol tema, com qualsevol web de producte); panells arrodonits de colors pastel que trenquen la linealitat; el producte (app + mòbil) i el segell VERI*FACTU com a protagonistes */
:root {
  color-scheme: light;
  --white: #FFFFFF;
  --bg: #FBFBFE;
  --ink: #0F1630;
  --ink-soft: #46506B;
  --muted: #727C96;
  --line: #E4E8F2;
  --brand: #2350F0;
  --brand-dark: #1638B8;
  --sky: #DFE8FF;
  --mint: #D3F4E4;
  --peach: #FFE4D4;
  --lilac: #E8E1FF;
  --sun: #FFD54A;
  --ok: #0B8F63;
  --warn: #B36A00;
  --bad: #D2352B;
  --red: #F0473C;
  --shadow: 0 2px 4px rgba(15,22,48,.05), 0 30px 70px -30px rgba(15,22,48,.35);
  --f-display: "Gabarito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--white); font: 600 14px/1 var(--f-body); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 56ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 600 16px/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: var(--white); box-shadow: 0 10px 24px -10px var(--brand); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(251,251,254,.9); backdrop-filter: blur(12px); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 26px/1 var(--f-display); letter-spacing: -0.04em; }
.logo b { color: var(--brand); font-weight: 900; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--brand); }
.nav .btn { padding: 13px 20px; font-size: 15px; margin-left: auto; }
@media (max-width: 940px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero-panel { position: relative; background: var(--brand); color: var(--white); border-radius: 40px; padding: 72px 56px 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; min-height: 600px; }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero-panel::before { width: 620px; height: 620px; right: -160px; top: -200px; background: rgba(255,255,255,.08); }
.hero-panel::after { width: 360px; height: 360px; left: -140px; bottom: -180px; background: rgba(255,255,255,.06); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 72px; align-self: center; }
.hero-copy .tag { background: rgba(255,255,255,.14); color: var(--white); box-shadow: none; }
.hero-copy .tag i { background: var(--sun); }
.hero h1 { font-size: clamp(42px, 5.1vw, 70px); font-weight: 900; letter-spacing: -0.035em; margin-top: 24px; }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u svg { position: absolute; left: -2%; bottom: -14px; width: 104%; height: 18px; }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art { position: relative; z-index: 1; align-self: end; min-height: 520px; }

/* Desktop window */
.win { position: absolute; left: 120px; right: -80px; bottom: -2px; background: var(--white); color: var(--ink); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 60px rgba(8,20,80,.35); padding: 18px 20px 26px; font-size: 13px; }
.win-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.win-head strong { font: 800 19px/1 var(--f-display); }
.win-head span { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--brand); color: var(--white); font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border-radius: 12px; padding: 12px 14px; }
.kpi span { display: block; font-size: 11.5px; color: var(--ink-soft); }
.kpi strong { font: 800 21px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.k1 { background: var(--sky); } .k2 { background: var(--peach); } .k3 { background: var(--mint); }
.rows { display: grid; gap: 0; font-variant-numeric: tabular-nums; }
.rows div { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr auto; gap: 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); }
.rows .n { font: 500 11.5px/1 var(--f-mono); color: var(--muted); }
.rows .a { text-align: right; font-weight: 600; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.p-ok { background: var(--mint); color: var(--ok); } .p-wait { background: #FFF0CF; color: var(--warn); } .p-bad { background: #FDE2E0; color: var(--bad); }

/* Phone */
.phone { position: absolute; left: 0; bottom: 34px; width: 210px; background: var(--ink); border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px -15px rgba(5,10,40,.6); transform: rotate(-5deg); z-index: 3; }
.screen { background: var(--white); color: var(--ink); border-radius: 26px; padding: 22px 16px 18px; font-size: 11.5px; display: grid; gap: 9px; }
.screen .top { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--f-mono); color: var(--muted); }
.screen strong { font: 800 15px/1.15 var(--f-display); }
.screen .line { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.screen .tot { font-weight: 800; font-size: 13px; }
.screen .qr { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.screen .qr canvas { width: 52px; height: 52px; image-rendering: pixelated; }
.screen .qr b { font: 700 11px/1.2 var(--f-mono); display: block; }
.screen .qr small { color: var(--muted); font-size: 9.5px; line-height: 1.3; display: block; }

/* Sticker + stamp */
.sticker { position: absolute; z-index: 4; background: var(--white); color: var(--ink); border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px -15px rgba(5,10,40,.45); font-size: 13px; animation: float 6s ease-in-out infinite; }
.sticker b { display: block; font-weight: 700; }
.sticker small { color: var(--muted); }
.sticker .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.s-ia { left: 20px; top: 70px; transform: rotate(-3deg); }
.s-ia .ic { background: var(--lilac); color: #5B3FD9; }
@keyframes float { 50% { translate: 0 -8px; } }
.stamp { position: absolute; z-index: 4; width: 132px; height: 132px; right: 6px; top: 24px; }
.stamp .ring { animation: spin 22s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1020px) {
  .hero-panel { grid-template-columns: 1fr; padding: 48px 28px 0; border-radius: 28px; min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { min-height: 470px; margin-inline: -28px; }
  .win { left: 120px; right: -40px; }
  .phone { left: 24px; }
  .stamp { right: 18px; top: 10px; width: 108px; height: 108px; }
  .s-ia { display: none; }
}
@media (max-width: 560px) {
  .hero-panel { padding: 36px 20px 0; margin-inline: -8px; }
  .hero-art { min-height: 430px; margin-inline: -20px; }
  .win { left: 70px; right: -150px; }
  .phone { left: 12px; width: 190px; }
  .stamp { right: 8px; top: 0; width: 96px; height: 96px; }
}

/* ---------- Segments ---------- */
.section { padding-block: 110px; }
@media (max-width: 700px) { .section { padding-block: 76px; } }
.center-head { text-align: center; display: grid; justify-items: center; gap: 18px; margin-bottom: 56px; }
.center-head .lead { margin-inline: auto; }
.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seg { --c: var(--sky); position: relative; isolation: isolate; aspect-ratio: 1; overflow: hidden; border-radius: 34px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--c); color: var(--ink); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease; }
.seg.a { --c: var(--sky); } .seg.b { --c: var(--mint); } .seg.c { --c: var(--peach); }
.seg::before { content: ""; position: absolute; z-index: -1; width: 115%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.55); top: -48%; right: -38%; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.seg::after { content: ""; position: absolute; z-index: -1; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.4); left: -12%; bottom: 18%; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.seg:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.seg:hover::before { transform: scale(1.12) translate(-4%, 4%); }
.seg:hover::after { transform: scale(1.3); }
.seg .ill { position: absolute; inset: 26px 26px 36% 26px; display: grid; place-items: center; }
.seg .ill svg { width: 100%; height: 100%; max-width: 290px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.seg:hover .ill svg { transform: scale(1.06) rotate(-2deg); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: var(--white); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 26px -12px rgba(15,22,48,.45); animation: float 6s ease-in-out infinite; }
.chip.ok { color: var(--ok); }
.chip .mono { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.c-tl { left: -4px; top: 8%; transform: rotate(-4deg); }
.c-br { right: -4px; bottom: 2%; transform: rotate(3deg); animation-delay: -3s; }
.avs { display: inline-flex; }
.avs i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 9px/1 var(--f-body); font-style: normal; color: var(--white); background: var(--brand); box-shadow: 0 0 0 2px var(--white); margin-left: -6px; }
.avs i:first-child { margin-left: 0; } .avs i:nth-child(2) { background: var(--ok); } .avs i:nth-child(3) { background: var(--red); }
.seg .kind { font: 700 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.seg .info { position: relative; display: grid; gap: 10px; transition: opacity .3s; }
.seg .info h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 800; letter-spacing: -0.02em; }
.plus { position: absolute; z-index: 3; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 400 26px/1 var(--f-body); transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s, color .3s; }
.seg:hover .plus, .seg:focus-visible .plus { transform: rotate(135deg); background: var(--white); color: var(--ink); }
.seg .more { position: absolute; z-index: 2; inset: 0; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; background: var(--ink); color: var(--white); border-radius: inherit; transform: translateY(101%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.seg:hover .more, .seg:focus-visible .more { transform: none; }
.seg .more .kind { color: var(--sun); opacity: 1; }
.seg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 17px; }
.seg li { display: flex; gap: 12px; align-items: baseline; }
.seg li::before { content: "✓"; font-weight: 800; color: var(--sun); }
.seg .go { font-weight: 700; display: inline-flex; gap: 10px; align-items: center; margin-top: 6px; }
.seg .go span { width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; }
@media (max-width: 1060px), (hover: none) {
  .segs { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .seg { aspect-ratio: auto; padding: 0 26px 28px; justify-content: flex-start; }
  .seg .ill { position: relative; inset: auto; height: 250px; margin-inline: -4px; }
  .plus { display: none; }
  .seg .more { position: static; transform: none; background: transparent; color: var(--ink); padding: 0; margin-top: 18px; }
  .seg .more .kind { display: none; }
  .seg li::before { color: var(--ink); }
  .seg ul { font-size: 16px; gap: 9px; }
  .seg .go span { background: var(--ink); color: var(--white); }
}
@media (max-width: 480px) { .seg .ill { height: 210px; } .chip { font-size: 12px; } }

/* ---------- Verifactu ---------- */
.vf-panel { background: var(--ink); color: var(--white); border-radius: 40px; padding: 64px 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; position: relative; overflow: hidden; }
.vf-panel::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -220px; top: -240px; background: radial-gradient(circle, rgba(35,80,240,.55), transparent 70%); pointer-events: none; }
.vf-panel > * { position: relative; }
.vf-panel h2 { color: var(--white); margin-top: 20px; }
.vf-panel .tag { background: rgba(255,255,255,.1); color: var(--white); box-shadow: none; }
.vf-panel .tag i { background: var(--sun); }
.vf-panel .lead { color: rgba(255,255,255,.75); margin-top: 20px; }
.count { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.count .num { font: 900 92px/0.9 var(--f-display); letter-spacing: -0.05em; color: var(--sun); font-variant-numeric: tabular-nums; }
.count p { color: rgba(255,255,255,.8); font-size: 16px; max-width: 24ch; }
.count p b { color: var(--white); }
.when { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.when span { padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 14.5px; }
.when b { font-weight: 700; }
.fine { margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.55); max-width: 60ch; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 22px; display: grid; gap: 8px; align-content: start; transition: background .2s; }
.step:hover { background: rgba(255,255,255,.1); }
.step .no { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font: 800 16px/1 var(--f-display); color: var(--ink); }
.step:nth-child(1) .no { background: var(--sky); } .step:nth-child(2) .no { background: var(--lilac); } .step:nth-child(3) .no { background: var(--mint); } .step:nth-child(4) .no { background: var(--sun); }
.step h3 { color: var(--white); font-size: 19px; }
.step p { color: rgba(255,255,255,.7); font-size: 15px; }
.step .hash { font: 500 12px/1.4 var(--f-mono); color: var(--sun); word-break: break-all; }

.checker { background: var(--white); color: var(--ink); border-radius: 26px; padding: 28px; display: grid; gap: 18px; margin-top: 4px; }
.checker header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.checker header span { font-size: 13.5px; color: var(--muted); }
.q { border: 0; padding: 0; margin: 0; }
.q legend { font-weight: 600; font-size: 15.5px; padding: 0; margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .15s, box-shadow .15s; }
.opts span:hover { box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.opts input:checked + span { background: var(--brand); color: var(--white); box-shadow: none; }
.opts input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.result { border-radius: 18px; padding: 18px 20px; display: grid; gap: 8px; background: var(--bg); }
.result.go { background: #FFF3C9; }
.result.safe { background: var(--mint); }
.result strong { font: 800 21px/1.15 var(--f-display); }
.result p { color: var(--ink-soft); font-size: 15px; }
.result .btn { justify-self: start; margin-top: 6px; padding: 13px 20px; }
@media (max-width: 1000px) { .vf-panel { grid-template-columns: 1fr; padding: 44px 28px; border-radius: 28px; } }
@media (max-width: 560px) { .vf-panel { margin-inline: -8px; padding: 36px 20px; } .steps { grid-template-columns: 1fr; } .count .num { font-size: 72px; } }

/* ---------- IA ---------- */
.ia { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ia-art { position: relative; background: var(--lilac); border-radius: 40px; padding: 48px 32px; min-height: 560px; display: grid; place-items: center; overflow: hidden; }
.ia-art::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--sun); right: -90px; bottom: -110px; }
.chat-phone { position: relative; width: 300px; max-width: 100%; background: var(--ink); border-radius: 40px; padding: 10px; box-shadow: var(--shadow); }
.chat { background: var(--white); border-radius: 32px; padding: 22px 16px; display: grid; gap: 10px; font-size: 14px; min-height: 470px; align-content: start; }
.chat .hd { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.chat .hd .av { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: var(--white); }
.chat .hd b { font-size: 14.5px; display: block; line-height: 1.2; }
.chat .hd small { color: var(--ok); font-size: 12px; }
.bub { max-width: 88%; padding: 10px 13px; border-radius: 18px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: pop .4s ease forwards; }
.bub.me { justify-self: end; background: var(--brand); color: var(--white); border-bottom-right-radius: 6px; }
.bub.bot { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.bub .r { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.bub .r:first-of-type { margin-top: 6px; }
.bub .act { display: inline-block; margin-top: 8px; padding: 7px 12px; border-radius: 999px; background: var(--brand); color: var(--white); font-weight: 600; font-size: 12.5px; }
.b1 { animation-delay: .3s; } .b2 { animation-delay: 1.1s; } .b3 { animation-delay: 2.2s; } .b4 { animation-delay: 3s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.ia-chip { position: absolute; z-index: 2; background: var(--white); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; box-shadow: 0 16px 30px -14px rgba(15,22,48,.4); display: flex; align-items: center; gap: 8px; animation: float 7s ease-in-out infinite; }
.ia-chip.c1 { left: 24px; top: 56px; transform: rotate(-4deg); }
.ia-chip.c2 { right: 22px; top: 210px; transform: rotate(4deg); animation-delay: -3s; }
.ia-list { display: grid; gap: 14px; margin-top: 34px; }
.ia-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.ia-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.ia-item .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.ia-item p { color: var(--ink-soft); font-size: 15px; margin-top: 3px; }
.ia-item h3 { font-size: 18.5px; }
@media (max-width: 960px) { .ia { grid-template-columns: 1fr; gap: 40px; } .ia-art { min-height: 0; padding: 72px 20px 40px; border-radius: 28px; } }
@media (max-width: 480px) { .ia-chip { display: none; } }

/* ---------- CRM ---------- */
.crm-panel { background: var(--mint); border-radius: 40px; padding: 64px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.crm-panel .lead { margin-top: 18px; }
.crm-points { display: grid; gap: 12px; margin-top: 28px; }
.crm-points div { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.crm-points div::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; margin-top: 1px; }
.link-art { position: relative; height: 340px; }
.app-ic { position: absolute; width: 150px; height: 150px; border-radius: 38px; display: grid; place-items: center; text-align: center; font: 800 17px/1.15 var(--f-display); box-shadow: var(--shadow); }
.app-ic small { display: block; font: 500 12px/1.3 var(--f-body); opacity: .7; margin-top: 6px; }
.app-crm { left: 0; top: 30px; background: var(--white); transform: rotate(-6deg); }
.app-f10 { right: 0; bottom: 30px; background: var(--brand); color: var(--white); transform: rotate(5deg); }
.wire { position: absolute; inset: 0; width: 100%; height: 100%; }
.wire path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.packet { position: absolute; background: var(--white); border-radius: 12px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; box-shadow: 0 12px 24px -12px rgba(15,22,48,.4); white-space: nowrap; }
.pk1 { left: 34%; top: 32px; transform: rotate(3deg); }
.pk2 { left: 18%; bottom: 52px; transform: rotate(-3deg); }
@media (max-width: 960px) { .crm-panel { grid-template-columns: 1fr; padding: 44px 28px; border-radius: 28px; } }
@media (max-width: 560px) { .crm-panel { margin-inline: -8px; padding: 36px 20px; } .app-ic { width: 120px; height: 120px; border-radius: 30px; font-size: 15px; } .link-art { height: 300px; } .pk1 { left: 30%; } }

/* ---------- Features ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 28px; }
.feat { display: grid; gap: 8px; align-content: start; }
.feat .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 8px; transition: transform .25s; }
.feat:hover .ic { transform: rotate(-8deg) scale(1.06); }
.feat h3 { font-size: 19px; }
.feat p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 960px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }
.move { margin-top: 72px; border-radius: 30px; background: var(--peach); padding: 38px 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.move .from { display: flex; }
.move .from span { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 800 12px/1 var(--f-display); background: var(--white); box-shadow: 0 8px 20px -10px rgba(15,22,48,.4); margin-left: -14px; }
.move .from span:first-child { margin-left: 0; transform: rotate(-8deg); }
.move .from span:nth-child(2) { transform: rotate(4deg); }
.move .from span:last-child { background: var(--brand); color: var(--white); transform: rotate(-3deg); }
.move h3 { font-size: 26px; font-weight: 800; }
.move p { color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 820px) { .move { grid-template-columns: 1fr; padding: 30px 26px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
.faq-grid .lead { margin-top: 18px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 20px; padding: 20px 24px; box-shadow: 0 0 0 1px var(--line); }
.faq details[open] { box-shadow: 0 0 0 2px var(--brand); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; font: 600 17.5px/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: var(--brand); display: grid; place-items: center; font: 700 20px/1 var(--f-body); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: var(--white); }
.faq details p { color: var(--ink-soft); margin-top: 12px; font-size: 16px; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Contact ---------- */
.contact-panel { background: var(--brand); color: var(--white); border-radius: 40px; padding: 64px 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; position: relative; overflow: hidden; }
.contact-panel::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(255,255,255,.07); left: -160px; bottom: -200px; pointer-events: none; }
.contact-panel > * { position: relative; }
.contact-panel h2 { color: var(--white); margin-top: 20px; }
.contact-panel .tag { background: rgba(255,255,255,.14); color: var(--white); box-shadow: none; }
.contact-panel .tag i { background: var(--sun); }
.contact-panel .lead { color: rgba(255,255,255,.82); margin-top: 18px; }
.promise { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.promise li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.promise .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.promise b { display: block; font-weight: 600; }
.promise span { color: rgba(255,255,255,.75); font-size: 15.5px; }
form.card { background: var(--white); color: var(--ink); border-radius: 28px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; box-shadow: 0 30px 60px -25px rgba(5,10,40,.5); }
form.card h3 { grid-column: 1 / -1; font-size: 26px; font-weight: 800; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 14px; padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 4px var(--sky); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--brand); }
form.card .btn { grid-column: 1 / -1; padding-block: 18px; font-size: 17px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.card .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.err { grid-column: 1 / -1; color: var(--bad); font-size: 14px; font-weight: 500; }
.done { grid-column: 1 / -1; text-align: center; padding: 40px 10px; display: grid; gap: 12px; justify-items: center; }
.done .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--ok); display: grid; place-items: center; }
.done p { color: var(--muted); }
@media (max-width: 960px) { .contact-panel { grid-template-columns: 1fr; padding: 44px 28px; border-radius: 28px; gap: 36px; } }
@media (max-width: 560px) { .contact-panel { margin-inline: -8px; padding: 36px 16px; } form.card { grid-template-columns: 1fr; padding: 22px; } }

footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-block: 40px 48px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--brand); }
