/* =========================================================
   Weby Škoda – styly
   Barvy a rozměry jsou v :root, ať se dají snadno upravit.
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #0d1220;
  --ink-2: #2a3142;
  --muted: #5b6272;
  --line: #e6e8ee;
  --line-strong: #d3d7e0;
  --accent: #2b4cff;
  --accent-ink: #1a36d6;
  --accent-soft: #eef1ff;
  --dark: #0b1020;
  --dark-2: #131a2e;
  --dark-line: rgba(255, 255, 255, .09);
  --dark-muted: #a3abbd;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4.5vw, 48px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 10px; }

/* ---------- Tlačítka ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 500 1rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -10px rgba(43, 76, 255, .7);
}
.btn--accent:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px -12px rgba(43, 76, 255, .8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn--line { background: rgba(255,255,255,.6); color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }

/* ---------- Horní lišta ---------- */
.bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.bar.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .85); }
.bar__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 28px; height: 28px; color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.bar__tel { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; font-variant-numeric: tabular-nums; }
.bar__tel:hover { color: var(--accent); }
@media (max-width: 900px) { .nav { display: none; } .bar__tel { margin-left: auto; } }
@media (max-width: 480px) { .bar__tel { display: none; } .bar .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: .8;
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(32px, 5vw, 72px); row-gap: clamp(56px, 7vw, 88px);
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255,255,255,.8); font-size: .9rem; color: var(--ink-2);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); }
.hero__title {
  margin-top: 28px;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1; font-weight: 600; letter-spacing: -0.05em;
  max-width: 15ch;
}
.hero__sub { display: block; color: #9aa1b1; }
.hero__lead { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Hero vizuál */
.hero__visual { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 360 / 520; }
.phone {
  position: absolute; inset: 0 12% 0 12%;
  border-radius: 38px; background: var(--ink); padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(13, 18, 32, .45), 0 0 0 1px rgba(13,18,32,.08);
}
.phone__notch { position: absolute; top: 18px; left: 50%; width: 72px; height: 20px; margin-left: -36px; border-radius: 999px; background: #000; z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 29px; overflow: hidden; background: #f4f5ff; display: flex; flex-direction: column; }
.ps__bar { display: flex; justify-content: space-between; align-items: center; padding: 46px 16px 12px; background: #3b3fb6; color: #fff; font-size: .72rem; }
.ps__bar span { opacity: .8; }
.ps__hero { padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 8px; }
.ps__h { font-size: 1.05rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #1f2280; }
.ps__p { font-size: .7rem; color: #4b4f86; }
.ps__btn { align-self: flex-start; margin-top: 4px; font-size: .7rem; font-weight: 600; background: #ff8a1f; color: #2a1500; padding: 7px 12px; border-radius: 999px; }
.ps__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px; }
.ps__cards i { height: 74px; border-radius: 12px; background: #c6e14b; }
.ps__cards i + i { background: #ffd2a8; }
.ps__call {
  margin: auto 12px 14px; text-align: center; padding: 11px; border-radius: 14px;
  background: #16a34a; color: #fff; font-size: .8rem; font-weight: 600;
  box-shadow: 0 10px 20px -10px rgba(22,163,74,.8);
}
.glass {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 40px -20px rgba(13, 18, 32, .35), 0 0 0 1px rgba(13,18,32,.06);
}
.toast {
  position: absolute; left: -16%; top: 56%; z-index: 3;
  display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 16px;
  width: max-content; max-width: 280px;
}
.toast b { display: block; font-size: .88rem; font-weight: 600; }
.toast small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.35; }
.toast__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; }
.toast__icon svg { width: 18px; height: 18px; }
.chip {
  position: absolute; right: -10%; top: 12%; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 500; white-space: nowrap;
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }

/* Jediná orchestrovaná animace stránky: příjezd hero vizuálu */
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise .9s var(--ease) both .1s; }
  .toast { animation: pop .7s var(--ease) both .7s; }
  .chip { animation: pop .7s var(--ease) both 1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* Fakta */
.facts {
  grid-column: 1 / -1; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.fact { padding: 24px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact dt { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact dd { margin: 6px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 320px); }
  .toast { left: -6%; }
  .chip { right: -4%; }
}
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 420px) {
  .toast { left: -2%; max-width: 230px; }
  .chip { right: 0; }
}

/* ---------- Pás s weby v provozu ---------- */
.live { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.live__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-top: 22px; padding-bottom: 22px; }
.live__label { color: var(--muted); font-size: .95rem; margin-right: auto; }
.live__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.live__link svg { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.live__link:hover { color: var(--accent); }
.live__link:hover svg { color: var(--accent); transform: translate(2px, -2px); }

/* ---------- Sekce obecně ---------- */
.sec { padding: clamp(80px, 11vw, 144px) 0; }
.sec--tight { padding: clamp(48px, 7vw, 88px) 0; }
.sec--soft { background: var(--bg-soft); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec__head p { color: var(--muted); font-size: 1.15rem; max-width: 44ch; justify-self: end; }
@media (max-width: 820px) { .sec__head { grid-template-columns: 1fr; } .sec__head p { justify-self: start; } }

/* Karty se zářivým okrajem pod kurzorem (main.js nastavuje --mx/--my) */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 76, 255, .09), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 76, 255, .55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.glow:hover::before, .glow:hover::after { opacity: 1; }
@media (hover: none) { .glow::before, .glow::after { display: none; } }

/* ---------- Bento: co web udělá ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 2; padding: 28px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.tile:hover { border-color: var(--line-strong); box-shadow: 0 20px 40px -28px rgba(13,18,32,.35); }
.tile h3 { font-size: 1.3rem; }
.tile p { margin-top: 10px; color: var(--muted); }
.tile--big { grid-column: span 4; grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; padding: 36px; background: var(--bg-soft); }
.tile--big h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; line-height: 1.1; }
.bento > .tile:nth-child(4), .bento > .tile:nth-child(5) { grid-column: span 3; }
.tile__demo { display: flex; flex-direction: column; gap: 12px; }
.mini-call {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; border-radius: 16px; background: #16a34a; color: #fff; font-weight: 600;
  box-shadow: 0 14px 28px -14px rgba(22,163,74,.9);
}
.mini-call__ring { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .tile--big:hover .mini-call__ring { animation: ring 1.2s ease-out infinite; }
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.mini-form { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.mini-form i { height: 34px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); }
.mini-form i.tall { height: 60px; }
.mini-form b { display: grid; place-items: center; height: 38px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 500; }
.meter { margin-top: 22px; height: 6px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.meter span { display: block; height: 100%; width: 92%; border-radius: inherit; background: linear-gradient(90deg, #16a34a, #22c55e); }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .bento > .tile:nth-child(4), .bento > .tile:nth-child(5) { grid-column: span 1; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .tile--big { grid-template-columns: 1fr; padding: 28px; }
}

/* ---------- Práce (tmavá sekce) ---------- */
.sec--dark { background: var(--dark); color: #fff; }
.sec--dark .sec__head p { color: var(--dark-muted); }
.works { display: grid; gap: 24px; }
.work {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(16px, 2vw, 24px); border-radius: 28px;
  background: var(--dark-2); border: 1px solid var(--dark-line);
}
.work.glow::before { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 120, 255, .14), transparent 45%); }
.work.glow::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(140, 160, 255, .6), transparent 60%); }
.work--flip .work__frame { order: 2; }
.work__frame { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); transition: transform .5s var(--ease); }
.work:hover .work__frame { transform: translateY(-4px); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #eef0f4; border-bottom: 1px solid #e1e4ea; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd3dc; }
.frame__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: #fff; color: #6b7280; font-size: .75rem; }
.frame__body { min-height: clamp(220px, 28vw, 340px); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.fb__brand { font-size: .85rem; font-weight: 600; opacity: .85; }
.fb__h { font-size: clamp(1.4rem, 2.8vw, 2.3rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; max-width: 18ch; }
.fb__list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fb__list li { font-size: .8rem; padding: 5px 12px; border-radius: 99px; }
.fb__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.fb__tiles i { height: 64px; border-radius: 12px; }
.frame__body--garden { background: linear-gradient(160deg, #f4f7f1, #e4ecdf); color: #1d2b1c; }
.frame__body--garden .fb__list li { background: #fff; border: 1px solid #d6e0cf; }
.frame__body--castle { background: linear-gradient(160deg, #eef0ff, #dfe2ff); color: #23268a; }
.fb__tiles i:nth-child(1) { background: #c6e14b; } .fb__tiles i:nth-child(2) { background: #ffd2a8; } .fb__tiles i:nth-child(3) { background: #c9cbf5; }
.frame__body--wood { background: linear-gradient(160deg, #6b4a2f, #3c2a1c); color: #fff; }
.frame__body--wood .fb__list li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.work__info { padding: clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px) 0; }
.work--flip .work__info { padding-left: clamp(8px, 2vw, 24px); }
.work__info h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.035em; }
.work__info p { margin-top: 14px; color: var(--dark-muted); max-width: 46ch; }
.work__info .work__status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .85rem; color: #86efac; }
.work__status span { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.work__link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px;
  color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 6px;
  transition: text-decoration-color .25s;
}
.work__link:hover { color: #fff; text-decoration-color: #fff; }
.sec--dark :focus-visible { outline-color: #8ca0ff; }
@media (max-width: 860px) {
  .work { grid-template-columns: 1fr; }
  .work--flip .work__frame { order: 0; }
  .work__info, .work--flip .work__info { padding: 4px 8px 12px; }
}

/* ---------- Postup ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 12%; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line) 70%); }
.step { position: relative; padding-right: 32px; }
.step__n {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-strong); font-weight: 600; font-variant-numeric: tabular-nums;
}
.step:first-child .step__n { background: var(--accent); border-color: var(--accent); color: #fff; }
.step h3 { margin-top: 28px; font-size: 1.3rem; }
.step p { margin-top: 10px; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line) 70%); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; padding-right: 0; }
  .step h3 { margin-top: 8px; }
  .step p { grid-column: 2; }
  .step h3 { grid-column: 2; grid-row: 1; }
  .step__n { grid-row: 1 / span 2; }
}

/* ---------- Ceník ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.pricing__head p { margin-top: 20px; color: var(--muted); font-size: 1.15rem; max-width: 40ch; }
.pricing__head .guarantee { display: flex; gap: 12px; align-items: center; margin-top: 32px; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 1rem; }
.guarantee svg { flex: none; width: 24px; height: 24px; color: #16a34a; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.plan--main { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: 0 40px 70px -40px rgba(13,18,32,.7); }
.plan--main.glow::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(140,160,255,.7), transparent 60%); }
.plan__price { margin-top: 16px; white-space: nowrap; font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__desc { margin-top: 12px; color: var(--muted); }
.plan--main .plan__desc { color: var(--dark-muted); }
.plan__list { list-style: none; margin: 24px 0 32px; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan--main .plan__list { border-top-color: var(--dark-line); }
.plan__list li { position: relative; padding-left: 28px; font-size: .98rem; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan--main .plan__list li::before { border-color: #8ca0ff; }
.plan--main :focus-visible { outline-color: #8ca0ff; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__head { display: block; margin: 0; position: sticky; top: 110px; }
.faq__head p { margin: 0; justify-self: start; }
.ask { margin-top: 32px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-soft); max-width: 420px; }
.ask__top { display: flex; gap: 14px; align-items: center; }
.ask__avatar { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; }
.ask .ask__title { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; color: var(--ink); }
.ask .ask__text { margin-top: 2px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.ask__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ask__actions .btn svg { width: 16px; height: 16px; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.015em;
  transition: color .2s;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .3s var(--ease); color: var(--muted);
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- O mně ---------- */
.about { display: flex; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: var(--bg-soft); }
.about__avatar {
  flex: none; display: grid; place-items: center; width: clamp(88px, 12vw, 128px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em;
}
.about__text h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.about__text p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 66ch; }
@media (max-width: 620px) { .about { flex-direction: column; align-items: flex-start; } }

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: clamp(80px, 11vw, 144px) 0; }
.contact__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--dark-line) 1px, transparent 1px), linear-gradient(to bottom, var(--dark-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000, transparent 75%);
}
.contact__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); max-width: 14ch; }
.contact__copy p { margin-top: 22px; color: var(--dark-muted); font-size: 1.15rem; max-width: 40ch; }
.contact__direct { display: grid; gap: 4px; margin-top: 40px; }
.contact__direct a {
  justify-self: start; color: #fff; text-decoration: none;
  font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.35;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease), color .25s;
}
.contact__direct a:hover { color: #b9c6ff; background-size: 100% 1px; }
.contact :focus-visible { outline-color: #8ca0ff; }
@media (max-width: 860px) { .contact__in { grid-template-columns: 1fr; } }

.glass-dark {
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 80px -40px rgba(0,0,0,.8);
}
.form { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .92rem; font-weight: 500; color: #dfe3ec; }
.opt { font-weight: 400; color: #8e97ab; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 1rem; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: rgba(255,255,255,.28); }
.field input:focus, .field textarea:focus { outline: none; border-color: #8ca0ff; background: rgba(255,255,255,.09); box-shadow: 0 0 0 4px rgba(91,120,255,.25); }
.form .btn { margin-top: 6px; }
.form .btn:disabled { opacity: .7; cursor: wait; }
.form__status { min-height: 1.5em; font-size: .95rem; font-weight: 500; }
.form__status.is-ok { color: #86efac; }
.form__status.is-err { color: #fca5a5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Patička ---------- */
.footer { background: var(--dark); color: var(--dark-muted); border-top: 1px solid var(--dark-line); font-size: .92rem; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; min-height: 76px; padding-top: 18px; padding-bottom: 18px; }
.logo--foot { color: #fff; margin-right: auto; }
.logo--foot:hover { color: #fff; }
.footer a { color: var(--dark-muted); text-decoration: none; }
.footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
a[href^="tel:"] { white-space: nowrap; }
