/* =====================================================================
   ZVYQ – prezentačná stránka
   Tokeny · základ · navigácia · zariadenia (monitor, telefón) · sekcie
   ===================================================================== */

:root {
  --bg: #fbfcfb;
  --surface: #ffffff;
  --tint: #f2f5f4;
  --text: #121a18;
  --muted: #5f6c68;
  --line: #e4eae7;
  --line-strong: #cbd5d0;

  --dark: #0d1613;
  --dark-2: #131f1b;
  --dark-text: #f2f6f4;
  --dark-muted: #9aa8a3;
  --dark-line: rgba(255, 255, 255, 0.1);

  --accent: #10b981;
  --accent-hover: #0ea774;
  --accent-ink: #0b7f5c;
  --accent-soft: #e4f6ee;

  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1160px;
  --nav-h: 72px;
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html, body { overflow-x: hidden; overflow-x: clip; }
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, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul, ol, dl { margin: 0; padding: 0; }
button { font: inherit; }
::selection { background: rgba(16, 185, 129, 0.25); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.mono { font-family: var(--mono); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #062c1f; padding: 8px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 8px; }
.split > *, .pagehead__inner > *, .contact > *, .cta__inner > *, .hero__inner > * { min-width: 0; }
.tablewrap { overflow-x: auto; }

/* ---------- typografia ---------- */
.label { display: block; font-size: 0.92rem; font-weight: 600; color: var(--accent-ink); margin-bottom: 14px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
h3 { font-size: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.copy p { color: var(--muted); max-width: 34rem; }
.copy p + p { margin-top: 14px; }
.section--dark .copy p, .section--dark .lead { color: var(--dark-muted); }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}
.btn .ico { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--accent); color: #062c1f; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { color: inherit; opacity: 0.8; }
.btn--ghost:hover { opacity: 1; background: rgba(120, 130, 126, 0.12); }
.btn--outline { color: var(--text); border-color: var(--line-strong); background: transparent; }
.btn--outline:hover { border-color: var(--text); transform: translateY(-1px); }
.hero .btn--outline, .section--dark .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn--outline:hover, .section--dark .btn--outline:hover { border-color: #fff; }
.btn--lg { padding: 15px 26px; font-size: 1.02rem; }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }

/* ---------- navigácia ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  color: var(--text); background: rgba(251, 252, 251, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav--overlay:not(.is-scrolled):not(.is-open) { background: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand__name { font-weight: 600; letter-spacing: 0.08em; font-size: 1.02rem; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; background: #fff; flex: none; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(18, 26, 24, 0.08); }
.brand__mark svg { width: 20px; height: 20px; fill: var(--accent); }
.nav__links { display: flex; gap: 2px; margin-left: 4px; }
.nav__links a { color: inherit; opacity: 0.72; text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: opacity 0.2s, background 0.2s; }
.nav__links a:hover { opacity: 1; background: rgba(120, 130, 126, 0.12); }
.nav__links a.is-active { opacity: 1; font-weight: 600; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav__burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: inherit; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px; }
.nav__burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- zariadenia: monitor a telefón ---------- */
.stage { perspective: 1800px; position: relative; }
.tilt { transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform 0.8s var(--ease); will-change: transform; }
.stage:hover .tilt { transform: rotateY(0deg) rotateX(0deg); }

.monitor { width: 100%; }
.monitor__screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; padding: 1.3%;
  background: #0b100e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.monitor__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 8px; display: block; background: #f6f8f7; }
.monitor__screen::after { content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 38%); }
.monitor__neck { width: 12%; height: 32px; margin: 0 auto; background: linear-gradient(90deg, #131a17, #2a3430 50%, #131a17); }
.monitor__base { width: 34%; height: 10px; margin: 0 auto; border-radius: 0 0 10px 10px; background: linear-gradient(#2a3430, #131a17); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); }

.phone {
  position: relative; width: 240px; max-width: 100%; aspect-ratio: 390 / 844;
  background: #0b100e; border-radius: 40px; padding: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 27%; height: 19px; background: #0b100e; border-radius: 12px; z-index: 2; }
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 12%; background: #1c2521; border-radius: 0 2px 2px 0; }
.phone__screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* kompozícia: monitor + telefón vpredu */
.combo { position: relative; padding: 0 0 36px 44px; }
.combo .monitor { position: relative; z-index: 1; }
.combo__phone { position: absolute; left: 0; bottom: 0; width: 27%; z-index: 3; }
.combo__phone .phone { width: 100%; transform-origin: bottom left; }
.combo--right { padding: 0 44px 36px 0; }
.combo--right .combo__phone { left: auto; right: 0; }

.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 32px); padding-top: 10px; }
.phones .phone { width: clamp(150px, 22vw, 240px); }

/* ---------- hero (domov) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 560px at 78% 30%, rgba(16, 185, 129, 0.18), transparent 60%), var(--dark);
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 104px)); padding-bottom: clamp(64px, 8vw, 104px);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero .lead { color: rgba(255, 255, 255, 0.78); max-width: 30rem; margin-bottom: 32px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__tools { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); }
.hero__tools b { font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.hero__stage .monitor { max-width: 720px; }
.stagger { animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- pás integrácií ---------- */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 20px; }
.strip__label { font-size: 0.9rem; color: var(--muted); }
.strip__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-left: auto; }
.strip__list li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: #2b3a35; }
.strip__list svg { width: 18px; height: 18px; stroke: var(--accent-ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sekcie ---------- */
.section { padding-block: clamp(76px, 9vw, 124px); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 40rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- funkcie (domov) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -28px rgba(18, 26, 24, 0.3); border-color: #b9e6d4; }
.feature__icon { width: 26px; height: 26px; margin-bottom: 18px; stroke: var(--accent-ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.feature__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--accent-ink); }
.feature__more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.feature:hover .feature__more svg { transform: translateX(3px); }

.features--2 { grid-template-columns: repeat(2, 1fr); }
.techline { margin-top: 32px; color: var(--muted); font-size: 0.92rem; }

.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); padding-top: 28px; }
.facts b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 0.92rem; }

/* ---------- dvojstĺpce ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev .split__visual { order: -1; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.points { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.points li { position: relative; padding-left: 22px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.bullets { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.bullets li { position: relative; padding-left: 24px; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>") center / 9px no-repeat;
}
.list3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.list3 h3 { margin-bottom: 6px; }
.list3 p { color: var(--muted); font-size: 1rem; }
.points2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.points2 h3 { margin-bottom: 6px; }
.points2 p { color: var(--muted); font-size: 1rem; }
.split--even .points2 { grid-template-columns: 1fr; gap: 28px; max-width: 30rem; }

/* ---------- hlavička podstránky ---------- */
.pagehead { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(48px, 7vw, 88px); }
.pagehead__inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.pagehead h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 20px; }
.pagehead .lead { font-size: 1.2rem; }
.pagehead--single .pagehead__inner { grid-template-columns: minmax(0, 1fr); }
.pagehead--single .lead { max-width: 40rem; }
.pagehead__phone { display: flex; justify-content: center; }
.pagehead__phone .phone { width: 250px; }

/* ---------- zubný kríž (interaktívny) ---------- */
.legend { list-style: none; display: grid; gap: 3px; font-size: 10px; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend li i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.legend li b { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.legend--big { font-size: 0.95rem; grid-template-columns: repeat(2, max-content); column-gap: 28px; row-gap: 8px; margin-top: 24px; }
.legend--big li i { width: 10px; height: 10px; border-radius: 3px; }
.legend--big li b { margin-left: 6px; font-family: var(--mono); font-weight: 500; color: var(--muted); }

.chartcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.chartcard__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-weight: 600; font-size: 0.95rem; }
.linkbtn { background: none; border: 0; padding: 4px 8px; border-radius: 6px; color: var(--accent-ink); font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.linkbtn:hover { background: var(--accent-soft); }
.dchart { display: grid; gap: 6px; }
.dchart__label { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 0.76rem; color: var(--muted); }
.dchart__label .dchart__side:last-child { text-align: right; }
.dchart__label--bottom { grid-template-columns: 1fr; text-align: center; }
.dchart__row { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; position: relative; }
.dchart__row + .dchart__row { margin-top: 8px; }
.dchart__row::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line); }
.tooth {
  appearance: none; border: 1px solid var(--line); background: var(--tint); color: var(--muted);
  border-radius: 8px; padding: 5px 0 4px; min-width: 0; cursor: pointer; display: grid; gap: 2px; justify-items: center;
  transition: transform 0.15s var(--ease), border-color 0.2s, background 0.2s, color 0.2s;
}
.tooth svg { width: 15px; height: 17px; fill: #cdd6d2; transition: fill 0.2s; }
.tooth span { font-family: var(--mono); font-size: 0.62rem; line-height: 1; }
.tooth:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.tooth[data-t] { color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); border-color: color-mix(in srgb, var(--c) 42%, #fff); }
.tooth[data-t] svg { fill: var(--c); }
.tooth[data-t] span { font-weight: 600; }
.shade { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.shade__head { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }
.shade__current { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 500; }
.shade__current i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.shade__swatches { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; }
.sw { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; display: grid; gap: 3px; justify-items: center; min-width: 0; }
.sw i { display: block; width: 100%; aspect-ratio: 1 / 1.35; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); transition: transform 0.15s var(--ease), box-shadow 0.15s; }
.sw span { font-family: var(--mono); font-size: 0.56rem; color: var(--muted); }
.sw:hover i { transform: translateY(-2px); }
.sw.is-on i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.sw.is-on span { color: var(--text); font-weight: 600; }
.chartcard__summary { margin-top: 18px; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* ---------- stavy ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--line); }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; top: 2px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 16%, #fff); }
.step__pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; font-size: 0.78rem; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- import z CAD (ukážka) ---------- */
.importdemo { display: grid; gap: 10px; color: var(--dark-text); }
.importdemo__file, .importdemo__form { background: var(--dark); border-radius: 16px; overflow: hidden; }
.importdemo__filehead { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--dark-line); font-size: 0.78rem; color: var(--dark-muted); }
.importdemo__filehead svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.6; flex: none; }
.importdemo__filehead .mono:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.importdemo__size { margin-left: auto; flex: none; }
.importdemo__xml { margin: 0; padding: 14px; overflow-x: auto; font-family: var(--mono); font-size: 0.7rem; line-height: 1.6; color: rgba(255, 255, 255, 0.5); }
.importdemo__xml b { color: #fff; font-weight: 500; background: rgba(16, 185, 129, 0.18); border-radius: 3px; padding: 0 3px; }
.importdemo__arrow { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--accent-ink); font-size: 0.8rem; font-weight: 600; }
.importdemo__arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.importdemo__formhead { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--dark-line); font-size: 0.85rem; font-weight: 600; }
.importdemo__formhead .mono { color: var(--dark-muted); font-weight: 400; font-size: 0.76rem; }
.fields { padding: 6px 14px; display: grid; }
.field { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--dark-line); font-size: 0.85rem; opacity: 0.28; transform: translateX(-4px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.field:last-child { border-bottom: 0; }
.field.is-filled { opacity: 1; transform: none; }
.field dt { color: var(--dark-muted); font-size: 0.76rem; }
.field dd { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: 0.6rem; padding: 1px 6px; border-radius: 99px; letter-spacing: 0.04em; }
.tag--ok { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }
.importdemo__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--dark-line); }
.importdemo__status { font-family: var(--mono); font-size: 0.7rem; color: var(--dark-muted); }
.teeth-chips { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.teeth-chips i { font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, #fff); }
.shade-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; }
.shade-chip i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }

.maptable { width: 100%; border-collapse: collapse; font-size: 1rem; }
.maptable td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.maptable tr:last-child td { border-bottom: 1px solid var(--line); }
.maptable td:first-child { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); padding-right: 24px; }
.maptable td:last-child { white-space: nowrap; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 10px; vertical-align: middle; }

/* ---------- technológia ---------- */
.spec { display: grid; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.spec dt { color: var(--muted); font-size: 0.9rem; padding-top: 2px; }
.spec dd { margin: 0; }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.how { list-style: none; display: grid; gap: 26px; counter-reset: step; margin-top: 8px; }
.how li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.how li::before { counter-increment: step; content: counter(step); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; }
.how h3 { font-size: 1.05rem; margin-bottom: 4px; }
.how p { color: var(--muted); font-size: 1rem; }
.contact__mail { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.contact__mail a { color: var(--accent-ink); font-weight: 600; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form__note { font-size: 0.85rem; color: var(--muted); }
.form__sent { display: none; font-size: 0.95rem; color: var(--accent-ink); font-weight: 600; }
.form.is-sent .form__sent { display: block; }

/* ---------- prihlásenie (/admin) ---------- */
.login { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; background: radial-gradient(700px 400px at 50% 0%, rgba(16, 185, 129, 0.12), transparent 70%), var(--tint); }
.login__card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 40px); box-shadow: 0 30px 60px -40px rgba(18, 26, 24, 0.35); }
.login__brand { margin-bottom: 28px; }
.login h1 { font-size: 1.7rem; margin-bottom: 6px; }
.login__sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.form--plain { padding: 0; border: 0; background: transparent; box-shadow: none; }
.form--plain .btn { justify-content: center; width: 100%; }
.login__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.9rem; }
.form .login__check { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.form .login__check input { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--accent); border-radius: 4px; }
.login__link { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.login__link:hover { text-decoration: underline; }
.login__notice { display: none; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.9rem; line-height: 1.5; }
.login__notice a { color: inherit; font-weight: 600; }
.login.is-notice .login__notice { display: block; }
.login__back { margin-top: 22px; text-align: center; font-size: 0.9rem; }
.login__back a { color: var(--muted); text-decoration: none; }
.login__back a:hover { color: var(--text); }

/* ---------- ďalšia stránka, CTA, pätička ---------- */
.next { border-top: 1px solid var(--line); }
.next a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 40px; text-decoration: none; color: inherit; }
.next small { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.next strong { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.02em; }
.next svg { width: 28px; height: 28px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.next a:hover svg { transform: translateX(4px); }

.cta { background: var(--tint); padding-block: clamp(80px, 10vw, 128px); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px 64px; align-items: center; }
.cta p { color: var(--muted); max-width: 32rem; }
.cta__mail { margin-top: 14px; font-size: 0.95rem; }
.cta__mail a { color: var(--accent-ink); font-weight: 600; }

.footer { background: var(--dark); color: var(--dark-muted); padding-block: 56px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; color: var(--dark-text); align-self: start; }
.footer__brand b { display: block; font-weight: 600; }
.footer__brand span { font-size: 0.85rem; color: var(--dark-muted); }
.footer h4 { color: var(--dark-text); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--dark-muted); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--dark-line); padding-top: 24px; margin-top: 8px; font-size: 0.85rem; }
.footer__bottom a { color: var(--dark-text); font-weight: 600; }

/* ---------- responzivita ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { max-width: 680px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .pagehead__inner { grid-template-columns: minmax(0, 1fr); }
  .pagehead__stage { max-width: 640px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--rev .split__visual { order: 1; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .step { padding-top: 0; padding-left: 26px; }
  .step::before { top: 5px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; margin: 0; padding: 10px 8px 14px; background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(18, 26, 24, 0.25); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 1rem; }
  .nav__burger { display: flex; }
  .nav .btn--ghost { display: none; }
}
@media (max-width: 700px) {
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .list3 { grid-template-columns: 1fr; gap: 24px; }
  .points2 { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .dchart__row { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .dchart__row::after { display: none; }
  .shade__swatches { grid-template-columns: repeat(8, 1fr); gap: 6px; }
  .sw span { font-size: 0.62rem; }
  .legend--big { grid-template-columns: 1fr; }
  .nav__actions .btn--primary { padding: 9px 14px; font-size: 0.88rem; }
  .combo { padding: 0 0 24px 24px; }
  .combo--right { padding: 0 24px 24px 0; }
  .combo__phone { width: 30%; }
  .monitor__neck { height: 20px; }
  .phones .phone { width: 30%; }
  .phones .phone::before { height: 12px; top: 10px; }
  .phone { border-radius: 28px; padding: 6px; }
  .phone__screen { border-radius: 22px; }
}
@media (max-width: 440px) {
  .facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- obmedzený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .stagger, .importdemo__arrow svg { animation: none !important; }
  .tilt { transition: none; }
  .field, .tooth, .sw i, .btn, .next svg, .feature, .feature__more svg { transition: none; }
}
