/* --- ZÁKLADNÍ NASTAVENÍ A BAREVNÁ PALETA (Zlatý standard z Indexu) --- */
:root {
    --color-dark: #111e1e;       
    --color-cream: #f4f6f4;     
    --color-accent: #6b8a70;    
    --color-text: #4a5555;      
    --color-border: #eaeaeb;
    --font-heading: 'Lora', serif;
    --font-body: 'Manrope', sans-serif;
}

html { overflow-y: scroll; height: 100%; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--color-text); background-color: #ffffff; line-height: 1.6; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.bg-cream { background-color: var(--color-cream); }
.text-center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-dark); }
.btn-solid, .btn-outline { display: inline-block; padding: 14px 32px; border-radius: 40px; font-size: 0.95rem; font-weight: 500; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: 1px solid transparent; }
.btn-solid { background-color: var(--color-dark); color: white; border-color: var(--color-dark); }
.btn-solid:hover { background-color: var(--color-accent); border-color: var(--color-accent); }
.btn-outline { background-color: transparent; color: var(--color-dark); border: 1px solid #d0d5d0; }
.btn-outline:hover { border-color: var(--color-dark); }

/* --- JEDNOTNÁ HLAVIČKA (Zlatý standard - Výška 50px) --- */
.psyon-header { background-color: transparent; padding: 25px 0; position: absolute; width: 100%; top: 0; left: 0; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; position: relative; height: 50px; }
.logo-img { height: 45px; width: auto; display: block; }
.main-nav { display: flex; gap: 40px; }
.main-nav a { text-decoration: none; color: var(--color-dark); font-weight: 500; font-size: 1.05rem; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--color-accent); }
.header-action { display: flex; gap: 15px; }

.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; background: none; border: none; cursor: pointer; z-index: 1001; }
.menu-toggle span { display: block; width: 100%; height: 3px; background-color: var(--color-dark); transition: all 0.3s ease; border-radius: 3px; }

/* --- FORMÁTOVÁNÍ DOKUMENTU --- */
.badge { display: inline-block; padding: 6px 16px; background-color: #e5ebe6; color: var(--color-accent); border-radius: 30px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 25px; }
.document-section { padding: 200px 0 120px 0; background-color: var(--color-cream); min-height: 80vh; }
.document-container { max-width: 850px; margin: 0 auto; padding: 60px 80px; background-color: white; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.document-title { font-family: var(--font-heading); font-size: 3rem; line-height: 1.15; margin-bottom: 15px; color: var(--color-dark); }
.document-updated { font-size: 0.95rem; color: #888; margin-bottom: 50px; padding-bottom: 30px; border-bottom: 1px solid var(--color-border); }
.document-content h2 { font-family: var(--font-heading); font-size: 1.8rem; margin-top: 50px; margin-bottom: 25px; color: var(--color-dark); }
.document-content h3 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 600; margin-top: 30px; margin-bottom: 15px; color: var(--color-dark); }
.document-content p, .document-content li { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }
.document-content ul { margin-bottom: 25px; padding-left: 20px; }

/* --- JEDNOTNÁ PATIČKA (Zlatý standard z Indexu) --- */
.psyon-footer { flex-shrink: 0; background-color: var(--color-dark); color: #ffffff; padding: 100px 0 30px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 80px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo-text { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 20px; color: white; }
.footer-logo-text span { color: var(--color-accent); font-style: italic; }
.footer-brand p { font-size: 1.05rem; opacity: 0.8; line-height: 1.8; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-col h4 { color: white; font-family: var(--font-body); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; opacity: 0.5; }
.footer-col a { display: block; color: white; text-decoration: none; margin-bottom: 15px; font-size: 1.05rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--color-accent); }
.footer-link-highlight { color: var(--color-accent) !important; font-weight: 600; }

.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; opacity: 0.5; }
.legal-links { display: flex; flex-wrap: wrap; gap: 20px; }
.legal-links a { color: white; opacity: 0.6; text-decoration: none; font-size: 0.85rem; transition: all 0.3s ease; }
.legal-links a:hover { opacity: 1; color: var(--color-accent); }

/* --- RESPONZIVITA --- */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .main-nav { display: none; position: absolute; top: 100%; left: -40px; width: calc(100% + 80px); background: #ffffff; flex-direction: column; padding: 40px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); text-align: center; gap: 25px; z-index: 1000; }
    .main-nav.active { display: flex; }
    .header-action { display: none; }
    .footer-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
    .footer-nav { grid-template-columns: 1fr !important; }
    .document-container { padding: 40px 25px; width: 100%; border-radius: 0; }
    .document-title { font-size: 2.2rem !important; }
    .container { padding: 0 25px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-links { justify-content: center; }
}

#scroll-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--color-dark); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 24px; line-height: 0; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
#scroll-to-top.show { opacity: 1; visibility: visible; }