/* QTools Core Global
   Palette comes from the QTools retail brand (signal yellow, Q orange)
   plus an Aegean ink for the dark surfaces. */

:root {
  --yellow: #ffc629;
  --yellow-deep: #f2b200;
  --yellow-tint: #fff1c2;
  --orange: #f39200;
  --steel: #2d5c7f;
  --ink: #0f2b3c;
  --ink-2: #183b50;
  --text: #1f2429;
  --text-2: #4a5866;
  --line: #7d8996;     /* control borders, 3.5:1 on white */
  --mist: #eef1f4;
  --rule: #d4dae1;     /* decorative dividers only */
  --error: #b3261e;
  --paper: #ffffff;

  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 4px;

  accent-color: var(--ink);
  scrollbar-color: #9aa5b1 var(--mist);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.25rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
img, svg { display: block; }

/* Ink ring on light surfaces, yellow ring on dark ones */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.process :focus-visible,
.site-footer :focus-visible,
.btn-ink:focus-visible,
.box-ink:focus-visible,
.box-steel:focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* Data the client still has to supply: reads as missing, not as styling */
.pending {
  padding: 0 6px; border: 1px dashed var(--line); border-radius: 2px;
  color: var(--text-2); font-weight: 500; font-style: italic;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: 600 1rem/1 var(--font);
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn[disabled] { cursor: progress; opacity: .7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; padding-block: 4px; flex: none; }
.brand-logo { display: block; height: 46px; width: auto; }
.footer-brand .brand-logo { height: 54px; }

.nav { display: flex; gap: 28px; margin-inline: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .975rem; color: var(--text-2);
  padding-block: 10px; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--text); border-bottom-color: var(--yellow); }
.nav a[aria-current="true"] { color: var(--text); border-bottom-color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang button {
  font: 600 .8125rem/1 var(--font); color: var(--text-2);
  background: transparent; border: 0; min-width: 44px; min-height: 44px; padding: 0 10px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--text); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer; position: relative;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); content: "";
  transition: transform .2s, opacity .2s;
}
.menu-bars { top: 21px; }
.menu-bars::before { left: 0; right: 0; top: -6px; }
.menu-bars::after { left: 0; right: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero h1 { max-width: 14ch; text-wrap: balance; }
:lang(el) .hero h1 { max-width: 17ch; font-size: clamp(2rem, 4.4vw, 3.75rem); hyphens: manual; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 46ch; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Container stack: one box per trade area */
.stack-figure { margin: 0; }
.stack {
  list-style: none; margin: 0; padding: 0 0 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  position: relative;
}
.stack li { display: grid; }
.stack .slot-40 { grid-column: 1 / -1; }
.stack::after { /* quay edge */
  content: ""; position: absolute; left: -24px; right: -24px; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 40px, var(--yellow) 40px 80px);
  border-radius: 1px;
}

.box {
  --c: var(--yellow); --fg: var(--text);
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(96px, 11vw, 132px); padding: 14px 18px 14px 20px;
  text-decoration: none; color: var(--fg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.08)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.09) 0 2px, transparent 2px 9px, rgba(255,255,255,.12) 9px 11px, transparent 11px 18px),
    var(--c);
  border: 3px solid rgba(0,0,0,.18);
  border-radius: 2px;
  transition: transform .18s var(--ease-out);
}
.box-40 { padding-right: 64px; }
.box-40::after { /* door locking bars at the door end */
  content: ""; position: absolute; top: 10px; bottom: 10px; right: 16px; width: 22px;
  border-left: 3px solid rgba(0,0,0,.22); border-right: 3px solid rgba(0,0,0,.22);
}
.box::before { /* corner castings */
  content: ""; position: absolute; inset: -3px;
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) top left / 10px 8px no-repeat,
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) top right / 10px 8px no-repeat,
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) bottom left / 10px 8px no-repeat,
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) bottom right / 10px 8px no-repeat;
  pointer-events: none;
}
.box-yellow { --c: var(--yellow); }
.box-orange { --c: var(--orange); }
.box-steel  { --c: var(--steel); --fg: #fff; }
.box-ink    { --c: var(--ink); --fg: #fff; }

.box-mark { font-size: .7rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3; opacity: .85; }
.box-label { font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.box:hover, .box:focus-visible { transform: translateY(-5px); }

.stack-figure figcaption { margin-top: 18px; font-size: .9375rem; color: var(--text-2); }

/* Load moment: boxes are lowered onto the stack bottom-up, like a crane loading a ship.
   Only runs when main.js marks the stack as waiting; content is visible without it. */
.stack.is-waiting:not(.is-in) .box { opacity: 0; transform: translateY(-48px); }
.stack.is-in:not(.is-settled) .box {
  animation: lower .62s var(--ease-out) both;
  animation-delay: calc(var(--i) * 130ms);
}
@keyframes lower {
  0%   { opacity: 0; transform: translateY(-48px); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

/* ---------- Sectors ---------- */
.sectors { background: var(--mist); }
.sectors-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 96px); }
.sectors-head { align-self: start; position: sticky; top: 112px; }
.sectors-head p { color: var(--text-2); margin-top: 20px; max-width: 34ch; }

.sector-list { border-top: 2px solid var(--text); }
.sector {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px;
  padding: 32px 0; border-bottom: 1px solid var(--rule);
}
.sector h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 10px; }
.sector p { color: var(--text-2); max-width: 56ch; margin-bottom: 14px; }

/* Arrival: the sector a container points at glows briefly, then settles */
.sector.is-arrived { animation: arrive 1.6s ease-out; }
@keyframes arrive {
  0%, 25% { background-color: var(--yellow-tint); box-shadow: 0 0 0 16px var(--yellow-tint); }
  100%    { background-color: rgba(255,241,194,0); box-shadow: 0 0 0 16px rgba(255,241,194,0); }
}

.swatch { width: 44px; height: 30px; border-radius: 2px; margin-top: 4px;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 7px); }
.swatch-yellow { background-color: var(--yellow); }
.swatch-orange { background-color: var(--orange); }
.swatch-steel  { background-color: var(--steel); }
.swatch-ink    { background-color: var(--ink); }

/* Product examples: a plain list, not clickable chips */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.tags li { font-size: .9375rem; font-weight: 500; color: var(--text); }
.tags li::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px;
  background: var(--text-2); vertical-align: .18em;
}

/* ---------- Manufacturers (container wall) ---------- */
.makers {
  padding-block: var(--section);
  background:
    repeating-linear-gradient(90deg,
      rgba(0,0,0,.055) 0 3px, transparent 3px 22px,
      rgba(255,255,255,.22) 22px 25px, transparent 25px 44px),
    var(--yellow);
  border-top: 10px solid var(--yellow-deep);
  border-bottom: 10px solid var(--yellow-deep);
}
.makers-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.makers h2 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); max-width: 12ch; color: var(--ink); text-wrap: balance; }
.makers-lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); font-weight: 600; margin-top: 32px; max-width: 40ch; color: var(--ink); }
.makers-copy p:not(.makers-lede):not(.makers-direct) { max-width: 46ch; }
.makers-actions { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.makers-direct { font-size: .9375rem; margin: 0; }
.makers-direct a { font-weight: 700; }

.offer-list { margin: 0; background: rgba(255,255,255,.92); border-radius: var(--radius); padding: 8px 32px; border: 2px solid var(--ink); }
.offer-list > div { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.offer-list > div:last-child { border-bottom: 0; }
.offer-list dt { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); }
.offer-list dd { margin: 6px 0 0; color: var(--text-2); }

/* ---------- Buyers ---------- */
.buyers-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.buyers h2 { max-width: 14ch; text-wrap: balance; }
.buyers p { color: var(--text-2); margin: 24px 0 32px; max-width: 46ch; font-size: 1.125rem; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.checks li {
  position: relative; padding: 20px 0 20px 40px; border-bottom: 1px solid var(--rule);
  font-weight: 600; font-size: 1.125rem;
}
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 27px; width: 18px; height: 9px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- Process ---------- */
.process { background: var(--ink); color: #fff; }
.process h2 { max-width: 18ch; text-wrap: balance; }
.steps {
  list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.25rem; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.steps li::after { /* route line to the next step */
  content: ""; position: absolute; top: 23px; left: 60px; right: -20px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 14px);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
.steps p { color: rgba(255,255,255,.78); margin: 0; font-size: 1rem; }

/* Route moment: each stop lights up, then the line runs on to the next one */
.steps.is-waiting li::before { background: transparent; color: var(--yellow); }
.steps.is-waiting li::after { clip-path: inset(0 100% 0 0); }
.steps.is-in li::before {
  background: var(--yellow); color: var(--ink);
  transition: background-color .25s ease-out, color .25s ease-out;
  transition-delay: calc(var(--n) * 420ms);
}
.steps.is-in li::after {
  clip-path: inset(0 0 0 0);
  transition: clip-path .42s var(--ease-out);
  transition-delay: calc(var(--n) * 420ms + 120ms);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about h2 { max-width: 14ch; text-wrap: balance; margin-bottom: 32px; }
.about-copy p { max-width: 60ch; }
.about-lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 500; }
.about-copy p:not(.about-lede):not(.motto) { color: var(--text-2); }
.motto { font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.015em; color: var(--ink); margin-top: 36px; }

/* Company details, set like a registry extract */
.register { border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: #fff; }
.register h3 { font-size: 1.05rem; background: var(--ink); color: #fff; padding: 14px 24px; }
.register dl { margin: 0; padding: 4px 24px 8px; }
.register dl > div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.register dl > div:last-child { border-bottom: 0; }
.register dt { font-size: .875rem; color: var(--text-2); font-weight: 500; }
.register dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { max-width: 13ch; text-wrap: balance; }
.contact-copy > p { color: var(--text-2); margin-top: 24px; max-width: 40ch; }
.direct { list-style: none; padding: 0; margin: 32px 0 0; border-top: 2px solid var(--text); }
.direct li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.direct-label { color: var(--text-2); }
.direct a { font-weight: 700; text-decoration: none; padding-block: 11px; }
.direct a:hover { text-decoration: underline; }

.inquiry { background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--rule); }
.role { border: 0; margin: 0 0 24px; padding: 0; }
.role legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.role-options { display: flex; flex-wrap: wrap; gap: 8px; }
.role-options label { position: relative; }
.role-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role-options span {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.role-options input:checked + span { background: var(--yellow); border-color: var(--ink); }
.role-options input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }


.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field > label { font-weight: 600; font-size: .9375rem; }
.req { color: var(--error); margin-inline-start: 3px; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--text); caret-color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 128px; }
.field ::placeholder { color: #6b7783; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; padding: 11px 13px; }
.field-error { color: var(--error); font-size: .875rem; font-weight: 600; margin: 0; }

.buyer-fields { padding-top: 4px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status { font-size: .9375rem; margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius); background: var(--mist); }
.form-status.is-error { background: #fbeceb; color: var(--error); font-weight: 600; }
.form-status a { font-weight: 700; color: inherit; }

.form-foot { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .875rem; color: var(--text-2); }
.form-note a { color: var(--text); font-weight: 600; }

.form-success { padding: 8px 0; animation: received .4s var(--ease-out) both; }
.form-success h3 { font-size: 1.6rem; margin: 18px 0 8px; outline-offset: 6px; }
.form-success p { color: var(--text-2); margin-bottom: 24px; }
.success-mark { width: 56px; height: 56px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke: var(--yellow-deep); fill: var(--yellow-tint); }
.success-mark path { stroke: var(--ink); stroke-dasharray: 34; stroke-dashoffset: 34; animation: tick .45s .2s var(--ease-out) forwards; }
@keyframes received { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tick { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding-top: 64px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 32ch; }
.footer-legal p { margin: 0 0 6px; }
.footer-contact p { margin: 0; }
.footer-contact a { display: inline-block; padding-block: 10px; }
.footer-legal-name { color: #fff; font-weight: 700; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .pending { border-color: rgba(255,255,255,.45); color: rgba(255,255,255,.82); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-base p { margin: 0; }
.lang-footer { border-color: rgba(255,255,255,.45); }
.lang-footer button { color: rgba(255,255,255,.85); padding: 0 14px; }
.lang-footer button[aria-pressed="true"] { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .header-inner { gap: 16px; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; color: var(--text); }
  .nav a[aria-current="true"] { border-bottom-color: var(--rule); box-shadow: inset 4px 0 0 var(--orange); padding-left: 14px; }
  .nav a:last-child { border-bottom: 0; }
  .header-actions { margin-left: auto; }

  .hero-grid, .sectors-grid, .makers-grid, .buyers-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .sectors-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand-logo { height: 38px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .box { padding: 12px 14px; }
  .box-40 { padding-right: 52px; }
  .box-40::after { right: 12px; width: 18px; }
  .stack::after { left: -8px; right: -8px; }
  .sector { grid-template-columns: 1fr; gap: 14px; }
  .offer-list { padding: 4px 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .role-options { display: grid; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Reduced motion: no travel, but colour and state feedback stay */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .box, .box:hover, .box:focus-visible { transition: none; transform: none; }
  .stack .box { animation: none !important; opacity: 1 !important; transform: none !important; }
  .steps li::after { clip-path: none !important; transition: none !important; }
  .form-success { animation: none; }
  .success-mark path { animation: none; stroke-dashoffset: 0; }
  .sector.is-arrived { animation-duration: 1.2s; }
}
