/* ===== Fonts (self-hosted, bez volání Google) ===== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../fonts/playfair-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../fonts/playfair-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Tokens ===== */
:root {
  --navy-900: #0a1730;
  --navy-800: #0f2142;
  --navy-700: #16305c;
  --navy-600: #224377;
  --gold-500: #c9a54c;
  --gold-400: #d9bb6c;
  --gold-300: #e8d49c;
  --gold-600: #a8862f;
  --gold-700: #8a6a1f; /* zlatá pro TEXT na světlém pozadí (AA ≥ 4.5:1) */
  --header-h: 72px;
  --cream: #f8f5ee;
  --paper: #ffffff;
  --ink: #1b2436;
  --muted: #5b6577;
  --line: #e6e0d2;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(10, 23, 48, .25);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-700); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .6em; color: var(--navy-800); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ===== Přístupnost ===== */
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
.btn-gold:focus-visible, .contact-list a:focus-visible, .form-card a:focus-visible, .legal a:focus-visible { outline-color: var(--navy-800); }
main:focus { outline: none; }
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold-500); color: var(--navy-900);
  padding: .75rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold-500); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.6rem;
  border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 8px 22px -10px rgba(201, 165, 76, .8); }
.btn-gold:hover { background: var(--gold-400); }
.btn-ghost { color: #fff; border: 1px solid rgba(232, 212, 156, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 23, 48, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 165, 76, .18);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { margin-right: auto; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); font-weight: 500; margin-top: -2px; }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--gold-400); }
.nav-links .btn { color: var(--navy-900); padding: .6rem 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-call { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; color: var(--gold-400); border: 1px solid rgba(232, 212, 156, .4); }
.nav-call svg { width: 20px; height: 20px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-400); margin: 5px 0; transition: .2s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(201, 165, 76, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(34, 67, 119, .6), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
}
.hero::after { /* jemná mřížka jako účetní papír */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(232, 212, 156, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 212, 156, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: clamp(4rem, 9vw, 7rem) 0; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--gold-400); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid rgba(232, 212, 156, .18); }
.hero-facts div { font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--gold-300); font-weight: 600; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }

/* ===== Hero ilustrace: orbit (animace + hover) ===== */
.hero-orbit .ring, .hero-orbit .orb-float, .hero-orbit .orb-hit, .hero-orbit .core, .hero-orbit .core-glow, .hero-orbit .spark {
  transform-box: fill-box; transform-origin: center;
}
.hero-orbit .ring { transform-box: view-box; transform-origin: 240px 220px; }
.hero-orbit .ring-2 { animation: orbit-spin 60s linear infinite; }
.hero-orbit .ring-3 { animation: orbit-spin 90s linear infinite reverse; }
.hero-orbit .orb-float { animation: orb-float 6s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.hero-orbit .orb-hit { cursor: default; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), filter .35s ease; }
.hero-orbit .orb-hit:hover { transform: scale(1.18); filter: drop-shadow(0 0 14px rgba(232, 212, 156, .55)); }
.hero-orbit .orb-label { opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.hero-orbit .orb-hit:hover .orb-label { opacity: 1; transform: none; }
.hero-orbit .orb-label text { fill: #e8d49c; font: 600 13px var(--sans); }
.hero-orbit .core { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.hero-orbit .core:hover { transform: scale(1.05); }
.hero-orbit .core-glow { animation: core-pulse 5s ease-in-out infinite; }
.hero-orbit .spark { animation: spark 4s ease-in-out infinite; }
.hero-orbit .spark-2 { animation-delay: -2s; }
.hero-art .hero-orbit { transition: transform .6s ease-out; will-change: transform; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes core-pulse { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes spark { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-orbit .ring-2, .hero-orbit .ring-3, .hero-orbit .orb-float, .hero-orbit .core-glow, .hero-orbit .spark { animation: none; }
  .hero-art .hero-orbit { transition: none; }
}

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 48px; background: var(--gold-500); border-radius: 0 0 3px 0; }
.card:hover { box-shadow: 0 6px 20px -14px rgba(10, 23, 48, .35); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400); margin-bottom: 1.25rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card ul { margin: .75rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.card li { padding-left: 1.2rem; position: relative; margin: .25rem 0; }
.card li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

/* ===== Pro koho ===== */
.clients { background: var(--paper); border-block: 1px solid var(--line); }
.clients-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tag {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.35rem;
  border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line);
}
.tag .num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-600); line-height: 1; min-width: 1.6rem; }
.tag strong { display: block; color: var(--navy-800); margin-bottom: .15rem; }
.tag span { font-size: .92rem; color: var(--muted); }
.vat-badges { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.vat-badges span {
  padding: .45rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--navy-800); color: var(--gold-300);
}

/* ===== Proces ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step .dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400); font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  border: 4px solid var(--cream); box-shadow: 0 0 0 1px var(--gold-500); position: relative;
}
.step p { color: var(--muted); font-size: .95rem; }

/* ===== Ceny ===== */
.pricing {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
}
.pricing::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(201, 165, 76, .25); box-shadow: 0 0 0 40px rgba(201, 165, 76, .04), 0 0 0 80px rgba(201, 165, 76, .03);
}
.pricing-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.pricing h2 { color: #fff; }
.pricing p { color: rgba(255, 255, 255, .75); font-size: 1.08rem; }
.pricing .eyebrow { color: var(--gold-400); }
.price-factors { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; }
.price-factors li { display: flex; gap: .6rem; align-items: center; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.price-factors svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; }
.price-card {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 165, 76, .35); border-radius: 18px;
  padding: 2.25rem; text-align: center;
}
.price-card .big { font-family: var(--serif); font-size: 2.1rem; color: var(--gold-300); margin-bottom: .5rem; }
.price-card p { font-size: .98rem; margin-bottom: 1.5rem; }

/* ===== Kontakt ===== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci {
  width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.contact-list a { text-decoration: none; font-weight: 600; color: var(--navy-800); }
.contact-list a:hover { color: var(--gold-700); }
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 2.25rem;
  box-shadow: var(--shadow); min-height: 320px;
}
.form-card h3 { margin-bottom: .35rem; }
#sb-form-slot { min-height: 400px; }
#sb-form-slot.sb-failed, #sb-form-slot.sb-none { min-height: 0; }
.form-note a { color: var(--navy-700); }
.form-card > p { color: var(--muted); font-size: .95rem; }
.form-fallback { padding: 1.5rem; border-radius: var(--radius); background: var(--cream); border: 1px dashed var(--gold-500); color: var(--muted); }
.form-fallback a { font-weight: 600; }
.form-note { font-size: .8rem; color: var(--muted); margin: 1.25rem 0 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .65); font-size: .9rem; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(201, 165, 76, .15); }
.site-footer h4 { color: var(--gold-400); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 600; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer p { margin: 0 0 .4rem; }
.site-footer small { color: rgba(255, 255, 255, .55); }
.footer-brand { margin-bottom: 1rem; }
.footer-firm { color: #fff; }
.site-footer--slim { padding: 1.5rem 0; }
.site-footer--slim .footer-bottom { padding-top: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .82rem; }

/* ===== Reveal animace ===== */
/* Skryté jen když běží JS (init.js přidá .js) — bez JS je obsah vždy vidět. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid, .clients-grid, .pricing-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-call { display: grid; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 1rem 1.25rem 1.5rem;
    background: var(--navy-900); border-bottom: 1px solid rgba(201, 165, 76, .2);
    transform: translateY(-120%); visibility: hidden; align-items: stretch;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .nav-links.open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-links li a { display: block; padding: .8rem 0; }
  .nav-links .btn { justify-content: center; margin-top: .5rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services-grid, .tags, .steps, .price-factors, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; }
  .hero-facts strong { font-size: 1.15rem; }
  .form-card, .price-card { padding: 1.5rem; }
}

/* ===== Právní stránka ===== */
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: .5rem 0; }
.legal-date { margin-top: 2.5rem; color: var(--muted); font-size: .92rem; }
