/* ============================================================================
   TAXUJ.CZ — Shared stylesheet pro podstránky
   Brand: Hospoda U Lípy
   Použití: <link rel="stylesheet" href="/css/taxuj-page.css">
   ============================================================================ */

:root {
    --cream: #FFF8E7;
    --cream-dark: #F4ECCC;
    --paper: #FDF6E0;
    --paper-shadow: #E8DEB6;
    --burgundy: #8B2635;
    --burgundy-dark: #5C1822;
    --burgundy-soft: rgba(139, 38, 53, 0.08);
    --green: #4A7C2A;
    --green-dark: #2F5118;
    --mustard: #DBA033;
    --mustard-light: #F0C868;
    --ink: #1A1108;
    --ink-soft: #534736;
    --ink-faint: rgba(26, 17, 8, 0.5);
    --border: rgba(26, 17, 8, 0.12);
    --shadow-card: 0 2px 0 var(--paper-shadow), 0 4px 16px rgba(26, 17, 8, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

a { color: var(--burgundy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--burgundy-dark); }

strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; color: var(--burgundy); }

code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: var(--burgundy-soft);
    color: var(--burgundy);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.92em;
}

/* ===== NAV ===== */
nav.site-nav {
    background: var(--ink);
    color: var(--cream);
    padding: 14px 32px;
    border-bottom: 4px solid var(--burgundy);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-logo:hover { color: var(--cream); }
.nav-star {
    color: var(--mustard);
    font-size: 18px;
    transform: rotate(-8deg);
    display: inline-block;
}
.nav-back {
    color: rgba(255, 248, 231, 0.5);
    text-decoration: none;
    font-size: 14px;
    font-family: 'Bricolage Grotesque', sans-serif;
}
.nav-back:hover { color: var(--cream); }

/* ===== HEADER / HERO ===== */
.page-header {
    background: var(--ink);
    color: var(--cream);
    padding: 72px 32px 64px;
    text-align: center;
    border-bottom: 6px solid var(--burgundy);
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(219, 160, 51, 0.06), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 38, 53, 0.08), transparent 50%);
    pointer-events: none;
}
.page-header-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-eyebrow {
    display: inline-block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--mustard);
    background: rgba(219, 160, 51, 0.1);
    border: 1px solid rgba(219, 160, 51, 0.3);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.page-header h1 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.page-header h1 em {
    color: var(--mustard);
    font-style: italic;
}
.page-subtitle {
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    color: rgba(255, 248, 231, 0.7);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 32px 96px;
    flex: 1;
    width: 100%;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 32px;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--burgundy); }
.breadcrumbs span.sep { margin: 0 8px; opacity: 0.4; }
.breadcrumbs span.current { color: var(--ink); font-weight: 500; }

/* ===== ARTICLE TYPOGRAPHY ===== */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.article-meta .meta-cat {
    background: var(--burgundy);
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
}
.article-meta .meta-dot { color: var(--ink-faint); }

article h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

article h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 56px;
    margin-bottom: 20px;
    color: var(--ink);
    position: relative;
    padding-left: 18px;
}
article h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--burgundy);
    border-radius: 2px;
}

article h3 {
    font-size: 21px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--ink);
}

article p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: var(--ink);
}

article ul, article ol {
    margin: 0 0 22px 24px;
    padding: 0;
}
article li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 8px;
    color: var(--ink);
}
article ul li::marker { color: var(--burgundy); }
article ol li::marker { color: var(--burgundy); font-weight: 700; }

/* TLDR callout */
.tldr {
    background: var(--paper);
    border-left: 4px solid var(--mustard);
    padding: 20px 24px;
    margin: 0 0 36px 0;
    box-shadow: var(--shadow-card);
    border-radius: 0 6px 6px 0;
}
.tldr-label {
    display: inline-block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mustard);
    margin-bottom: 6px;
}
.tldr p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* WARNING callout */
.callout {
    background: var(--paper);
    border-left: 4px solid var(--burgundy);
    padding: 16px 22px;
    margin: 22px 0;
    border-radius: 0 6px 6px 0;
}
.callout.tip { border-left-color: var(--green); }
.callout.warn { border-left-color: var(--mustard); }
.callout-label {
    display: inline-block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    color: var(--burgundy);
}
.callout.tip .callout-label { color: var(--green); }
.callout.warn .callout-label { color: var(--mustard); }
.callout p { margin: 0; font-size: 16px; }

/* TABLE */
table.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0 32px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 15px;
}
table.data-table thead {
    background: var(--ink);
    color: var(--cream);
}
table.data-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--burgundy);
}
table.data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
table.data-table tbody tr:last-child td { border-bottom: none; }
table.data-table tbody tr:nth-child(even) { background: rgba(244, 236, 204, 0.5); }
table.data-table tbody td:first-child { font-weight: 600; }

/* DPH sazby grid */
.dph-rates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 32px;
}
.dph-rate {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 22px 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
}
.dph-rate-pct {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 4px;
}
.dph-rate-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.dph-rate-list {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dph-rate-list li { margin-bottom: 4px; }

/* CTA box */
.cta-box {
    background: var(--ink);
    color: var(--cream);
    padding: 32px 32px;
    border-radius: 8px;
    text-align: center;
    margin: 48px 0;
    border-top: 4px solid var(--mustard);
    box-shadow: var(--shadow-card);
}
.cta-box h3 {
    color: var(--cream);
    font-size: 22px;
    margin: 0 0 8px 0;
}
.cta-box p {
    color: rgba(255, 248, 231, 0.7);
    margin: 0 0 20px 0;
    font-size: 16px;
}
.cta-box .cta-btn {
    display: inline-block;
    background: var(--mustard);
    color: var(--ink);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.15s, background 0.15s;
    border: 2px solid transparent;
}
.cta-box .cta-btn:hover {
    background: var(--mustard-light);
    transform: translateY(-1px);
}

/* RAZÍTKO — typical brand feature */
.stamp {
    display: inline-block;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border: 2.5px solid currentColor;
    border-radius: 4px;
    transform: rotate(-3deg);
    font-size: 13px;
    color: var(--burgundy);
    background: rgba(255, 255, 255, 0.4);
}
.stamp.mustard { color: var(--mustard); transform: rotate(2deg); }
.stamp.green { color: var(--green); transform: rotate(-2deg); }

/* ===== FOOTER ===== */
footer.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 48px 32px 28px;
    margin-top: auto;
    border-top: 6px solid var(--burgundy);
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-brand {
    font-family: 'Bricolage Grotesque', sans-serif;
}
.footer-logo {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.footer-star { color: var(--mustard); display: inline-block; transform: rotate(-8deg); font-size: 22px; }
.footer-claim {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    color: rgba(255, 248, 231, 0.65);
    line-height: 1.5;
    margin-bottom: 14px;
    font-size: 15px;
}
.footer-tag {
    font-size: 13px;
    color: rgba(255, 248, 231, 0.4);
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.5;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.footer-col-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mustard);
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255, 248, 231, 0.6);
    text-decoration: none;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
    border-top: 1px solid rgba(255, 248, 231, 0.12);
    padding-top: 22px;
    text-align: center;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 13px;
    color: rgba(255, 248, 231, 0.4);
}
.footer-bottom strong { color: var(--cream); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
    nav.site-nav { padding: 14px 20px; }
    .page-header { padding: 56px 20px 48px; }
    .container { padding: 48px 20px 64px; }
    article h2 { font-size: 24px; margin-top: 40px; }
    article h3 { font-size: 19px; }
    .dph-rates { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    table.data-table { font-size: 13px; }
    table.data-table thead th, table.data-table tbody td { padding: 10px 12px; }
}
