/* Barwa Sam — mobile-first. The old site had no viewport tag at all; this is
   built phone-up because merchants and foremen read it on site. */

/* LIGHT ONLY — deliberately no prefers-color-scheme block.
   This is a manufacturer's product brochure. The packaging is photographed on
   white, so a dark page makes every product shot glare, and nobody in the trade
   expects a chemicals manufacturer's site to be black. Following the visitor's
   OS theme meant anyone on dark mode saw a near-black site they never chose.
   The dark surfaces are the header and the footer (the same colour, top and bottom),
   where no photograph ever sits; the page between them stays light.

   Palette: the logo's red for anything branded or clickable, over cool
   blue-greys carried across from the old site (#106AA9 family). The blue lives
   in the neutrals — backgrounds, rules, body text — so the page reads light and
   airy without setting up a second brand colour to fight the red.

   Type: headings, menu and buttons in Archivo Narrow (SIL OFL, served from
   /fonts/ — never from a third party, the privacy policy lists none). Body
   text stays in the visitor's system font.

   Shape: the logo sets "sam" on a red box whose lower edge is a shallow V.
   That box is the house shape here — the hero photograph, the call-to-action
   block, the count badges and the small mark before an eyebrow line all take it. */

@font-face {
  font-family: "Archivo Narrow"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/archivo-narrow-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Narrow"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/archivo-narrow-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --red: #D9261C;        /* the logo's red, from the catalogue artwork */
  --red-dark: #A91E16;
  --red-soft: #FCECEA;   /* tint behind icons and ticks */
  --red-on-dark: #EF4A40; /* the brand red, lifted a little so a small icon still reads on the dark bar */
  --blue: #106AA9;       /* from the old site's theme, kept as a cool neutral base */

  --ink: #16242E;        /* near-black with a blue cast, softer than #000 */
  --ink-deep: #0F1B24;   /* the header and the footer */
  --on-dark: #B9C7D2;    /* running text on them */
  --dark-edge: rgba(255, 255, 255, .28);   /* borders of controls on them */
  --dark-line: rgba(255, 255, 255, .13);   /* rules on them */
  --body: #42525E;
  --muted: #5E6E7A;
  --line: #D8E1E9;
  --line-soft: #E8EEF3;
  --edge: #C5D1DC;       /* borders of controls */
  --bg: #ffffff;
  --panel: #F2F6FA;      /* the light blue Jan asked for, as page furniture */
  --panel-2: #E3EBF2;
  --focus: #0057b8;

  --max: 1200px;
  --gut: 20px;
  --sec: clamp(52px, 7.4vw, 92px);   /* vertical rhythm between page sections */
  --head-h: 70px;

  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;
  --sh-1: 0 1px 2px rgba(22, 36, 46, .05), 0 6px 18px rgba(22, 36, 46, .06);
  --sh-2: 0 2px 6px rgba(22, 36, 46, .06), 0 18px 40px rgba(22, 36, 46, .13);

  --display: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* the logo's box: a rectangle whose lower edge drops to a point in the middle */
  --v: 34px;
  --pennant: polygon(0 0, 100% 0, 100% calc(100% - var(--v)), 50% 100%, 0 calc(100% - var(--v)));

  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A91E16' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6E7A' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E");
}
@media (min-width: 940px) { :root { --head-h: 82px; --gut: 28px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 18px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 17px/1.65 var(--text);
  /* the footer sits at the bottom of the window even on a short page (thank-you, 404) */
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700; color: var(--ink);
  line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.004em;
}
h1 { font-size: clamp(2.25rem, 5.8vw, 3.5rem); line-height: 1.04; letter-spacing: -.012em; }
h2 { font-size: clamp(1.8rem, 3.9vw, 2.45rem); letter-spacing: -.008em; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
/* Focus ring is deliberately blue, not brand red: it must stay visible against
   red buttons and links, and it only ever appears during keyboard navigation. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
svg.ico { flex: none; }
a[href^="tel:"], .nb { white-space: nowrap; }
sup.reg { font-size: .5em; font-weight: 600; vertical-align: .72em; line-height: 0; margin-left: .06em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; background: var(--red); color: #fff;
  padding: .6em 1em; z-index: 100; border-radius: var(--r-s);
}
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- header: dark, the same colour as the footer ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 27, 36, .97); color: var(--on-dark);
  box-shadow: 0 6px 20px rgba(15, 27, 36, .16);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  -webkit-font-smoothing: antialiased;
}
.site-head :focus-visible { outline-color: #fff; }
.head-bar {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); min-height: var(--head-h);
}
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: auto; height: 46px; }

.head-contact { display: flex; align-items: center; gap: 14px; }
.head-tag { display: none; font-size: .84rem; line-height: 1.3; color: var(--on-dark); text-align: right; max-width: 10em; }
.head-tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px 0 13px;
  background: transparent; border: 1.5px solid var(--dark-edge); border-radius: 999px;
  font: 700 1.14rem/1 var(--display); letter-spacing: .01em; color: #fff;
  text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background-color .15s ease;
}
.head-tel svg { color: var(--red-on-dark); }
.head-tel:hover { border-color: #fff; background: rgba(255, 255, 255, .07); color: #fff; }

.nav-toggle {
  flex: none; width: 46px; height: 46px; padding: 0; display: inline-grid; place-items: center;
  background: transparent; border: 1.5px solid var(--dark-edge); border-radius: var(--r-m);
  color: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.nav-toggle:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }
.nav-toggle[hidden] { display: none; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Without JavaScript the menu simply sits under the bar, wrapped, as it always did. */
.site-nav { order: 5; flex-basis: 100%; padding-bottom: 8px; }
.site-nav ul { list-style: none; margin: 0 -10px; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav a {
  position: relative; display: block; padding: 10px 12px; color: #fff; text-decoration: none;
  font: 600 1.12rem/1.2 var(--display); letter-spacing: .012em; border-radius: var(--r-s);
}
.site-nav a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
/* the current page keeps white text; the red sits in the line under it */
.site-nav a[aria-current="page"]::after, .site-nav a.is-in::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px;
  border-radius: 2px; background: var(--red);
}

@media (max-width: 939.98px) {
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; order: 0; flex-basis: auto;
    background: var(--ink-deep); border-top: 1px solid var(--dark-line);
    box-shadow: 0 22px 30px rgba(15, 27, 36, .3); padding: 6px var(--gut) 14px;
  }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; margin: 0; }
  .js .site-nav a { padding: 15px 4px; font-size: 1.32rem; border-radius: 0; border-bottom: 1px solid var(--dark-line); }
  .js .site-nav li:last-child a { border-bottom: 0; }
  .js .site-nav a:hover { background: none; }
  .js .site-nav a[aria-current="page"]::after, .js .site-nav a.is-in::after {
    left: -8px; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto;
  }
  .js .site-nav a[aria-current="page"], .js .site-nav a.is-in { padding-left: 8px; }
}
@media (max-width: 379.98px) {
  .head-tel { padding: 0; width: 46px; justify-content: center; }
  .head-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
@media (min-width: 940px) {
  .head-bar { flex-wrap: nowrap; gap: 30px; }
  .brand { margin-right: 0; }
  .brand img { height: 56px; }
  .site-nav { order: 0; flex-basis: auto; padding: 0; margin-right: auto; }
  .site-nav ul { margin: 0; flex-wrap: nowrap; gap: 2px; }
  .site-nav a { padding: 12px 14px; font-size: 1.16rem; white-space: nowrap; }
  .site-nav a[aria-current="page"]::after, .site-nav a.is-in::after { left: 14px; right: 14px; bottom: 4px; }
  .nav-toggle, .nav-toggle[hidden] { display: none; }
}
/* the tag line needs room for two lines; under 1200 px it was squeezed into three */
@media (min-width: 1200px) { .head-tag { display: block; } }

/* Language button (2026-11): at the far right, beside the phone — the other language's flag and code.
   On phones the phone button shows only its icon so both fit; in a narrow desktop window and under 380 px the
   language button shows only the flag (940-1023 px and under 380 px). */
.head-lang {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 15px 0 13px;
  background: transparent; border: 1.5px solid var(--dark-edge); border-radius: 999px;
  font: 700 1.06rem/1 var(--display); letter-spacing: .03em; color: #fff;
  text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background-color .15s ease;
}
.head-lang:hover { border-color: #fff; background: rgba(255, 255, 255, .07); color: #fff; }
.head-lang .flag { display: block; flex: none; width: 24px; height: 16px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
@media (max-width: 539.98px) {
  .head-contact { gap: 8px; }
  .head-tel { padding: 0; width: 46px; justify-content: center; }
  .head-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
@media (max-width: 379.98px), (min-width: 940px) and (max-width: 1023.98px) {
  .head-lang { padding: 0; width: 46px; justify-content: center; }
  .head-lang span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
/* 940-1099 px: the header items sit a little closer so everything fits */
@media (min-width: 940px) and (max-width: 1099.98px) {
  .head-bar { gap: 20px; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a[aria-current="page"]::after, .site-nav a.is-in::after { left: 10px; right: 10px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--red); color: #fff; border: 1.5px solid var(--red);
  font: 700 1.12rem/1.2 var(--display); letter-spacing: .02em; text-decoration: none;
  padding: 14px 24px; border-radius: var(--r-m); cursor: pointer;
  box-shadow: 0 6px 16px rgba(217, 38, 28, .22);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(217, 38, 28, .26); }
.btn.ghost { background: var(--bg); color: var(--ink); border-color: var(--edge); box-shadow: none; }
.btn.ghost:hover { background: var(--bg); border-color: var(--red); color: var(--red); box-shadow: none; }
.btn.arrow::after {
  content: ""; width: 1.05em; height: 1.05em; flex: none; background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .15s ease;
}
.btn.arrow:hover::after { transform: translateX(3px); }

/* ---------- shared bits ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 11px; margin: 0 0 16px;
  font: 600 .98rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark);
}
.eyebrow::before {   /* the logo's box, as a small mark */
  content: ""; flex: none; width: 26px; height: 13px; background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
}
.overline {
  display: block; margin: 0; font: 600 .84rem/1.35 var(--display); letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.overline a { color: inherit; text-decoration: none; }
.overline a:hover { color: var(--red-dark); text-decoration: underline; }
.lead { font-size: 1.12rem; line-height: 1.6; max-width: 62ch; }
.sub { color: var(--muted); margin: 0; max-width: 62ch; }

.band { padding: var(--sec) 0; }
.band.tint { background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band.last { padding-bottom: 0; }
/* a tinted last band runs right down to the footer: without this the footer's top margin
   left a white strip between the two */
.band.tint.last { padding-bottom: var(--sec); border-bottom: 0; margin-bottom: calc(-1 * var(--sec)); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 24px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head .sub { grid-column: 1 / -1; }
.more {
  display: inline-flex; align-items: center; gap: 6px; font: 600 1.1rem/1.2 var(--display);
  letter-spacing: .015em; color: var(--red); text-decoration: none;
}
.more svg { transition: transform .15s ease; }
.more:hover svg { transform: translateX(3px); }
.section { margin-top: var(--sec); }
.section > h2 { margin-bottom: .7em; }
.page-body > .section:first-child { margin-top: 0; }

.note {
  border-left: 4px solid var(--edge); background: var(--panel);
  padding: 14px 18px; font-size: .93rem; color: var(--muted); border-radius: 0 var(--r-s) var(--r-s) 0;
}
.note strong { color: var(--ink); }
.note[hidden] { display: none; }

.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red-dark); text-decoration: underline; }
.crumbs span { padding: 0 8px; }

.chipnav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chipnav a {
  font: 600 1.02rem/1.2 var(--display); letter-spacing: .012em; text-decoration: none; color: var(--ink);
  padding: 9px 16px; border: 1px solid var(--edge); border-radius: 999px; background: var(--bg);
  transition: border-color .15s ease, color .15s ease;
}
.chipnav a:hover { border-color: var(--red); color: var(--red); }

/* ---------- home: hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #E8EFF6 0%, var(--panel) 52%, var(--bg) 100%); }
.hero-grid {
  display: grid; gap: 38px; max-width: var(--max); margin: 0 auto; padding: 38px var(--gut) 0;
}
.hero h1 { font-size: clamp(2.5rem, 7vw, 3.6rem); line-height: 1.03; letter-spacing: -.014em; margin-bottom: .42em; text-wrap: balance; }
.hero .lead { font-size: 1.14rem; max-width: 54ch; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }

/* The photograph takes the logo's box: a red plate behind it, both with the V-shaped lower edge.
   Text is never laid over the image — a scrim on a busy aerial shot is where contrast breaks. */
.hero-media { position: relative; margin: 0 0 14px 14px; filter: drop-shadow(0 18px 26px rgba(22, 36, 46, .2)); }
.hero-media::before {
  content: ""; position: absolute; inset: 14px 14px -14px -14px; background: var(--red);
  border-radius: var(--r-l) var(--r-l) 0 0; clip-path: var(--pennant);
}
.hero-shot {
  position: relative; display: block; width: 100%; aspect-ratio: 10 / 9; object-fit: cover; object-position: 52% 50%;
  border-radius: var(--r-l) var(--r-l) 0 0; clip-path: var(--pennant);
}
.hero-cap {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 999px; padding: 7px 13px 7px 10px;
  font: 600 .95rem/1.2 var(--display); letter-spacing: .02em;
}
.hero-cap svg { color: var(--red); }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 60px; align-items: center; padding-top: 62px; }
  .hero h1 { font-size: clamp(2.7rem, 4.7vw, 3.6rem); }   /* sized to the column, so it stays three lines */
  .hero-media { margin: 0 0 16px 16px; }
  .hero-media::before { inset: 16px 16px -16px -16px; }
  .hero-plain .hero-grid { grid-template-columns: minmax(0, 760px); }
}

/* Stat band: straddles the hero's lower edge. */
.statband {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--r-l);
  overflow: hidden; box-shadow: var(--sh-2); margin: 40px 0 -56px;
}
.statband div { background: var(--bg); padding: 20px 12px 18px; text-align: center; }
.statband b { display: block; font: 700 3rem/1 var(--display); color: var(--red); letter-spacing: -.01em; margin-bottom: 6px; }
.statband span { font-size: .9rem; color: var(--muted); }
@media (min-width: 700px) {
  .statband { grid-template-columns: repeat(4, 1fr); margin-top: 52px; }
  .statband div { padding: 26px 14px 22px; }
  .statband b { font-size: 3.4rem; }
}
.band.after-hero { padding-top: calc(56px + var(--sec)); }

/* ---------- "what do you need" job cards ---------- */
.jobgrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .jobgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .jobgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.jobcard {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  grid-template-areas: "title title" "desc shelf" "count shelf"; column-gap: 14px;
  padding: 22px 18px 20px 22px; text-decoration: none; color: inherit;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.jobcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #EDB9B4; color: inherit; }
.jobcard-body { display: contents; }
.jobcard h3 { grid-area: title; font-size: 1.55rem; margin-bottom: 6px; }
.jobcard p { grid-area: desc; color: var(--muted); font-size: .95rem; line-height: 1.5; margin-bottom: 14px; }
.jobcard-n {
  grid-area: count; align-self: end; display: inline-flex; align-items: center; gap: 6px;
  font: 600 1.06rem/1.2 var(--display); letter-spacing: .02em; color: var(--red);
}
.jobcard-n svg { transition: transform .18s ease; }
.jobcard:hover .jobcard-n svg { transform: translateX(4px); }
/* the job's own products, standing on the card like on a shelf (photographs are on white) */
.jobcard-shelf { grid-area: shelf; align-self: end; display: flex; align-items: flex-end; justify-content: flex-end; min-height: 92px; }
.jobcard-shelf img {
  width: auto; height: 92px; max-width: 66px; object-fit: contain; margin-left: -18px;
  mix-blend-mode: multiply;   /* a photo's white margin must not slice the pack standing next to it */
  transition: transform .22s ease;
}
.jobcard-shelf img:first-child { margin-left: 0; }
.jobcard:hover .jobcard-shelf img:nth-child(1) { transform: translateX(-5px); }
.jobcard:hover .jobcard-shelf img:nth-child(3) { transform: translateX(5px); }

/* ---------- category rows ---------- */
.catgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .catgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .catgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.catrow {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) 20px; gap: 16px; align-items: center;
  padding: 18px 16px 18px 18px; text-decoration: none; color: inherit;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.catrow:hover { transform: translateY(-2px); box-shadow: var(--sh-1); border-color: #EDB9B4; color: inherit; }
.catrow-n {   /* the logo's red box with the count where "sam" would be */
  width: 58px; height: 62px; padding-bottom: 9px; display: grid; place-items: center;
  background: var(--red); color: #fff; border-radius: 9px 9px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  font: 700 1.85rem/1 var(--display); letter-spacing: -.01em;
}
.catrow h3 { font-size: 1.32rem; line-height: 1.12; margin-bottom: 4px; }
.catrow p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.catrow-go { color: var(--muted); display: grid; transition: transform .18s ease, color .18s ease; }
.catrow:hover .catrow-go { color: var(--red); transform: translateX(3px); }

/* ---------- product cards with photos ---------- */
.pgrid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .pgrid { gap: 18px; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .pgrid { gap: 20px; grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .pgrid.three { grid-template-columns: repeat(3, 1fr); } }

.pcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #EDB9B4; }
/* product photos always sit on pure white, whatever the page tint, so packaging colour stays true */
.pcard-media {
  display: block; background: #fff; aspect-ratio: 1 / 1; padding: 14px;
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.pcard-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-body { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; }
.pcard-body .overline { font-size: .78rem; }
.pcard-body h3 { font-size: clamp(1.14rem, 4.7vw, 1.42rem); line-height: 1.1; margin: 6px 0 6px; overflow-wrap: break-word; }
.pcard-body h3 a { color: var(--ink); text-decoration: none; }
.pcard-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card is the link */
.pcard:hover h3 a { color: var(--red); }
.pcard-body p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.pcard-foot {
  margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line-soft);
  font-size: .82rem; font-weight: 600; color: var(--muted);
}
@media (min-width: 720px) {
  .pcard-media { padding: 18px; }
  .pcard-body { padding: 16px 18px 18px; }
  .pgrid.three .pcard-media { aspect-ratio: 4 / 3; }
}
/* the three featured products on a phone: one per row, photo beside the text — no orphan card */
@media (max-width: 719.98px) {
  .pgrid.three { grid-template-columns: 1fr; }
  .pgrid.three .pcard { flex-direction: row; }
  .pgrid.three .pcard-media { flex: none; width: 128px; aspect-ratio: auto; padding: 10px; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .pgrid.three .pcard-body { padding: 14px 16px; }
  .pgrid.three .pcard-body h3 { font-size: 1.4rem; }
}

.ph-none {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: var(--panel); color: var(--muted); font-size: .8rem; text-align: center; line-height: 1.4;
  border-radius: var(--r-s);
}

/* ---------- catalogue sections on the offer page ---------- */
.catsec { margin-top: 44px; }
.catsec:first-child { margin-top: 0; }
.catsec + .note { margin-top: 32px; }
.catsec h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: clamp(1.5rem, 3.2vw, 1.9rem); margin-bottom: 6px; }
.catsec h2 a { color: var(--ink); text-decoration: none; }
.catsec h2 a:hover { color: var(--red); }
.catsec .sub { margin-bottom: 20px; }
.hcount {
  font: 700 1.05rem/1 var(--display); color: #fff; background: var(--red);
  padding: 5px 11px 9px; border-radius: 6px 6px 0 0; clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}

/* ---------- "why us" ---------- */
.whygrid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .whygrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.why { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px 24px; }
.why-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 18px;
}
.why h3 { font-size: 1.5rem; margin-bottom: 8px; }
.why p { margin: 0; font-size: .98rem; }

/* ---------- call to action: the logo's red box ---------- */
.cta-band {
  --v: 30px;
  position: relative; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red) 48%, #C0211A 100%);
  border-radius: var(--r-l) var(--r-l) 0 0; clip-path: var(--pennant);
  padding: 44px 22px calc(40px + var(--v)); margin-top: var(--sec);
  -webkit-font-smoothing: antialiased;
}
.band .cta-band { margin-top: 0; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { max-width: 58ch; margin: 0 auto 1.3em; font-size: 1.08rem; color: #fff; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 0; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--red-dark); box-shadow: 0 8px 20px rgba(80, 10, 6, .28); }
.cta-band .btn:hover { background: var(--panel); border-color: var(--panel); color: var(--red-dark); }
.cta-band .btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .75); color: #fff; box-shadow: none; }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.cta-band :focus-visible { outline-color: #fff; }
@media (min-width: 700px) { .cta-band { --v: 40px; padding: 58px 40px calc(50px + var(--v)); } }

/* ---------- page head (every page but the home page) ---------- */
.page-head {
  position: relative; overflow: hidden; padding: 24px 0 34px;
  background: linear-gradient(180deg, #E8EFF6 0%, var(--panel) 100%); border-bottom: 1px solid var(--line);
}
.page-head::before, .page-head::after {   /* the box again, large and faint, as a watermark */
  content: ""; position: absolute; pointer-events: none; clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}
.page-head::before { right: max(-70px, calc(50% - 640px)); top: -46px; width: 330px; height: 232px; background: rgba(255, 255, 255, .62); }
.page-head::after { right: max(-20px, calc(50% - 590px)); top: 64px; width: 150px; height: 106px; background: rgba(217, 38, 28, .07); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { margin: 0; text-wrap: balance; }
.page-head .overline { margin-bottom: 8px; }
.page-head .lead { margin: 14px 0 0; }
@media (min-width: 940px) { .page-head { padding: 30px 0 46px; } }
/* the offer pages: the whole range in one picture, beside the title. The picture stands on pure white, so
   multiply lets the band's tint through; for that the band's background must be in the same stacking
   context as the picture, hence no z-index on the wrap and no watermark boxes here */
.page-head.has-shot::before, .page-head.has-shot::after { display: none; }
.page-head.has-shot .wrap { z-index: auto; }
.head-grid { display: grid; gap: 20px; }
.head-shot { margin: 0; }
.head-shot img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
@media (min-width: 940px) {
  .page-head.has-shot { padding: 26px 0 30px; }
  .head-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: center; }
  /* a taller picture (the nine export products) is held to the height of the wide one */
  .head-shot img { width: auto; max-width: 100%; max-height: 300px; margin: 0 auto; }
}
.page-body { padding-top: 40px; }
@media (min-width: 940px) { .page-body { padding-top: 52px; } }

/* ---------- product page ---------- */
.prod { display: flex; flex-direction: column; gap: 22px; }
.prod-side, .prod-main { display: contents; }
.prod-photo { order: 1; }
.factbox { order: 2; }
.prod-actions { order: 3; }
.prod-docs { order: 4; }
.prod-notes { order: 5; }
.prod-text { order: 6; }
@media (min-width: 900px) {
  .prod { display: grid; grid-template-columns: minmax(300px, 410px) minmax(0, 1fr); gap: 52px; align-items: start; }
  .prod-side, .prod-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
}
@media (min-width: 900px) and (min-height: 880px) {
  .prod-side { position: sticky; top: calc(var(--head-h) + 22px); }
}
.prod-photo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1);
  padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 240px;
}
.prod-photo img { width: auto; max-width: 100%; max-height: 430px; object-fit: contain; }

.factbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-l); padding: 4px 22px; }
.factbox dl { margin: 0; }
.factbox dl > div { display: grid; grid-template-columns: 1fr; gap: 4px 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.factbox dl > div:last-child { border-bottom: 0; }
@media (min-width: 560px) { .factbox dl > div { grid-template-columns: 138px minmax(0, 1fr); align-items: baseline; } }
.factbox dt { font: 600 .86rem/1.5 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.factbox dd { margin: 0; color: var(--ink); font-weight: 500; }
.packs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.packs li {
  background: var(--bg); border: 1px solid var(--edge); border-radius: 999px; padding: 4px 13px;
  font: 600 1.04rem/1.3 var(--display); letter-spacing: .01em; color: var(--ink);
}
.prod-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.prod-docs h2 { font-size: 1.4rem; margin-bottom: 12px; }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.downloads a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 14px; align-items: center;
  padding: 11px 16px 11px 11px; text-decoration: none; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.downloads a:hover { border-color: var(--red); box-shadow: var(--sh-1); color: var(--ink); }
.downloads .pdf {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red-dark); font: 700 .86rem/1 var(--display); letter-spacing: .06em;
}
.downloads b { display: block; font: 600 1.12rem/1.22 var(--display); letter-spacing: .008em; }
.downloads small { font-size: .82rem; color: var(--muted); }
.downloads svg { color: var(--muted); transition: color .15s ease, transform .15s ease; }
.downloads a:hover svg { color: var(--red); transform: translateY(2px); }
.prod-notes { display: grid; gap: 10px; }
.prod-notes .note { margin: 0; }

.prod-text h2 { font-size: clamp(1.6rem, 3.2vw, 1.95rem); margin: 10px 0 .7em; }
.prose p, .prose ul, .prose ol { max-width: 72ch; }
.prose-h {
  font: 600 .9rem/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin: 1.7em 0 .9em;
}
ul.ticks { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 9px; }
ul.ticks li { position: relative; padding-left: 32px; color: var(--ink); }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red-soft) var(--i-check) center / 12px no-repeat;
}

table.spec, table.data {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 1.4em; font-size: .96rem;
  border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
}
table.spec th, table.spec td, table.data th, table.data td {
  text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top;
}
table.spec tr:last-child > *, table.data tbody tr:last-child > * { border-bottom: 0; }
table.spec th { width: 40%; color: var(--ink); background: var(--panel); font-weight: 600; }
table.spec td { color: var(--ink); }
table.data { min-width: 440px; }
table.data thead th, table.data thead td {
  background: var(--panel); color: var(--ink); text-align: center; vertical-align: middle;
  font: 600 1rem/1.25 var(--display); letter-spacing: .015em; border-bottom: 1px solid var(--line);
}
table.data thead th + th, table.data td { border-left: 1px solid var(--line-soft); }
table.data tbody th { color: var(--ink); font-weight: 600; }
table.data td { text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* On a phone the table used to be wider than the screen, so the last column (litres per 25 kg
   of cement) sat off-screen with nothing to say it scrolls. Tighter cells keep every column in view. */
@media (max-width: 559.98px) {
  table.data { min-width: 0; font-size: .86rem; }
  table.data th, table.data td { padding: 9px 4px; }
  table.data tbody th { padding-left: 8px; }
  table.data thead th, table.data thead td { font-size: .88rem; letter-spacing: 0; }
}
@media (max-width: 359.98px) {   /* the five-column tables on the narrowest phones */
  table.data { font-size: .76rem; }
  table.data th, table.data td { padding: 8px 3px; }
  table.data tbody th { padding-left: 6px; }
  table.data thead th, table.data thead td { font-size: .78rem; }
}

/* ---------- distributors ---------- */
.dist-search { margin-bottom: 14px; }
.dist-search label, .field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: .93rem; }
.dist-search input {
  width: 100%; padding: 15px 16px 15px 48px; font: inherit; font-size: 1.05rem; color: var(--ink);
  border: 1.5px solid var(--edge); border-radius: var(--r-m);
  background: var(--bg) var(--i-search) 15px center / 22px no-repeat; box-shadow: var(--sh-1);
}
.dist-search input:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 4px rgba(217, 38, 28, .14); }
.dist-list { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 760px) { .dist-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.dist {
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 22px 22px 20px; box-shadow: var(--sh-1);
}
.dist h3 { font-size: 1.5rem; margin-bottom: 8px; }
.dist p { margin-bottom: .8em; }
.dist-who { color: var(--ink); }
.dist a { color: var(--ink); font-weight: 600; text-decoration-color: rgba(217, 38, 28, .55); }
.dist a:hover { color: var(--red-dark); text-decoration-color: currentColor; }
.dist .terr { font-size: .9rem; color: var(--muted); margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.dist .terr + .terr { border-top: 0; padding-top: 8px; margin-top: 0; }
.dist .terr strong { color: var(--ink); }
.dist[hidden] { display: none; }
.dist-none { padding: 20px; background: var(--panel); border-radius: var(--r-m); }
.dist:target { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217, 38, 28, .16), var(--sh-1); }

/* ---------- distributor map ---------- */
/* Phone: the search, the map and the answer one under another. From 980 px the answer sits beside
   the map, so a click on the map is answered right next to it. */
.mapa-wrap { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "search" "map" "result"; }
.mapa-wrap > .mapa-search { grid-area: search; margin: 0; }
.mapa-wrap > #mapa { grid-area: map; }
.mapa-wrap > .mapa-wynik { grid-area: result; }
@media (min-width: 980px) {
  .mapa-wrap {
    grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; gap: 16px 26px;
    grid-template-areas: "map search" "map result"; align-items: start;
  }
}
.mapa-search { position: relative; }
.mapa-search ul {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 6px 0 0; padding: 6px;
  list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--sh-2);
}
.mapa-search li { padding: 10px 12px; cursor: pointer; color: var(--ink); border-radius: var(--r-s); }
.mapa-search li span { color: var(--muted); font-size: .86rem; }
.mapa-search li[aria-selected="true"], .mapa-search li:hover { background: var(--panel); }

/* z-index 0 keeps Leaflet's own layers (up to 1000) inside the map, under the sticky header */
#mapa {
  position: relative; z-index: 0; height: 420px; background: var(--bg); font-family: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden;
}
@media (min-width: 700px) { #mapa { height: 540px; } }
@media (min-width: 980px) { #mapa { height: clamp(540px, calc(100vh - var(--head-h) - 96px), 680px); } }
/* The base map in quiet greys, so the old borders and the picked territory carry the colour.
   mapa.js sets --mapa-tiles and --mapa-grey: grey and faint over the whole country; closer in, stronger
   and with some colour back (water, forest), to find a town. */
#mapa .leaflet-tile-pane { filter: grayscale(var(--mapa-grey, 1)) contrast(1.06); opacity: var(--mapa-tiles, .5); }
/* No focus rectangle on the map: the selection itself is drawn along the region's border. */
#mapa:focus, #mapa:focus-visible,
#mapa .leaflet-interactive:focus, #mapa .leaflet-interactive:focus-visible { outline: none; }

#mapa .leaflet-bar {
  border: 0; border-radius: var(--r-m); overflow: hidden; background: var(--bg);
  box-shadow: 0 1px 2px rgba(22, 36, 46, .08), 0 4px 14px rgba(22, 36, 46, .13);
}
#mapa .leaflet-bar a {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  color: var(--ink); background: var(--bg); border-bottom: 1px solid var(--line-soft); border-radius: 0;
}
#mapa .leaflet-bar a:last-child { border-bottom: 0; }
#mapa .leaflet-bar a:hover { background: var(--panel); color: var(--red-dark); }
#mapa .leaflet-bar a.leaflet-disabled { color: #B8C3CC; background: var(--bg); cursor: default; }
#mapa .leaflet-bar a:focus-visible { outline-offset: -3px; }
#mapa .leaflet-top.leaflet-right .leaflet-control { margin: 12px 12px 0 0; }
#mapa .leaflet-top.leaflet-right .mapa-whole { margin-top: 8px; }
#mapa .leaflet-control-attribution {
  font: 10.5px/1.45 var(--text); color: var(--muted); background: rgba(255, 255, 255, .85);
  padding: 2px 8px; border-radius: var(--r-s) 0 0 0;
}
#mapa .leaflet-control-attribution a { color: var(--body); }
#mapa .mapa-tip {
  background: var(--ink); color: #fff; border: 0; border-radius: var(--r-s); box-shadow: var(--sh-2);
  padding: 6px 11px; font: 400 .88rem/1.25 var(--text); white-space: nowrap;
}
#mapa .mapa-tip strong { font: 700 1.04rem/1.2 var(--display); letter-spacing: .02em; }
#mapa .leaflet-tooltip-top.mapa-tip::before { border-top-color: var(--ink); }
.mapa-label span {
  display: inline-block; transform: translate(-50%, -50%); width: max-content; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.02; color: var(--ink);
  text-transform: uppercase; letter-spacing: .05em;
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 8px #fff, 0 0 8px #fff;
}
.mapa-pin { filter: drop-shadow(0 3px 4px rgba(22, 36, 46, .35)); }
.mapa-pin svg { display: block; }

/* the answer: a hint until something is picked, then the distributor */
.mapa-wynik {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 18px 20px 20px; box-shadow: var(--sh-1);
}
.mapa-wynik > p:last-child { margin-bottom: 0; }
.mapa-start {
  --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A91E16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.2s-6.6-5.9-6.6-10.9a6.6 6.6 0 0 1 13.2 0c0 5-6.6 10.9-6.6 10.9z'/%3E%3Ccircle cx='12' cy='10.2' r='2.4'/%3E%3C/svg%3E");
  display: flex; gap: 14px; align-items: flex-start; margin: 0; color: var(--body); font-size: .95rem; line-height: 1.6;
}
.mapa-start::before {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red-soft) var(--i-pin) center / 21px no-repeat;
}
.mapa-where { color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.mapa-dist + .mapa-dist { border-top: 1px solid var(--line-soft); margin-top: 18px; padding-top: 18px; }
.mapa-dist h3 { font-size: 1.6rem; margin-bottom: .25em; }
.mapa-dist p { margin: .15em 0; }
.mapa-dist .mapa-who { color: var(--ink); font-weight: 600; }
.mapa-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.mapa-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; max-width: 100%; padding: 6px 15px 6px 12px;
  background: var(--bg); border: 1.5px solid var(--edge); border-radius: 999px;
  font: 700 1.06rem/1.15 var(--display); letter-spacing: .01em; color: var(--ink); text-decoration: none;
  white-space: nowrap; transition: border-color .15s ease;
}
.mapa-btn svg { color: var(--red); flex: none; }
.mapa-btn:hover { border-color: var(--red); color: var(--ink); }
.mapa-btn-mail { font: 600 .93rem/1.25 var(--text); letter-spacing: 0; }
.mapa-btn-mail span { white-space: normal; overflow-wrap: anywhere; }
.mapa-dist .mapa-terr { font-size: .88rem; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line-soft); }
.mapa-dist .mapa-terr strong { color: var(--ink); }
.mapa-dist .mapa-more { font-size: .9rem; margin-top: 10px; }
.mapa-alt { font-size: .9rem; color: var(--body); margin: 16px 0 0; padding: 10px 13px; background: var(--panel); border-radius: var(--r-s); }
.mapa-none { background: var(--panel); border-radius: var(--r-m); padding: 14px 16px; }
.mapa-none p + p { margin-top: .7em; }

/* ---------- forms ---------- */
.form-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 24px 20px; box-shadow: var(--sh-1);
}
.form-card > h2 { font-size: clamp(1.6rem, 3.2vw, 1.95rem); margin-bottom: .8em; }
.form-solo { max-width: 780px; }
@media (min-width: 700px) { .form-card { padding: 34px 36px; } }
.field { margin-bottom: 18px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--edge); border-radius: var(--r-m); background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red); outline: none; box-shadow: 0 0 0 4px rgba(217, 38, 28, .14);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req { color: var(--red); }
.form-rodo { font-size: .82rem; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }
.form-card .note { margin: 16px 0 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 52px; align-items: start; } }
.contact-info > h2 { font-size: clamp(1.6rem, 3.2vw, 1.95rem); margin-bottom: .8em; }
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--ink); }
.contact-list svg {
  width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: var(--red-soft); color: var(--red);
}
.contact-list span { padding-top: 6px; }
.contact-info .shot { margin: 26px 0 0; }

/* ---------- about: heading on the left, text on the right ---------- */
.rowsec { display: grid; gap: 6px 52px; grid-template-columns: 1fr; padding: 40px 0; border-top: 1px solid var(--line); }
.rowsec:first-child { border-top: 0; padding-top: 0; }
.rowsec:last-child { padding-bottom: 0; }
.rowsec > h2 { margin-bottom: .5em; }
@media (min-width: 900px) {
  .rowsec { grid-template-columns: 280px minmax(0, 1fr); padding: 52px 0; }
  .rowsec > h2 { position: sticky; top: calc(var(--head-h) + 26px); align-self: start; margin: 0; }
}

/* ---------- short message pages: thank you, form error, 404 ---------- */
.msg { padding-top: 64px; }
.msg > * { max-width: 760px; }
.msg h1 { margin-bottom: .4em; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- legal text ---------- */
.legal > .section { max-width: 820px; }
.legal .section { margin-top: 44px; }
.legal .section:first-child { margin-top: 0; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 1.85rem); }
.legal h3 { font-size: 1.25rem; margin-top: 1.5em; }
.legal li { margin-bottom: .45em; }

/* ---------- editorial photography ---------- */
.shot { margin: 0 0 1.6em; }
.shot img { width: 100%; border-radius: var(--r-l); display: block; box-shadow: var(--sh-1); }
.shot figcaption {
  font-size: .88rem; color: var(--muted); margin-top: 12px; padding-left: 12px;
  border-left: 3px solid var(--red);
}

/* ---------- footer: dark, like the header ---------- */
.site-foot {
  margin-top: var(--sec); padding: 54px 0 26px; background: var(--ink-deep); color: var(--on-dark);
  border-top: 4px solid var(--red); font-size: .95rem; -webkit-font-smoothing: antialiased;
}
.site-foot h4 { font: 600 .92rem/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-foot p { margin: 0; line-height: 1.8; }
.site-foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .34); }
.site-foot a:hover { color: #fff; text-decoration-color: #fff; }
.site-foot :focus-visible { outline-color: #fff; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 40px; } }
.foot-brand img { width: auto; height: 56px; margin-bottom: 14px; }
.foot-social { margin-top: 18px !important; }
.foot-social a {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px;
  border: 1.5px solid var(--dark-edge); border-radius: 999px; text-decoration: none;
  font: 600 1.08rem/1 var(--display); letter-spacing: .02em; color: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.foot-social a:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }
/* the Facebook mark keeps Facebook's own blue on light backgrounds */
.btn.fb .fb-mark { color: #0866FF; }
.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px;
  border-top: 1px solid var(--dark-line); margin-top: 38px; padding-top: 20px;
  font-size: .85rem; color: #96A7B4;
}
.foot-legal p { line-height: 1.6; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy { animation: rise .55s ease both; }
.hero-media { animation: rise .7s .08s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .jobcard:hover, .catrow:hover, .pcard:hover, .btn:hover { transform: none; }
}

@media print {
  /* the logo's letters are white, so the header keeps its dark bar on paper even when the browser
     drops backgrounds; the footer prints black on white, without its white-lettered logo */
  .site-head { position: static; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .nav-toggle, .site-nav, .head-lang, .hero-cta, .cta-band, .prod-actions { display: none !important; }
  .site-foot { background: none; color: #000; border-top: 1px solid #000; }
  .site-foot a, .site-foot h4, .foot-legal { color: #000; }
  .foot-brand img, .foot-social { display: none; }
  /* a blurred shadow prints as a hard grey block behind the card */
  *, *::before, *::after { box-shadow: none !important; }
}
