/* Landing ERP Praxis · CSI Centre de Soft Integral (basada en la de Veri*Factu)
   CSS escrit a mà (sense Tailwind), mobile-first. */

:root {
  --dark: #004080;
  --blue: #0066c4;
  --cyan: #00a0e3;
  --ink: #0f172a;
  --text: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #fff;
  --green: #047857;
  --green-bg: #ecfdf5;
  --red: #b91c1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 4px 12px rgb(15 23 42 / .06);
  --shadow-lg: 0 10px 30px rgb(15 23 42 / .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

/* Icones (sprite SVG inline) */
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 24px; height: 24px; }

/* Botons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 0; border-radius: 12px; padding: 14px 20px; cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--dark); }
.btn-red { background: #dc2626; color: #fff; }
.btn-red:hover { background: var(--red); }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: #e0f2fe; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 14px; font-size: 14px; }

/* Capçalera */
.header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); box-shadow: 0 1px 2px rgb(15 23 42 / .04); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.logo img { height: 48px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.header-phone small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.header-phone .ic-box { width: 36px; height: 36px; border-radius: 10px; background: #eff6ff; color: var(--blue); display: grid; place-items: center; }
.lang { display: flex; background: #f1f5f9; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang a { font-size: 12px; font-weight: 700; text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 7px; }
.lang a[aria-current="page"] { background: var(--dark); color: #fff; }
.header .btn-cta .cta-long { display: none; }
@media (min-width: 560px) { .header .btn-cta .cta-long { display: inline; } .header .btn-cta .cta-short { display: none; } }
@media (max-width: 400px) { .logo img { height: 40px; } .header-actions { gap: 6px; } .header .btn-cta { padding-left: 12px; padding-right: 12px; } }
@media (min-width: 900px) { .header-phone { display: flex; } .logo img { height: 64px; } .header .wrap { height: 92px; } }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: 28px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .hero { padding: 56px 0 80px; } .hero-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; } }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #eff6ff; border: 1px solid #bfdbfe; color: var(--dark); font-weight: 600; font-size: 13px; }
.badge .ic { color: var(--blue); }
.hero h1 { font-size: clamp(1.85rem, 4.5vw, 3rem); font-weight: 900; margin: 18px 0 14px; }
.grad { background: linear-gradient(90deg, var(--dark), var(--blue) 50%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.08rem; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-cta .btn { flex: 1 1 140px; white-space: nowrap; padding: 14px 12px; }
@media (min-width: 1024px) { .hero-cta { display: none; } }
.feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .feats { grid-template-columns: 1fr 1fr; } }
.feats li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 500; color: var(--ink); box-shadow: 0 1px 2px rgb(15 23 42 / .04); }
.feats .ic { color: var(--green); background: var(--green-bg); border-radius: 6px; padding: 2px; stroke-width: 3; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .ic { color: var(--blue); }
.trust-row strong { color: var(--ink); }

/* Formulari */
.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 20px 22px; box-shadow: var(--shadow-lg); scroll-margin-top: 96px; }
@media (min-width: 640px) { .form-card { padding: 32px 30px 26px; } }
.form-tag { position: absolute; top: -13px; right: 20px; background: var(--dark); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 14px; border-radius: 999px; }
.form-card h2 { font-size: 1.3rem; font-weight: 800; }
.form-card .sub { font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.field { margin-bottom: 12px; }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fcfdfe; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(0 160 227 / .3); background: #fff; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.rgpd { font-size: 11.5px; line-height: 1.45; color: #64748b; margin-top: 12px; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: var(--red); font-size: 13px; font-weight: 600; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.form-error a { color: var(--red); }
.btn[disabled] { opacity: .7; cursor: wait; }
.success { text-align: center; padding: 18px 0 6px; }
.success .ok { width: 64px; height: 64px; border-radius: 50%; background: #d1fae5; color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.success .ok .ic { width: 36px; height: 36px; }
.success h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.success p { font-size: 14px; color: var(--muted); }
.success .direct { margin-top: 16px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 14px; font-size: 13px; color: var(--dark); font-weight: 600; }
.success .direct a { display: block; font-size: 18px; font-weight: 800; text-decoration: none; }
[hidden] { display: none !important; }

/* Logos de clients */
.clients { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0 40px; }
.clients-title { text-align: center; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }
.clients-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; }
.clients-list li { width: 96px; height: 56px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 480px) { .clients-list li { width: 120px; height: 64px; } }
@media (min-width: 768px) { .clients-list { gap: 22px 40px; } .clients-list li { width: 140px; } }
.clients-list img { width: auto; height: auto; max-width: 100%; max-height: 40px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.clients-list img.sq { max-height: 60px; }
.clients-list img.inv { filter: invert(1) grayscale(1); }
.clients-list li:hover img { filter: none; opacity: 1; }
.clients-list li:hover img.inv { filter: invert(1); }

/* Seccions */
.section { padding: 56px 0; }
@media (min-width: 1024px) { .section { padding: 72px 0; } }
.section-white { background: #fff; border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.eyebrow { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 6px; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--muted); }

.cards { display: grid; gap: 18px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--cyan); box-shadow: var(--shadow-lg); }
.card .ic-box { width: 48px; height: 48px; border-radius: 12px; background: #dbeafe; color: var(--dark); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* Dates clau */
.date-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.date-card .date { font-size: 1.35rem; font-weight: 900; color: var(--dark); white-space: nowrap; }
.date-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.date-card p { font-size: 14px; color: var(--muted); }
.note { text-align: center; font-size: 13px; color: #64748b; margin-top: 16px; }

/* Bàner de risc */
.risk { background: var(--ink); color: #cbd5e1; padding: 44px 0; }
.risk-box { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; background: linear-gradient(90deg, rgb(127 29 29 / .55), var(--ink) 70%); border: 1px solid rgb(185 28 28 / .55); border-radius: 18px; padding: 26px; }
@media (min-width: 768px) { .risk-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; } }
.risk-tag { display: inline-flex; align-items: center; gap: 8px; color: #fca5a5; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.risk h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 900; margin: 6px 0 8px; }
.risk p { font-size: 15px; max-width: 680px; }

/* Praxis */
.praxis-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .praxis-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.since { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 40px; }
.since-seal { width: 68px; height: 68px; border-radius: 16px; background: var(--dark); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.1; }
.since-seal small { font-size: 10px; font-weight: 600; text-transform: uppercase; }
.since-seal b { font-size: 20px; font-weight: 900; }
.since h2 { font-size: 1.15rem; font-weight: 700; }
.since p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgb(15 23 42 / .04); }
.points .ic-box { width: 42px; height: 42px; border-radius: 10px; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.bg-dark { background: var(--dark); } .bg-blue { background: var(--blue); } .bg-cyan { background: #0080b8; }
.points h3 { font-size: 15px; font-weight: 700; }
.points p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.callout { background: linear-gradient(135deg, var(--dark), var(--blue) 60%, var(--dark)); color: #e0f2fe; border-radius: 24px; padding: 30px 26px; box-shadow: var(--shadow-lg); }
.callout .pill { display: inline-block; background: rgb(255 255 255 / .14); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.callout h2 { color: #fff; font-size: 1.55rem; font-weight: 900; margin-bottom: 10px; }
.callout p { font-size: 15px; margin-bottom: 22px; }
.callout .small { font-size: 12px; text-align: center; margin: 10px 0 0; color: #bfdbfe; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgb(15 23 42 / .04); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; color: var(--ink); background: var(--bg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #f1f5f9; }
.faq summary .ic { color: var(--blue); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .answer { padding: 16px 20px 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* Peu */
.footer { background: var(--ink); color: #94a3b8; font-size: 14px; padding: 36px 0 96px; text-align: center; }
.footer strong { color: #e2e8f0; }
.footer a { color: #7dd3fc; }
.footer p + p { margin-top: 8px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; }
.footer nav a, .footer nav button { color: #94a3b8; font: inherit; font-size: 13px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.footer nav a:hover, .footer nav button:hover { color: #fff; }

/* Botó flotant de trucada */
.float-call { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border: 2px solid #fff; border-radius: 999px; padding: 12px; box-shadow: 0 10px 25px rgb(4 120 87 / .35); animation: pulse 2.6s ease-in-out infinite; }
.float-call:hover { background: #065f46; }
.float-call .lbl { display: none; }
@media (min-width: 640px) { .float-call { padding: 12px 20px 12px 14px; } .float-call .lbl { display: inline; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* Bàner de cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgb(15 23 42 / .25); padding: 20px; font-size: 14px; }
@media (min-width: 640px) { .cookies { left: 24px; right: auto; bottom: 24px; } }
.cookies h2 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.cookies p { color: var(--muted); }
.cookies .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cookies .actions .btn { flex: 1 1 140px; }
.btn-outline { background: #fff; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: #eff6ff; }

/* ===== Consentiment de cookies (guia AEPD): tres opcions amb el mateix pes ===== */
.cookies { max-height: calc(100vh - 32px); overflow-y: auto; }
.cookies .actions .btn { flex: 1 1 150px; }
.cookies .btn-choice { background: var(--dark); color: #fff; }
.cookies .btn-choice:hover { background: var(--blue); }
.cookies .link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--blue); text-decoration: underline; cursor: pointer; }
.ck-cats { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ck-cat { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.ck-cat label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--ink); cursor: pointer; }
.ck-cat p { font-size: 13px; margin-top: 4px; }
.ck-cat .always { font-size: 12px; font-weight: 700; color: var(--green); white-space: nowrap; }
.switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 13px; background: #cbd5e1; transition: background .15s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: transform .15s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.switch input:disabled + span { background: var(--green); opacity: .7; }

/* Formulari: informació de protecció de dades */
.consent + .consent { margin-top: -6px; }
.rgpd { font-size: 11.5px; }
.rgpd p + p { margin-top: 4px; }

/* ===== Pàgines legals ===== */
.legal-page { background: #fff; padding: 32px 0 56px; }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.legal .updated { font-size: 14px; color: var(--muted); margin: 8px 0 24px; }
.legal h2 { font-size: 1.2rem; font-weight: 800; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li + li { margin-top: 4px; }
.legal .table-wrap { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg); color: var(--ink); }
.legal .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; font-weight: 700; text-decoration: none; }
/* Botó flotant de WhatsApp */
.float-wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; border: 2px solid #fff; border-radius: 999px; padding: 12px; box-shadow: 0 10px 25px rgb(18 140 70 / .35); animation: pulse 2.6s ease-in-out infinite; }
.float-wa:hover { background: #128c7e; }
.float-wa .ic { width: 26px; height: 26px; }
.float-wa .lbl { display: none; }
@media (min-width: 640px) { .float-wa { padding: 12px 20px 12px 14px; } .float-wa .lbl { display: inline; } }
@media (prefers-reduced-motion: reduce) { .float-wa { animation: none; } }

/* Barra fixa de contacte al mòbil (Trucar + WhatsApp); a l'ordinador es manté el botó flotant de WhatsApp */
.mbar { display: none; }
@media (max-width: 639px) {
  .float-wa { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgb(15 23 42 / .08); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; color: #fff; }
  .mbar .ic { width: 20px; height: 20px; }
  .mbar-call { background: var(--blue); }
  .mbar-call:active { background: #004080; }
  .mbar-wa { background: #25d366; }
  .mbar-wa:active { background: #128c7e; }
  .mbar-wa .ic { width: 22px; height: 22px; }
}

/* Problema vs. solució */
.compare { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.compare-head { display: none; }
.compare-row { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.compare-row > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; }
.compare .ic { width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; padding: 3px; stroke-width: 3; }
.compare .pain { background: #fef2f2; color: #7f1d1d; font-weight: 700; }
.compare .pain .ic { color: var(--red); background: #fee2e2; }
.compare .fix { color: var(--text); }
.compare .fix .ic { color: var(--green); background: var(--green-bg); }
@media (min-width: 760px) {
  .compare-head { display: grid; grid-template-columns: 2fr 3fr; padding: 0 18px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .compare-head span:last-child { padding-left: 18px; }
  .compare-row { grid-template-columns: 2fr 3fr; }
  .compare-row > div { padding: 18px; align-items: center; }
}
.compare-cta { text-align: center; margin-top: 28px; }

/* Mòduls de Praxis */
.mod-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mod-chips li { font-size: 13px; font-weight: 700; color: var(--dark); background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 5px 12px; }
/* Què pots gestionar amb Praxis */
.func-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.func-grid li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.func-grid li:hover { border-color: var(--cyan); box-shadow: var(--shadow-lg); }
.func-grid .ic-box { width: 44px; height: 44px; border-radius: 12px; background: #dbeafe; color: var(--dark); display: grid; place-items: center; margin-bottom: 12px; }
.func-grid h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.func-grid p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (min-width: 760px) { .func-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .func-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Praxis en funcionament */
.shots { display: grid; gap: 16px; }
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.shot img { width: 100%; height: auto; }
.shot figcaption { font-size: 13px; font-weight: 700; color: var(--ink); padding: 10px 14px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .shots { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; } .shot-main { grid-row: span 2; } }