:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #12161b;
  --ink-2: #4a525c;
  --line: #e4e4de;
  --accent: #1d5646;      /* borovice; bílý text na ní 8,6:1 */
  --accent-soft: #e8f0ec;
  --radius: 14px;
  --max: 72rem;
  --font: "Geist", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: clamp(15px, 14px + 0.25vw, 17px); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* hlavička */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 247, .88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: flex; align-items: baseline; gap: .3rem; font-weight: 600; font-size: 1.15rem !important; letter-spacing: -.01em; text-decoration: none; font-size: 1.08rem; }
.brand svg { width: 1.6rem; height: 1.6rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; font-size: .94rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1.25rem; border-radius: 999px; font-weight: 500; text-decoration: none; font-size: .97rem; line-height: 1.2; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #164638; }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: #c9c9c1; }
.nav .btn { color: #fff; padding: .6rem 1.05rem; font-size: .9rem; }

/* úvod */
.hero { padding: 5.5rem 0 5rem; }
.eyebrow { display: inline-block; font-size: .85rem; color: var(--accent); background: var(--accent-soft); padding: .3rem .75rem; border-radius: 999px; font-weight: 500; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; margin: 1.25rem 0 1.25rem; max-width: 15ch; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 38rem; margin: 0 0 2rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.facts { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; color: var(--ink-2); font-size: .92rem; }
.facts span { display: flex; align-items: center; gap: .5rem; }
.facts svg { width: 1.05rem; height: 1.05rem; color: var(--accent); flex: none; }

/* loga */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0 2.75rem; }
.logos p { margin: 0 0 2.25rem; text-align: center; color: #6b727b; font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; align-items: center; justify-items: center; }
.logo-row img { height: 1.75rem; width: auto; max-width: 100%; opacity: .9; }
.wordmark { text-align: center; font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; color: #8a9099; white-space: nowrap; }

/* sekce */
section { padding: 5.5rem 0; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; margin: 0 0 .9rem; max-width: 22ch; }
.sub { color: var(--ink-2); font-size: 1.08rem; max-width: 38rem; margin: 0 0 3rem; }
.grid { display: grid; gap: 1.25rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card h3 { font-size: 1.08rem; font-weight: 600; margin: .9rem 0 .4rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.icon { width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 1.25rem; height: 1.25rem; }
.step-n { font-size: .85rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: .5rem; }

/* péče */
.care { background: var(--ink); color: #f3f3ef; border-radius: calc(var(--radius) + 6px); padding: 3.5rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.care h2 { color: #fff; }
.care p { color: #c4c7cc; margin: 0; }
.care ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.care li { display: flex; gap: .7rem; align-items: flex-start; }
.care li svg { width: 1.15rem; height: 1.15rem; color: #8fd0b5; flex: none; margin-top: .25rem; }

/* reference */
blockquote { margin: 0; }
.quote p { font-size: 1.12rem; line-height: 1.55; color: var(--ink); letter-spacing: -.005em; }
.quote footer { margin-top: 1.25rem; font-size: .92rem; color: var(--ink-2); }
.quote footer b { color: var(--ink); font-weight: 600; }
.note { color: var(--ink-2); font-size: .9rem; margin-top: 1.25rem; }

/* otázky */
.faq { max-width: 46rem; }
details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-2); font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: .75rem 0 0; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .65rem 1.5rem; }
.contact dt { color: var(--ink-2); }
.contact dd { margin: 0; }

/* patička */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--ink-2); font-size: .88rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: var(--ink-2); }

/* podmínky */
.doc { max-width: 46rem; padding: 4rem 0 5rem; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); max-width: none; }
.doc h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; max-width: none; }
.doc p, .doc li { color: #2a3038; }
.doc .meta { color: var(--ink-2); }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .care, .contact { grid-template-columns: 1fr; }
  .care { padding: 2.25rem; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .g3, .g4, .g2 { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  section { padding: 4rem 0; }
  .wrap { padding: 0 1.25rem; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .logo-row img { height: 1.4rem; }
  .wordmark { font-size: 1.1rem; }
  .facts { gap: .75rem 1.5rem; }
}

/* obrázek v úvodu: nový web v počítači a v telefonu, poptávka */
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.visual { position: relative; height: 27rem; }
.browser { position: absolute; inset: 0 2.5rem 3rem 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(18, 22, 27, .25); overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: #f4f4f0; }
.browser .bar i { width: .6rem; height: .6rem; border-radius: 50%; background: #d9d9d2; }
.browser .bar span { margin-left: .8rem; font-size: .75rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .8rem; }
.page { padding: 1.3rem 1.5rem; }
.sk-nav { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.8rem; }
.sk-nav b { width: 4.5rem; height: .7rem; border-radius: 4px; background: #c9c9c1; }
.sk-nav span { width: 2.6rem; height: .45rem; border-radius: 4px; background: #dcdcd5; }
.sk-nav span:first-of-type { margin-left: auto; }
.sk-nav em { width: 3.6rem; height: 1.3rem; border-radius: 999px; background: var(--accent); }
.sk-h { height: 1.25rem; width: 80%; border-radius: 6px; background: #d2d2ca; margin-bottom: .55rem; }
.sk-h.short { width: 55%; }
.sk-p { height: .5rem; width: 70%; border-radius: 4px; background: #dcdcd5; margin-top: .9rem; }
.sk-p.mid { width: 50%; margin-top: .45rem; }
.sk-btns { display: flex; gap: .5rem; margin: 1.3rem 0 1.6rem; }
.sk-btns em { width: 6rem; height: 1.7rem; border-radius: 999px; background: var(--accent); }
.sk-btns span { width: 5rem; height: 1.7rem; border-radius: 999px; border: 1px solid var(--line); }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.sk-cards div { height: 4.4rem; border-radius: 10px; background: #f1f1ec; border: 1px solid var(--line); }
.phone { position: absolute; right: 0; bottom: 0; width: 10.5rem; height: 19rem; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem .9rem .9rem; box-shadow: 0 30px 50px -25px rgba(18, 22, 27, .35); }
.phone .notch { position: absolute; top: .55rem; left: 50%; translate: -50% 0; width: 3rem; height: .4rem; border-radius: 999px; background: #e2e2db; }
.phone .sk-h { height: .9rem; width: 90%; }
.phone .sk-p { width: 85%; }
.phone .call { margin: 1rem 0 .8rem; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 600; text-align: center; border-radius: 999px; padding: .5rem; }
.phone .sk-card { height: 5.6rem; border-radius: 10px; background: #f1f1ec; border: 1px solid var(--line); }
.toast { position: absolute; left: -1.5rem; bottom: 1.2rem; display: flex; gap: .7rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; box-shadow: 0 20px 40px -20px rgba(18, 22, 27, .3); max-width: 17rem; }
.toast .dot { width: .6rem; height: .6rem; border-radius: 50%; background: #2f9a6f; margin-top: .35rem; flex: none; }
.toast b { display: block; font-size: .85rem; font-weight: 600; }
.toast small { color: var(--ink-2); font-size: .78rem; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .visual { height: 24rem; max-width: 34rem; }
  .toast { left: 0; }
}
@media (max-width: 640px) {
  .visual { height: 20rem; }
  .browser { right: 3.5rem; }
  .phone { width: 8.5rem; height: 15.5rem; }
  .sk-cards div { height: 3.2rem; }
}
.hero .facts { flex-direction: column; gap: .55rem; margin-top: 2.25rem; }
.brand span { font-weight: 400; color: var(--accent); }

/* vlnky na pozadí (waves.js) */
.waves { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
.top { z-index: 10; }
.logos { background: transparent; }
