@import url("fonts.css");

:root {
  --gold: #fecc00;
  --gold-dark: #d9ad00;
  --gold-text: #846400;
  --ink: #0f1517;
  --ink-2: #162127;
  --ink-3: #213039;
  --text: #1f2a30;
  --muted: #5d6b73;
  --line: #e3e7ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 21, 23, .08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
[id] { scroll-margin-top: 90px; }
/* Focus: tmavý obrys na svetlom pozadí, zlatý len v tmavých častiach */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #e8eef1; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: #a9b7bf; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ffd83a; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 21, 23, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { display: block; height: 40px; width: auto; }
@media (max-width: 960px) { .nav__logo img { height: 34px; } }
.nav__menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  white-space: nowrap;
  color: #d5dde1;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--gold); }
.nav__menu .btn { padding: 10px 20px; color: var(--ink); }
.nav__menu .btn:hover { color: var(--ink); }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle svg { width: 28px; height: 28px; }
.nav__menu .nav__phone a { white-space: nowrap; color: #fff; }
.nav__menu .nav__phone a::before { content: "☎\FE0E\00a0"; content: "☎\FE0E\00a0" / ""; color: var(--gold); }
@media (min-width: 961px) and (max-width: 1279px) {
  .nav__phone { display: none; }
  .nav__menu { gap: 20px; }
  .nav__logo img { height: 34px; }
}
.nav__menu .nav__lang a { font-size: .85rem; letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; padding: 4px 9px; }
.nav__menu .nav__lang a:hover { border-color: var(--gold); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav__menu li:last-child a { display: flex; border: 0; margin-top: 16px; justify-content: center; }
  .nav__menu .nav__lang a { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; padding: 14px 0; font-size: 1rem; }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(254, 204, 0, .16), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(56, 120, 160, .25), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding: 110px 0 90px; max-width: 820px; }
@media (max-width: 640px) { .hero__inner { padding: 64px 0 48px; } .hero__lead { font-size: 1.1rem; } }
.hero h1 span { color: var(--gold); }
.hero__lead { font-size: 1.25rem; color: #c3cfd5; max-width: 640px; margin-bottom: 34px; }
.hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}
.fact { background: rgba(15, 21, 23, .85); padding: 24px 26px; }
.fact strong { display: block; font-size: 1.8rem; color: var(--gold); line-height: 1.1; white-space: nowrap; }
.fact span { color: #a9b7bf; font-size: .95rem; }
@media (max-width: 800px) { .hero__facts { grid-template-columns: repeat(2, 1fr); margin-bottom: 56px; } }
@media (max-width: 420px) { .fact { padding: 18px 16px; } .fact strong { font-size: 1.3rem; } }

.page-hero {
  color: #fff;
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(254, 204, 0, .14), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 80px 0 64px;
}
.page-hero p { color: #c3cfd5; font-size: 1.2rem; max-width: 720px; margin: 0; }
@media (max-width: 640px) { .page-hero { padding: 56px 0 44px; } .page-hero p { font-size: 1.1rem; } }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
}
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(254, 204, 0, .16);
  color: #a37f00;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card--new::before {
  content: "Novinka";
  position: absolute;
  top: 20px; right: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}
a.card { text-decoration: none; color: inherit; }
.card__more { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--text); }
.card h3 { padding-right: 76px; }
.card:not(.card--new) h3 { padding-right: 0; }
.link-more { font-weight: 700; text-decoration: none; }
.link-more::after { content: " →"; color: var(--gold-dark); }
.link-more:hover { color: var(--gold-text); }
.mt-lg { margin-top: 28px; }
.mb-lg { margin-bottom: 40px; }
.card__more::after { content: " →"; color: var(--gold-dark); }

/* Feature band (NIS2) */
.band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.band ul { list-style: none; padding: 0; margin: 0 0 28px; }
.band li { padding-left: 32px; position: relative; margin-bottom: 12px; color: #d5dde1; }
.band li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1517' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.band__panel {
  background: var(--ink-3);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 32px;
}
.band__panel h3 { color: #fff; }
.band__panel p { color: #c3cfd5; margin: 0; }
.band__panel .btn { margin-top: 20px; }
.band__panel ol { margin: 0; padding-left: 1.2em; color: #c3cfd5; }
.band__panel li { padding: 0; margin-bottom: 10px; color: #c3cfd5; }
.band__panel li::before { display: none; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 17px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1517' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Service detail blocks */
.service {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.service:last-child { border-bottom: 0; }
.service .card__icon { width: 64px; height: 64px; }
.service p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag {
  font-size: .85rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
@media (max-width: 640px) { .service { grid-template-columns: 1fr; gap: 12px; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--gold); }
.step::before { content: "0" counter(step); display: block; font-weight: 700; color: var(--gold-text); margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logos li { list-style: none; flex: 0 1 170px; }
@media (max-width: 420px) { .logos li { flex-basis: calc(50% - 8px); } }
.logos figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  padding: 10px;
}
.logos img { width: 78%; height: 46%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: opacity .2s, filter .2s; }
.logos figure:hover img { opacity: 1; filter: none; }
.logos .logo--full img { width: 100%; height: 100%; mix-blend-mode: multiply; }
.logos .logo--square img { height: 52%; }
.logos .logo--pale img { filter: grayscale(1) brightness(.7) contrast(2.5); mix-blend-mode: multiply; }
.logos .logo--invert img, .logos .logo--invert:hover img { filter: invert(1) grayscale(1); }
.logos ul, ul.logos { padding: 0; margin: 0; }
.logos .logo--symbol { gap: 6px; align-content: center; }
.logos .logo--symbol img { width: 46%; height: auto; }
.logos figcaption { font-weight: 700; font-size: .8rem; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; color: #333a3b; text-align: center; }

/* CTA */
.cta {
  background: var(--gold);
  color: var(--ink);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; font-size: 1.1rem; }
@media (max-width: 640px) { .cta { padding: 36px 24px; } }

/* Contact */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
.person { padding: 26px; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--muted); display: block; margin-bottom: 14px; }
.person a { display: block; text-decoration: none; font-weight: 600; margin-top: 4px; }
.person a:hover { color: var(--gold-text); }

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea, .form select {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #7d8a91;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form .req { font-weight: 400; color: var(--muted); }
.form__fallback {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
}
.form__fallback p { margin: 0 0 12px; }
.form__fallback .btn { padding: 10px 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form small { color: var(--muted); }

dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; font-weight: 600; }

.note {
  background: #fff8d6;
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 8px;
  color: #5a4a00;
}

/* Footer */
.site-footer { background: var(--ink); color: #a9b7bf; padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .footer__title { color: #fff; margin: 0 0 14px; font-size: 1rem; line-height: 1.6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 2px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.footer__logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer__bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Textová stránka (vyhlásenie o prístupnosti) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--text); }
.prose a:hover { color: var(--gold-text); }
.prose__meta { margin-top: 2em; color: var(--muted); font-size: .95rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
