/* CZMalíři — sdílený design systém pro statické PHP stránky */

:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #09090b;
  color: #fafafa;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; }
svg { display: block; flex-shrink: 0; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
::selection { background: #f4c216; color: #18181b; }

/* ---------- hlavička ---------- */
header.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(9,9,11,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #a1a1aa; text-decoration: none; transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: #fafafa; }
.nav-phone {
  display: none; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); border-radius: 999px; padding: 8px 16px; font-size: 14px;
  font-weight: 600; text-decoration: none;
}
.nav-phone svg { width: 14px; height: 14px; }
.nav-burger {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 0; background: transparent; color: #d4d4d8; cursor: pointer;
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-mobile { display: none; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(9,9,11,0.97); backdrop-filter: blur(16px); padding: 8px 20px 20px; max-height: calc(100vh - 64px); overflow-y: auto; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 16px; font-weight: 500; color: #e4e4e7; text-decoration: none; }
.nav-mobile .nav-mobile-phone { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: #fafafa; color: #18181b; padding: 12px; font-weight: 700; font-size: 14px; text-decoration: none; }
.nav-mobile .nav-mobile-phone svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-flex; }
  .nav-burger { display: none; }
}

main { padding-top: 64px; }

/* ---------- typografie / sekce ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #22c55e; }
.dot-ping { position: relative; width: 12px; height: 12px; }
.dot-ping i { position: absolute; inset: 0; border-radius: 999px; background: #22c55e; }
.dot-ping i:first-child { animation: ping 1.6s cubic-bezier(0,0,0.2,1) infinite; opacity: .75; }
.dot-ping i:last-child { inset: 3px; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }
.section-head { margin-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .section-head.row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.section-head h2 { font-size: 34px; }
@media (min-width: 768px) { .section-head h2 { font-size: 46px; } }
.muted { color: #a1a1aa; }
.text-dim { color: #71717a; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #d4d4d8; text-decoration: none; }
.link-arrow:hover { color: #fafafa; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- tlačítka ---------- */
.btn {
  appearance: none; border: 0; border-radius: 999px; padding: 14px 28px; font-size: 15px;
  font-weight: 700; cursor: pointer; font-family: inherit; background: #fafafa; color: #18181b;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.3); transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #e4e4e7; }
.btn.ghost { background: transparent; color: #fafafa; }
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.btn-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }
.tel-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); text-decoration: none; }
.tel-link:hover { color: #fafafa; }
.tel-link svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 120px 20px 60px;
  background: #09090b;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: .45; pointer-events: none; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 65% at center, rgba(9,9,11,0.75), transparent 80%);
}
.hero-fade-bottom {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1; height: 160px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, #09090b);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.hero-logo {
  height: 112px; width: auto; margin: 0 auto 32px;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.15));
}
@media (min-width: 768px) { .hero-logo { height: 144px; } }
.hero h1 { font-size: 44px; line-height: 1.05; margin: 20px 0; }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } }
.hero-sub { font-size: 15px; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 40px; }
@media (min-width: 768px) { .hero-sub { font-size: 18px; } }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 30px; margin: 52px 0 0; padding: 0; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4); }
.hero-trust li:not(:last-child)::after { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.3); margin-left: 30px; }
@media (max-width: 640px) { .hero-trust li::after { display: none; } }

/* ---------- statistiky ---------- */
.stats { border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
@media (min-width: 768px) { .stat-value { font-size: 48px; } }
.stat-label { font-size: 12px; color: #71717a; }
@media (min-width: 768px) { .stat-label { font-size: 14px; } }

/* ---------- karty služeb ---------- */
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); padding: 28px; transition: border-color .2s ease, background .2s ease;
}
.service-card:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; line-height: 1.6; color: #a1a1aa; margin: 0; }

/* ---------- proces ---------- */
.process-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.process-step-num {
  flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff;
}
.process-step-line { height: 1px; flex: 1; background: rgba(255,255,255,0.1); }
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; line-height: 1.6; color: #a1a1aa; margin: 0; }

/* ---------- CTA ---------- */
.cta-section { border-top: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 30px; margin-bottom: 16px; }
@media (min-width: 768px) { .cta-section h2 { font-size: 44px; } }
.cta-section p { color: #a1a1aa; max-width: 520px; margin: 0 auto 32px; }

/* ---------- galerie ---------- */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-preview-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery-preview-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-preview-item { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-preview-item:hover img { transform: scale(1.05); }
.gallery-card { position: relative; height: 288px; border-radius: 18px; overflow: hidden; }
.gallery-card.wide { }
@media (min-width: 768px) { .gallery-card.wide { grid-column: span 2; } }
.gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,9,11,0.95), rgba(9,9,11,0.25) 55%, transparent); }
.gallery-card-body { position: absolute; inset-inline: 0; bottom: 0; padding: 22px; z-index: 2; }
.gallery-tag { display: inline-block; margin-bottom: 8px; border-radius: 999px; background: rgba(255,255,255,0.12); padding: 4px 12px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9); backdrop-filter: blur(6px); }
.gallery-card-body h3 { font-size: 19px; color: #fff; margin-bottom: 4px; }
.gallery-card-body p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; max-width: 380px; }

.photo-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid button { all: unset; position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; cursor: zoom-in; width: 100%; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-grid button:hover img { transform: scale(1.06); }

/* ---------- lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(9,9,11,0.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay img { max-width: 100%; max-height: 85vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) { .lightbox-nav { width: 40px; height: 40px; } .lightbox-prev { left: 6px; } .lightbox-next { right: 6px; } }

/* ---------- před/po posuvník ---------- */
.compare {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1120 / 828; cursor: ew-resize;
  user-select: none; touch-action: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.compare .before-layer { position: absolute; inset: 0; overflow: hidden; }
.compare .handle { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.9); box-shadow: 0 0 12px rgba(0,0,0,0.6); }
.compare .handle-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px;
  border-radius: 999px; background: #fff; color: #18181b; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}
.compare .handle-knob svg { width: 18px; height: 18px; }
.compare .tag-before, .compare .tag-after {
  position: absolute; top: 16px; border-radius: 999px; background: rgba(9,9,11,0.7); color: #fff;
  padding: 4px 12px; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px);
}
.compare .tag-before { left: 16px; }
.compare .tag-after { right: 16px; }

/* ---------- motto / logo sekce ---------- */
.motto-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 768px) { .motto-grid { grid-template-columns: 1fr 1fr; text-align: left; } }
.motto-logo { width: 100%; max-width: 220px; margin: 0 auto; opacity: .9; }
@media (min-width: 768px) { .motto-logo { margin: 0; } }

/* ---------- animované logo (roztékající se barvy) ---------- */
.logo-reveal { position: relative; aspect-ratio: 986 / 1800; }
.logo-reveal img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-reveal-cap {
  clip-path: inset(0 0 71% 0);
  opacity: 0; transform: translateY(-18px);
  transition: opacity .6s ease, transform .6s ease;
}
.logo-reveal-stripe {
  clip-path: inset(28% var(--r) 72% var(--l));
  opacity: 0;
  transition: clip-path .9s cubic-bezier(.22,1,.36,1), opacity .9s cubic-bezier(.22,1,.36,1);
}
.logo-reveal.in .logo-reveal-cap { opacity: 1; transform: translateY(0); }
.logo-reveal.in .logo-reveal-stripe { clip-path: inset(28% var(--r) 0% var(--l)); opacity: 1; }
.logo-reveal.in .logo-reveal-stripe:nth-of-type(2) { transition-delay: .3s; }
.logo-reveal.in .logo-reveal-stripe:nth-of-type(3) { transition-delay: .44s; }
.logo-reveal.in .logo-reveal-stripe:nth-of-type(4) { transition-delay: .58s; }
.logo-reveal.in .logo-reveal-stripe:nth-of-type(5) { transition-delay: .72s; }
.logo-reveal.in .logo-reveal-stripe:nth-of-type(6) { transition-delay: .86s; }
.logo-reveal.in .logo-reveal-stripe:nth-of-type(7) { transition-delay: 1.0s; }
@media (prefers-reduced-motion: reduce) {
  .logo-reveal-cap, .logo-reveal-stripe { transition: none; opacity: 1; transform: none; clip-path: none; }
}
.motto-grid h2 { font-size: 32px; margin-bottom: 18px; }
@media (min-width: 768px) { .motto-grid h2 { font-size: 44px; } }
.motto-grid p { color: #a1a1aa; max-width: 440px; margin: 0 auto 28px; }
@media (min-width: 768px) { .motto-grid p { margin: 0 0 28px; } }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-grid h2 { font-size: 34px; margin-bottom: 20px; }
@media (min-width: 768px) { .contact-grid h2 { font-size: 46px; } }
.contact-item { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; margin-bottom: 18px; }
.contact-item-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); display: grid; place-items: center; color: #d4d4d8; }
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-label { display: block; font-size: 12px; color: #71717a; }
.contact-item-value { font-size: 18px; font-weight: 700; color: #fff; }
.contact-socials { display: flex; gap: 12px; margin-top: 30px; }
.contact-socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); color: #a1a1aa; transition: border-color .15s ease, transform .15s ease; }
.contact-socials a:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.contact-socials svg { width: 24px; height: 24px; }

.form-card { display: grid; gap: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); padding: 28px; }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-row2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row2 { grid-template-columns: 1fr 1fr; } }
.field label, .field-label { display: block; font-size: 12px; font-weight: 600; color: #a1a1aa; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: #fafafa; font-size: 14px; font-family: inherit; outline: none;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
input:focus, select:focus, textarea:focus { border-color: rgba(255,255,255,0.35); }
textarea { resize: vertical; min-height: 110px; }

/* ---------- vlastní rozbalovací seznam (nahrazuje nativní <select>, aby šel dostylovat i vyjetý seznam) ---------- */
.custom-select { position: relative; }
.custom-select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: #fafafa; font-size: 14px; font-family: inherit;
  cursor: pointer; text-align: left;
}
.custom-select-trigger:focus-visible, .custom-select.open .custom-select-trigger { border-color: rgba(255,255,255,0.35); outline: none; }
.custom-select-trigger svg { width: 16px; height: 16px; color: #a1a1aa; transition: transform .15s ease; }
.custom-select.open .custom-select-trigger svg { transform: rotate(180deg); }
.custom-select-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px;
  list-style: none; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12);
  background: #18181b; box-shadow: 0 20px 40px rgba(0,0,0,0.45); max-height: 260px; overflow-y: auto;
}
.custom-select-list[hidden] { display: none; }
.custom-select-list li { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: #e4e4e7; cursor: pointer; }
.custom-select-list li:hover, .custom-select-list li.active { background: rgba(255,255,255,0.08); }
.custom-select-list li[aria-selected="true"] { color: #fff; font-weight: 600; }

/* ---------- patička ---------- */
footer.site-footer { position: relative; border-top: 1px solid rgba(255,255,255,0.1); background: #09090b; }
footer.site-footer .rainbow-line {
  position: absolute; inset: 0 0 auto 0; height: 1px; opacity: .6;
  background: linear-gradient(90deg, #c3d021, #16a293, #2f80c3, #5d3f9b, #e8364d, #f4c216);
}
footer.site-footer .container { padding-top: 48px; padding-bottom: 48px; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { font-size: 14px; color: #a1a1aa; text-decoration: none; transition: color .15s ease; }
.footer-nav a:hover { color: #fafafa; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1); color: #a1a1aa; transition: border-color .15s ease, transform .15s ease;
}
.footer-social a:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.footer-social svg { width: 22px; height: 22px; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  font-size: 12px; color: #71717a;
}
@media (min-width: 1024px) {
  .footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
  .footer-bottom .footer-legal { justify-self: end; }
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: inherit; text-decoration: none; transition: color .15s ease; }
.footer-legal a:hover { color: #d4d4d8; }
.footer-bottom p { margin: 0; }
.footer-credit { text-align: center; }
.footer-credit a { color: inherit; text-decoration: none; transition: color .15s ease; }
.footer-credit a:hover { color: #d4d4d8; }

/* ---------- právní stránky ---------- */
.legal-page { padding: 128px 0 96px; }
.legal-page h1 { font-size: 34px; margin-bottom: 40px; }
@media (min-width: 768px) { .legal-page h1 { font-size: 46px; } }
.legal-page section { margin-bottom: 40px; }
.legal-page h2 { font-size: 19px; margin-bottom: 12px; }
.legal-page p, .legal-page li { font-size: 14px; line-height: 1.7; color: #a1a1aa; }
.legal-page ul { padding-left: 20px; margin: 12px 0; }
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: #d4d4d8; }

/* ---------- zprávy / hlášky ---------- */
.msg { border-radius: 12px; padding: 12px 16px; font-size: 13.5px; margin-top: 4px; }
.msg-error { background: rgba(239,68,68,0.12); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.msg-success { background: rgba(34,197,94,0.12); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }

/* ---------- scroll-reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].reveal-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
