/* ============================================================
   FBK Gepardi Ostrava — náborový web
   v1.0 — tmavá + zlatá, gepardí charakter
   ============================================================ */

/* ---------- 1. Proměnné ---------- */
:root {
  /* klubové barvy Gepardů */
  --night-950: #05080c;
  --night-900: #0a0d12;
  --night-800: #101820;
  --night-700: #18222d;
  --night-600: #232f3d;

  --gold-700: #8a6300;
  --gold-600: #ab800c;
  --gold-500: #d4a017;
  --gold-400: #edb210;
  --gold-300: #ffd400;
  --gold-200: #ffe45c;

  --cream: #fcf4de;
  --cream-dark: #f7ebcf;

  --ink: #0d1218;
  --ink-soft: #3c4653;
  --muted: #6b7686;
  --bg: #f7f5ef;
  --surface: #ffffff;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(5, 8, 12, 0.06);
  --shadow-sm: 0 2px 8px rgba(5, 8, 12, 0.08);
  --shadow: 0 8px 24px rgba(5, 8, 12, 0.10);
  --shadow-md: 0 14px 40px rgba(5, 8, 12, 0.14);
  --shadow-lg: 0 24px 60px rgba(5, 8, 12, 0.20);
  --shadow-gold: 0 12px 32px rgba(237, 178, 16, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms var(--ease);
  --normal: 280ms var(--ease);
  --slow: 520ms var(--ease);

  --container: 1180px;
  --nav-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

::selection { background: var(--gold-300); color: var(--night-900); }

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Komponenty ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  margin-bottom: 0.45em;
}
.section-lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.4em;
}

/* tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform var(--fast), box-shadow var(--normal), background var(--normal);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 55%, var(--gold-500) 100%);
  color: var(--night-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(237, 178, 16, 0.40);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--night-800);
  color: #fff;
}
.btn-dark:hover { background: var(--night-700); transform: translateY(-2px); }

/* ---------- 4. Navigace ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--normal), box-shadow var(--normal), height var(--normal);
}
.nav.scrolled {
  background: rgba(10, 13, 18, 0.92);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  height: 66px;
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}
.nav-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.nav-brand span { line-height: 1.1; }
.nav-brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-400);
  opacity: 0.95;
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--fast), background var(--fast);
}
#nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.10); }
#nav-links a[aria-current="page"] {
  color: var(--night-900);
  background: var(--gold-400);
}

.nav-cta {
  padding: 11px 22px !important;
  font-size: 0.85rem !important;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500)) !important;
  color: var(--night-900) !important;
  box-shadow: var(--shadow-gold);
}
.nav-cta:hover { transform: translateY(-1px); }

#hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  transition: background var(--fast);
}
#hamburger:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- 5. Progress bar ---------- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 950;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-400), var(--gold-600));
  transition: width 80ms linear;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  overflow: hidden;
  background: var(--night-900);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center right;
  z-index: -2;
  transform: scale(1.02);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(5, 8, 12, 0.97) 0%, rgba(5, 8, 12, 0.92) 28%, rgba(5, 8, 12, 0.62) 52%, rgba(5, 8, 12, 0.28) 72%, rgba(5, 8, 12, 0.55) 100%),
    radial-gradient(ellipse 70% 80% at 15% 45%, rgba(237, 178, 16, 0.10), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 64px;
  background: linear-gradient(to top, rgba(247, 245, 239, 0.92), rgba(247, 245, 239, 0));
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.hero-inner {
  max-width: 660px;
  margin-left: max(0px, calc((100% - var(--container)) / 2));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(237, 178, 16, 0.12);
  border: 1.5px solid rgba(237, 178, 16, 0.42);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.65); }
  70% { box-shadow: 0 0 0 12px rgba(255, 212, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); }
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 0.42em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero h1 .accent {
  color: var(--gold-300);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.16em;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  border-radius: 2px;
  opacity: 0.55;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 580px;
  margin-bottom: 2em;
  line-height: 1.7;
}
.hero-lead strong { color: var(--gold-300); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.6em;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  max-width: 640px;
  padding-top: 1.6em;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-fact {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  white-space: nowrap;
}
.hero-fact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: opacity var(--normal);
}
.hero-scroll svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 2.4;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.hero-scroll.hidden { opacity: 0; pointer-events: none; }

/* ---------- 7. Sekce ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-dark {
  background: var(--night-900);
  color: #fff;
}
.section-dark .section-lead { color: rgba(255, 255, 255, 0.68); }
.section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: var(--gold-300); }

/* ---------- 8. Karty výhod ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid rgba(13, 18, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform var(--normal), box-shadow var(--normal), border-color var(--normal);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--normal);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(237, 178, 16, 0.35);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(237, 178, 16, 0.16), rgba(237, 178, 16, 0.06));
  color: var(--gold-600);
}
.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5em;
  color: var(--ink);
}
.card p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* tmavá varianta karet */
.section-dark .card {
  background: var(--night-800);
  border-color: rgba(255, 255, 255, 0.08);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: rgba(255, 255, 255, 0.66); }
.section-dark .card-icon {
  background: linear-gradient(135deg, rgba(237, 178, 16, 0.22), rgba(237, 178, 16, 0.08));
  color: var(--gold-300);
}

/* ---------- 9. Split (text + obrázek) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.split-body h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.split-body p { color: var(--muted); }
.split-body ul { color: var(--muted); }
.split-body ul li::marker { color: var(--gold-500); }

/* ---------- 10. Kroky ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  position: relative;
  padding: 34px 24px 26px;
  background: var(--surface);
  border: 1px solid rgba(13, 18, 24, 0.07);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--night-900);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}
.step { margin-top: 18px; }
.step h3 { font-size: 1.02rem; margin: 0 0 0.5em; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- 11. FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid rgba(13, 18, 24, 0.1);
  padding: 4px 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  transition: color var(--fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-600); }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  background-image:
    linear-gradient(var(--gold-500), var(--gold-500)),
    linear-gradient(var(--gold-500), var(--gold-500));
  background-size: 10px 2px, 2px 10px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform var(--normal), background-size var(--normal);
}
.faq details[open] summary::after {
  transform: rotate(180deg);
  background-size: 10px 2px, 2px 0px;
}
.faq details[open] summary { color: var(--gold-600); }
.faq-body {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 92%;
}
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- 12. Banner před footer ---------- */
.emotive-banner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--night-900);
}
.emotive-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: -2;
}
.emotive-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.92) 0%, rgba(5, 8, 12, 0.74) 42%, rgba(5, 8, 12, 0.95) 100%),
    radial-gradient(ellipse at 50% 120%, rgba(237, 178, 16, 0.22), transparent 60%);
}
.emotive-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}
.emotive-content h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.4em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.emotive-content h2 .accent { color: var(--gold-300); }
.emotive-content p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin: 0 auto 2em;
}
.emotive-hashtag {
  display: inline-block;
  margin-top: 2.4em;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(237, 178, 16, 0.14);
  border: 1px solid rgba(237, 178, 16, 0.42);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-300);
  backdrop-filter: blur(8px);
}

/* ---------- 13. Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.contact-item {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid rgba(13, 18, 24, 0.08);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--normal), box-shadow var(--normal);
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-item .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-item a, .contact-item strong {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--ink);
}
.contact-item a:hover { color: var(--gold-600); }

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--night-950);
  color: rgba(255, 255, 255, 0.66);
  padding: 64px 0 30px;
  font-size: 0.9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.footer-brand small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 700;
}
.footer h3 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.55em; }
.footer a { transition: color var(--fast); }
.footer a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- 15. Back to top ---------- */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--night-900);
  box-shadow: var(--shadow-gold);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity var(--normal), transform var(--normal);
  z-index: 880;
}
#backToTop.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#backToTop:hover { transform: translateY(-3px) scale(1.04); }
#backToTop svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 16. Reveal animace ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge-dot, .hero-scroll svg { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- 17. Podstránky ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 70px;
  background: var(--night-900);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(237, 178, 16, 0.16), transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(237, 178, 16, 0.06), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  color: #fff;
  max-width: 820px;
  margin-bottom: 0.5em;
}
.page-hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 660px;
  margin: 0;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumbs li { margin: 0; }
.breadcrumbs a { color: var(--gold-400); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul li::marker { color: var(--gold-500); }
.prose a { color: var(--gold-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-600); }

.callout {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 4px solid var(--gold-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(90deg, rgba(237, 178, 16, 0.10), rgba(237, 178, 16, 0.02));
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

.cta-box {
  margin-top: 56px;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  background: var(--night-900);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(237, 178, 16, 0.18), transparent 65%);
}
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: 1.65rem; }
.cta-box p { color: rgba(255, 255, 255, 0.78); max-width: 520px; margin: 0 auto 1.8em; }

/* ---------- 18. Responzivita ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-media { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }

  #hamburger { display: flex; }

  #nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100svh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 96px 22px 32px;
    margin: 0;
    background: rgba(8, 11, 16, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    transition: transform var(--normal);
    overflow-y: auto;
    z-index: 940;
  }
  #nav-links.show { transform: none; }
  #nav-links a {
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 12px;
  }
  #nav-links .nav-cta {
    margin-top: 16px;
    text-align: center;
    padding: 16px 22px !important;
    font-size: 0.95rem !important;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 56px) 0 130px;
  }
  .hero-bg {
    background-image: url("assets/hero-mobile.webp");
    background-position: center bottom;
  }
  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(5, 8, 12, 0.94) 0%,
        rgba(5, 8, 12, 0.90) 34%,
        rgba(5, 8, 12, 0.70) 58%,
        rgba(5, 8, 12, 0.42) 80%,
        rgba(5, 8, 12, 0.60) 100%);
  }
  .hero-inner { margin-left: 0; max-width: 100%; }
  .hero h1 { font-size: clamp(1.95rem, 8.2vw, 2.9rem); }
  .hero h1 .accent { white-space: normal; }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 8px 18px; padding-top: 1.3em; }
  .hero-fact { font-size: 0.82rem; white-space: normal; }
  .hero-scroll { display: none; }

  .section { padding: 64px 0; }
  .section-lead { margin-bottom: 1.8em; }
  .card { padding: 26px 22px; }
  .emotive-banner { min-height: 380px; }
  .emotive-content { padding: 70px 20px; }
  .cta-box { padding: 34px 24px; }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 52px; }
  .faq summary { font-size: 0.97rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  #backToTop { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

@media (min-width: 861px) and (max-height: 780px) {
  .hero { padding: calc(var(--nav-h) + 26px) 0 74px; min-height: 88vh; }
  .hero h1 { font-size: clamp(1.85rem, 3.6vw, 3.0rem); }
  .hero-badge { margin-bottom: 18px; padding: 7px 16px 7px 12px; }
  .hero-lead { margin-bottom: 1.5em; }
  .hero-actions { margin-bottom: 1.8em; }
  .hero-facts { padding-top: 1.2em; }
}

/* ---------- 19. Tisk ---------- */
@media print {
  .nav, #progress-bar, #backToTop, .hero-scroll, #hamburger { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { min-height: auto; color: #000; background: #fff; padding: 20px 0; }
  .hero-bg, .hero::before, .hero::after { display: none; }
  .hero h1, .hero h1 .accent, .hero-lead { color: #000; text-shadow: none; }
  a { text-decoration: underline; }
}

/* ---------- 20. Kontaktní formulář ---------- */
.contact-form-wrap {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid rgba(13, 18, 24, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-title {
  font-size: 1.35rem;
  margin: 0 0 0.3em;
  color: var(--ink);
}
.form-sub {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0 0 1.8em;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.contact-form .form-row .form-field { margin-bottom: 0; }

.form-field label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.form-field label span { color: var(--gold-600); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfaf6;
  border: 1.5px solid rgba(13, 18, 24, 0.13);
  border-radius: var(--radius-xs);
  transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7686' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.form-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: #a8b0bc; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(237, 178, 16, 0.18);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #c8342e;
  background: #fdf3f2;
}

/* honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 22px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.form-actions .btn { min-width: 190px; }
.form-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  flex: 1 1 220px;
}
.form-status.is-success { color: #1d7a3e; }
.form-status.is-error { color: #c8342e; }

@media (max-width: 640px) {
  .contact-form-wrap { padding: 28px 20px; margin-top: 32px; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .form-row .form-field { margin-bottom: 18px; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .form-status { text-align: center; }
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: #98a1ae;
}

.form-consent span[aria-hidden] { color: var(--gold-600); }

/* ---------- 21. Sociální sítě ---------- */
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-social li { margin-bottom: 0.6em; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
  transition: color var(--fast), transform var(--fast);
}
.footer-social a:hover {
  color: var(--gold-400);
  transform: translateX(2px);
}
.footer-social img {
  width: 22px;
  height: 22px;
  opacity: 0.85;
  transition: opacity var(--fast);
}
.footer-social a:hover img { opacity: 1; }

.hero-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.9em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-social-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 4px;
}
.hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  transition: background var(--fast), border-color var(--fast), transform var(--fast);
}
.hero-social a:hover {
  background: rgba(237, 178, 16, 0.18);
  border-color: rgba(237, 178, 16, 0.55);
  transform: translateY(-2px);
}
.hero-social img {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}
.hero-social a:hover img { opacity: 1; }

@media (max-width: 860px) {
  .hero-social { margin-top: 1.5em; padding-top: 1.2em; }
  .hero-social a { width: 40px; height: 40px; }
}

/* patička: 4 sloupce se sociálními sítěmi */
@media (min-width: 1101px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr 0.9fr; }
}
@media (max-width: 1100px) and (min-width: 981px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-social-col { grid-column: 1 / -1; }
  .footer-social { display: flex; gap: 26px; flex-wrap: wrap; }
  .footer-social li { margin-bottom: 0; }
}
@media (max-width: 980px) {
  .footer-social { display: flex; gap: 24px; flex-wrap: wrap; }
  .footer-social li { margin-bottom: 0; }
}
