/* ============================================================
   ODRA INDUSTRIAL — stylesheet
   All design tokens live in :root below.
   ============================================================ */

:root {
  /* Colours */
  --blue:       #005889;   /* brand blue — matches the logo */
  --blue-deep:  #00405f;   /* hover / pressed */
  --blue-tint:  #eaf1f5;   /* placeholder panels, subtle fills */
  --white:      #ffffff;
  --ink:        #1d1f21;   /* body text */
  --ink-2:      #5c6166;   /* secondary text */
  --line:       #d5d9dc;   /* hairline rules */

  /* Typography */
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --max:   1040px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; line-height: 1.25; margin: 0; hyphens: auto; overflow-wrap: break-word; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ===== Header ===== */

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.75rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2.5rem;
}
.nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a { font-size: 15px; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav a[aria-current="page"]:hover { text-decoration: none; }

/* Language switcher */
.nav .lang { gap: 0.9rem; }
.lang a { font-size: 13px; letter-spacing: 0.04em; color: var(--ink-2); }
.lang a:hover { color: var(--blue); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.lang a[aria-current="true"]:hover { text-decoration: none; }

.logo { flex: none; }
.logo img { height: 52px; width: auto; }

@media (max-width: 560px) {
  .site-header .container { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
  .logo img { height: 44px; }
}

/* ===== Statement band (home) ===== */

.statement {
  background: var(--blue);
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.statement h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
}
.statement h1 span { color: rgba(255, 255, 255, 0.72); }
.statement .call-to-action {
  margin: 1.5rem 0 0;
  font-size: 17px;
}
.statement .call-to-action a {
  color: var(--white);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.statement .call-to-action a:hover { text-decoration: none; border-bottom-width: 2px; }

/* ===== Home — three columns of lists ===== */

.columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3rem;
}
@media (min-width: 760px) {
  .columns { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.columns h2 {
  font-size: 22px;
  padding-bottom: 0.6rem;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.list li {
  border-bottom: 1px solid var(--line);
  padding-block: 0.5rem;
}
.list .more { font-weight: 700; border-bottom: 0; }

/* ===== Section with heading + rule ===== */

.section { padding-block: 1rem 3.5rem; }
.section > h2 {
  font-size: 22px;
  padding-bottom: 0.6rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 2rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding-block: 1rem 1.5rem; }
.step .num { color: var(--blue); font-weight: 700; display: block; margin-bottom: 0.35rem; }
.step h3 { font-size: 17px; margin-bottom: 0.4rem; }
.step p { color: var(--ink-2); margin: 0; }

/* ===== Inner pages — head, main column + sidebar ===== */

.page-head {
  border-top: 1px solid var(--line);
  padding-block: 2rem 2.5rem;
}
.page-head h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.page-head p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
@media (min-width: 860px) {
  .layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; }
  .sidebar { position: sticky; top: 1.5rem; align-self: start; }
}

.entry {
  border-top: 1px solid var(--line);
  padding-block: 1rem 2.5rem;
  scroll-margin-top: 1rem;
}
.entry h2 { font-size: 24px; }
.entry .meta { color: var(--ink-2); font-size: 13px; margin: 0.2rem 0 1rem; }
.entry p { max-width: 60ch; }
.entry .list { max-width: 60ch; margin-top: 1.25rem; }

figure { margin: 0 0 1rem; }
figure img { width: 100%; height: auto; }
figcaption { font-size: 13px; color: var(--ink-2); margin-top: 0.4rem; }

/* Placeholder panel — replace with an <img> */
.ph {
  aspect-ratio: 16 / 9;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-align: center;
  padding: 1rem;
}
.ph--square { aspect-ratio: 1 / 1; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 600px) { .thumbs { grid-template-columns: repeat(3, 1fr); } }
.thumbs img { aspect-ratio: 1 / 1; object-fit: cover; }

.block { margin-bottom: 2.5rem; }
.block h2 {
  font-size: 15px;
  padding-bottom: 0.4rem;
}
.block p { color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); padding-top: 0.6rem; }
.block .list li { font-size: 14px; }

/* ===== Contact ===== */

.details {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
}
.details th,
.details td {
  text-align: left;
  vertical-align: baseline;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem 0.75rem 0;
}
.details tr:last-child th,
.details tr:last-child td { border-bottom: 1px solid var(--line); }
.details th { width: 8rem; font-weight: 400; color: var(--ink-2); }
.details td { font-size: 18px; }

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: item;
}
.checklist li {
  counter-increment: item;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
}
.checklist li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.content-h2 { font-size: 22px; padding-bottom: 0.6rem; }

/* ===== Legal pages ===== */

.details--wide th { width: 11rem; }
.prose { max-width: 62ch; }
.prose h2 { font-size: 19px; margin: 2rem 0 0.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.2rem; }
.prose .updated { color: var(--ink-2); font-size: 13px; margin-top: 2.5rem; }

/* Highlighted block — used for the GDPR right-to-object notice (Art. 21(4)) */
.notice {
  background: var(--blue-tint);
  border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
}
.notice p { margin: 0; }

/* Placeholder text — highlighted so it can't slip through to launch unnoticed */
.tbd { background: #fff1b8; color: var(--ink); padding: 0 0.2em; }

/* ===== Footer ===== */

.site-footer { color: var(--ink-2); font-size: 13px; }
.site-footer .container { padding-bottom: 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.footer-grid p { margin: 0; }
.footer-grid strong { color: var(--ink); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.colophon { margin-top: 2rem; font-size: 12px; }
