/* ===== DESIGN TOKENS ===== */
:root {
  /* BRAND-SPECIFIC */
  --color-primary:      #005DEB;
  --color-primary-dark: #0045AF;
  --color-accent:       #45FFAC;

  /* Neutral */
  --color-bg:          #F8F9FA;
  --color-surface:     #FFFFFF;
  --color-border:      #E2E8F0;
  --color-text:        #1A1A2E;
  --color-text-muted:  #64748B;

  /* BRAND-SPECIFIC */
  --font-display: 'Special Gothic Expanded One', sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Layout */
  --sidebar-width:     300px;
  --content-max-width: 960px;
  --page-padding:      48px;
  --header-height:     64px;
  --radius:            8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow:    0 2px 6px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 500; }
h3 { font-size: 16px; font-weight: 500; }
p  { font-size: 15px; line-height: 1.7; color: var(--color-text-muted); }
code, .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--color-bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

/* ===== LAYOUT ===== */
.layout-wrapper {
  display: flex;
  min-height: 100vh;
}
.main-content {
  flex: 1;
  min-width: 0;
  padding: var(--page-padding);
}
.content-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}
#site-sidebar-wrap {
  width: var(--sidebar-width);
  flex-shrink: 0;
}

/* ===== SIDEBAR ===== */
.site-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 200;
}
.sidebar-logo {
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-logo a {
  display: block;
  margin-bottom: 6px;
}
.sidebar-logo img {
  height: 28px;
  width: auto;
}
.sidebar-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.sidebar-nav {
  flex: 1;
  padding: 16px 0;
}
.sidebar-nav ul { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  transition: background .15s, color .15s;
  position: relative;
}
.sidebar-nav li a svg { flex-shrink: 0; opacity: .7; transition: opacity .15s; }
.sidebar-nav li a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.sidebar-nav li a:hover svg { opacity: 1; }
.sidebar-nav li a.is-active {
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 500;
}
.sidebar-nav li a.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--color-accent);
}
.sidebar-nav li a.is-active svg { opacity: 1; }
.sidebar-download {
  padding: 8px 12px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 8px;
}
.sidebar-download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-accent);
  transition: background .15s, box-shadow .15s;
}
.sidebar-download-btn svg { flex-shrink: 0; opacity: .85; }
.sidebar-download-btn:hover {
  background: #2de89a;
  box-shadow: 0 4px 16px rgba(69,255,172,.35);
}
.sidebar-download-btn.is-active {
  box-shadow: 0 4px 16px rgba(69,255,172,.4);
}
.sidebar-footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 11px;
  color: rgba(255,255,255,.3);
}
.sidebar-footer a { color: rgba(255,255,255,.45); transition: color .15s; }
.sidebar-footer a:hover { color: rgba(255,255,255,.8); }

/* ===== HEADER (mobile only) ===== */
.site-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--header-height);
  background: var(--color-primary);
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo img { height: 24px; width: auto; }
.header-logo span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mobile-overlay.is-visible { opacity: 1; pointer-events: auto; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-primary);
  padding: 20px 28px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: rgba(255,255,255,.5); transition: color .15s; }
.site-footer a:hover { color: rgba(255,255,255,.9); }

/* ===== PAGE HEADER ===== */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.page-header .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.page-header h1 { color: var(--color-text); margin-bottom: 10px; }
.page-header p { max-width: 520px; }

/* ===== SECTIONS ===== */
.section { margin-bottom: 48px; }
.section-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

/* ===== CARD ===== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* ===== GRIDS ===== */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }

/* ===== LOGO VARIANTS ===== */
.logo-variants-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-card {
  border-radius: calc(var(--radius) * 1.5);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--color-border);
  min-height: 140px;
  justify-content: center;
}
.logo-card img { max-height: 48px; width: auto; }
.logo-card .logo-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.logo-bg-light  { background: var(--color-surface); }
.logo-bg-light .logo-label { color: var(--color-text-muted); }
.logo-bg-dark   { background: var(--color-text); }
.logo-bg-dark .logo-label { color: rgba(255,255,255,.5); }
.logo-bg-primary { background: var(--color-primary); }
.logo-bg-primary .logo-label { color: rgba(255,255,255,.5); }
.logo-bg-grey   { background: #E2E8F0; }
.logo-bg-grey .logo-label { color: var(--color-text-muted); }

/* ===== ANIMATED GRADIENT ===== */
@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-animated {
  background: linear-gradient(90deg, #005DEB, #052356, #005DEB);
  background-size: 200% 100%;
  animation: gradient-flow 8s ease infinite;
}

/* ===== COLOR SWATCHES ===== */
.swatches-primary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.swatch-card {
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.swatch-color {
  height: 120px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.swatch-meta { padding: 16px 20px 20px; background: var(--color-surface); }
.swatch-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 10px;
}
.swatch-values { display: flex; flex-direction: column; gap: 4px; }
.swatch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.swatch-row .label {
  font-weight: 600;
  color: var(--color-text-muted);
  width: 48px;
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.swatch-row .value { font-family: var(--font-mono); color: var(--color-text); }
.hex-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background .15s;
  margin-top: 8px;
}
.hex-copy:hover { background: var(--color-primary-dark); }
.hex-copy.copied { background: #198754; }

.swatches-neutral { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.swatch-neutral {
  flex: 1;
  min-width: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.swatch-neutral-color { height: 56px; }
.swatch-neutral-info { padding: 8px 10px; background: var(--color-surface); }
.swatch-neutral-info .name { font-size: 11px; font-weight: 600; color: var(--color-text); }
.swatch-neutral-info .hex  { font-family: var(--font-mono); font-size: 11px; color: var(--color-text-muted); }

/* Color combos / WCAG */
.color-combos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.combo-card {
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.combo-sample { font-size: 18px; font-family: var(--font-display); letter-spacing: 0.04em; font-weight: 700; }
.combo-label { font-size: 11px; opacity: .6; }
.wcag-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.wcag-aaa { background: #D1FAE5; color: #065F46; }
.wcag-aa  { background: #DBEAFE; color: #1E40AF; }

/* ===== TYPOGRAPHY UI EXAMPLES ===== */
.typo-examples { display: flex; flex-direction: column; gap: 28px; }

.typo-example {
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.typo-example-meta {
  padding: 10px 16px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.typo-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.typo-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.typo-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.typo-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.typo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,35,86,.92) 0%, rgba(0,69,175,.5) 55%, rgba(0,93,235,.1) 100%);
}

.typo-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 44px;
}

.typo-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.typo-card-body {
  padding: 24px 28px;
  background: var(--color-surface);
}

.typo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.typo-split-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.typo-split-body {
  padding: 36px 32px;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== TYPOGRAPHY PAGE ===== */
.font-showcase { margin-bottom: 32px; }
.font-specimen {
  font-size: 56px;
  line-height: 1;
  margin: 16px 0;
  letter-spacing: 0.04em;
}
.font-specimen-body { font-size: 32px; line-height: 1.2; margin: 16px 0; }
.font-alphabet {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  word-break: break-all;
}
.font-weights { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.font-weight-item { font-size: 20px; }

.type-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.type-table th, .type-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
}
.type-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg);
}

/* ===== MINIMÁLNÍ VELIKOSTI ===== */
.sizes-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 24px; }
.sizes-table th, .sizes-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}
.sizes-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg);
}
.size-demo-wrap {
  position: relative;
  display: inline-block;
  padding: 24px;
}
.size-demo-minline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #EF4444 0, #EF4444 6px, transparent 6px, transparent 12px);
}
.size-demo-label {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #EF4444;
  letter-spacing: 0.06em;
}

/* ===== OCHRANNÁ ZÓNA ===== */
.zone-diagram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) * 1.5);
  margin-bottom: 24px;
  min-height: 220px;
}
.zone-outer {
  position: relative;
  border: 2px dashed #F59E0B;
  padding: 28px;
  display: inline-block;
}
.zone-arrow {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  color: #F59E0B;
  letter-spacing: 0.06em;
}
.zone-arrow-top    { top: -18px; left: 50%; transform: translateX(-50%); }
.zone-arrow-right  { right: -32px; top: 50%; transform: translateY(-50%); }
.zone-arrow-bottom { bottom: -18px; left: 50%; transform: translateX(-50%); }
.zone-arrow-left   { left: -32px; top: 50%; transform: translateY(-50%); }
.zone-logo { height: 40px; width: auto; }

/* ===== ZAKÁZANÉ VARIANTY ===== */
.forbidden-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.forbidden-card {
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}
.forbidden-preview {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  position: relative;
}
.forbidden-preview img { height: 36px; width: auto; }
.forbidden-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.forbidden-info { padding: 14px 16px; background: var(--color-surface); }
.forbidden-info h4 { font-size: 12px; font-weight: 600; color: var(--color-text); margin-bottom: 4px; letter-spacing: 0; font-family: var(--font-body); }
.forbidden-info p  { font-size: 12px; }

/* ===== MOCKUPY ===== */
.mockups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mockup-card {
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
  position: relative;
}
.mockup-card:hover .mockup-overlay { opacity: 1; }
.mockup-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.mockup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,93,235,.6);
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}
.mockup-caption {
  padding: 12px 14px;
  background: var(--color-surface);
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ===== KE STAŽENÍ ===== */
.download-section { margin-bottom: 32px; }
.format-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.format-pdf { background: #FEE2E2; color: #991B1B; }
.format-eps { background: #F3E8FF; color: #6B21A8; }
.format-svg { background: #D1FAE5; color: #065F46; }
.download-list { display: flex; flex-direction: column; gap: 10px; }
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  gap: 16px;
}
.download-item-info { display: flex; flex-direction: column; gap: 2px; }
.download-item-name { font-size: 14px; font-weight: 500; color: var(--color-text); }
.download-item-desc { font-size: 12px; color: var(--color-text-muted); }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background .15s;
}
.btn-download:hover { background: var(--color-primary-dark); }
.btn-download-pending {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: default;
}
.btn-download-pending:hover { background: var(--color-border); }

.btn-download[data-hint] { position: relative; }
.btn-download[data-hint]::after {
  content: attr(data-hint);
  position: absolute;
  bottom: calc(100% + 7px);
  right: 0;
  background: var(--color-text);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
  z-index: 10;
}
.btn-download[data-hint]:hover::after { opacity: 1; }

/* ===== HERO (index.html) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,69,175,.85) 0%, rgba(0,93,235,.3) 50%, rgba(0,93,235,.05) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 72px;
  max-width: 640px;
}
.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  max-width: 440px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-text);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(69,255,172,.35); }

/* Hero: no sidebar spacer on index */
.hero-page .layout-wrapper { min-height: unset; }
.hero-page #site-sidebar-wrap { display: none; }
.hero-page .site-header { display: none !important; }

/* ===== KONTAKT ===== */
.contact-card {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}
.contact-photo-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg);
  border: 3px solid var(--color-border);
}
.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-body { flex: 1; }
.contact-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.contact-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.contact-note {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  max-width: 400px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: color .15s;
}
.contact-link svg { color: var(--color-primary); flex-shrink: 0; }
.contact-link:hover { color: var(--color-primary); }

@media (max-width: 600px) {
  .contact-card { flex-direction: column; align-items: center; text-align: center; }
  .contact-note { max-width: 100%; }
  .contact-links { align-items: center; }
}

/* ===== PLACEHOLDER ===== */
.placeholder-box {
  background: var(--color-bg);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
  font-style: italic;
  min-height: 100px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root { --page-padding: 24px; }

  .site-header { display: flex; }
  #site-sidebar-wrap { width: 0; }

  .site-sidebar {
    position: fixed;
    right: -280px;
    width: 280px;
    transition: right .25s cubic-bezier(.4,0,.2,1);
    z-index: 250;
  }
  .site-sidebar.is-open { right: 0; }

  .mobile-overlay { display: block; }

  .grid-2, .grid-3, .grid-4,
  .logo-variants-grid, .swatches-primary,
  .forbidden-grid, .mockups-grid, .color-combos,
  .typo-split { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-content { padding: 32px 24px; }
  .download-item { flex-direction: column; align-items: flex-start; }
  .mockups-grid { grid-template-columns: 1fr; }
  .swatches-neutral { flex-direction: column; }
  .font-specimen { font-size: 36px; }
}

/* ===== PRINT ===== */
@media print {
  .site-header,
  .site-sidebar,
  .site-footer,
  .hamburger,
  .mobile-overlay,
  .btn-download,
  .lightbox { display: none !important; }

  .layout-wrapper { display: block; }
  .main-content { padding: 0; }
  .card { box-shadow: none; break-inside: avoid; }
  body { background: #fff; color: #000; }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 11px;
    color: #666;
  }
}
