:root {
  --ink: #14181f;
  --ink-soft: #4b5260;
  --bg: #faf6f0;
  --paper: #ffffff;
  --sand: #f6e2cc;
  --line: #14181f;
  --line-soft: #e6ddd1;
  --accent: #e8590c;
  --accent-dark: #c44a08;
  --mark: #ffd2a8;
  --ok: #2f9e44;
  --warn: #c98a00;
  --radius: 16px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 900; margin: 0 0 24px; }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 900; margin: 0 0 18px; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 800; margin: 0 0 8px; }
.accent { color: var(--accent); }
.mark { background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.lead { font-size: 20px; color: var(--ink-soft); margin: 0 0 32px; max-width: 32em; }
.section-lead { color: var(--ink-soft); font-size: 19px; max-width: 38em; margin: 0 0 44px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 2px solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.5px; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .lang { font-family: var(--mono); font-size: 12px; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: 700 16px/1 var(--font); padding: 16px 24px; border-radius: 999px;
  border: 2px solid var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.nav .btn { padding: 11px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 26px; justify-content: start; font-weight: 600; font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 11px; }

/* Review sheet mock */
.sheet { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.sheet-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 2px solid var(--ink); background: var(--sand); }
.sheet-bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.sheet-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.sheet table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sheet th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 12px; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.sheet td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet .code { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); display: block; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.tag.ok { background: #d8f0dd; }
.tag.rev { background: #ffe6a8; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 2px solid var(--ink); background: var(--bg); font-size: 13px; font-weight: 600; }
.sheet-foot .btn { padding: 9px 14px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
.example-note { font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); margin-top: 16px; text-align: right; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.band-sand { background: var(--sand); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band-dark { background: var(--ink); color: var(--bg); }
.band-dark h2, .band-dark h3 { color: var(--bg); }
.band-dark .section-lead, .band-dark p { color: #c8ccd4; }
.band-dark .eyebrow { color: #c8ccd4; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.icon { width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--ink); background: var(--sand); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }

.plain { margin: 48px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.2; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-num { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 14px; display: block; }
.step-big { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -.05em; margin-bottom: 14px; }
.step p { margin: 0; color: var(--ink-soft); }
.learn { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; background: var(--paper); border: 2px dashed var(--ink); border-radius: var(--radius); padding: 20px 24px; }
.learn strong { font-family: var(--display); font-size: 19px; }

/* Timeline (dark band) */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline li { border: 2px solid #3a404c; border-radius: var(--radius); padding: 24px; }
.timeline .when { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }
.timeline h3 { font-size: 19px; }
.timeline p { margin: 0; font-size: 15.5px; }

/* Sectors */
.sector-now { background: var(--paper); }
.badge { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); margin-bottom: 16px; }
.badge.now { background: var(--accent); color: #fff; }
.badge.soon { background: var(--bg); }
.card.muted { background: var(--bg); box-shadow: none; border-style: dashed; }

/* Pilot */
.pilot { background: var(--accent); color: #fff; border: 2px solid var(--ink); border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; box-shadow: 8px 8px 0 var(--ink); }
.pilot h2 { color: #fff; }
.pilot p, .pilot li { color: #fff; }
.pilot p { margin: 0; font-size: 19px; }
.pilot ul { margin: 18px 0 0; padding-left: 22px; }
.pilot .cta-row { justify-content: flex-end; }
.pilot .btn-dark { box-shadow: 3px 3px 0 #7a2c03; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.person { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sand); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 40px; margin-bottom: 18px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.person ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: 15.5px; }
.about p { color: var(--ink-soft); font-size: 18px; }

/* FAQ */
.faq { max-width: 860px; }
details { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 18px 22px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); margin: 12px 0 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.direct { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.direct .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9aa1ad; display: block; margin-bottom: 4px; }
.direct a { color: var(--bg); font-size: 19px; font-weight: 700; text-decoration: none; }
.direct a:hover { color: var(--accent); }
.form { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 20px; padding: 32px; box-shadow: 8px 8px 0 var(--accent); }
.form h3, .band-dark .form h3 { font-size: 24px; color: var(--ink); }
.band-dark .form p { color: var(--ink-soft); }
.band-dark .form p.form-msg.ok { color: var(--ok); }
.band-dark .form p.form-msg.err { color: #c92a2a; }
.pilot .eyebrow::before { background: #fff; }
.form p.sub { color: var(--ink-soft); margin: 0 0 22px; font-size: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14.5px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: 16px var(--font); color: var(--ink); background: var(--bg);
  border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--mark); outline-offset: 1px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); margin: 6px 0 20px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.form .btn { width: 100%; justify-content: center; }
.form-msg { margin: 14px 0 0; font-weight: 600; font-size: 15px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #c92a2a; }

/* WhatsApp floating */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: var(--ink); font-weight: 800; text-decoration: none; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); }
[data-wa][hidden] { display: none !important; }

/* Footer */
footer { border-top: 2px solid var(--ink); padding: 30px 0; font-size: 14px; color: var(--ink-soft); background: var(--bg); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); }

/* Legal page */
.legal { padding: 64px 24px 80px; max-width: 800px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 40px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--ink-soft); }
.placeholder { background: #ffe6a8; color: #7a5200; padding: 0 4px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4, .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap, .pilot, .grid-3, .grid-2, .steps, .about, .contact-grid { grid-template-columns: 1fr; }
  .pilot .cta-row { justify-content: flex-start; }
  .nav a:not(.btn):not(.lang) { display: none; }
  .hero { padding: 48px 0 64px; }
  section { padding: 68px 0; }
  .pilot, .form { padding: 26px; }
}
@media (max-width: 560px) {
  .grid-4, .timeline, .row-2 { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .nav { gap: 8px; }
  .nav .btn { padding: 9px 12px; font-size: 13px; white-space: nowrap; }
  .nav .lang { padding: 2px 8px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .sheet table { font-size: 12.5px; }
  .sheet th:nth-child(2), .sheet td:nth-child(2) { display: none; }
  .wa-float span { display: none; }
}

/* Camp trampa per a bots (invisible) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
