/* Impact Software – homepage
   Tokens taken from Figma (file SOltDWbvfWeqwss06nk8J6, node 1:2) */
:root {
  --ink: #000b13;
  --ink-2: #1c222b;
  --red: #cb0027;
  --blue: #3349b7;
  --lilac: #f6f4ff;
  --lilac-2: #f5f3fe;
  --grey: #f3f3f3;
  --border: #e6e6e6;
  --border-2: #d4cfe7;
  --peach: #f4956d;
  --white: #fff;
  --f-main: 'Satoshi', 'Inter', system-ui, sans-serif;
  --f-alt: 'Inter', system-ui, sans-serif;
  --z: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-main);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, figure, address { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.page { width: 1472px; margin: 20px auto 20px; zoom: var(--z); }
.a { position: absolute; max-width: none; }

/* ---------- shared buttons ---------- */
.btn-contact {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 10px 12px 10px 14px;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  font-weight: 500; font-size: 16px; line-height: 26px; color: var(--ink);
  transition: box-shadow .2s;
}
.btn-contact:hover { box-shadow: 0 4px 14px rgba(0,11,19,.12); }
.btn-contact__sq {
  width: 35px; height: 35px; border-radius: 8px; background: var(--red);
  display: grid; place-items: center;
}
.btn-contact__sq img { width: 24px; height: 24px; }

.btn-dark {
  display: flex; align-items: center; justify-content: center;
  width: 375px; padding: 14px 10px; border-radius: 8px;
  background: var(--ink); color: var(--white);
  font-family: var(--f-alt); font-weight: 500; font-size: 16px; line-height: 26px;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
  transition: transform .2s;
}
.btn-dark:hover { transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 841px; overflow: visible;
  background: var(--lilac); border-radius: 20px;
}
.hero__logo { position: absolute; left: 151px; top: 34px; width: 155px; height: 62px; }
.hero__logo img { width: 100%; height: 100%; }
.hero__contact { position: absolute; left: 1183px; top: 35px; }

.lang {
  position: absolute; left: 1051px; top: 37px; width: 120px; height: 55px;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
}
.lang__btn {
  position: absolute; top: 3px; height: 47px; border: 0; background: none;
  font-family: var(--f-main); font-weight: 500; font-size: 16px; color: rgba(2,10,60,.5);
  border-radius: 7px; padding: 0;
}
.lang__btn:first-child { left: 3px; width: 57px; }
.lang__btn:last-child { left: 62px; width: 55px; }
.lang__btn.is-active { background: var(--lilac-2); color: var(--ink); font-weight: 700; }

.hero__copy { position: absolute; left: 151px; top: 232px; width: 500px; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 15px; border-radius: 38px; opacity: .7;
  background: var(--white); border: 1px solid var(--border);
  font-family: var(--f-alt); font-size: 16px; color: var(--ink); white-space: nowrap;
}
.hero h1 {
  margin-top: 25px; /* 289 - 232 - tag height(32) */
  font-weight: 900; font-size: 58px; line-height: 65px; color: var(--ink);
}
.hero__text {
  margin-top: 36px; width: 400px;
  font-size: 16px; line-height: 24px; color: rgba(0,0,0,.8);
}
.hero .btn-dark { margin-top: 74px; }

.hero__img {
  position: absolute; left: 621px; top: 107px; width: 700px; height: 757px; overflow: hidden;
}
.hero__img img {
  position: absolute; max-width: none;
  width: 128.43%; height: 107.29%; left: -12.29%; top: -0.01%;
}

/* ---------- approach ---------- */
.approach { text-align: center; padding: 100px 0 0; height: 562px; }
.chip {
  display: inline-block; padding: 10px 24px; border-radius: 50px;
  border: 1px solid var(--border-2);
  font-weight: 700; font-size: 16px; line-height: 30px; color: var(--ink);
}
.approach h2 {
  width: 875px; margin: 32px auto 0;
  font-weight: 700; font-size: 60px; line-height: 70px; color: var(--ink);
}

/* ---------- service cards ---------- */
.card {
  position: relative; height: 668px; margin-bottom: 20px; overflow: hidden;
  border-radius: 20px; color: var(--white);
}
.card--red { background: var(--red); }
.card--dark { background: var(--ink); }
.card--blue { background: var(--blue); }
.card__title {
  position: absolute; left: 151px; top: 70px;
  font-weight: 900; font-size: 50px; line-height: 65px; color: var(--white);
}
.card__text {
  position: absolute; left: 151px; top: 485px; width: 570px;
  font-weight: 500; font-size: 20px; line-height: 34px;
}
.more {
  position: absolute; right: 151px; top: 516px;
  display: flex; align-items: center; gap: 30px;
  font-weight: 700; font-size: 24px; line-height: 34px; color: var(--white);
}
.more i {
  width: 60px; height: 60px; border-radius: 8px; background: var(--white);
  display: grid; place-items: center; transition: transform .2s;
}
.more:hover i { transform: translate(2px, -2px); }
.more i img { width: 24px; height: 24px; }
.card__art { position: absolute; inset: 0; pointer-events: none; }

/* digital pills – marquee, right to left */
.pills { position: absolute; left: 549px; top: 54px; width: 772px; height: 237px; overflow: hidden; }
.pills__row { position: absolute; left: 0; width: 100%; height: 64px; overflow: hidden; }
.pills__row--1 { top: 5px; }
.pills__row--2 { top: 89px; }
.pills__row--3 { top: 173px; }
.pills__track {
  display: flex; gap: 20px; width: max-content; padding-left: var(--off, 0px);
  animation: marquee var(--dur, 30s) linear infinite;
}
.pills__row--1 .pills__track { --off: 88px; --dur: 80s; }
.pills__row--2 .pills__track { --off: 0px;  --dur: 70s; }
.pills__row--3 .pills__track { --off: 99px; --dur: 90s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pill {
  flex: none; width: 178px; height: 64px; border-radius: 50px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px solid var(--peach);
  background: linear-gradient(to bottom, #fff 0%, #efeeee 49.5%, #fff 100%);
  font-weight: 900; font-size: 14px; line-height: 20px; color: var(--ink); white-space: nowrap;
}
.pills__fade { position: absolute; top: 0; width: 145px; height: 100%; z-index: 1; pointer-events: none; }
.pills__fade--l { left: 0; background: linear-gradient(to left, rgba(203,0,39,0), var(--red)); }
.pills__fade--r { right: 0; background: linear-gradient(to right, rgba(203,0,39,0), var(--red)); }

/* orbit */
.orbit { position: absolute; left: 812px; top: 0; width: 509px; height: 459px; overflow: visible; }
.tagp {
  display: block; width: 61px; height: 31px; border-radius: 30px; background: #d9d9d9;
  font-weight: 500; font-size: 16px; line-height: 31px; text-align: center; color: var(--ink);
}

.ring { position: absolute; border-radius: 50%; animation: spin var(--d) linear infinite var(--dir); }
.ring > .sat { position: absolute; animation: spin var(--d) linear infinite var(--rdir); }
.sat .tagp { position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

/* flow diagram */
.flow { position: absolute; left: 751px; top: 70px; width: 570px; height: 319px; }
.box { width: 158.6px; height: 155.9px; background: #1977eb; border-radius: 17.9px; }
.box__in {
  position: absolute; top: 10.75px; width: 137.1px; height: 134.4px;
  background: rgba(255,255,255,.8); border-radius: 14.34px;
}
.lbl { list-style: decimal; font-weight: 900; line-height: 23.3px; color: var(--ink); white-space: nowrap; }
.lbl--w { color: #fff; font-size: 12px; }
.lbl--c { transform: translateX(-50%); text-align: center; }
.lbl--c li { text-align: center; }
.bold { font-weight: 700; font-size: 14.34px; line-height: 19.7px; color: var(--ink); white-space: nowrap; }
.bold2 { font-weight: 900; font-size: 12.93px; line-height: 16px; color: var(--ink); white-space: nowrap; }
.reg { font-weight: 400; font-size: 11px; line-height: 16px; color: var(--ink); white-space: nowrap; }
.sm { background: rgba(255,255,255,.8); border-radius: 14.34px; }

/* ---------- at a glance ---------- */
.glance { padding-top: 366px; }
.glance h2 {
  text-align: center; font-weight: 900; font-size: 60px; line-height: 60px; color: var(--ink-2);
}
.stats { display: grid; grid-template-columns: repeat(4, 351px); gap: 23px; margin-top: 50px; padding-left: 0; }
.stat {
  position: relative; height: 312px; border-radius: 16px; background: var(--grey);
}
.stat__n { position: absolute; right: 31px; top: 21px; font-weight: 500; font-size: 20px; line-height: 30px; color: var(--ink); }
.stat strong { position: absolute; left: 31px; top: 195px; font-weight: 900; font-size: 40px; line-height: 50px; color: var(--ink); white-space: nowrap; }
.stat p { position: absolute; left: 31px; top: 257px; font-weight: 500; font-size: 16px; line-height: 23px; color: rgba(1,2,0,.8); }

/* ---------- footer ---------- */
.footer { position: relative; height: 630px; margin-top: 20px; overflow: hidden; border-radius: 16px; background: var(--ink); color: var(--white); }
.footer h2 { position: absolute; left: 151px; top: 58px; font-weight: 700; font-size: 50px; line-height: 65px; white-space: nowrap; }
.footer__contact { position: absolute; left: 151px; top: 208px; }
.footer__nav { position: absolute; right: 152px; top: 68px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer__nav a { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--white); }
.footer__nav a:hover { text-decoration: underline; }
.footer__nav a:not(:first-child) { align-self: flex-end; }
.footer__co { position: absolute; right: 152px; top: 225px; display: flex; gap: 40px; font-weight: 500; font-size: 16px; line-height: 24px; color: rgba(255,255,255,.7); }
.footer__logo { position: absolute; left: 151px; top: 356px; width: 1169px; height: 274px; }

/* ---------- sub pages (E-Commerce, Sourcing) ---------- */
.hero--sub { height: 616px; color: var(--white); }
.hero--dark { background: var(--ink); }
.hero--blue { background: var(--blue); }
.hero--sub .hero__logo { top: 39px; }
.sub-title { position: absolute; left: 151px; top: 218px; font-weight: 500; font-size: 58px; line-height: 65px; color: var(--white); white-space: nowrap; }
.sub-text { position: absolute; left: 151px; top: 360px; width: 430px; font-size: 16px; line-height: 26px; color: rgba(255,255,255,.8); }
.hero--sub .orbit { top: 129px; }
.hero--sub .flow { top: 188px; }
.hero--sub .flow .lbl:not(.lbl--w), .hero--sub .flow .reg, .hero--sub .flow .bold2 { color: #202020; }

.sec { position: relative; width: 1472px; }
.sec__h { position: absolute; top: 100px; left: 151px; font-weight: 900; font-size: 50px; line-height: 60px; color: var(--ink); white-space: nowrap; }
.sec__h--c { left: 0; right: 0; text-align: center; }
.sec__h--40 { font-size: 40px; line-height: 50px; }
.sec__sub { position: absolute; top: 168px; left: 0; right: 0; text-align: center; font-size: 20px; line-height: 30px; color: #313133; }
.sec__sub--left { left: 151px; text-align: left; color: rgba(0,11,19,.8); }
.sec__sub--wide { width: 743px; left: 50%; right: auto; transform: translateX(-50%); color: var(--ink); }

/* brands */
.sec--brands { height: 679px; }
.brands { position: absolute; left: 151px; top: 238px; display: grid; grid-template-columns: repeat(4, 270px); gap: 30px; }
.brand { position: relative; height: 341px; border-radius: 12px; background: var(--grey); }
.brand h3 { position: absolute; left: 0; right: 0; top: 219px; text-align: center; font-weight: 900; font-size: 22px; line-height: 32px; color: #202020; }
.brand p { position: absolute; left: 0; right: 0; top: 259px; text-align: center; font-size: 16px; line-height: 26px; color: #313133; }

/* capabilities */
.caps { position: relative; height: 1064px; border-radius: 20px; background: var(--ink); color: var(--white); }
.caps h2 { position: absolute; left: 0; right: 0; top: 90px; text-align: center; font-weight: 900; font-size: 40px; line-height: 50px; }
.caps > p { position: absolute; left: 0; right: 0; top: 152px; text-align: center; font-size: 20px; line-height: 24px; }
.caps__grid { position: absolute; left: 151px; top: 226px; width: 1170px; display: grid; grid-template-columns: 570px 570px; gap: 24px 30px; }
.cap { display: grid; grid-template-columns: 9px 1fr; height: 169px; background: #0f1c25; }
.cap > i { background: var(--red); }
.cap__body { display: flex; align-items: center; gap: 18px; padding-left: 30px; }
.cap__ico { flex: none; width: 72px; height: 72px; border-radius: 6px; background: #1e2a32; display: grid; place-items: center; }
.cap__ico img { width: 30px; height: 30px; }
.cap h3 { font-weight: 700; font-size: 20px; line-height: 24px; white-space: nowrap; }
.cap p { margin-top: 8px; width: 373px; font-size: 16px; line-height: 24px; }

/* b2b steps */
.sec--b2b { height: 764px; }
.steps { position: absolute; left: 151px; width: 1170px; }
.steps--1 { top: 238px; height: 214px; }
.steps--2 { top: 492px; height: 232px; }
.step { position: absolute; width: 270px; border-radius: 20px; background: var(--grey); }
.steps--1 .step { top: 43px; height: 171px; }
.steps--2 .step { top: 47px; height: 185px; }
.step:nth-child(1) { left: 0; } .step:nth-child(2) { left: 300px; } .step:nth-child(3) { left: 600px; } .step:nth-child(4) { left: 900px; }
.step__n { position: absolute; left: 111px; top: -24px; width: 48px; height: 48px; display: grid; place-items: center; z-index: 1; }
.step__n img { position: absolute; inset: 0; width: 100%; height: 100%; }
.step__n b { position: relative; font-weight: 900; font-size: 14px; line-height: 20px; color: var(--ink); }
.step__ic { position: absolute; left: 115px; top: 55px; width: 40px; height: 40px; }
.step p { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-weight: 500; font-size: 20px; line-height: 24px; color: var(--ink); }
.step__line { position: absolute; top: 0; width: 298px; height: 14px; z-index: 0; }

/* reference */
.ref {
  position: relative; width: 1169px; height: 342px; margin-left: 151px; border-radius: 20px; overflow: hidden; color: var(--white);
  background: linear-gradient(to right, var(--ink), rgba(0,11,19,0)), url(assets/brugg-bg.png) center / cover;
}
.ref__text { position: absolute; left: 45px; top: 40px; width: 427px; font-weight: 500; font-size: 16px; line-height: 28px; }
.ref__lbl { position: absolute; left: 43px; top: 250px; font-weight: 700; font-size: 16px; line-height: 24px; color: rgba(255,255,255,.5); }
.ref__name { position: absolute; left: 43px; top: 278px; font-weight: 900; font-size: 16px; line-height: 24px; white-space: nowrap; }
.ref__logo { position: absolute; left: 1019px; top: 42px; width: 101px; padding: 10px; border-radius: 8px; background: var(--white); }
.ref__logo img { width: 100%; aspect-ratio: 146 / 63; object-fit: cover; }
.ref + .footer, .sec--flex + .footer { margin-top: 100px; }

/* sourcing: tabs (header + panel per tab; desktop = tab bar over one panel, mobile = accordion) */
.sec--process { height: 755px; }
.tabs {
  position: absolute; left: 151px; top: 238px; width: 1170px;
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: 105px 413px;
}
.tabs::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 105px; background: #fafafa; border: 1px solid #e3e3e3; border-radius: 8px 8px 0 0; }
.tab { display: contents; }
.tabs__tab {
  position: relative; grid-row: 1; align-self: start; height: 103px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; padding: 0;
  font-family: var(--f-main); font-weight: 500; font-size: 20px; line-height: 30px; color: var(--ink); cursor: pointer;
}
.tab:nth-child(1) .tabs__tab { grid-column: 1; margin-left: 1px; }
.tab:nth-child(2) .tabs__tab { grid-column: 2; }
.tab:nth-child(3) .tabs__tab { grid-column: 3; }
.tab:nth-child(4) .tabs__tab { grid-column: 4; }
.tab:nth-child(5) .tabs__tab { grid-column: 5; margin-right: 1px; }
.tabs__tab img { width: 24px; height: 24px; }
.tabs__tab:hover { background: rgba(255,255,255,.6); }
.tabs__tab.is-active { background: var(--white); font-weight: 900; border-radius: 7px 0 0 0; }
.tabs__tab[data-tab="4"].is-active { font-weight: 700; }
.tabs__tab:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.tabs__panel {
  display: none; position: relative; grid-row: 2; grid-column: 1 / -1;
  background: var(--white); border: 1px solid #e3e3e3; border-top: 0;
}
.tabs__panel.is-active { display: block; animation: tabIn .35s ease; }
@keyframes tabIn { from { opacity: 0; } to { opacity: 1; } }
.tabs__panel ul { position: absolute; left: var(--ind, 40px); top: 0; bottom: 0; width: 420px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.tabs__panel li { position: relative; margin-left: 23px; font-weight: 500; font-size: 20px; line-height: 30px; color: var(--ink); }
.tabs__panel li::before { content: ""; position: absolute; left: -23px; top: 10px; width: 9px; height: 9px; background: var(--red); }
.tabs__img { position: absolute; right: -1px; top: 0; width: 669px; height: 411px; object-fit: cover; }

/* sourcing: facts */
.sec--facts { height: 1042px; }
.facts { position: absolute; left: 151px; top: 246px; width: 1170px; display: grid; grid-template-columns: repeat(4, 270px); grid-template-rows: 273px 413px; gap: 30px; }
.fact { position: relative; border-radius: 16px; background: var(--grey); }
.fact strong { position: absolute; left: 24px; top: 176px; font-weight: 900; font-size: 32px; line-height: 42px; color: var(--ink); white-space: nowrap; }
.fact p { position: absolute; left: 24px; top: 226px; font-weight: 500; font-size: 16px; line-height: 22px; color: rgba(1,2,0,.8); white-space: nowrap; }
.fact--blue { background: var(--blue); color: var(--white); }
.fact--blue .fact__big { left: 30px; top: 30px; font-size: 52px; line-height: 52px; color: var(--white); }
.fact__big span { position: absolute; left: 112.5px; top: 25.4px; font-size: 28.9px; line-height: 20px; }
.fact--blue p { left: 30px; top: 87px; font-size: 20px; line-height: 23px; color: var(--white); }
.fact--blue address { position: absolute; left: 24px; top: 337px; font-style: normal; font-weight: 500; font-size: 20px; line-height: 23.2px; }
.fact__photo { position: relative; grid-column: 2 / 5; margin: 0; border-radius: 16px; overflow: hidden; }
.fact__photo img { position: absolute; left: 0; top: -67px; width: 1203px; height: 593px; max-width: none; object-fit: cover; }

/* sourcing: aisle */
.aisle { position: relative; height: 702px; border-radius: 20px; overflow: hidden; }
.aisle__img { position: absolute; left: 0; top: -13px; width: 100.1%; height: 727px; max-width: none; object-fit: cover; }
.aisle__card { position: absolute; left: 151px; top: 79px; width: 470px; height: 543px; border-radius: 20px; background: var(--white); box-shadow: 0 4px 64px rgba(0,0,0,.35); color: var(--ink); }
.aisle__card h3 { position: absolute; left: 30px; top: 30px; font-weight: 900; font-size: 30px; line-height: 40px; white-space: nowrap; }
.aisle__card p { position: absolute; left: 30px; top: 78px; width: 370px; font-size: 16px; line-height: 24px; }
.aisle__item h4 { position: absolute; left: 50px; font-weight: 900; font-size: 20px; line-height: 28px; white-space: nowrap; }
.aisle__item p { left: 50px; }
.aisle__item i { position: absolute; left: 30px; width: 6px; background: var(--red); }
.aisle__item--1 i { top: 186px; height: 92px; } .aisle__item--1 h4 { top: 180px; } .aisle__item--1 p { top: 212px; }
.aisle__item--2 i { top: 310px; height: 68px; } .aisle__item--2 h4 { top: 304px; } .aisle__item--2 p { top: 336px; }
.aisle__item--3 i { top: 410px; height: 92px; } .aisle__item--3 h4 { top: 404px; } .aisle__item--3 p { top: 436px; }

/* sourcing: flexible fulfillment */
.sec--flex { height: 950px; }
.pillars { position: absolute; left: 151px; top: 272px; width: 1170px; display: grid; grid-template-columns: repeat(4, 270px); gap: 30px; }
.pillar { position: relative; height: 273px; border-radius: 16px; background: var(--grey); }
.pillar img { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; }
.pillar span { position: absolute; left: 24px; top: 138px; font-weight: 500; font-size: 20px; line-height: 30px; color: var(--ink); }
.pillar strong { position: absolute; left: 24px; top: 176px; font-weight: 900; font-size: 32px; line-height: 42px; color: var(--ink); white-space: nowrap; }
.pillar p { position: absolute; left: 24px; top: 226px; font-weight: 500; font-size: 16px; line-height: 22px; color: rgba(1,2,0,.8); white-space: nowrap; }
.techbanner { position: absolute; left: 151px; top: 569px; width: 1170px; height: 381px; border-radius: 16px; background: var(--blue); color: var(--white); }
.techbanner__v20 { position: absolute; left: 532px; top: 0; width: 607px; height: 381px; }
.techbanner__v19 { position: absolute; left: 575px; top: 32px; width: 595px; height: 349px; }
.techbanner h3 { position: absolute; left: 60px; top: 65px; font-weight: 900; font-size: 40px; line-height: 50px; }
.techbanner p { position: absolute; left: 60px; top: 177px; width: 376px; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.8); }
.techbanner__img { position: absolute; left: 585px; top: -77px; width: 519px; height: 458px; overflow: hidden; pointer-events: none; }
.techbanner__img img { position: absolute; left: -0.01%; top: 0; width: 100.02%; height: 124.02%; max-width: none; }

/* homepage: fulfillment band (desktop) */
.card--fulfil { height: 258px; margin-top: -8px; background: var(--blue); }
.card--fulfil .card__title { top: 34px; font-size: 34px; line-height: 44px; }
.fulfil__sub { position: absolute; left: 151px; top: 90px; width: 335px; font-weight: 700; font-size: 16px; line-height: 26px; color: var(--white); }
.card--fulfil .card__text { top: 120px; width: 335px; font-size: 16px; line-height: 26px; color: rgba(255,255,255,.8); }
.fulfil { position: absolute; left: 553px; top: 40px; display: flex; gap: 19px; }
.fulfil article { flex: none; width: 178px; height: 178px; padding: 26px 14px 22px 23px; background: #4155ba; border: 1px solid rgba(255,255,255,.19); border-radius: 16px; color: var(--white); }
.fulfil img { width: 40px; height: 40px; margin-bottom: 8px; }
.fulfil h4 { margin: 0 0 4px; font-weight: 700; font-size: 20px; line-height: 30px; }
.fulfil p { font-weight: 500; font-size: 16px; line-height: 24px; white-space: nowrap; }
.card--fulfil + .glance { padding-top: 100px; }

/* ---------- mobile home (Figma "Home Respo", 390px) ---------- */
.burger { display: none; }

@media (max-width: 860px) {
  .home .page { width: auto; margin: 0; zoom: 1; }

  /* hero */
  .home .hero { height: auto; overflow: visible; border-radius: 0; padding: 20px 15px 29px; display: grid; grid-template-columns: 1fr 49px; align-items: start; }
  .home .hero > * { position: static; }
  .home .hero__logo { width: 132px; height: 52.8px; }
  .home .burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 49px; height: 49px; margin-top: 2px; padding: 10px 7px;
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  }
  .home .burger i { display: block; width: 21px; height: 3px; border-radius: 5px; background: var(--ink-2); }
  .home .lang, .home .hero__contact { display: none; grid-column: 1 / -1; justify-self: start; margin-top: 12px; }
  .home .hero.is-open .lang { display: block; position: relative; }
  .home .hero.is-open .hero__contact { display: inline-flex; }
  .home .hero__img { order: 1; grid-column: 1 / -1; position: relative; left: auto; top: auto; width: auto; height: auto; margin: 29px 11px 0; aspect-ratio: 322 / 348; }
  .home .hero__copy { grid-column: 1 / -1; width: auto; margin-top: 20px; order: 2; }
  .home .hero h1 { font-size: 40px; line-height: 50px; margin-top: 25px; }
  .home .hero__text { width: auto; margin-top: 12px; }
  .home .hero .btn-dark { width: 100%; margin-top: 16px; }

  /* approach */
  .home .approach { height: auto; padding: 50px 15px; text-align: left; }
  .home .chip { margin-left: 12px; }
  .home .approach h2 { width: auto; margin: 20px 0 0; font-size: 34px; line-height: 46px; }

  /* cards */
  .home .card { height: 668px; margin: 0 15px 20px; border-radius: 20px; }
  .home .card__art { position: absolute; inset: 0; margin: 0; }
  .home .card__title { left: 26px; top: 262px; font-size: 34px; line-height: 44px; }
  .home .card__text { left: 26px; top: 358px; width: calc(100% - 52px); font-size: 16px; line-height: 26px; }
  .home .more { left: 26px; right: auto; top: 570px; gap: 30px; font-size: 24px; }
  .home .pills { left: 0; top: 29px; width: 116.67%; transform: scale(.857); transform-origin: 0 0; }
  .home .orbit { left: 50%; top: 0; transform: translateX(-50%) scale(.589); transform-origin: 50% 0; }
  .home .flow { left: 50%; top: 34px; transform: translateX(-50%) scale(.5643); transform-origin: 50% 0; }
  .home .card--fulfil { display: block; height: 426px; margin-top: -8px; background: var(--blue); }
  .home .card--fulfil .card__title { top: 30px; }
  .home .card--fulfil .card__text { top: 84px; left: 27px; width: 277px; color: #fff; }
  .home .fulfil__sub { display: none; }
  .home .fulfil { position: absolute; left: 23px; right: 0; top: 218px; height: 178px; display: flex; gap: 17px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .home .fulfil::-webkit-scrollbar { display: none; }
  .home .fulfil article { flex: none; width: 178px; height: 178px; padding: 26px 14px 22px 23px; background: #4155ba; border: 1px solid rgba(255,255,255,.19); border-radius: 8px; scroll-snap-align: start; }
  .home .fulfil img { width: 40px; height: 40px; margin-bottom: 8px; }
  .home .fulfil h4 { margin: 0 0 4px; font-weight: 700; font-size: 20px; line-height: 30px; }
  .home .fulfil p { font-weight: 500; font-size: 16px; line-height: 24px; }

  /* glance */
  .home .glance { padding: 50px 15px 0; }
  .home .glance h2 { text-align: left; font-size: 34px; line-height: 44px; }
  .home .stats { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .home .stat { height: 128px; }
  .home .stat strong { left: 20px; top: 21px; font-size: 34px; line-height: 50px; }
  .home .stat p { left: 20px; top: 83px; }
  .home .stat__n { right: 12px; top: 21px; }

  /* footer */
  .home .footer { height: 652px; margin-top: 40px; border-radius: 0; }
  .home .footer h2 { left: 15px; top: 30px; width: 313px; font-size: 34px; line-height: 44px; white-space: normal; }
  .home .footer h2 br { display: none; }
  .home .footer__contact { left: 18px; top: 229px; }
  .home .footer__nav { left: 18px; right: auto; top: 326px; align-items: flex-start; }
  .home .footer__nav a { align-self: flex-start !important; }
  .home .footer__co { left: 18px; right: auto; top: 466px; flex-direction: column; gap: 8px; }
  .home .footer__logo { left: 7px; top: 542px; width: 383px; height: 90px; }
}

/* ---------- mobile: E-Commerce + Sourcing (Figma 390px) ---------- */
.m-only { display: none; }
.step p br { display: none; }

@media (max-width: 860px) {
  .d-only { display: none; }
  .m-only { display: inline; }
  .step p br { display: inline; }
  .sub-page .page { width: auto; margin: 0; zoom: 1; }

  /* hero */
  .sub-page .hero--sub { height: 711px; border-radius: 0; overflow: visible; }
  .sub-page .hero__logo { left: 15px; top: 20px; width: 132px; height: 52.8px; }
  .sub-page .lang, .sub-page .hero__contact { display: none; }
  .sub-page .burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    position: absolute; right: 15px; top: 22px; width: 49px; height: 49px; padding: 10px 7px;
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  }
  .sub-page .burger i { display: block; width: 21px; height: 3px; border-radius: 5px; background: var(--ink-2); }
  .sub-page .hero--sub .sub-title { left: 16px; top: 429px; font-size: 40px; line-height: 50px; }
  .sub-page .hero--sub .sub-text { left: 16px; top: 541px; width: calc(100% - 31px); }
  .sub-page .hero--blue .sub-title { top: 491px; }
  .sub-page .hero--blue .sub-text { top: 603px; }
  .sub-page .hero--sub .orbit { left: 50%; top: 105px; transform: translateX(-50%) scale(.658); transform-origin: 50% 0; }
  .sub-page .hero--sub .flow { left: 50%; top: 112px; transform: translateX(-50%) scale(.6316); transform-origin: 50% 0; }

  /* shared section headings */
  .sub-page .sec { width: auto; }
  .sub-page .sec__h { position: static; padding: 0 15px; font-size: 34px; line-height: 44px; white-space: normal; text-align: left; }
  .sub-page .sec__h--40 { font-size: 34px; line-height: 44px; }
  .sub-page .sec__sub { position: static; width: auto; padding: 8px 15px 0; transform: none; text-align: left; font-size: 20px; line-height: 30px; color: rgba(0,11,19,.8); }
  .sub-page .sec__sub--wide { width: auto; left: auto; transform: none; }

  /* e-commerce: brands */
  .sub-page .sec--brands { height: auto; padding: 50px 0; }
  .sub-page .brands { position: static; display: flex; gap: 30px; overflow-x: auto; padding: 50px 16px 0; scroll-padding-left: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sub-page .brands::-webkit-scrollbar { display: none; }
  .sub-page .brand { flex: none; width: 270px; scroll-snap-align: start; }

  /* e-commerce: capabilities */
  .sub-page .caps { height: auto; margin: 0 15px; padding: 30px 17px; border-radius: 20px; }
  .sub-page .caps h2 { position: static; text-align: left; padding-left: 7px; font-size: 34px; line-height: 44px; }
  .sub-page .caps > p { position: static; text-align: left; padding-left: 7px; margin-top: 12px; font-size: 16px; line-height: 24px; }
  .sub-page .caps__grid { position: static; width: auto; grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .sub-page .cap { height: auto; }
  .sub-page .cap__body { flex-direction: column; align-items: flex-start; gap: 9px; padding: 20px 19px 20px 20px; }
  .sub-page .cap h3 { white-space: normal; }
  .sub-page .cap p { width: auto; margin-top: 8px; }

  /* e-commerce: b2b steps */
  .sub-page .sec--b2b { height: auto; padding: 50px 15px 0; }
  .sub-page .sec--b2b .sec__h, .sub-page .sec--b2b .sec__sub { padding-left: 0; padding-right: 0; }
  .sub-page .sec--b2b .sec__sub { width: 318px; max-width: 100%; font-size: 16px; line-height: 26px; }
  .sub-page .steps { position: static; width: auto; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .sub-page .steps--1 { margin-top: 30px; }
  .sub-page .steps--2 { margin-top: 20px; }
  .sub-page .step, .sub-page .steps--1 .step, .sub-page .steps--2 .step { position: relative; left: auto; top: auto; width: auto; height: 171px; margin-top: 24px; }
  .sub-page .step:nth-child(n) { left: auto; }
  .sub-page .step__n { left: calc(50% - 24px); }
  .sub-page .step__ic { left: calc(50% - 20px); top: 54px; }
  .sub-page .step p { bottom: 16px; font-size: 16px; }
  .sub-page .step__line { display: none; }

  /* e-commerce: reference */
  .sub-page .ref {
    width: auto; height: 578px; margin: 40px 15px 0; padding: 30px 24px;
    background: linear-gradient(to bottom, var(--ink), rgba(0,11,19,0) 125%), url(assets/brugg-bg.png) 57% center / auto 100% no-repeat;
  }
  .sub-page .ref__text { position: static; width: auto; }
  .sub-page .ref__lbl, .sub-page .ref__name { position: static; }
  .sub-page .ref__lbl { margin-top: 16px; }
  .sub-page .ref__name { margin-top: 4px; }
  .sub-page .ref__logo { left: 20px; top: auto; bottom: 20px; }

  /* sourcing: tabs as accordion */
  .sub-page .sec--process { height: auto; padding: 50px 0; }
  .sub-page .sec--process .sec__sub { padding-top: 8px; }
  .sub-page .tabs { position: static; display: block; width: auto; margin: 20px 14px 0; }
  .sub-page .tabs::before { display: none; }
  .sub-page .tab { display: block; }
  .sub-page .tab .tabs__tab {
    display: flex; justify-content: flex-start; width: 100%; height: 80px; margin: 8px 0 0 !important; padding: 25px 20px;
    background: #fafafa; border: 1px solid #e3e3e3; border-radius: 8px;
  }
  .sub-page .tab:first-child .tabs__tab { margin-top: 0 !important; }
  .sub-page .tab .tabs__tab.is-active { background: var(--white); border-radius: 8px 8px 0 0; }
  .sub-page .tabs__panel { grid-column: auto; grid-row: auto; }
  .sub-page .tabs__panel.is-active { display: flex; flex-direction: column; min-height: 428px; border: 1px solid #e3e3e3; border-top: 0; border-radius: 0 0 8px 8px; }
  .sub-page .tabs__panel ul { position: static; width: auto; padding: 20px 20px 16px; gap: 14px; justify-content: flex-start; }
  .sub-page .tabs__panel li { font-size: 16px; line-height: 24px; }
  .sub-page .tabs__panel li::before { top: 8px; }
  .sub-page .tabs__img { position: static; right: auto; width: 100%; height: 222px; margin-top: auto; border-radius: 0 0 8px 8px; }

  /* sourcing: key facts */
  .sub-page .sec--facts { height: auto; padding: 0 15px 50px; }
  .sub-page .sec--facts .sec__h, .sub-page .sec--facts .sec__sub { padding-left: 0; padding-right: 0; }
  .sub-page .facts { position: static; width: auto; grid-template-columns: 1fr; grid-template-rows: none; gap: 8px; margin-top: 20px; }
  .sub-page .fact { height: 185px; }
  .sub-page .fact strong { left: 24px; top: 88px; font-size: 30px; }
  .sub-page .fact p { top: 138px; }
  .sub-page .fact img { top: 24px !important; }
  .sub-page .fact img[alt="Swiss Post"] { width: 44px !important; height: 44px !important; }
  .sub-page .fact--blue { height: 132px; margin-top: 4px; margin-bottom: -8px; border-radius: 16px 16px 0 0; }
  .sub-page .fact--blue .fact__big { left: 24px; top: 30px; font-size: 32px; line-height: 42px; }
  .sub-page .fact__big span { left: 69px; top: 0; font-size: 16px; line-height: 24px; }
  .sub-page .fact--blue p { left: 24px; top: 80px; font-size: 16px; line-height: 22px; }
  .sub-page .fact--blue address { left: 193px; top: 54px; }
  .sub-page .fact__photo { grid-column: auto; height: 251px; border-radius: 0 0 16px 16px; }
  .sub-page .fact__photo img { left: -9.44%; top: -0.04%; width: 167.36%; height: 118.64%; }

  /* sourcing: physical operations */
  .sub-page .aisle { height: auto; overflow: visible; border-radius: 0; display: flex; flex-direction: column; padding: 0 15px; }
  .sub-page .aisle__card { order: 1; position: relative; left: auto; top: auto; width: auto; height: auto; padding: 30px 20px 381px; border-radius: 16px; }
  .sub-page .aisle__img { order: 2; position: relative; left: auto; top: auto; z-index: 1; width: 100%; height: 351px; margin-top: -351px; border-radius: 0 0 16px 16px; object-position: 49% 50%; }
  .sub-page .aisle__card h3 { position: static; white-space: normal; font-size: 30px; line-height: 40px; }
  .sub-page .aisle__card > p { position: static; width: auto; margin-top: 8px; }
  .sub-page .aisle__item { position: relative; margin-top: 12px; padding-left: 20px; }
  .sub-page .aisle__item--1 { margin-top: 20px; }
  .sub-page .aisle__item h4, .sub-page .aisle__item p { position: static; left: auto; top: auto; width: auto; }
  .sub-page .aisle__item p { margin-top: 4px; }
  .sub-page .aisle__item i { left: 0; top: 6px; bottom: 0; height: auto !important; }

  /* sourcing: flexible fulfillment */
  .sub-page .sec--flex { height: auto; padding: 50px 15px 0; }
  .sub-page .sec--flex .sec__h, .sub-page .sec--flex .sec__sub { padding-left: 0; padding-right: 0; }
  .sub-page .pillars { position: static; width: auto; grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .sub-page .pillar { height: 185px; }
  .sub-page .pillar span { display: none; }
  .sub-page .pillar strong { top: 88px; font-size: 26px; }
  .sub-page .pillar p { top: 138px; }
  .sub-page .techbanner { position: relative; left: auto; top: auto; width: auto; height: 550px; margin-top: 30px; overflow: hidden; }
  .sub-page .techbanner h3 { left: 24px; top: 30px; font-size: 26px; line-height: 36px; }
  .sub-page .techbanner p { left: 24px; top: 114px; width: 300px; font-size: 16px; }
  .sub-page .techbanner__v20 { left: -26px; top: 302px; width: 400px; height: 251px; }
  .sub-page .techbanner__v19 { left: 2px; top: 324px; width: 392px; height: 230px; }
  .sub-page .techbanner__img { left: 10px; top: 290px; width: 342px; height: 268px; }
  .sub-page .techbanner__img img { left: -0.01%; top: -12.31%; width: 99.91%; height: 139.51%; }

  /* footer (same as home) */
  .sub-page .ref + .footer, .sub-page .sec--flex + .footer { margin-top: 40px; }
  .sub-page .footer { height: 652px; border-radius: 0; }
  .sub-page .footer h2 { left: 15px; top: 30px; width: 313px; font-size: 34px; line-height: 44px; white-space: normal; }
  .sub-page .footer h2 br { display: none; }
  .sub-page .footer__contact { left: 18px; top: 229px; }
  .sub-page .footer__nav { left: 18px; right: auto; top: 326px; align-items: flex-start; }
  .sub-page .footer__nav a { align-self: flex-start !important; }
  .sub-page .footer__co { left: 18px; right: auto; top: 466px; flex-direction: column; gap: 8px; }
  .sub-page .footer__logo { left: 7px; top: 542px; width: 383px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .pills__track, .ring, .ring > .sat { animation: none; }
}

.hero--sub .sub-title { margin: 0; color: var(--white); font-weight: 500; font-size: 58px; line-height: 65px; }

/* ---------- contact page ---------- */
.contact-wrap { position: relative; height: 1061px; }
.hero--contact { height: 616px; background: var(--ink) url(assets/contact-hero.png) center / cover no-repeat; }
.hero--contact .hero__logo { top: 39px; }
.contact-cards { position: absolute; left: 151px; top: 215px; display: flex; gap: 30px; align-items: flex-start; }

.cform {
  width: 670px; height: 716px; padding: 30px; background: var(--white); border: 1px solid #c8c8c8; border-radius: 12px;
  box-shadow: 0 100px 80px rgba(0,0,0,.07), 0 41.8px 33.4px rgba(0,0,0,.05), 0 22.3px 17.9px rgba(0,0,0,.04), 0 12.5px 10px rgba(0,0,0,.04), 0 6.65px 5.3px rgba(0,0,0,.03), 0 2.8px 2.2px rgba(0,0,0,.02);
}
.cform h1 { margin: 0 0 19px; font-weight: 700; font-size: 24px; line-height: normal; color: #000; }
.cform h1 br { display: none; }
.cform__grid { display: grid; grid-template-columns: 296px 296px; gap: 24px 18px; }
.f { position: relative; display: flex; flex-direction: column; gap: 4px; }
.f > span { font-size: 14px; line-height: 20px; color: #000; }
.f input, .f select, .f textarea {
  width: 100%; height: 50px; padding: 0 15px; background: var(--white); border: 1px solid #c6c3c3; border-radius: 6px;
  font-family: var(--f-main); font-size: 14px; line-height: 20px; color: #000; outline: none; transition: border-color .15s, box-shadow .15s;
}
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(203,0,39,.12); }
.f textarea { height: 126px; padding: 12px 15px; resize: vertical; }
.f--full { grid-column: 1 / -1; }
.f select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.f select:invalid { color: #b0b0b0; }
.f--select img { position: absolute; right: 12px; bottom: 17px; width: 16px; height: 16px; pointer-events: none; }
.recaptcha { min-height: 78px; margin-top: 20px; }
.cform__err { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--red); }
.cform__send {
  display: block; width: 565px; height: 55px; margin-top: 18px; border: 0; border-radius: 40px; background: var(--red); color: var(--white);
  font-family: 'Poppins', var(--f-main); font-weight: 600; font-size: 14px; line-height: 18px; cursor: pointer; transition: background .2s;
}
.cform__send:hover { background: #a80020; }

.cinfo { position: relative; width: 468px; height: 716px; background: #fcfcfc; border: 1px solid #c8c8c8; border-radius: 12px; }
.cinfo h2 { position: absolute; left: 30px; top: 30px; font-weight: 700; font-size: 24px; line-height: normal; color: #000; white-space: nowrap; }
.cinfo__row { position: absolute; left: 30px; display: block; width: 340px; font-style: normal; color: #000; }
.cinfo__row img { position: absolute; left: 0; top: 0; width: 30px; height: 30px; }
.cinfo__row span { position: absolute; left: 46px; top: 3px; width: 305px; font-size: 16px; line-height: 24px; }
.cinfo__row--mail { top: 82px; }
.cinfo__row--tel { top: 136px; }
.cinfo__row--hours { top: 192px; }
.cinfo__row--addr { top: 264px; }
.cinfo__row--hours span, .cinfo__row--addr span { top: -2px; line-height: 26px; }
.cinfo a.cinfo__row:hover span { text-decoration: underline; }
.cinfo__map { position: absolute; left: 24px; top: 416px; width: 420px; height: 276px; border-radius: 12px; overflow: hidden; }
.cinfo__map img { position: absolute; max-width: none; left: -7.36%; top: 0; width: 113.77%; height: 100.36%; }

@media (max-width: 860px) {
  .contact-wrap { height: auto; }
  .contact-page .hero--contact { position: absolute; left: 0; right: 0; top: 0; height: 711px; background-image: url(assets/contact-hero-m.png); }
  .contact-cards { position: relative; left: auto; top: auto; flex-direction: column; align-items: stretch; gap: 40px; padding: 258px 15px 0; }
  .cform { width: auto; height: auto; padding: 30px 20px; }
  .cform h1 br { display: inline; }
  .cform h1 { margin-bottom: 26px; }
  .cform__grid { grid-template-columns: 1fr; gap: 12px; }
  .f--full { margin-top: 20px; }
  .recaptcha { margin-top: 11px; }
  .recaptcha .g-recaptcha { transform-origin: 0 0; }
  .cform__send { width: 100%; margin-top: 20px; }
  .cinfo { width: auto; height: 692px; }
  .cinfo__row { left: 20px; }
  .cinfo__row span { left: 44px; }
  .cinfo__map { left: 20px; right: 20px; top: 396px; width: auto; }
  .cinfo__map img { left: -9.66%; width: 149.33%; }
}

/* ---------- full-screen mobile menu ---------- */
.mmenu { display: none; }
@media (max-width: 860px) {
  .mmenu {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 1000;
    padding: 20px 15px 28px; background: var(--white); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .mmenu[hidden] { display: none; }
  .mmenu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .menu-open, .menu-open body { overflow: hidden; }
  .mmenu__top { display: flex; align-items: flex-start; justify-content: space-between; }
  .mmenu__logo img { width: 132px; height: 52.8px; }
  .mmenu__close {
    position: relative; width: 49px; height: 49px; margin-top: 2px; padding: 0;
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  }
  .mmenu__close i { position: absolute; left: 14px; top: 22px; width: 21px; height: 3px; border-radius: 5px; background: var(--ink-2); transform: rotate(45deg); }
  .mmenu__close i + i { transform: rotate(-45deg); }
  .mmenu__nav { display: flex; flex-direction: column; margin-top: 36px; }
  .mmenu__nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 0; border-bottom: 1px solid var(--border);
    font-weight: 900; font-size: 34px; line-height: 44px; color: var(--ink);
  }
  .mmenu__nav a::after { content: ""; flex: none; width: 24px; height: 24px; background: url(assets/arrow-dark.svg) center / contain no-repeat; opacity: .6; }
  .mmenu__nav a[aria-current="page"] { color: var(--red); }
  .mmenu__foot { margin-top: auto; padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mmenu__foot .lang { position: relative; left: auto; top: auto; display: block; margin: 0; }
}

/* German label lengths */
html[lang="de"] .flow .lbl[start="1"] { left: 14px !important; }
html[lang="de"] .flow .lbl[start="2"] { left: 244px !important; }
html[lang="de"] .pillar p { line-height: 22px; }

/* mobile: keep the burger above the stacked cards, and long German footer headings */
@media (max-width: 860px) {
  .burger { z-index: 5; }
  html[lang="de"] .footer h2 { font-size: 28px; line-height: 38px; }
}
