/* cretel.net design system (BUILD-PLAN §7, STRATEGY §8; map of features → components: docs/DESIGN.md).
   One file, no inline styles (CSP 'self'). Mobile first; the header nav appears from 64em. Greek text is never
   uppercased by CSS (tonos). Rule colours are the app's own (Roster plan grid), always with an icon and text. */

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/commissioner-greek.75d4734b1d.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/commissioner-latin.e3d539b926.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 {
  /* Brand: Aegean navy on white; the Cretan terracotta only on «Κλείστε demo»; squares only inside the mini-planner
     (owner, 03/11/2026). --c-subtle: the light tint of chips, the planner status, callouts and proof items. */
  --c-ink: #0f2a44;
  --c-ink-2: #24476b;
  --c-muted: #4d5f72;
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-subtle: #f3f5f8;
  --c-line: #d5dce4;
  --c-accent: #a8401f;
  --c-accent-hover: #8f3518;
  --c-focus: #1976d2;
  /* Rule states, copied from the app (PlanoDetailPage.vue): rest ring, wage-day cap dot, done, busy elsewhere,
     weekend. Graphics ≥ 3:1 on the background; the text variant of "ok" is darker (≥ 4.5:1). */
  --c-rule-rest: #e91e63;
  --c-rule-cap: #e53935;
  --c-rule-ok: #43a047;
  --c-rule-ok-text: #2e7d32;
  --c-rule-busy: #e0e0e0;
  --c-rule-weekend: #e6dcf5;

  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --w-regular: 400;
  --w-bold: 650;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --step-3: clamp(1.875rem, 1.4rem + 2.2vw, 3rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 72rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 4rem;
  --callbar-h: 4rem;
  --shadow: 0 1px 2px rgba(15, 42, 68, 0.08), 0 4px 16px rgba(15, 42, 68, 0.06);
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--space-4);
  /* Keyboard focus is scrolled clear of the fixed call bar (WCAG 2.4.11); reset from 64em. */
  scroll-padding-bottom: calc(var(--callbar-h) + var(--space-4));
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: var(--w-regular);
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-weight: var(--w-bold);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 {
  font-size: var(--step-3);
  letter-spacing: -0.01em;
}
h2 {
  font-size: var(--step-2);
}
h3 {
  font-size: var(--step-1);
}
p,
ul,
ol {
  margin: 0 0 var(--space-4);
}
img,
svg {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--c-ink-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--c-ink);
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Skip link: hidden until it gets keyboard focus */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -10rem;
  z-index: 20;
  padding: var(--space-2) var(--space-4);
  background: var(--c-surface);
  color: var(--c-ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.skip-link:focus {
  top: var(--space-2);
}

/* Buttons: min 44 px tall (target size) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-5);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: var(--w-bold);
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-accent-hover);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  border-color: var(--c-ink);
  color: var(--c-ink);
}
.btn-secondary:hover {
  background: var(--c-ink);
  color: #fff;
}

/* Header */
.site-header {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  margin-right: auto;
  color: var(--c-ink);
  font-size: 1.375rem;
  font-weight: var(--w-bold);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}
.site-nav,
.header-cta {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  text-decoration: none;
}
.site-nav a:hover {
  background: var(--c-subtle);
  color: var(--c-ink);
}
.site-nav a[aria-current] {
  box-shadow: inset 0 -3px 0 var(--c-ink);
  border-radius: 0;
}
.menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  color: var(--c-ink);
  font-weight: var(--w-bold);
}
@media (min-width: 64em) {
  .site-nav,
  .header-cta {
    display: flex;
  }
  .menu-link {
    display: none;
  }
}

/* Breadcrumbs: one line of links ≥ 24 px tall, separated by › */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-block: 0;
  padding-block: var(--space-3) 0;
  list-style: none;
  font-size: var(--step--1);
  color: var(--c-muted);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li + li::before {
  content: "›";
  padding: 0 var(--space-2);
  color: var(--c-muted);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--space-1);
}

/* Main and the intro band (plain white: the plan grid appears only in the mini-planner) */
main {
  display: block;
  padding-bottom: var(--space-8);
}
.intro {
  padding-block: var(--space-7) var(--space-6);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: var(--space-6);
}
.intro .lead {
  max-width: 42rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--c-ink-2);
}
.prose {
  max-width: 44rem;
}
.intro .updated {
  margin-top: var(--space-3);
  color: var(--c-muted);
  font-size: var(--step--1);
}

/* Components for the product pages (docs/DESIGN.md) */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
}
.cards {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}
.callout {
  border-left: 4px solid var(--c-ink-2);
  background: var(--c-subtle);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 var(--space-5);
}
.rule {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--w-bold);
}
.rule::before {
  content: "";
  flex: none;
  width: 1.1em;
  height: 1.1em;
  border-radius: 3px;
  background: var(--c-surface);
}
.rule-rest::before {
  box-shadow: inset 0 0 0 2px var(--c-rule-rest);
  background: linear-gradient(225deg, var(--c-rule-rest) 0 30%, transparent 30%), var(--c-surface);
}
.rule-cap::before {
  background: radial-gradient(circle at 75% 25%, var(--c-rule-cap) 0 22%, transparent 24%), var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.rule-ok {
  color: var(--c-rule-ok-text);
}
.rule-ok::before {
  background: var(--c-rule-ok);
}
.rule-busy::before {
  background: var(--c-rule-busy);
  box-shadow: inset 0 0 0 1px var(--c-muted);
}
.faq details {
  border-bottom: 1px solid var(--c-line);
}
.faq summary {
  min-height: 44px;
  padding: var(--space-3) 0;
  font-weight: var(--w-bold);
  cursor: pointer;
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}
.matrix th,
.matrix td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--c-line);
  text-align: left;
}
.table-scroll {
  position: relative; /* the containing block of its visually hidden cells, so they cannot widen the page */
  overflow-x: auto;
}

/* Product pages (templates/pages/feature.php): callout heading, matrix cells, fact list, «Δείτε επίσης» */
.callout h2 {
  font-size: var(--step-1);
  margin-bottom: var(--space-3);
}
.callout > :last-child {
  margin-bottom: 0;
}
.matrix thead th {
  white-space: nowrap;
}
.matrix tbody th {
  min-width: 11rem; /* the row labels in 1–2 lines on a phone; the table scrolls inside .table-scroll */
  font-weight: 400;
}
.matrix-yes {
  color: var(--c-rule-ok-text);
  font-weight: var(--w-bold);
}
.matrix-no {
  color: var(--c-muted);
}
.matrix-note {
  margin-top: var(--space-4);
  color: var(--c-ink-2);
}
.factlist {
  margin: 0;
}
.factlist div {
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--c-line);
}
.factlist dt {
  font-weight: var(--w-bold);
}
.factlist dd {
  margin: var(--space-1) 0 0;
}
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.related-list a {
  display: inline-block;
  min-height: 44px;
  padding-block: var(--space-2);
  font-weight: var(--w-bold);
}

/* Content blocks (templates/blocks/) */
.section {
  padding-block: var(--space-6);
}
.section h2 {
  margin-bottom: var(--space-5);
}
.card h3 {
  font-size: var(--step-1);
}
.card > :last-child {
  margin-bottom: 0;
}
.card-link a {
  font-weight: var(--w-bold);
}
.points {
  margin: 0 0 var(--space-4);
  padding-left: 1.2em;
}
.points li + li {
  margin-top: var(--space-2);
}
.link-list {
  margin: 0 0 var(--space-4);
  padding-left: 1.2em;
}
.link-list li + li {
  margin-top: var(--space-2);
}
.download-size {
  color: var(--c-muted);
}
.download-size {
  display: inline-block;
  margin-left: var(--space-2);
  font-size: var(--step--1);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}
.tags li {
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: var(--w-bold);
}
.steps {
  counter-reset: step;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-weight: var(--w-bold);
}
.proof {
  border-block: 1px solid var(--c-line);
}
.proof-list {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.proof-list li {
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-left: 4px solid var(--c-ink-2);
  background: var(--c-subtle);
  font-size: var(--step-1);
  line-height: 1.4;
}
.proof-logo {
  display: block;
  margin-bottom: var(--space-3);
}
.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.band-inner > div {
  flex: 1 1 24rem;
  padding: var(--space-6);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.band-inner > div > :last-child {
  margin-bottom: 0;
}
.band-primary .band-inner > div {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: #fff;
}
.faq details p {
  margin: 0 0 var(--space-4);
}

/* Home: the hero with the mini-planner (BUILD-PLAN §5). The planner only upgrades the server-rendered table, so nothing
   moves when the script starts (the status line keeps its height; the reveal appears only after a click). */
.hero-inner {
  display: grid;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 64em) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
.eyebrow {
  display: block;
  margin-bottom: var(--space-3);
  font-size: var(--step-0);
  color: var(--c-ink-2);
  letter-spacing: 0;
}
.planner {
  padding: var(--space-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow);
}
.planner h2 {
  font-size: var(--step-1);
  margin-bottom: var(--space-3);
}
/* Phones: edge to edge, so 7 day cells of ≥ 38 px fit at 360 px with no sideways scroll. */
@media (max-width: 47.99em) {
  .planner {
    margin-inline: calc(-1 * var(--gutter));
    padding: var(--space-4) 6px;
    border-inline: 0;
    border-radius: 0;
  }
  .planner > :not(.planner-grid) {
    margin-inline: var(--space-2);
  }
}
.palette {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  min-width: 0;
  margin: 0 0 var(--space-3);
  padding: 0;
  border: 0;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-subtle);
  font-size: var(--step--1);
  font-weight: var(--w-bold);
  line-height: 1.2;
  cursor: pointer;
}
.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.chip:has(input:checked) {
  border-color: var(--c-ink);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-ink);
}
.chip:has(input:focus-visible) {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}
.palette:disabled .chip {
  cursor: default;
}
.chip-time {
  font-weight: var(--w-regular);
  color: var(--c-muted);
}
.chip .code {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 999px;
}
/* Shift colours (light, ink text ≥ 4.5:1); Ρεπό grey; Σβήσιμο a struck-through tile */
.shift-p .code,
.cell.shift-p {
  background: #d6e6fb;
}
.shift-a .code,
.cell.shift-a {
  background: #fde3c4;
}
.shift-r .code,
.cell.shift-r {
  background: #e9edf1;
  color: var(--c-muted);
}
.chip-erase .code {
  background: linear-gradient(135deg, transparent 46%, var(--c-muted) 46% 54%, transparent 54%), var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.planner-grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 2px;
  font-size: var(--step--1);
}
.planner-grid caption {
  padding-bottom: var(--space-2);
  text-align: left;
  font-weight: var(--w-bold);
}
.planner-grid thead th {
  padding: var(--space-1) 0;
  color: var(--c-muted);
  text-align: center;
}
.planner-grid thead th:first-child,
.planner-grid tbody th {
  width: 3.5rem;
}
.planner-grid tbody th {
  padding-right: var(--space-1);
  font-size: 0.75rem;
  line-height: 1.15;
  text-align: left;
  overflow-wrap: anywhere;
}
@media (min-width: 30em) {
  .planner-grid thead th:first-child,
  .planner-grid tbody th {
    width: 8.5rem;
  }
  .planner-grid tbody th {
    font-size: var(--step--1);
  }
}
.cell {
  height: 2.75rem;
  padding: 0;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--c-line);
  text-align: center;
  font-size: var(--step-0);
  font-weight: var(--w-bold);
}
.cell.is-empty {
  background: var(--c-surface);
}
.planner-grid[role="grid"] .cell {
  cursor: pointer;
}
.cell:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 1px;
}
.cell.is-busy {
  background: linear-gradient(to top, var(--c-rule-busy) 0 32%, var(--c-muted) 32% calc(32% + 1px), transparent calc(32% + 1px)), var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-muted);
}
.cell.is-hint {
  outline: 2px dashed var(--c-ink);
  outline-offset: -5px;
}
.cell.is-rest {
  position: relative;
  box-shadow: inset 0 0 0 3px var(--c-rule-rest);
}
/* The rest marker is ring + corner flag + the status text, never colour alone. */
.cell.is-rest::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent var(--c-rule-rest) transparent transparent;
  border-top-right-radius: 4px;
}
.cell.is-fixed {
  box-shadow: inset 0 0 0 3px var(--c-rule-ok);
  animation: fixed 1.6s ease-out;
}
@keyframes fixed {
  0% {
    box-shadow: inset 0 0 0 3px var(--c-rule-rest);
  }
  25% {
    box-shadow: inset 0 0 0 3px var(--c-rule-ok);
  }
}
.planner-status {
  min-height: calc(4 * 1.45em + 2 * var(--space-3));
  margin: var(--space-3) 0;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--c-subtle);
  font-size: var(--step--1);
  line-height: 1.45;
}
@media (min-width: 30em) {
  .planner-status {
    min-height: calc(3 * 1.45em + 2 * var(--space-3));
  }
}
.planner-reveal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  font-weight: var(--w-bold);
}
.planner-reveal[hidden] {
  display: none;
}
.planner-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
}
.planner-legend .rule {
  font-weight: var(--w-regular);
}
.planner-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.planner-keys,
.planner-note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--c-muted);
}
.planner-keys {
  flex: 1 1 16rem;
}

/* Forms (templates/blocks/form.php): one column, fields ≥ 44 px tall, the error text under its field, the summary on
   top; the error page lists the server's problems (.form-problems). */
.lead-form {
  display: grid;
  gap: var(--space-4);
  max-width: 38rem;
}
.field {
  display: grid;
  gap: var(--space-1);
}
.field label {
  font-weight: var(--w-bold);
}
.optional {
  font-weight: var(--w-regular);
  color: var(--c-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--c-muted);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  font: inherit;
}
.field textarea {
  resize: vertical;
}
.field [aria-invalid="true"] {
  border: 2px solid var(--c-rule-cap);
}
.field-error {
  margin: 0;
  color: #b3261e;
  font-weight: var(--w-bold);
}
.form-summary {
  padding: var(--space-4);
  border: 2px solid var(--c-rule-cap);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.form-summary > :first-child {
  margin-top: 0;
  font-weight: var(--w-bold);
}
.form-summary > :last-child {
  margin-bottom: 0;
}
.form-trap {
  display: none;
}
.form-consent {
  margin: 0;
  font-size: var(--step--1);
  color: var(--c-ink-2);
}
.lead-form .btn {
  justify-self: start;
}
.lead-form .btn:disabled {
  opacity: 0.7;
  cursor: progress;
}
.form-problems {
  padding-left: var(--space-5);
  font-weight: var(--w-bold);
}

/* Footer */
.site-footer {
  background: var(--c-ink);
  color: #e8edf2;
  /* Below 64em the fixed call bar sits over the footer's own bottom padding, never over content. */
  padding-block: var(--space-7) calc(var(--space-6) + var(--callbar-h));
}
.site-footer a {
  color: #fff;
}
.site-footer a:hover {
  color: #c9d8ea;
}
.footer-nav {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin-bottom: var(--space-6);
}
.footer-nav h2 {
  font-size: var(--step-0);
  margin-bottom: var(--space-3);
  color: #fff;
}
.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-bottom: var(--space-5);
  font-style: normal;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0;
}
.footer-brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.footer-brand span {
  flex: 1 1 12rem;
}
.footer-consent {
  margin: 0 0 var(--space-4);
}
.footer-consent button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer-consent button:hover {
  color: #c9d8ea;
}

/* Mobile call bar: fixed at the bottom below 64em; never covers content (the footer's bottom padding) */
.call-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10;
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) var(--gutter);
  padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -2px 12px rgba(15, 42, 68, 0.08);
}
.call-bar .btn {
  flex: 1;
  padding-inline: var(--space-3);
}

/* Consent window (D1, production build): fixed at the bottom, above the mobile call bar; «Αποδοχή» and «Απόρριψη»
   the same button (equally easy). Hidden until assets/js/stats.js shows it. */
.consent {
  position: fixed;
  inset: auto 0 var(--callbar-h) 0;
  z-index: 20;
  padding-block: var(--space-4);
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -2px 12px rgba(15, 42, 68, 0.12);
  font-size: var(--step--1);
}
.consent[hidden] {
  display: none;
}
.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}
.consent-text {
  flex: 1 1 30rem;
}
.consent-text p {
  margin: 0;
}
.consent-title {
  font-weight: var(--w-bold);
}
.consent-actions {
  display: flex;
  flex: 1 1 16rem;
  gap: var(--space-2);
}
.consent-actions .btn {
  flex: 1;
}
@media (min-width: 64em) {
  html {
    scroll-padding-bottom: 0;
  }
  .site-footer {
    padding-bottom: var(--space-6);
  }
  .call-bar {
    display: none;
  }
  .consent {
    bottom: 0;
  }
  .consent-actions {
    flex-grow: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  .call-bar,
  .consent,
  .breadcrumbs {
    display: none;
  }
  body {
    background: #fff;
  }
}
