/* Entea – styl webu
   Barvy: design systém enneagram.cz · Logo: tělo – srdce – hlava (7. 10. 2026) · Písma: Fraunces + Nunito Sans (SIL OFL, self-hosted) */

/* ---------- Písma ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/fraunces-latin-400-normal.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: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-600-normal.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: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.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: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-600-normal.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: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.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; }

/* ---------- Tokeny ---------- */
:root {
  color-scheme: light dark;
  --bg: #FAF4EC;
  --bg-raised: #FFFFFF;
  --bg-soft: #F3E8DA;
  --bg-brand-soft: #F6E3D6;
  --bg-sage-soft: #E9ECE0;
  --text: #261C12;
  --text-muted: #6B5D4F;
  --brand: #A94D25;
  --brand-hover: #8A3D1F;
  --brand-text: #FFFFFF;
  --ochre: #A9751A;
  --sage: #6F7D5A;
  --sage-strong: #556244;
  --border: #E5D8C8;
  --field-border: #857563;
  --focus: #A94D25;
  --error: #B42318;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(38, 28, 18, .06), 0 4px 16px rgba(38, 28, 18, .06);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A120B;
    --bg-raised: #241A12;
    --bg-soft: #21170F;
    --bg-brand-soft: #2E1C12;
    --bg-sage-soft: #1F2219;
    --text: #FAF4EC;
    --text-muted: #C9BBA9;
    --brand: #DB8F66;
    --brand-hover: #E8A986;
    --brand-text: #1A120B;
    --ochre: #E0A52E;
    --sage: #B3BD97;
    --sage-strong: #C5CDAD;
    --border: #3A2C20;
    --field-border: #8F7D6A;
    --focus: #DB8F66;
    --error: #F97066;
    --shadow: none;
  }
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .15em; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }
.narrow { max-width: 760px; }
.muted { color: var(--text-muted); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--brand); color: var(--brand-text); padding: 8px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 16px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 .75rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 62ch; }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--brand); color: var(--brand-text); }
.btn-primary:hover { background: var(--brand-hover); color: var(--brand-text); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--bg-brand-soft); color: var(--brand-hover); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn), .nav-mobile a { color: var(--text); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav a[aria-current="page"]:not(.btn) { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; font-weight: 700; padding: 8px 16px; border: 2px solid var(--field-border); border-radius: 999px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-mobile li a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); }
.nav-mobile li a:hover, .nav-mobile a[aria-current="page"] { background: var(--bg-brand-soft); }
@media (max-width: 860px) { .nav { display: none; } .nav-mobile { display: block; } }

/* ---------- Sekce ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); background: radial-gradient(1200px 500px at 85% -10%, var(--bg-brand-soft), transparent 60%), radial-gradient(900px 400px at -10% 110%, var(--bg-sage-soft), transparent 60%); }
.hero h1 { max-width: 16ch; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-inline: auto; }
.page-head--center img { margin: 0 auto 24px; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-top: 0; }
main:focus { outline: none; }
main [id] { scroll-margin-top: 88px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.split__media { justify-self: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- Karty a seznamy ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 760px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
.card:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--bg-brand-soft); }
.card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p:last-child { margin-bottom: 0; }
.card--brand { border-top: 4px solid var(--brand); }
.card--ochre { border-top: 4px solid var(--ochre); }
.card--sage { border-top: 4px solid var(--sage); }
.card__link { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none; }
.checklist { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--sage); }
.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-brand-soft); color: var(--brand); font: 600 1.2rem/1 var(--font-serif); }
.person__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: var(--bg-brand-soft); color: var(--brand); font: 600 1.4rem/1 var(--font-serif); }
.person__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.person h3 { margin-bottom: .2em; }
.person__role { color: var(--text-muted); font-weight: 600; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 12px 0 0; }
.tags li { font-size: .8rem; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--bg-sage-soft); color: var(--sage-strong); }

/* ---------- Partner, poznámka, výzva ---------- */
.partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: clamp(28px, 5vw, 48px); border-radius: calc(var(--radius) * 1.5); background: var(--bg-sage-soft); }
.partner > div { max-width: 60ch; }
.partner p:last-child { margin-bottom: 0; }
.note { margin-top: 28px; padding: 16px 20px; border-left: 4px solid var(--ochre); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; color: var(--text-muted); }
.cta-band { background: var(--brand); color: var(--brand-text); padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.cta-band :focus-visible { outline-color: var(--brand-text); }
.cta-band__inner p { opacity: .92; }
.cta-band .btn-primary { background: var(--bg); color: var(--brand); }
.cta-band .btn-primary:hover { background: var(--bg-soft); color: var(--brand-hover); }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }

/* ---------- Akce ---------- */
.event__date { font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.event__facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 4px 0 16px; }
.event__facts dt { color: var(--text-muted); }
.event__facts dd { margin: 0; }
.event__cta { margin-top: auto; padding-top: 8px; }
.event--summary { margin-bottom: 28px; }
.event--summary .event__facts { margin-bottom: 0; }
.event__more { margin-top: 28px; }

/* ---------- Formulář ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
label { font-weight: 700; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg-raised); border: 2px solid var(--field-border); border-radius: var(--radius-sm); padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--bg-brand-soft); }
[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-weight: 600; font-size: .95rem; margin: 0; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); border: 2px solid var(--error); color: var(--error); font-weight: 600; margin-bottom: 24px; }
.form__note, .form__legend { font-size: .9rem; color: var(--text-muted); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { width: 22px; height: 22px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--brand); }
.guardian { display: grid; gap: 16px; margin: 0; padding: 20px; border: 2px solid var(--border); border-radius: var(--radius-sm); }
.guardian legend { font-weight: 700; padding: 0 6px; }
/* Bez JS: zástupce se skryje, dokud není zaškrtnuto „méně než 18 let“; prohlížeč bez :has() ho ukáže vždy. */
.form:has(#minor:not(:checked)) .guardian { display: none; }

/* ---------- Patička ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; background: var(--bg-soft); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__symbol { margin-bottom: 12px; }
.site-footer__title { font: 700 .8rem/1.4 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__bottom { padding-block: 24px; margin-top: 40px; border-top: 1px solid var(--border); font-size: .9rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Cookie lišta ---------- */
.consent { position: fixed; inset: auto 16px 16px 16px; z-index: 60; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent__inner { max-width: 760px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 40px rgba(38, 28, 18, .18); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.consent__inner p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
