/* Smart Radiation Group ISO site. Same design system as ExpoDisclose360:
   grey canvas, white bordered blocks, teal accent, Barlow Semi Condensed / Source Sans 3 / IBM Plex Mono, light and dark. */
:root {
  --bg: #F3F5F4;
  --surface: #FFFFFF;
  --ink: #172022;
  --muted: #55615F;
  --line: #D5DCDA;
  --accent: #1F5C73;
  --accent-ink: #FFFFFF;
  --accent-soft: #DCE9EE;
  --note-bg: #FFF6E5;
  --note-line: #E7C98F;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1517; --surface: #172124; --ink: #E6ECEB; --muted: #9AA8A6; --line: #2A3639;
    --accent: #7CBBD2; --accent-ink: #0F1517; --accent-soft: #1D3640; --note-bg: #2A2416; --note-line: #6B5426;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1517; --surface: #172124; --ink: #E6ECEB; --muted: #9AA8A6; --line: #2A3639;
  --accent: #7CBBD2; --accent-ink: #0F1517; --accent-soft: #1D3640; --note-bg: #2A2416; --note-line: #6B5426;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-block: 24px 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.05; letter-spacing: 0.005em; margin-top: 4px; }
h2 { font-size: 1.6rem; line-height: 1.15; }
h3 { font-size: 1.15rem; line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-data); font-size: 0.9rem; }
.eyebrow { font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Header */
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--ink); text-decoration: none; }
.brand b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
nav a.btn { color: var(--accent-ink); }
.brandrule { height: 3px; border-radius: 3px; margin: 10px 0 26px; background: linear-gradient(90deg, #E53935, #FB8C00, #FDD835, #43A047, #1E88E5, #5E35B1); max-width: 220px; }
header .lead { max-width: 64ch; color: var(--muted); font-size: 1.1rem; margin-top: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-family: var(--font-data); font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); border: 1px solid var(--line); }
.hero-actions { margin-top: 22px; }

/* Blocks */
main { display: grid; gap: 24px; margin-top: 32px; min-width: 0; }
section.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 18px; min-width: 0; scroll-margin-top: 16px; }
.block-head { display: grid; gap: 6px; }
.block-head p:not(.eyebrow) { color: var(--muted); max-width: 70ch; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.items { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.item { border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.item p { color: var(--muted); }
.item-top { display: flex; gap: 10px; align-items: flex-start; }
.code { font-family: var(--font-data); font-size: 0.78rem; padding: 2px 7px; border-radius: 6px; background: var(--ink); color: var(--bg); flex: none; margin-top: 2px; }
.q { flex: 1; min-width: 0; }
.q .gri { display: block; font-family: var(--font-data); font-size: 0.72rem; color: var(--muted); margin-top: 3px; letter-spacing: 0.02em; }
.note { padding: 12px 16px; border: 1px solid var(--note-line); background: var(--note-bg); border-radius: var(--r); font-size: 0.95rem; }

.link-card { color: var(--ink); text-decoration: none; transition: border-color .15s; }
.link-card:hover { border-color: var(--accent); }
.link-card .go { font-family: var(--font-data); font-size: 0.8rem; color: var(--accent); }

/* Steps: a real sequence */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font-family: var(--font-data); font-size: 0.78rem; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.steps p { color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--accent-soft); font-weight: 600; font-size: 0.85rem; }
tbody tr:last-child td { border-bottom: 0; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-block; font: inherit; font-weight: 600; border-radius: 8px; padding: 9px 16px; cursor: pointer; border: 1px solid var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.contact-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: flex-end; }
.contact-grid code { padding: 6px 10px; border-radius: 6px; background: var(--accent-soft); user-select: all; }
address { font-style: normal; line-height: 1.6; color: var(--muted); }
address strong { color: var(--ink); }
footer { margin-top: 32px; color: var(--muted); font-size: 0.85rem; max-width: 80ch; }

@media (max-width: 560px) {
  section.block { padding: 18px; }
  .items { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Training schedule */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: 0.85rem; }
.sched-tools { display: grid; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { font: 600 0.82rem var(--font-data); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.search input { font: inherit; width: 100%; max-width: 420px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
#schedule { display: grid; gap: 20px; }
.sched-group { display: grid; gap: 8px; }
.sched-group h3 { font-size: 1.05rem; }
.schedule td:first-child { min-width: 280px; }
.cname { display: block; }
.tag { display: inline-block; margin-top: 4px; font: 500 0.7rem var(--font-data); padding: 1px 7px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); }
.schedule .fee { text-align: right; white-space: nowrap; }
.schedule th:last-child { text-align: right; }
.std-grid .item p { font-size: 0.92rem; }
.schedule td.mono { white-space: nowrap; }
