/* scan.secateq.com/security, /fm and /hygiene: the QR sign pages.
   Each division carries its own logo, colour and real photography, as the old WordPress sign pages did,
   and the same two fonts: Lato for headings and reading, Poppins for the controls (tabs, labels, buttons, numbers).
   Light pages: they are read outdoors on phones. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/lato-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/lato-700-latin.woff2') format('woff2'); }

/* the brand colours, from the SecaTeq Group logo */
:root {
  --brand: #4a266a; --brand-hi: #7a4aa3; --brand-deep: #2c133f; --brand-tint: #f5f0f9; --brand-line: #e3d8ee;
  --ink: #1d1a22; --body: #45404d; --soft: #6e6878; --line: #dcd8e2; --paper: #ffffff; --wash: #f6f5f8;
  --error: #c62828; --ok: #1b7f4b;
  --radius: 18px;
  color-scheme: light;
}
body[data-division='fm'] { --brand: #d72323; --brand-hi: #ec5b4f; --brand-deep: #8e1414; --brand-tint: #fdf2f1; --brand-line: #f5d5d2; }
body[data-division='hygiene'] { --brand: #005792; --brand-hi: #2f86c2; --brand-deep: #00355a; --brand-tint: #eef6fb; --brand-line: #cfe3f1; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--wash); }
body {
  margin: 0;
  background: var(--wash);
  color: var(--body);
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--ink); letter-spacing: -0.005em; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }

/* ------------------------------------------------------------ header and hero, in the division colour */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-hi) 120%);
  padding-bottom: 92px;
}
/* the old sign pages' big soft panel, drawn as two light shapes */
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 120vw; height: 120vw; max-width: 900px; max-height: 900px; left: -42vw; top: -30vw; background: rgba(255, 255, 255, 0.07); }
.hero::after { width: 70vw; height: 70vw; max-width: 560px; max-height: 560px; right: -30vw; bottom: -26vw; background: rgba(255, 255, 255, 0.05); }

.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: 6px; }
.logo { display: block; height: 52px; width: auto; }
body[data-division='fm'] .logo { height: 50px; }
body[data-division='hygiene'] .logo { height: 58px; }
.site-link {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff; text-decoration: none;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 500; font-size: 14px;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.site-link::after { content: '\2197'; font-size: 13px; }
@media (hover: hover) { .site-link:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; } }
.site-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.hero-grid { position: relative; z-index: 1; display: grid; gap: 26px; padding-top: 26px; }
.eyebrow { margin: 0 0 12px; font-family: 'Poppins', system-ui, sans-serif; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.82); }
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; margin-right: 10px; vertical-align: middle; background: rgba(255, 255, 255, 0.7); border-radius: 2px; }
.hero h1 { margin: 0; color: #fff; font-weight: 700; font-size: clamp(32px, 9.2vw, 64px); line-height: 1.06; letter-spacing: -0.01em; }
.hero h1 span { display: block; }
.hero h1 .soft { color: rgba(255, 255, 255, 0.78); }
.lead { margin: 16px 0 0; max-width: 34ch; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }

/* the photo, in the arch frame the old pages used */
.arch { position: relative; margin: 0; }
.arch img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 26px 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28); }
.arch::after { content: ''; position: absolute; inset: -10px; border-radius: 999px 999px 34px 34px; border: 1.5px solid rgba(255, 255, 255, 0.35); pointer-events: none; }
.hero .arch { width: min(62%, 250px); justify-self: center; }
.hero .arch figcaption { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--brand-deep); font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 13px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }

/* ------------------------------------------------------------ in danger now: always first under the hero */
.danger {
  position: relative; z-index: 3;
  margin-top: -64px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(20, 10, 30, 0.14), 0 2px 6px rgba(20, 10, 30, 0.06);
  padding: 18px 16px 16px;
}
.danger h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.calls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.call { display: grid; gap: 1px; min-height: 60px; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--wash); border: 1px solid var(--line); transition: border-color 160ms ease, background-color 160ms ease; }
.call-us { grid-column: 1 / -1; background: var(--brand); border-color: var(--brand); color: #fff; }
.call-label { font-size: 13px; color: var(--soft); line-height: 1.2; }
.call-us .call-label { color: rgba(255, 255, 255, 0.82); }
.call-num { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .call:hover { border-color: var(--brand); } .call-us:hover { background: var(--brand-deep); } }
.call:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ------------------------------------------------------------ the three doors and the card */
.main { padding: 22px 0 10px; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 0 0 14px; }
.tab { appearance: none; border: 0; margin: 0; min-height: 48px; padding: 6px 4px; border-radius: 12px; background: none; color: var(--soft); font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.tab[aria-selected='true'] { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.tab:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(20, 10, 30, 0.06); padding: 22px 18px 20px; }
.panel[hidden] { display: none; }
.panel { animation: panel-in 240ms ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-title { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.panel-intro { margin: 0 0 20px; color: var(--soft); font-size: 16px; }

/* ------------------------------------------------------------ form */
fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
legend, label { display: block; margin: 0 0 8px; padding: 0; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }
.opt { margin-left: 4px; font-family: 'Lato', system-ui, sans-serif; font-weight: 400; color: var(--soft); }
.field { margin: 0 0 18px; }
.hint { margin: 8px 0 0; font-size: 14px; color: var(--soft); }
.err { margin: 7px 0 0; font-size: 14px; font-weight: 700; color: var(--error); }
input[type='text'], input[type='tel'], input[type='email'], textarea {
  display: block; width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0 14px; height: 52px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { height: auto; min-height: 120px; padding: 13px 14px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #a39fab; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--error); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 9px 15px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: 'Lato', system-ui, sans-serif; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.chip::before { content: ''; width: 0; height: 10px; border-right: 2.5px solid transparent; border-bottom: 2.5px solid transparent; transform: rotate(45deg) translateY(-2px); transition: width 160ms ease; }
.chip[aria-checked='true'] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-checked='true']::before { width: 5px; border-color: #fff; }
@media (hover: hover) { .chip:hover { border-color: var(--brand); } }
.chip:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.urgent { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); background: #fff4f2; border: 1px solid #f3cfc9; }
.urgent a { font-weight: 700; color: var(--error); white-space: nowrap; }
.urgent[hidden] { display: none; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--wash); border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; min-height: 44px; display: grid; place-items: center; text-align: center; border-radius: 10px; font-family: 'Lato', system-ui, sans-serif; font-weight: 700; font-size: 14px; color: var(--soft); cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.seg input:checked + label { background: var(--paper); color: var(--brand); box-shadow: 0 2px 8px rgba(20, 10, 30, 0.10), inset 0 0 0 1.5px var(--brand); }
.seg input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 1px; }

/* photos and voice note */
.media-row { display: flex; flex-wrap: wrap; gap: 8px; }
.media-btn { appearance: none; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; margin: 0; padding: 0 16px 0 13px; border-radius: 12px; border: 1.5px dashed var(--brand-line); background: var(--brand-tint); color: var(--brand-deep); font-family: 'Lato', system-ui, sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color 160ms ease; }
@media (hover: hover) { .media-btn:hover { border-color: var(--brand); } }
.media-btn:focus-visible, #photo-input:focus-visible + .media-btn { outline: 3px solid var(--brand); outline-offset: 2px; }
.media-btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }
.media-btn.is-recording { border-style: solid; border-color: var(--error); background: #fff1f0; color: var(--error); }
.media-ico { width: 18px; height: 18px; flex: none; position: relative; }
.media-ico-photo { border: 2px solid currentColor; border-radius: 5px; }
.media-ico-photo::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; border: 2px solid currentColor; }
.media-ico-mic::before { content: ''; position: absolute; left: 5px; top: 0; width: 8px; height: 12px; border-radius: 4px; border: 2px solid currentColor; }
.media-ico-mic::after { content: ''; position: absolute; left: 8px; top: 13px; width: 2px; height: 5px; background: currentColor; }
.is-recording .media-ico-mic::before { background: currentColor; }
.thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 86px; height: 86px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); animation: panel-in 220ms ease both; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb button { appearance: none; position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(29, 26, 34, 0.75); color: #fff; font: inherit; font-size: 18px; line-height: 30px; cursor: pointer; }
.thumb button:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.voice { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--wash); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; }
.voice[hidden] { display: none; }
.wave { display: block; width: 100%; height: 36px; }
.voice-time { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--brand); }
.voice audio { grid-column: 1 / -1; width: 100%; height: 40px; }
.voice audio[hidden] { display: none; }
.link-btn { grid-column: 1 / -1; justify-self: start; appearance: none; border: 0; padding: 6px 0; background: none; color: var(--brand); font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn[hidden] { display: none; }

.check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 10px; font-family: 'Lato', system-ui, sans-serif; font-weight: 700; cursor: pointer; }
.check[hidden] { display: none; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--brand); }
#who-fields[hidden] { display: none; }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 4px 0 16px; }
.turnstile[hidden] { display: none; }
.not-emergency { margin: 4px 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--wash); font-size: 14px; color: var(--body); }
.not-emergency strong { color: var(--ink); }
.not-emergency a { font-weight: 700; color: var(--error); white-space: nowrap; }

.send { appearance: none; width: 100%; min-height: 56px; border: 0; border-radius: 14px; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 17px; color: #fff; background: var(--brand); box-shadow: 0 10px 24px rgba(20, 10, 30, 0.18); cursor: pointer; transition: transform 120ms ease, background-color 160ms ease; }
@media (hover: hover) { .send:hover { background: var(--brand-deep); } }
.send:active { transform: translateY(1px); }
.send:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.send[disabled] { cursor: progress; opacity: 0.75; }
.status { margin: 12px 0 0; font-size: 15px; color: var(--body); }
.status.is-error { color: var(--error); font-weight: 700; }
.status:empty { margin: 0; }
.privacy { margin: 14px 0 0; font-size: 13px; color: var(--soft); }

/* sent */
.done { padding: 8px 2px 4px; outline: none; }
.done-mark { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); margin-bottom: 16px; }
.done-mark svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done-title { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.done-text { margin: 0; font-size: 17px; color: var(--body); max-width: 40ch; }
.ref-label { display: block; margin: 18px 0 6px; font-size: 13px; color: var(--soft); }
.ref { display: inline-block; padding: 10px 16px; border-radius: 12px; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--brand-deep); background: var(--brand-tint); border: 1.5px solid var(--brand-line); }
.ref:empty { display: none; }
.stamp { animation: stamp 520ms cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.3); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.done-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.ghost { appearance: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--brand); background: var(--paper); color: var(--brand); font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.ghost.is-solid { background: var(--brand); color: #fff; }
@media (hover: hover) { .ghost:hover { background: var(--brand-tint); } .ghost.is-solid:hover { background: var(--brand-deep); } }
.ghost:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* rating */
.stars { display: flex; gap: 6px; }
.star { appearance: none; width: 54px; height: 54px; border: 1.5px solid var(--line); padding: 0; border-radius: 14px; background: var(--paper); cursor: pointer; display: grid; place-items: center; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.star svg { width: 30px; height: 30px; fill: none; stroke: #b9b3c2; stroke-width: 1.6; stroke-linejoin: round; }
.star.is-lit { background: var(--brand-tint); border-color: var(--brand); }
.star.is-lit svg { fill: var(--brand); stroke: var(--brand); }
.star:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (hover: hover) { .star:hover { transform: translateY(-1px); } }
.score-word { margin: 8px 0 0; min-height: 22px; font-size: 15px; font-weight: 700; color: var(--brand); }
.q { margin: 0 0 18px; }

/* emergency numbers */
.numbers-group { margin: 0 0 18px; }
.numbers-group h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--soft); }
.numbers-group .rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.num-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; min-height: 54px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .num-row:hover { background: var(--brand-tint); } }
.num-row:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.num-label { min-width: 0; font-size: 16px; line-height: 1.3; font-weight: 700; }
.num-note { display: block; font-size: 13px; font-weight: 400; color: var(--soft); }
.num-value { flex: none; max-width: 100%; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--brand); white-space: nowrap; overflow-wrap: anywhere; }
.checked { margin: 4px 0 0; font-size: 13px; color: var(--soft); }

/* ------------------------------------------------------------ the people behind the building */
.team { padding: 44px 0 10px; }
.team h2 { margin: 0 0 10px; font-size: clamp(26px, 7vw, 38px); font-weight: 700; line-height: 1.12; }
.tagline { margin: 0 0 6px; font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.team-lead { margin: 0 0 8px; font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--ink); max-width: 40ch; }
.team-text { margin: 0 0 22px; max-width: 52ch; font-size: 17px; }
.team-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 26px; padding: 0 6px; }
.team-photos .arch img { box-shadow: 0 16px 34px rgba(20, 10, 30, 0.16); }
.team-photos .arch::after { border-color: var(--brand-line); }
.team-photos .arch:first-child { margin-top: 28px; }
.team-link { width: 100%; justify-content: center; }

/* ------------------------------------------------------------ the three services, as the old sign pages ended */
.services { padding: 38px 0 6px; }
.services h2 { margin: 0 0 14px; font-size: 20px; font-weight: 600; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 160ms ease; }
.service::after { content: '\2197'; margin-left: auto; padding-left: 8px; color: var(--soft); font-size: 15px; }
.service.is-here { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
@media (hover: hover) { .service:hover { border-color: var(--brand); } }
.service:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.service-mark { flex: none; display: block; width: 48px; height: 48px; }
.service-text { display: grid; gap: 1px; line-height: 1.25; min-width: 0; }
.service-name { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 16px; }
.service-what { font-size: 14px; color: var(--soft); }
.services-more { margin: 14px 0 0; font-size: 15px; }
.services-more a { font-weight: 700; }

/* ------------------------------------------------------------ talk and footer */
.talk { padding: 30px 0 6px; }
.talk h2 { margin: 0 0 12px; font-size: 20px; font-weight: 600; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 160ms ease; }
@media (hover: hover) { .row:hover { border-color: var(--brand); } }
.row:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.tile { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); }
.tile img { display: block; width: 24px; height: 24px; }
.row-text { display: grid; line-height: 1.2; }
.row-label { font-size: 13px; color: var(--soft); }
.row-value { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; }

.foot { margin-top: 34px; padding: 30px 0 max(30px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 18px; justify-items: start; }
.foot-brand { display: grid; gap: 16px; justify-items: start; }
.group-logo { display: block; width: 92px; height: auto; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.social a { display: block; padding: 3px; border-radius: 8px; }
.social img { display: block; width: 22px; height: 22px; filter: brightness(0); opacity: 0.72; }
@media (hover: hover) { .social a:hover img { opacity: 1; } }
.social a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.ppp-img { display: block; width: 200px; height: auto; }
.legal { margin: 0; font-size: 13px; color: var(--soft); }
.legal a { color: var(--soft); }

/* ------------------------------------------------------------ desktop */
@media (min-width: 960px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .hero { padding-bottom: 112px; }
  .logo { height: 72px; }
  body[data-division='fm'] .logo { height: 66px; }
  body[data-division='hygiene'] .logo { height: 78px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 48px; padding-top: 24px; }
  .hero h1 { font-size: 68px; }
  .lead { font-size: 20px; }
  .hero .arch { width: 100%; max-width: 336px; justify-self: end; margin-right: 24px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 36px; align-items: start; }
  .danger { margin-top: -84px; grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 18px 22px; }
  .danger h2 { margin: 0; }
  .calls { grid-template-columns: 1fr 1fr 1.3fr; }
  .call-us { grid-column: auto; }
  .main { padding-top: 26px; }
  .card { padding: 30px 30px 26px; }
  .aside { position: sticky; top: 24px; padding-top: 26px; }
  .team { padding-top: 0; }
  .team h2 { font-size: 32px; }
  .talk { padding-top: 28px; }
  .services { padding-top: 56px; }
  .service-list { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .foot-grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}

/* small phones: the logo and the website link share one row */
@media (max-width: 359px) {
  .logo { height: 44px; }
  body[data-division='fm'] .logo { height: 38px; }
  body[data-division='hygiene'] .logo { height: 50px; }
  .site-link { padding: 0 10px; font-size: 13px; }
  .calls { grid-template-columns: 1fr; }
  .call-us { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
