/* =========================================================
   Jaroslav Stančák — Kampaňový web (Nad jazerom / Košice)
   Design System, Typografia, Pixel-Perfect UI & Responzivita
   ========================================================= */

:root {
  /* Farebná paleta — Deep Emerald & Fresh Eco Palette */
  --green-950: #041f17;
  --green-900: #0b3d2e;
  --green-800: #0f543f;
  --green-700: #126e53;
  --green-600: #108e69;
  --green-500: #10b981;
  --green-200: #c6e9db;
  --green-100: #e6f4ee;
  --green-50:  #f0f8f4;
  
  /* Akcenty */
  --gold: #d4a017;
  --gold-hover: #b88a12;
  --gold-soft: #f4c95f;
  --gold-glow: rgba(244, 201, 95, 0.25);
  --amber-accent: #f59e0b;
  
  /* Neutrálne farby */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --white: #ffffff;
  --bg: #f8faf8;
  --bg-alt: #f1f6f3;
  
  /* Stiene */
  --shadow-sm: 0 2px 8px rgba(11, 61, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 61, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 61, 46, 0.12);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);
  
  /* Polomery a Rozmery */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --max: 1200px;
  --header-h: 76px;
  
  /* Typografia */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
  
  /* Tranzície */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-normal: 0.25s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--green-900);
}

/* Accessibility Focus States */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Typografia & Balans Nadpisov */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.45rem);
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  left: 1.5rem;
  top: 0;
}

/* Header & Navigácia */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 248, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  min-height: 48px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 61, 46, 0.25);
  border: 1px solid rgba(244, 201, 95, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--green-900);
  background: var(--green-100);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-900), var(--green-800)) !important;
  color: var(--white) !important;
  padding: 0.65rem 1.35rem !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 14px rgba(11, 61, 46, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--green-800), var(--green-700)) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 61, 46, 0.3);
}

.pwa-install {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-900);
  background: var(--green-100);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.pwa-install:hover {
  background: var(--green-200);
  border-color: var(--green-500);
  transform: translateY(-1px);
}

.pwa-install[hidden] {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--green-50);
  border-color: var(--green-200);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Tlačidlá */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.6rem;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(11, 61, 46, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(11, 61, 46, 0.32);
}

.btn-outline {
  background: var(--white);
  border-color: var(--green-900);
  color: var(--green-900);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--green-100);
  color: var(--green-900);
  border-color: var(--green-800);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--green-950);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.4);
}

.btn-block {
  width: 100%;
}

/* Hero Sekcia */
.hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(244, 201, 95, 0.16), transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.1), transparent 50%),
    linear-gradient(180deg, var(--green-50), var(--bg));
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.hero .portrait-frame {
  aspect-ratio: 1 / 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-800);
  background: var(--green-100);
  border: 1px solid var(--green-200);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-800);
  margin: -0.2rem 0 1.25rem;
}

.hero-roles .dot {
  color: var(--amber-accent);
  font-size: 1.3rem;
  line-height: 1;
}

.hero-lead {
  font-size: 1.22rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-points {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 160, 23, 0.5);
}

.portrait-card {
  position: relative;
  transform-style: preserve-3d;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--green-800), var(--green-950));
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform var(--transition-normal);
}

.portrait-card:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-img.is-missing {
  display: none;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(244, 201, 95, 0.22), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
}

.portrait-fallback[hidden] {
  display: none;
}

.portrait-initials {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 0.85rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.portrait-fallback p {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.portrait-fallback small {
  opacity: 0.75;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.portrait-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.portrait-badge strong {
  font-family: var(--font-display);
  color: var(--green-950);
  font-size: 1.05rem;
  font-weight: 800;
}

.portrait-badge span {
  color: var(--green-800);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Strip Sekcia */
.strip {
  background: linear-gradient(135deg, var(--green-950), var(--green-900));
  color: var(--white);
  padding: 1.6rem 0;
  border-block: 1px solid rgba(244, 201, 95, 0.2);
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.strip-item {
  flex: 1 1 220px;
}

.strip-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-soft);
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.strip-item strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.strip-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  align-self: center;
}

/* Sekcie Všeobecne */
.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-dark {
  background: linear-gradient(160deg, var(--green-950), var(--green-900));
  color: var(--white);
}

.section-dark h2 {
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 0.85rem;
}

.section-label.light {
  color: var(--gold-soft);
}

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
}

.section-sub.left {
  text-align: left;
}

.lead {
  font-size: 1.25rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.65;
}

.light-text {
  color: rgba(255, 255, 255, 0.9);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1fr 0.9fr;
}

/* Karty */
.info-card,
.quote-card,
.role-card,
.program-card,
.value,
.stat-box,
.media-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.info-card {
  padding: 1.8rem 1.6rem;
  border-top: 4px solid var(--green-800);
}

.info-card h3 {
  margin-bottom: 1.2rem;
  color: var(--green-900);
  font-size: 1.35rem;
}

.facts {
  margin: 0;
}

.facts > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.facts > div:last-child {
  border-bottom: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.facts dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

/* Karta Úloh a Kandidatúry */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.role-card {
  padding: 2rem 1.75rem;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.role-num {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-900);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.role-card ul {
  margin: 1rem 0 0;
  padding: 0 0 0 1.25rem;
  color: var(--ink-soft);
}

.role-card li {
  margin-bottom: 0.45rem;
}

/* Program Sekcia */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.program-card {
  padding: 1.75rem 1.5rem;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-500);
  box-shadow: var(--shadow-lg);
}

.program-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 12px rgba(11, 61, 46, 0.2);
}

.program-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Špecifické Karty / Quote / Values */
.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.02rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 1.1rem;
}

.quote-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  padding: 2.25rem 2rem;
  color: var(--white);
}

.quote-card blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.45;
  font-weight: 600;
}

.quote-card cite {
  color: var(--gold-soft);
  font-style: normal;
  font-weight: 700;
}

/* Hodnoty */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value {
  padding: 1.6rem 1.35rem;
}

.value:hover {
  transform: translateY(-3px);
  border-color: var(--green-500);
}

.value h3 {
  color: var(--green-900);
  font-size: 1.2rem;
}

.value p {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}

/* Štatistiky / Trash Heroes */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-box {
  padding: 1.6rem 1.2rem;
  text-align: center;
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--green-500);
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.1;
  margin-bottom: 0.45rem;
}

.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.inline-quote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
  background: var(--green-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-950);
  font-size: 1.08rem;
}

.th-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Médiá */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem;
  color: inherit;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-500);
  box-shadow: var(--shadow-lg);
}

.media-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--green-100);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.media-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.media-card p {
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
  margin-bottom: 1rem;
}

.media-link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-700);
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* CTA Sekcia */
.cta {
  background: linear-gradient(135deg, var(--green-950), var(--green-900));
  color: var(--white);
  padding: 3.5rem 0;
  border-block: 1px solid rgba(244, 201, 95, 0.2);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 44ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Kontakt Sekcia */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.cl-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-list a {
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--green-900);
}

.socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.socials a {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.socials a:hover {
  background: var(--green-100);
  border-color: var(--green-500);
  color: var(--green-950);
}

.contact-form {
  padding: 2rem 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  outline: none;
  width: 100%;
  min-height: 48px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  background: var(--white);
}

.form-note {
  margin: 1rem 0 0;
  min-height: 1.4em;
  color: var(--green-700);
  font-weight: 700;
}

.form-note.error {
  color: #d97706;
}

/* KEstudio Credit Sekcia */
.hero-credit {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-credit .muted {
  margin-right: 0.35rem;
}

.hero-credit a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.hero-credit a:hover {
  color: var(--green-900);
}

.ke-section {
  padding: 2.25rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.ke-minimal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.ke-min-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.ke-min-copy {
  flex: 1 1 240px;
  min-width: 0;
}

.ke-min-label {
  margin: 0 0 0.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ke-min-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.ke-min-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 40rem;
}

/* Footer Sekcia */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 2.5rem;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.65);
}

.footer-tag {
  margin: 1rem 0 0;
  color: var(--gold-soft);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 0.2rem 0;
}

.footer-nav a:hover {
  color: var(--gold-soft);
}

.footer-legal p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.fineprint {
  opacity: 0.7;
  font-size: 0.85rem !important;
  line-height: 1.5;
}

/* Back to Top Tlačidlo */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--green-900);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 90;
  display: grid;
  place-items: center;
}

.to-top:hover {
  background: var(--green-800);
  transform: translateY(-3px);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   100% Responzivita & Media Queries
   ========================================================= */

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .split.reverse,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .program-grid,
  .media-grid,
  .values,
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    order: -1;
    max-width: 440px;
    margin-inline: auto;
  }

  .strip-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(248, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 2rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.95rem 0.75rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.75rem;
  }

  .cards-2,
  .program-grid,
  .media-grid,
  .stats-row,
  .values,
  .form-row {
    grid-template-columns: 1fr;
  }

  .facts > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .strip-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions,
  .th-links {
    flex-direction: column;
    width: 100%;
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
