/* =========================================================
   Josef Lakomý — Psychoterapie Olomouc
   Vizuální směr A (břidlice + ocel) s teplým nádechem.
   Vlastní identita, nekopíruje referenční web.
   ========================================================= */

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

:root {
  /* Teplé neutrály (papír) */
  --paper:        #FAF8F4;
  --paper-2:      #F2EEE7;
  --surface:      #FFFFFF;
  --line:         #E5DFD5;
  --line-strong:  #D6CEC1;

  /* Chladná břidlicová škála (text a nadpisy) */
  --ink-900:      #1B2A33;
  --ink-800:      #263740;
  --ink-700:      #33454F;
  --text:         #3C4A53;
  --text-soft:    #5C6970;
  --text-faint:   #7B858C;

  /* Ocelově modrý akcent */
  --steel:        #3E687B;
  --steel-600:    #315566;
  --steel-700:    #294653;
  --steel-100:    #E5EEF2;
  --steel-200:    #C7DAE1;

  /* Teplý detailový tón (nádech ze směru B, používat střídmě) */
  --clay:         #A97A56;
  --clay-100:     #F1E6DB;

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-py:   clamp(3.5rem, 7vw, 6.5rem);
  --container-px: clamp(1.25rem, 5vw, 3rem);
  --container-max: 720px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background-color: var(--steel-200); color: var(--ink-900); }
img { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--steel-600); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.container--wide { max-width: 960px; }
section { padding: var(--section-py) 0; }

/* Skip link (přístupnost) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Viditelný focus stav */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ================= NAVIGACE ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 10px rgba(27, 42, 51, 0.05); }
.nav__inner {
  max-width: 1080px; margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav__logo {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500;
  color: var(--ink-900); letter-spacing: -0.01em;
}
.nav__logo span { color: var(--steel); }
.nav__links { display: flex; gap: clamp(0.7rem, 1.4vw, 1.1rem); list-style: none; white-space: nowrap; }
.nav__links a { font-size: 0.82rem; font-weight: 400; color: var(--text-soft); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink-900); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink-800); margin: 5px 0; transition: all 0.3s; }

/* ================= HERO ================= */
.hero { min-height: 100vh; padding-top: var(--nav-h); background-color: var(--paper); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -15%; right: 28%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--steel-100) 0%, transparent 70%);
  opacity: 0.7; pointer-events: none;
}
.hero__grid {
  max-width: 1080px; margin: 0 auto; padding: 0 var(--container-px);
  display: grid; grid-template-columns: 1fr 420px;
  gap: 0 3rem; align-items: center;
  min-height: calc(100vh - var(--nav-h));
}
.hero__content { padding: 3.5rem 0 3rem; position: relative; z-index: 1; }
.hero__label {
  display: inline-block; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 1.1rem;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 500; color: var(--ink-900);
  line-height: 1.2; margin-bottom: 1.2rem; max-width: 560px;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.9vw, 1.1rem);
  color: var(--text-soft); max-width: 460px; line-height: 1.8;
}
.hero__cta-wrap { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__portrait { align-self: center; display: flex; align-items: center; justify-content: flex-end; }
.hero__portrait img {
  width: 100%; max-width: 420px; height: 520px;
  object-fit: cover; object-position: 50% 12%;
  border-radius: 12px; box-shadow: 0 18px 40px rgba(27, 42, 51, 0.10);
}

/* ================= OBECNÉ SEKCE ================= */
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 500; color: var(--ink-900); line-height: 1.28; margin-bottom: 1.4rem;
}
.section-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--ink-800); margin: 2rem 0 1rem; font-weight: 500;
}
.section-text { font-size: 1rem; color: var(--text); line-height: 1.85; margin-bottom: 1.15rem; }
.section-text:last-child { margin-bottom: 0; }
.section-text strong { color: var(--ink-800); font-weight: 600; }

.bg-paper2 { background-color: var(--paper-2); }
.bg-white  { background-color: var(--surface); }
.bg-steel  { background-color: var(--steel-100); }
.divider { width: 44px; height: 2px; background: var(--clay); margin: 2rem 0; border-radius: 2px; }

/* ================= TLAČÍTKA ================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem; background-color: var(--steel); color: #fff;
  font-size: 0.9rem; font-weight: 500; border-radius: 7px;
  transition: background-color 0.2s, transform 0.2s; letter-spacing: 0.01em;
}
.btn:hover { background-color: var(--steel-600); color: #fff; transform: translateY(-1px); }
.btn--secondary { background: transparent; border: 1.5px solid var(--steel); color: var(--steel); }
.btn--secondary:hover { background: var(--steel); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-800); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink-900); transform: translateY(-1px); }
.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ================= ZÁSTUPNÉ FOTO BLOKY ================= */
.ph {
  position: relative; width: 100%;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 11px, rgba(62,104,123,0.05) 11px, rgba(62,104,123,0.05) 22px),
    var(--paper-2);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); text-align: center;
}
.ph span { font-size: 0.82rem; padding: 1.25rem; line-height: 1.55; max-width: 90%; }
.ph--portrait { aspect-ratio: 4/5; }
.ph--wide { aspect-ratio: 16/9; }
.ph--4-3 { aspect-ratio: 4/3; }

/* ================= O MNĚ / ZÁZEMÍ ================= */
.credentials {
  margin-top: 2rem; padding: 1.6rem;
  background: var(--surface); border-radius: 10px; border: 1px solid var(--line);
}
.credentials__title {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 1rem;
}
.credentials__list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.credentials__list li { font-size: 0.92rem; color: var(--text); padding-left: 1.1rem; position: relative; line-height: 1.6; }
.credentials__list li::before {
  content: ''; position: absolute; left: 0; top: 0.65rem;
  width: 5px; height: 5px; background: var(--steel); border-radius: 50%;
}

/* ================= HODNOTY (Jak pracuji) ================= */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; }
.value { padding: 1.25rem; background: var(--surface); border-radius: 10px; border: 1px solid var(--line); }
.value__name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 500; color: var(--ink-800); margin-bottom: 0.4rem; }
.value__desc { font-size: 0.88rem; color: var(--text-soft); line-height: 1.6; }

/* ================= TÉMATA ================= */
.topics { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1.5rem; }
.topics li {
  padding: 0.95rem 1.2rem; background: var(--surface); border-radius: 8px;
  border: 1px solid var(--line); font-size: 0.92rem; color: var(--text);
  transition: border-color 0.2s; line-height: 1.5;
}
.topics li:hover { border-color: var(--steel-200); }
.topics-note { margin-top: 1.5rem; font-size: 0.92rem; color: var(--text-soft); font-style: italic; }

/* ================= KROKY ================= */
.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.6rem; }
.steps li {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.05rem 1.35rem; background: var(--surface); border-radius: 10px; border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--steel-100); color: var(--steel-700);
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps li span { font-size: 0.95rem; color: var(--text); line-height: 1.6; padding-top: 0.25rem; }

/* ================= CENÍK ================= */
.pricing {
  margin-top: 1.5rem; padding: 2.25rem; background: var(--surface);
  border-radius: 12px; border: 1px solid var(--line); max-width: 420px;
}
.pricing__label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.5rem; }
.pricing__amount { font-family: var(--font-heading); font-size: 3rem; font-weight: 500; color: var(--ink-900); line-height: 1; }
.pricing__amount span { font-size: 1.3rem; font-family: var(--font-body); color: var(--text-soft); }
.pricing__meta { font-size: 0.92rem; color: var(--text-soft); margin-top: 0.75rem; }
.pricing__note { font-size: 0.92rem; color: var(--text-soft); margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); line-height: 1.7; }

/* Storno box */
.notice {
  margin-top: 1.75rem; padding: 1.5rem 1.6rem; background: var(--clay-100);
  border-left: 3px solid var(--clay); border-radius: 0 10px 10px 0;
}
.notice h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem; color: var(--ink-800); margin-bottom: 0.5rem; }
.notice p { font-size: 0.94rem; color: var(--text); line-height: 1.7; }

/* ================= INFO / KDE MĚ NAJDETE ================= */
.place-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.5rem; align-items: start; }
.place-block h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.1rem; color: var(--ink-800); margin-bottom: 0.6rem; }
.place-block p { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 0.75rem; }
.place-block ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.place-block ul li { font-size: 0.94rem; color: var(--text); padding-left: 1.1rem; position: relative; line-height: 1.55; }
.place-block ul li::before { content: ''; position: absolute; left: 0; top: 0.6rem; width: 5px; height: 5px; background: var(--steel); border-radius: 50%; }
.map-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.map-links .btn { padding: 0.65rem 1.2rem; font-size: 0.85rem; }

/* ================= FAQ ================= */
.faq { margin-top: 1.5rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 500; color: var(--ink-800);
  text-align: left; line-height: 1.5;
}
.faq__q:hover { color: var(--steel); }
.faq__icon { flex-shrink: 0; width: 20px; height: 20px; margin-left: 1rem; position: relative; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--steel); transition: transform 0.3s; }
.faq__icon::before { width: 12px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq__item.active .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__a-inner { padding-bottom: 1.2rem; font-size: 0.93rem; color: var(--text-soft); line-height: 1.8; }
.faq__item.active .faq__a { max-height: 500px; }

/* ================= REFERENCE ================= */
.reviews { background: var(--paper-2); }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.review {
  padding: 1.75rem; background: var(--surface); border-radius: 10px; border: 1px solid var(--line);
}
.review blockquote { font-family: var(--font-heading); font-size: 1.02rem; color: var(--ink-700); font-style: italic; line-height: 1.7; }
.review cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.85rem; color: var(--text-faint); }
.reviews__source { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-faint); }

/* ================= DOPRAVNÍ TERAPIE — blok ================= */
.transport {
  margin-top: 0; padding: 2.25rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--clay);
}
.transport h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; color: var(--ink-800); margin-bottom: 0.75rem; }
.transport p { font-size: 0.96rem; color: var(--text); line-height: 1.75; margin-bottom: 1.25rem; }

/* ================= KONTAKT ================= */
.contact { background-color: var(--ink-900); color: var(--paper-2); }
.contact .section-label { color: var(--steel-200); }
.contact .section-title { color: var(--paper); }
.contact__intro { font-size: 1rem; color: #B9C2C8; line-height: 1.8; margin-bottom: 0.75rem; max-width: 620px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; margin-top: 2rem; }
.contact__item { display: flex; flex-direction: column; gap: 0.25rem; }
.contact__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #7C8890; }
.contact__value { font-size: 1.05rem; color: var(--paper); }
.contact__value a { color: var(--paper); transition: color 0.2s; }
.contact__value a:hover { color: var(--steel-200); }
.contact__note { margin-top: 2rem; font-size: 0.88rem; color: #8A949B; font-style: italic; }

/* ================= FOOTER ================= */
.footer { background: #14212A; padding: 2rem 0; }
.footer__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.footer__text { font-size: 0.82rem; color: #7C8890; }
.footer__text a { color: #97A2A9; }
.footer__text a:hover { color: var(--steel-200); }

/* ================= PODSTRÁNKY (obecné) ================= */
.page-hero { padding-top: calc(var(--nav-h) + var(--section-py)); padding-bottom: var(--section-py); background: var(--paper-2); }
.breadcrumb { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--steel); }
.legal h2 { font-family: var(--font-heading); font-weight: 500; font-size: 1.25rem; color: var(--ink-800); margin: 2rem 0 0.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 0.96rem; color: var(--text); line-height: 1.8; }
.legal ul { margin: 0.5rem 0 1rem 1.25rem; }
.legal .note { margin-top: 2rem; padding: 1.25rem 1.4rem; background: var(--paper-2); border-radius: 8px; font-size: 0.9rem; color: var(--text-soft); font-style: italic; }

/* ================= FADE-IN ================= */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding-top: 3rem; padding-bottom: 1rem; }
  .hero__portrait { max-width: 360px; margin: 0 auto 2rem; }
  .values { grid-template-columns: 1fr; }
  .place-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 768px) {
  .nav__links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(250, 248, 244, 0.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 1.5rem var(--container-px) 2rem; gap: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 0.95rem; }
  .nav__toggle { display: block; }
  .nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
  .topics { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-group, .hero__cta-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .pricing { padding: 1.75rem; }
  .transport, .credentials { padding: 1.5rem; }
}
