/* ================================================================
   JKZM Cinematic Design System (v6.72.0)

   Shared štýly pre všetky verejné stránky.
   Palette: dark navy (#050811) + gold (#d4b170) + emerald (#10b981 akcent)
   Typografia: Inter 300-900 + Fraunces italic (iba akcenty)
   Inšpirácia: Apple.com, Linear.app, Stripe, LGCT

   Každá stránka importuje:
     <link rel="stylesheet" href="/css/cinematic.css">
   ================================================================ */

:root {
    --bg: #050811;
    --bg-2: #0a0f1c;
    --bg-3: #111827;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hi: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-hi: rgba(255, 255, 255, 0.14);
    --ink: #f5f6f9;
    --ink-2: rgba(245, 246, 249, 0.72);
    --ink-3: rgba(245, 246, 249, 0.5);
    --gold: #d4b170;
    --gold-hover: #e2c389;
    --gold-soft: rgba(212, 177, 112, 0.2);
    --emerald: #10b981;
    --emerald-soft: rgba(16, 185, 129, 0.15);

    --container: 1200px;
    --radius: 16px;
    --radius-sm: 8px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
    min-height: 100vh;
}
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.skip-link { position: absolute; left: -9999px; background: var(--gold); color: var(--bg); padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }

/* Typography scale ---- */
.display-xl {
    font-size: clamp(2.75rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.98;
}
.display-lg {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.display-md {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}
.eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
}
.serif { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-style: italic; }

/* Noise overlay (premium texture) ---- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, section, header, footer { position: relative; z-index: 2; }

/* Header ---- */
header.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(5, 8, 17, 0.75);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: opacity 0.3s var(--ease);
}
.brand:hover { opacity: 0.85; }
.brand-logo {
    height: 64px;
    width: auto;
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.brand-text { font-size: 0.95rem; color: var(--ink); line-height: 1.15; }
.brand-text small {
    display: block;
    font-size: 0.7rem;
    color: var(--ink-3);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1px;
}
nav.main-nav { display: flex; gap: 2rem; align-items: center; }
nav.main-nav a {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    position: relative;
    padding: 0.5rem 0;
}
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { transform: scaleX(1); }

/* --- Dropdown "Viac" v hlavnej navigácii --- */
.nav-more { position: relative; }
.nav-more-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s var(--ease);
}
.nav-more-btn:hover, .nav-more[data-open="true"] .nav-more-btn { color: var(--ink); }
.nav-more-caret {
    display: inline-block;
    font-size: 0.7em;
    transition: transform 0.25s var(--ease);
    opacity: 0.85;
}
.nav-more[data-open="true"] .nav-more-caret { transform: rotate(180deg); }
.nav-more-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: rgba(10, 15, 28, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 177, 112, 0.18);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    z-index: 100;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.nav-more[data-open="true"] .nav-more-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-more-menu a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-2);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
    white-space: nowrap;
}
.nav-more-menu a::after { display: none !important; }
.nav-more-menu a:hover {
    background: rgba(212, 177, 112, 0.1);
    color: var(--gold);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero ---- */
.hero {
    position: relative;
    min-height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9rem 0 5rem;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 80% at 25% 30%, rgba(16, 185, 129, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 50% 70% at 80% 50%, rgba(212, 177, 112, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 90%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
    filter: blur(60px);
    animation: meshDrift 18s ease-in-out infinite;
}
@keyframes meshDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-5%, 3%) scale(1.05); }
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.hero .eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}
.hero h1 {
    margin-bottom: 2rem;
    max-width: 950px;
    color: var(--ink);
}
.hero h1 .accent {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: -0.03em;
}
.hero-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--ink-2);
    max-width: 620px;
    margin-bottom: 3rem;
    line-height: 1.6;
}
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.hero-compact {
    min-height: auto;
    padding: 9rem 0 4rem;
}

/* Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: inherit;
}
.btn-primary {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 10px 40px rgba(212, 177, 112, 0.3);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border-hi);
}
.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--ink-2);
    color: var(--ink);
}
.btn .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* 2% z dane banner ---- */
.cta-2percent {
    background: var(--bg-3);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}
.cta-2-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cta-2-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.92rem;
}
.cta-2-badge {
    display: inline-block;
    background: var(--gold-soft);
    color: var(--gold);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
}
.cta-2-text strong { color: var(--ink); font-weight: 600; }
.cta-2-ico { color: var(--ink-3); font-size: 0.82rem; }

/* Metrics strip ---- */
.metrics {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.metric .num {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--gold);
    display: block;
    margin-bottom: 0.25rem;
}
.metric .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-3);
    font-weight: 500;
}

/* Section ---- */
section.content {
    padding: 6rem 0;
    position: relative;
}
section.content-compact { padding: 4rem 0; }
section.light { background: #f7f5f0; color: #0a0f1c; }
section.light a { color: inherit; }
section.light .eyebrow { color: #7a6332; }
section.light h1, section.light h2, section.light h3, section.light h4 { color: #0a0f1c; }
section.light p { color: rgba(10, 15, 28, 0.72); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head .eyebrow { margin-bottom: 1.25rem; display: block; }
.section-head h2, .section-head h1 { margin-bottom: 1rem; color: var(--ink); }
.section-head p {
    color: var(--ink-2);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Grid cards (services, features, etc.) ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.card-item {
    background: var(--bg);
    padding: 2.25rem 1.75rem;
    transition: background 0.3s var(--ease);
}
.card-item:hover { background: var(--bg-3); }
.card-num {
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
}
.card-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.card-item p {
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.card-item .service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 600;
}

/* Info card / data card (IČO, IBAN...) ---- */
.info-card {
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.3s var(--ease);
}
.info-card:hover { border-color: var(--border-hi); }
.info-card-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    font-weight: 500;
}
.info-card-value {
    font-size: 1rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.45;
}
.info-card-value.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
a.info-card-value { border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
a.info-card-value:hover { border-bottom-color: var(--gold); }

/* Contact + Map layout ---- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
}
.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-content: start;
}
.contact-map {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 420px;
    position: relative;
    background: var(--bg-3);
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
    filter: grayscale(15%) contrast(1.05);
}

/* Quote / philosophy ---- */
.big-quote {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 900px;
    margin: 0 auto 2rem;
}
.big-quote::before { content: '"'; color: var(--gold); font-size: 1.3em; line-height: 0; vertical-align: -0.15em; margin-right: 0.15em; }
.big-quote::after { content: '"'; color: var(--gold); font-size: 1.3em; line-height: 0; vertical-align: -0.3em; margin-left: 0.1em; }
.quote-attribution {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-3);
    text-align: center;
}
.quote-attribution strong { color: var(--ink); font-weight: 500; }

/* CTA section ---- */
.cta-section {
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(212, 177, 112, 0.15), transparent 60%);
    filter: blur(40px);
}
.cta-section h2 {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    color: var(--ink);
}
.cta-section p {
    color: var(--ink-2);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.cta-section .hero-cta-group { justify-content: center; }

/* Prose (articles) ---- */
.prose {
    max-width: 720px;
    margin: 0 auto;
    color: var(--ink-2);
    font-size: 1.05rem;
    line-height: 1.75;
}
.prose h1, .prose h2, .prose h3 {
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.015em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.prose h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
.prose h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 600; }
.prose h3 { font-size: 1.2rem; font-weight: 600; }
.prose p { margin-bottom: 1.25rem; }
.prose a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.prose a:hover { border-bottom-color: var(--gold); }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--gold);
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-style: italic;
    color: var(--ink-2);
}
.prose code {
    background: var(--surface);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.prose img { border-radius: var(--radius-sm); margin: 1.5rem 0; }

/* Article card (list) ---- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s var(--ease);
    display: block;
    position: relative;
    overflow: hidden;
}
.article-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-3px);
}
.article-card-meta {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 500;
}
.article-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.article-card p {
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.article-card .read-more {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

/* Footer ---- */
footer.site-footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-2);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-grid h4 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.footer-grid a {
    display: block;
    padding: 0.3rem 0;
    color: var(--ink-2);
    font-size: 0.92rem;
}
.footer-grid a:hover { color: var(--ink); }
.footer-lead {
    font-size: 0.95rem;
    color: var(--ink-2);
    line-height: 1.7;
    max-width: 360px;
    margin-top: 1rem;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--ink); }

/* Print ---- */
@media print {
    body::before, header.site-header, footer.site-footer, nav, .btn { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .hero { padding: 1rem 0 !important; min-height: auto !important; }
    .hero h1 { color: #000 !important; }
    section.content { padding: 1rem 0 !important; }
}

/* Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile ---- */
@media (max-width: 900px) {
    header.site-header { padding: 1rem 0; }
    nav.main-nav { display: none; }
    .mobile-menu { display: block; }
    .hero { padding: 7rem 0 4rem; min-height: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    section.content { padding: 3.5rem 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map, .contact-map iframe { min-height: 340px; }
}
@media (max-width: 500px) {
    .container { padding: 0 1.25rem; }
    .hero-inner { padding: 0 1.25rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-details { grid-template-columns: 1fr; }
    .hero-cta-group { width: 100%; flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; width: 100%; }
    .cta-2-inner { justify-content: center; text-align: center; }
    .cta-2-text { justify-content: center; text-align: center; }
}
