/* MyProWorks — site styles. No external fonts or frameworks.
   Colours come from assets/theme.css, generated from the palette chosen in site.config.mjs. */

:root {
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --wrap: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent-ink);

  --mark-line: var(--accent);
  --mark-dot: var(--paper);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.45rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.note { font-size: 0.9375rem; color: var(--muted); margin-top: 1.25rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--surface); padding: 0.6rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.35rem; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--small { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--primary { background: var(--brand); color: var(--surface); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand-tint); }
.btn--light { background: var(--paper); color: var(--brand-deep); }
.btn--light:hover { background: var(--surface); }
.btn--outline-light { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 60%, transparent); }
.btn--outline-light:hover { border-color: var(--paper); background: color-mix(in srgb, var(--paper) 8%, transparent); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.25rem; }
.text-link { font-weight: 600; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--brand); text-decoration: none; }
.brand__name { font-weight: 750; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--ink); }
.brand--light .brand__name { color: var(--paper); }
.site-footer .brand--light { color: var(--brand-soft); --mark-dot: var(--paper); }
.brand-mark { flex: none; }

/* "Who delivers" tags */
.who {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.875rem; font-weight: 550; color: var(--muted); line-height: 1.3;
}
.who__dot { width: 11px; height: 11px; border-radius: 50%; flex: none; border: 2px solid var(--brand); }
.who--direct .who__dot { background: var(--brand); }
.who--partner .who__dot { background: transparent; }
.who--mixed .who__dot { background: linear-gradient(90deg, var(--brand) 50%, transparent 50%); }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.25rem; }
.page-head .who { margin-top: 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.site-header .brand { margin-right: auto; }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav__list { display: flex; gap: 0.25rem; list-style: none; }
.site-nav__list a {
  display: block; padding: 0.5rem 0.5rem; border-radius: var(--radius-s);
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 520; white-space: nowrap;
}
.site-nav__list a:hover { background: var(--brand-tint); }
.site-nav__list a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav__actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }

.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; min-height: 32px; padding: 0 0.55rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 650; color: var(--muted); text-decoration: none; letter-spacing: 0.02em;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--surface); }

.menu-toggle {
  display: none; align-items: center; gap: 0.55rem;
  min-height: 44px; padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  font: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--ink); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -5px; }
.menu-toggle__bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1279px) {
  .site-header__inner { flex-wrap: wrap; }
  .js .menu-toggle { display: inline-flex; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding-bottom: 1rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .site-nav__list a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 0.75rem; }
  .site-nav__actions { justify-content: space-between; }
}

/* Sections */
.section { padding-block: var(--space-section); }
.section--flush { padding-top: 0; }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 3vw, 2rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 17ch; }


/* Service blocks */
.services { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.service { background: var(--paper); }
.service__link, .service--static { display: flex; flex-direction: column; gap: 0.75rem; height: 100%; padding: clamp(1.5rem, 3vw, 2.25rem); color: inherit; text-decoration: none; }
.service--static { background: var(--paper); }
.service__link:hover { background: var(--surface); }
.service__link:hover .service__more { text-decoration: underline; }
.service__name { font-size: 1.3rem; margin: 0; }
.service p { color: var(--muted); margin: 0; }
.service .who { margin-top: auto; padding-top: 0.5rem; }
.service__more { font-weight: 650; color: var(--brand); }
.service__link:focus-visible { box-shadow: inset 0 0 0 3px var(--accent-ink); border-radius: 0; }

/* Direct vs partner split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.split__col { padding-top: 1.25rem; border-top: 3px solid var(--brand); }
.split__col--partner { border-top-style: dashed; border-top-color: var(--line-strong); }
.split h3 { display: flex; flex-direction: column; gap: 0.6rem; font-size: 1.25rem; }
.split h3 .who { font-size: 0.875rem; }
.ticks { list-style: none; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.55em; width: 0.6rem; height: 0.35rem;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.limits { list-style: none; display: grid; gap: 0.6rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.limits li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.limits li::before { content: ""; position: absolute; left: 0.1rem; top: 0.75em; width: 0.75rem; height: 2px; background: var(--muted); }
.callout { margin-top: 2.5rem; padding: 1.1rem 1.35rem; background: var(--brand-tint); border-radius: var(--radius-m); font-weight: 550; max-width: 80ch; }

/* Price list */
.price-list { list-style: none; border-top: 1px solid var(--ink); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 2rem; align-items: baseline; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.price-row__name { margin: 0 0 0.25rem; font-size: 1.15rem; }
.price-row__main p { color: var(--muted); margin: 0; max-width: 64ch; }
.price-row__price { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; font-size: 1.0625rem; }
.price-row__price--quote { color: var(--muted); font-weight: 550; }
.note .who { margin-right: 0.5rem; }

/* Steps (real sequences only) */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.5rem; }
.steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.steps--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { counter-increment: step; position: relative; padding-top: 3.25rem; }
.step::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--surface); font-weight: 700; font-size: 0.9375rem; font-variant-numeric: tabular-nums;
}
.steps--row .step::after { content: ""; position: absolute; top: 1.1rem; left: 2.85rem; right: -0.75rem; height: 1px; background: var(--line-strong); }
.steps--row .step:last-child::after { display: none; }
.step__name { margin-bottom: 0.4rem; }
.step p { color: var(--muted); margin: 0; }
.steps--compact { gap: 1rem; margin-bottom: 2rem; }
.steps--compact .step { padding-top: 0; padding-left: 2.75rem; }
.steps--compact .step::before { width: 1.85rem; height: 1.85rem; font-size: 0.8125rem; }
.steps--compact .step p { color: var(--ink); }

/* International */
.chips li { padding: 0.35rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9375rem; font-weight: 550; background: var(--surface); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li { font-size: 1rem; padding: 0.5rem 1rem; }
.chips--pick li { padding: 0; border: 0; background: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-weight: 550; text-decoration: none; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.chip[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: var(--surface); }
.chip:focus-visible { box-shadow: var(--focus); border-radius: 999px; }
.field select.is-prefilled { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }

/* CTA band */
.cta-band { background: var(--brand); color: var(--paper); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin-bottom: 0.35em; max-width: 26ch; }
.cta-band p { color: color-mix(in srgb, var(--paper) 82%, transparent); max-width: 58ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn:focus-visible { box-shadow: 0 0 0 3px var(--brand), 0 0 0 5px var(--accent); }

/* Inner pages */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { max-width: 20ch; }
.page-head--center { text-align: center; border: 0; }
.page-head--center h1, .page-head--center .lead { margin-inline: auto; }
.lang-alt { margin-top: 1.5rem; }
.section--flush { padding-bottom: var(--space-section); }
.page-head + .section { padding-top: 0; }
.page-head + .section.section--tint { padding-top: var(--space-section); }


.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin: 0; }
.principles--wide { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principles div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.principles dt { font-weight: 650; font-size: 1.125rem; margin-bottom: 0.4rem; }
.principles dd { margin: 0; color: var(--muted); }

.notice { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-m); background: var(--warn-tint); border-left: 4px solid var(--accent); }
.notice h2 { font-size: 1.35rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.big-price { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; color: var(--brand); font-variant-numeric: tabular-nums; margin-bottom: 0.5rem; }
.promise { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.promise h2 { font-size: 1.35rem; }
.prose p { max-width: 66ch; }


/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-grid__aside h2 { font-size: 1.35rem; }
.aside-box { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); margin-top: 1rem; }
.aside-box p { margin-bottom: 0.35rem; }

/* Forms */
.request-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 4vw, 2.5rem); margin-top: 1.5rem; }
.section--tint .request-form { background: var(--paper); }
.form-intro { font-size: 0.9375rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 450; }
.field__hint { font-size: 0.875rem; color: var(--muted); margin: 0; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  padding: 0.7rem 0.85rem; min-height: 48px;
  transition: border-color 0.15s ease;
}
.field select {
  appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); border-radius: var(--radius-s); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--danger); background-color: var(--danger-tint); }
.field__error { color: var(--danger); font-size: 0.875rem; font-weight: 550; margin: 0; }
.field--check { margin-top: 0.25rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.check input { width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--brand); }
.check label { font-weight: 450; font-size: 0.9375rem; }
.check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1.75rem; }
.form-errors { background: var(--danger-tint); border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--danger-tint)); border-radius: var(--radius-m); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.form-errors p { font-weight: 650; color: var(--danger); margin-bottom: 0.4rem; }
.form-errors ul { padding-left: 1.2rem; }
.form-errors a { color: var(--danger); }
.form-status { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-m); }
.form-status[data-state="sending"] { background: var(--brand-tint); }
.form-status[data-state="success"] { background: var(--ok-tint); border-left: 4px solid var(--ok); }
.form-status[data-state="error"] { background: var(--danger-tint); border-left: 4px solid var(--danger); }
.form-status[data-state="not-configured"] { background: var(--warn-tint); border-left: 4px solid var(--accent); }
.form-status h3 { margin-bottom: 0.35rem; font-size: 1.0625rem; }
.form-status textarea { width: 100%; margin-top: 0.75rem; min-height: 9rem; font: inherit; font-size: 0.875rem; padding: 0.75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); }
.form-status .btn { margin-top: 0.75rem; }
.copy-result { display: inline-block; margin-left: 0.75rem; font-size: 0.9375rem; font-weight: 600; }

/* Legal pages */
.legal h2 { font-size: 1.3rem; margin-top: 2.25rem; }
.template-notice { padding: 1rem 1.25rem; border-radius: var(--radius-m); background: var(--warn-tint); border-left: 4px solid var(--accent); font-weight: 550; }
mark.placeholder { background: color-mix(in srgb, var(--accent) 30%, var(--surface)); color: var(--ink); padding: 0 0.2em; border-radius: 3px; }

/* Footer */
.site-footer { background: var(--brand-deep); color: color-mix(in srgb, var(--paper) 78%, transparent); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 0.9375rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 2rem; }
.site-footer__title { font-size: 0.9375rem; font-weight: 650; color: var(--paper); margin-bottom: 0.85rem; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer__tagline { margin-top: 0.85rem; }
.site-footer__disclaimer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); max-width: 90ch; font-size: 0.875rem; }
.site-footer__legal { font-size: 0.875rem; margin-top: 0.75rem; }

/* Language picker (root page) */
.lang-picker__main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1.5rem; }
.lang-picker__main ul { list-style: none; display: flex; gap: 1rem; }


/* Illustrations (inline SVG, palette-aware) */
.ill { display: block; width: 100%; height: auto; overflow: visible; }
.ill .f-brand { fill: var(--brand); }
.ill .f-deep { fill: var(--brand-deep); }
.ill .f-tint { fill: var(--brand-tint); }
.ill .f-accent { fill: var(--accent); }
.ill .f-paper { fill: var(--paper); }
.ill .f-surface { fill: var(--surface); }
.ill .f-ink { fill: var(--ink); }
.ill .f-line { fill: var(--line); }
.ill .f-strong { fill: var(--line-strong); }
.ill .f-none { fill: none; }
.ill .f-shadow { fill: var(--brand); opacity: 0.08; }
.ill .s-brand { stroke: var(--brand); }
.ill .s-accent { stroke: var(--accent); }
.ill .s-paper { stroke: var(--paper); }
.ill .s-surface { stroke: var(--surface); }
.ill .s-ink { stroke: var(--ink); }
.ill .s-line { stroke: var(--line-strong); }
.ill .s-strong { stroke: var(--line-strong); }
.ill .o-35 { opacity: 0.35; }
.ill .o-50 { opacity: 0.5; }
.ill .o-60 { opacity: 0.6; }
.ill .o-70 { opacity: 0.7; }
.ill .o-85 { opacity: 0.85; }
.ill .t-label { fill: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 600; }
.ill .t-small { font-size: 18px; }
.ill .t-tile { font-size: 16px; }
.mockup { display: block; width: 100%; height: auto; }

.hero__visual { min-width: 0; }
.hero__visual .ill { max-width: 580px; margin-inline: auto; }

.page-head--visual .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.page-head__visual { min-width: 0; }
.page-head__visual .ill { max-width: 420px; margin-left: auto; }

.service__art { display: flex; align-items: center; justify-content: center; height: clamp(190px, 21vw, 240px); background: var(--brand-tint); border-radius: var(--radius-m); padding: 1rem; margin-bottom: 0.5rem; overflow: hidden; }
.service__art .ill, .service__art .mockup { height: 100%; width: auto; max-width: 100%; object-fit: contain; }


/* Digital solutions: needs (tabs with JS, alternating blocks without) */
.needs__tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 4px; margin: 0 -4px 2rem; scrollbar-width: none; }
.needs__tabs::-webkit-scrollbar { display: none; }
.needs__tabs[hidden] { display: none; }
.needs__tab {
  flex: none; min-height: 46px; padding: 0.6rem 1.2rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.needs__tab:hover { border-color: var(--brand); color: var(--brand); }
.needs__tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--surface); }
.needs__tab:focus-visible { box-shadow: var(--focus); border-radius: 999px; }
.need { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.need:first-of-type { border-top: 0; padding-top: 0; }
.need:nth-of-type(even) .need__media { order: 2; }
.is-tabbed .need { border-top: 0; padding-block: 0; }
.need[hidden] { display: none; }
.is-tabbed .need .need__media { order: 0; }
.need__media { background: var(--brand-tint); border-radius: var(--radius-l); padding: clamp(1rem, 3vw, 2rem); min-width: 0; }
.need__media .mockup { width: 100%; height: auto; }
.need__body { min-width: 0; }
.need__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.need__text { font-size: 1.125rem; color: var(--muted); max-width: 52ch; }
.need__body .ticks { margin: 1.25rem 0; }
.need__prices { margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.price-line { border-bottom: 1px solid var(--line); }
div.price-line, .price-line summary { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; }
.price-line__name { margin-right: auto; color: var(--ink); }
.price-line__price { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-line summary { cursor: pointer; list-style: none; border-radius: var(--radius-s); }
.price-line summary::-webkit-details-marker { display: none; }
.price-line summary:hover .price-line__name { color: var(--brand); text-decoration: underline; text-underline-offset: 0.2em; }
.price-line summary:focus-visible { box-shadow: var(--focus); }
.price-line__chevron { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); position: relative; transition: transform 0.2s ease; }
.price-line__chevron::before { content: ""; position: absolute; left: 10px; top: 8px; width: 7px; height: 7px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); }
.price-line[open] .price-line__chevron { transform: rotate(180deg); }
.price-line__details { margin: 0 0 1rem; padding: 0.9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); font-size: 0.9688rem; }
.need__body .note { margin-top: 0.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .is-tabbed .need:not([hidden]) { animation: need-in 0.25s ease; }
  @keyframes need-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Responsive */
@media (max-width: 960px) {
  .need { grid-template-columns: 1fr; }
  .need:nth-of-type(even) .need__media { order: 0; }
  .page-head--visual .wrap { grid-template-columns: 1fr; }
  .page-head__visual .ill { margin-inline: 0; max-width: 340px; }
  .hero__visual .ill { max-width: 440px; margin-inline: 0; }
  .hero__grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .steps--row, .steps--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--row .step::after { display: none; }
  .principles { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .services, .split, .form-grid { grid-template-columns: 1fr; }
  .steps--row, .steps--five { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .price-row__price { text-align: left; }
  .actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media print {
  .site-header, .site-footer, .cta-band, .request-form { display: none; }
  body { background: #fff; }
}
