/* ddadss.sk landing: one stylesheet for both pages, no JS, no web fonts. */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f6f7;
  --bg-accent: #e6f1f2;
  --text: #1c2526;
  --text-soft: #46585a;
  --primary: #0b6470;
  --primary-hover: #084d56;
  --on-primary: #ffffff;
  --border: #c9d6d8;
  --focus: #c2410c;
  --radius: 10px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111819;
    --bg-soft: #172123;
    --bg-accent: #1c2b2d;
    --text: #e8eeee;
    --text-soft: #b4c3c4;
    --primary: #5cc4cf;
    --primary-hover: #86d6de;
    --on-primary: #0b1a1c;
    --border: #2f4245;
    --focus: #fdba74;
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p, ul, ol, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }

a { color: var(--primary); text-underline-offset: .15em; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--bg); padding: 8px 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.3; }
.brand small { display: block; font-weight: 400; color: var(--text-soft); font-size: .85rem; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav a { display: inline-block; padding: 6px 0; text-decoration: none; font-weight: 600; }
.site-nav a:hover { text-decoration: underline; }

/* Sections */
section { padding: 56px 0; }
section:nth-of-type(even) { background: var(--bg-soft); }
.lead { font-size: 1.2rem; color: var(--text-soft); max-width: 46em; }
.narrow { max-width: 46em; }

.hero { background: var(--bg-accent); padding: 64px 0 56px; }
.hero .price-line { font-size: 1.25rem; margin: 1.2em 0; }
.hero .price-line strong { font-size: 1.6rem; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; border: 2px solid var(--primary);
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.btn-secondary { background: transparent; color: var(--primary); }
.btn-secondary:hover { background: var(--bg); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* Price */
.price-table { width: 100%; max-width: 640px; border-collapse: collapse; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 400; }
.price-table td { font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) {
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table th { border-bottom: 0; padding-bottom: 2px; }
  .price-table td { padding-top: 0; font-size: 1.15rem; }
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; max-width: 46em; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 1.1em; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary);
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* References */
blockquote { margin: 0; }
blockquote p { font-style: italic; }
blockquote footer { font-weight: 700; color: var(--text-soft); }
.clients { columns: 2 220px; column-gap: 32px; }

/* FAQ: native <details>, works without JS and with keyboard */
details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 700; }
details > div { padding: 0 18px 4px; }

/* Legislation page */
.law { margin-bottom: 2.2em; }
.law .how { background: var(--bg-accent); border-left: 4px solid var(--primary); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.meta { color: var(--text-soft); font-size: .95rem; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1em; font-size: .95rem; }
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--text-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: .95rem; color: var(--text-soft); }
.site-footer p { margin-bottom: .5em; }
