/* ==========================================================
   Libor Bžunka – osobní kouč
   Barvy: modrá / bílá / černá
   ========================================================== */

:root {
  --blue: #1D809F;
  --blue-dark: #146680;
  --blue-soft: #e8f3f6;
  --ink: #0d1214;
  --ink-2: #1b2326;
  --text: #2b3437;
  --muted: #5d696d;
  --line: #dde5e8;
  --paper: #f6f9fa;
  --white: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -24px rgba(13, 18, 20, .28);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Společné prvky ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.eyebrow--light { color: #9fd3e3; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 52px;
  padding: .85em 1.7em;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--small { min-height: 42px; padding: .6em 1.3em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section__sub { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: 600 1rem var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* ---------- Navigace ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
}
.nav__brand span {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a:not(.btn) {
  position: relative;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--white);
  transition: transform .3s, top .3s;
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Úvod ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px));
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 38%;
  height: 100%;
  background: var(--blue-soft);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.04;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--blue); }

.hero__lead {
  max-width: 34ch;
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__note {
  display: flex;
  align-items: center;
  gap: .6em;
  margin: 1.6rem 0 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(29, 128, 159, .18);
}

.hero__media { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.hero__badge {
  position: absolute;
  left: -28px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: .82rem;
  line-height: 1.35;
}
.hero__badge strong {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--blue);
  font-size: .95rem;
  letter-spacing: .04em;
}

/* ---------- Fakta ---------- */

.facts { background: var(--ink); color: var(--white); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__big { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.fact__label { color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* ---------- Kdo jsem ---------- */

.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.about__photo {
  margin: 0;
  position: relative;
}
.about__photo::after {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  z-index: -1;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 40% 30%;
  border-radius: var(--radius);
}
.about__text h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 1.5rem; }
.lead { font-size: 1.22rem; color: var(--ink-2); }
.about__name {
  margin: 1.8rem 0 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}

.cert {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cert:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.cert img {
  flex: 0 0 auto;
  width: 84px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.cert__text { display: flex; flex-direction: column; gap: 4px; font-size: .95rem; color: var(--muted); line-height: 1.5; }
.cert__text strong { color: var(--ink); font-size: 1rem; }
.cert__link { margin-top: 4px; color: var(--blue); font-weight: 700; }

/* ---------- Nabídka ---------- */

.offer { background: var(--blue); color: var(--white); }
.offer h2 { color: var(--white); }
.offer .eyebrow--light { color: rgba(255, 255, 255, .85); }

.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 220px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--blue);
  transition: background .25s;
}
.card:hover { background: var(--blue-dark); }
.card__icon {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__num {
  position: absolute;
  top: clamp(24px, 3vw, 36px);
  right: clamp(24px, 3vw, 36px);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}
.card h3 {
  color: var(--white);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.25;
}

/* ---------- Koučink ---------- */

.coaching__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.coaching__def {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.steps { display: grid; gap: 14px; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s;
}
.step:hover { border-color: var(--blue); }
.step__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.step h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Reference ---------- */

.testimonial { background: var(--ink); color: rgba(255, 255, 255, .82); }
.testimonial__inner { max-width: 860px; }
.testimonial__mark { display: block; width: 56px; fill: var(--blue); margin: .5rem 0 1.6rem; }
.testimonial blockquote { margin: 0; }
.testimonial__hl {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 1.6rem;
}
.js .testimonial__full {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}
.js .testimonial__full > * { overflow: hidden; }
.js .testimonial__full.is-open { grid-template-rows: 1fr; }
html:not(.js) #refToggle { display: none; }
.testimonial__full-inner p { font-size: 1.05rem; }
.testimonial__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 1.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-style: italic;
}
.testimonial .link-btn { color: #8fd0e4; font-style: normal; }

/* ---------- Kontakt ---------- */

.contact { background: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.contact__card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.contact__info { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.contact__name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.3; margin-bottom: 1.2rem; }

.contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}
a.contact__row:hover { color: var(--blue); }
.contact__row svg, .social svg {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__row svg { color: var(--blue); }
.contact__row--static { font-weight: 500; color: var(--muted); }

.price { margin: 1.2rem 0 1.4rem; border-top: 1px solid var(--line); }
.price li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.price strong { color: var(--ink); white-space: nowrap; }

.social { display: flex; gap: 10px; margin-top: auto; }
.social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: background .2s, transform .2s;
}
.social a:hover { background: var(--blue); transform: translateY(-2px); }
.social svg .fill, .social .fill { fill: currentColor; stroke: none; }

.form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form__title { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin-bottom: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--blue); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: 500 1rem var(--sans);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(29, 128, 159, .14);
}
.h-captcha { margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 14px 0 0; font-weight: 600; font-size: .95rem; min-height: 1.5em; }
.form__status.is-ok { color: var(--blue); }
.form__status.is-err { color: #b42318; }

/* ---------- Patička ---------- */

.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding-block: 44px; font-size: .9rem; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.footer p { margin: 0; }
.footer__brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); }
.footer__motto { font-style: italic; margin-top: 4px !important; }

/* ---------- Certifikát (lightbox) ---------- */

.lightbox {
  width: min(680px, 92vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: auto;
}
.lightbox::backdrop { background: rgba(13, 18, 20, .82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; }
.lightbox__close {
  position: sticky;
  top: 10px;
  float: right;
  margin: 10px 10px -54px 0;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

/* ---------- Animace při scrollu ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ==========================================================
   Responzivita
   ========================================================== */

@media (max-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__card { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }

  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__menu.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__menu a:not(.btn) { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: 18px; min-height: 52px; font-size: 1rem; }

  .hero::before { width: 100%; height: 46%; top: auto; bottom: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; width: 100%; margin-inline: auto; }
  .hero__badge { left: 12px; bottom: 16px; }

  .facts__grid { grid-template-columns: 1fr; }
  .fact { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: .3rem 1rem; padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .fact:first-child { border-top: 0; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 440px; margin-right: 24px; }

  .offer__grid { grid-template-columns: 1fr 1fr; }

  .coaching__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .offer__grid { grid-template-columns: 1fr; }
  .card { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; padding: 22px; }
  .card__icon { width: 32px; height: 32px; flex: 0 0 auto; }
  .card__num { top: 50%; transform: translateY(-50%); right: 22px; }
  .card h3 { padding-right: 32px; }
  .contact__card { grid-template-columns: 1fr; }
  .contact__photo { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cert img { width: 64px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Reklamní pruh free hostingu (728 px) nesmí na mobilu roztáhnout stránku do šířky */
div[style*="width:728px"] { max-width: 100%; overflow: hidden; }
