/* STO Kozárovce – štýly (bez externých závislostí)
   Zemité farby: tmavá hnedá, oliva, terakota, piesok. */

:root {
  --dark: #26221b;
  --dark-2: #3b3428;
  --olive: #5d6a3a;
  --olive-soft: #edefe0;
  --clay: #bf6039;
  --clay-dark: #9f4b2a;
  --sand: #e7cfae;

  --bg: #fffdf9;
  --bg-alt: #f5efe5;
  --text: #2b261f;
  --muted: #6e6556;
  --border: #e7ddcd;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(38, 34, 27, .05), 0 8px 28px rgba(38, 34, 27, .07);
  --shadow-hover: 0 2px 6px rgba(38, 34, 27, .08), 0 18px 40px rgba(38, 34, 27, .14);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--clay); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header.is-scrolled {
  background: rgba(38, 34, 27, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-size: 1.15rem; letter-spacing: .01em; font-weight: 500;
}
.brand:hover { color: #fff; }
.brand strong { font-weight: 800; }
.brand-icon { width: 30px; height: 30px; color: var(--clay); flex: none; }

.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .88); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: background-color .15s, color .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* podstránky – hlavička je stále tmavá */
.site-header.is-solid { position: sticky; background: var(--dark); }

/* Dropdown menu */
.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px 8px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .88);
  transition: background-color .15s, color .15s;
}
.dropdown-toggle:hover, .dropdown.open .dropdown-toggle { color: #fff; background: rgba(255, 255, 255, .12); }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.dropdown.open .chev { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; z-index: 60;
  list-style: none; margin: 0; padding: 8px; border-radius: 14px; background: #fff;
  box-shadow: 0 18px 44px rgba(38, 34, 27, .22), 0 0 0 1px rgba(38, 34, 27, .06);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.nav-links .dropdown-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px; color: var(--dark); font-weight: 600;
}
.nav-links .dropdown-menu a:hover, .nav-links .dropdown-menu a[aria-current="page"] { background: var(--olive-soft); color: var(--olive); }
.dropdown-menu small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--clay); }

@media (max-width: 560px) {
  .site-header .brand span { display: none; }
  .nav-links a { padding: 8px 10px; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 760px);
  display: flex; align-items: center;
  color: #fff; background: var(--dark);
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(38, 34, 27, .94) 0%, rgba(38, 34, 27, .78) 38%, rgba(38, 34, 27, .25) 75%, rgba(38, 34, 27, .1) 100%),
    linear-gradient(0deg, rgba(38, 34, 27, .65) 0%, rgba(38, 34, 27, 0) 35%);
}
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700;
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--clay); }

.hero h1 {
  margin: 0; font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: .98;
  font-weight: 900; letter-spacing: -.035em;
}
.hero h1 .accent {
  display: block;
  background: linear-gradient(90deg, #ffffff 0%, var(--sand) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 32ch; margin: 22px 0 34px; font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: rgba(255, 255, 255, .86); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 650; text-decoration: none; line-height: 1;
  transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn .ico { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px rgba(191, 96, 57, .35); }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-ghost:hover { color: var(--dark); background: #fff; }

/* biela „stredová čiara“ stola na spodku hera */
.hero-net {
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--olive) 0 50%, var(--clay) 50% 100%);
}

/* ---------- Podstránka ---------- */
.page-head { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #56492f 100%); color: #fff; padding: 56px 0 64px; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--olive) 0 50%, var(--clay) 50% 100%); }
.page-head h1 { margin: 8px 0 12px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; font-weight: 900; letter-spacing: -.03em; }
.page-head p { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .65); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.subpage .section { padding: 72px 0 96px; }

/* ---------- Sekcie ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }

.kicker {
  margin: 0 0 10px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay);
}
.section-title {
  margin: 0 0 16px; font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.1; font-weight: 850; letter-spacing: -.025em;
  color: var(--dark);
}
.section-intro { max-width: 60ch; margin: 0 0 44px; color: var(--muted); font-size: 1.1rem; }
.subhead { margin: 56px 0 18px; font-size: 1.15rem; font-weight: 750; color: var(--dark); }
.muted { color: var(--muted); }

/* O klube */
.about { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.about .section-intro { margin-bottom: 0; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

.facts {
  margin: 0; padding: 8px 28px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.fact {
  display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; padding-top: 3px; }
.fact dd { margin: 0; font-weight: 650; color: var(--dark); }
@media (max-width: 440px) { .fact { grid-template-columns: 1fr; gap: 2px; } }

/* Dotácie */
.doc-grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.doc-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 26px 24px 22px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.doc-card::before {   /* farebný pásik hore */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--olive) 0 50%, var(--clay) 50% 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.doc-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.doc-card:hover::before { transform: scaleX(1); }
.doc-year { font-size: 2.4rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; color: var(--dark); }
.doc-text { font-size: .95rem; color: var(--muted); line-height: 1.5; }
.doc-meta {
  margin-top: auto; padding-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--olive); text-transform: uppercase;
}
.doc-card::after {
  content: ""; position: absolute; top: 24px; right: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--olive-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a3a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v11m0 0-4.5-4.5M12 16l4.5-4.5'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color .2s;
}

/* Podporujú nás */
.support { padding: 56px 0 64px; border-block: 1px solid var(--border); background: var(--bg); text-align: center; }
.support .kicker { margin-bottom: 28px; }
.partners {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px;
}
.partners li {
  flex: 1 1 220px; max-width: 300px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg);
}
.partners img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.partners span { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* Kontakt */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card {
  padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--bg);
}
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px;
  background: linear-gradient(145deg, var(--olive), #7a8750); color: #fff;
  box-shadow: 0 8px 18px rgba(93, 106, 58, .3);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 12px; font-size: 1.1rem; color: var(--dark); }
address { font-style: normal; }
.card .muted { margin: 14px 0 0; font-size: .95rem; }
.email-line { margin: 0; font-weight: 600; word-break: break-all; }

.people { list-style: none; margin: 0; padding: 0; }
.people li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.people li:first-child { padding-top: 0; }
.people li:last-child { border-bottom: 0; padding-bottom: 0; }
.person { font-weight: 650; }
.people a, .email-line a { text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-grid {
  display: grid; gap: 32px; grid-template-columns: 2fr 1fr; align-items: start;
  padding-top: 56px; padding-bottom: 40px;
}
.footer-addr { margin: 14px 0 0; line-height: 1.7; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.credit a { color: rgba(255, 255, 255, .72); text-decoration: underline; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-content { padding-bottom: 72px; }
}
.card-subhead { margin: 22px 0 8px !important; padding-top: 18px; border-top: 1px solid var(--border); font-size: 1rem !important; }
