/* ==========================================================================
   Kateřina Běhůnková – landing page
   Světlý minimalistický styl, jeden akcent (terakota), tmavý kontaktní pás.
   Barvy a rozměry upravíte v :root níže.
   ========================================================================== */

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --ink: #1C1A16;
  --text: #1A1915;
  --text-soft: #3E3C35;
  --muted: #66635B;
  --border: #E8E5DE;
  --border-strong: #D9D5CC;
  --accent: #C8532B;
  --accent-dark: #A8431F;
  --accent-soft: #F8EAE3;
  --ok: #2F8F5B;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1120px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(100% - 3rem, var(--container)); } }

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

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: .5rem 1rem; text-decoration: none; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--accent); color: #fff; border: 1.5px solid var(--accent);
  text-decoration: none; font-weight: 700; line-height: 1.2; white-space: nowrap;
  padding: .9rem 1.5rem; border-radius: 999px; max-width: 100%;
  transition: background .15s, border-color .15s, transform .15s, color .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 10px 24px -14px rgba(200, 83, 43, .7); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--text); color: var(--text); box-shadow: none; }
.btn-small { padding: .6rem 1.1rem; font-size: .9rem; }
@media (max-width: 480px) { .btn { white-space: normal; } }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; text-decoration: none; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .15s; }
.menu a:hover { color: var(--text); }
.menu .btn, .menu .btn:hover { color: #fff; }
.nav-toggle { display: none; }
.menu-simple { display: flex; align-items: center; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: .25rem 1rem 1.25rem;
    box-shadow: 0 20px 40px -30px rgba(26, 25, 21, .35);
  }
  .menu.open { display: flex; }
  .menu a { padding: .9rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; color: var(--text); }
  .menu .btn { margin-top: 1rem; border-bottom: 0; padding: .9rem 1.25rem; }
}

/* ---------- Úvod ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 720px; height: 720px; right: -260px; top: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 83, 43, .14), rgba(200, 83, 43, 0));
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 700; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .9rem .4rem .7rem; margin-bottom: 1.5rem;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 143, 91, .15); }

.hero h1 { max-width: 14ch; }
.hero h1 em {
  font-style: normal; text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: .08em; text-underline-offset: .12em;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 36rem; margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.stats { list-style: none; padding: 0; margin: 2.75rem 0 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stats span { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

.hero-photo { margin: 0; position: relative; width: 100%; max-width: 420px; justify-self: center; }
@media (min-width: 900px) { .hero-photo { justify-self: end; max-width: 440px; } }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0; transform: translate(18px, 18px);
  background: var(--accent-soft); border-radius: var(--radius);
}
.hero-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 637 / 672; object-fit: cover; border-radius: var(--radius); display: block; }
.photo-badge {
  position: absolute; z-index: 2; left: -1rem; bottom: 2rem;
  display: flex; flex-direction: column; gap: .1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .8rem 1.1rem .8rem 2.3rem; box-shadow: 0 18px 40px -22px rgba(26, 25, 21, .45);
}
.photo-badge::before {
  content: ""; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent);
}
.photo-badge strong { font-size: .92rem; letter-spacing: -0.01em; }
.photo-badge span { font-size: .78rem; color: var(--muted); }
@media (max-width: 480px) { .photo-badge { left: .5rem; bottom: 1rem; } }

/* ---------- Nástroje ---------- */
.tools { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.tools .container { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem; }
.tools-label { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tools-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .9rem; font-weight: 600; color: var(--text-soft); }

/* ---------- Sekce ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-alt + .section-alt { border-top: 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }

/* ---------- Služby ---------- */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } .card-wide { grid-column: span 2; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(26, 25, 21, .32); }
.card-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.card-icon svg { width: 22px; height: 22px; }
.card p { color: var(--muted); }
.card-wide p { max-width: 38rem; }
.card ul { margin: .25rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .45rem; font-size: .95rem; }
.card li { padding-left: 1.3rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }

/* ---------- Výsledky ---------- */
.cases { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .75rem; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.case:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(26, 25, 21, .32); }
.case-tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case h3 { font-size: 1.12rem; margin-top: .6rem; }
.case p:last-child { color: var(--muted); font-size: .98rem; }

/* ---------- Spolupráce ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; position: relative; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--border); }
}
.steps li { position: relative; }
.step-num {
  position: relative; z-index: 1; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font-weight: 800; font-size: .95rem; margin-bottom: 1.1rem;
}
.steps h3 { margin-bottom: .6rem; }
.steps p { color: var(--muted); font-size: .98rem; }

.terms { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .terms { grid-template-columns: repeat(3, 1fr); } }
.terms > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.terms h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.terms p { color: var(--muted); font-size: .98rem; }

/* ---------- O mně ---------- */
.about { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1.2fr .8fr; gap: 5rem; } }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { color: var(--text-soft); font-size: 1.06rem; }
.about-copy p + p { margin-top: 1.1rem; }
.facts { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.facts h3 { font-size: 1rem; margin-bottom: 1.25rem; }
.facts dl { margin: 0; display: grid; gap: 1.1rem; }
.facts dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: .25rem 0 0; font-weight: 500; }

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

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; } .faq-grid .section-head { margin-bottom: 0; position: sticky; top: 100px; } }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 1.25rem; max-width: 40rem; }

/* ---------- Kontakt (tmavý pás) ---------- */
.contact { background: var(--ink); color: #fff; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.contact .eyebrow { color: #F2A27E; }
.contact-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.contact .section-lead { color: rgba(255, 255, 255, .7); }
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  display: flex; flex-direction: column; gap: .35rem; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.5rem;
  background: rgba(255, 255, 255, .03); transition: background .15s, border-color .15s, transform .15s;
}
.contact-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.contact-card .ico { color: #F2A27E; width: 24px; height: 24px; margin-bottom: .6rem; }
.contact-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.contact-value { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; overflow-wrap: anywhere; }

/* ---------- Patička ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-brand { font-weight: 800; color: var(--text); font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: .5rem; }
.footer-text { max-width: 28rem; }
.footer-title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: .75rem; }
.footer-col nav { display: flex; flex-direction: column; gap: .45rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-legal { border-top: 1px solid var(--border); padding: 1.5rem 0 2rem; font-size: .84rem; line-height: 1.7; display: grid; gap: .6rem; }
.footer-legal a { color: var(--text-soft); }
.footer-legal strong { color: var(--text); }
.footer-meta { margin-top: .25rem; }

/* ---------- Podstránka (ochrana osobních údajů) ---------- */
.page { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.page .container { max-width: 44rem; }
.page h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .5rem; }
.page .meta { color: var(--muted); margin-bottom: 2.5rem; }
.page h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.page p, .page li { color: var(--text-soft); }
.page p + p { margin-top: .85rem; }
.page ul { padding-left: 1.25rem; margin: .5rem 0; }
.page li + li { margin-top: .35rem; }
.back { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 600; color: var(--muted); margin-bottom: 2rem; }
.back:hover { color: var(--text); }

/* ---------- Jemné objevení při scrollu (jen s JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
