/* ==========================================================================
   DTS – Po prostu... DRUKUJ!  |  strona główna
   Świat: granat #234269 + pomarańcz #f87831, Libre Franklin + Rubik
   ========================================================================== */

:root {
  --navy: #234269;
  --navy-500: #294e7c;
  --navy-700: #1b3453;
  --navy-900: #162a43;
  --navy-100: #dde6f0;
  --navy-50: #f1f5f9;

  --orange: #f87831;
  --orange-400: #f9884a;
  --orange-600: #ec6e28;
  --orange-100: #fde3d3;
  --orange-50: #fff4ec;

  --text: #2c3a49;
  --muted: #5a6a7b;
  --muted-2: #66758a;
  --line: #e2e8ef;
  --line-strong: #cbd5e0;
  --paper: #ffffff;
  --paper-2: #f6f8fb;
  --footer: #2d2d2d;
  --footer-line: #3d3d3d;
  --error: #b3261e;

  --font-display: "Libre Franklin", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-ui: "Rubik", "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(22, 42, 67, .06), 0 6px 18px -10px rgba(22, 42, 67, .18);
  --shadow-md: 0 2px 6px rgba(22, 42, 67, .07), 0 18px 40px -18px rgba(22, 42, 67, .30);
  --shadow-nav: 0 10px 30px -12px rgba(22, 42, 67, .45);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
  --nav-overlap: 32px;
  --slide-dur: 6500ms;
  --thread-x: 18px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--navy) var(--navy-50);
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

::selection { background: var(--orange-100); color: var(--navy-900); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--navy-50); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 3px solid var(--navy-50); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-700); }

img, picture, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

a {
  color: var(--navy);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  transition: color .2s;
}
a:hover { color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; border-radius: 2px; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); }
h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
sub { font-size: .7em; line-height: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.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: -100px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: .6rem 1rem;
  border-radius: var(--radius); font-family: var(--font-ui); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-ui); font-weight: 500; font-size: .9375rem; line-height: 1;
  letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  padding: .95em 1.5em; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--primary {
  background: var(--orange); color: var(--navy-900);
  box-shadow: 0 10px 22px -12px rgba(22, 42, 67, .45);
}
.btn--primary:hover { background: var(--orange-600); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(22, 42, 67, .5); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy-900); color: #fff; box-shadow: 0 10px 22px -12px rgba(22, 42, 67, .8); }
.btn--navy:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn--ghost-navy { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost-navy:hover { background: var(--navy-900); color: #fff; }
.btn--lg { font-size: 1rem; padding: 1.05em 1.75em; }
.btn--sm { font-size: .75rem; padding: .85em 1.1em; letter-spacing: .08em; text-transform: uppercase; }

.link-more {
  font-family: var(--font-ui); font-size: .9375rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .5em;
  text-decoration: none; color: var(--navy);
}
.link-more .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.link-more:hover { color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.link-more:hover .icon { transform: translateX(4px); }
.link-more--light { color: #fff; }
.link-more--light:hover { color: #fff; text-decoration-color: var(--orange); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header { background: var(--paper); position: relative; z-index: 30; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.25rem 0 calc(1.25rem + var(--nav-overlap));
}
.brand img { width: clamp(150px, 18vw, 220px); height: auto; }

.header-contacts { display: flex; margin-left: auto; }
.header-contact {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto;
  column-gap: .9rem; row-gap: .1rem; align-items: center; align-content: center;
  padding: 0 1.75rem; font-family: var(--font-ui);
}
.header-contact + .header-contact { border-left: 1px solid var(--line); }
.header-contact:last-child { padding-right: 0; }
.header-contact__icon {
  grid-row: 1 / 4; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-50); color: var(--orange-600); display: grid; place-items: center;
}
.header-contact__icon .icon { width: 1.125rem; height: 1.125rem; }
.header-contact small {
  grid-column: 2; font-size: .6875rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted-2); font-weight: 500; line-height: 1.2;
}
.header-contact__phone {
  grid-column: 2; font-size: 1.0625rem; font-weight: 500; color: var(--navy-900);
  text-decoration: none; letter-spacing: -.01em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.header-contact__phone:hover { color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .2em; }
.header-contact__mail { grid-column: 2; font-size: .8125rem; color: var(--muted); text-decoration: none; line-height: 1.3; }
.header-contact__mail:hover { color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .2em; }
/* --------------------------------------------------------------------------
   Main navigation
   -------------------------------------------------------------------------- */

.nav-sentinel { height: 1px; margin-top: -1px; position: relative; top: calc(-1 * var(--nav-overlap)); }
.main-nav {
  position: sticky; top: 0; z-index: 40; margin-top: calc(-1 * var(--nav-overlap));
  background: linear-gradient(180deg, var(--navy-500), var(--navy));
  box-shadow: var(--shadow-nav), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: box-shadow .3s;
}
.main-nav.is-stuck { box-shadow: 0 14px 34px -12px rgba(22, 42, 67, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.main-nav__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  padding: 0;
}
.main-nav__cta { margin-left: 1rem; }

.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  background: none; border: 0; color: #fff; cursor: pointer;
  height: 100%; padding: 0 1rem;
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
}
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.menu__item { position: relative; display: flex; align-items: center; height: 100%; }
.menu__item + .menu__item::before { content: ""; width: 1px; height: 26px; background: rgba(255, 255, 255, .14); }
.menu__item:first-child .menu__link { padding-left: 0; }
.menu__item:first-child .menu__link[aria-current]::after { left: 0; }
.menu__item:first-child .submenu { left: -.5rem; }
.menu__link {
  display: inline-flex; align-items: center; height: 100%; padding: 0 1.1rem;
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8); text-decoration: none; position: relative; transition: color .2s;
}
.menu__link:hover, .menu__item:focus-within > .menu__link, .menu__item:hover > .menu__link { color: #fff; }
.menu__link[aria-current] { color: #fff; }
.menu__link[aria-current]::after {
  content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0; height: 3px;
  border-radius: 2px 2px 0 0; background: var(--orange);
}
.has-sub .menu__link { padding-right: .4rem; }
.has-sub .menu__link[aria-current]::after { right: .4rem; }
.menu__toggle {
  appearance: none; background: none; border: 0; color: rgba(255, 255, 255, .8);
  width: 1.7rem; height: 1.7rem; margin-right: .5rem; display: grid; place-items: center;
  cursor: pointer; border-radius: 3px;
}
.menu__toggle .icon { width: .85rem; height: .85rem; transition: transform .3s var(--ease); }
.menu__toggle:hover { color: #fff; }
.menu__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% - 6px); left: .4rem; min-width: 290px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  list-style: none; margin: 0; padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.submenu::before {
  content: ""; position: absolute; top: -5px; left: 1.7rem; width: 10px; height: 10px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.menu__item.is-open > .submenu, .menu__item:hover > .submenu, .no-js .menu__item:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.submenu a {
  display: block; padding: .62rem .85rem; border-radius: 3px;
  font-family: var(--font-ui); font-size: .875rem; color: var(--navy-900); text-decoration: none;
}
.submenu a:hover { background: var(--orange-50); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   Off-canvas menu (mobile)
   -------------------------------------------------------------------------- */

.offcanvas { position: fixed; inset: 0; z-index: 100; }
.offcanvas[hidden] { display: none; }
.offcanvas__backdrop {
  position: absolute; inset: 0; background: rgba(22, 42, 67, .55);
  backdrop-filter: blur(2px); opacity: 0; transition: opacity .35s;
}
.offcanvas.is-open .offcanvas__backdrop { opacity: 1; }
.offcanvas__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: linear-gradient(180deg, var(--navy-500), var(--navy-900));
  color: #fff; padding: 1.25rem 1.5rem 2rem; overflow-y: auto;
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .5);
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: grid; align-content: start; gap: 1.75rem;
}
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; }
.offcanvas__head img { width: 150px; }
.offcanvas__close {
  background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.offcanvas__close .icon { width: 1.3rem; height: 1.3rem; }
.offcanvas__close:hover { background: var(--orange); color: var(--navy-900); }

.mmenu { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.mmenu > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mmenu__row { display: flex; align-items: center; justify-content: space-between; }
.mmenu__row > a {
  flex: 1; display: block; padding: .95rem 0;
  font-family: var(--font-ui); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.mmenu__row > a[aria-current] { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.mmenu__sub-toggle {
  background: none; border: 0; color: rgba(255, 255, 255, .75); width: 44px; height: 44px;
  display: grid; place-items: center; cursor: pointer; border-radius: 50%;
}
.mmenu__sub-toggle .icon { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.mmenu__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mmenu__sub { list-style: none; margin: 0; padding: 0 0 .75rem; }
.mmenu__sub[hidden] { display: none; }
.mmenu__sub a {
  display: block; padding: .55rem 0 .55rem 1rem; color: #d8e1ec; text-decoration: none;
  font-family: var(--font-ui); font-size: .9375rem;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.mmenu__sub a:hover { color: #fff; border-left-color: var(--orange); }

.offcanvas__contacts { display: grid; gap: 1rem; }
.offcanvas__contacts p { margin: 0; display: grid; gap: .35rem; font-family: var(--font-ui); }
.offcanvas__contacts small { font-size: .6875rem; letter-spacing: .09em; text-transform: uppercase; color: #c3cfdd; }
.offcanvas__contacts a { display: inline-flex; align-items: center; gap: .5em; color: #fff; text-decoration: none; font-size: 1.0625rem; }
.offcanvas__contacts a .icon { color: var(--orange-400); }
.offcanvas__contacts a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .25em; }

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */

.hero { position: relative; background: #fff; overflow: hidden; margin-top: calc(-1 * var(--nav-overlap)); touch-action: pan-y; }
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1; position: relative;
  display: grid; align-items: center;
  min-height: clamp(560px, 78vh, 800px);
  padding-top: var(--nav-overlap);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 1000ms var(--ease), visibility 0s 1000ms;
}
.hero__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; z-index: 1; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .82) 26%, rgba(255, 255, 255, .38) 46%, rgba(255, 255, 255, 0) 62%);
}
.hero__content { position: relative; z-index: 1; padding: 3.5rem 0 8rem; }
.hero__text { max-width: 580px; }
.hero__title {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.08;
  margin: 0 0 1.25rem; color: var(--navy); font-weight: 300; letter-spacing: -.02em;
}
.hero__desc { font-size: 1.0625rem; color: var(--muted); max-width: 52ch; margin-bottom: 2rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }

.hero__slide .hero__title, .hero__slide .hero__desc, .hero__slide .hero__actions {
  transition: opacity .7s var(--ease), transform 1s var(--ease);
}
.hero__slide:not(.is-active) .hero__title,
.hero__slide:not(.is-active) .hero__desc,
.hero__slide:not(.is-active) .hero__actions { opacity: 0; transform: translateY(14px); }
.hero__slide.is-active .hero__title { transition-delay: .15s; }
.hero__slide.is-active .hero__desc { transition-delay: .28s; }
.hero__slide.is-active .hero__actions { transition-delay: .4s; }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  display: flex; align-items: stretch;
  background: #fff; border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -14px 36px -22px rgba(22, 42, 67, .45);
}
.hero__arrow {
  appearance: none; border: 0; background: var(--navy-50); color: var(--navy);
  width: 56px; flex: none; display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.hero__arrow:first-child { border-radius: var(--radius) 0 0 0; }
.hero__arrow:last-child { border-radius: 0 var(--radius) 0 0; }
.hero__arrow:hover { background: var(--orange); color: var(--navy-900); }
.hero__arrow .icon { width: 22px; height: 22px; }
.hero__index { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; min-width: 0; }
.hero__pause {
  appearance: none; border: 0; border-left: 1px solid var(--line); background: #fff; color: var(--navy);
  width: 48px; flex: none; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s;
}
.hero__pause:hover { background: var(--navy-50); color: var(--navy-900); }
.hero__pause .icon { width: 18px; height: 18px; grid-area: 1 / 1; }
.hero__pause-icon--play { display: none; }
.hero.is-stopped .hero__pause-icon--play { display: block; }
.hero.is-stopped .hero__pause-icon--pause { display: none; }
.hero.is-stopped .hero__tab-progress { animation-play-state: paused; }
.hero__index li { flex: 1; display: flex; min-width: 0; }
.hero__tab {
  appearance: none; border: 0; background: none; flex: 1; min-width: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: center;
  text-align: left; padding: 1rem 1.1rem; position: relative; cursor: pointer;
  font-family: var(--font-display); color: var(--muted);
  border-left: 1px solid var(--line); transition: color .2s, background .2s;
}
.hero__tab:hover { color: var(--navy); background: var(--paper-2); }
.hero__tab-num { font-family: var(--font-ui); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.hero__tab-title { font-size: .875rem; font-weight: 500; line-height: 1.25; }
.hero__tab.is-active { color: var(--navy); }
.hero__tab.is-active .hero__tab-num { color: var(--navy-900); }
.hero__tab-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
}
.hero__tab.is-active .hero__tab-progress { animation: tabProgress var(--slide-dur) linear forwards; }
.hero.is-paused .hero__tab-progress { animation-play-state: paused; }
@keyframes tabProgress { to { transform: scaleX(1); } }

/* --------------------------------------------------------------------------
   Sections: shared rhythm
   -------------------------------------------------------------------------- */

.qa, .offer, .process, .partners, .eco { padding: clamp(4rem, 8vw, 7.5rem) 0; }

/* --------------------------------------------------------------------------
   Q&A ribbon
   -------------------------------------------------------------------------- */

.qa__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.qa__intro { position: sticky; top: calc(var(--nav-h) + 2.5rem); }
.qa__intro h2 { max-width: 20ch; }
.qa__intro p { max-width: 44ch; color: var(--muted); font-size: 1.0625rem; }
.qa__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }

.qa__thread { position: relative; padding-left: 3.25rem; }
.qa__ribbon { position: absolute; left: 0; top: 0; width: 3.25rem; height: 100%; overflow: visible; pointer-events: none; }
.qa__ribbon .track { fill: none; stroke: var(--orange-100); stroke-width: 2; }
.qa__ribbon .draw { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; }
.no-js .hero__controls { display: none; }
.no-js .qa__thread::before {
  content: ""; position: absolute; top: .5rem; bottom: .5rem; left: calc(var(--thread-x) - 1px);
  width: 2px; background: var(--orange);
}
.qa__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); }
.qa__item { position: relative; }
.qa__dot {
  position: absolute; top: .55rem; left: calc(var(--thread-x) - 7px - 3.25rem);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--orange-100);
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.qa__item.is-reached .qa__dot, .no-js .qa__dot {
  border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 5px var(--orange-50);
}
.qa__q {
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 500; color: var(--navy);
  margin: 0 0 .75rem; letter-spacing: -.01em;
}
.qa__a { color: var(--text); max-width: 64ch; margin-bottom: .9rem; }
.qa__link {
  font-family: var(--font-ui); font-size: .875rem; font-weight: 500; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
  color: var(--navy-900); padding: .5em .9em .5em 0; border-bottom: 1.5px solid var(--orange);
  transition: color .2s, background .2s;
}
.qa__link .icon { transition: transform .3s var(--ease); }
.qa__link:hover { color: var(--navy-900); background: var(--orange-50); }
.qa__link:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Offer
   -------------------------------------------------------------------------- */

.offer { background: var(--paper-2); border-top: 1px solid var(--line); }
.offer__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem 4rem; align-items: end; margin-bottom: 3.5rem;
}
.offer__head h2 { margin: 0; max-width: 18ch; }
.offer__head p { color: var(--muted); font-size: 1.0625rem; max-width: 62ch; margin: 0; }

.offer__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.offer__media {
  position: sticky; top: calc(var(--nav-h) + 2.5rem); margin: 0;
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 3;
}
.offer__media::before { content: ""; display: block; padding-top: 75%; }
.offer__media picture { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.offer__media picture.is-active { opacity: 1; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__media picture.is-mockup { background: var(--navy-50); }
.offer__media picture.is-mockup img { object-fit: contain; padding: 1.25rem; }
.offer__caption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, .94);
  padding: .5rem .85rem; border-radius: 3px;
  font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; color: var(--navy-900);
}

.offer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.offer__item a {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  gap: .25rem 1.5rem; align-items: center;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.offer__item h3, .offer__item p { transition: transform .4s var(--ease), color .25s; }
.offer__thumb { display: none; }
.offer__thumb--mockup { object-fit: contain; background: var(--navy-50); padding: 4px; }
.offer__item h3 { margin: 0; font-size: 1.375rem; font-weight: 500; color: var(--navy); }
.offer__item p { margin: 0; color: var(--muted); grid-column: 1; font-size: .9375rem; }
.offer__arrow {
  grid-row: 1 / 3; grid-column: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--navy);
  transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease);
}
.offer__arrow .icon { width: 1.1rem; height: 1.1rem; }
.offer__item.is-active h3, .offer__item a:hover h3 { color: var(--navy-900); }
.offer__item.is-active .offer__arrow { background: var(--orange); border-color: var(--orange); color: var(--navy-900); transform: translateX(-4px); }
.offer__item.is-active h3, .offer__item.is-active p { transform: translateX(.75rem); }

.offer__paths {
  margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--line-strong);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 4rem;
}
.offer__paths h3 { font-size: 1.5rem; font-weight: 400; }
.offer__paths p { color: var(--muted); max-width: 48ch; margin: 0; }
.paths { margin: 0; display: grid; }
.paths > div {
  display: grid; grid-template-columns: minmax(0, 16rem) 1fr; gap: .25rem 1.5rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.paths > div:first-child { padding-top: 0; }
.paths dt { font-weight: 500; color: var(--navy); font-size: 1.0625rem; }
.paths dd { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------------------
   Process (navy)
   -------------------------------------------------------------------------- */

.process {
  background-color: var(--navy);
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.process__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 4rem; align-items: end; }
.process h2 { color: #fff; margin: 0; max-width: 16ch; }
.process__lead { color: #b9c7da; max-width: 52ch; font-size: 1.0625rem; margin: 0; }

.steps {
  list-style: none; margin: 4rem 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem;
}
.steps-wrap { position: relative; }
.steps__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.steps__ribbon .track { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.steps__ribbon .draw { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset 1.8s var(--ease); }
.no-js .steps::before, .no-js .steps::after {
  content: ""; position: absolute; left: 24px; right: calc(20% - 1.6rem - 24px); top: 24px; height: 2px;
}
.no-js .steps::before { background: rgba(255, 255, 255, .14); }
.no-js .steps::after { background: var(--orange); }
.process .btn--primary { box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); }
.steps li { position: relative; padding-top: 4.25rem; }
.steps__num {
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-ui); font-weight: 500; font-size: 1rem;
  background: var(--navy-900); border: 2px solid rgba(255, 255, 255, .22); color: #fff;
  transition: background .5s, border-color .5s, color .5s, transform .6s var(--ease);
}
.process.is-inview .steps__num, .no-js .steps__num { background: var(--orange); border-color: var(--orange); color: var(--navy-900); }
.steps li:nth-child(1) .steps__num { transition-delay: .1s; }
.steps li:nth-child(2) .steps__num { transition-delay: .45s; }
.steps li:nth-child(3) .steps__num { transition-delay: .8s; }
.steps li:nth-child(4) .steps__num { transition-delay: 1.15s; }
.steps li:nth-child(5) .steps__num { transition-delay: 1.5s; }
.steps h3 { color: #fff; font-size: 1.25rem; margin-bottom: .4rem; }
.steps p { color: #b9c7da; font-size: .9375rem; margin: 0; max-width: 24ch; }

.process__cta {
  margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between;
}
.process__cta p { margin: 0; max-width: 56ch; font-size: 1.125rem; color: #dfe7f0; }
.process__cta strong { color: #fff; font-weight: 500; }

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */

.partners__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 4rem; margin-bottom: 3rem; }
.partners__head h2 { margin: 0; }
.partners__head p { color: var(--muted); font-size: 1.0625rem; max-width: 62ch; margin: 0; }

.brand-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.brand-table th, .brand-table td {
  text-align: left; vertical-align: middle;
  padding: 1.4rem 1.5rem 1.4rem 0; border-bottom: 1px solid var(--line);
}
.brand-table thead th {
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 500; padding-top: 0; padding-bottom: .8rem;
  border-bottom: 1px solid var(--line-strong);
}
.brand-table tbody th { width: 18%; font-weight: 500; }
.brand-table tbody tr { transition: background .2s; }
.brand-table tbody tr:hover { background: var(--paper-2); }
.brand-table td:nth-child(2) { color: var(--navy-900); font-weight: 500; width: 40%; }
.brand-table td:nth-child(3) { color: var(--muted); }
.brand-logo { width: auto; height: auto; max-height: 30px; max-width: 100%; }
.brand-logo--hp { max-height: 42px; }
.brand-logo--princity { max-height: 26px; }
.wordmark { font-family: var(--font-ui); font-weight: 600; font-size: 1.4rem; letter-spacing: -.015em; color: var(--navy); }

.software { margin-top: 4.5rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 4rem; }
.software h3 { font-size: 1.5rem; font-weight: 400; max-width: 20ch; }
.software > div > p { color: var(--muted); max-width: 46ch; margin: 0; }
.software__mockup { margin-top: 2rem; max-width: 460px; }
.software__mockup img { width: 100%; height: auto; }
.software__list { margin: 0; display: grid; }
.software__list div {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; align-items: start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
}
.software__list div:first-child { padding-top: 0; }
.software__list dt { font-family: var(--font-ui); font-weight: 600; color: var(--navy); font-size: 1.0625rem; padding-top: .15rem; }
.software__list dd { margin: 0; color: var(--muted); }

.partners__close { margin: 3rem 0 0; font-size: 1.125rem; max-width: 70ch; }
.partners__close .link-more { font-size: 1rem; margin-left: .25rem; vertical-align: baseline; }

/* --------------------------------------------------------------------------
   Ecology (orange)
   -------------------------------------------------------------------------- */

.eco {
  background-color: #fff;
  color: var(--navy-900); position: relative; overflow: hidden; isolation: isolate;
  border-top: 1px solid var(--line);
}
.eco__wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 320px; z-index: -1; color: var(--orange); opacity: .55; }
.eco h2 { color: var(--navy-900); max-width: 18ch; margin: 0; }
.eco__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 4rem; align-items: start; }
.eco__intro > p { color: var(--muted); max-width: 60ch; margin: 0; font-size: 1.0625rem; }
.refab { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; counter-reset: refab; }
.refab li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.refab li > span { padding-top: .15rem; }
.refab li::before {
  content: counter(refab); counter-increment: refab;
  font-family: var(--font-ui); font-weight: 600; font-size: .8125rem;
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy-900); color: #fff;
  display: grid; place-items: center; align-self: start;
}
.refab strong { display: block; font-weight: 600; color: var(--navy-900); }
.eco .link-more { color: var(--navy-900); }
.eco .link-more:hover { color: var(--navy-900); text-decoration-color: var(--navy-900); }

/* infographic: one isotype row per figure, joined by the operation that links them */
.eco-graph__hint {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0; display: inline-flex; align-items: center; gap: .5rem;
  font: 500 .8125rem/1.2 var(--font-ui); letter-spacing: .01em; color: var(--muted);
}
.eco-graph__hint .icon { width: 1rem; height: 1rem; color: var(--orange-600); }
.eco-graph { margin-top: 1rem; border-bottom: 1px solid var(--line-strong); }
.eco-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: 1.25rem 3rem; align-items: center; padding: 2.25rem 0 2rem; border-top: 1px solid var(--line-strong);
  transition: background .3s;
}
.eco-row.is-active { background: linear-gradient(90deg, var(--orange-50), transparent 70%); }
.eco-row__op {
  position: absolute; top: 0; left: 0; transform: translateY(-50%);
  background: var(--orange); color: var(--navy-900); border-radius: 3px; padding: .45em .8em;
  font: 500 .75rem/1.2 var(--font-ui); letter-spacing: .02em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.eco-row.is-active .eco-row__op { transform: translateY(-50%) translateX(6px); box-shadow: 0 8px 18px -10px rgba(236, 110, 40, .9); }
.eco-row__op sub, .eco-row__num sub, .eco-row__legend sub { font-size: .7em; }
.eco-row__num { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55rem; color: var(--navy-900); }
.eco-row__pre { flex-basis: 100%; font: 500 .8125rem/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; }
.eco-row__num b {
  display: inline-block; font-weight: 300; font-size: clamp(2.75rem, 2rem + 2.3vw, 3.875rem); line-height: .95;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .3s;
}
.eco-row.is-active .eco-row__num b { color: var(--orange-600); }
.eco-row__num small { font-size: 1.125rem; font-weight: 500; line-height: 1.2; }
.eco-row__label { margin: .45rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.4; max-width: 28ch; }
.eco-row__visual { display: grid; gap: .85rem; max-width: 690px; position: relative; }
.eco-icons { display: flex; flex-wrap: wrap; gap: 10px; color: var(--navy-900); cursor: pointer; touch-action: manipulation; }
.eco-ico {
  width: 40px; height: 26px; fill: currentColor; flex: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .25s;
  transition-delay: calc(var(--i, 0) * 26ms);
}
.eco-ico.is-lit, .eco-ticks span.is-lit { color: var(--orange-600); transition-delay: 0s; }
.eco-ico.is-echo, .eco-ticks span.is-echo { color: var(--orange); transition-delay: 0s; }
.eco-ico.is-hot { transform: scale(1.32) translateY(-3px); color: var(--orange-600); transition-delay: 0s; filter: drop-shadow(0 6px 8px rgba(236, 110, 40, .35)); }
.eco-ticks span { color: var(--navy-900); background: currentColor; }
.eco-ticks span.is-hot { transform: scaleY(1.35); transform-origin: bottom; }
.eco-tip {
  position: absolute; z-index: 6; left: 0; top: 0; pointer-events: none;
  background: var(--navy-900); color: #fff; border-radius: 6px; padding: .6rem .8rem .65rem;
  font: 400 .75rem/1.35 var(--font-ui); letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 18px 36px -16px rgba(22, 42, 67, .6);
  transform: translate(-50%, calc(-100% - 14px)) scale(.94); opacity: 0;
  transition: opacity .2s var(--ease), transform .3s var(--ease);
}
.eco-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.eco-tip::after {
  content: ""; position: absolute; left: var(--ax, 50%); top: 100%; width: 10px; height: 10px;
  background: var(--navy-900); transform: translate(-50%, -50%) rotate(45deg);
}
.eco-tip strong { display: block; font: 600 1rem/1.2 var(--font-ui); color: #fff; margin-bottom: .2rem; font-variant-numeric: tabular-nums; }
.eco-tip span { color: #c9d4e2; }
.eco-tip em { font-style: normal; color: var(--orange-400); }
.eco-row__legend {
  margin: 0; display: flex; align-items: center; gap: .45rem; color: var(--navy-900);
  font: 500 .75rem/1.3 var(--font-ui); letter-spacing: .03em;
}
.eco-ico--key { width: 24px; height: 16px; transition: none; }
.eco-row__legend--ruler { justify-content: space-between; }
.eco-ticks {
  display: flex; justify-content: space-between; align-items: flex-end;
  height: 44px; border-bottom: 2px solid var(--navy-900); padding: 0 1px; cursor: pointer; touch-action: manipulation;
}
.eco-ticks span {
  width: 3px; height: 16px; border-radius: 1px 1px 0 0; transition: color .25s;
  transform-origin: bottom; transition: transform .55s var(--ease), opacity .4s, color .25s; transition-delay: calc(var(--i, 0) * 38ms);
}
.eco-ticks span:nth-child(5n) { height: 28px; }
.eco-ticks span:last-child { height: 42px; width: 4px; }

/* armed by main.js: rows start empty and fill once they scroll into view */
.eco-graph.is-armed .eco-row:not(.is-filled) .eco-icons .eco-ico { opacity: .16; transform: scale(.8); }
.eco-graph.is-armed .eco-row:not(.is-filled) .eco-ticks span { transform: scaleY(.15); opacity: .35; }

.eco-kg {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); background: var(--navy-900); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center;
  box-shadow: 0 26px 50px -30px rgba(22, 42, 67, .8);
}
.eco-kg__title { margin: 0; font-size: 1.25rem; line-height: 1.35; font-weight: 400; color: #fff; text-wrap: balance; }
.eco-kg__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eco-kg__list li { display: grid; align-content: start; gap: .2rem; padding: 0 1.25rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.eco-kg__list li:first-child { border-left: 0; padding-left: 0; }
.eco-kg__list .icon { width: 1.5rem; height: 1.5rem; color: var(--orange-400); margin-bottom: .45rem; }
.eco-kg__list b { font-weight: 300; font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.eco-kg__list span { font: 400 .875rem/1.3 var(--font-ui); color: #c9d4e2; }
.eco-kg__list sub { font-size: .7em; }
.eco-kg__note { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .14); color: #c9d4e2; font-size: .9375rem; }
.eco-kg__note span { display: block; max-width: 82ch; }

/* --------------------------------------------------------------------------
   Mission (image band)
   -------------------------------------------------------------------------- */

.mission { position: relative; background-color: var(--navy-900); color: #fff; min-height: 600px; display: grid; align-items: center; isolation: isolate; }
.mission__bg { position: absolute; inset: 0; z-index: -1; }
.mission__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.mission__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22, 42, 67, .18) 0%, rgba(22, 42, 67, .5) 42%, rgba(22, 42, 67, .93) 72%);
}
.mission__content { padding: clamp(4rem, 8vw, 7.5rem) 0; display: grid; justify-content: end; }
.mission__box { max-width: 540px; }
.mission h2 { color: #fff; }
.mission__quote {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 300; line-height: 1.35;
  color: #fff; margin-bottom: 1.5rem; text-wrap: balance;
}
.mission__box p:not(.mission__quote) { color: #c9d4e2; }

/* --------------------------------------------------------------------------
   CTA (orange card; the phones stand in front of it and spill past both edges)
   -------------------------------------------------------------------------- */

.cta { --cta-spill-top: 4rem; --cta-spill-bottom: 2.5rem; padding: 1.5rem 0 clamp(4rem, 8vw, 7.5rem); }
.cta__card {
  --cta-pad-y: clamp(2.5rem, 4.5vw, 3.5rem);
  --cta-pad-x: clamp(1.5rem, 4.5vw, 3.5rem);
  --cta-reserve: 480px;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2rem;
  min-height: 320px;
  padding: var(--cta-pad-y) var(--cta-pad-x);
  border-radius: var(--radius-lg);
  color: var(--navy-900);
  background-color: var(--orange);
  background-image:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(22, 42, 67, .16), rgba(22, 42, 67, 0) 65%),
    linear-gradient(135deg, var(--orange-400), var(--orange) 55%, var(--orange-600));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 6px rgba(22, 42, 67, .08), 0 32px 64px -32px rgba(22, 42, 67, .55);
}
.cta__bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; }
.cta__mesh { display: block; width: 100%; height: 100%; }
.cta__text { align-self: center; margin-right: var(--cta-reserve); }
.cta h2 {
  font-size: clamp(2.25rem, 1.25rem + 2.5vw, 3.5rem); line-height: 1.06; margin: 0 0 .75rem;
  color: var(--navy-900); letter-spacing: -.02em; text-wrap: balance;
}
.cta h2 strong { font-weight: 600; }
.cta p { margin: 0 0 1.75rem; color: var(--navy-900); max-width: 48ch; font-size: 1.0625rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.cta__actions .btn--lg { padding: 1.05em 1.5em; }
.cta__mockup {
  display: block; position: absolute; z-index: 1;
  top: calc(-1 * var(--cta-spill-top)); bottom: calc(-1 * var(--cta-spill-bottom)); right: clamp(.5rem, 2vw, 1.75rem);
  filter: drop-shadow(0 16px 22px rgba(22, 42, 67, .26)) drop-shadow(0 3px 5px rgba(22, 42, 67, .14));
  transition: transform 1.2s var(--ease);
}
.cta__mockup img { display: block; height: 100%; width: auto; max-width: none; }
html:not(.no-js) .cta__card:not(.is-inview) .cta__mockup { transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .cta__mockup { transition: none; }
  html:not(.no-js) .cta__card:not(.is-inview) .cta__mockup { transform: none; }
}

/* --------------------------------------------------------------------------
   Contact form (the chosen topic steers the fields, the button and the route)
   -------------------------------------------------------------------------- */

.contact { background: var(--paper-2); padding: clamp(4rem, 8vw, 7.5rem) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__intro { grid-column: 1; grid-row: 1; }
.contact__aside { grid-column: 1; grid-row: 2; }
.contact .form { grid-column: 2; grid-row: 1 / 3; }
.contact__intro h2 { margin: 0 0 1rem; max-width: 16ch; }
.contact__lead { color: var(--muted); font-size: 1.0625rem; max-width: 42ch; margin: 0; }
.nowrap { white-space: nowrap; }
.contact__caption {
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin: 0 0 1.1rem;
}
.next { list-style: none; margin: 0; padding: 0 0 0 2.25rem; display: grid; gap: 1.4rem; }
.next li { position: relative; }
.next li:not(:last-child)::before {
  content: ""; position: absolute; left: calc(-2.25rem + 6px); top: 22px; bottom: calc(-1.4rem - 2px);
  width: 2px; background: var(--orange-100);
}
.next__dot {
  position: absolute; left: -2.25rem; top: .25rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper-2); border: 2.5px solid var(--orange-100);
  transition: border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.next li.is-lit .next__dot { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 5px var(--orange-50); }
.next h3 { margin: 0 0 .15rem; font-size: 1.0625rem; font-weight: 500; color: var(--navy-900); }
.next p { margin: 0; font-size: .9375rem; color: var(--muted); max-width: 34ch; }
.contact__direct { margin: 2.5rem 0 0; font-size: .9375rem; color: var(--muted); display: flex; align-items: flex-start; gap: .6em; }
.contact__direct .icon { width: 1.2em; height: 1.2em; color: var(--orange-600); margin-top: .15em; }
.contact__direct b { font-weight: 500; color: var(--navy-900); }
.contact__direct a {
  color: var(--navy-900); font-family: var(--font-ui); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
}
.contact__direct a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }

.form { position: relative; min-width: 0; }
.topics { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.topics legend {
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 0; margin: 0 0 .85rem;
}
.topics__list { display: flex; flex-wrap: wrap; gap: .6rem; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.topic span {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-ui); font-weight: 500; font-size: .9375rem; line-height: 1; color: var(--navy-900);
  background: #fff; border: 1.5px solid var(--muted-2); border-radius: var(--radius); padding: .8em 1.05em .8em .9em;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .3s var(--ease);
}
.topic span .icon { width: 1.15em; height: 1.15em; color: var(--navy); transition: color .2s; }
.topic:hover span { border-color: var(--navy); }
.topic input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.topic input:checked + span .icon { color: var(--orange-400); }
.topic input:focus-visible + span { outline: 2px solid var(--navy-900); outline-offset: 3px; }

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.field { display: grid; gap: .3rem; min-width: 0; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.contact [hidden] { display: none !important; }
.field label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; transition: color .2s;
}
.field label small { font-size: .6875rem; letter-spacing: .03em; text-transform: none; font-weight: 500; color: var(--muted); text-align: right; }
.field input, .field select, .field textarea {
  -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; display: block;
  font: inherit; font-size: 1.0625rem; line-height: 1.4; color: var(--navy-900);
  background: transparent; border: 0; border-bottom: 1px solid var(--muted-2); border-radius: 0;
  padding: .5rem 0 .6rem; margin: 0; box-shadow: 0 1px 0 0 transparent;
  transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--navy); }
.field textarea { resize: vertical; min-height: 6.25rem; }
.field select {
  padding-right: 1.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23234269' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .1rem center; background-size: 1.1rem;
}
.field select.is-empty { color: var(--muted); }
.field select option { color: var(--navy-900); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-bottom-color: var(--navy-900); box-shadow: 0 1px 0 0 var(--navy-900);
}
.field:focus-within label { color: var(--navy-900); }
.field__error { display: none; margin: .1rem 0 0; font-size: .8125rem; line-height: 1.4; color: var(--error); font-style: normal; }
.field.is-invalid label { color: var(--error); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field.is-invalid .field__error { display: block; }

.consent {
  display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start;
  margin: 1.75rem 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); cursor: pointer;
}
.consent input {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: .2rem 0 0;
  border: 1.5px solid var(--muted-2); border-radius: 2px; background: #fff; cursor: pointer;
  display: grid; place-content: center; transition: border-color .2s, background-color .2s;
}
.consent input::before {
  content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px); opacity: 0; transition: opacity .15s;
}
.consent input:checked { background: var(--navy-900); border-color: var(--navy-900); }
.consent input:checked::before { opacity: 1; }
.consent:hover input { border-color: var(--navy); }
.consent.is-invalid input { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.consent.is-invalid .field__error { display: block; margin-top: .25rem; }

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

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.form__footer .btn span { display: inline-block; min-width: 0; }
.form__footer .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form__route { margin: 0; font-size: .875rem; color: var(--muted); display: inline-flex; align-items: center; gap: .5em; }
.form__route .icon { width: 1.15em; height: 1.15em; color: var(--orange-600); }
.form__route b { font-weight: 500; color: var(--navy-900); }
.form__status { margin: 1rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--navy-900); max-width: 60ch; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }

.form__done { padding: 2.5rem 0 1rem; max-width: 52ch; }
.form__done-icon {
  display: inline-grid; place-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: var(--navy-900); margin-bottom: 1.25rem; box-shadow: 0 0 0 6px var(--orange-50);
}
.form__done-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2.25; }
.form__done h3 { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 400; color: var(--navy-900); }
.form__done p { margin: 0 0 1.5rem; color: var(--muted); }
.form__done p b { font-weight: 500; color: var(--navy-900); }
.form__done p a { color: var(--navy-900); font-family: var(--font-ui); font-weight: 600; text-decoration: none; white-space: nowrap; }
.form__done .link-more { background: none; border: 0; padding: 0; cursor: pointer; }
.form.is-sent .form__body { display: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

/* Stopka: assets/css/footer.css (biała stopka „Atlas oddziałów”) */

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity .3s, transform .45s var(--ease), background .2s, color .2s, visibility 0s .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.to-top:hover { background: var(--orange); color: var(--navy-900); }
.to-top .icon { width: 1.25rem; height: 1.25rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  .cta { padding: 0 0 calc(clamp(4rem, 8vw, 7.5rem) + var(--cta-spill-bottom)); }
  .cta__card { grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; }
  .cta__text { margin-right: 0; max-width: 62ch; }
  .cta__mockup {
    position: relative; top: auto; right: auto; bottom: auto; align-self: end; justify-self: end;
    margin: 0 0 calc(-1 * (var(--cta-pad-y) + var(--cta-spill-bottom))) 0;
  }
  .cta__mockup img { height: clamp(240px, 30vw, 340px); }
}

@media (max-width: 1180px) {
  .menu__link { padding: 0 .85rem; font-size: .7rem; }
  .menu__link[aria-current]::after { left: .85rem; right: .85rem; }
}

@media (max-width: 1024px) {
  .menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .no-js .nav-toggle { display: none; }
  .no-js .menu { display: flex; flex-wrap: wrap; height: auto; }
  .no-js .main-nav__bar { height: auto; flex-wrap: wrap; }
  .hero__tab-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero__tab { grid-template-columns: 1fr; justify-items: center; padding: .9rem .25rem; }
  .hero__index li.is-active { flex: 2.6; }
  .hero__index li.is-active .hero__tab { grid-template-columns: auto minmax(0, 1fr); justify-items: start; padding: .7rem .6rem; }
  .hero__index li.is-active .hero__tab-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: .75rem; line-height: 1.2; }
  .header-contact--serwis { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
  .steps::before, .steps::after, .steps__ribbon { display: none; }
}

@media (max-width: 900px) {
  .qa__grid, .offer__head, .offer__grid, .offer__paths, .process__head, .partners__head, .software, .eco__head, .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__intro h2 { max-width: 22ch; }
  .contact__grid { grid-template-rows: none; }
  .contact__intro, .contact__aside, .contact .form { grid-column: auto; grid-row: auto; }
  .contact__aside { order: 3; padding-top: .5rem; }
  .qa__intro { position: static; }
  .offer__media { display: none; }
  .offer__thumb {
    display: block; grid-row: 1 / 3; grid-column: 1; width: 84px; height: 64px;
    object-fit: cover; border-radius: 4px;
  }
  .offer__item a { grid-template-columns: auto 1fr auto; }
  .offer__item h3 { grid-column: 2; font-size: 1.2rem; }
  .offer__item p { grid-column: 2; }
  .offer__arrow { grid-column: 3; }
  .offer__item.is-active h3, .offer__item.is-active p { transform: none; }
  .offer__item.is-active .offer__arrow { transform: none; }
  .paths > div { grid-template-columns: 1fr; }
  .paths dd::before { content: "– "; }
  .eco-row { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .eco-kg { grid-template-columns: 1fr; }
  .eco-kg__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .eco-kg__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .refab { grid-template-columns: 1fr; }
  .mission__content { justify-content: start; }
  .mission__bg img { object-position: center 40%; }
  .mission__bg::after { background: linear-gradient(180deg, rgba(22, 42, 67, .35) 0%, rgba(22, 42, 67, .85) 55%, rgba(22, 42, 67, .95) 100%); }
}

@media (max-width: 767px) {
  .cta__card { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; padding-bottom: 0; }
  .cta__mockup { justify-self: center; align-self: auto; margin: 0 0 calc(-1 * var(--cta-spill-bottom)) 0; }
  .site-header__inner { padding: 1rem 0 calc(1rem + var(--nav-overlap)); gap: 1rem; }
  .header-contact { padding: 0; column-gap: .6rem; }
  .header-contact small, .header-contact__mail { display: none; }
  .header-contact__icon { width: 38px; height: 38px; }
  .header-contact__icon .icon { width: 1.1rem; height: 1.1rem; }
  .header-contact__phone { font-size: .9375rem; }
  .hero__slide { grid-template-rows: auto auto; align-items: start; min-height: 0; padding-top: var(--nav-overlap); }
  .hero__media { position: relative; aspect-ratio: 16 / 10; }
  .hero__media img { object-position: 70% center; transform: none; }
  .hero__media::after { background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 38%); }
  .hero__content { padding: 1rem 0 4.75rem; }
  .hero__index li:not(.is-active) { display: none; }
  .hero__index li.is-active { flex: 1; }
  .hero__index li.is-active .hero__tab { grid-template-columns: auto minmax(0, 1fr); padding: .7rem .9rem; }
  .hero__index li.is-active .hero__tab-num::after { content: " / 06"; color: var(--muted-2); }
  .hero__index li.is-active .hero__tab-title { font-size: .8125rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__desc { font-size: 1rem; margin-bottom: 1.5rem; }
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .steps__ribbon { display: block; }
  .no-js .steps::before, .no-js .steps::after { display: block; left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps li { padding: 0 0 0 4.25rem; min-height: 48px; }
  .steps p { max-width: none; }
  .brand-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand-table tr { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
  .brand-table th, .brand-table td { display: block; padding: 0; border: 0; width: auto !important; }
  .brand-table tbody th { margin-bottom: .5rem; }
  .brand-table td::before {
    content: attr(data-label); display: block;
    font-family: var(--font-ui); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--muted-2); margin: .5rem 0 .1rem;
  }
  .software__list div { grid-template-columns: 1fr; gap: .5rem; }
}

@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__footer .btn { flex: 1 1 100%; justify-content: center; }
  .topic span { font-size: .875rem; }
  .cta__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__arrow { width: 44px; }
  .eco-ico { width: 34px; height: 22px; }
  .eco-icons { gap: 8px; }
  .eco-row__op { white-space: normal; max-width: calc(100% - 1rem); }
  .eco-tip { white-space: normal; max-width: 220px; }
  .eco-kg__list b { font-size: 1.5rem; }
  .hero__pause { width: 40px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .qa__thread { padding-left: 2.5rem; }
  .qa__ribbon { width: 2.5rem; }
  .qa__dot { left: calc(var(--thread-x) - 7px - 2.5rem); }
  .to-top { right: 1rem; bottom: 1rem; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero__media img { transform: none; }
  .hero__tab.is-active .hero__tab-progress { animation: none; transform: scaleX(1); }
}
