/* Peter Prošek – čierna, biela a odtiene sivej. Bez skriptov, bez cudzích písiem. */

:root {
  --black: #0b0b0b;
  --ink: #111;
  --g700: #444;      /* text na bielej 9.7:1 */
  --g600: #595959;   /* text na bielej 7:1 */
  --g400: #8c8c8c;
  --g300: #b8b8b8;   /* text na čiernej 9.8:1 */
  --g200: #dedede;
  --g100: #f2f2f2;
  --white: #fff;
  --pad: clamp(1.125rem, 5vw, 3rem);
  --font: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding-inline: var(--pad); }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Viditeľný fokus pri ovládaní klávesnicou */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible, .foot :focus-visible { outline-color: var(--white); }
.callbar:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 30;
  background: var(--black); color: var(--white);
  padding: .75rem 1rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; outline: 3px solid var(--white); outline-offset: -6px; }

.label {
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g600);
}

/* ---------- Znak (logo) ---------- */
.mark { display: block; flex: none; }
.mark__bg { fill: var(--black); }
.mark__p1, .mark__p2 { fill: none; stroke-width: 4.5; }
.mark__p1 { stroke: var(--white); }
.mark__p2 { stroke: var(--g400); }

/* ---------- Hlavička ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--white); border-bottom: 1px solid var(--g200);
}
.top__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none; font-size: 1.125rem; letter-spacing: -.01em;
  white-space: nowrap;
}
.logo b { font-weight: 700; }
.logo__text { font-weight: 400; }

.nav { display: flex; gap: clamp(.25rem, 2vw, 1.5rem); }
.nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  padding-inline: .5rem; font-size: .9375rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.nav a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }

/* ---------- Úvod ---------- */
.hero__in {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  padding-block: clamp(3rem, 9vw, 7rem) clamp(2.5rem, 7vw, 5.5rem);
}
h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.75rem, 10.5vw, 8rem);
  font-weight: 700; line-height: 1; letter-spacing: -.045em;
}
h1 span { display: block; color: #6e6e6e; } /* 5.1:1 na bielej */
.lead {
  margin-top: 1.75rem; max-width: 34rem;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.5; color: var(--g700);
}
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: .75rem 1.5rem;
  border: 2px solid var(--black); color: var(--black); background: var(--white);
  font-size: 1.0625rem; font-weight: 700; text-decoration: none; text-align: center;
  transition: background-color .15s, color .15s;
}
.btn--full { background: var(--black); color: var(--white); }
.btn:hover { background: var(--black); color: var(--white); }
.btn--full:hover { background: var(--white); color: var(--black); }

.hero__art { justify-self: end; width: 100%; max-width: 24rem; }
.mark--big { width: 100%; height: auto; }

/* Pásik odtieňov – od čiernej po bielu */
.strip { display: flex; height: clamp(.875rem, 2vw, 1.5rem); border-bottom: 1px solid var(--g200); }
.strip i { flex: 1; }
.strip i:nth-child(1) { background: #0b0b0b; }
.strip i:nth-child(2) { background: #262626; }
.strip i:nth-child(3) { background: #404040; }
.strip i:nth-child(4) { background: #595959; }
.strip i:nth-child(5) { background: #737373; }
.strip i:nth-child(6) { background: #8c8c8c; }
.strip i:nth-child(7) { background: #a6a6a6; }
.strip i:nth-child(8) { background: #c4c4c4; }
.strip i:nth-child(9) { background: #dedede; }

/* ---------- Sekcie ---------- */
.sec { padding-block: clamp(4rem, 10vw, 8rem); }
h2 {
  margin-top: .75rem;
  font-size: clamp(2.25rem, 6.5vw, 4.5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.035em;
}

.sec__in { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.sec__head { align-self: start; position: sticky; top: 6rem; }

.list li {
  display: grid; grid-template-columns: clamp(3rem, 8vw, 6rem) minmax(0, 1fr);
  gap: 1rem; align-items: baseline;
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
  border-top: 2px solid var(--black);
}
.list li:last-child { border-bottom: 2px solid var(--black); }
.list__no {
  font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700;
  color: var(--g600); font-variant-numeric: tabular-nums;
}
.list h3 {
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.025em;
}
.list p { margin-top: .5rem; max-width: 32rem; color: var(--g700); }

/* ---------- Tmavý pás ---------- */
.dark { background: var(--black); color: var(--white); }
.dark__in { padding-block: clamp(4rem, 11vw, 9rem); }
.dark .label { color: var(--g300); }
.dark h2 { font-size: clamp(2.75rem, 10.5vw, 8rem); line-height: 1; letter-spacing: -.045em; }
.dark h2 span { display: block; color: #9a9a9a; } /* 7:1 na čiernej */
.dark .lead { color: var(--g300); }

.pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(2.5rem, 6vw, 4.5rem); max-width: 40rem; }
.pair li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: 1.25rem; min-height: 9.5rem; border: 2px solid var(--white);
}
.pair li:first-child { background: var(--white); color: var(--black); }
.pair b { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1; letter-spacing: -.03em; }
.pair span { font-size: .875rem; font-weight: 600; letter-spacing: .04em; }

/* ---------- Kontakt ---------- */
.contact { background: var(--g100); }
.contact h2 { max-width: 20ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.big {
  display: block; width: fit-content; max-width: 100%;
  font-size: clamp(2rem, 9.2vw, 6.5rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.04em;
  text-decoration: none; overflow-wrap: anywhere;
  border-bottom: .06em solid transparent;
}
.big--mail { color: #5e5e5e; font-size: clamp(1.5rem, 6.6vw, 4.5rem); margin-top: .35em; } /* 5.8:1 na sivej */
.big:hover { border-bottom-color: currentColor; }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2rem; border-top: 2px solid var(--black);
}
.facts dt {
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g600); margin-bottom: .5rem;
}
.facts dd { font-size: 1.0625rem; }
.facts a { text-underline-offset: .25em; text-decoration-thickness: 1px; }
.facts a:hover { text-decoration-thickness: 2px; }

/* ---------- Pätička ---------- */
.foot p:first-child { margin-right: auto; color: var(--white); }
.foot { background: var(--black); color: var(--g300); font-size: .9375rem; }
.foot__in {
  display: flex; flex-wrap: wrap; gap: .25rem 2rem;
  padding-block: 1.75rem;
}

/* Spodné tlačidlo Zavolať – iba na mobile */
.callbar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) clamp(7rem, 22vw, 11rem); align-items: start; }
  .hero__art { margin-top: 2.75rem; }
  .sec__in { grid-template-columns: minmax(0, 1fr); }
  .sec__head { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
  body { padding-bottom: 3.75rem; }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__art { display: none; }
  .nav a[href="#identita"] { display: none; }
  .btns { flex-direction: column; }
  .btn { width: 100%; }
  /* na mobile je Zavolať stále dole na obrazovke, v úvode by bolo dvakrát */
  .btn--call { display: none; }
  .btns .btn:not(.btn--call) { background: var(--black); color: var(--white); }
  .pair li { min-height: 8rem; padding: 1rem; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: flex; align-items: center; justify-content: center;
    min-height: 3.75rem; padding: .5rem 1rem;
    background: var(--black); color: var(--white);
    border-top: 1px solid #444;
    font-size: 1.0625rem; font-weight: 700; text-decoration: none;
  }
}

@media (max-width: 360px) {
  .logo { font-size: 1rem; gap: .5rem; }
  .logo .mark { width: 34px; height: 34px; }
  .nav a { padding-inline: .375rem; font-size: .875rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media print {
  .top, .callbar, .skip, .strip { display: none; }
  body { padding: 0; }
  .dark, .foot p:first-child { margin-right: auto; color: var(--white); }
.foot { background: #fff; color: #000; }
  .dark .label, .dark .lead, .dark h2 span, .foot { color: #000; }
}
