/* ==========================================================================
   PERSEUS Group – styly webu
   Obsah: 1 Fonty · 2 Tokeny · 3 Základ · 4 Rozvržení · 5 Komponenty
          6 Hlavička · 7 Úvod · 8 Stránky · 9 Patička · 10 Animace · 11 Tisk
   ========================================================================== */

/* 1 Fonty (self-hosted kvůli GDPR a rychlosti, subsety latin + latin-ext) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/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("/assets/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: "Source Serif 4";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/fonts/source-serif-4-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: "Source Serif 4";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/fonts/source-serif-4-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;
}
/* Metricky upravené záložní písmo – menší posun layoutu při načítání fontu */
@font-face {
    font-family: "Inter Fallback";
    src: local("Arial");
    ascent-override: 90.44%;
    descent-override: 22.52%;
    line-gap-override: 0%;
    size-adjust: 107.12%;
}

/* 2 Tokeny */
:root {
    color-scheme: light;

    /* Firemní modrá (logo, původní web #00265a / #03295a) */
    --navy-950: #021632;
    --navy-900: #032757;
    --navy-800: #0a3470;
    --navy-700: #174488;
    --navy-200: #c9d5e8;
    --navy-100: #e3eaf4;
    --navy-50: #f0f4f9;
    /* Bronz/zlato – akcent odvozený ze sochy Persea a původní akcentní barvy #eca908 */
    --gold-400: #d8b877;
    --gold-500: #c9a258;
    --gold-600: #a8843f;
    --gold-700: #87672b;
    --gold-50: #f6efe1;
    /* Neutrální „mramor“ */
    --stone-50: #f7f5f0;
    --stone-100: #efebe3;
    --white: #fff;
    --ink: #0f1b2d;
    --ink-2: #364356;
    --ink-3: #5a6576;
    --line: rgb(3 39 87 / 0.12);
    --line-strong: rgb(3 39 87 / 0.24);
    --on-navy: #fff;
    --on-navy-2: rgb(255 255 255 / 0.8);
    --on-navy-3: rgb(255 255 255 / 0.62);
    --line-dark: rgb(255 255 255 / 0.16);
    --focus: var(--navy-700);

    --font-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --shadow-sm: 0 1px 2px rgb(3 39 87 / 0.06), 0 1px 1px rgb(3 39 87 / 0.04);
    --shadow-md: 0 1px 2px rgb(3 39 87 / 0.06), 0 6px 12px -4px rgb(3 39 87 / 0.08), 0 20px 40px -16px rgb(3 39 87 / 0.18);
    --shadow-lg: 0 2px 4px rgb(3 39 87 / 0.06), 0 12px 24px -6px rgb(3 39 87 / 0.12), 0 32px 64px -16px rgb(3 39 87 / 0.24);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 72px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(64px, 8vw, 120px);
    --container: 1200px;
}

/* 3 Základ */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--stone-50);
}
@media (pointer: fine) {
    html {
        overscroll-behavior: none;
    }
}
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--stone-50);
    color: var(--ink-2);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgb(3 39 87 / 0.12);
}
main {
    flex: 1 0 auto;
}
main:focus {
    outline: none;
}
h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
p,
li,
dd {
    text-wrap: pretty;
}
p {
    margin: 0;
}
a {
    color: inherit;
}
img,
svg {
    display: block;
    max-width: 100%;
}
img {
    height: auto;
}
ul,
ol,
dl,
dd,
figure,
blockquote {
    margin: 0;
    padding: 0;
}
address {
    font-style: normal;
}
button {
    font: inherit;
    color: inherit;
}
a,
button,
summary,
label {
    touch-action: manipulation;
}
[id] {
    scroll-margin-top: calc(var(--header-h) + 24px);
}
:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}
::selection {
    background: var(--gold-400);
    color: var(--navy-950);
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: var(--radius-xs);
    background: var(--navy-900);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease-out);
}
.skip-link:focus-visible {
    transform: none;
    outline-color: var(--gold-500);
}
.icon {
    flex: none;
    width: 1.25em;
    height: 1.25em;
}

/* 4 Rozvržení */
.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.container--narrow {
    max-width: calc(760px + 2 * var(--gutter));
}
.section {
    padding-block: var(--section-y);
}
.section--white {
    background: var(--white);
}
.section--navy {
    --focus: var(--gold-400);
    background: var(--navy-900);
    color: var(--on-navy-2);
}
.section--navy h2,
.section--navy h3 {
    color: var(--on-navy);
}
.section__header {
    max-width: 760px;
    margin-bottom: clamp(32px, 4vw, 56px);
}
.section__header--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    max-width: none;
}
.section__header--row > div {
    max-width: 720px;
}
.section__title {
    font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem);
    line-height: 1.1;
}
.section__lead {
    max-width: 62ch;
    margin-top: 16px;
    color: var(--ink-3);
    font-size: 1.125rem;
}
.section--navy .section__lead {
    color: var(--on-navy-2);
}
.split {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}
.split__aside .section__title + .section__lead {
    margin-top: 20px;
}
.split__aside--sticky {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}
@media (max-width: 900px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .split__aside--sticky {
        position: static;
    }
}

/* 5 Komponenty */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--gold-700);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}
.eyebrow--light,
.section--navy .eyebrow {
    color: var(--gold-400);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.button .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s var(--ease-out);
}
.button:hover .icon[class] {
    transform: translateX(2px);
}
.button:active {
    transform: scale(0.98);
}
.button--gold {
    --focus: var(--gold-400);
    background: var(--gold-500);
    color: var(--navy-950);
}
.button--gold:hover {
    background: var(--gold-400);
    box-shadow: 0 10px 28px -10px rgb(201 162 88 / 0.7);
}
.button--navy {
    background: var(--navy-900);
    color: var(--white);
}
.button--navy:hover {
    background: var(--navy-800);
    box-shadow: var(--shadow-md);
}
.button--ghost-light {
    --focus: var(--gold-400);
    border-color: rgb(255 255 255 / 0.36);
    color: var(--white);
}
.button--ghost-light:hover {
    border-color: var(--white);
    background: rgb(255 255 255 / 0.1);
}
.button--outline {
    border-color: var(--line-strong);
    color: var(--navy-900);
}
.button--outline:hover {
    border-color: var(--navy-900);
    background: var(--white);
}
.button--small {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 0.875rem;
}
.icon-button {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ink-3);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.icon-button:hover {
    background: var(--stone-100);
    color: var(--ink);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-block: 6px;
    color: var(--navy-900);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.link-arrow .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-600);
    transition: transform 0.25s var(--ease-out);
}
.link-arrow:hover {
    color: var(--navy-700);
}
.link-arrow:hover .icon {
    transform: translateX(4px);
}
.link-arrow--back:hover .icon {
    transform: translateX(-4px);
}
.section--navy .link-arrow {
    color: var(--white);
}

.prose > * + * {
    margin-top: 1.1em;
}
.prose a {
    color: var(--navy-700);
    text-decoration-color: var(--gold-500);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.prose a:hover {
    color: var(--navy-900);
    text-decoration-color: var(--navy-900);
}
.prose strong {
    color: var(--ink);
    font-weight: 600;
}
.prose--lead > p:first-child {
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.55;
}
.prose h2 {
    margin-top: 2em;
    font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
}
.prose h3 {
    margin-top: 1.75em;
    font-size: 1.375rem;
}
.prose h2 + *,
.prose h3 + * {
    margin-top: 0.6em;
}
.prose ul,
.prose ol {
    padding-left: 1.25em;
}
.prose li + li {
    margin-top: 0.5em;
}
.prose li::marker {
    color: var(--gold-600);
}
.prose blockquote {
    margin-block: 1.75em;
    padding: 0.25em 0 0.25em 1.25em;
    border-left: 3px solid var(--gold-500);
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    line-height: 1.55;
}
.prose img {
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--white);
}
.prose p:has(> img:only-child) {
    margin-bottom: 1.5em;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.tag--advisory {
    background: var(--navy-50);
    color: var(--navy-700);
    box-shadow: inset 0 0 0 1px rgb(23 68 136 / 0.14);
}
.tag--npl {
    background: var(--gold-50);
    color: var(--gold-700);
    box-shadow: inset 0 0 0 1px rgb(135 103 43 / 0.18);
}

.bullets {
    list-style: none;
}
.bullets li {
    position: relative;
    padding-left: 22px;
}
.bullets li + li {
    margin-top: 8px;
}
.bullets li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 2px;
    width: 7px;
    height: 7px;
    border: 1.5px solid var(--gold-600);
}
.bullets a,
.checklist a,
.steps a {
    color: var(--navy-700);
    text-decoration-color: var(--gold-500);
    text-underline-offset: 3px;
}
.bullets--columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 32px;
}
.bullets--columns li + li {
    margin-top: 0;
}
@media (max-width: 640px) {
    .bullets--columns {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Řádek „karet“ s přesahujícím odkazem: celá karta je klikací, ale v DOM je jediný odkaz */
.service-card,
.news-card,
.structure__item {
    position: relative;
}
.service-card__link,
.news-card__link,
.structure__link {
    color: inherit;
    text-decoration: none;
}
.service-card__link::after,
.news-card__link::after,
.structure__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.service-card__link:focus-visible,
.news-card__link:focus-visible,
.structure__link:focus-visible {
    outline: none;
}
.service-card:has(:focus-visible),
.news-card:has(:focus-visible),
.structure__item:has(:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

/* 6 Hlavička */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}
/* Rozmazané pozadí je v pseudo-elementu: backdrop-filter přímo na hlavičce by z ní udělal
   kontejner pro position: fixed a mobilní menu by se ořízlo. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(247 245 240 / 0.84);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    transition: background-color 0.25s;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -16px rgb(3 39 87 / 0.25);
}
.site-header.is-scrolled::before,
.menu-open .site-header::before {
    background: rgb(247 245 240 / 0.96);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--navy-900);
    text-decoration: none;
}
.logo .mark {
    width: 22px;
    height: 40px;
}
.logo__word {
    display: grid;
    line-height: 1;
}
.logo__name {
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.logo__group {
    margin-top: 3px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    color: var(--ink-2);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}
.site-nav__link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}
.site-nav__link:hover {
    color: var(--navy-900);
}
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}
.site-nav__link[aria-current="page"] {
    color: var(--navy-900);
    font-weight: 600;
}
.site-nav__link--cta {
    margin-left: 8px;
    padding-inline: 18px;
    border-radius: 999px;
    background: var(--navy-900);
    color: var(--white);
}
.site-nav__link--cta::after {
    display: none;
}
.site-nav__link--cta:hover,
.site-nav__link--cta[aria-current="page"] {
    background: var(--navy-800);
    color: var(--white);
}
.site-nav__link--cta[aria-current="page"] {
    box-shadow: inset 0 0 0 2px var(--gold-500);
}
.site-nav__contact {
    display: none;
}
.lang-switch {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    list-style: none;
}
.lang-switch__link {
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 30px;
    padding-inline: 8px;
    border-radius: 999px;
    color: var(--ink-3);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}
.lang-switch__link:hover {
    color: var(--navy-900);
    background: var(--stone-100);
}
.lang-switch__link[aria-current="true"] {
    background: var(--navy-900);
    color: var(--white);
}
.nav-toggle {
    display: none;
}

@media (max-width: 1023px) {
    :root {
        --header-h: 64px;
    }
    .nav-toggle {
        position: relative;
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        margin-right: -8px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: none;
        color: var(--navy-900);
        cursor: pointer;
    }
    .nav-toggle__bars {
        display: grid;
        gap: 5px;
        width: 22px;
    }
    .nav-toggle__bars span {
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.3s var(--ease-out), opacity 0.2s;
    }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .js .site-nav {
        position: fixed;
        inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0;
        z-index: 49;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        margin: 0;
        padding: 16px max(var(--gutter), env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
        background: var(--stone-50);
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
    }
    .js .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }
    .js .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .js .site-nav__link,
    .js .site-nav__link--cta {
        width: 100%;
        min-height: 60px;
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        background: none;
        color: var(--ink);
        font-family: var(--font-serif);
        font-size: 1.625rem;
        font-weight: 600;
        box-shadow: none;
    }
    .js .site-nav__link::after {
        display: block;
        right: auto;
        bottom: -1px;
        left: 0;
        width: 48px;
    }
    .js .site-nav__link--cta[aria-current="page"],
    .js .site-nav__link--cta:hover {
        background: none;
        color: var(--navy-900);
        box-shadow: none;
    }
    .js .lang-switch {
        align-self: flex-start;
    }
    .js .lang-switch__link {
        min-width: 52px;
        height: 40px;
        font-size: 0.875rem;
    }
    .site-nav__contact {
        display: block;
    }
    .site-nav__contact a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        color: var(--navy-900);
        font-weight: 600;
        text-decoration: none;
    }
    html.menu-open {
        overflow: hidden;
    }
    /* Bez JavaScriptu: menu jako zalomený řádek pod logem */
    html:not(.js) .nav-toggle,
    html:not(.js) .site-nav__contact {
        display: none;
    }
    html:not(.js) .site-header__inner {
        flex-wrap: wrap;
        height: auto;
        padding-block: 10px;
    }
    html:not(.js) .site-nav {
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
    }
    html:not(.js) .site-nav__list {
        flex-wrap: wrap;
    }
}

/* 7 Úvodní stránka */
.hero {
    --focus: var(--gold-400);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--on-navy-2);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(60% 80% at 8% 0%, rgb(23 68 136 / 0.55), transparent 70%);
}
.hero__art {
    position: absolute;
    top: -8%;
    left: max(-120px, calc(50% - 760px));
    z-index: -1;
    height: 116%;
    color: rgb(255 255 255 / 0.05);
}
.mark-art {
    width: auto;
    height: 100%;
    overflow: visible;
}
.hero__inner {
    display: flex;
    align-items: center;
    min-height: min(78vh, 680px);
    padding-block: clamp(56px, 9vw, 112px);
}
.hero__content {
    position: relative;
    z-index: 1;
    max-width: min(640px, 54%);
}
.hero__title {
    color: var(--on-navy);
    font-size: clamp(2.375rem, 1.4rem + 3.6vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.hero__lead {
    max-width: 58ch;
    margin-top: 24px;
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}
/* Výřez sochy (průhledné pozadí, hrudník se rozplývá); postava zabírá 5–95 % šířky obrázku.
   Na desktopu se umisťuje vůči středu stránky, aby nikdy nezasáhla do textu (ten končí na 50 % + 40 px). */
.hero__statue {
    --statue-w: min(720px, (50vw - 120px) * 1.05);
    position: absolute;
    top: 50%;
    left: calc(50% + 70px - 0.05 * var(--statue-w));
    display: block;
    width: var(--statue-w);
    translate: 0 -52%;
}
.hero__statue::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -6% 4% 6% 14%;
    background: radial-gradient(closest-side, rgb(214 224 238 / 0.42), rgb(120 152 198 / 0.18) 50%, transparent);
}
.hero__statue img {
    width: 100%;
}
@media (max-width: 1023px) {
    .hero__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-top: 8px;
    }
    .hero__content {
        max-width: 640px;
    }
    /* Na mobilu socha nahoře přes celou šířku, text najíždí na rozplynutý hrudník */
    .hero__statue {
        --statue-w: min(108vw, 640px);
        position: relative;
        top: auto;
        left: auto;
        order: -1;
        align-self: flex-start;
        margin: 0 0 calc(-0.12 * var(--statue-w)) calc(50% - 0.5 * var(--statue-w));
        translate: none;
    }
    .hero__art {
        left: auto;
        right: -30%;
        height: 90%;
    }
}

.facts {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}
.facts__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts__item {
    padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px);
    border-left: 1px solid var(--line);
}
.facts__item:first-child {
    padding-left: 0;
    border-left: 0;
}
.facts__value {
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.625rem);
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums lining-nums;
    white-space: nowrap;
}
.facts__label {
    margin-top: 10px;
    color: var(--ink-3);
    font-size: 0.9375rem;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .facts__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .facts__item:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
    .facts__item:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
}
@media (max-width: 420px) {
    .facts__list {
        grid-template-columns: minmax(0, 1fr);
    }
    .facts__item[class] {
        padding-inline: 0;
        border-left: 0;
    }
    .facts__item + .facts__item {
        border-top: 1px solid var(--line);
    }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.service-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--stone-50);
    transition: border-color 0.25s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), background-color 0.25s;
}
.service-card:hover {
    border-color: var(--line-strong);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.service-card__icon,
.service__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}
.service-card__icon .icon,
.service__icon .icon {
    width: 26px;
    height: 26px;
}
.service-card__division {
    color: var(--gold-700);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.service-card__title {
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
}
.service-card__text {
    color: var(--ink-3);
}
.service-card__more,
.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--navy-900);
    font-size: 0.9375rem;
    font-weight: 600;
}
.service-card__more .icon,
.news-card__more .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-600);
    transition: transform 0.25s var(--ease-out);
}
.service-card:hover .service-card__more .icon,
.news-card:hover .news-card__more .icon {
    transform: translateX(4px);
}
@media (max-width: 760px) {
    .service-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px);
    list-style: none;
}
.pillars__item {
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
}
.pillars__num {
    color: var(--gold-400);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}
.pillars__title {
    margin: 10px 0 10px;
    font-size: 1.375rem;
}
.pillars__text {
    font-size: 0.9875rem;
}
@media (max-width: 900px) {
    .pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .pillars {
        grid-template-columns: minmax(0, 1fr);
    }
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
}
.deal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.deal__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.deal__year {
    color: var(--gold-700);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.deal__volume {
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.15;
}
.deal__text {
    color: var(--ink-3);
    font-size: 0.9375rem;
    line-height: 1.55;
}
@media (max-width: 1100px) {
    .deal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .deal-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.story__inner {
    max-width: 920px;
    text-align: center;
}
.story .eyebrow {
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
}
.story .eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}
.story__quote {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
:lang(cs) {
    quotes: "„" "“" "‚" "‘";
}
:lang(en) {
    quotes: "“" "”" "‘" "’";
}
.story__quote p::before {
    content: open-quote;
}
.story__quote p::after {
    content: close-quote;
}
.story__text {
    max-width: 60ch;
    margin: 28px auto 20px;
    color: var(--ink-3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.news-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.25s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.news-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.news-card__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-3);
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
}
.news-card__date .icon {
    width: 16px;
    height: 16px;
    color: var(--gold-600);
}
.news-card__title {
    font-size: 1.3125rem;
    line-height: 1.25;
}
.news-card__text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink-3);
    font-size: 0.9375rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
@media (max-width: 1000px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.section--cta {
    padding-block: clamp(48px, 6vw, 96px);
}
.cta {
    --focus: var(--gold-400);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px 48px;
    overflow: hidden;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius-xl);
    background: var(--navy-900);
    color: var(--on-navy-2);
    box-shadow: var(--shadow-lg);
}
.cta__art {
    position: absolute;
    top: -40%;
    right: 6%;
    z-index: -1;
    height: 190%;
    color: rgb(255 255 255 / 0.07);
}
.cta__title {
    max-width: 22ch;
    color: var(--on-navy);
    font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
    line-height: 1.12;
}
.cta__text {
    max-width: 58ch;
    margin-top: 16px;
}
.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 860px) {
    .cta {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* 8 Vnitřní stránky */
.page-hero {
    --focus: var(--gold-400);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px);
    background: var(--navy-900);
    color: var(--on-navy-2);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(50% 120% at 100% 0%, rgb(23 68 136 / 0.6), transparent 70%);
}
.page-hero__art {
    position: absolute;
    top: -30%;
    right: max(-40px, calc(50% - 640px));
    z-index: -1;
    height: 170%;
    color: rgb(255 255 255 / 0.06);
}
.page-hero__title {
    max-width: 20ch;
    color: var(--on-navy);
    font-size: clamp(2.375rem, 1.6rem + 3vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.page-hero__title--article {
    max-width: none;
    font-size: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
    line-height: 1.12;
}
.page-hero__lead {
    max-width: 62ch;
    margin-top: 20px;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin-bottom: 24px;
    list-style: none;
    font-size: 0.875rem;
}
.breadcrumbs li + li::before {
    content: "/";
    margin-inline: 10px;
    color: var(--on-navy-3);
}
.breadcrumbs a {
    color: var(--on-navy-2);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.breadcrumbs [aria-current] {
    color: var(--on-navy-3);
}

.chips {
    margin-top: 32px;
}
.chips ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    color: var(--on-navy-2);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.chip .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-400);
}
.chip:hover {
    border-color: rgb(255 255 255 / 0.4);
    background: rgb(255 255 255 / 0.08);
    color: var(--white);
}
.chip[aria-current="page"] {
    border-color: var(--white);
    background: var(--white);
    color: var(--navy-900);
}
.chip__note {
    color: var(--on-navy-3);
    font-size: 0.75rem;
}
.chip[aria-current="page"] .chip__note {
    color: var(--ink-3);
}
@media (max-width: 760px) {
    .chips ul {
        flex-wrap: nowrap;
        margin-inline: calc(-1 * var(--gutter));
        padding-inline: var(--gutter);
        padding-bottom: 4px;
        overflow-x: auto;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .chips ul::-webkit-scrollbar {
        display: none;
    }
}

/* Služby */
.service__aside {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}
.service__summary {
    margin-top: 16px;
    color: var(--ink-2);
    font-size: 1.125rem;
}
@media (max-width: 900px) {
    .service__aside {
        position: static;
    }
}
.subhead {
    margin: 40px 0 16px;
    color: var(--ink-3);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.checklist {
    display: grid;
    gap: 14px;
    list-style: none;
}
.checklist li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 14px;
}
.checklist .icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: var(--gold-600);
}
.more {
    margin-top: 6px;
}
.more > .checklist {
    margin-top: 14px;
}
.more summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-left: 36px;
    color: var(--navy-900);
    font-size: 0.9375rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.more summary::-webkit-details-marker {
    display: none;
}
.more summary .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-600);
    transition: transform 0.25s var(--ease-out);
}
.more summary:hover {
    color: var(--navy-700);
}
.more[open] summary .icon {
    transform: rotate(180deg);
}
.more__open,
.more[open] .more__closed {
    display: none;
}
.more[open] .more__open {
    display: inline;
}
.steps {
    list-style: none;
    counter-reset: step;
}
.steps__item {
    position: relative;
    padding: 0 0 32px 64px;
    counter-increment: step;
}
.steps__item::before {
    content: counter(step);
    position: absolute;
    top: -6px;
    left: 0;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
}
.steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 42px;
    bottom: 0;
    left: 21px;
    width: 1px;
    background: var(--line-strong);
}
.steps__title {
    margin-bottom: 6px;
    font-size: 1.25rem;
}
.steps .bullets {
    margin-top: 12px;
}
.clients {
    margin-top: 8px;
}
.service .link-arrow {
    margin-top: 32px;
}

/* Reference */
.results-count {
    margin-bottom: 16px;
    color: var(--ink-3);
    font-size: 0.875rem;
}
.ref-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
}
.ref-table th {
    padding: 0 16px 14px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--ink-3);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
}
.ref-table td {
    padding: 22px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.ref-table th:first-child,
.ref-table td:first-child {
    padding-left: 0;
}
.ref-table tbody tr {
    transition: background-color 0.2s;
}
.ref-table tbody tr:hover {
    background: rgb(255 255 255 / 0.7);
}
.ref-table__year {
    width: 120px;
    color: var(--navy-900);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ref-table__text {
    color: var(--ink-2);
}
.ref-table__volume {
    width: 220px;
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}
.ref-table__area {
    width: 130px;
}
.footnote {
    margin-top: 24px;
    color: var(--ink-3);
    font-size: 0.875rem;
}
@media (max-width: 760px) {
    .ref-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .ref-table,
    .ref-table tbody {
        display: block;
    }
    .ref-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 16px;
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
    }
    .ref-table td {
        display: block;
        width: auto;
        padding: 0;
        border: 0;
    }
    .ref-table__year {
        grid-row: 1;
        grid-column: 1;
    }
    .ref-table__area {
        grid-row: 1;
        grid-column: 2;
    }
    .ref-table__text,
    .ref-table__volume {
        grid-column: 1 / -1;
    }
    .ref-table__volume[data-label]::before {
        content: attr(data-label) ": ";
        color: var(--ink-3);
        font-family: var(--font-sans);
        font-size: 0.875rem;
        font-weight: 500;
    }
}

/* O nás */
.structure {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
}
.structure__item {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--stone-50);
    transition: border-color 0.25s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), background-color 0.25s;
}
.structure__item:hover {
    border-color: var(--line-strong);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.structure__item .mark {
    width: 22px;
    height: 40px;
    margin-bottom: 24px;
    color: var(--navy-900);
}
.structure__name {
    font-size: 1.375rem;
}
.structure__text {
    margin-top: 8px;
    color: var(--ink-3);
}
.structure__arrow[class] {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 20px;
    height: 20px;
    color: var(--gold-600);
    transition: transform 0.25s var(--ease-out);
}
.structure__item:hover .structure__arrow {
    transform: translateX(4px);
}
@media (max-width: 900px) {
    .structure {
        grid-template-columns: minmax(0, 1fr);
    }
}

.timeline {
    list-style: none;
}
.timeline__item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0 24px;
}
.timeline__year {
    padding-top: 2px;
    text-align: right;
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.timeline__body {
    position: relative;
    padding: 0 0 40px 32px;
    border-left: 1px solid var(--line-strong);
}
.timeline__body::before {
    content: "";
    position: absolute;
    top: 9px;
    left: -6px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--gold-500);
    box-shadow: 0 0 0 4px var(--stone-50);
}
.timeline__item:last-child .timeline__body {
    padding-bottom: 8px;
}
.timeline__title {
    margin-bottom: 8px;
    font-size: 1.25rem;
}
.timeline__logo {
    display: inline-block;
    margin: 4px 0 14px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}
.timeline__logo img {
    width: auto;
    height: 48px;
}
.timeline__body .bullets {
    margin-top: 12px;
}
.timeline__more {
    margin-top: 24px;
    padding-left: 136px;
}
.timeline__more a {
    color: var(--navy-700);
    font-weight: 600;
    text-decoration-color: var(--gold-500);
    text-underline-offset: 3px;
}
@media (max-width: 600px) {
    .timeline__item {
        grid-template-columns: minmax(0, 1fr);
    }
    .timeline__year {
        padding: 0 0 6px 32px;
        text-align: left;
        border-left: 1px solid var(--line-strong);
    }
    .timeline__body::before {
        top: -22px;
    }
    .timeline__more {
        padding-left: 0;
    }
}

.myth__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
}
.myth__figure {
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding-top: 7%;
    background: radial-gradient(60% 70% at 55% 45%, rgb(120 152 198 / 0.4), transparent), var(--navy-900);
    box-shadow: var(--shadow-lg);
}
.myth__figure img {
    width: 100%;
}
.myth__text blockquote {
    margin-top: 24px;
}
.myth__source {
    color: var(--ink-3);
    font-size: 0.9375rem;
}
.acronym {
    margin-top: 32px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--stone-50);
}
.acronym__label {
    color: var(--ink-3);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.acronym__text {
    margin-top: 6px;
    color: var(--ink-3);
}
.acronym__text strong {
    color: var(--navy-900);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--gold-500);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
@media (max-width: 900px) {
    .myth__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Kontakt */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
}
.contact__card {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.contact__title {
    margin-bottom: 28px;
    font-size: 1.5rem;
}
.contact__list {
    display: grid;
    gap: 24px;
}
.contact__list dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-3);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.contact__list dt .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-600);
}
.contact__list dd {
    margin-top: 6px;
    color: var(--ink);
}
.contact__list dd a {
    color: var(--navy-900);
    text-decoration-color: var(--gold-500);
    text-underline-offset: 4px;
}
.contact__email {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.contact__gps {
    font-variant-numeric: tabular-nums;
}
.contact__actions {
    margin-top: 32px;
}
.map {
    --focus: var(--gold-400);
    position: relative;
    isolation: isolate;
    min-height: 440px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    color: var(--on-navy-2);
}
.map__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px;
    text-align: center;
}
.map__placeholder .mark-art {
    position: absolute;
    top: -10%;
    left: 50%;
    z-index: -1;
    height: 120%;
    color: rgb(255 255 255 / 0.06);
    transform: translateX(-50%);
}
.map__address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-navy);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}
.map__address .icon {
    color: var(--gold-400);
}
.map__note {
    color: var(--on-navy-3);
    font-size: 0.8125rem;
}
.map__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    list-style: none;
}
.map__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration-color: rgb(255 255 255 / 0.4);
    text-underline-offset: 4px;
}
.map__links .icon {
    width: 16px;
    height: 16px;
}
.map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.map.is-loaded .map__placeholder {
    display: none;
}
@media (max-width: 900px) {
    .contact {
        grid-template-columns: minmax(0, 1fr);
    }
    .map {
        min-height: 360px;
    }
}

/* Článek */
.article__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-variant-numeric: tabular-nums;
}
.article__date .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-400);
}
.article__figure {
    margin-bottom: 32px;
}
.article__figure img {
    border-radius: var(--radius-sm);
}
.article__perex {
    margin-bottom: 28px;
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.55;
}
.article__body {
    font-size: 1.0625rem;
}
.article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.article-nav__link {
    display: block;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.3s var(--ease-out);
}
.article-nav__link:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}
.article-nav__link--next {
    grid-column: 2;
    text-align: right;
}
.article-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-3);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.article-nav__label .icon {
    width: 16px;
    height: 16px;
    color: var(--gold-600);
}
.article-nav__title {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}
.article .link-arrow--back {
    margin-top: 32px;
}
@media (max-width: 640px) {
    .article-nav {
        grid-template-columns: minmax(0, 1fr);
    }
    .article-nav__link--next {
        grid-column: auto;
        grid-row: 1;
    }
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
}
.pagination__status {
    color: var(--ink-3);
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
}
.empty-state {
    display: grid;
    justify-items: center;
    gap: 20px;
    padding-block: 48px;
    text-align: center;
}
.empty-state .mark {
    width: 33px;
    height: 60px;
    color: var(--navy-200);
}
.link-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}
.link-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 16px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.3s var(--ease-out);
}
.link-list__item .icon {
    color: var(--gold-600);
    transition: transform 0.25s var(--ease-out);
}
.link-list__item:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}
.link-list__item:hover .icon {
    transform: translateX(4px);
}
@media (max-width: 760px) {
    .link-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Nabídka jazyka podle nastavení prohlížeče */
.lang-hint {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 8px 8px 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.9375rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(-50%);
    animation: hint-in 0.5s var(--ease-out) both;
}
.lang-hint[hidden] {
    display: none;
}
.lang-hint > .icon {
    color: var(--gold-600);
}
@keyframes hint-in {
    from {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}
@media (max-width: 560px) {
    .lang-hint {
        flex-wrap: wrap;
        border-radius: var(--radius);
        padding: 14px 8px 14px 16px;
    }
    .lang-hint p {
        flex: 1 1 60%;
    }
}

/* 9 Patička */
.site-footer {
    --focus: var(--gold-400);
    padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom));
    background: var(--navy-950);
    color: var(--on-navy-2);
    font-size: 0.9375rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
}
.site-footer .logo {
    color: var(--white);
}
.site-footer__brand p {
    max-width: 36ch;
    margin-top: 20px;
    color: var(--on-navy-3);
}
.site-footer__title {
    margin-bottom: 16px;
    color: var(--gold-400);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.site-footer ul {
    display: grid;
    gap: 4px;
    list-style: none;
}
.site-footer a {
    color: var(--on-navy-2);
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer__col a {
    display: inline-block;
    padding-block: 4px;
}
.site-footer a:hover {
    color: var(--white);
}
.site-footer a[aria-current] {
    color: var(--white);
    font-weight: 600;
}
.site-footer address + p {
    margin-top: 12px;
}
.site-footer__social {
    margin-top: 16px;
}
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 32px;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
    color: var(--on-navy-3);
    font-size: 0.875rem;
}
.to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-left: auto;
}
.to-top .icon {
    width: 16px;
    height: 16px;
}
@media (max-width: 900px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-footer__brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 480px) {
    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .to-top {
        margin-left: 0;
    }
}

/* 10 Animace (jen transform/opacity; respektují prefers-reduced-motion) */
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
}
@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}
.hero__content > * {
    animation: rise 0.8s var(--ease-out) both;
}
.hero__content > :nth-child(2) {
    animation-delay: 0.08s;
}
.hero__content > :nth-child(3) {
    animation-delay: 0.16s;
}
.hero__content > :nth-child(4) {
    animation-delay: 0.24s;
}
.hero__statue {
    animation: fade 1.2s var(--ease-out) 0.15s both;
}
.page-hero .container > * {
    animation: rise 0.7s var(--ease-out) both;
}
.page-hero .container > :nth-child(2) {
    animation-delay: 0.06s;
}
.page-hero .container > :nth-child(n + 3) {
    animation-delay: 0.12s;
}
.mark-art rect,
.mark-art path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}
.hero .mark-art rect,
.hero .mark-art path,
.page-hero .mark-art rect,
.page-hero .mark-art path {
    stroke-dashoffset: 1;
    animation: draw 2.4s var(--ease-out) 0.2s forwards;
}
.hero .mark-art path,
.page-hero .mark-art path {
    animation-duration: 3.2s;
    animation-delay: 0.5s;
}
.js .cta .mark-art path {
    stroke-dashoffset: 1;
}
.js .cta.is-visible .mark-art path {
    animation: draw 3s var(--ease-out) 0.3s forwards;
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
.js [data-reveal]:nth-child(2) {
    transition-delay: 0.07s;
}
.js [data-reveal]:nth-child(3) {
    transition-delay: 0.14s;
}
.js [data-reveal]:nth-child(4) {
    transition-delay: 0.21s;
}
.js [data-reveal]:nth-child(5) {
    transition-delay: 0.28s;
}
/* Řádky tabulky referencí bez zpoždění (při filtrování by působily líně) */
.js tr[data-reveal][data-reveal] {
    transition-delay: 0s;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
    .mark-art rect[class],
    .mark-art path[class] {
        stroke-dashoffset: 0;
        animation: none;
    }
}

/* 11 Tisk */
@media print {
    .site-header,
    .site-footer,
    .section--cta,
    .lang-hint,
    .chips,
    .hero__art,
    .page-hero__art,
    .map {
        display: none !important;
    }
    body,
    .hero,
    .page-hero,
    .section--navy {
        background: #fff !important;
        color: #000 !important;
    }
    .hero__title,
    .page-hero__title,
    .section--navy h2,
    .section--navy h3 {
        color: #000 !important;
    }
    .js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
    .prose a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
    }
}
