/* RouteEvo · landing */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Bold.woff2") format("woff2"); }

:root {
  --ink: #0d2f35;
  --ink-2: #1c4a52;
  --muted: #566d72;
  --line: #dcebe9;
  --soft: #f2faf7;
  --soft-2: #e7f6f1;
  --white: #ffffff;
  --green: #27b36a;
  --green-d: #0f9d58;
  --teal: #0e9aa0;
  --blue: #0b5fa5;
  --grad: linear-gradient(120deg, #67d06b 0%, #12a99a 55%, #0b64a8 100%);
  --grad-soft: linear-gradient(135deg, rgba(103, 208, 107, .16), rgba(18, 169, 154, .10) 55%, rgba(11, 100, 168, .10));
  --radius: 20px;
  --shadow: 0 18px 50px -18px rgba(13, 47, 53, .28);
  --shadow-sm: 0 6px 22px -10px rgba(13, 47, 53, .22);
  --maxw: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; overflow-wrap: anywhere; }
input, select, textarea { min-width: 0; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(18, 169, 154, .55); outline-offset: 3px; border-radius: 8px; }

/* ---------- Botons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 "Poppins", sans-serif; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(15, 157, 88, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(15, 157, 88, .7); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Capçalera ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 47, 53, .35); }
.header .container { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-inline: auto; }
.nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--soft-2); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang[open] summary { border-color: var(--teal); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: var(--shadow); }
.lang li a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; }
.lang li a:hover { background: var(--soft); }
.lang li a[aria-current="true"] { background: var(--soft-2); color: var(--green-d); font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* ---------- Secció genèrica ---------- */
section { position: relative; }
.section { padding: 104px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--soft-2); color: var(--green-d); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 16px; }
.section-head p.lead { margin-top: 18px; font-size: 19px; color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 96px; background:
  radial-gradient(900px 520px at 85% -10%, rgba(18, 169, 154, .18), transparent 60%),
  radial-gradient(700px 420px at -5% 20%, rgba(103, 208, 107, .20), transparent 60%),
  linear-gradient(180deg, #f6fcf9 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin: 20px 0 22px; line-height: 1.04; }
.hero .sub { font-size: 20px; color: var(--ink-2); max-width: 520px; }
.hero .tagline { margin-top: 18px; font-weight: 600; color: var(--green-d); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chip svg { width: 16px; height: 16px; color: var(--green-d); flex: none; }

/* Marcs de dispositiu */
.browser { background: #fff; border-radius: 16px; border: 1px solid #d3e4e2; box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef5f4; border-bottom: 1px solid #dcebe9; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c5d7d5; display: block; }
.browser-bar i:nth-child(1) { background: #ff9d97; } .browser-bar i:nth-child(2) { background: #ffd57a; } .browser-bar i:nth-child(3) { background: #8ddb97; }
.browser img { width: 100%; }
.phone { width: 100%; max-width: 250px; background: #10262b; border-radius: 38px; padding: 9px; box-shadow: var(--shadow); position: relative; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); background: #10262b; border-radius: 12px; z-index: 2; }
.phone img { border-radius: 30px; width: 100%; background: #fff; aspect-ratio: 1500 / 2500; object-fit: cover; object-position: top; }
.hero-visual { position: relative; }
.hero-visual .browser { transform: perspective(1800px) rotateY(-4deg) rotateX(1deg); transform-origin: left center; }
.hero-visual .phone { position: absolute; right: -14px; bottom: -44px; width: 36%; max-width: 230px; transform: rotate(4deg); }
.float-card { position: absolute; left: -22px; bottom: 56px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.float-card b { display: block; font-size: 22px; line-height: 1; color: var(--green-d); }
.float-card span { color: var(--muted); font-weight: 500; font-size: 12px; }
.float-card .ring { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--green) 0 90%, #e1efec 0); display: grid; place-items: center; }
.float-card .ring::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: #fff; }

/* ---------- Problema + cicle ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.problem-grid p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.problem-grid p.solution { color: var(--ink); font-weight: 500; }
.loop-card { background: var(--ink); color: #fff; border-radius: 28px; padding: 40px 36px; position: relative; overflow: hidden; }
.loop-card::before { content: ""; position: absolute; inset: auto -80px -120px auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(18, 169, 154, .55), transparent 70%); }
.loop-card h3 { font-size: 24px; line-height: 1.25; position: relative; }
.loop { margin-top: 30px; display: grid; gap: 12px; position: relative; counter-reset: l; }
.loop li { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-weight: 600; }
.loop li::before { counter-increment: l; content: counter(l); width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 13px; flex: none; }
.loop li:last-child { background: var(--grad); border-color: transparent; }
.loop li:last-child::before { background: #fff; color: var(--green-d); }

/* ---------- Com funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: #bfe0da; }
.step .num { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 18px 0 10px; font-size: 22px; }
.step p { color: var(--muted); font-size: 16px; }
.steps::before { content: ""; position: absolute; top: 52px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, #bfe0da 0 8px, transparent 8px 16px); z-index: 0; }
.step { z-index: 1; }

/* ---------- Característiques ---------- */
.band { background: var(--soft); }
.feature { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px dashed #cfe5e0; }
.feature.reverse .feature-media { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); }
.feature p.lead { margin-top: 16px; color: var(--muted); font-size: 18px; }
.checks { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.checks svg { width: 22px; height: 22px; flex: none; color: #fff; background: var(--grad); border-radius: 50%; padding: 4px; margin-top: 2px; }
.feature-media { position: relative; }
.feature-media .browser { box-shadow: var(--shadow); }
.field-types { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.field-types h4 { font-size: 15px; letter-spacing: 0; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-bottom: 12px; }
.field-types .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 14px; border-radius: 10px; background: var(--grad-soft); border: 1px solid #c9e6e0; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding: 10px 0 0; }
.phones .phone { max-width: 220px; }
.phones .phone:nth-child(1) { transform: translateY(26px) rotate(-3deg); }
.phones .phone:nth-child(2) { z-index: 2; transform: scale(1.06); }
.phones .phone:nth-child(3) { transform: translateY(26px) rotate(3deg); }
.stack { position: relative; padding-bottom: 60px; }
.stack .browser:nth-child(2) { position: absolute; right: -4%; bottom: 0; width: 54%; box-shadow: var(--shadow); }

/* ---------- Avantatges ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.benefit .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); border: 1px solid #c9e6e0; display: grid; place-items: center; color: var(--teal); margin-bottom: 18px; }
.benefit .ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.benefit p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.benefit.patient { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px 28px; align-items: center; background: var(--grad); color: #fff; border: 0; padding: 28px 32px; }
.benefit.patient .ico { margin: 0; width: 56px; height: 56px; }
.benefit.patient h3 { font-size: 24px; margin: 0; }
.benefit.patient .ico { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .35); color: #fff; }
.benefit.patient p { color: rgba(255, 255, 255, .92); }

/* ---------- Filosofia ---------- */
.philosophy { background: var(--ink); color: #fff; overflow: hidden; }
.philosophy::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(circle, rgba(18, 169, 154, .35), transparent 65%); pointer-events: none; }
.philosophy::after { content: ""; position: absolute; inset: auto auto -30% -10%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(103, 208, 107, .22), transparent 65%); pointer-events: none; }
.philosophy .container { position: relative; z-index: 1; }
.philosophy .eyebrow { background: rgba(255, 255, 255, .12); color: #b8f0cc; }
.philosophy h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 18px; max-width: 900px; }
.philosophy .lead { margin-top: 22px; font-size: 20px; color: rgba(255, 255, 255, .8); max-width: 760px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.trio div { border-radius: 22px; padding: 28px 26px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.trio small { display: block; font-size: 15px; color: rgba(255, 255, 255, .7); font-weight: 500; }
.trio strong { display: block; margin-top: 6px; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; background: linear-gradient(120deg, #9bf0a0, #5fe0d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.ba div { border-radius: 22px; padding: 26px; }
.ba .before { background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .25); }
.ba .after { background: var(--grad); }
.ba h3 { font-size: 16px; letter-spacing: .01em; margin-bottom: 10px; opacity: .9; }
.ba p { font-size: 16.5px; line-height: 1.6; }
.quote { margin-top: 56px; padding-left: 26px; border-left: 4px solid; border-image: var(--grad) 1; max-width: 860px; }
.quote h3 { font-size: 26px; }
.quote p { margin-top: 12px; font-size: 18px; color: rgba(255, 255, 255, .82); }

/* ---------- Per a qui ---------- */
.forwho-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill { padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 15.5px; box-shadow: 0 4px 14px -10px rgba(13, 47, 53, .3); transition: transform .15s, border-color .15s; }
.pill:hover { transform: translateY(-2px); border-color: var(--teal); }
.grow { margin-top: 28px; padding: 22px 24px; border-radius: 18px; background: var(--grad-soft); border: 1px solid #c9e6e0; color: var(--ink-2); font-size: 16.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #b6dcd5; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17.5px; overflow-wrap: anywhere; min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--teal); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- CTA + contacte ---------- */
.cta { background: var(--grad); color: #fff; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -40% auto auto -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); }
.cta p.lead { margin-top: 18px; font-size: 19px; opacity: .95; }
.cta .direct { margin-top: 28px; font-size: 16px; opacity: .95; }
.cta .direct a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.cta .btn-light { margin-top: 28px; }
.form-card { background: #fff; color: var(--ink); border-radius: 26px; padding: 34px; box-shadow: 0 30px 70px -30px rgba(7, 40, 52, .6); }
.form-card h3 { font-size: 24px; }
.form-card .intro { margin: 8px 0 22px; color: var(--muted); font-size: 15.5px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 "Poppins", sans-serif; color: var(--ink); background: #f7fbfa; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; transition: border-color .15s, background .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(18, 169, 154, .15); }
.field.invalid input, .field.invalid textarea { border-color: #e5484d; background: #fff8f8; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 6px 0 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-d); flex: none; }
.consent a { color: var(--teal); }
.consent.invalid { color: #c1272d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; padding: 16px; }
.form-card .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.status { margin-top: 16px; padding: 13px 16px; border-radius: 14px; font-size: 15px; font-weight: 500; display: none; }
.status.show { display: block; }
.status.ok { background: #e6f7ee; color: #0b6b3a; border: 1px solid #bfe6cf; }
.status.err { background: #fdeceb; color: #a4262c; border: 1px solid #f4c4c2; }

/* ---------- Tancament + peu ---------- */
.closing { text-align: center; padding: 96px 0 40px; }
.closing h2 { font-size: clamp(28px, 4vw, 46px); max-width: 880px; margin: 0 auto; }
.closing p { max-width: 640px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }
.closing .sig { margin-top: 28px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--green-d); }
.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); margin-top: 56px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.footer img { height: 44px; width: auto; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--teal); }
.footer small { display: block; width: 100%; color: #8aa0a4; font-size: 13.5px; }
.langs-foot { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.langs-foot a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; text-decoration: none; color: var(--muted); }
.langs-foot a[aria-current="true"] { background: var(--soft-2); color: var(--green-d); border-color: transparent; font-weight: 600; }

/* ---------- Animacions ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .step, .benefit, .pill { transition: none; } }

/* ---------- Responsiu ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header .container { gap: 12px; }
  .header-actions { margin-left: auto; }
  .header .hide-md { display: none; }
  .nav.open { display: grid; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 2px; }
  .nav.open a { padding: 14px 12px; font-size: 17px; }
  .hero-grid, .problem-grid, .feature, .forwho-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature.reverse .feature-media { order: 0; }
  .hero-visual { max-width: 700px; margin-inline: auto; width: 100%; }
  .hero-visual .browser { transform: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit.patient { grid-template-columns: auto minmax(0, 1fr); }
  .benefit.patient p { grid-column: 1 / -1; }
  .trio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .hero .sub { font-size: 18px; }
  .steps, .benefits, .ba, .row2 { grid-template-columns: minmax(0, 1fr); }
  .benefit.patient { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .hero-visual .phone { right: -6px; bottom: -34px; }
  .float-card { display: none; }
  .phones .phone { max-width: 31%; border-radius: 22px; padding: 5px; }
  .phones .phone img { border-radius: 17px; }
  .phones .phone::before { display: none; }
  .stack .browser:nth-child(2) { width: 62%; right: 0; }
  .form-card { padding: 24px 20px; }
  .brand img { height: 38px; }
  .lang summary span { display: none; }
  .header .btn-primary { display: none; }
}

/* ---------- Pàgina de privacitat i avís legal ---------- */
.legal { padding: 48px 0 72px; }
.legal-wrap { max-width: 820px; }
.legal-back { display: inline-block; margin-bottom: 18px; color: var(--teal); text-decoration: none; font-weight: 600; font-size: 15px; }
.legal-back:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); }
.legal-intro { margin-top: 14px; font-size: 19px; color: var(--muted); }
.draft-note { margin-top: 22px; padding: 12px 16px; border-radius: 12px; background: #fff7e0; border: 1px solid #f1d98a; color: #7a5a00; font-weight: 600; font-size: 15px; }
.legal-sec { margin-top: 34px; }
.legal-sec h2 { font-size: 22px; letter-spacing: -.01em; }
.legal-sec p { margin-top: 10px; color: var(--ink-2); }
.legal-sec ul { margin: 10px 0 0 22px; list-style: disc; color: var(--ink-2); }
.legal-sec li { margin-top: 6px; }
.legal a { color: var(--teal); text-underline-offset: 3px; }
.legal-updated { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: #8aa0a4; font-size: 14px; }
