/* =========================================================
   Systimanx Europe — mobile-first stylesheet
   Palette derived from systimanx.com
   ========================================================= */
:root {
  --blue: #005a99;          /* hsl(205 100% 30%) primary */
  --blue-600: #0077cc;      /* hsl(205 100% 40%) */
  --blue-hero: #1e5b7f;
  --blue-mark: #1d4986;
  --olive: #7a9a01;         /* brand olive */
  --olive-500: #8ba045;     /* hsl(75 40% 45%) */
  --olive-300: #b5cf4d;     /* accent on dark */
  --ink: #071520;           /* hsl(204 60% 7%) */
  --ink-2: #0b1e2c;
  --ink-3: #152028;
  --footer: #040d14;        /* hsl(205 62% 4%) */
  --cream: #fbfdf4;
  --bg: #fcfcfc;
  --surface: #ffffff;
  --muted-bg: #eff1f3;
  --text: #383838;
  --text-muted: #6b6b6b;
  --border: #dde2e7;
  --on-dark: #f1f5f8;
  --on-dark-muted: #a7b4bf;

  --grad-accent: linear-gradient(135deg, var(--blue), var(--olive-500));
  --grad-primary: linear-gradient(135deg, var(--blue), var(--blue-600));
  --grad-mesh: radial-gradient(at 0% 0%, rgba(0, 90, 153, .35) 0, transparent 55%),
               radial-gradient(at 100% 100%, rgba(122, 154, 1, .28) 0, transparent 55%);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 21, 32, .06), 0 8px 24px rgba(7, 21, 32, .06);
  --shadow-lg: 0 20px 50px rgba(7, 21, 32, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: 16px;
  --max: 1200px;
  --ease: cubic-bezier(0, 0, .2, 1);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: 72px; /* room for mobile sticky CTA */
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid rgba(0, 90, 153, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--muted { background: var(--muted-bg); }
.section--dark { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); pointer-events: none; }
.section--dark > * { position: relative; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 10px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--olive-300); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); cursor: pointer; text-decoration: none !important;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--olive); color: #fff; box-shadow: 0 6px 18px rgba(122, 154, 1, .35); }
.btn--primary:hover { background: #6a8405; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-mark); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: rgba(0, 90, 153, .06); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
/* Blur on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 21, 32, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
/* Official SystimaNX wordmark, shown white on dark backgrounds exactly like systimanx.com */
.logo .logo-mark { height: 40px; width: auto; margin-left: -4px; filter: brightness(0) invert(1); }
.logo small { align-self: center; margin: 4px 0 0 -6px; }
.logo small { font-weight: 600; font-size: .7rem; color: var(--olive-300); letter-spacing: .1em; text-transform: uppercase; margin-left: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700; }
.lang-switch a { color: var(--on-dark-muted); padding: 6px 10px; }
.lang-switch a[aria-current="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.lang-switch a:hover { text-decoration: none; color: #fff; }
/* 4 languages: in the mobile menu below 1024px, in the header above */
.lang-switch--header { display: none; }
.lang-switch--nav { width: max-content; margin-bottom: 20px; font-size: .95rem; }
.lang-switch--nav a { padding: 10px 16px; }
.nav-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer;
  display: grid; place-items: center; border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); padding: 24px var(--gutter);
  transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; visibility: hidden;
}
.nav-open .main-nav { transform: none; visibility: visible; }
.main-nav ul { list-style: none; margin: 0 0 24px; padding: 0; }
.main-nav li a {
  display: block; padding: 14px 4px; color: #fff; font-size: 1.2rem; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.main-nav li a:hover { text-decoration: none; color: var(--olive-300); }
.header-cta { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; padding: 48px 0 56px; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); }
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #4fb3ff, var(--olive-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.1rem; color: var(--on-dark-muted); max-width: 620px; margin-bottom: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--cream); margin-bottom: 18px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .2); }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.trust-chips li {
  font-size: .82rem; padding: 6px 10px; border-radius: 8px; color: var(--cream);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.trust-chips li::before { content: "✓ "; color: var(--olive-300); font-weight: 700; }

.terminal {
  margin-top: 36px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-lg); overflow: hidden; font-family: var(--mono); font-size: .8rem;
}
.terminal-bar { display: flex; gap: 6px; padding: 10px 12px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; }
.terminal-bar i:nth-child(1) { background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal pre { margin: 0; padding: 14px 16px; color: #cfe3f1; overflow-x: auto; line-height: 1.7; }
.terminal .ok { color: #7ee787; }
.terminal .c { color: #6b8293; }
.terminal .k { color: var(--olive-300); }

/* ---------- Pain points ---------- */
.pain-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.pain-list li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px 14px 44px; position: relative;
}
.pain-list li::before {
  content: "!"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: #fdecea; color: #c0392b; font-weight: 800; font-size: .8rem; display: grid; place-items: center;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--grad-accent); color: #fff;
}
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--text-muted); }
.card ul { margin: 0 0 16px; padding: 0; list-style: none; }
.card ul li { padding: 6px 0 6px 24px; position: relative; font-size: .95rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg); }
.card-link { font-weight: 700; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: rgba(0, 90, 153, .08); color: var(--blue); margin: 0 4px 6px 0; }

/* ---------- Offers / pricing ---------- */
.offer {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
}
.offer--featured { background: linear-gradient(160deg, rgba(0, 90, 153, .35), rgba(122, 154, 1, .2)); border-color: var(--olive-300); position: relative; }
.offer-badge {
  position: absolute; top: -12px; left: 24px; background: var(--olive); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.offer h3 { margin-bottom: 4px; }
.offer .price { font-size: 1.9rem; font-weight: 800; color: #fff; margin: 8px 0 2px; letter-spacing: -.02em; }
.offer .price small { font-size: .85rem; font-weight: 500; color: var(--on-dark-muted); }
.offer .delay { font-size: .85rem; color: var(--olive-300); font-weight: 600; margin-bottom: 14px; }
.offer p { color: var(--on-dark-muted); font-size: .95rem; }
.offer ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.offer ul li { padding: 6px 0 6px 24px; position: relative; font-size: .93rem; color: var(--on-dark); }
.offer ul li::before { content: "→"; position: absolute; left: 0; color: var(--olive-300); }
.offers-note { font-size: .85rem; color: var(--on-dark-muted); margin-top: 20px; }

/* ---------- Audience ---------- */
.audience { display: grid; gap: 12px; }
.audience-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.audience-item .num { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--olive-300); display: grid; place-items: center; font-weight: 800; }
.audience-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.audience-item p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ---------- ROI calculator ---------- */
.calc { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.calc label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.calc .field { margin-bottom: 18px; }
.calc output { font-weight: 800; color: var(--blue); }
.calc input[type="range"] { width: 100%; accent-color: var(--olive); height: 32px; }
.calc-result { background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 18px; text-align: center; margin-bottom: 16px; }
.calc-result .big { font-size: 2rem; font-weight: 800; color: var(--olive-300); display: block; letter-spacing: -.02em; }
.calc-result span { color: var(--on-dark-muted); font-size: .9rem; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 0 0 0 56px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad-accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--text-muted); margin: 0; }
.steps .when { font-size: .8rem; font-weight: 700; color: var(--olive); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Stack ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.stack li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; font-weight: 600; color: var(--cream); }
.stack-group { margin-bottom: 24px; }
.stack-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--olive-300) !important; margin-bottom: 10px; }

/* ---------- Compliance ---------- */
.compliance { display: grid; gap: 12px; }
.compliance .card { padding: 20px; }
.compliance h3 { display: flex; align-items: center; gap: 10px; }
.compliance h3 .badge { font-size: .7rem; background: var(--olive); color: #fff; padding: 3px 8px; border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--ink); position: relative; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--olive); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 18px 16px; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; gap: 24px; }
.contact-direct { display: grid; gap: 10px; }
.contact-direct a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600;
}
.contact-direct a:hover { text-decoration: none; background: rgba(255, 255, 255, .1); }
.contact-direct svg { width: 22px; height: 22px; flex: none; color: var(--olive-300); }
.contact-direct small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .82rem; }
.promise { list-style: none; padding: 0; margin: 20px 0 0; }
.promise li { padding: 4px 0 4px 24px; position: relative; color: var(--on-dark-muted); font-size: .92rem; }
.promise li::before { content: "✓"; position: absolute; left: 0; color: var(--olive-300); font-weight: 800; }

.form { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); }
.form h3 { color: var(--ink) !important; }
.form .row { display: grid; gap: 14px; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: 16px/1.4 var(--font); /* 16px prevents iOS zoom */
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); min-height: 48px;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 90, 153, .18); }
.form .chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.form .chips legend { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.form .chips label { margin: 0; }
.form .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.form .chips span {
  display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border); font-size: .88rem; font-weight: 600; cursor: pointer; background: #fff; min-height: 44px; line-height: 22px;
}
.form .chips input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.form .chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 90, 153, .3); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; font-weight: 400; color: var(--text-muted); }
.form .consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--blue); }
.form .hp { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 600; }
.form-status.ok { color: #1b7f3b; }
.form-status.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--on-dark-muted); padding: 48px 0 24px; font-size: .9rem; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .8rem; }


/* ---------- Workflows (tabbed diagrams) ---------- */
.wf-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 calc(var(--gutter) * -1) 20px; padding-left: var(--gutter); padding-right: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.wf-tabs::-webkit-scrollbar { display: none; }
.wf-tab {
  flex: none; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font: 600 .92rem/1.2 var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.wf-tab:hover { border-color: var(--blue); }
.wf-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.wf-tab .ico { color: var(--olive); margin-right: 4px; }
.wf-tab[aria-selected="true"] .ico { color: var(--olive-300); }
.wf-panel[hidden] { display: none; }
.wf-intro { color: var(--text-muted); margin-bottom: 20px; max-width: 720px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.node {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 16px 64px; box-shadow: var(--shadow);
}
.node-step {
  position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 10px; background: var(--grad-accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .88rem;
}
.node .when { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--olive); margin-bottom: 2px; }
.node h4 { margin: 0 0 4px; font-size: 1.02rem; }
.node p { margin: 0 0 8px; color: var(--text-muted); font-size: .92rem; line-height: 1.5; }
.node .tag { margin-bottom: 0; }
/* vertical connector between nodes (mobile) */
.node:not(:last-child)::after {
  content: ""; position: absolute; left: 32px; bottom: -29px; width: 2px; height: 28px;
  background: linear-gradient(var(--blue), var(--olive));
}
.node:not(:last-child)::before {
  content: ""; position: absolute; left: 28px; bottom: -30px; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--olive); z-index: 1;
}
.wf-outcome {
  margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(122, 154, 1, .08); border-left: 4px solid var(--olive);
  color: var(--ink); font-size: .95rem;
}
.wf-outcome strong { color: var(--olive); }

/* ---------- Partner program ---------- */
.partner-head { margin: 48px 0 20px; }
.partner-head h3 { font-size: clamp(1.3rem, 4.5vw, 1.7rem); margin-bottom: 6px; }
.partner-head p { color: var(--on-dark-muted); margin: 0; }
.offer .kicker { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--olive-300); margin-bottom: 6px; }
.offer .actions { display: grid; gap: 8px; }
.partner-cta { margin-top: 28px; }
/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 21, 32, .96);
  border-top: 1px solid rgba(255, 255, 255, .1); transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { min-height: 46px; padding: 10px 12px; font-size: .92rem; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 48px; padding-bottom: 72px; max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal .todo { background: #fff8e1; border-left: 4px solid #febc2e; padding: 2px 6px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* =========================================================
   Breakpoints (mobile-first: enhance upward)
   ========================================================= */
@media (min-width: 560px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .form .row.two { grid-template-columns: 1fr 1fr; }
  .pain-list { grid-template-columns: 1fr 1fr; }
  .compliance { grid-template-columns: 1fr 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .section { padding: 88px 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--offers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .node:not(:last-child)::after, .node:not(:last-child)::before { display: none; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero { padding: 96px 0 104px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .terminal { margin-top: 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--offers { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 56px 0 0; }
  .contact-wrap { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .audience { grid-template-columns: repeat(4, 1fr); }
  .audience-item { flex-direction: column; }
  .compliance { grid-template-columns: repeat(4, 1fr); }
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
}

/* Full desktop nav only when DE/ES labels fit on one line */
@media (min-width: 1200px) {
  :root { --header-h: 72px; }
  .logo .logo-mark { height: 46px; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static; transform: none; visibility: visible; background: transparent; padding: 0; overflow: visible;
  }
  .main-nav ul { display: flex; gap: 2px; margin: 0; }
  .main-nav li a { font-size: .9rem; padding: 8px 10px; border: 0; color: var(--on-dark-muted); border-radius: 8px; white-space: nowrap; }
  .main-nav li a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .main-nav .nav-mobile-cta, .lang-switch--nav { display: none; }
  .lang-switch--header { display: flex; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 8px 18px; font-size: .9rem; white-space: nowrap; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .partner-cta { text-align: center; }
}
@media (min-width: 1200px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: 22px; }
  .node { padding: 60px 16px 16px; }
  .node-step { left: 16px; top: 16px; }
  /* horizontal arrows between steps */
  .node:not(:last-child)::after {
    display: block; left: auto; right: -21px; top: 32px; bottom: auto; width: 20px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--olive));
  }
  .node:not(:last-child)::before {
    display: block; left: auto; right: -22px; top: 28px; bottom: auto;
    border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--olive); border-right: 0;
  }
}

/* ---------- Landing pages, case study, resources ---------- */
.hero--page { padding: 32px 0 48px; }
.hero--page h1 { font-size: clamp(1.9rem, 7vw, 3.1rem); max-width: 900px; }
.crumbs { font-size: .82rem; color: var(--on-dark-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--cream); }
.card--link { display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
.card--link h3 { color: var(--ink); }
.card--link .card-link { margin-top: auto; }
.proof {
  margin-top: 32px; padding: 22px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark);
  display: grid; gap: 16px; align-items: center;
}
.proof h3 { color: #fff; margin-bottom: 6px; }
.proof p { color: var(--on-dark-muted); margin: 0; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.facts dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--olive); }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.note { margin-top: 16px; font-size: .88rem; color: var(--text-muted); font-style: italic; }
.case-grid { display: grid; gap: 32px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 6px 0 6px 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 800; }
.pain-list--ok li::before { content: "✓"; background: rgba(122, 154, 1, .15); color: var(--olive); }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: 1fr auto; padding: 28px 32px; }
  .case-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (min-width: 1024px) {
  .hero--page { padding: 48px 0 72px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .grid--offers.grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); }
}

/* ---------- Hero terminal animation ---------- */
.terminal .tl { display: block; min-height: 1.7em; }
.terminal .tl.off { visibility: hidden; }
.terminal .tl.pending { opacity: .7; }
.terminal .tl.pending .ok { color: #febc2e; }
.terminal .tl .ok { display: inline-block; }
.terminal .tl.pop .ok { animation: t-pop .35s var(--ease); }
.t-cursor {
  display: inline-block; width: .55em; height: 1.15em; margin-left: 3px; vertical-align: text-bottom;
  background: #cfe3f1; animation: t-blink 1s steps(1) infinite;
}
@keyframes t-pop { 0% { transform: scale(.3); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes t-blink { 50% { opacity: 0; } }

/* ---------- Pain-point icons (one meaningful icon per problem, set with data-icon) ---------- */
.pain-list li { padding: 16px 16px 16px 64px; min-height: 66px; --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'10'%2F%3E%3Cpath%20d%3D'M12%208v4'%2F%3E%3Cpath%20d%3D'M12%2016h.01'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li::before {
  content: ""; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(217, 119, 87, .12); font-size: 0;
}
.pain-list li::after {
  content: ""; position: absolute; left: 24px; top: 24px; width: 18px; height: 18px; background: #b85a3c;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.pain-list--ok li::before { content: "✓"; font-size: 1rem; background: rgba(122, 154, 1, .15); color: var(--olive); }
.pain-list--ok li::after { display: none; }
.pain-list li[data-icon="rocket"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4.5%2016.5c-1.5%201.26-2%205-2%205s3.74-.5%205-2c.71-.84.7-2.13-.09-2.91a2.18%202.18%200%200%200-2.91-.09z'%2F%3E%3Cpath%20d%3D'm12%2015-3-3a22%2022%200%200%201%202-3.95A12.88%2012.88%200%200%201%2022%202c0%202.72-.78%207.5-6%2011a22.35%2022.35%200%200%201-4%202z'%2F%3E%3Cpath%20d%3D'M9%2012H4s.55-3.03%202-4c1.62-1.08%205%200%205%200'%2F%3E%3Cpath%20d%3D'M12%2015v5s3.03-.55%204-2c1.08-1.62%200-5%200-5'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="trend"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'm22%207-8.5%208.5-5-5L2%2017'%2F%3E%3Cpath%20d%3D'M16%207h6v6'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="user-search"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'10'%20cy%3D'7'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M10.3%2015H7a4%204%200%200%200-4%204v2'%2F%3E%3Ccircle%20cx%3D'17'%20cy%3D'17'%20r%3D'3'%2F%3E%3Cpath%20d%3D'm21%2021-1.9-1.9'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="user"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M19%2021v-2a4%204%200%200%200-4-4H9a4%204%200%200%200-4%204v2'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'7'%20r%3D'4'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="copy"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'8'%20y%3D'8'%20width%3D'14'%20height%3D'14'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M4%2016c-1.1%200-2-.9-2-2V4c0-1.1.9-2%202-2h10c1.1%200%202%20.9%202%202'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="shield"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z'%2F%3E%3Cpath%20d%3D'm9%2012%202%202%204-4'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="bulb"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M15%2014c.2-1%20.7-1.7%201.5-2.5%201-.9%201.5-2.2%201.5-3.5A6%206%200%200%200%206%208c0%201%20.2%202.2%201.5%203.5.7.7%201.3%201.5%201.5%202.5'%2F%3E%3Cpath%20d%3D'M9%2018h6'%2F%3E%3Cpath%20d%3D'M10%2022h4'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="bell"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6%208a6%206%200%200%201%2012%200c0%207%203%209%203%209H3s3-2%203-9'%2F%3E%3Cpath%20d%3D'M10.3%2021a1.94%201.94%200%200%200%203.4%200'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="file-x"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z'%2F%3E%3Cpath%20d%3D'M14%202v4a2%202%200%200%200%202%202h4'%2F%3E%3Cpath%20d%3D'm9.5%2012.5%205%205'%2F%3E%3Cpath%20d%3D'm14.5%2012.5-5%205'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="mail"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'2'%20y%3D'4'%20width%3D'20'%20height%3D'16'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'm22%207-8.97%205.7a1.94%201.94%200%200%201-2.06%200L2%207'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="sheet"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'3'%20width%3D'18'%20height%3D'18'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M3%209h18'%2F%3E%3Cpath%20d%3D'M3%2015h18'%2F%3E%3Cpath%20d%3D'M9%203v18'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="euro"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M4%2010h12'%2F%3E%3Cpath%20d%3D'M4%2014h9'%2F%3E%3Cpath%20d%3D'M19%206a7.7%207.7%200%200%200-5.2-2A7.9%207.9%200%200%200%206%2012c0%204.4%203.5%208%207.8%208%202%200%203.8-.8%205.2-2'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="globe"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'10'%2F%3E%3Cpath%20d%3D'M12%202a14.5%2014.5%200%200%200%200%2020%2014.5%2014.5%200%200%200%200-20'%2F%3E%3Cpath%20d%3D'M2%2012h20'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="link"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M10%2013a5%205%200%200%200%207.54.54l3-3a5%205%200%200%200-7.07-7.07l-1.72%201.71'%2F%3E%3Cpath%20d%3D'M14%2011a5%205%200%200%200-7.54-.54l-3%203a5%205%200%200%200%207.07%207.07l1.71-1.71'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="clock"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'10'%2F%3E%3Cpath%20d%3D'M12%206v6l4%202'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="layers"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12.83%202.18a2%202%200%200%200-1.66%200L2.6%206.08a1%201%200%200%200%200%201.83l8.58%203.91a2%202%200%200%200%201.66%200l8.58-3.9a1%201%200%200%200%200-1.83Z'%2F%3E%3Cpath%20d%3D'm22%2017.65-9.17%204.16a2%202%200%200%201-1.66%200L2%2017.65'%2F%3E%3Cpath%20d%3D'm22%2012.65-9.17%204.16a2%202%200%200%201-1.66%200L2%2012.65'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="card"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'2'%20y%3D'5'%20width%3D'20'%20height%3D'14'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M2%2010h20'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="server"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'2'%20y%3D'2'%20width%3D'20'%20height%3D'8'%20rx%3D'2'%2F%3E%3Crect%20x%3D'2'%20y%3D'14'%20width%3D'20'%20height%3D'8'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M6%206h.01'%2F%3E%3Cpath%20d%3D'M6%2018h.01'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="building"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M6%2022V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202v18Z'%2F%3E%3Cpath%20d%3D'M6%2012H4a2%202%200%200%200-2%202v6a2%202%200%200%200%202%202h2'%2F%3E%3Cpath%20d%3D'M18%209h2a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202h-2'%2F%3E%3Cpath%20d%3D'M10%206h4'%2F%3E%3Cpath%20d%3D'M10%2010h4'%2F%3E%3Cpath%20d%3D'M10%2014h4'%2F%3E%3Cpath%20d%3D'M10%2018h4'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="arrow-out"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M7%207h10v10'%2F%3E%3Cpath%20d%3D'M7%2017%2017%207'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="lock"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'3'%20y%3D'11'%20width%3D'18'%20height%3D'11'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M7%2011V7a5%205%200%200%201%2010%200v4'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="database"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cellipse%20cx%3D'12'%20cy%3D'5'%20rx%3D'9'%20ry%3D'3'%2F%3E%3Cpath%20d%3D'M3%205v14a9%203%200%200%200%2018%200V5'%2F%3E%3Cpath%20d%3D'M3%2012a9%203%200%200%200%2018%200'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="briefcase"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Crect%20x%3D'2'%20y%3D'7'%20width%3D'20'%20height%3D'14'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M16%2021V5a2%202%200%200%200-2-2h-4a2%202%200%200%200-2%202v16'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="key"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'7.5'%20cy%3D'15.5'%20r%3D'5.5'%2F%3E%3Cpath%20d%3D'm21%202-9.6%209.6'%2F%3E%3Cpath%20d%3D'm15.5%207.5%203%203L22%207l-3-3'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="list"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M3%206h.01'%2F%3E%3Cpath%20d%3D'M3%2012h.01'%2F%3E%3Cpath%20d%3D'M3%2018h.01'%2F%3E%3Cpath%20d%3D'M8%206h13'%2F%3E%3Cpath%20d%3D'M8%2012h13'%2F%3E%3Cpath%20d%3D'M8%2018h13'%2F%3E%3C%2Fsvg%3E"); }
.pain-list li[data-icon="alert"] { --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'10'%2F%3E%3Cpath%20d%3D'M12%208v4'%2F%3E%3Cpath%20d%3D'M12%2016h.01'%2F%3E%3C%2Fsvg%3E"); }

/* ---------- ALTCHA captcha widget (matches the form fields) ---------- */
.form altcha-widget {
  display: block;
  --altcha-max-width: 100%;
  --altcha-border-radius: 10px;
  --altcha-border-width: 1px;
  --altcha-color-base: #fff;
  --altcha-color-border: var(--border);
  --altcha-color-border-focus: var(--blue);
  --altcha-color-text: var(--text);
  --altcha-color-error-text: #c0392b;
  --altcha-color-footer-bg: var(--muted-bg);
}

/* ---------- Footer contact details (NAP, same as Google Business Profile) ---------- */
.site-footer .nap { margin-top: 12px; line-height: 1.9; }
.site-footer .nap a { color: var(--cream); }

/* ---------- Booking window (bottom sheet on mobile, dialog on desktop) ---------- */
html.bk-open { overflow: hidden; }
.bk { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.bk[hidden] { display: none; }
.bk-backdrop { position: absolute; inset: 0; background: rgba(7, 21, 32, .6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.bk-panel {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); color: var(--text); border-radius: 20px 20px 0 0; padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lg); animation: bk-up .28s var(--ease);
}
@keyframes bk-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.bk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.bk-head h2 { font-size: 1.35rem; margin: 0; }
.bk-sub { margin: 2px 0 0; color: var(--text-muted); font-size: .92rem; }
.bk-x { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.bk-label { font-weight: 700; color: var(--ink); margin: 18px 0 10px; font-size: .95rem; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.bk-day {
  flex: none; width: 64px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--border); background: #fff; cursor: pointer;
  display: grid; justify-items: center; gap: 2px; font: 500 .78rem/1.2 var(--font); color: var(--text-muted); scroll-snap-align: start; text-transform: capitalize;
}
.bk-day b { font-size: 1.25rem; color: var(--ink); }
.bk-day:hover:not([disabled]) { border-color: var(--blue); }
.bk-day[disabled] { opacity: .35; cursor: default; background: var(--muted-bg); }
.bk-day.on { background: var(--ink); border-color: var(--ink); color: var(--olive-300); }
.bk-day.on b { color: #fff; }
.bk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bk-slot {
  min-height: 46px; border-radius: 10px; border: 1px solid rgba(0, 90, 153, .35); background: rgba(0, 90, 153, .05); color: var(--blue);
  font: 700 .95rem var(--font); cursor: pointer;
}
.bk-slot:hover, .bk-slot:focus-visible { background: var(--blue); color: #fff; }
.bk-tz { color: var(--text-muted); font-size: .82rem; margin: 12px 0 0; }
.bk-msg { margin: 10px 0 0; font-size: .92rem; font-weight: 600; }
.bk-msg.err { color: #c0392b; }
.bk-picked { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #eaf5d8; color: #2f3d00; font-weight: 700; }
.bk-change { border: 0; background: none; color: var(--blue); font: 700 .9rem var(--font); cursor: pointer; text-decoration: underline; text-transform: none; }
.bk-form { display: grid; gap: 12px; }
.bk-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); }
.bk-form input:not([type=checkbox]), .bk-form select, .bk-form textarea {
  display: block; width: 100%; margin-top: 6px; font: 16px/1.4 var(--font); padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); min-height: 48px;
}
.bk-form textarea { min-height: 80px; resize: vertical; }
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 90, 153, .18); }
.bk-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; font-weight: 400; color: var(--text-muted); }
.bk-form .consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.bk-form .hp { position: absolute; left: -9999px; }
.bk-form altcha-widget { display: block; --altcha-max-width: 100%; --altcha-border-radius: 10px; --altcha-color-border: var(--border); --altcha-color-text: var(--text); }
.bk-grid { display: grid; gap: 12px; }
.bk-done { text-align: center; padding: 8px 0; }
.bk-check { width: 64px; height: 64px; border-radius: 50%; margin: 6px auto 12px; display: grid; place-items: center; background: var(--olive); color: #fff; font-size: 2rem; font-weight: 800; }
.bk-done h3 { font-size: 1.3rem; }
.bk-done-when { font-weight: 700; color: var(--ink); }
.bk-done-mail { color: var(--text-muted); }
.bk-done .btn-row { justify-content: center; margin: 16px 0 12px; }
.bk-note { padding: 12px 14px; border-radius: 10px; background: #fff8e1; border-left: 4px solid #febc2e; }
.bk-note--ok { background: #eaf5d8; border-left-color: var(--olive); }
@media (min-width: 560px) {
  .bk-slots { grid-template-columns: repeat(4, 1fr); }
  .bk-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .bk { align-items: center; padding: 24px; }
  .bk-panel { max-width: 640px; border-radius: 20px; padding: 28px; max-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) { .bk-panel { animation: none; } }
