/* ============================================================
   STYLES LEGAL — sdílený layout pro Obchodní podmínky + GDPR
   Cream + navy + gold, čistý text-heavy layout
   2026-05-14
   ============================================================ */

:root {
  --l-cream:        #faf6ec;
  --l-cream-warm:   #f5efde;
  --l-cream-soft:   #fdfbf3;
  --l-gold:         #c9a730;
  --l-gold-light:   #e5c44a;
  --l-navy:         #283669;
  --l-body:         #3a4055;
  --l-muted:        #6b7088;
  --l-line:         rgba(40, 54, 105, 0.10);
}

.body-legal {
  background: var(--l-cream);
  color: var(--l-body);
  font-family: 'Inter', 'Calibri', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.body-legal .container { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.body-legal .container-wide { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ╔══════════ NAV ══════════╗ */
.nav-legal {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--l-line);
  padding: 14px 0;
}
.nav-legal .row {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-legal .logo img {
  height: 32px;
  display: block;
  filter: saturate(1.08);
}
.nav-legal .nav-links {
  display: flex; list-style: none; gap: 26px; margin: 0; padding: 0;
}
.nav-legal .nav-links a {
  color: var(--l-navy);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-legal .nav-links a:hover { color: var(--l-gold); }
.nav-legal .nav-back {
  color: var(--l-muted) !important;
  font-size: 12.5px;
}

/* ╔══════════ HERO ══════════╗ */
.hero-legal {
  padding: 130px 0 50px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(229, 196, 74, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--l-cream) 0%, var(--l-cream-warm) 100%);
  text-align: center;
}
.hero-legal-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--l-gold);
  padding: 6px 16px;
  background: rgba(229, 196, 74, 0.10);
  border: 1px solid rgba(229, 196, 74, 0.32);
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero-legal-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--l-gold);
  box-shadow: 0 0 8px rgba(229, 196, 74, 0.7);
}
.hero-legal h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--l-navy);
  margin: 0 0 18px;
}
.hero-legal h1 em {
  font-style: italic;
  background: linear-gradient(120deg, #a07e1a 0%, var(--l-gold) 50%, #a07e1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-legal .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--l-muted);
  max-width: 640px;
  margin: 0 auto;
}
.hero-legal .legal-meta {
  margin-top: 22px;
  font-size: 11.5px;
  color: var(--l-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ╔══════════ CONTENT ══════════╗ */
.legal-content {
  padding: 70px 0 100px;
}
.legal-content article {
  background: #fff;
  border-radius: 20px;
  padding: 56px 56px 48px;
  box-shadow: 0 12px 32px -16px rgba(40, 54, 105, 0.18);
  border: 1px solid var(--l-line);
}
.legal-content h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--l-navy);
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--l-line);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2 .legal-num {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--l-gold);
  margin-right: 12px;
  font-weight: 400;
}
.legal-content h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--l-navy);
  margin: 28px 0 10px;
  letter-spacing: -0.005em;
}
.legal-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--l-body);
  margin: 0 0 14px;
}
.legal-content p strong { color: var(--l-navy); font-weight: 600; }
.legal-content ul, .legal-content ol {
  margin: 10px 0 18px;
  padding-left: 22px;
}
.legal-content li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--l-body);
  margin-bottom: 8px;
  padding-left: 4px;
}
.legal-content li::marker { color: var(--l-gold); }
.legal-content a {
  color: var(--l-gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed rgba(201, 167, 48, 0.40);
}
.legal-content a:hover { color: #a07e1a; border-bottom-color: var(--l-gold); }

.legal-callout {
  margin: 22px 0;
  padding: 20px 24px;
  background: var(--l-cream-soft);
  border-left: 3px solid var(--l-gold);
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  line-height: 1.6;
}
.legal-callout strong { color: var(--l-navy); font-weight: 600; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 13.5px;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--l-line);
  line-height: 1.5;
}
.legal-table th {
  background: var(--l-cream-warm);
  color: var(--l-navy);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.legal-table td:first-child {
  font-weight: 500;
  color: var(--l-navy);
  width: 35%;
}

/* TOC (jen GDPR má dlouhý seznam) */
.legal-toc {
  background: var(--l-cream-warm);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 0 0 30px;
}
.legal-toc-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--l-gold);
  margin-bottom: 10px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}
.legal-toc li {
  font-size: 13px;
  margin-bottom: 4px;
  break-inside: avoid;
}
.legal-toc a {
  border-bottom: none;
  color: var(--l-navy);
}
.legal-toc a:hover {
  color: var(--l-gold);
}
@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
}

/* ╔══════════ FOOTER ══════════╗ */
.footer-legal {
  background: linear-gradient(180deg, var(--l-cream-warm) 0%, #ede4cd 100%);
  border-top: 1px solid var(--l-line);
  padding: 36px 0 28px;
}
.footer-legal .container-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--l-muted);
}
.footer-legal a {
  color: var(--l-gold);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-legal a:hover { text-decoration: underline; }
.footer-legal .footer-sep { color: var(--l-line); margin: 0 6px; }

@media (max-width: 720px) {
  .legal-content article { padding: 36px 24px; }
  .legal-content h2 { font-size: 20px; }
}

/* ╔══════════ LANG SWITCHER — light nav override (legal) ══════════╗ */
.nav-legal .lang-switcher {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid var(--l-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  list-style: none;
  cursor: default;
  margin: 0;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav-legal .lang-switcher:hover {
  border-color: var(--l-gold);
  background: rgba(255, 255, 255, 0.85);
}
.nav-legal .lang-switcher > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 1;
  border-radius: 50%;
  text-decoration: none;
  opacity: 0.5;
  filter: grayscale(35%);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease, background 180ms ease;
}
.nav-legal .lang-switcher > a:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.12);
  background: rgba(229, 196, 74, 0.10);
}
.nav-legal .lang-switcher > a.active {
  opacity: 1;
  filter: grayscale(0);
  background: rgba(229, 196, 74, 0.18);
  box-shadow: 0 0 0 1px rgba(201, 167, 48, 0.45);
  cursor: default;
}
.nav-legal .lang-switcher > a.active:hover { transform: none; }
