@import url("fonts.css");

/* ============================================================
   DESIGN TOKENY
   ============================================================ */
:root {
  --white: #ffffff;
  --offwhite: #f7f7f7;
  --black: #130209;
  --grey: #b4b4ba;
  --grey-dark: #6e6e6e;
  --line: #ececee;
  --red: #ce0606;
  --red-dark: #b60000;

  --display: "Anton", "Arial Narrow", sans-serif;
  --ui: "Oswald", "Arial Narrow", sans-serif;
  --body: "Lato", -apple-system, "Segoe UI", sans-serif;

  --max: 1140px;
  --pad: 24px;
}

/* ============================================================
   ZÁKLAD
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red); text-decoration: underline; }

img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; }

.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

.section { padding-block: 80px; }
.section--alt { background: var(--offwhite); }
.section--dark { background: var(--black); color: var(--white); }
.section--narrow .container { max-width: 760px; }

.h2 { font-size: 38px; margin: 0 0 22px; }
.section--dark .h2 { color: var(--white); }

.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.eyebrow::before { content: ""; flex: none; width: 34px; height: 3px; background: var(--red); }
.eyebrow span {
  font-family: var(--ui); font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey-dark);
}

.label {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-dark); margin-bottom: 5px;
}
.value { font-family: var(--ui); font-weight: 500; font-size: 17px; }
/* upřesnění za hodnotou — menší a šedé, ať nekonkuruje číslu */
.value__note { font-size: 14px; color: var(--grey-dark); white-space: nowrap; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--black); color: #fff; padding: 12px 20px; font-family: var(--ui);
}
.skip-link:focus { left: 0; color: #fff; }

/* ============================================================
   LOGO
   ============================================================ */
.logo { display: flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; }
.logo:hover { color: var(--black); text-decoration: none; }
.logo__marks { display: flex; gap: 4px; }
.logo__marks i { display: block; width: 7px; height: 22px; background: var(--black); transform: skewX(-24deg); }
.logo__marks i:last-child { background: var(--red); }
.logo__text { font-family: var(--display); font-size: 19px; letter-spacing: 0.04em; white-space: nowrap; }

.logo--sm .logo__marks { gap: 3px; }
.logo--sm .logo__marks i { width: 5px; height: 16px; }
.logo--sm .logo__text { font-size: 15px; }

/* ============================================================
   HLAVIČKA
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  padding-block: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav {
  display: flex; align-items: center; gap: 26px;
  font-family: var(--ui); font-weight: 500; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav a { color: var(--black); text-decoration: none; }
.nav a:hover { color: var(--red-dark); text-decoration: none; }
.nav a.nav__cta { background: var(--black); color: #fff; padding: 9px 20px; }
.nav a.nav__cta:hover { background: var(--red-dark); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 88px var(--pad) 72px; max-width: var(--max); margin: 0 auto; }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.05;
  margin: 0 0 28px;
}
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; font-family: var(--ui); font-weight: 500; font-size: 15px; letter-spacing: 0.05em; }
.chip { border: 1px solid var(--black); padding: 8px 16px; }
.chip--red { border-color: var(--red); color: var(--red-dark); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }

.btn {
  display: inline-block; border: none; cursor: pointer;
  background: var(--red); color: #fff;
  font-family: var(--ui); font-weight: 600; font-size: 17px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 18px 42px; text-decoration: none; text-align: center;
}
.btn:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.btn:disabled { background: var(--grey); cursor: progress; }
.btn--block { display: block; width: 100%; padding-inline: 18px; }

.countdown { display: flex; gap: 22px; }
.countdown__num { font-family: var(--display); font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__lbl { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-dark); margin-top: 4px; }
.countdown > div { text-align: center; }

.chevrons { display: flex; justify-content: center; margin-top: 64px; }
.chevrons > div { display: flex; flex-direction: column; gap: 6px; }
.chevrons i {
  display: block; width: 26px; height: 26px;
  border-right: 3px solid var(--black); border-bottom: 3px solid var(--black);
  transform: rotate(45deg);
}
.chevrons i:nth-child(2) { opacity: 0.55; }
.chevrons i:nth-child(3) { border-color: var(--red); }

/* ============================================================
   O SEMINÁŘI
   ============================================================ */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about__lead { font-size: 17px; font-weight: 400; line-height: 1.65; margin: 0 0 28px; max-width: 52ch; text-wrap: pretty; }
/* uvozovací věta nad odrážkami */
.about__intro {
  font-family: var(--ui); font-weight: 500; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 18px; color: var(--black);
}
/* Závěrečné odstavce přes celou šířku sekce. Ve dvou sloupcích, protože
   na plných 1092 px by řádek měl přes 130 znaků a to se čte špatně. */
.about__full {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 36px;
  border-top: 1px solid #e2e2e5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about__full p {
  font-size: 16px; font-weight: 400; line-height: 1.7;
  margin: 0; color: #333; text-wrap: pretty;
}

.bullets { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; }
.bullets li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 1.5; }
.bullets li::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); position: relative; top: 1px;
}
.bullets li:nth-child(3n + 2)::before { background: var(--black); }
.bullets li:nth-child(3n)::before { background: var(--grey); }

.about__side { display: flex; flex-direction: column; gap: 20px; }
.about__photo { height: 300px; width: 100%; object-fit: cover; }
.factbox {
  background: #fff; border: 1px solid var(--line); padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}

/* ============================================================
   TÝM
   ============================================================ */
.section__sub { font-size: 16px; font-weight: 400; color: var(--grey-dark); margin: 0 0 40px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
/* GRID, ne flex! Ve flex sloupci se výška obrázku odvodí z jeho PŘIROZENÉ
   výšky (906 px) dřív, než se šířka stáhne na šířku karty — aspect-ratio se
   pak neuplatní a portrét se roztáhne přes celou stránku. Grid počítá výšku
   až podle výsledné šířky, takže poměr 3:3.4 sedí. */
.member { display: grid; gap: 14px; align-content: start; }
.member img { aspect-ratio: 3 / 3.4; width: 100%; height: auto; object-fit: cover; object-position: top; }
.member h3 { font-size: 21px; margin: 0 0 2px; }
.member__ig { font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; }
.member p { font-size: 14px; font-weight: 400; line-height: 1.6; margin: 0; color: #333; }

/* Bio v odrážkách — stejné barevné puntíky jako v sekci O semináři */
.member__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.member__list li {
  font-size: 14px; font-weight: 400; line-height: 1.45; color: #333;
  display: flex; gap: 11px; align-items: baseline;
}
.member__list li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); position: relative; top: 0;
}
.member__list li:nth-child(3n + 2)::before { background: var(--black); }
.member__list li:nth-child(3n)::before { background: var(--grey); }

/* ============================================================
   MINULÉ SEMINÁŘE
   ============================================================ */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.ref { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.ref img { height: 220px; width: 100%; object-fit: cover; }
.ref p { font-size: 16px; font-weight: 400; line-height: 1.55; margin: 0; color: #ededf0; }
/* doplňkové citace — menší a tlumenější, ať hlavní citace zůstane hlavní */
.ref__more { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ref__more li {
  font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--grey);
  padding-left: 14px; border-left: 2px solid #3a2a2e;
}
.section__sub--dark { color: var(--grey); margin-bottom: 40px; }
.ref figcaption { font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-dark); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--ui); font-weight: 500; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 15px; font-weight: 400; line-height: 1.65; margin: 14px 0 0; color: #333; }
.faq p strong { font-family: var(--ui); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); }
.faq__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.faq__list li {
  font-size: 15px; font-weight: 400; line-height: 1.5; color: #333;
  display: flex; gap: 14px; align-items: baseline;
}
.faq__list li::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); position: relative; top: 1px;
}
.faq__list li:nth-child(2)::before { background: var(--black); }
.faq__list li:nth-child(3)::before { background: var(--grey); }
.faq__list li span { font-family: var(--ui); font-weight: 500; color: var(--black); }

/* ============================================================
   PŘIHLÁŠKA
   ============================================================ */
.form-intro { font-size: 15px; font-weight: 400; line-height: 1.6; color: #333; margin: 0 0 36px; }

.card { background: #fff; border: 1px solid var(--line); padding: 36px; }

.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label,
.fieldset > legend {
  font-family: var(--ui); font-weight: 500; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0;
}
.field input,
.field textarea {
  border: 1px solid var(--grey); border-radius: 0;
  padding: 12px 14px; font-size: 15px; font-family: var(--body);
  background: #fff; color: var(--black);
}
.field textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 0; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.radios { display: flex; gap: 26px; font-size: 15px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.radios input { accent-color: var(--red); }

.form__note { font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--grey-dark); margin: 0; text-align: center; }
.form__note strong { color: var(--black); font-weight: 700; }
/* druhá poznámka (GDPR) blíž k první, ať tvoří jeden blok */
.form__note + .form__note { margin-top: -10px; }
.form__error {
  font-size: 14px; line-height: 1.5; color: var(--red-dark);
  border: 1px solid var(--red); padding: 14px 16px; margin: 0;
}

/* --- platební údaje --- */
.pay { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.pay__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pay__qr canvas { width: 220px; height: 220px; }
.pay__qr span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-dark); }
.pay__body { display: flex; flex-direction: column; gap: 18px; }
.pay__amount { font-family: var(--display); font-size: 30px; }
.pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pay__grid .value { font-size: 18px; }
.pay__wide { grid-column: 1 / -1; }
.pay__note { font-size: 13px; font-weight: 400; color: var(--grey-dark); margin: 0; }

.linkback {
  margin-top: 22px; background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--ui); font-weight: 500; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-dark);
}
.linkback:hover { color: var(--red-dark); }

[hidden] { display: none !important; }

/* ============================================================
   PATIČKA
   ============================================================ */
.footer { border-top: 1px solid var(--line); }
.footer .container {
  padding-block: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.footer__links { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
/* obrysové ikony — dědí barvu odkazu, takže reagují i na hover */
.ico {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico .ico--fill { fill: currentColor; stroke: none; }
.footer__copy { font-size: 13px; color: var(--grey); }

/* ============================================================
   RESPONZIVITA
   ============================================================ */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__full { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; margin-top: 0; }
  .hero { padding-top: 64px; }
  .pay { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
  .pay__body { width: 100%; }
}

@media (max-width: 700px) {
  .section { padding-block: 56px; }
  .h2 { font-size: 30px; }
  .hero__actions { gap: 28px; }
  .hero .btn { width: 100%; }
  .countdown { gap: 0; width: 100%; justify-content: space-between; }
  .countdown__num { font-size: 30px; }
  .card { padding: 24px; }
  .row2 { grid-template-columns: 1fr; }
  .chevrons { margin-top: 44px; }
}

@media (max-width: 560px) {
  .nav a:not(.nav__cta) { display: none; }
  .nav { gap: 0; }
  .factbox { grid-template-columns: 1fr; }
  .pay__grid { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; align-items: flex-start; }
}

@media print {
  .header, .chevrons, .nav, .form { display: none; }
}
